From a960ae80cf322d39fe54152d58090b8dc4c7db69 Mon Sep 17 00:00:00 2001 From: Pratiksha Khandagale Date: Fri, 7 Jun 2024 19:35:00 +0530 Subject: [PATCH] www updated --- .../manifests/garhwal-school.webmanifest | 59 ------------------ .../manifests/hummingbird-school.webmanifest | 60 ------------------- www/assets/manifests/localhost.webmanifest | 59 ------------------ www/index.html | 5 +- www/main.17cc6eaf5332d3bf.js | 1 - www/main.2b9749cff5779d09.js | 1 + www/ngsw.json | 14 ++--- 7 files changed, 7 insertions(+), 192 deletions(-) delete mode 100644 www/assets/manifests/garhwal-school.webmanifest delete mode 100644 www/assets/manifests/hummingbird-school.webmanifest delete mode 100644 www/assets/manifests/localhost.webmanifest delete mode 100644 www/main.17cc6eaf5332d3bf.js create mode 100644 www/main.2b9749cff5779d09.js diff --git a/www/assets/manifests/garhwal-school.webmanifest b/www/assets/manifests/garhwal-school.webmanifest deleted file mode 100644 index 665a48e9..00000000 --- a/www/assets/manifests/garhwal-school.webmanifest +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "Garhwal English Medium School !", - "short_name": "GEMS !", - "theme_color": "#1976d2", - "background_color": "#fafafa", - "display": "standalone", - "scope": "./", - "start_url": "./", - "icons": [ - { - "src": "../school/GEMS_72x72.png", - "sizes": "72x72", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_96x96.png", - "sizes": "96x96", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_128x128.png", - "sizes": "128x128", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_144x144.png", - "sizes": "144x144", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_152x152.png", - "sizes": "152x152", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_192x192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_384x384.png", - "sizes": "384x384", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_512x512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable any" - } - ] -} diff --git a/www/assets/manifests/hummingbird-school.webmanifest b/www/assets/manifests/hummingbird-school.webmanifest deleted file mode 100644 index e51ab468..00000000 --- a/www/assets/manifests/hummingbird-school.webmanifest +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "Hati Poti", - "short_name": "Hati Poti", - "theme_color": "#1976d2", - "background_color": "#fafafa", - "display": "standalone", - "scope": "./", - "start_url": "./", - "icons": [ - { - "src": "../school/GEMS_72x72.png", - "sizes": "72x72", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_96x96.png", - "sizes": "96x96", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_128x128.png", - "sizes": "128x128", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_144x144.png", - "sizes": "144x144", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_152x152.png", - "sizes": "152x152", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_192x192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_384x384.png", - "sizes": "384x384", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "../school/GEMS_512x512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable any" - } - ] - } - \ No newline at end of file diff --git a/www/assets/manifests/localhost.webmanifest b/www/assets/manifests/localhost.webmanifest deleted file mode 100644 index ec2e0553..00000000 --- a/www/assets/manifests/localhost.webmanifest +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "Garhwal English Medium School", - "short_name": "GEMS", - "theme_color": "#1976d2", - "background_color": "#fafafa", - "display": "standalone", - "scope": "./", - "start_url": "./", - "icons": [ - { - "src": "assets/school/GEMS_72x72.png", - "sizes": "72x72", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_96x96.png", - "sizes": "96x96", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_128x128.png", - "sizes": "128x128", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_144x144.png", - "sizes": "144x144", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_152x152.png", - "sizes": "152x152", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_192x192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_384x384.png", - "sizes": "384x384", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_512x512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable any" - } - ] -} diff --git a/www/index.html b/www/index.html index 58ff377e..326438bb 100644 --- a/www/index.html +++ b/www/index.html @@ -17,8 +17,7 @@ - - + @@ -26,6 +25,6 @@ - + diff --git a/www/main.17cc6eaf5332d3bf.js b/www/main.17cc6eaf5332d3bf.js deleted file mode 100644 index 476f46d0..00000000 --- a/www/main.17cc6eaf5332d3bf.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{8941:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>S});const S=(0,E(5083).F3)("App",{web:()=>E.e(9303).then(E.bind(E,9303)).then(p=>new p.AppWeb)})},5083:(Ce,ee,E)=>{"use strict";E.d(ee,{EA:()=>se,E_:()=>k,F3:()=>B,Ii:()=>A,pX:()=>n});var a=E(467);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;var w=function(o){return o.Unimplemented="UNIMPLEMENTED",o.Unavailable="UNAVAILABLE",o}(w||{});class T extends Error{constructor(u,s,h){super(u),this.message=u,this.code=s,this.data=h}}const g=o=>{var u,s,h,v,y;const f=o.CapacitorCustomPlatform||null,r=o.Capacitor||{},d=r.Plugins=r.Plugins||{},L=o.CapacitorPlatforms,V=(null===(u=null==L?void 0:L.currentPlatform)||void 0===u?void 0:u.getPlatform)||(()=>null!==f?f.name:(o=>{var u,s;return null!=o&&o.androidBridge?"android":null!==(s=null===(u=null==o?void 0:o.webkit)||void 0===u?void 0:u.messageHandlers)&&void 0!==s&&s.bridge?"ios":"web"})(o)),oe=(null===(s=null==L?void 0:L.currentPlatform)||void 0===s?void 0:s.isNativePlatform)||(()=>"web"!==V()),Ae=(null===(h=null==L?void 0:L.currentPlatform)||void 0===h?void 0:h.isPluginAvailable)||(re=>{const ne=pe.get(re);return!!(null!=ne&&ne.platforms.has(V())||ae(re))}),ae=(null===(v=null==L?void 0:L.currentPlatform)||void 0===v?void 0:v.getPluginHeader)||(re=>{var ne;return null===(ne=r.PluginHeaders)||void 0===ne?void 0:ne.find(G=>G.name===re)}),pe=new Map,Se=(null===(y=null==L?void 0:L.currentPlatform)||void 0===y?void 0:y.registerPlugin)||((re,ne={})=>{const G=pe.get(re);if(G)return console.warn(`Capacitor plugin "${re}" already registered. Cannot register plugins twice.`),G.proxy;const Ee=V(),vt=ae(re);let Qe;const rt=function(){var En=(0,a.A)(function*(){return!Qe&&Ee in ne?Qe=Qe="function"==typeof ne[Ee]?yield ne[Ee]():ne[Ee]:null!==f&&!Qe&&"web"in ne&&(Qe=Qe="function"==typeof ne.web?yield ne.web():ne.web),Qe});return function(){return En.apply(this,arguments)}}(),gt=En=>{let It;const Ft=(...yn)=>{const Dt=rt().then(_t=>{const Cn=((En,It)=>{var Ft,yn;if(!vt){if(En)return null===(yn=En[It])||void 0===yn?void 0:yn.bind(En);throw new T(`"${re}" plugin is not implemented on ${Ee}`,w.Unimplemented)}{const Dt=null==vt?void 0:vt.methods.find(_t=>It===_t.name);if(Dt)return"promise"===Dt.rtype?_t=>r.nativePromise(re,It.toString(),_t):(_t,Cn)=>r.nativeCallback(re,It.toString(),_t,Cn);if(En)return null===(Ft=En[It])||void 0===Ft?void 0:Ft.bind(En)}})(_t,En);if(Cn){const St=Cn(...yn);return It=null==St?void 0:St.remove,St}throw new T(`"${re}.${En}()" is not implemented on ${Ee}`,w.Unimplemented)});return"addListener"===En&&(Dt.remove=(0,a.A)(function*(){return It()})),Dt};return Ft.toString=()=>`${En.toString()}() { [capacitor code] }`,Object.defineProperty(Ft,"name",{value:En,writable:!1,configurable:!1}),Ft},ht=gt("addListener"),on=gt("removeListener"),Mt=(En,It)=>{const Ft=ht({eventName:En},It),yn=function(){var _t=(0,a.A)(function*(){const Cn=yield Ft;on({eventName:En,callbackId:Cn},It)});return function(){return _t.apply(this,arguments)}}(),Dt=new Promise(_t=>Ft.then(()=>_t({remove:yn})));return Dt.remove=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield yn()}),Dt},Pt=new Proxy({},{get(En,It){switch(It){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return vt?Mt:ht;case"removeListener":return on;default:return gt(It)}}});return d[re]=Pt,pe.set(re,{name:re,proxy:Pt,platforms:new Set([...Object.keys(ne),...vt?[Ee]:[]])}),Pt});return r.convertFileSrc||(r.convertFileSrc=re=>re),r.getPlatform=V,r.handleError=re=>o.console.error(re),r.isNativePlatform=oe,r.isPluginAvailable=Ae,r.pluginMethodNoop=(re,ne,G)=>Promise.reject(`${G} does not have an implementation of "${ne}".`),r.registerPlugin=Se,r.Exception=T,r.DEBUG=!!r.DEBUG,r.isLoggingEnabled=!!r.isLoggingEnabled,r.platform=r.getPlatform(),r.isNative=r.isNativePlatform(),r},A=(o=>o.Capacitor=g(o))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),B=A.registerPlugin;class k{constructor(u){this.listeners={},this.windowListeners={},u&&(console.warn(`Capacitor WebPlugin "${u.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=u)}addListener(u,s){var h=this;this.listeners[u]||(this.listeners[u]=[]),this.listeners[u].push(s);const y=this.windowListeners[u];y&&!y.registered&&this.addWindowListener(y);const f=function(){var d=(0,a.A)(function*(){return h.removeListener(u,s)});return function(){return d.apply(this,arguments)}}(),r=Promise.resolve({remove:f});return Object.defineProperty(r,"remove",{value:(d=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield f()}),function(){return d.apply(this,arguments)})}),r;var d}removeAllListeners(){var u=this;return(0,a.A)(function*(){u.listeners={};for(const s in u.windowListeners)u.removeWindowListener(u.windowListeners[s]);u.windowListeners={}})()}notifyListeners(u,s){const h=this.listeners[u];h&&h.forEach(v=>v(s))}hasListeners(u){return!!this.listeners[u].length}registerWindowListener(u,s){this.windowListeners[s]={registered:!1,windowEventName:u,pluginEventName:s,handler:h=>{this.notifyListeners(s,h)}}}unimplemented(u="not implemented"){return new A.Exception(u,w.Unimplemented)}unavailable(u="not available"){return new A.Exception(u,w.Unavailable)}removeListener(u,s){var h=this;return(0,a.A)(function*(){const v=h.listeners[u];if(!v)return;const y=v.indexOf(s);h.listeners[u].splice(y,1),h.listeners[u].length||h.removeWindowListener(h.windowListeners[u])})()}addWindowListener(u){window.addEventListener(u.windowEventName,u.handler),u.registered=!0}removeWindowListener(u){u&&(window.removeEventListener(u.windowEventName,u.handler),u.registered=!1)}}const O=o=>encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),U=o=>o.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class j extends k{getCookies(){return(0,a.A)(function*(){const u=document.cookie,s={};return u.split(";").forEach(h=>{if(h.length<=0)return;let[v,y]=h.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");v=U(v).trim(),y=U(y).trim(),s[v]=y}),s})()}setCookie(u){return(0,a.A)(function*(){try{const s=O(u.key),h=O(u.value),v=`; expires=${(u.expires||"").replace("expires=","")}`,y=(u.path||"/").replace("path=",""),f=null!=u.url&&u.url.length>0?`domain=${u.url}`:"";document.cookie=`${s}=${h||""}${v}; path=${y}; ${f};`}catch(s){return Promise.reject(s)}})()}deleteCookie(u){return(0,a.A)(function*(){try{document.cookie=`${u.key}=; Max-Age=0`}catch(s){return Promise.reject(s)}})()}clearCookies(){return(0,a.A)(function*(){try{const u=document.cookie.split(";")||[];for(const s of u)document.cookie=s.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(u){return Promise.reject(u)}})()}clearAllCookies(){var u=this;return(0,a.A)(function*(){try{yield u.clearCookies()}catch(s){return Promise.reject(s)}})()}}B("CapacitorCookies",{web:()=>new j});const ie=function(){var o=(0,a.A)(function*(u){return new Promise((s,h)=>{const v=new FileReader;v.onload=()=>{const y=v.result;s(y.indexOf(",")>=0?y.split(",")[1]:y)},v.onerror=y=>h(y),v.readAsDataURL(u)})});return function(s){return o.apply(this,arguments)}}(),se=(o,u={})=>{const s=Object.assign({method:o.method||"GET",headers:o.headers},u),v=((o={})=>{const u=Object.keys(o);return Object.keys(o).map(v=>v.toLocaleLowerCase()).reduce((v,y,f)=>(v[y]=o[u[f]],v),{})})(o.headers)["content-type"]||"";if("string"==typeof o.data)s.body=o.data;else if(v.includes("application/x-www-form-urlencoded")){const y=new URLSearchParams;for(const[f,r]of Object.entries(o.data||{}))y.set(f,r);s.body=y.toString()}else if(v.includes("multipart/form-data")){const y=new FormData;if(o.data instanceof FormData)o.data.forEach((r,d)=>{y.append(d,r)});else for(const r of Object.keys(o.data))y.append(r,o.data[r]);s.body=y;const f=new Headers(s.headers);f.delete("content-type"),s.headers=f}else(v.includes("application/json")||"object"==typeof o.data)&&(s.body=JSON.stringify(o.data));return s};class m extends k{request(u){return(0,a.A)(function*(){const s=se(u,u.webFetchExtra),h=((o,u=!0)=>o?Object.entries(o).reduce((h,v)=>{const[y,f]=v;let r,d;return Array.isArray(f)?(d="",f.forEach(L=>{r=u?encodeURIComponent(L):L,d+=`${y}=${r}&`}),d.slice(0,-1)):(r=u?encodeURIComponent(f):f,d=`${y}=${r}`),`${h}&${d}`},"").substr(1):null)(u.params,u.shouldEncodeUrlParams),v=h?`${u.url}?${h}`:u.url,y=yield fetch(v,s),f=y.headers.get("content-type")||"";let d,L,{responseType:r="text"}=y.ok?u:{};switch(f.includes("application/json")&&(r="json"),r){case"arraybuffer":case"blob":L=yield y.blob(),d=yield ie(L);break;case"json":d=yield y.json();break;default:d=yield y.text()}const I={};return y.headers.forEach((V,q)=>{I[q]=V}),{data:d,headers:I,status:y.status,url:y.url}})()}get(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"GET"}))})()}post(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"POST"}))})()}put(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"PUT"}))})()}patch(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"PATCH"}))})()}delete(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"DELETE"}))})()}}const n=B("CapacitorHttp",{web:()=>new m})},9316:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>S});const S=(0,E(5083).F3)("Device",{web:()=>E.e(8622).then(E.bind(E,8622)).then(p=>new p.DeviceWeb)})},1889:(Ce,ee,E)=>{"use strict";E.d(ee,{Wi:()=>S,__:()=>a});var a=function(c){return c.Documents="DOCUMENTS",c.Data="DATA",c.Library="LIBRARY",c.Cache="CACHE",c.External="EXTERNAL",c.ExternalStorage="EXTERNAL_STORAGE",c}(a||{}),S=function(c){return c.UTF8="utf8",c.ASCII="ascii",c.UTF16="utf16",c}(S||{})},2739:(Ce,ee,E)=>{"use strict";E.d(ee,{YA:()=>p,__:()=>S.__});var a=E(5083),S=E(1889);const p=(0,a.F3)("Filesystem",{web:()=>E.e(2937).then(E.bind(E,2937)).then(R=>new R.FilesystemWeb)})},9182:(Ce,ee,E)=>{"use strict";E.d(ee,{_n:()=>S,kn:()=>a});var a=function(c){return c.Heavy="HEAVY",c.Medium="MEDIUM",c.Light="LIGHT",c}(a||{}),S=function(c){return c.Success="SUCCESS",c.Warning="WARNING",c.Error="ERROR",c}(S||{})},6598:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=(0,E(5083).F3)("Network",{web:()=>E.e(3780).then(E.bind(E,3780)).then(p=>new p.NetworkWeb)})},1656:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>p,r:()=>g});const p=(te,se)=>{te.componentOnReady?te.componentOnReady().then(m=>se(m)):g(()=>se(te))},g=te=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(te):"function"==typeof requestAnimationFrame?requestAnimationFrame(te):setTimeout(te)},6031:(Ce,ee,E)=>{"use strict";E.d(ee,{L:()=>a,a:()=>S,b:()=>p,c:()=>R,d:()=>c,g:()=>te});const a="ionViewWillEnter",S="ionViewDidEnter",p="ionViewWillLeave",R="ionViewDidLeave",c="ionViewWillUnload",te=se=>se.classList.contains("ion-page")?se:se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||se},3503:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>$});var a=E(8476),S=E(5638);let p;const c=k=>k.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),D=k=>(void 0===p&&(p=void 0===k.style.animationName&&void 0!==k.style.webkitAnimationName?"-webkit-":""),p),C=(k,M,O)=>{const U=M.startsWith("animation")?D(k):"";k.style.setProperty(U+M,O)},w=(k,M)=>{const O=M.startsWith("animation")?D(k):"";k.style.removeProperty(O+M)},g=[],P=(k=[],M)=>{if(void 0!==M){const O=Array.isArray(M)?M:[M];return[...k,...O]}return k},$=k=>{let M,O,U,j,W,ie,n,r,d,L,I,ve,Ae,me=[],te=[],se=[],m=!1,o={},u=[],s=[],h={},v=0,y=!1,f=!1,V=!0,q=!1,oe=!0,Q=!1;const ae=k,tt=[],Oe=[],pe=[],Ie=[],Se=[],re=[],ne=[],G=[],Ee=[],vt=[],Qe=[],rt="function"==typeof AnimationEffect||void 0!==a.w&&"function"==typeof a.w.AnimationEffect,nn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&rt,ht=()=>Qe,It=(Et,zt)=>{const ye=zt.findIndex(We=>We.c===Et);ye>-1&&zt.splice(ye,1)},yn=(Et,zt)=>((null!=zt&&zt.oneTimeCallback?Oe:tt).push({c:Et,o:zt}),Ae),_t=()=>{if(nn)Qe.forEach(Et=>{Et.cancel()}),Qe.length=0;else{const Et=Ie.slice();(0,S.r)(()=>{Et.forEach(zt=>{w(zt,"animation-name"),w(zt,"animation-duration"),w(zt,"animation-timing-function"),w(zt,"animation-iteration-count"),w(zt,"animation-delay"),w(zt,"animation-play-state"),w(zt,"animation-fill-mode"),w(zt,"animation-direction")})})}},Cn=()=>{re.forEach(Et=>{null!=Et&&Et.parentNode&&Et.parentNode.removeChild(Et)}),re.length=0},Ve=()=>void 0!==W?W:n?n.getFill():"both",it=()=>void 0!==d?d:void 0!==ie?ie:n?n.getDirection():"normal",Pe=()=>y?"linear":void 0!==U?U:n?n.getEasing():"linear",Be=()=>f?0:void 0!==L?L:void 0!==O?O:n?n.getDuration():0,je=()=>void 0!==j?j:n?n.getIterations():1,yt=()=>void 0!==I?I:void 0!==M?M:n?n.getDelay():0,Fn=()=>{0!==v&&(v--,0===v&&((()=>{An(),Ee.forEach(dt=>dt()),vt.forEach(dt=>dt());const Et=V?1:0,zt=u,ye=s,We=h;Ie.forEach(dt=>{const xt=dt.classList;zt.forEach(Xt=>xt.add(Xt)),ye.forEach(Xt=>xt.remove(Xt));for(const Xt in We)We.hasOwnProperty(Xt)&&C(dt,Xt,We[Xt])}),L=void 0,d=void 0,I=void 0,tt.forEach(dt=>dt.c(Et,Ae)),Oe.forEach(dt=>dt.c(Et,Ae)),Oe.length=0,oe=!0,V&&(q=!0),V=!0})(),n&&n.animationFinish()))},$n=(Et=!0)=>{Cn();const zt=(k=>(k.forEach(M=>{for(const O in M)if(M.hasOwnProperty(O)){const U=M[O];if("easing"===O)M["animation-timing-function"]=U,delete M[O];else{const j=c(O);j!==O&&(M[j]=U,delete M[O])}}}),k))(me);Ie.forEach(ye=>{if(zt.length>0){const We=((k=[])=>k.map(M=>{const O=M.offset,U=[];for(const j in M)M.hasOwnProperty(j)&&"offset"!==j&&U.push(`${j}: ${M[j]};`);return`${100*O}% { ${U.join(" ")} }`}).join(" "))(zt);ve=void 0!==k?k:(k=>{let M=g.indexOf(k);return M<0&&(M=g.push(k)-1),`ion-animation-${M}`})(We);const dt=((k,M,O)=>{var U;const j=(k=>{const M=void 0!==k.getRootNode?k.getRootNode():k;return M.head||M})(O),W=D(O),ie=j.querySelector("#"+k);if(ie)return ie;const me=(null!==(U=O.ownerDocument)&&void 0!==U?U:document).createElement("style");return me.id=k,me.textContent=`@${W}keyframes ${k} { ${M} } @${W}keyframes ${k}-alt { ${M} }`,j.appendChild(me),me})(ve,We,ye);re.push(dt),C(ye,"animation-duration",`${Be()}ms`),C(ye,"animation-timing-function",Pe()),C(ye,"animation-delay",`${yt()}ms`),C(ye,"animation-fill-mode",Ve()),C(ye,"animation-direction",it());const xt=je()===1/0?"infinite":je().toString();C(ye,"animation-iteration-count",xt),C(ye,"animation-play-state","paused"),Et&&C(ye,"animation-name",`${dt.id}-alt`),(0,S.r)(()=>{C(ye,"animation-name",dt.id||null)})}})},Yn=(Et=!0)=>{(()=>{ne.forEach(We=>We()),G.forEach(We=>We());const Et=te,zt=se,ye=o;Ie.forEach(We=>{const dt=We.classList;Et.forEach(xt=>dt.add(xt)),zt.forEach(xt=>dt.remove(xt));for(const xt in ye)ye.hasOwnProperty(xt)&&C(We,xt,ye[xt])})})(),me.length>0&&(nn?(Ie.forEach(Et=>{const zt=Et.animate(me,{id:ae,delay:yt(),duration:Be(),easing:Pe(),iterations:je(),fill:Ve(),direction:it()});zt.pause(),Qe.push(zt)}),Qe.length>0&&(Qe[0].onfinish=()=>{Fn()})):$n(Et)),m=!0},Hn=Et=>{if(Et=Math.min(Math.max(Et,0),.9999),nn)Qe.forEach(zt=>{zt.currentTime=zt.effect.getComputedTiming().delay+Be()*Et,zt.pause()});else{const zt=`-${Be()*Et}ms`;Ie.forEach(ye=>{me.length>0&&(C(ye,"animation-delay",zt),C(ye,"animation-play-state","paused"))})}},$e=Et=>{Qe.forEach(zt=>{zt.effect.updateTiming({delay:yt(),duration:Be(),easing:Pe(),iterations:je(),fill:Ve(),direction:it()})}),void 0!==Et&&Hn(Et)},lt=(Et=!0,zt)=>{(0,S.r)(()=>{Ie.forEach(ye=>{C(ye,"animation-name",ve||null),C(ye,"animation-duration",`${Be()}ms`),C(ye,"animation-timing-function",Pe()),C(ye,"animation-delay",void 0!==zt?`-${zt*Be()}ms`:`${yt()}ms`),C(ye,"animation-fill-mode",Ve()||null),C(ye,"animation-direction",it()||null);const We=je()===1/0?"infinite":je().toString();C(ye,"animation-iteration-count",We),Et&&C(ye,"animation-name",`${ve}-alt`),(0,S.r)(()=>{C(ye,"animation-name",ve||null)})})})},Tt=(Et=!1,zt=!0,ye)=>(Et&&Se.forEach(We=>{We.update(Et,zt,ye)}),nn?$e(ye):lt(zt,ye),Ae),Jt=()=>{m&&(nn?Qe.forEach(Et=>{Et.pause()}):Ie.forEach(Et=>{C(Et,"animation-play-state","paused")}),Q=!0)},Tn=()=>{r=void 0,Fn()},An=()=>{r&&clearTimeout(r)},Te=Et=>new Promise(zt=>{null!=Et&&Et.sync&&(f=!0,yn(()=>f=!1,{oneTimeCallback:!0})),m||Yn(),q&&(nn?(Hn(0),$e()):lt(),q=!1),oe&&(v=Se.length+1,oe=!1);const ye=()=>{It(We,Oe),zt()},We=()=>{It(ye,pe),zt()};yn(We,{oneTimeCallback:!0}),((Et,zt)=>{pe.push({c:Et,o:{oneTimeCallback:!0}})})(ye),Se.forEach(dt=>{dt.play()}),nn?(Qe.forEach(Et=>{Et.play()}),(0===me.length||0===Ie.length)&&Fn()):(()=>{if(An(),(0,S.r)(()=>{Ie.forEach(Et=>{me.length>0&&C(Et,"animation-play-state","running")})}),0===me.length||0===Ie.length)Fn();else{const Et=yt()||0,zt=Be()||0,ye=je()||1;isFinite(ye)&&(r=setTimeout(Tn,Et+zt*ye+100)),((k,M)=>{let O;const U={passive:!0},W=ie=>{k===ie.target&&(O&&O(),An(),(0,S.r)(()=>{Ie.forEach(Et=>{w(Et,"animation-duration"),w(Et,"animation-delay"),w(Et,"animation-play-state")}),(0,S.r)(Fn)}))};k&&(k.addEventListener("webkitAnimationEnd",W,U),k.addEventListener("animationend",W,U),O=()=>{k.removeEventListener("webkitAnimationEnd",W,U),k.removeEventListener("animationend",W,U)})})(Ie[0])}})(),Q=!1}),bt=(Et,zt)=>{const ye=me[0];return void 0===ye||void 0!==ye.offset&&0!==ye.offset?me=[{offset:0,[Et]:zt},...me]:ye[Et]=zt,Ae};return Ae={parentAnimation:n,elements:Ie,childAnimations:Se,id:ae,animationFinish:Fn,from:bt,to:(Et,zt)=>{const ye=me[me.length-1];return void 0===ye||void 0!==ye.offset&&1!==ye.offset?me=[...me,{offset:1,[Et]:zt}]:ye[Et]=zt,Ae},fromTo:(Et,zt,ye)=>bt(Et,zt).to(Et,ye),parent:Et=>(n=Et,Ae),play:Te,pause:()=>(Se.forEach(Et=>{Et.pause()}),Jt(),Ae),stop:()=>{Se.forEach(Et=>{Et.stop()}),m&&(_t(),m=!1),y=!1,f=!1,oe=!0,d=void 0,L=void 0,I=void 0,v=0,q=!1,V=!0,Q=!1,pe.forEach(Et=>Et.c(0,Ae)),pe.length=0},destroy:Et=>(Se.forEach(zt=>{zt.destroy(Et)}),(Et=>{_t(),Et&&Cn()})(Et),Ie.length=0,Se.length=0,me.length=0,tt.length=0,Oe.length=0,m=!1,oe=!0,Ae),keyframes:Et=>{const zt=me!==Et;return me=Et,zt&&(Et=>{nn?ht().forEach(zt=>{const ye=zt.effect;if(ye.setKeyframes)ye.setKeyframes(Et);else{const We=new KeyframeEffect(ye.target,Et,ye.getTiming());zt.effect=We}}):$n()})(me),Ae},addAnimation:Et=>{if(null!=Et)if(Array.isArray(Et))for(const zt of Et)zt.parent(Ae),Se.push(zt);else Et.parent(Ae),Se.push(Et);return Ae},addElement:Et=>{if(null!=Et)if(1===Et.nodeType)Ie.push(Et);else if(Et.length>=0)for(let zt=0;zt(W=Et,Tt(!0),Ae),direction:Et=>(ie=Et,Tt(!0),Ae),iterations:Et=>(j=Et,Tt(!0),Ae),duration:Et=>(!nn&&0===Et&&(Et=1),O=Et,Tt(!0),Ae),easing:Et=>(U=Et,Tt(!0),Ae),delay:Et=>(M=Et,Tt(!0),Ae),getWebAnimations:ht,getKeyframes:()=>me,getFill:Ve,getDirection:it,getDelay:yt,getIterations:je,getEasing:Pe,getDuration:Be,afterAddRead:Et=>(Ee.push(Et),Ae),afterAddWrite:Et=>(vt.push(Et),Ae),afterClearStyles:(Et=[])=>{for(const zt of Et)h[zt]="";return Ae},afterStyles:(Et={})=>(h=Et,Ae),afterRemoveClass:Et=>(s=P(s,Et),Ae),afterAddClass:Et=>(u=P(u,Et),Ae),beforeAddRead:Et=>(ne.push(Et),Ae),beforeAddWrite:Et=>(G.push(Et),Ae),beforeClearStyles:(Et=[])=>{for(const zt of Et)o[zt]="";return Ae},beforeStyles:(Et={})=>(o=Et,Ae),beforeRemoveClass:Et=>(se=P(se,Et),Ae),beforeAddClass:Et=>(te=P(te,Et),Ae),onFinish:yn,isRunning:()=>0!==v&&!Q,progressStart:(Et=!1,zt)=>(Se.forEach(ye=>{ye.progressStart(Et,zt)}),Jt(),y=Et,m||Yn(),Tt(!1,!0,zt),Ae),progressStep:Et=>(Se.forEach(zt=>{zt.progressStep(Et)}),Hn(Et),Ae),progressEnd:(Et,zt,ye)=>(y=!1,Se.forEach(We=>{We.progressEnd(Et,zt,ye)}),void 0!==ye&&(L=ye),q=!1,V=!0,0===Et?(d="reverse"===it()?"normal":"reverse","reverse"===d&&(V=!1),nn?(Tt(),Hn(1-zt)):(I=(1-zt)*Be()*-1,Tt(!1,!1))):1===Et&&(nn?(Tt(),Hn(zt)):(I=zt*Be()*-1,Tt(!1,!1))),void 0!==Et&&!n&&Te(),Ae)}}},464:(Ce,ee,E)=>{"use strict";E.d(ee,{E:()=>_,a:()=>a,s:()=>w});const a=g=>{try{if(g instanceof C)return g.value;if(!R()||"string"!=typeof g||""===g)return g;if(g.includes("onload="))return"";const F=document.createDocumentFragment(),A=document.createElement("div");F.appendChild(A),A.innerHTML=g,D.forEach(k=>{const M=F.querySelectorAll(k);for(let O=M.length-1;O>=0;O--){const U=M[O];U.parentNode?U.parentNode.removeChild(U):F.removeChild(U);const j=p(U);for(let W=0;W{if(g.nodeType&&1!==g.nodeType)return;if(typeof NamedNodeMap<"u"&&!(g.attributes instanceof NamedNodeMap))return void g.remove();for(let A=g.attributes.length-1;A>=0;A--){const B=g.attributes.item(A),P=B.name;if(!c.includes(P.toLowerCase())){g.removeAttribute(P);continue}const $=B.value,k=g[P];(null!=$&&$.toLowerCase().includes("javascript:")||null!=k&&k.toLowerCase().includes("javascript:"))&&g.removeAttribute(P)}const F=p(g);for(let A=0;Anull!=g.children?g.children:g.childNodes,R=()=>{var g;const F=window,A=null===(g=null==F?void 0:F.Ionic)||void 0===g?void 0:g.config;return!A||(A.get?A.get("sanitizerEnabled",!0):!0===A.sanitizerEnabled||void 0===A.sanitizerEnabled)},c=["class","id","href","src","name","slot"],D=["script","style","iframe","meta","link","object","embed"];class C{constructor(F){this.value=F}}const w=g=>{const F=window,A=F.Ionic;if(!A||!A.config||"Object"===A.config.constructor.name)return F.Ionic=F.Ionic||{},F.Ionic.config=Object.assign(Object.assign({},F.Ionic.config),g),F.Ionic.config},_=!1},5938:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>c,a:()=>p,d:()=>R});var a=E(467),S=E(5638);const p=function(){var D=(0,a.A)(function*(C,w,T,_,g,F){var A;if(C)return C.attachViewToDom(w,T,g,_);if(!(F||"string"==typeof T||T instanceof HTMLElement))throw new Error("framework delegate is missing");const B="string"==typeof T?null===(A=w.ownerDocument)||void 0===A?void 0:A.createElement(T):T;return _&&_.forEach(P=>B.classList.add(P)),g&&Object.assign(B,g),w.appendChild(B),yield new Promise(P=>(0,S.c)(B,P)),B});return function(w,T,_,g,F,A){return D.apply(this,arguments)}}(),R=(D,C)=>{if(C){if(D)return D.removeViewFromDom(C.parentElement,C);C.remove()}return Promise.resolve()},c=()=>{let D,C;return{attachViewToDom:function(){var _=(0,a.A)(function*(g,F,A={},B=[]){var P,$;let k;if(D=g,F){const O="string"==typeof F?null===(P=D.ownerDocument)||void 0===P?void 0:P.createElement(F):F;B.forEach(U=>O.classList.add(U)),Object.assign(O,A),D.appendChild(O),k=O,yield new Promise(U=>(0,S.c)(O,U))}else if(D.children.length>0&&("ION-MODAL"===D.tagName||"ION-POPOVER"===D.tagName)&&!(k=D.children[0]).classList.contains("ion-delegate-host")){const U=null===($=D.ownerDocument)||void 0===$?void 0:$.createElement("div");U.classList.add("ion-delegate-host"),B.forEach(j=>U.classList.add(j)),U.append(...D.children),D.appendChild(U),k=U}const M=document.querySelector("ion-app")||document.body;return C=document.createComment("ionic teleport"),D.parentNode.insertBefore(C,D),M.appendChild(D),null!=k?k:D});return function(F,A){return _.apply(this,arguments)}}(),removeViewFromDom:()=>(D&&C&&(C.parentNode.insertBefore(D,C),C.remove()),Promise.resolve())}}},8221:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>c});class S{constructor(C,w,T,_,g){this.id=w,this.name=T,this.disableScroll=g,this.priority=1e6*_+w,this.ctrl=C}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const C=this.ctrl.capture(this.name,this.id,this.priority);return C&&this.disableScroll&&this.ctrl.disableScroll(this.id),C}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class p{constructor(C,w,T,_){this.id=w,this.disable=T,this.disableScroll=_,this.ctrl=C}block(){if(this.ctrl){if(this.disable)for(const C of this.disable)this.ctrl.disableGesture(C,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const C of this.disable)this.ctrl.enableGesture(C,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const R="backdrop-no-scroll",c=new class a{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(C){var w;return new S(this,this.newID(),C.name,null!==(w=C.priority)&&void 0!==w?w:0,!!C.disableScroll)}createBlocker(C={}){return new p(this,this.newID(),C.disable,!!C.disableScroll)}start(C,w,T){return this.canStart(C)?(this.requestedStart.set(w,T),!0):(this.requestedStart.delete(w),!1)}capture(C,w,T){if(!this.start(C,w,T))return!1;const _=this.requestedStart;let g=-1e4;if(_.forEach(F=>{g=Math.max(g,F)}),g===T){this.capturedId=w,_.clear();const F=new CustomEvent("ionGestureCaptured",{detail:{gestureName:C}});return document.dispatchEvent(F),!0}return _.delete(w),!1}release(C){this.requestedStart.delete(C),this.capturedId===C&&(this.capturedId=void 0)}disableGesture(C,w){let T=this.disabledGestures.get(C);void 0===T&&(T=new Set,this.disabledGestures.set(C,T)),T.add(w)}enableGesture(C,w){const T=this.disabledGestures.get(C);void 0!==T&&T.delete(w)}disableScroll(C){this.disabledScroll.add(C),1===this.disabledScroll.size&&document.body.classList.add(R)}enableScroll(C){this.disabledScroll.delete(C),0===this.disabledScroll.size&&document.body.classList.remove(R)}canStart(C){return!(void 0!==this.capturedId||this.isDisabled(C))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(C){const w=this.disabledGestures.get(C);return!!(w&&w.size>0)}newID(){return this.gestureId++,this.gestureId}}},3113:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{MENU_BACK_BUTTON_PRIORITY:()=>T,OVERLAY_BACK_BUTTON_PRIORITY:()=>w,blockHardwareBackButton:()=>D,shouldUseCloseWatcher:()=>c,startHardwareBackButton:()=>C});var a=E(467),S=E(8476),p=E(611);E(4363);const c=()=>p.c.get("experimentalCloseWatcher",!1)&&void 0!==S.w&&"CloseWatcher"in S.w,D=()=>{document.addEventListener("backbutton",()=>{})},C=()=>{const _=document;let g=!1;const F=()=>{if(g)return;let A=0,B=[];const P=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,O){B.push({priority:M,handler:O,id:A++})}}});_.dispatchEvent(P);const $=function(){var M=(0,a.A)(function*(O){try{if(null!=O&&O.handler){const U=O.handler(k);null!=U&&(yield U)}}catch(U){console.error(U)}});return function(U){return M.apply(this,arguments)}}(),k=()=>{if(B.length>0){let M={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};B.forEach(O=>{O.priority>=M.priority&&(M=O)}),g=!0,B=B.filter(O=>O.id!==M.id),$(M).then(()=>g=!1)}};k()};if(c()){let A;const B=()=>{null==A||A.destroy(),A=new S.w.CloseWatcher,A.onclose=()=>{F(),B()}};B()}else _.addEventListener("backbutton",F)},w=100,T=99},5638:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>w,b:()=>T,c:()=>p,d:()=>$,e:()=>P,f:()=>B,g:()=>_,h:()=>A,i:()=>C,j:()=>W,k:()=>c,l:()=>k,m:()=>R,n:()=>F,o:()=>M,p:()=>j,q:()=>ie,r:()=>g,s:()=>me,t:()=>a,u:()=>O,v:()=>U});const a=(te,se=0)=>new Promise(m=>{S(te,se,m)}),S=(te,se=0,m)=>{let n,o;const u={passive:!0},h=()=>{n&&n()},v=y=>{(void 0===y||te===y.target)&&(h(),m(y))};return te&&(te.addEventListener("webkitTransitionEnd",v,u),te.addEventListener("transitionend",v,u),o=setTimeout(v,se+500),n=()=>{void 0!==o&&(clearTimeout(o),o=void 0),te.removeEventListener("webkitTransitionEnd",v,u),te.removeEventListener("transitionend",v,u)}),h},p=(te,se)=>{te.componentOnReady?te.componentOnReady().then(m=>se(m)):g(()=>se(te))},R=te=>void 0!==te.componentOnReady,c=(te,se=[])=>{const m={};return se.forEach(n=>{te.hasAttribute(n)&&(null!==te.getAttribute(n)&&(m[n]=te.getAttribute(n)),te.removeAttribute(n))}),m},D=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],C=(te,se)=>{let m=D;return se&&se.length>0&&(m=m.filter(n=>!se.includes(n))),c(te,m)},w=(te,se,m,n)=>{var o;if(typeof window<"u"){const u=window,s=null===(o=null==u?void 0:u.Ionic)||void 0===o?void 0:o.config;if(s){const h=s.get("_ael");if(h)return h(te,se,m,n);if(s._ael)return s._ael(te,se,m,n)}}return te.addEventListener(se,m,n)},T=(te,se,m,n)=>{var o;if(typeof window<"u"){const u=window,s=null===(o=null==u?void 0:u.Ionic)||void 0===o?void 0:o.config;if(s){const h=s.get("_rel");if(h)return h(te,se,m,n);if(s._rel)return s._rel(te,se,m,n)}}return te.removeEventListener(se,m,n)},_=(te,se=te)=>te.shadowRoot||se,g=te=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(te):"function"==typeof requestAnimationFrame?requestAnimationFrame(te):setTimeout(te),F=te=>!!te.shadowRoot&&!!te.attachShadow,A=te=>{const se=te.closest("ion-item");return se?se.querySelector("ion-label"):null},B=te=>{if(te.focus(),te.classList.contains("ion-focusable")){const se=te.closest("ion-app");se&&se.setFocus([te])}},P=(te,se)=>{let m;const n=te.getAttribute("aria-labelledby"),o=te.id;let u=null!==n&&""!==n.trim()?n:se+"-lbl",s=null!==n&&""!==n.trim()?document.getElementById(n):A(te);return s?(null===n&&(s.id=u),m=s.textContent,s.setAttribute("aria-hidden","true")):""!==o.trim()&&(s=document.querySelector(`label[for="${o}"]`),s&&(""!==s.id?u=s.id:s.id=u=`${o}-lbl`,m=s.textContent)),{label:s,labelId:u,labelText:m}},$=(te,se,m,n,o)=>{if(te||F(se)){let u=se.querySelector("input.aux-input");u||(u=se.ownerDocument.createElement("input"),u.type="hidden",u.classList.add("aux-input"),se.appendChild(u)),u.disabled=o,u.name=m,u.value=n||""}},k=(te,se,m)=>Math.max(te,Math.min(se,m)),M=(te,se)=>{if(!te){const m="ASSERT: "+se;throw console.error(m),new Error(m)}},O=te=>te.timeStamp||Date.now(),U=te=>{if(te){const se=te.changedTouches;if(se&&se.length>0){const m=se[0];return{x:m.clientX,y:m.clientY}}if(void 0!==te.pageX)return{x:te.pageX,y:te.pageY}}return{x:0,y:0}},j=te=>{const se="rtl"===document.dir;switch(te){case"start":return se;case"end":return!se;default:throw new Error(`"${te}" is not a valid value for [side]. Use "start" or "end" instead.`)}},W=(te,se)=>{const m=te._original||te;return{_original:te,emit:ie(m.emit.bind(m),se)}},ie=(te,se=0)=>{let m;return(...n)=>{clearTimeout(m),m=setTimeout(te,se,...n)}},me=(te,se)=>{if(null!=te||(te={}),null!=se||(se={}),te===se)return!0;const m=Object.keys(te);if(m.length!==Object.keys(se).length)return!1;for(const n of m)if(!(n in se)||te[n]!==se[n])return!1;return!0}},405:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{GESTURE_CONTROLLER:()=>a.G,createGesture:()=>T});var a=E(8221);const S=(A,B,P,$)=>{const k=p(A)?{capture:!!$.capture,passive:!!$.passive}:!!$.capture;let M,O;return A.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",O="__zone_symbol__removeEventListener"):(M="addEventListener",O="removeEventListener"),A[M](B,P,k),()=>{A[O](B,P,k)}},p=A=>{if(void 0===R)try{const B=Object.defineProperty({},"passive",{get:()=>{R=!0}});A.addEventListener("optsTest",()=>{},B)}catch{R=!1}return!!R};let R;const C=A=>A instanceof Document?A:A.ownerDocument,T=A=>{let B=!1,P=!1,$=!0,k=!1;const M=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},A),O=M.canStart,U=M.onWillStart,j=M.onStart,W=M.onEnd,ie=M.notCaptured,me=M.onMove,te=M.threshold,se=M.passive,m=M.blurOnStart,n={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},o=((A,B,P)=>{const $=P*(Math.PI/180),k="x"===A,M=Math.cos($),O=B*B;let U=0,j=0,W=!1,ie=0;return{start(me,te){U=me,j=te,ie=0,W=!0},detect(me,te){if(!W)return!1;const se=me-U,m=te-j,n=se*se+m*m;if(nM?1:u<-M?-1:0,W=!1,!0},isGesture:()=>0!==ie,getDirection:()=>ie}})(M.direction,M.threshold,M.maxAngle),u=a.G.createGesture({name:A.gestureName,priority:A.gesturePriority,disableScroll:A.disableScroll}),v=()=>{B&&(k=!1,me&&me(n))},y=()=>!!u.capture()&&(B=!0,$=!1,n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime,U?U(n).then(r):r(),!0),r=()=>{m&&(()=>{if(typeof document<"u"){const q=document.activeElement;null!=q&&q.blur&&q.blur()}})(),j&&j(n),$=!0},d=()=>{B=!1,P=!1,k=!1,$=!0,u.release()},L=q=>{const oe=B,ve=$;if(d(),ve){if(_(n,q),oe)return void(W&&W(n));ie&&ie(n)}},I=((A,B,P,$,k)=>{let M,O,U,j,W,ie,me,te=0;const se=f=>{te=Date.now()+2e3,B(f)&&(!O&&P&&(O=S(A,"touchmove",P,k)),U||(U=S(f.target,"touchend",n,k)),j||(j=S(f.target,"touchcancel",n,k)))},m=f=>{te>Date.now()||B(f)&&(!ie&&P&&(ie=S(C(A),"mousemove",P,k)),me||(me=S(C(A),"mouseup",o,k)))},n=f=>{u(),$&&$(f)},o=f=>{s(),$&&$(f)},u=()=>{O&&O(),U&&U(),j&&j(),O=U=j=void 0},s=()=>{ie&&ie(),me&&me(),ie=me=void 0},h=()=>{u(),s()},v=(f=!0)=>{f?(M||(M=S(A,"touchstart",se,k)),W||(W=S(A,"mousedown",m,k))):(M&&M(),W&&W(),M=W=void 0,h())};return{enable:v,stop:h,destroy:()=>{v(!1),$=P=B=void 0}}})(M.el,q=>{const oe=F(q);return!(P||!$||(g(q,n),n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime=oe,n.velocityX=n.velocityY=n.deltaX=n.deltaY=0,n.event=q,O&&!1===O(n))||(u.release(),!u.start()))&&(P=!0,0===te?y():(o.start(n.startX,n.startY),!0))},q=>{B?!k&&$&&(k=!0,_(n,q),requestAnimationFrame(v)):(_(n,q),o.detect(n.currentX,n.currentY)&&(!o.isGesture()||!y())&&V())},L,{capture:!1,passive:se}),V=()=>{d(),I.stop(),ie&&ie(n)};return{enable(q=!0){q||(B&&L(void 0),d()),I.enable(q)},destroy(){u.destroy(),I.destroy()}}},_=(A,B)=>{if(!B)return;const P=A.currentX,$=A.currentY,k=A.currentTime;g(B,A);const M=A.currentX,O=A.currentY,j=(A.currentTime=F(B))-k;if(j>0&&j<100){const ie=(O-$)/j;A.velocityX=(M-P)/j*.7+.3*A.velocityX,A.velocityY=.7*ie+.3*A.velocityY}A.deltaX=M-A.startX,A.deltaY=O-A.startY,A.event=B},g=(A,B)=>{let P=0,$=0;if(A){const k=A.changedTouches;if(k&&k.length>0){const M=k[0];P=M.clientX,$=M.clientY}else void 0!==A.pageX&&(P=A.pageX,$=A.pageY)}B.currentX=P,B.currentY=$},F=A=>A.timeStamp||Date.now()},5384:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>A});var a=E(467),S=E(8476),p=E(3113),R=E(4929),c=E(5638),D=E(611),C=E(3503);const w=B=>(0,C.c)().duration(B?400:300),T=B=>{let P,$;const k=B.width+8,M=(0,C.c)(),O=(0,C.c)();B.isEndSide?(P=k+"px",$="0px"):(P=-k+"px",$="0px"),M.addElement(B.menuInnerEl).fromTo("transform",`translateX(${P})`,`translateX(${$})`);const j="ios"===(0,D.b)(B),W=j?.2:.25;return O.addElement(B.backdropEl).fromTo("opacity",.01,W),w(j).addAnimation([M,O])},_=B=>{let P,$;const k=(0,D.b)(B),M=B.width;B.isEndSide?(P=-M+"px",$=M+"px"):(P=M+"px",$=-M+"px");const O=(0,C.c)().addElement(B.menuInnerEl).fromTo("transform",`translateX(${$})`,"translateX(0px)"),U=(0,C.c)().addElement(B.contentEl).fromTo("transform","translateX(0px)",`translateX(${P})`),j=(0,C.c)().addElement(B.backdropEl).fromTo("opacity",.01,.32);return w("ios"===k).addAnimation([O,U,j])},g=B=>{const P=(0,D.b)(B),$=B.width*(B.isEndSide?-1:1)+"px",k=(0,C.c)().addElement(B.contentEl).fromTo("transform","translateX(0px)",`translateX(${$})`);return w("ios"===P).addAnimation(k)},A=(()=>{const B=new Map,P=[],$=function(){var d=(0,a.A)(function*(L){const I=yield ie(L,!0);return!!I&&I.open()});return function(I){return d.apply(this,arguments)}}(),k=function(){var d=(0,a.A)(function*(L){const I=yield void 0!==L?ie(L,!0):me();return void 0!==I&&I.close()});return function(I){return d.apply(this,arguments)}}(),M=function(){var d=(0,a.A)(function*(L){const I=yield ie(L,!0);return!!I&&I.toggle()});return function(I){return d.apply(this,arguments)}}(),O=function(){var d=(0,a.A)(function*(L,I){const V=yield ie(I);return V&&(V.disabled=!L),V});return function(I,V){return d.apply(this,arguments)}}(),U=function(){var d=(0,a.A)(function*(L,I){const V=yield ie(I);return V&&(V.swipeGesture=L),V});return function(I,V){return d.apply(this,arguments)}}(),j=function(){var d=(0,a.A)(function*(L){if(null!=L){const I=yield ie(L);return void 0!==I&&I.isOpen()}return void 0!==(yield me())});return function(I){return d.apply(this,arguments)}}(),W=function(){var d=(0,a.A)(function*(L){const I=yield ie(L);return!!I&&!I.disabled});return function(I){return d.apply(this,arguments)}}(),ie=function(){var d=(0,a.A)(function*(L,I=!1){if(yield r(),"start"===L||"end"===L){const q=P.filter(ve=>ve.side===L&&!ve.disabled);if(q.length>=1)return q.length>1&&I&&(0,R.p)(`menuController queried for a menu on the "${L}" side, but ${q.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,q.map(ve=>ve.el)),q[0].el;const oe=P.filter(ve=>ve.side===L);if(oe.length>=1)return oe.length>1&&I&&(0,R.p)(`menuController queried for a menu on the "${L}" side, but ${oe.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,oe.map(ve=>ve.el)),oe[0].el}else if(null!=L)return f(q=>q.menuId===L);return f(q=>!q.disabled)||(P.length>0?P[0].el:void 0)});return function(I){return d.apply(this,arguments)}}(),me=function(){var d=(0,a.A)(function*(){return yield r(),h()});return function(){return d.apply(this,arguments)}}(),te=function(){var d=(0,a.A)(function*(){return yield r(),v()});return function(){return d.apply(this,arguments)}}(),se=function(){var d=(0,a.A)(function*(){return yield r(),y()});return function(){return d.apply(this,arguments)}}(),m=(d,L)=>{B.set(d,L)},u=function(){var d=(0,a.A)(function*(L,I,V){if(y())return!1;if(I){const q=yield me();q&&L.el!==q&&(yield q.setOpen(!1,!1))}return L._setOpen(I,V)});return function(I,V,q){return d.apply(this,arguments)}}(),h=()=>f(d=>d._isOpen),v=()=>P.map(d=>d.el),y=()=>P.some(d=>d.isAnimating),f=d=>{const L=P.find(d);if(void 0!==L)return L.el},r=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(d=>new Promise(L=>(0,c.c)(d,L))));return m("reveal",g),m("push",_),m("overlay",T),null==S.d||S.d.addEventListener("ionBackButton",d=>{const L=h();L&&d.detail.register(p.MENU_BACK_BUTTON_PRIORITY,()=>L.close())}),{registerAnimation:m,get:ie,getMenus:te,getOpen:me,isEnabled:W,swipeGesture:U,isAnimating:se,isOpen:j,enable:O,toggle:M,close:k,open:$,_getOpenSync:h,_createAnimation:(d,L)=>{const I=B.get(d);if(!I)throw new Error("animation not registered");return I(L)},_register:d=>{P.indexOf(d)<0&&P.push(d)},_unregister:d=>{const L=P.indexOf(d);L>-1&&P.splice(L,1)},_setOpen:u}})()},4929:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S,b:()=>p,p:()=>a});const a=(R,...c)=>console.warn(`[Ionic Warning]: ${R}`,...c),S=(R,...c)=>console.error(`[Ionic Error]: ${R}`,...c),p=(R,...c)=>console.error(`<${R.tagName.toLowerCase()}> must be used inside ${c.join(" or ")}.`)},4363:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>F,H:()=>y,a:()=>Tn,b:()=>kn,c:()=>ve,d:()=>tt,e:()=>Et,f:()=>ae,g:()=>Ae,h:()=>h,i:()=>it,j:()=>A,r:()=>Xn,w:()=>zt});var a=E(467);let R,c,D,C=!1,w=!1,T=!1,_=!1,g=!1;const F={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},A=ye=>{const We=new URL(ye,Zt.$resourcesUrl$);return We.origin!==Yt.location.origin?We.href:We.pathname},U="s-id",j="sty-id",W="c-id",me="slot-fb{display:contents}slot-fb[hidden]{display:none}",te="http://www.w3.org/1999/xlink",se={},u=ye=>"object"==(ye=typeof ye)||"function"===ye;function s(ye){var We,dt,xt;return null!==(xt=null===(dt=null===(We=ye.head)||void 0===We?void 0:We.querySelector('meta[name="csp-nonce"]'))||void 0===dt?void 0:dt.getAttribute("content"))&&void 0!==xt?xt:void 0}const h=(ye,We,...dt)=>{let xt=null,Xt=null,$t=null,an=!1,ln=!1;const fn=[],un=Mn=>{for(let Bn=0;BnMn[Bn]).join(" "))}}if("function"==typeof ye)return ye(null===We?{}:We,fn,r);const tn=v(ye,null);return tn.$attrs$=We,fn.length>0&&(tn.$children$=fn),tn.$key$=Xt,tn.$name$=$t,tn},v=(ye,We)=>({$flags$:0,$tag$:ye,$text$:We,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),y={},r={forEach:(ye,We)=>ye.map(d).forEach(We),map:(ye,We)=>ye.map(d).map(We).map(L)},d=ye=>({vattrs:ye.$attrs$,vchildren:ye.$children$,vkey:ye.$key$,vname:ye.$name$,vtag:ye.$tag$,vtext:ye.$text$}),L=ye=>{if("function"==typeof ye.vtag){const dt=Object.assign({},ye.vattrs);return ye.vkey&&(dt.key=ye.vkey),ye.vname&&(dt.name=ye.vname),h(ye.vtag,dt,...ye.vchildren||[])}const We=v(ye.vtag,ye.vtext);return We.$attrs$=ye.vattrs,We.$children$=ye.vchildren,We.$key$=ye.vkey,We.$name$=ye.vname,We},V=(ye,We,dt,xt,Xt,$t,an)=>{let ln,fn,un,tn;if(1===$t.nodeType){for(ln=$t.getAttribute(W),ln&&(fn=ln.split("."),(fn[0]===an||"0"===fn[0])&&(un={$flags$:0,$hostId$:fn[0],$nodeId$:fn[1],$depth$:fn[2],$index$:fn[3],$tag$:$t.tagName.toLowerCase(),$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},We.push(un),$t.removeAttribute(W),ye.$children$||(ye.$children$=[]),ye.$children$[un.$index$]=un,ye=un,xt&&"0"===un.$depth$&&(xt[un.$index$]=un.$elm$))),tn=$t.childNodes.length-1;tn>=0;tn--)V(ye,We,dt,xt,Xt,$t.childNodes[tn],an);if($t.shadowRoot)for(tn=$t.shadowRoot.childNodes.length-1;tn>=0;tn--)V(ye,We,dt,xt,Xt,$t.shadowRoot.childNodes[tn],an)}else if(8===$t.nodeType)fn=$t.nodeValue.split("."),(fn[1]===an||"0"===fn[1])&&(ln=fn[0],un={$flags$:0,$hostId$:fn[1],$nodeId$:fn[2],$depth$:fn[3],$index$:fn[4],$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===ln?(un.$elm$=$t.nextSibling,un.$elm$&&3===un.$elm$.nodeType&&(un.$text$=un.$elm$.textContent,We.push(un),$t.remove(),ye.$children$||(ye.$children$=[]),ye.$children$[un.$index$]=un,xt&&"0"===un.$depth$&&(xt[un.$index$]=un.$elm$))):un.$hostId$===an&&("s"===ln?(un.$tag$="slot",$t["s-sn"]=fn[5]?un.$name$=fn[5]:"",$t["s-sr"]=!0,xt&&(un.$elm$=Jt.createElement(un.$tag$),un.$name$&&un.$elm$.setAttribute("name",un.$name$),$t.parentNode.insertBefore(un.$elm$,$t),$t.remove(),"0"===un.$depth$&&(xt[un.$index$]=un.$elm$)),dt.push(un),ye.$children$||(ye.$children$=[]),ye.$children$[un.$index$]=un):"r"===ln&&(xt?$t.remove():(Xt["s-cr"]=$t,$t["s-cn"]=!0))));else if(ye&&"style"===ye.$tag$){const Mn=v(null,$t.textContent);Mn.$elm$=$t,Mn.$index$="0",ye.$children$=[Mn]}},q=(ye,We)=>{if(1===ye.nodeType){let dt=0;for(;dtLt.push(ye),Ae=ye=>$n(ye).$modeName$,ae=ye=>$n(ye).$hostElement$,tt=(ye,We,dt)=>{const xt=ae(ye);return{emit:Xt=>Oe(xt,We,{bubbles:!!(4&dt),composed:!!(2&dt),cancelable:!!(1&dt),detail:Xt})}},Oe=(ye,We,dt)=>{const xt=Zt.ce(We,dt);return ye.dispatchEvent(xt),xt},pe=new WeakMap,Ie=(ye,We,dt)=>{let xt=wt.get(ye);Ke&&dt?(xt=xt||new CSSStyleSheet,"string"==typeof xt?xt=We:xt.replaceSync(We)):xt=We,wt.set(ye,xt)},Se=(ye,We,dt)=>{var xt;const Xt=ne(We,dt),$t=wt.get(Xt);if(ye=11===ye.nodeType?ye:Jt,$t)if("string"==typeof $t){let ln,an=pe.get(ye=ye.head||ye);if(an||pe.set(ye,an=new Set),!an.has(Xt)){if(ye.host&&(ln=ye.querySelector(`[${j}="${Xt}"]`)))ln.innerHTML=$t;else{ln=Jt.createElement("style"),ln.innerHTML=$t;const fn=null!==(xt=Zt.$nonce$)&&void 0!==xt?xt:s(Jt);null!=fn&&ln.setAttribute("nonce",fn),ye.insertBefore(ln,ye.querySelector("link"))}4&We.$flags$&&(ln.innerHTML+=me),an&&an.add(Xt)}}else ye.adoptedStyleSheets.includes($t)||(ye.adoptedStyleSheets=[...ye.adoptedStyleSheets,$t]);return Xt},ne=(ye,We)=>"sc-"+(We&&32&ye.$flags$?ye.$tagName$+"-"+We:ye.$tagName$),G=ye=>ye.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ee=(ye,We,dt,xt,Xt,$t)=>{if(dt!==xt){let an=Hn(ye,We),ln=We.toLowerCase();if("class"===We){const fn=ye.classList,un=Qe(dt),tn=Qe(xt);fn.remove(...un.filter(Mn=>Mn&&!tn.includes(Mn))),fn.add(...tn.filter(Mn=>Mn&&!un.includes(Mn)))}else if("style"===We){for(const fn in dt)(!xt||null==xt[fn])&&(fn.includes("-")?ye.style.removeProperty(fn):ye.style[fn]="");for(const fn in xt)(!dt||xt[fn]!==dt[fn])&&(fn.includes("-")?ye.style.setProperty(fn,xt[fn]):ye.style[fn]=xt[fn])}else if("key"!==We)if("ref"===We)xt&&xt(ye);else if(an||"o"!==We[0]||"n"!==We[1]){const fn=u(xt);if((an||fn&&null!==xt)&&!Xt)try{if(ye.tagName.includes("-"))ye[We]=xt;else{const tn=null==xt?"":xt;"list"===We?an=!1:(null==dt||ye[We]!=tn)&&(ye[We]=tn)}}catch{}let un=!1;ln!==(ln=ln.replace(/^xlink\:?/,""))&&(We=ln,un=!0),null==xt||!1===xt?(!1!==xt||""===ye.getAttribute(We))&&(un?ye.removeAttributeNS(te,We):ye.removeAttribute(We)):(!an||4&$t||Xt)&&!fn&&(xt=!0===xt?"":xt,un?ye.setAttributeNS(te,We,xt):ye.setAttribute(We,xt))}else if(We="-"===We[2]?We.slice(3):Hn(Yt,ln)?ln.slice(2):ln[2]+We.slice(3),dt||xt){const fn=We.endsWith(rt);We=We.replace(nn,""),dt&&Zt.rel(ye,We,dt,fn),xt&&Zt.ael(ye,We,xt,fn)}}},vt=/\s/,Qe=ye=>ye?ye.split(vt):[],rt="Capture",nn=new RegExp(rt+"$"),gt=(ye,We,dt,xt)=>{const Xt=11===We.$elm$.nodeType&&We.$elm$.host?We.$elm$.host:We.$elm$,$t=ye&&ye.$attrs$||se,an=We.$attrs$||se;for(xt of ht(Object.keys($t)))xt in an||Ee(Xt,xt,$t[xt],void 0,dt,We.$flags$);for(xt of ht(Object.keys(an)))Ee(Xt,xt,$t[xt],an[xt],dt,We.$flags$)};function ht(ye){return ye.includes("ref")?[...ye.filter(We=>"ref"!==We),"ref"]:ye}const on=(ye,We,dt,xt)=>{var Xt;const $t=We.$children$[dt];let ln,fn,un,an=0;if(C||(T=!0,"slot"===$t.$tag$&&(R&&xt.classList.add(R+"-s"),$t.$flags$|=$t.$children$?2:1)),null!==$t.$text$)ln=$t.$elm$=Jt.createTextNode($t.$text$);else if(1&$t.$flags$)ln=$t.$elm$=Jt.createTextNode("");else{if(_||(_="svg"===$t.$tag$),ln=$t.$elm$=Jt.createElementNS(_?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$t.$flags$?"slot-fb":$t.$tag$),_&&"foreignObject"===$t.$tag$&&(_=!1),gt(null,$t,_),(ye=>null!=ye)(R)&&ln["s-si"]!==R&&ln.classList.add(ln["s-si"]=R),$t.$children$)for(an=0;an<$t.$children$.length;++an)fn=on(ye,$t,an,ln),fn&&ln.appendChild(fn);"svg"===$t.$tag$?_=!1:"foreignObject"===ln.tagName&&(_=!0)}return ln["s-hn"]=D,3&$t.$flags$&&(ln["s-sr"]=!0,ln["s-cr"]=c,ln["s-sn"]=$t.$name$||"",ln["s-rf"]=null===(Xt=$t.$attrs$)||void 0===Xt?void 0:Xt.ref,un=ye&&ye.$children$&&ye.$children$[dt],un&&un.$tag$===$t.$tag$&&ye.$elm$&&Mt(ye.$elm$,!1)),ln},Mt=(ye,We)=>{Zt.$flags$|=1;const dt=Array.from(ye.childNodes);for(let xt=dt.length-1;xt>=0;xt--){const Xt=dt[xt];Xt["s-hn"]!==D&&Xt["s-ol"]&&(Dt(Xt).insertBefore(Xt,yn(Xt)),Xt["s-ol"].remove(),Xt["s-ol"]=void 0,Xt["s-sh"]=void 0,T=!0),We&&Mt(Xt,We)}Zt.$flags$&=-2},Pt=(ye,We,dt,xt,Xt,$t)=>{let ln,an=ye["s-cr"]&&ye["s-cr"].parentNode||ye;for(an.shadowRoot&&an.tagName===D&&(an=an.shadowRoot);Xt<=$t;++Xt)xt[Xt]&&(ln=on(null,dt,Xt,ye),ln&&(xt[Xt].$elm$=ln,an.insertBefore(ln,yn(We))))},En=(ye,We,dt)=>{for(let xt=We;xt<=dt;++xt){const Xt=ye[xt];if(Xt){const $t=Xt.$elm$;kt(Xt),$t&&(w=!0,$t["s-ol"]?$t["s-ol"].remove():Mt($t,!0),$t.remove())}}},Ft=(ye,We,dt=!1)=>ye.$tag$===We.$tag$&&("slot"===ye.$tag$?ye.$name$===We.$name$:!!dt||ye.$key$===We.$key$),yn=ye=>ye&&ye["s-ol"]||ye,Dt=ye=>(ye["s-ol"]?ye["s-ol"]:ye).parentNode,_t=(ye,We,dt=!1)=>{const xt=We.$elm$=ye.$elm$,Xt=ye.$children$,$t=We.$children$,an=We.$tag$,ln=We.$text$;let fn;null===ln?(_="svg"===an||"foreignObject"!==an&&_,"slot"===an&&!C||gt(ye,We,_),null!==Xt&&null!==$t?((ye,We,dt,xt,Xt=!1)=>{let X,Ue,$t=0,an=0,ln=0,fn=0,un=We.length-1,tn=We[0],Mn=We[un],Bn=xt.length-1,On=xt[0],pr=xt[Bn];for(;$t<=un&&an<=Bn;)if(null==tn)tn=We[++$t];else if(null==Mn)Mn=We[--un];else if(null==On)On=xt[++an];else if(null==pr)pr=xt[--Bn];else if(Ft(tn,On,Xt))_t(tn,On,Xt),tn=We[++$t],On=xt[++an];else if(Ft(Mn,pr,Xt))_t(Mn,pr,Xt),Mn=We[--un],pr=xt[--Bn];else if(Ft(tn,pr,Xt))("slot"===tn.$tag$||"slot"===pr.$tag$)&&Mt(tn.$elm$.parentNode,!1),_t(tn,pr,Xt),ye.insertBefore(tn.$elm$,Mn.$elm$.nextSibling),tn=We[++$t],pr=xt[--Bn];else if(Ft(Mn,On,Xt))("slot"===tn.$tag$||"slot"===pr.$tag$)&&Mt(Mn.$elm$.parentNode,!1),_t(Mn,On,Xt),ye.insertBefore(Mn.$elm$,tn.$elm$),Mn=We[--un],On=xt[++an];else{for(ln=-1,fn=$t;fn<=un;++fn)if(We[fn]&&null!==We[fn].$key$&&We[fn].$key$===On.$key$){ln=fn;break}ln>=0?(Ue=We[ln],Ue.$tag$!==On.$tag$?X=on(We&&We[an],dt,ln,ye):(_t(Ue,On,Xt),We[ln]=void 0,X=Ue.$elm$),On=xt[++an]):(X=on(We&&We[an],dt,an,ye),On=xt[++an]),X&&Dt(tn.$elm$).insertBefore(X,yn(tn.$elm$))}$t>un?Pt(ye,null==xt[Bn+1]?null:xt[Bn+1].$elm$,dt,xt,an,Bn):an>Bn&&En(We,$t,un)})(xt,Xt,We,$t,dt):null!==$t?(null!==ye.$text$&&(xt.textContent=""),Pt(xt,null,We,$t,0,$t.length-1)):null!==Xt&&En(Xt,0,Xt.length-1),_&&"svg"===an&&(_=!1)):(fn=xt["s-cr"])?fn.parentNode.textContent=ln:ye.$text$!==ln&&(xt.data=ln)},Cn=ye=>{const We=ye.childNodes;for(const dt of We)if(1===dt.nodeType){if(dt["s-sr"]){const xt=dt["s-sn"];dt.hidden=!1;for(const Xt of We)if(Xt!==dt)if(Xt["s-hn"]!==dt["s-hn"]||""!==xt){if(1===Xt.nodeType&&(xt===Xt.getAttribute("slot")||xt===Xt["s-sn"])){dt.hidden=!0;break}}else if(1===Xt.nodeType||3===Xt.nodeType&&""!==Xt.textContent.trim()){dt.hidden=!0;break}}Cn(dt)}},St=[],ft=ye=>{let We,dt,xt;for(const Xt of ye.childNodes){if(Xt["s-sr"]&&(We=Xt["s-cr"])&&We.parentNode){dt=We.parentNode.childNodes;const $t=Xt["s-sn"];for(xt=dt.length-1;xt>=0;xt--)if(We=dt[xt],!We["s-cn"]&&!We["s-nr"]&&We["s-hn"]!==Xt["s-hn"])if(In(We,$t)){let an=St.find(ln=>ln.$nodeToRelocate$===We);w=!0,We["s-sn"]=We["s-sn"]||$t,an?(an.$nodeToRelocate$["s-sh"]=Xt["s-hn"],an.$slotRefNode$=Xt):(We["s-sh"]=Xt["s-hn"],St.push({$slotRefNode$:Xt,$nodeToRelocate$:We})),We["s-sr"]&&St.map(ln=>{In(ln.$nodeToRelocate$,We["s-sn"])&&(an=St.find(fn=>fn.$nodeToRelocate$===We),an&&!ln.$slotRefNode$&&(ln.$slotRefNode$=an.$slotRefNode$))})}else St.some(an=>an.$nodeToRelocate$===We)||St.push({$nodeToRelocate$:We})}1===Xt.nodeType&&ft(Xt)}},In=(ye,We)=>1===ye.nodeType?null===ye.getAttribute("slot")&&""===We||ye.getAttribute("slot")===We:ye["s-sn"]===We||""===We,kt=ye=>{ye.$attrs$&&ye.$attrs$.ref&&ye.$attrs$.ref(null),ye.$children$&&ye.$children$.map(kt)},Un=(ye,We)=>{We&&!ye.$onRenderResolve$&&We["s-p"]&&We["s-p"].push(new Promise(dt=>ye.$onRenderResolve$=dt))},Vt=(ye,We)=>{if(ye.$flags$|=16,!(4&ye.$flags$))return Un(ye,ye.$ancestorComponent$),zt(()=>He(ye,We));ye.$flags$|=512},He=(ye,We)=>{const xt=ye.$lazyInstance$;let Xt;return We&&(ye.$flags$|=256,ye.$queuedListeners$&&(ye.$queuedListeners$.map(([$t,an])=>Be(xt,$t,an)),ye.$queuedListeners$=void 0),Xt=Be(xt,"componentWillLoad")),Xt=_e(Xt,()=>Be(xt,"componentWillRender")),_e(Xt,()=>Me(ye,xt,We))},_e=(ye,We)=>De(ye)?ye.then(We):We(),De=ye=>ye instanceof Promise||ye&&ye.then&&"function"==typeof ye.then,Me=function(){var ye=(0,a.A)(function*(We,dt,xt){var Xt;const $t=We.$hostElement$,ln=$t["s-rc"];xt&&(ye=>{const We=ye.$cmpMeta$,dt=ye.$hostElement$,xt=We.$flags$,$t=Se(dt.shadowRoot?dt.shadowRoot:dt.getRootNode(),We,ye.$modeName$);10&xt&&(dt["s-sc"]=$t,dt.classList.add($t+"-h"),2&xt&&dt.classList.add($t+"-s"))})(We);Ze(We,dt,$t,xt),ln&&(ln.map(un=>un()),$t["s-rc"]=void 0);{const un=null!==(Xt=$t["s-p"])&&void 0!==Xt?Xt:[],tn=()=>Ve(We);0===un.length?tn():(Promise.all(un).then(tn),We.$flags$|=4,un.length=0)}});return function(dt,xt,Xt){return ye.apply(this,arguments)}}(),Ze=(ye,We,dt,xt)=>{try{We=We.render&&We.render(),ye.$flags$&=-17,ye.$flags$|=2,((ye,We,dt=!1)=>{var xt,Xt,$t,an;const ln=ye.$hostElement$,fn=ye.$cmpMeta$,un=ye.$vnode$||v(null,null),tn=(ye=>ye&&ye.$tag$===y)(We)?We:h(null,null,We);if(D=ln.tagName,fn.$attrsToReflect$&&(tn.$attrs$=tn.$attrs$||{},fn.$attrsToReflect$.map(([Mn,Bn])=>tn.$attrs$[Bn]=ln[Mn])),dt&&tn.$attrs$)for(const Mn of Object.keys(tn.$attrs$))ln.hasAttribute(Mn)&&!["key","ref","style","class"].includes(Mn)&&(tn.$attrs$[Mn]=ln[Mn]);if(tn.$tag$=null,tn.$flags$|=4,ye.$vnode$=tn,tn.$elm$=un.$elm$=ln.shadowRoot||ln,R=ln["s-sc"],C=!!(1&fn.$flags$),c=ln["s-cr"],w=!1,_t(un,tn,dt),Zt.$flags$|=1,T){ft(tn.$elm$);for(const Mn of St){const Bn=Mn.$nodeToRelocate$;if(!Bn["s-ol"]){const On=Jt.createTextNode("");On["s-nr"]=Bn,Bn.parentNode.insertBefore(Bn["s-ol"]=On,Bn)}}for(const Mn of St){const Bn=Mn.$nodeToRelocate$,On=Mn.$slotRefNode$;if(On){const pr=On.parentNode;let X=On.nextSibling;{let Ue=null===(xt=Bn["s-ol"])||void 0===xt?void 0:xt.previousSibling;for(;Ue;){let le=null!==(Xt=Ue["s-nr"])&&void 0!==Xt?Xt:null;if(le&&le["s-sn"]===Bn["s-sn"]&&pr===le.parentNode){for(le=le.nextSibling;le===Bn||null!=le&&le["s-sr"];)le=null==le?void 0:le.nextSibling;if(!le||!le["s-nr"]){X=le;break}}Ue=Ue.previousSibling}}(!X&&pr!==Bn.parentNode||Bn.nextSibling!==X)&&Bn!==X&&(!Bn["s-hn"]&&Bn["s-ol"]&&(Bn["s-hn"]=Bn["s-ol"].parentNode.nodeName),pr.insertBefore(Bn,X),1===Bn.nodeType&&(Bn.hidden=null!==($t=Bn["s-ih"])&&void 0!==$t&&$t)),Bn&&"function"==typeof On["s-rf"]&&On["s-rf"](Bn)}else 1===Bn.nodeType&&(dt&&(Bn["s-ih"]=null!==(an=Bn.hidden)&&void 0!==an&&an),Bn.hidden=!0)}}w&&Cn(tn.$elm$),Zt.$flags$&=-2,St.length=0,c=void 0})(ye,We,xt)}catch(Xt){$e(Xt,ye.$hostElement$)}return null},Ve=ye=>{const dt=ye.$hostElement$,Xt=ye.$lazyInstance$,$t=ye.$ancestorComponent$;Be(Xt,"componentDidRender"),64&ye.$flags$?Be(Xt,"componentDidUpdate"):(ye.$flags$|=64,je(dt),Be(Xt,"componentDidLoad"),ye.$onReadyResolve$(dt),$t||Pe()),ye.$onInstanceResolve$(dt),ye.$onRenderResolve$&&(ye.$onRenderResolve$(),ye.$onRenderResolve$=void 0),512&ye.$flags$&&hn(()=>Vt(ye,!1)),ye.$flags$&=-517},it=ye=>{{const We=$n(ye),dt=We.$hostElement$.isConnected;return dt&&2==(18&We.$flags$)&&Vt(We,!1),dt}},Pe=ye=>{je(Jt.documentElement),hn(()=>Oe(Yt,"appload",{detail:{namespace:"ionic"}}))},Be=(ye,We,dt)=>{if(ye&&ye[We])try{return ye[We](dt)}catch(xt){$e(xt)}},je=ye=>ye.classList.add("hydrated"),st=(ye,We,dt)=>{var xt;const Xt=ye.prototype;if(We.$members$){ye.watchers&&(We.$watchers$=ye.watchers);const $t=Object.entries(We.$members$);if($t.map(([an,[ln]])=>{31&ln||2&dt&&32&ln?Object.defineProperty(Xt,an,{get(){return((ye,We)=>$n(this).$instanceValues$.get(We))(0,an)},set(fn){((ye,We,dt,xt)=>{const Xt=$n(ye),$t=Xt.$hostElement$,an=Xt.$instanceValues$.get(We),ln=Xt.$flags$,fn=Xt.$lazyInstance$;dt=((ye,We)=>null==ye||u(ye)?ye:4&We?"false"!==ye&&(""===ye||!!ye):2&We?parseFloat(ye):1&We?String(ye):ye)(dt,xt.$members$[We][0]);const un=Number.isNaN(an)&&Number.isNaN(dt);if((!(8&ln)||void 0===an)&&dt!==an&&!un&&(Xt.$instanceValues$.set(We,dt),fn)){if(xt.$watchers$&&128&ln){const Mn=xt.$watchers$[We];Mn&&Mn.map(Bn=>{try{fn[Bn](dt,an,We)}catch(On){$e(On,$t)}})}2==(18&ln)&&Vt(Xt,!1)}})(this,an,fn,We)},configurable:!0,enumerable:!0}):1&dt&&64&ln&&Object.defineProperty(Xt,an,{value(...fn){var un;const tn=$n(this);return null===(un=null==tn?void 0:tn.$onInstancePromise$)||void 0===un?void 0:un.then(()=>{var Mn;return null===(Mn=tn.$lazyInstance$)||void 0===Mn?void 0:Mn[an](...fn)})}})}),1&dt){const an=new Map;Xt.attributeChangedCallback=function(ln,fn,un){Zt.jmp(()=>{var tn;const Mn=an.get(ln);if(this.hasOwnProperty(Mn))un=this[Mn],delete this[Mn];else{if(Xt.hasOwnProperty(Mn)&&"number"==typeof this[Mn]&&this[Mn]==un)return;if(null==Mn){const Bn=$n(this),On=null==Bn?void 0:Bn.$flags$;if(On&&!(8&On)&&128&On&&un!==fn){const pr=Bn.$lazyInstance$,X=null===(tn=We.$watchers$)||void 0===tn?void 0:tn[ln];null==X||X.forEach(Ue=>{null!=pr[Ue]&&pr[Ue].call(pr,un,fn,ln)})}return}}this[Mn]=(null!==un||"boolean"!=typeof this[Mn])&&un})},ye.observedAttributes=Array.from(new Set([...Object.keys(null!==(xt=We.$watchers$)&&void 0!==xt?xt:{}),...$t.filter(([ln,fn])=>15&fn[0]).map(([ln,fn])=>{var un;const tn=fn[1]||ln;return an.set(tn,ln),512&fn[0]&&(null===(un=We.$attrsToReflect$)||void 0===un||un.push([ln,tn])),tn})]))}}return ye},qt=function(){var ye=(0,a.A)(function*(We,dt,xt,Xt){let $t;if(!(32&dt.$flags$)){if(dt.$flags$|=32,xt.$lazyBundleId$){if($t=Tt(xt),$t.then){const tn=()=>{};$t=yield $t,tn()}$t.isProxied||(xt.$watchers$=$t.watchers,st($t,xt,2),$t.isProxied=!0);const un=()=>{};dt.$flags$|=8;try{new $t(dt)}catch(tn){$e(tn)}dt.$flags$&=-9,dt.$flags$|=128,un(),Ct(dt.$lazyInstance$)}else $t=We.constructor,customElements.whenDefined(xt.$tagName$).then(()=>dt.$flags$|=128);if($t.style){let un=$t.style;"string"!=typeof un&&(un=un[dt.$modeName$=(ye=>Lt.map(We=>We(ye)).find(We=>!!We))(We)]);const tn=ne(xt,dt.$modeName$);if(!wt.has(tn)){const Mn=()=>{};Ie(tn,un,!!(1&xt.$flags$)),Mn()}}}const an=dt.$ancestorComponent$,ln=()=>Vt(dt,!0);an&&an["s-rc"]?an["s-rc"].push(ln):ln()});return function(dt,xt,Xt,$t){return ye.apply(this,arguments)}}(),Ct=ye=>{Be(ye,"connectedCallback")},Wt=ye=>{const We=ye["s-cr"]=Jt.createComment("");We["s-cn"]=!0,ye.insertBefore(We,ye.firstChild)},Ot=ye=>{Be(ye,"disconnectedCallback")},Rt=function(){var ye=(0,a.A)(function*(We){if(!(1&Zt.$flags$)){const dt=$n(We);dt.$rmListeners$&&(dt.$rmListeners$.map(xt=>xt()),dt.$rmListeners$=void 0),null!=dt&&dt.$lazyInstance$?Ot(dt.$lazyInstance$):null!=dt&&dt.$onReadyPromise$&&dt.$onReadyPromise$.then(()=>Ot(dt.$lazyInstance$))}});return function(dt){return ye.apply(this,arguments)}}(),kn=(ye,We={})=>{var dt;const Xt=[],$t=We.exclude||[],an=Yt.customElements,ln=Jt.head,fn=ln.querySelector("meta[charset]"),un=Jt.createElement("style"),tn=[],Mn=Jt.querySelectorAll(`[${j}]`);let Bn,On=!0,pr=0;for(Object.assign(Zt,We),Zt.$resourcesUrl$=new URL(We.resourcesUrl||"./",Jt.baseURI).href,Zt.$flags$|=2;pr{Ue[1].map(le=>{var Ye;const Bt={$flags$:le[0],$tagName$:le[1],$members$:le[2],$listeners$:le[3]};4&Bt.$flags$&&(X=!0),Bt.$members$=le[2],Bt.$listeners$=le[3],Bt.$attrsToReflect$=[],Bt.$watchers$=null!==(Ye=le[4])&&void 0!==Ye?Ye:{};const Ln=Bt.$tagName$,cr=class extends HTMLElement{constructor(Dr){super(Dr),Yn(Dr=this,Bt),1&Bt.$flags$&&Dr.attachShadow({mode:"open",delegatesFocus:!!(16&Bt.$flags$)})}connectedCallback(){Bn&&(clearTimeout(Bn),Bn=null),On?tn.push(this):Zt.jmp(()=>(ye=>{if(!(1&Zt.$flags$)){const We=$n(ye),dt=We.$cmpMeta$,xt=()=>{};if(1&We.$flags$)bn(ye,We,dt.$listeners$),null!=We&&We.$lazyInstance$?Ct(We.$lazyInstance$):null!=We&&We.$onReadyPromise$&&We.$onReadyPromise$.then(()=>Ct(We.$lazyInstance$));else{let Xt;if(We.$flags$|=1,Xt=ye.getAttribute(U),Xt){if(1&dt.$flags$){const $t=Se(ye.shadowRoot,dt,ye.getAttribute("s-mode"));ye.classList.remove($t+"-h",$t+"-s")}((ye,We,dt,xt)=>{const $t=ye.shadowRoot,an=[],fn=$t?[]:null,un=xt.$vnode$=v(We,null);Zt.$orgLocNodes$||q(Jt.body,Zt.$orgLocNodes$=new Map),ye[U]=dt,ye.removeAttribute(U),V(un,an,[],fn,ye,ye,dt),an.map(tn=>{const Mn=tn.$hostId$+"."+tn.$nodeId$,Bn=Zt.$orgLocNodes$.get(Mn),On=tn.$elm$;Bn&&An&&""===Bn["s-en"]&&Bn.parentNode.insertBefore(On,Bn.nextSibling),$t||(On["s-hn"]=We,Bn&&(On["s-ol"]=Bn,On["s-ol"]["s-nr"]=On)),Zt.$orgLocNodes$.delete(Mn)}),$t&&fn.map(tn=>{tn&&$t.appendChild(tn)})})(ye,dt.$tagName$,Xt,We)}Xt||12&dt.$flags$&&Wt(ye);{let $t=ye;for(;$t=$t.parentNode||$t.host;)if(1===$t.nodeType&&$t.hasAttribute("s-id")&&$t["s-p"]||$t["s-p"]){Un(We,We.$ancestorComponent$=$t);break}}dt.$members$&&Object.entries(dt.$members$).map(([$t,[an]])=>{if(31&an&&ye.hasOwnProperty($t)){const ln=ye[$t];delete ye[$t],ye[$t]=ln}}),qt(ye,We,dt)}xt()}})(this))}disconnectedCallback(){Zt.jmp(()=>Rt(this))}componentOnReady(){return $n(this).$onReadyPromise$}};Bt.$lazyBundleId$=Ue[0],!$t.includes(Ln)&&!an.get(Ln)&&(Xt.push(Ln),an.define(Ln,st(cr,Bt,1)))})}),Xt.length>0&&(X&&(un.textContent+=me),un.textContent+=Xt+"{visibility:hidden}.hydrated{visibility:inherit}",un.innerHTML.length)){un.setAttribute("data-styles","");const Ue=null!==(dt=Zt.$nonce$)&&void 0!==dt?dt:s(Jt);null!=Ue&&un.setAttribute("nonce",Ue),ln.insertBefore(un,fn?fn.nextSibling:ln.firstChild)}On=!1,tn.length?tn.map(Ue=>Ue.connectedCallback()):Zt.jmp(()=>Bn=setTimeout(Pe,30))},bn=(ye,We,dt,xt)=>{dt&&dt.map(([Xt,$t,an])=>{const ln=Dn(ye,Xt),fn=wn(We,an),un=Wn(Xt);Zt.ael(ln,$t,fn,un),(We.$rmListeners$=We.$rmListeners$||[]).push(()=>Zt.rel(ln,$t,fn,un))})},wn=(ye,We)=>dt=>{try{256&ye.$flags$?ye.$lazyInstance$[We](dt):(ye.$queuedListeners$=ye.$queuedListeners$||[]).push([We,dt])}catch(xt){$e(xt)}},Dn=(ye,We)=>4&We?Jt:8&We?Yt:16&We?Jt.body:ye,Wn=ye=>Kn?{passive:!!(1&ye),capture:!!(2&ye)}:!!(2&ye),Fn=new WeakMap,$n=ye=>Fn.get(ye),Xn=(ye,We)=>Fn.set(We.$lazyInstance$=ye,We),Yn=(ye,We)=>{const dt={$flags$:0,$hostElement$:ye,$cmpMeta$:We,$instanceValues$:new Map};return dt.$onInstancePromise$=new Promise(xt=>dt.$onInstanceResolve$=xt),dt.$onReadyPromise$=new Promise(xt=>dt.$onReadyResolve$=xt),ye["s-p"]=[],ye["s-rc"]=[],bn(ye,dt,We.$listeners$),Fn.set(ye,dt)},Hn=(ye,We)=>We in ye,$e=(ye,We)=>(0,console.error)(ye,We),lt=new Map,Tt=(ye,We,dt)=>{const xt=ye.$tagName$.replace(/-/g,"_"),Xt=ye.$lazyBundleId$,$t=lt.get(Xt);return $t?$t[xt]:E(8996)(`./${Xt}.entry.js`).then(an=>(lt.set(Xt,an),an[xt]),$e)},wt=new Map,Lt=[],Yt=typeof window<"u"?window:{},Jt=Yt.document||{head:{}},Zt={$flags$:0,$resourcesUrl$:"",jmp:ye=>ye(),raf:ye=>requestAnimationFrame(ye),ael:(ye,We,dt,xt)=>ye.addEventListener(We,dt,xt),rel:(ye,We,dt,xt)=>ye.removeEventListener(We,dt,xt),ce:(ye,We)=>new CustomEvent(ye,We)},Tn=ye=>{Object.assign(Zt,ye)},An=!0,Kn=(()=>{let ye=!1;try{Jt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){ye=!0}}))}catch{}return ye})(),Ke=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),et=[],Te=[],qe=(ye,We)=>dt=>{ye.push(dt),g||(g=!0,We&&4&Zt.$flags$?hn(Kt):Zt.raf(Kt))},bt=ye=>{for(let We=0;We{bt(et),bt(Te),(g=et.length>0)&&Zt.raf(Kt)},hn=ye=>Promise.resolve(void 0).then(ye),Et=qe(et,!1),zt=qe(Te,!0)},8476:(Ce,ee,E)=>{"use strict";E.d(ee,{d:()=>S,w:()=>a});const a=typeof window<"u"?window:void 0,S=typeof document<"u"?document:void 0},7555:(Ce,ee,E)=>{"use strict";E.d(ee,{b:()=>D,c:()=>C,d:()=>w,e:()=>te,g:()=>n,l:()=>ie,s:()=>se,t:()=>g,w:()=>me});var a=E(467),S=E(4363),p=E(5638);const D="ionViewWillLeave",C="ionViewDidLeave",w="ionViewWillUnload",g=o=>new Promise((u,s)=>{(0,S.w)(()=>{F(o),A(o).then(h=>{h.animation&&h.animation.destroy(),B(o),u(h)},h=>{B(o),s(h)})})}),F=o=>{const u=o.enteringEl,s=o.leavingEl;m(u,s,o.direction),o.showGoBack?u.classList.add("can-go-back"):u.classList.remove("can-go-back"),se(u,!1),u.style.setProperty("pointer-events","none"),s&&(se(s,!1),s.style.setProperty("pointer-events","none"))},A=function(){var o=(0,a.A)(function*(u){const s=yield P(u);return s&&S.B.isBrowser?$(s,u):k(u)});return function(s){return o.apply(this,arguments)}}(),B=o=>{const u=o.enteringEl,s=o.leavingEl;u.classList.remove("ion-page-invisible"),u.style.removeProperty("pointer-events"),void 0!==s&&(s.classList.remove("ion-page-invisible"),s.style.removeProperty("pointer-events"))},P=function(){var o=(0,a.A)(function*(u){return u.leavingEl&&u.animated&&0!==u.duration?u.animationBuilder?u.animationBuilder:"ios"===u.mode?(yield Promise.resolve().then(E.bind(E,4569))).iosTransitionAnimation:(yield Promise.resolve().then(E.bind(E,2942))).mdTransitionAnimation:void 0});return function(s){return o.apply(this,arguments)}}(),$=function(){var o=(0,a.A)(function*(u,s){yield M(s,!0);const h=u(s.baseEl,s);j(s.enteringEl,s.leavingEl);const v=yield U(h,s);return s.progressCallback&&s.progressCallback(void 0),v&&W(s.enteringEl,s.leavingEl),{hasCompleted:v,animation:h}});return function(s,h){return o.apply(this,arguments)}}(),k=function(){var o=(0,a.A)(function*(u){const s=u.enteringEl,h=u.leavingEl;return yield M(u,!1),j(s,h),W(s,h),{hasCompleted:!0}});return function(s){return o.apply(this,arguments)}}(),M=function(){var o=(0,a.A)(function*(u,s){(void 0!==u.deepWait?u.deepWait:s)&&(yield Promise.all([te(u.enteringEl),te(u.leavingEl)])),yield O(u.viewIsReady,u.enteringEl)});return function(s,h){return o.apply(this,arguments)}}(),O=function(){var o=(0,a.A)(function*(u,s){u&&(yield u(s))});return function(s,h){return o.apply(this,arguments)}}(),U=(o,u)=>{const s=u.progressCallback,h=new Promise(v=>{o.onFinish(y=>v(1===y))});return s?(o.progressStart(!0),s(o)):o.play(),h},j=(o,u)=>{ie(u,D),ie(o,"ionViewWillEnter")},W=(o,u)=>{ie(o,"ionViewDidEnter"),ie(u,C)},ie=(o,u)=>{if(o){const s=new CustomEvent(u,{bubbles:!1,cancelable:!1});o.dispatchEvent(s)}},me=()=>new Promise(o=>(0,p.r)(()=>(0,p.r)(()=>o()))),te=function(){var o=(0,a.A)(function*(u){const s=u;if(s){if(null!=s.componentOnReady){if(null!=(yield s.componentOnReady()))return}else if(null!=s.__registerHost)return void(yield new Promise(v=>(0,p.r)(v)));yield Promise.all(Array.from(s.children).map(te))}});return function(s){return o.apply(this,arguments)}}(),se=(o,u)=>{u?(o.setAttribute("aria-hidden","true"),o.classList.add("ion-page-hidden")):(o.hidden=!1,o.removeAttribute("aria-hidden"),o.classList.remove("ion-page-hidden"))},m=(o,u,s)=>{void 0!==o&&(o.style.zIndex="back"===s?"99":"101"),void 0!==u&&(u.style.zIndex="100")},n=o=>o.classList.contains("ion-page")?o:o.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||o},611:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>g,b:()=>v,c:()=>p,i:()=>y});var a=E(4363);class S{constructor(){this.m=new Map}reset(r){this.m=new Map(Object.entries(r))}get(r,d){const L=this.m.get(r);return void 0!==L?L:d}getBoolean(r,d=!1){const L=this.m.get(r);return void 0===L?d:"string"==typeof L?"true"===L:!!L}getNumber(r,d){const L=parseFloat(this.m.get(r));return isNaN(L)?void 0!==d?d:NaN:L}set(r,d){this.m.set(r,d)}}const p=new S,w="ionic:",T="ionic-persist-config",g=(f,r)=>("string"==typeof f&&(r=f,f=void 0),(f=>F(f))(f).includes(r)),F=(f=window)=>{if(typeof f>"u")return[];f.Ionic=f.Ionic||{};let r=f.Ionic.platforms;return null==r&&(r=f.Ionic.platforms=A(f),r.forEach(d=>f.document.documentElement.classList.add(`plt-${d}`))),r},A=f=>{const r=p.get("platform");return Object.keys(s).filter(d=>{const L=null==r?void 0:r[d];return"function"==typeof L?L(f):s[d](f)})},P=f=>!!(o(f,/iPad/i)||o(f,/Macintosh/i)&&W(f)),M=f=>o(f,/android|sink/i),W=f=>u(f,"(any-pointer:coarse)"),me=f=>te(f)||se(f),te=f=>!!(f.cordova||f.phonegap||f.PhoneGap),se=f=>{const r=f.Capacitor;return!(null==r||!r.isNative)},o=(f,r)=>r.test(f.navigator.userAgent),u=(f,r)=>{var d;return null===(d=f.matchMedia)||void 0===d?void 0:d.call(f,r).matches},s={ipad:P,iphone:f=>o(f,/iPhone/i),ios:f=>o(f,/iPhone|iPod/i)||P(f),android:M,phablet:f=>{const r=f.innerWidth,d=f.innerHeight,L=Math.min(r,d),I=Math.max(r,d);return L>390&&L<520&&I>620&&I<800},tablet:f=>{const r=f.innerWidth,d=f.innerHeight,L=Math.min(r,d),I=Math.max(r,d);return P(f)||(f=>M(f)&&!o(f,/mobile/i))(f)||L>460&&L<820&&I>780&&I<1400},cordova:te,capacitor:se,electron:f=>o(f,/electron/i),pwa:f=>{var r;return!!(null!==(r=f.matchMedia)&&void 0!==r&&r.call(f,"(display-mode: standalone)").matches||f.navigator.standalone)},mobile:W,mobileweb:f=>W(f)&&!me(f),desktop:f=>!W(f),hybrid:me};let h;const v=f=>f&&(0,a.g)(f)||h,y=(f={})=>{if(typeof window>"u")return;const r=window.document,d=window,L=d.Ionic=d.Ionic||{},I={};f._ael&&(I.ael=f._ael),f._rel&&(I.rel=f._rel),f._ce&&(I.ce=f._ce),(0,a.a)(I);const V=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(f=>{try{const r=f.sessionStorage.getItem(T);return null!==r?JSON.parse(r):{}}catch{return{}}})(d)),{persistConfig:!1}),L.config),(f=>{const r={};return f.location.search.slice(1).split("&").map(d=>d.split("=")).map(([d,L])=>[decodeURIComponent(d),decodeURIComponent(L)]).filter(([d])=>((f,r)=>f.substr(0,r.length)===r)(d,w)).map(([d,L])=>[d.slice(6),L]).forEach(([d,L])=>{r[d]=L}),r})(d)),f);p.reset(V),p.getBoolean("persistConfig")&&((f,r)=>{try{f.sessionStorage.setItem(T,JSON.stringify(r))}catch{return}})(d,V),F(d),L.config=p,L.mode=h=p.get("mode",r.documentElement.getAttribute("mode")||(g(d,"ios")?"ios":"md")),p.set("mode",h),r.documentElement.setAttribute("mode",h),r.documentElement.classList.add(h),p.getBoolean("_testing")&&p.set("animated",!1);const q=ve=>{var Ae;return null===(Ae=ve.tagName)||void 0===Ae?void 0:Ae.startsWith("ION-")},oe=ve=>["ios","md"].includes(ve);(0,a.c)(ve=>{for(;ve;){const Ae=ve.mode||ve.getAttribute("mode");if(Ae){if(oe(Ae))return Ae;q(ve)&&console.warn('Invalid ionic mode: "'+Ae+'", expected: "ios" or "md"')}ve=ve.parentElement}return h})}},4569:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{iosTransitionAnimation:()=>A,shadow:()=>C});var a=E(3503),S=E(7555);E(8476),E(4363);const D=P=>document.querySelector(`${P}.ion-cloned-element`),C=P=>P.shadowRoot||P,w=P=>{const $="ION-TABS"===P.tagName?P:P.querySelector("ion-tabs"),k="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=$){const M=$.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=M?M.querySelector(k):null}return P.querySelector(k)},T=(P,$)=>{const k="ION-TABS"===P.tagName?P:P.querySelector("ion-tabs");let M=[];if(null!=k){const O=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=O&&(M=O.querySelectorAll("ion-buttons"))}else M=P.querySelectorAll("ion-buttons");for(const O of M){const U=O.closest("ion-header"),j=U&&!U.classList.contains("header-collapse-condense-inactive"),W=O.querySelector("ion-back-button"),ie=O.classList.contains("buttons-collapse");if(null!==W&&("start"===O.slot||""===O.slot)&&(ie&&j&&$||!ie))return W}return null},g=(P,$,k,M,O,U,j,W,ie)=>{var me,te;const se=$?`calc(100% - ${O.right+4}px)`:O.left-4+"px",m=$?"right":"left",n=$?"left":"right",o=$?"right":"left",u=(null===(me=U.textContent)||void 0===me?void 0:me.trim())===(null===(te=W.textContent)||void 0===te?void 0:te.trim()),h=(ie.height-B)/j.height,v=u?`scale(${ie.width/j.width}, ${h})`:`scale(${h})`,y="scale(1)",r=C(M).querySelector("ion-icon").getBoundingClientRect(),d=$?r.width/2-(r.right-O.right)+"px":O.left-r.width/2+"px",L=$?`-${window.innerWidth-O.right}px`:`${O.left}px`,I=`${ie.top}px`,V=`${O.top}px`,ve=k?[{offset:0,transform:`translate3d(${L}, ${V}, 0)`},{offset:1,transform:`translate3d(${d}, ${I}, 0)`}]:[{offset:0,transform:`translate3d(${d}, ${I}, 0)`},{offset:1,transform:`translate3d(${L}, ${V}, 0)`}],ae=k?[{offset:0,opacity:1,transform:y},{offset:1,opacity:0,transform:v}]:[{offset:0,opacity:0,transform:v},{offset:1,opacity:1,transform:y}],pe=k?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],Ie=(0,a.c)(),Se=(0,a.c)(),re=(0,a.c)(),ne=D("ion-back-button"),G=C(ne).querySelector(".button-text"),Ee=C(ne).querySelector("ion-icon");ne.text=M.text,ne.mode=M.mode,ne.icon=M.icon,ne.color=M.color,ne.disabled=M.disabled,ne.style.setProperty("display","block"),ne.style.setProperty("position","fixed"),Se.addElement(Ee),Ie.addElement(G),re.addElement(ne),re.beforeStyles({position:"absolute",top:"0px",[o]:"0px"}).keyframes(ve),Ie.beforeStyles({"transform-origin":`${m} top`}).beforeAddWrite(()=>{M.style.setProperty("display","none"),ne.style.setProperty(m,se)}).afterAddWrite(()=>{M.style.setProperty("display",""),ne.style.setProperty("display","none"),ne.style.removeProperty(m)}).keyframes(ae),Se.beforeStyles({"transform-origin":`${n} center`}).keyframes(pe),P.addAnimation([Ie,Se,re])},F=(P,$,k,M,O,U,j,W)=>{var ie,me;const te=$?"right":"left",se=$?`calc(100% - ${O.right}px)`:`${O.left}px`,n=`${O.top}px`,u=$?`-${window.innerWidth-W.right-8}px`:W.x-8+"px",h=W.y-2+"px",v=(null===(ie=j.textContent)||void 0===ie?void 0:ie.trim())===(null===(me=M.textContent)||void 0===me?void 0:me.trim()),f=W.height/(U.height-B),r="scale(1)",d=v?`scale(${W.width/U.width}, ${f})`:`scale(${f})`,V=k?[{offset:0,opacity:0,transform:`translate3d(${u}, ${h}, 0) ${d}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${n}, 0) ${r}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${n}, 0) ${r}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${u}, ${h}, 0) ${d}`}],q=D("ion-title"),oe=(0,a.c)();q.innerText=M.innerText,q.size=M.size,q.color=M.color,oe.addElement(q),oe.beforeStyles({"transform-origin":`${te} top`,height:`${O.height}px`,display:"",position:"relative",[te]:se}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),q.style.setProperty("display","none")}).keyframes(V),P.addAnimation(oe)},A=(P,$)=>{var k;try{const M="cubic-bezier(0.32,0.72,0,1)",O="opacity",U="transform",j="0%",ie="rtl"===P.ownerDocument.dir,me=ie?"-99.5%":"99.5%",te=ie?"33%":"-33%",se=$.enteringEl,m=$.leavingEl,n="back"===$.direction,o=se.querySelector(":scope > ion-content"),u=se.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),s=se.querySelectorAll(":scope > ion-header > ion-toolbar"),h=(0,a.c)(),v=(0,a.c)();if(h.addElement(se).duration((null!==(k=$.duration)&&void 0!==k?k:0)||540).easing($.easing||M).fill("both").beforeRemoveClass("ion-page-invisible"),m&&null!=P){const d=(0,a.c)();d.addElement(P),h.addAnimation(d)}if(o||0!==s.length||0!==u.length?(v.addElement(o),v.addElement(u)):v.addElement(se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(v),n?v.beforeClearStyles([O]).fromTo("transform",`translateX(${te})`,`translateX(${j})`).fromTo(O,.8,1):v.beforeClearStyles([O]).fromTo("transform",`translateX(${me})`,`translateX(${j})`),o){const d=C(o).querySelector(".transition-effect");if(d){const L=d.querySelector(".transition-cover"),I=d.querySelector(".transition-shadow"),V=(0,a.c)(),q=(0,a.c)(),oe=(0,a.c)();V.addElement(d).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),q.addElement(L).beforeClearStyles([O]).fromTo(O,0,.1),oe.addElement(I).beforeClearStyles([O]).fromTo(O,.03,.7),V.addAnimation([q,oe]),v.addAnimation([V])}}const y=se.querySelector("ion-header.header-collapse-condense"),{forward:f,backward:r}=((P,$,k,M,O)=>{const U=T(M,k),j=w(O),W=w(M),ie=T(O,k),me=null!==U&&null!==j&&!k,te=null!==W&&null!==ie&&k;if(me){const se=j.getBoundingClientRect(),m=U.getBoundingClientRect(),n=C(U).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(j).querySelector(".toolbar-title").getBoundingClientRect();F(P,$,k,j,se,s,n,o),g(P,$,k,U,m,n,o,j,s)}else if(te){const se=W.getBoundingClientRect(),m=ie.getBoundingClientRect(),n=C(ie).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(W).querySelector(".toolbar-title").getBoundingClientRect();F(P,$,k,W,se,s,n,o),g(P,$,k,ie,m,n,o,W,s)}return{forward:me,backward:te}})(h,ie,n,se,m);if(s.forEach(d=>{const L=(0,a.c)();L.addElement(d),h.addAnimation(L);const I=(0,a.c)();I.addElement(d.querySelector("ion-title"));const V=(0,a.c)(),q=Array.from(d.querySelectorAll("ion-buttons,[menuToggle]")),oe=d.closest("ion-header"),ve=null==oe?void 0:oe.classList.contains("header-collapse-condense-inactive");let Ae;Ae=q.filter(n?pe=>{const Ie=pe.classList.contains("buttons-collapse");return Ie&&!ve||!Ie}:pe=>!pe.classList.contains("buttons-collapse")),V.addElement(Ae);const Q=(0,a.c)();Q.addElement(d.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const ae=(0,a.c)();ae.addElement(C(d).querySelector(".toolbar-background"));const tt=(0,a.c)(),Oe=d.querySelector("ion-back-button");if(Oe&&tt.addElement(Oe),L.addAnimation([I,V,Q,ae,tt]),V.fromTo(O,.01,1),Q.fromTo(O,.01,1),n)ve||I.fromTo("transform",`translateX(${te})`,`translateX(${j})`).fromTo(O,.01,1),Q.fromTo("transform",`translateX(${te})`,`translateX(${j})`),tt.fromTo(O,.01,1);else if(y||I.fromTo("transform",`translateX(${me})`,`translateX(${j})`).fromTo(O,.01,1),Q.fromTo("transform",`translateX(${me})`,`translateX(${j})`),ae.beforeClearStyles([O,"transform"]),(null==oe?void 0:oe.translucent)?ae.fromTo("transform",ie?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ae.fromTo(O,.01,"var(--opacity)"),f||tt.fromTo(O,.01,1),Oe&&!f){const Ie=(0,a.c)();Ie.addElement(C(Oe).querySelector(".button-text")).fromTo("transform",ie?"translateX(-100px)":"translateX(100px)","translateX(0px)"),L.addAnimation(Ie)}}),m){const d=(0,a.c)(),L=m.querySelector(":scope > ion-content"),I=m.querySelectorAll(":scope > ion-header > ion-toolbar"),V=m.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(L||0!==I.length||0!==V.length?(d.addElement(L),d.addElement(V)):d.addElement(m.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(d),n){d.beforeClearStyles([O]).fromTo("transform",`translateX(${j})`,ie?"translateX(-100%)":"translateX(100%)");const q=(0,S.g)(m);h.afterAddWrite(()=>{"normal"===h.getDirection()&&q.style.setProperty("display","none")})}else d.fromTo("transform",`translateX(${j})`,`translateX(${te})`).fromTo(O,1,.8);if(L){const q=C(L).querySelector(".transition-effect");if(q){const oe=q.querySelector(".transition-cover"),ve=q.querySelector(".transition-shadow"),Ae=(0,a.c)(),Q=(0,a.c)(),ae=(0,a.c)();Ae.addElement(q).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Q.addElement(oe).beforeClearStyles([O]).fromTo(O,.1,0),ae.addElement(ve).beforeClearStyles([O]).fromTo(O,.7,.03),Ae.addAnimation([Q,ae]),d.addAnimation([Ae])}}I.forEach(q=>{const oe=(0,a.c)();oe.addElement(q);const ve=(0,a.c)();ve.addElement(q.querySelector("ion-title"));const Ae=(0,a.c)(),Q=q.querySelectorAll("ion-buttons,[menuToggle]"),ae=q.closest("ion-header"),tt=null==ae?void 0:ae.classList.contains("header-collapse-condense-inactive"),Oe=Array.from(Q).filter(G=>{const Ee=G.classList.contains("buttons-collapse");return Ee&&!tt||!Ee});Ae.addElement(Oe);const pe=(0,a.c)(),Ie=q.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Ie.length>0&&pe.addElement(Ie);const Se=(0,a.c)();Se.addElement(C(q).querySelector(".toolbar-background"));const re=(0,a.c)(),ne=q.querySelector("ion-back-button");if(ne&&re.addElement(ne),oe.addAnimation([ve,Ae,pe,re,Se]),h.addAnimation(oe),re.fromTo(O,.99,0),Ae.fromTo(O,.99,0),pe.fromTo(O,.99,0),n){if(tt||ve.fromTo("transform",`translateX(${j})`,ie?"translateX(-100%)":"translateX(100%)").fromTo(O,.99,0),pe.fromTo("transform",`translateX(${j})`,ie?"translateX(-100%)":"translateX(100%)"),Se.beforeClearStyles([O,"transform"]),(null==ae?void 0:ae.translucent)?Se.fromTo("transform","translateX(0px)",ie?"translateX(-100%)":"translateX(100%)"):Se.fromTo(O,"var(--opacity)",0),ne&&!r){const Ee=(0,a.c)();Ee.addElement(C(ne).querySelector(".button-text")).fromTo("transform",`translateX(${j})`,`translateX(${(ie?-124:124)+"px"})`),oe.addAnimation(Ee)}}else tt||ve.fromTo("transform",`translateX(${j})`,`translateX(${te})`).fromTo(O,.99,0).afterClearStyles([U,O]),pe.fromTo("transform",`translateX(${j})`,`translateX(${te})`).afterClearStyles([U,O]),re.afterClearStyles([O]),ve.afterClearStyles([O]),Ae.afterClearStyles([O])})}return h}catch(M){throw M}},B=10},2942:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{mdTransitionAnimation:()=>c});var a=E(3503),S=E(7555);E(8476),E(4363);const c=(D,C)=>{var w,T,_;const g="40px",A="back"===C.direction,P=C.leavingEl,$=(0,S.g)(C.enteringEl),k=$.querySelector("ion-toolbar"),M=(0,a.c)();if(M.addElement($).fill("both").beforeRemoveClass("ion-page-invisible"),A?M.duration((null!==(w=C.duration)&&void 0!==w?w:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):M.duration((null!==(T=C.duration)&&void 0!==T?T:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${g})`,"translateY(0px)").fromTo("opacity",.01,1),k){const O=(0,a.c)();O.addElement(k),M.addAnimation(O)}if(P&&A){M.duration((null!==(_=C.duration)&&void 0!==_?_:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const O=(0,a.c)();O.addElement((0,S.g)(P)).onFinish(U=>{1===U&&O.elements.length>0&&O.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${g})`).fromTo("opacity",1,0),M.addAnimation(O)}return M}},5516:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>Ae,G:()=>Q,O:()=>ae,a:()=>F,b:()=>A,c:()=>k,d:()=>tt,e:()=>Oe,f:()=>y,g:()=>r,h:()=>I,i:()=>q,j:()=>O,k:()=>U,l:()=>B,m:()=>P,n:()=>me,o:()=>h,s:()=>ve,t:()=>M});var a=E(467),S=E(8476),p=E(3113),R=E(611),c=E(5938),D=E(5638),C=E(4929);let w=0,T=0;const _=new WeakMap,g=Se=>({create:re=>j(Se,re),dismiss:(re,ne,G)=>o(document,re,ne,Se,G),getTop:()=>(0,a.A)(function*(){return h(document,Se)})()}),F=g("ion-alert"),A=g("ion-action-sheet"),B=g("ion-loading"),P=g("ion-modal"),k=g("ion-popover"),M=g("ion-toast"),O=Se=>{typeof document<"u"&&n(document);const re=w++;Se.overlayIndex=re},U=Se=>(Se.hasAttribute("id")||(Se.id="ion-overlay-"+ ++T),Se.id),j=(Se,re)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Se).then(()=>{const ne=document.createElement(Se);return ne.classList.add("overlay-hidden"),Object.assign(ne,Object.assign(Object.assign({},re),{hasController:!0})),d(document).appendChild(ne),new Promise(G=>(0,D.c)(ne,G))}):Promise.resolve(),W='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',me=(Se,re)=>{const ne=Se.querySelector(W);se(ne,re)},te=(Se,re)=>{const ne=Array.from(Se.querySelectorAll(W));se(ne.length>0?ne[ne.length-1]:null,re)},se=(Se,re)=>{let ne=Se;const G=null==Se?void 0:Se.shadowRoot;G&&(ne=G.querySelector(W)||Se),ne?(0,D.f)(ne):re.focus()},n=Se=>{0===w&&(w=1,Se.addEventListener("focus",re=>{((Se,re)=>{const ne=h(re,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),G=Se.target;ne&&G&&!ne.classList.contains("ion-disable-focus-trap")&&(ne.shadowRoot?(()=>{if(ne.contains(G))ne.lastFocus=G;else if("ION-TOAST"===G.tagName)se(ne.lastFocus,ne);else{const Qe=ne.lastFocus;me(ne,ne),Qe===re.activeElement&&te(ne,ne),ne.lastFocus=re.activeElement}})():(()=>{if(ne===G)ne.lastFocus=void 0;else if("ION-TOAST"===G.tagName)se(ne.lastFocus,ne);else{const Qe=(0,D.g)(ne);if(!Qe.contains(G))return;const rt=Qe.querySelector(".ion-overlay-wrapper");if(!rt)return;if(rt.contains(G)||G===Qe.querySelector("ion-backdrop"))ne.lastFocus=G;else{const nn=ne.lastFocus;me(rt,ne),nn===re.activeElement&&te(rt,ne),ne.lastFocus=re.activeElement}}})())})(re,Se)},!0),Se.addEventListener("ionBackButton",re=>{const ne=h(Se);null!=ne&&ne.backdropDismiss&&re.detail.register(p.OVERLAY_BACK_BUTTON_PRIORITY,()=>{ne.dismiss(void 0,Ae)})}),(0,p.shouldUseCloseWatcher)()||Se.addEventListener("keydown",re=>{if("Escape"===re.key){const ne=h(Se);null!=ne&&ne.backdropDismiss&&ne.dismiss(void 0,Ae)}}))},o=(Se,re,ne,G,Ee)=>{const vt=h(Se,G,Ee);return vt?vt.dismiss(re,ne):Promise.reject("overlay does not exist")},s=(Se,re)=>((Se,re)=>(void 0===re&&(re="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Se.querySelectorAll(re)).filter(ne=>ne.overlayIndex>0)))(Se,re).filter(ne=>!(Se=>Se.classList.contains("overlay-hidden"))(ne)),h=(Se,re,ne)=>{const G=s(Se,re);return void 0===ne?G[G.length-1]:G.find(Ee=>Ee.id===ne)},v=(Se=!1)=>{const ne=d(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");ne&&(Se?ne.setAttribute("aria-hidden","true"):ne.removeAttribute("aria-hidden"))},y=function(){var Se=(0,a.A)(function*(re,ne,G,Ee,vt){var Qe,rt;if(re.presented)return;v(!0),pe(re.el),re.presented=!0,re.willPresent.emit(),null===(Qe=re.willPresentShorthand)||void 0===Qe||Qe.emit();const nn=(0,R.b)(re),gt=re.enterAnimation?re.enterAnimation:R.c.get(ne,"ios"===nn?G:Ee);(yield L(re,gt,re.el,vt))&&(re.didPresent.emit(),null===(rt=re.didPresentShorthand)||void 0===rt||rt.emit()),"ION-TOAST"!==re.el.tagName&&f(re.el),re.keyboardClose&&(null===document.activeElement||!re.el.contains(document.activeElement))&&re.el.focus(),re.el.removeAttribute("aria-hidden")});return function(ne,G,Ee,vt,Qe){return Se.apply(this,arguments)}}(),f=function(){var Se=(0,a.A)(function*(re){let ne=document.activeElement;if(!ne)return;const G=null==ne?void 0:ne.shadowRoot;G&&(ne=G.querySelector(W)||ne),yield re.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&ne.focus()});return function(ne){return Se.apply(this,arguments)}}(),r=function(){var Se=(0,a.A)(function*(re,ne,G,Ee,vt,Qe,rt){var nn,gt;if(!re.presented)return!1;void 0!==S.d&&1===s(S.d).length&&v(!1),re.presented=!1;try{re.el.style.setProperty("pointer-events","none"),re.willDismiss.emit({data:ne,role:G}),null===(nn=re.willDismissShorthand)||void 0===nn||nn.emit({data:ne,role:G});const ht=(0,R.b)(re),on=re.leaveAnimation?re.leaveAnimation:R.c.get(Ee,"ios"===ht?vt:Qe);G!==Q&&(yield L(re,on,re.el,rt)),re.didDismiss.emit({data:ne,role:G}),null===(gt=re.didDismissShorthand)||void 0===gt||gt.emit({data:ne,role:G}),(_.get(re)||[]).forEach(Pt=>Pt.destroy()),_.delete(re),re.el.classList.add("overlay-hidden"),re.el.style.removeProperty("pointer-events"),void 0!==re.el.lastFocus&&(re.el.lastFocus=void 0)}catch(ht){console.error(ht)}return re.el.remove(),Ie(),!0});return function(ne,G,Ee,vt,Qe,rt,nn){return Se.apply(this,arguments)}}(),d=Se=>Se.querySelector("ion-app")||Se.body,L=function(){var Se=(0,a.A)(function*(re,ne,G,Ee){G.classList.remove("overlay-hidden");const Qe=ne(re.el,Ee);(!re.animated||!R.c.getBoolean("animated",!0))&&Qe.duration(0),re.keyboardClose&&Qe.beforeAddWrite(()=>{const nn=G.ownerDocument.activeElement;null!=nn&&nn.matches("input,ion-input, ion-textarea")&&nn.blur()});const rt=_.get(re)||[];return _.set(re,[...rt,Qe]),yield Qe.play(),!0});return function(ne,G,Ee,vt){return Se.apply(this,arguments)}}(),I=(Se,re)=>{let ne;const G=new Promise(Ee=>ne=Ee);return V(Se,re,Ee=>{ne(Ee.detail)}),G},V=(Se,re,ne)=>{const G=Ee=>{(0,D.b)(Se,re,G),ne(Ee)};(0,D.a)(Se,re,G)},q=Se=>"cancel"===Se||Se===Ae,oe=Se=>Se(),ve=(Se,re)=>{if("function"==typeof Se)return R.c.get("_zoneGate",oe)(()=>{try{return Se(re)}catch(G){throw G}})},Ae="backdrop",Q="gesture",ae=39,tt=Se=>{let ne,re=!1;const G=(0,c.C)(),Ee=(rt=!1)=>{if(ne&&!rt)return{delegate:ne,inline:re};const{el:nn,hasController:gt,delegate:ht}=Se;return re=null!==nn.parentNode&&!gt,ne=re?ht||G:ht,{inline:re,delegate:ne}};return{attachViewToDom:function(){var rt=(0,a.A)(function*(nn){const{delegate:gt}=Ee(!0);if(gt)return yield gt.attachViewToDom(Se.el,nn);const{hasController:ht}=Se;if(ht&&void 0!==nn)throw new Error("framework delegate is missing");return null});return function(gt){return rt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:rt}=Ee();rt&&void 0!==Se.el&&rt.removeViewFromDom(Se.el.parentElement,Se.el)}}},Oe=()=>{let Se;const re=()=>{Se&&(Se(),Se=void 0)};return{addClickListener:(G,Ee)=>{re();const vt=void 0!==Ee?document.getElementById(Ee):null;vt?Se=((rt,nn)=>{const gt=()=>{nn.present()};return rt.addEventListener("click",gt),()=>{rt.removeEventListener("click",gt)}})(vt,G):(0,C.p)(`A trigger element with the ID "${Ee}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,G)},removeClickListener:re}},pe=Se=>{var re;if(void 0===S.d)return;const ne=s(S.d);for(let G=ne.length-1;G>=0;G--){const Ee=ne[G],vt=null!==(re=ne[G+1])&&void 0!==re?re:Se;(vt.hasAttribute("aria-hidden")||"ION-TOAST"!==vt.tagName)&&Ee.setAttribute("aria-hidden","true")}},Ie=()=>{if(void 0===S.d)return;const Se=s(S.d);for(let re=Se.length-1;re>=0;re--){const ne=Se[re];if(ne.removeAttribute("aria-hidden"),"ION-TOAST"!==ne.tagName)break}}},1288:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>M,b:()=>nn,c:()=>W,f:()=>pe,g:()=>j,h:()=>$,p:()=>Un,r:()=>Ft});var a=E(467);let p,R,c=!1,D=!1;const _={},B=Pe=>"object"==(Pe=typeof Pe)||"function"===Pe;function P(Pe){var Be,je,yt;return null!==(yt=null===(je=null===(Be=Pe.head)||void 0===Be?void 0:Be.querySelector('meta[name="csp-nonce"]'))||void 0===je?void 0:je.getAttribute("content"))&&void 0!==yt?yt:void 0}const $=(Pe,Be,...je)=>{let yt=null,Je=!1,st=!1;const qt=[],Ct=Wt=>{for(let Ot=0;OtWt[Ot]).join(" "))}const mt=k(Pe,null);return mt.$attrs$=Be,qt.length>0&&(mt.$children$=qt),mt},k=(Pe,Be)=>({$flags$:0,$tag$:Pe,$text$:Be,$elm$:null,$children$:null,$attrs$:null}),M={},j=Pe=>It(Pe).$hostElement$,W=(Pe,Be,je)=>{const yt=j(Pe);return{emit:Je=>ie(yt,Be,{bubbles:!!(4&je),composed:!!(2&je),cancelable:!!(1&je),detail:Je})}},ie=(Pe,Be,je)=>{const yt=Nt.ce(Be,je);return Pe.dispatchEvent(yt),yt},me=new WeakMap,n=(Pe,Be)=>"sc-"+Pe.$tagName$,o=(Pe,Be,je,yt,Je,st)=>{if(je!==yt){let qt=Dt(Pe,Be),Ct=Be.toLowerCase();if("class"===Be){const mt=Pe.classList,Wt=s(je),Ot=s(yt);mt.remove(...Wt.filter(Rt=>Rt&&!Ot.includes(Rt))),mt.add(...Ot.filter(Rt=>Rt&&!Wt.includes(Rt)))}else if("style"===Be){for(const mt in je)(!yt||null==yt[mt])&&(mt.includes("-")?Pe.style.removeProperty(mt):Pe.style[mt]="");for(const mt in yt)(!je||yt[mt]!==je[mt])&&(mt.includes("-")?Pe.style.setProperty(mt,yt[mt]):Pe.style[mt]=yt[mt])}else if("ref"===Be)yt&&yt(Pe);else if(qt||"o"!==Be[0]||"n"!==Be[1]){const mt=B(yt);if((qt||mt&&null!==yt)&&!Je)try{if(Pe.tagName.includes("-"))Pe[Be]=yt;else{const Wt=null==yt?"":yt;"list"===Be?qt=!1:(null==je||Pe[Be]!=Wt)&&(Pe[Be]=Wt)}}catch{}null==yt||!1===yt?(!1!==yt||""===Pe.getAttribute(Be))&&Pe.removeAttribute(Be):(!qt||4&st||Je)&&!mt&&Pe.setAttribute(Be,yt=!0===yt?"":yt)}else Be="-"===Be[2]?Be.slice(3):Dt(In,Ct)?Ct.slice(2):Ct[2]+Be.slice(3),je&&Nt.rel(Pe,Be,je,!1),yt&&Nt.ael(Pe,Be,yt,!1)}},u=/\s/,s=Pe=>Pe?Pe.split(u):[],h=(Pe,Be,je,yt)=>{const Je=11===Be.$elm$.nodeType&&Be.$elm$.host?Be.$elm$.host:Be.$elm$,st=Pe&&Pe.$attrs$||_,qt=Be.$attrs$||_;for(yt in st)yt in qt||o(Je,yt,st[yt],void 0,je,Be.$flags$);for(yt in qt)o(Je,yt,st[yt],qt[yt],je,Be.$flags$)},v=(Pe,Be,je,yt)=>{const Je=Be.$children$[je];let qt,Ct,st=0;if(null!==Je.$text$)qt=Je.$elm$=kt.createTextNode(Je.$text$);else{if(c||(c="svg"===Je.$tag$),qt=Je.$elm$=kt.createElementNS(c?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",Je.$tag$),c&&"foreignObject"===Je.$tag$&&(c=!1),h(null,Je,c),(Pe=>null!=Pe)(p)&&qt["s-si"]!==p&&qt.classList.add(qt["s-si"]=p),Je.$children$)for(st=0;st{let Ct,qt=Pe;for(qt.shadowRoot&&qt.tagName===R&&(qt=qt.shadowRoot);Je<=st;++Je)yt[Je]&&(Ct=v(null,je,Je),Ct&&(yt[Je].$elm$=Ct,qt.insertBefore(Ct,Be)))},f=(Pe,Be,je)=>{for(let yt=Be;yt<=je;++yt){const Je=Pe[yt];if(Je){const st=Je.$elm$;I(Je),st&&st.remove()}}},d=(Pe,Be)=>Pe.$tag$===Be.$tag$,L=(Pe,Be)=>{const je=Be.$elm$=Pe.$elm$,yt=Pe.$children$,Je=Be.$children$,st=Be.$tag$,qt=Be.$text$;null===qt?(c="svg"===st||"foreignObject"!==st&&c,h(Pe,Be,c),null!==yt&&null!==Je?((Pe,Be,je,yt)=>{let kn,Je=0,st=0,qt=Be.length-1,Ct=Be[0],mt=Be[qt],Wt=yt.length-1,Ot=yt[0],Rt=yt[Wt];for(;Je<=qt&&st<=Wt;)null==Ct?Ct=Be[++Je]:null==mt?mt=Be[--qt]:null==Ot?Ot=yt[++st]:null==Rt?Rt=yt[--Wt]:d(Ct,Ot)?(L(Ct,Ot),Ct=Be[++Je],Ot=yt[++st]):d(mt,Rt)?(L(mt,Rt),mt=Be[--qt],Rt=yt[--Wt]):d(Ct,Rt)?(L(Ct,Rt),Pe.insertBefore(Ct.$elm$,mt.$elm$.nextSibling),Ct=Be[++Je],Rt=yt[--Wt]):d(mt,Ot)?(L(mt,Ot),Pe.insertBefore(mt.$elm$,Ct.$elm$),mt=Be[--qt],Ot=yt[++st]):(kn=v(Be&&Be[st],je,st),Ot=yt[++st],kn&&Ct.$elm$.parentNode.insertBefore(kn,Ct.$elm$));Je>qt?y(Pe,null==yt[Wt+1]?null:yt[Wt+1].$elm$,je,yt,st,Wt):st>Wt&&f(Be,Je,qt)})(je,yt,Be,Je):null!==Je?(null!==Pe.$text$&&(je.textContent=""),y(je,null,Be,Je,0,Je.length-1)):null!==yt&&f(yt,0,yt.length-1),c&&"svg"===st&&(c=!1)):Pe.$text$!==qt&&(je.data=qt)},I=Pe=>{Pe.$attrs$&&Pe.$attrs$.ref&&Pe.$attrs$.ref(null),Pe.$children$&&Pe.$children$.map(I)},q=(Pe,Be)=>{Be&&!Pe.$onRenderResolve$&&Be["s-p"]&&Be["s-p"].push(new Promise(je=>Pe.$onRenderResolve$=je))},oe=(Pe,Be)=>{if(Pe.$flags$|=16,!(4&Pe.$flags$))return q(Pe,Pe.$ancestorComponent$),it(()=>ve(Pe,Be));Pe.$flags$|=512},ve=(Pe,Be)=>{const yt=Pe.$lazyInstance$;return Be&&(Pe.$flags$|=256,Pe.$queuedListeners$&&(Pe.$queuedListeners$.map(([st,qt])=>Se(yt,st,qt)),Pe.$queuedListeners$=void 0)),Ae(void 0,()=>ae(Pe,yt,Be))},Ae=(Pe,Be)=>Q(Pe)?Pe.then(Be):Be(),Q=Pe=>Pe instanceof Promise||Pe&&Pe.then&&"function"==typeof Pe.then,ae=function(){var Pe=(0,a.A)(function*(Be,je,yt){var Je;const st=Be.$hostElement$,Ct=st["s-rc"];yt&&(Pe=>{const Be=Pe.$cmpMeta$,je=Pe.$hostElement$,yt=Be.$flags$,st=((Pe,Be,je,yt)=>{var Je;let st=n(Be);const qt=ft.get(st);if(Pe=11===Pe.nodeType?Pe:kt,qt)if("string"==typeof qt){let mt,Ct=me.get(Pe=Pe.head||Pe);if(Ct||me.set(Pe,Ct=new Set),!Ct.has(st)){{mt=kt.createElement("style"),mt.innerHTML=qt;const Wt=null!==(Je=Nt.$nonce$)&&void 0!==Je?Je:P(kt);null!=Wt&&mt.setAttribute("nonce",Wt),Pe.insertBefore(mt,Pe.querySelector("link"))}Ct&&Ct.add(st)}}else Pe.adoptedStyleSheets.includes(qt)||(Pe.adoptedStyleSheets=[...Pe.adoptedStyleSheets,qt]);return st})(je.shadowRoot?je.shadowRoot:je.getRootNode(),Be);10&yt&&(je["s-sc"]=st,je.classList.add(st+"-h"))})(Be);tt(Be,je),Ct&&(Ct.map(Wt=>Wt()),st["s-rc"]=void 0);{const Wt=null!==(Je=st["s-p"])&&void 0!==Je?Je:[],Ot=()=>Oe(Be);0===Wt.length?Ot():(Promise.all(Wt).then(Ot),Be.$flags$|=4,Wt.length=0)}});return function(je,yt,Je){return Pe.apply(this,arguments)}}(),tt=(Pe,Be,je)=>{try{Be=Be.render(),Pe.$flags$&=-17,Pe.$flags$|=2,((Pe,Be)=>{const je=Pe.$hostElement$,yt=Pe.$vnode$||k(null,null),Je=(Pe=>Pe&&Pe.$tag$===M)(Be)?Be:$(null,null,Be);R=je.tagName,Je.$tag$=null,Je.$flags$|=4,Pe.$vnode$=Je,Je.$elm$=yt.$elm$=je.shadowRoot||je,p=je["s-sc"],L(yt,Je)})(Pe,Be)}catch(yt){_t(yt,Pe.$hostElement$)}return null},Oe=Pe=>{const je=Pe.$hostElement$,Je=Pe.$lazyInstance$,st=Pe.$ancestorComponent$;64&Pe.$flags$||(Pe.$flags$|=64,re(je),Se(Je,"componentDidLoad"),Pe.$onReadyResolve$(je),st||Ie()),Pe.$onInstanceResolve$(je),Pe.$onRenderResolve$&&(Pe.$onRenderResolve$(),Pe.$onRenderResolve$=void 0),512&Pe.$flags$&&Ve(()=>oe(Pe,!1)),Pe.$flags$&=-517},pe=Pe=>{{const Be=It(Pe),je=Be.$hostElement$.isConnected;return je&&2==(18&Be.$flags$)&&oe(Be,!1),je}},Ie=Pe=>{re(kt.documentElement),Ve(()=>ie(In,"appload",{detail:{namespace:"ionicpwaelements"}}))},Se=(Pe,Be,je)=>{if(Pe&&Pe[Be])try{return Pe[Be](je)}catch(yt){_t(yt)}},re=Pe=>Pe.classList.add("hydrated"),Ee=(Pe,Be,je)=>{if(Be.$members$){const yt=Object.entries(Be.$members$),Je=Pe.prototype;if(yt.map(([st,[qt]])=>{31&qt||2&je&&32&qt?Object.defineProperty(Je,st,{get(){return((Pe,Be)=>It(this).$instanceValues$.get(Be))(0,st)},set(Ct){((Pe,Be,je,yt)=>{const Je=It(Pe),st=Je.$instanceValues$.get(Be),qt=Je.$flags$,Ct=Je.$lazyInstance$;je=((Pe,Be)=>null==Pe||B(Pe)?Pe:4&Be?"false"!==Pe&&(""===Pe||!!Pe):2&Be?parseFloat(Pe):1&Be?String(Pe):Pe)(je,yt.$members$[Be][0]);const mt=Number.isNaN(st)&&Number.isNaN(je);(!(8&qt)||void 0===st)&&je!==st&&!mt&&(Je.$instanceValues$.set(Be,je),Ct&&2==(18&qt)&&oe(Je,!1))})(this,st,Ct,Be)},configurable:!0,enumerable:!0}):1&je&&64&qt&&Object.defineProperty(Je,st,{value(...Ct){const mt=It(this);return mt.$onInstancePromise$.then(()=>mt.$lazyInstance$[st](...Ct))}})}),1&je){const st=new Map;Je.attributeChangedCallback=function(qt,Ct,mt){Nt.jmp(()=>{const Wt=st.get(qt);if(this.hasOwnProperty(Wt))mt=this[Wt],delete this[Wt];else if(Je.hasOwnProperty(Wt)&&"number"==typeof this[Wt]&&this[Wt]==mt)return;this[Wt]=(null!==mt||"boolean"!=typeof this[Wt])&&mt})},Pe.observedAttributes=yt.filter(([qt,Ct])=>15&Ct[0]).map(([qt,Ct])=>{const mt=Ct[1]||qt;return st.set(mt,qt),mt})}}return Pe},vt=function(){var Pe=(0,a.A)(function*(Be,je,yt,Je,st){if(!(32&je.$flags$)){je.$flags$|=32;{if((st=St(yt)).then){const Wt=()=>{};st=yield st,Wt()}st.isProxied||(Ee(st,yt,2),st.isProxied=!0);const mt=()=>{};je.$flags$|=8;try{new st(je)}catch(Wt){_t(Wt)}je.$flags$&=-9,mt()}if(st.style){let mt=st.style;const Wt=n(yt);if(!ft.has(Wt)){const Ot=()=>{};((Pe,Be,je)=>{let yt=ft.get(Pe);Vt&&je?(yt=yt||new CSSStyleSheet,"string"==typeof yt?yt=Be:yt.replaceSync(Be)):yt=Be,ft.set(Pe,yt)})(Wt,mt,!!(1&yt.$flags$)),Ot()}}}const qt=je.$ancestorComponent$,Ct=()=>oe(je,!0);qt&&qt["s-rc"]?qt["s-rc"].push(Ct):Ct()});return function(je,yt,Je,st,qt){return Pe.apply(this,arguments)}}(),nn=(Pe,Be={})=>{var je;const Je=[],st=Be.exclude||[],qt=In.customElements,Ct=kt.head,mt=Ct.querySelector("meta[charset]"),Wt=kt.createElement("style"),Ot=[];let Rt,kn=!0;Object.assign(Nt,Be),Nt.$resourcesUrl$=new URL(Be.resourcesUrl||"./",kt.baseURI).href,Pe.map(bn=>{bn[1].map(wn=>{const Dn={$flags$:wn[0],$tagName$:wn[1],$members$:wn[2],$listeners$:wn[3]};Dn.$members$=wn[2],Dn.$listeners$=wn[3];const Wn=Dn.$tagName$,Vn=class extends HTMLElement{constructor(Fn){super(Fn),yn(Fn=this,Dn),1&Dn.$flags$&&Fn.attachShadow({mode:"open"})}connectedCallback(){Rt&&(clearTimeout(Rt),Rt=null),kn?Ot.push(this):Nt.jmp(()=>(Pe=>{if(!(1&Nt.$flags$)){const Be=It(Pe),je=Be.$cmpMeta$,yt=()=>{};if(1&Be.$flags$)gt(Pe,Be,je.$listeners$);else{Be.$flags$|=1;{let Je=Pe;for(;Je=Je.parentNode||Je.host;)if(Je["s-p"]){q(Be,Be.$ancestorComponent$=Je);break}}je.$members$&&Object.entries(je.$members$).map(([Je,[st]])=>{if(31&st&&Pe.hasOwnProperty(Je)){const qt=Pe[Je];delete Pe[Je],Pe[Je]=qt}}),vt(Pe,Be,je)}yt()}})(this))}disconnectedCallback(){Nt.jmp(()=>(Pe=>{if(!(1&Nt.$flags$)){const Be=It(this),je=Be.$lazyInstance$;Be.$rmListeners$&&(Be.$rmListeners$.map(yt=>yt()),Be.$rmListeners$=void 0),Se(je,"disconnectedCallback")}})())}componentOnReady(){return It(this).$onReadyPromise$}};Dn.$lazyBundleId$=bn[0],!st.includes(Wn)&&!qt.get(Wn)&&(Je.push(Wn),qt.define(Wn,Ee(Vn,Dn,1)))})});{Wt.innerHTML=Je+"{visibility:hidden}.hydrated{visibility:inherit}",Wt.setAttribute("data-styles","");const bn=null!==(je=Nt.$nonce$)&&void 0!==je?je:P(kt);null!=bn&&Wt.setAttribute("nonce",bn),Ct.insertBefore(Wt,mt?mt.nextSibling:Ct.firstChild)}kn=!1,Ot.length?Ot.map(bn=>bn.connectedCallback()):Nt.jmp(()=>Rt=setTimeout(Ie,30))},gt=(Pe,Be,je,yt)=>{je&&je.map(([Je,st,qt])=>{const Ct=on(Pe,Je),mt=ht(Be,qt),Wt=Mt(Je);Nt.ael(Ct,st,mt,Wt),(Be.$rmListeners$=Be.$rmListeners$||[]).push(()=>Nt.rel(Ct,st,mt,Wt))})},ht=(Pe,Be)=>je=>{try{256&Pe.$flags$?Pe.$lazyInstance$[Be](je):(Pe.$queuedListeners$=Pe.$queuedListeners$||[]).push([Be,je])}catch(yt){_t(yt)}},on=(Pe,Be)=>16&Be?kt.body:Pe,Mt=Pe=>!!(2&Pe),En=new WeakMap,It=Pe=>En.get(Pe),Ft=(Pe,Be)=>En.set(Be.$lazyInstance$=Pe,Be),yn=(Pe,Be)=>{const je={$flags$:0,$hostElement$:Pe,$cmpMeta$:Be,$instanceValues$:new Map};return je.$onInstancePromise$=new Promise(yt=>je.$onInstanceResolve$=yt),je.$onReadyPromise$=new Promise(yt=>je.$onReadyResolve$=yt),Pe["s-p"]=[],Pe["s-rc"]=[],gt(Pe,je,Be.$listeners$),En.set(Pe,je)},Dt=(Pe,Be)=>Be in Pe,_t=(Pe,Be)=>(0,console.error)(Pe,Be),Cn=new Map,St=(Pe,Be,je)=>{const yt=Pe.$tagName$.replace(/-/g,"_"),Je=Pe.$lazyBundleId$,st=Cn.get(Je);if(st)return st[yt];if(!je||!BUILD.hotModuleReplacement){const qt=Ct=>(Cn.set(Je,Ct),Ct[yt]);switch(Je){case"pwa-action-sheet":return E.e(6301).then(E.bind(E,6301)).then(qt,_t);case"pwa-camera-modal":return E.e(2982).then(E.bind(E,2982)).then(qt,_t);case"pwa-toast":return E.e(3574).then(E.bind(E,3574)).then(qt,_t);case"pwa-camera-modal-instance":return E.e(5640).then(E.bind(E,5640)).then(qt,_t);case"pwa-camera":return E.e(6086).then(E.bind(E,6086)).then(qt,_t)}}return E(5235)(`./${Je}.entry.js`).then(qt=>(Cn.set(Je,qt),qt[yt]),_t)},ft=new Map,In=typeof window<"u"?window:{},kt=In.document||{head:{}},Nt={$flags$:0,$resourcesUrl$:"",jmp:Pe=>Pe(),raf:Pe=>requestAnimationFrame(Pe),ael:(Pe,Be,je,yt)=>Pe.addEventListener(Be,je,yt),rel:(Pe,Be,je,yt)=>Pe.removeEventListener(Be,je,yt),ce:(Pe,Be)=>new CustomEvent(Pe,Be)},Un=Pe=>Promise.resolve(Pe),Vt=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),He=[],_e=[],De=(Pe,Be)=>je=>{Pe.push(je),D||(D=!0,Be&&4&Nt.$flags$?Ve(Ze):Nt.raf(Ze))},Me=Pe=>{for(let Be=0;Be{Me(He),Me(_e),(D=He.length>0)&&Nt.raf(Ze)},Ve=Pe=>Un().then(Pe),it=De(_e,!0)},3172:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>S,c:()=>a});const a={production:!0},S={api:{BASE_URL:"https://school-api-dev.tekdinext.com/",BASE_URL_BOT:"https://school-openai.tekdinext.com/",TELEMETRY_BASE_URL:"https://school-dev.tekdinext.com/",CONFIG:"seeker/configuration",PAGE_SEARCH_API:"content/search",CONTEXT_SEARCH:"api/aiutility/v1/context",CONTENT_SEARCH_API:"content/search",TELEMETRY_SYNC:"telemetry/v1/telemetry",BOT_QUERY_API:"v1/query",SEARCH_API:"content/search",CONFIRM_API:"confirm",BOT_SAKHI_API_PATH:"v1/query",BOT_ACTIVITY_API_PATH:"api/activitybot/v1/query",REGISTER_DEVICE_API_PATH:"api/registerMobileDevice",KEY:"myjp-0.1",SECRET:"7tVOEu0xj0zYQiYtCYbauEkNC3NBXCpM"},telmetry:{PRODUCER_ID:"dev.ejp.mobileapp",PRODUCER_PID:"mobileapp"}}},56:(Ce,ee,E)=>{"use strict";E.d(ee,{B$:()=>S,Cc:()=>a,Hs:()=>D,K:()=>R,Th:()=>C,Zm:()=>_,cM:()=>w,z5:()=>c});let a=(()=>{var g;class F{}return(g=F).PDF="application/pdf",g.MP4="video/mp4",g.YOUTUBE="video/x-youtube",g.AUDIO="audio/mp3",g.WEBM="video/webm",g.LINK="text/html",F})();const S={dbName:"digital_jaddu_pitara.db",version:3};let R=(()=>{var g;class F{}return(g=F).DATE_TYPE="DATE",g.TEXT_TYPE="TEXT",g.INT_TYPE="INTEGER",g.REAL_TYPE="REAL",g.COMMA_SEP=",",g.SPACE=" ",g.MAX_NUM_OF_EVENTS=1e3,g.MAX_NUM_OF_PROCESSED_EVENTS=1,g.ERROR="DB_ERROR",g.BLOB_TYPE="BLOB",g.NOT_NULL="NOT NULL",g.NULL="NULL",F})(),c=(()=>{var g;class F{}return(g=F).COLLECTION="application/vnd.ekstep.content-collection",g.VIDEO="video/mp4",g.VIDEOS=["video/mp4","video/webm","video/x-m4v","video/quicktime"],g.PDF="application/pdf",g.AUDIOS="audio/mp3",g.RECOEDED_AUDIO="audio/wav",g.AUDIO=["audio/mp3","audio/mp4","audio/mpeg","audio/ogg","audio/webm","audio/x-wav","audio/wav"],g.INTERACTION=["application/vnd.ekstep.ecml-archive","application/vnd.ekstep.html-archive","application/vnd.android.package-archive","application/vnd.ekstep.content-archive","application/vnd.ekstep.plugin-archive","application/vnd.ekstep.h5p-archive"],g.DOCS=["application/pdf","application/epub","application/msword"],g.ALL=["video/mp4","video/x-youtube","video/webm","application/pdf","application/epub","application/pdf","application/epub","application/vnd.ekstep.ecml-archive","application/vnd.ekstep.h5p-archive","application/vnd.ekstep.html-archive"],g.YOUTUBE="video/x-youtube",F})();const D=[{name:"content deatil",code:"contentDetail",pattern:"(?:/(?:resources/play/content|play/content|play/quiz)/(?\\w+))",route:"content-details"},{name:"Textbook content detail",code:"textbookContentDetail",pattern:"(?:/play/(?:collection)/(?\\w+)\\?(?=.*\\bcontentId\\b=(?([^&]*)).*))",route:"collection-detail-etb",priority:1},{name:"Course Detail",code:"courseDetail",pattern:"(?:/(?:explore-course|learn)/course/(?\\w+))",route:"enrolled-course-details",priority:3}];var C=function(g){return g.YES="Yes",g.NO="No",g}(C||{}),w=function(g){return g.COURSE="Course",g.COURSE_UNIT="CourseUnit",g.E_TEXTBOOK="eTextBook",g.EXPLANATION_RESOURCE="ExplanationResource",g.EXPLANATION_VIDEO="Explanation Video",g.TEXTBOOK="TextBook",g.TEXTBOOK_UNIT="TextBookUnit",g.COLLECTION="Collection",g.TV_LESSION="TVLesson",g.RESOURCE="Resource",g}(w||{});let _=(()=>{var g;class F{}return(g=F).TEACHER="teacher",g.STORY="story",g.PARENT="parent",F})()},319:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>R});var a=E(4438),S=E(8974),p=E(5402);let R=(()=>{var c;class D{constructor(w){this.modalCtrl=w}ngOnInit(){}confirm(w){switch(w){case"exit":this.modalCtrl.dismiss(!0);break;case"cancel":this.modalCtrl.dismiss(!1)}}}return(c=D).\u0275fac=function(w){return new(w||c)(a.rXU(S.W3))},c.\u0275cmp=a.VBU({type:c,selectors:[["app-app-exit"]],decls:13,vars:9,consts:[[1,"inner-content"],["slot","start"],[1,"buttons"],["slot","end","shape","round","fill","outline",1,"btn-info","exit",3,"click"],["slot","end","shape","round",1,"btn-info",3,"click"]],template:function(w,T){1&w&&(a.j41(0,"div",0)(1,"ion-toolbar")(2,"ion-buttons",1)(3,"ion-button"),a.EFF(4),a.nI1(5,"translate"),a.k0s()()(),a.j41(6,"ion-toolbar",2)(7,"ion-button",3),a.bIt("click",function(){return T.confirm("exit")}),a.EFF(8),a.nI1(9,"translate"),a.k0s(),a.j41(10,"ion-button",4),a.bIt("click",function(){return T.confirm("cancel")}),a.EFF(11),a.nI1(12,"translate"),a.k0s()()()),2&w&&(a.R7$(4),a.JRh(a.bMT(5,3,"Exit the app?")),a.R7$(4),a.JRh(a.bMT(9,5,"Exit")),a.R7$(3),a.JRh(a.bMT(12,7,"Cancel")))},dependencies:[S.Jm,S.QW,S.ai,p.D9],styles:[".buttons[_ngcontent-%COMP%]{padding:0 1rem}ion-button[_ngcontent-%COMP%]{text-wrap:wrap}.btn-info[_ngcontent-%COMP%]{width:40%;color:var(--ion-color-primary-contrast);--background: var(--ion-color-tertiary);font-size:.75rem;font-family:Noto Sans;font-weight:700;text-transform:uppercase;line-height:19.6px;word-wrap:break-word;padding:5px;text-wrap:wrap;text-align:center}.exit[_ngcontent-%COMP%]{--color: var(--ion-color-tertiary);--background: white}ion-modal[_ngcontent-%COMP%]{--height: 50%;--border-radius: 1rem;--box-shadow: 0 .625rem .938rem -.188rem rgb(0 0 0 / .1), 0 .25rem .375rem -.25rem rgb(0 0 0 / .1)}ion-modal[_ngcontent-%COMP%]::part(backdrop){background:#d1d5db;opacity:1}"]}),D})()},5553:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>C});var a=E(177),S=E(9417),p=E(8974),R=E(5402),c=E(2904),D=E(4438);let C=(()=>{var w;class T{}return(w=T).\u0275fac=function(g){return new(g||w)},w.\u0275mod=D.$C({type:w}),w.\u0275inj=D.G2t({providers:[c.a0,c.H0,c.n$],imports:[a.MD,S.YN,S.X1,p.bv,S.X1,R.h.forChild()]}),T})()},446:(Ce,ee,E)=>{"use strict";E.d(ee,{g:()=>D});const p=new URL(document.baseURI).hostname.split(".");console.log(p);const c="../assets/appConfig/"+p[0]+".json";console.log(`Fetching configuration from: ${c}`);const D=fetch(c).then(C=>{if(console.log({response:C}),!C.ok)throw new Error("Network response was not ok");return C.json()}).then(C=>(console.log("Fetched data:",C),C)).catch(C=>{console.error("There was a problem with the fetch operation:",C)})},3721:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>S});var a=E(4438);let S=(()=>{var p;class R{}return(p=R).\u0275fac=function(D){return new(D||p)},p.\u0275mod=a.$C({type:p}),p.\u0275inj=a.G2t({}),R})()},1984:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>S});var a=E(467);class S{constructor(){this._isInitialised=!1,this.config={},this.botMsg={}}static getInstance(){return S._instance||(S._instance=new S),S._instance}isInitialised(){return this._isInitialised}getConfig(){return this.config}init(R){var c=this;return(0,a.A)(function*(){c._isInitialised=!0,c.config={authentication:{bearerToken:""},deviceInfo:{did:R}}})()}getSakhiResponse(){return this.botMsg}setSakhiResponse(R){var c=this;return(0,a.A)(function*(){c.botMsg={storySakhi:R.story,teacherSakhi:R.teacher,paretSakhi:R.parent}})()}}},2700:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>o});var a=E(467),S=E(6648),p=E(3028),R=E(9437),c=E(7673),D=E(8810),C=E(1984),w=E(8141),T=E(985),_=E(7374),g=E(3172);let F=(()=>{var u;class s{constructor(v,y){this.apiService=v,this.utilService=y,this.getJWTToken=(f,r)=>new Promise((d,L)=>{window.FilePath.getJWTToken(f,r,d,I=>{console.error(`${f} could not be resolved by the plugin: ${I.message}`),L(I)})})}refreshAuthToken(){return(0,S.H)(this.getBearerTokenFromKong())}getMobileDeviceConsumerKey(){var v=this;return(0,a.A)(function*(){return yield v.utilService.getDeviceId()})()}buildGetMobileDeviceConsumerSecretAPIRequest(v){var y=this;return(0,a.A)(function*(){return Promise.resolve((new T._g.Builder).withHost(g.$.api.BASE_URL).withPath(v).withType(T.kr.POST).withHeaders({"Content-Encoding":"gzip",Authorization:`Bearer ${yield y.generateMobileAppConsumerBearerToken()}`}).withBody({id:s.ID,ver:s.VERSION,ts:_().format(),request:{key:`${g.$.telmetry.PRODUCER_ID}-${yield y.getMobileDeviceConsumerKey()}`}}).build())})()}getBearerTokenFromKong(){var v=this;return(0,a.A)(function*(){return v.apiService.fetch(yield v.buildGetMobileDeviceConsumerSecretAPIRequest(g.$.api.REGISTER_DEVICE_API_PATH)).toPromise().then(y=>y.body.result.token).catch(y=>{throw y})})()}generateMobileAppConsumerBearerToken(){var v=this;return(0,a.A)(function*(){return yield v.getJWTToken(g.$.api.KEY,g.$.api.SECRET)})()}}return(u=s).VERSION="1.0",u.ID="org.myjp.device.register",s})();class A{constructor(s,h,v){this.storageService=s,this.apiService=h,this.utilService=v,this.apiTokenHandler=new F(this.apiService,this.utilService)}interceptResponse(s,h){var v=this;return h.responseCode===T.xl.HTTP_UNAUTHORISED&&"Unauthorized"===h.body.message||h.responseCode===T.xl.HTTP_FORBIDDEN?this.apiTokenHandler.refreshAuthToken().pipe((0,w.M)(function(){var y=(0,a.A)(function*(f){yield v.storageService.setData("api_token",f)});return function(f){return y.apply(this,arguments)}}()),(0,p.Z)(()=>this.apiService.fetch(s))):(0,c.of)(h)}}var B=E(6598),P=E(4438),$=E(3207);class k{constructor(){}interceptRequest(s){var h;const v=null===(h=C.f.getInstance().getConfig().authentication)||void 0===h?void 0:h.bearerToken;return v&&(s.headers.Authorization=`Bearer ${v}`),(0,c.of)(s)}}class M{constructor(s,h){this._code=h}getCode(){return this._code}}let O=(()=>{class s extends M{constructor(v,y){super(v,s.code),this.response=y,Object.setPrototypeOf(this,s.prototype)}static isInstance(v){return v.code&&v.code===s.code}}return s.code="HTTP_CLIENT_ERROR",s})(),U=(()=>{class s extends M{constructor(v,y){super(v,s.code),this.response=y,Object.setPrototypeOf(this,s.prototype)}static isInstance(v){return v.code&&v.code===s.code}}return s.code="HTTP_SERVER_ERROR",s})();var j=E(6421),W=E(5083),ie=E(1413);let me=(()=>{var u;class s{constructor(){this.http=W.pX}get(v,y,f,r){return this.invokeRequest(T.kr.GET,v+y,r,f)}patch(v,y,f,r){return this.invokeRequest(T.kr.PATCH,v+y,r,f)}post(v,y,f,r){return this.invokeRequest(T.kr.POST,v+y,r,f)}checkMimieType(v){const y=v;return y.endsWith(".mp3")?"audio/mp3":y.endsWith(".pdf")?"application/pdf":y.includes("youtube.com")||y.includes("youtu.be")?"video/x-youtube":y.endsWith(".mp4")?"video/mp4":"text/html"}invokeRequest(v,y,f,r){const d=new ie.B,L={url:y,method:v.toLowerCase(),headers:r};return v===T.kr.POST||v===T.kr.PATCH?L.data=f:(v===T.kr.GET||v===T.kr.DELETE)&&(L.params=f),this.http.request(L).then(I=>{I.data=I.data;let V=I.data;const q=[];if(V.data&&null!=V.data.djp_contents&&V.data.djp_contents.forEach(ve=>{let Ae=this.checkMimieType(null==ve?void 0:ve.url);q.push({agegroup:ve.agegroup,audience:ve.audience,bpp_id:ve.bpp_id,bpp_uri:ve.bpp_uri,competency:ve.competencies,category:ve.category,createdon:ve.createdon,curriculargoal:ve.curriculargoal,id:ve.item_id,identifier:ve.identifier,provider_id:ve.provider_id,provider_name:ve.provider_name,name:ve.name,description:ve.description,thumbnail:ve.thumbnail,domain:ve.domain,unique_id:ve.unique_id,language:ve.language,url:ve.url,sourceOrganisation:ve.sourceorg,midea:ve.midea,keywords:ve.keywords,lastupdatedon:ve.lastupdatedon,learningOutcomes:ve.learningOutcomes,status:ve.status,content_type:ve.content_type,mimetype:Ae})}),q){let ve;var oe;ve=V.data&&null!=V.data.djp_contents?{body:{result:q,audioText:null==I||null===(oe=I.data)||void 0===oe?void 0:oe.audioText},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers}:{body:{result:I.data},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers},d.next(ve),d.complete()}}).catch(I=>{console.error("error",I);const V={body:{},responseCode:I.status,errorMesg:"SERVER_ERROR",headers:I.headers,requestHeaders:L.headers};try{try{I.body=JSON.parse(I.error)}catch(q){if(V.body=I.error,I.status<=0)throw q}d.error(new Error)}catch{d.error(new Error),d.complete()}}),d}}return(u=s).\u0275fac=function(v){return new(v||u)},u.\u0275prov=P.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),s})();var te=E(5402);let se=(()=>{var u;class s{constructor(v,y){this.http=v,this.translate=y,this.requestInterceptors=[],this.responseInterceptors=[]}getBearerTokenInjectRequestInterceptor(){return this.bearerTokenInjectRequestInterceptor||(this.bearerTokenInjectRequestInterceptor=new k),this.bearerTokenInjectRequestInterceptor}fetch(v){var y=this;v.headers={...v.getHeaders(),...this.addGlobalHeader(v.language)},this.buildInterceptorsFromRequest(v);const f=(0,a.A)(function*(){let r;v=yield y.interceptRequest(v);try{switch(v.getType()){case T.kr.GET:r=yield(0,$.s)(y.http.get(v.getHost()||"this.host",v.getPath(),v.headers,v.getParameters()));break;case T.kr.PATCH:r=yield(0,$.s)(y.http.patch(v.getHost()||"this.host",v.getPath(),v.headers,v.body));break;case T.kr.POST:r=yield(0,$.s)(y.http.post(v.getHost()||"this.host",v.getPath(),v.headers,v.getBody()));break;default:throw new Error("Unsupported type")}return yield y.interceptResponse(v,r)}catch(d){const L=I=>{if(I.responseCode>=400&&I.responseCode<=499)throw new O(`\n ${v.host+v.path} -\n ${I.errorMesg||""}\n `,I);if(I.responseCode>=500&&I.responseCode<=599)throw new U(`\n ${v.host+v.path} -\n ${I.errorMesg||""}\n `,I);return I};if(!O.isInstance(d)&&!U.isInstance(d))throw d;try{return r=yield y.interceptResponse(v,d.response),L(r)}catch(I){if(I.responseCode)return L(I);throw I}}})();return(0,S.H)(f)}addGlobalHeader(v){var y,f;let r=v||this.translate.currentLang;return{Accept:"application/json","Content-Type":"application/json","Access-Control-Allow-Origin":"*","X-device-id":null===(y=C.f.getInstance().getConfig().deviceInfo)||void 0===y?void 0:y.did,"X-Source":"mobileapp","X-Request-ID":(0,j.A)(),"X-CONSUMER-ID":null===(f=C.f.getInstance().getConfig().deviceInfo)||void 0===f?void 0:f.did,...r?{"x-preferred-language":r}:{}}}interceptRequest(v){var y=this;return(0,a.A)(function*(){const f=[];for(const r of y.requestInterceptors)f.push(r);for(const r of v.requestInterceptors)f.push(r);for(const r of f)v=yield(0,$.s)(r.interceptRequest(v));return v})()}interceptResponse(v,y){var f=this;return(0,a.A)(function*(){const r=[];for(const d of f.responseInterceptors)r.push(d);for(const d of v.getResponseInterceptors())r.push(d);for(const d of r)y=yield(0,$.s)(d.interceptResponse(v,y));if(y.responseCode!==T.xl.HTTP_SUCCESS)throw y;return y})()}buildInterceptorsFromRequest(v){v.withBearerToken&&-1===v.requestInterceptors.indexOf(this.bearerTokenInjectRequestInterceptor)&&v.requestInterceptors.push(this.getBearerTokenInjectRequestInterceptor())}}return(u=s).\u0275fac=function(v){return new(v||u)(P.KVO(me),P.KVO(te.c$))},u.\u0275prov=P.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),s})();var m=E(2904),n=E(8974);let o=(()=>{var u;class s{constructor(v,y,f,r){var d=this;this.httpService=v,this.storageService=y,this.utilService=f,this.toastController=r,this.connected=!0,this.language="",this.defaultRequestInterceptors=[],this.defaultResponseInterceptors=[],B.l.addListener("networkStatusChange",function(){var L=(0,a.A)(function*(I){d.connected=I.connected});return function(I){return L.apply(this,arguments)}}()),this.toastController.create({animated:!1}).then(L=>{L.present(),L.dismiss()}),this.storageService.getData("lang").then(L=>{this.language=L})}getBearerTokenRefreshInterceptor(){return this.bearerTokenRefreshInterceptor||(this.bearerTokenRefreshInterceptor=new A(this.storageService,this,this.utilService)),this.bearerTokenRefreshInterceptor}onInit(){return(0,S.H)(this.storageService.getData("api_token")).pipe((0,p.Z)(v=>v?(C.f.getInstance().getConfig().authentication.bearerToken=v,(0,c.of)(void 0)):new F(this,this.utilService).refreshAuthToken().pipe((0,p.Z)(y=>(C.f.getInstance().getConfig().authentication.bearerToken=y,(0,S.H)(this.storageService.setData("api_token",y)))),(0,R.W)(()=>(0,c.of)(void 0)))))}fetch(v){if(this.defaultRequestInterceptors.forEach(y=>{-1===v.getRequestInterceptors().indexOf(y)&&v.getRequestInterceptors().push(y)}),this.defaultResponseInterceptors.forEach(y=>{-1===v.getResponseInterceptors().indexOf(y)&&v.getResponseInterceptors().push(y)}),v.withBearerToken){const y=v.getResponseInterceptors().indexOf(this.getBearerTokenRefreshInterceptor());-1===y?v.getResponseInterceptors().push(this.bearerTokenRefreshInterceptor):v.getResponseInterceptors().splice(y,1)}return this.httpService.fetch(v).pipe((0,R.W)(y=>(0,D.$)(()=>y)))}setDefaultRequestInterceptors(v){this.defaultRequestInterceptors=v}setDefaultResponseInterceptors(v){this.defaultResponseInterceptors=v}}return(u=s).\u0275fac=function(v){return new(v||u)(P.KVO(se),P.KVO(m.n$),P.KVO(m.a0),P.KVO(n.K_))},u.\u0275prov=P.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),s})()},985:(Ce,ee,E)=>{"use strict";E.d(ee,{_g:()=>p,kr:()=>a,xl:()=>S});var a=function(R){return R.GET="GET",R.POST="POST",R.PATCH="PATCH",R.DELETE="DELETE",R.PUT="PUT",R}(a||{}),S=function(R){return R[R.HTTP_UNAUTHORISED=401]="HTTP_UNAUTHORISED",R[R.HTTP_FORBIDDEN=403]="HTTP_FORBIDDEN",R[R.HTTP_SUCCESS=200]="HTTP_SUCCESS",R[R.HTTP_BAD_REQUEST=400]="HTTP_BAD_REQUEST",R[R.HTTP_KONG_FAILURE=447]="HTTP_KONG_FAILURE",R[R.HTTP_INTERNAL_SERVER_ERROR=500]="HTTP_INTERNAL_SERVER_ERROR",R}(S||{});let p=(()=>{var R;class c{getWithBearerToken(){return this._withBearerToken}setWithBearerToken(C){this._withBearerToken=C}getBody(){return this._body}constructor(){this.requestInterceptors=[],this.responseInterceptors=[],this.withBearerToken=!1,this.withUserToken=!1,this.headers={},this.body={},this.parameters={},this._responseInterceptors=[],this._withBearerToken=!1,this._headers={},this._body={},this._parameters={},this._withUserToken=!1,this._requestInterceptors=[]}setPath(C){this._path=C}getType(){return this._type}setResponseInterceptors(C){this._responseInterceptors=C}setHeaders(C){this._headers=C}setBody(C){this._body=C}getPath(){return this._path}setType(C){this._type=C}getResponseInterceptors(){return this._responseInterceptors}getHeaders(){return this._headers}getParameters(){return this._parameters}setParameters(C){this._parameters=C}getWithUserToken(){return this._withUserToken}setWithUserToken(C){this._withUserToken=C}getRequestInterceptors(){return this._requestInterceptors}getHost(){return this._host}}return(R=c).Builder=class{constructor(){this.request=new R}withHost(C){return this.request._host=C,this}withLanguge(C){return this.request.language=C,this}withPath(C){return this.request._path=C,this}withType(C){return this.request._type=C,this}withResponseInterceptor(C){return this.request._responseInterceptors.push(C),this}withRequestInterceptor(C){return this.request._requestInterceptors.push(C),this}withHeaders(C){return this.request._headers=C,this}withBody(C){return this.request._body=C,this}withParameters(C){return this.request._parameters=C,this}withBearerToken(C){return this.request.withBearerToken=C,this}withUserToken(C){return this.request.withUserToken=C,this}build(){if(!this.request._path)throw new Error("withPath() is required");if(!this.request._type)throw new Error("withType() is required");return this.request}},c})()},3568:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>g});var a=E(467),S=E(5083),p=function(F){return F.Dark="DARK",F.Light="LIGHT",F.Default="DEFAULT",F}(p||{}),R=function(F){return F.None="NONE",F.Slide="SLIDE",F.Fade="FADE",F}(R||{});const C=(0,S.F3)("StatusBar");var w=E(1413),T=E(8941),_=E(4438);let g=(()=>{var F;class A{constructor(){this.appName="",this.headerEvent=new w.B,this.headerEventEmitted$=this.headerEvent.asObservable(),this.headerConfig=new w.B,this.headerConfigEmitted$=this.headerConfig.asObservable(),this.deviceBackbtnConfig=new w.B,this.deviceBackbtnEmitted$=this.deviceBackbtnConfig.asObservable(),this.filterConfig=new w.B,this.filterConfigEmitted$=this.filterConfig.asObservable(),this.sideMenuItemEvent=new w.B,this.sideMenuItemEventEmitted$=this.sideMenuItemEvent.asObservable(),T.q.getInfo().then(P=>{this.appName=P.name})}filterEvent(P){this.filterConfig.next(P)}sidebarEvent(P){this.headerEvent.next(P.name)}sideMenuItemEvents(P){this.sideMenuItemEvent.next(null==P?void 0:P.filter)}updatePageConfig(P){this.headerConfig.next(P)}deviceBackBtnEvent(P){this.deviceBackbtnConfig.next(P)}hideHeader(){var P=this;return(0,a.A)(function*(){const $=P.getDefaultPageConfig();$.showHeader=!1,P.updatePageConfig($)})()}getDefaultPageConfig(){return{showHeader:!0,pageTitle:this.appName,showbackButton:!1,actionButtons:[""]}}showHeader(P,$,k){var M=this;return(0,a.A)(function*(){const O=M.getDefaultPageConfig();O.pageTitle=null!=P?P:M.appName,O.showbackButton=null!=$&&$,O.actionButtons=null!=k?k:[""],M.updatePageConfig(O)})()}hideStatusBar(){C.hide()}showStatusBar(P,$){C.show({animation:R.None}),C.setStyle({style:$?p.Dark:p.Light}),C.setBackgroundColor({color:null!=$?$:"#FFFAEE"}),C.setOverlaysWebView({overlay:P})}}return(F=A).\u0275fac=function(P){return new(P||F)},F.\u0275prov=_.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),A})()},4447:(Ce,ee,E)=>{"use strict";E.d(ee,{i:()=>A});var a=E(467),S=E(5083),p=function(B){return B[B.UNKNOWN=0]="UNKNOWN",B[B.UPDATE_NOT_AVAILABLE=1]="UPDATE_NOT_AVAILABLE",B[B.UPDATE_AVAILABLE=2]="UPDATE_AVAILABLE",B[B.UPDATE_IN_PROGRESS=3]="UPDATE_IN_PROGRESS",B}(p||{});const D=(0,S.F3)("AppUpdate",{web:()=>E.e(5959).then(E.bind(E,5959)).then(B=>new B.AppUpdateWeb)});var C=E(4438),w=E(8974),T=E(5402);let _=(()=>{var B;class P{constructor(k){this.popoverCtrl=k}ngOnInit(){}handleButtonAction(k){this.popoverCtrl.dismiss(k)}}return(B=P).\u0275fac=function(k){return new(k||B)(C.rXU(w.IE))},B.\u0275cmp=C.VBU({type:B,selectors:[["app-app-update"]],decls:18,vars:12,consts:[["lines","none"],["slot","end"],[3,"click"]],template:function(k,M){1&k&&(C.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),C.EFF(3),C.nI1(4,"translate"),C.k0s()(),C.j41(5,"ion-content")(6,"ion-item",0)(7,"ion-label"),C.EFF(8),C.nI1(9,"translate"),C.k0s()()(),C.j41(10,"ion-toolbar")(11,"ion-buttons",1)(12,"ion-button",2),C.bIt("click",function(){return M.handleButtonAction("cancel")}),C.EFF(13),C.nI1(14,"translate"),C.k0s(),C.j41(15,"ion-button",2),C.bIt("click",function(){return M.handleButtonAction("restart")}),C.EFF(16),C.nI1(17,"translate"),C.k0s()()()()),2&k&&(C.R7$(3),C.JRh(C.bMT(4,4,"Update Downloaded")),C.R7$(5),C.SpI(" ",C.bMT(9,6,"The update has been downloaded. Would you like to restart the app to complete the update now?")," "),C.R7$(5),C.JRh(C.bMT(14,8,"Later")),C.R7$(3),C.JRh(C.bMT(17,10,"Restart Now")))},dependencies:[w.Jm,w.QW,w.W9,w.eU,w.uz,w.he,w.BC,w.ai,T.D9],styles:["ion-content[_ngcontent-%COMP%]{--padding-top: 0px !important}ion-button[_ngcontent-%COMP%]{color:var(--ion-color-primary)}"]}),P})();var g=E(3021),F=E(4517);let A=(()=>{var B;class P{constructor(k,M,O){this.router=k,this.platform=M,this.popoverController=O,this.forDeepLink=!1,this.showListPage=!1}checkForUpdate(){var k=this;return(0,a.A)(function*(){const M=yield D.getAppUpdateInfo();console.log("Update available:",M.updateAvailability===p.UPDATE_AVAILABLE),M.updateAvailability===p.UPDATE_AVAILABLE&&k.platform.is("android")&&(M.immediateUpdateAllowed?yield D.performImmediateUpdate():M.flexibleUpdateAllowed&&(yield D.startFlexibleUpdate(),D.addListener("onFlexibleUpdateStateChange",(0,a.A)(function*(){let O=yield k.popoverController.create({component:_,cssClass:"update-modal",translucent:!0,dismissOnSelect:!0});yield O.present(),O.onDidDismiss().then(U=>{"restart"==U.data&&D.completeFlexibleUpdate()})}))))})()}}return(B=P).\u0275fac=function(k){return new(k||B)(C.KVO(g.Ix),C.KVO(F.OD),C.KVO(w.IE))},B.\u0275prov=C.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),P})()},6011:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>c});var a=E(467),S=E(4438),p=E(4591),R=E(1765);let c=(()=>{var D;class C{constructor(T,_){this.dbService=T,this.telemetryService=_}initialize(){var T=this;return(0,a.A)(function*(){yield T.dbService.initializePlugin()})()}}return(D=C).\u0275fac=function(T){return new(T||D)(S.KVO(p.a),S.KVO(R.H))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},4999:(Ce,ee,E)=>{"use strict";E.d(ee,{O:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="chat",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_MESSAGE="message",p.COLUMN_NAME_BOT_TYPE="bot_type",p.COLUMN_NAME_FROM_ME="from_me",p.COLUMN_NAME_REACTIONS="reactions",p.COLUMN_NAME_REQUEST_ID="request_id",p.COLUMN_NAME_MEDIA_TYPE="media_type",p.COLUMN_NAME_MEDIA_DATA="media_data",p.COLUMN_NAME_MEDIA_PATH="media_path",p.COLUMN_NAME_DURATION="duration",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT"+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MESSAGE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_BOT_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_FROM_ME+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_REACTIONS+a.K.SPACE+a.K.INT_TYPE+" DEFAULT -1"+a.K.COMMA_SEP+p.COLUMN_NAME_REQUEST_ID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_DATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_PATH+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_DURATION+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_MESSAGE},\n ${p.COLUMN_NAME_BOT_TYPE},\n ${p.COLUMN_NAME_FROM_ME},\n ${p.COLUMN_NAME_MEDIA_TYPE},\n ${p.COLUMN_NAME_MEDIA_DATA},\n ${p.COLUMN_NAME_MEDIA_PATH},\n ${p.COLUMN_NAME_DURATION},\n ${p.COLUMN_NAME_TIME_STAMP},\n ${p.COLUMN_NAME_REACTIONS}) \n VALUES (?,?,?,?,?,?,?,?,?,?)`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p}(S||{})},3871:(Ce,ee,E)=>{"use strict";E.d(ee,{d:()=>c});var a=E(467),S=E(4438),p=E(3486);let c=(()=>{var D;class C{constructor(T){this.storageService=T}initStorage(){var T=this;return(0,a.A)(function*(){const _=(new Date).getTime()+36e5;(yield T.storageService.getData("firstTimeLoad"))||(yield T.storageService.setData("firstTimeLoad","true")),(yield T.storageService.getData("validTimeStamp"))||T.storageService.setData("validTimeStamp",JSON.stringify(_))})()}getCacheTimeout(){var T=this;return(0,a.A)(function*(){let _=yield T.storageService.getData("firstTimeLoad"),g=(new Date).getTime(),F=yield T.storageService.getData("validTimeStamp");return console.log("***** ",F,JSON.parse(F)),g>JSON.parse(F)?(T.storageService.removeData("validTimeStamp"),T.initStorage(),!0):"true"===_&&(yield T.storageService.setData("firstTimeLoad","false"),!0)})()}}return(D=C).\u0275fac=function(T){return new(T||D)(S.KVO(p.n))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3696:(Ce,ee,E)=>{"use strict";E.d(ee,{w:()=>T});var a=E(467),S=E(3172),p=E(985),R=E(3207),c=E(6354),D=E(9437),C=E(4438),w=E(2700);let T=(()=>{var _;class g{constructor(A){this.apiService=A}getConfigMeta(){var A=this;return(0,a.A)(function*(){const B=(new p._g.Builder).withHost(S.$.api.BASE_URL).withPath(S.$.api.CONFIG).withType(p.kr.GET).withBearerToken(!0).build();return(0,R.s)(A.apiService.fetch(B)).then(P=>{if(console.log("res in config file ",null==P?void 0:P.body.result),null!=P&&P.body.result)return null==P?void 0:P.body.result}).catch(P=>{console.log("err ",P)})})()}getAllContent(A,B){var P=this;return(0,a.A)(function*(){let $={language:B};const k=(new p._g.Builder).withHost(S.$.api.BASE_URL).withPath(S.$.api.PAGE_SEARCH_API).withType(p.kr.POST).withBearerToken(!0).withBody($).withLanguge(B).build();return(0,R.s)(P.apiService.fetch(k).pipe((0,c.T)(M=>M.body.result),(0,D.W)(M=>{throw M})))})()}}return(_=g).\u0275fac=function(A){return new(A||_)(C.KVO(w.G))},_.\u0275prov=C.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),g})()},444:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>P});var a=E(467),S=E(532),p=E(5396),R=E(4870);class c{static mapContentToRecentlyViewedContentEntry(k,M,O){return{[p.a.COLUMN_NAME_IDENTIFIER]:O,[p.a.COLUMN_NAME_CONTENT_IDENTIFIER]:k.metaData.identifier,[p.a.COLUMN_NAME_UID]:M,[p.a.COLUMN_NAME_CONTENT_METADATA]:JSON.stringify(k.metaData),[p.a.COLUMN_NAME_MIME_TYPE]:k.metaData.mimetype,[p.a.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(k,M){return[k.metaData.identifier,M,k.metaData.mimetype,Date.now()]}}class D{static mapContentRVCtoRecentlyViedContent(k,M){const O=JSON.parse(k.content_metadata);return O.isLiked=!!k.reaction_identifier,k.content_metadata=JSON.stringify(O),k.metadata=k.content_metadata,{uid:k.uid,rvIdentifier:M,contentIdentifier:k.identifier,source:k.source,sourceType:k.source_type,metaData:JSON.parse(k.content_metadata)}}}var C=E(6421),w=E(56),T=E(985),_=E(3207),g=E(742),F=E(4438),A=E(2904),B=E(2700);let P=(()=>{var $;class k{constructor(O,U){this.dbService=O,this.apiService=U,this.results=[]}deleteAllContents(){return this.dbService.remove(S.a.deleteQuery(),{source:"djp"})}saveContents(O){const U=[];return O.map(j=>{U.push({statement:S.a.insertQuery(),values:R.Z.mapContentToValues(j)})}),this.dbService.executeSet(U)}getRecentlyViewedContent(O){var U=this;return(0,a.A)(function*(){const j=`SELECT rvc.* ,c.*, cr.content_identifier as reaction_identifier\n FROM ${p.a.TABLE_NAME} rvc\n LEFT JOIN ${S.a.TABLE_NAME} c ON rvc.content_identifier=c.identifier \n LEFT JOIN ${g.S.TABLE_NAME} cr ON rvc.content_identifier = reaction_identifier \n where rvc.uid='${O}' ORDER BY rvc.ts DESC`,W=yield U.dbService.executeQuery(j),ie=[];return null==W||W.map(me=>{ie.push(D.mapContentRVCtoRecentlyViedContent(me,(0,C.A)()))}),Promise.resolve(ie)})()}getAllContent(){var O=this;return(0,a.A)(function*(){const j=[];return O.dbService.readDbData(`SELECT c.*, cr.content_identifier from ${S.a.TABLE_NAME} c LEFT JOIN ${g.S.TABLE_NAME} cr ON c.identifier = cr.content_identifier WHERE ${S.a.COLUMN_NAME_SOURCE} NOT IN ('local', 'dialcode') ORDER BY ${S.a.COLUMN_NAME_TIME_STAMP}`).then(W=>(W.map(ie=>{const me=JSON.parse(ie.metadata);ie.metaData=me,j.push(ie)}),Promise.resolve(j)))})()}likeContent(O,U,j){var W=this;return(0,a.A)(function*(){return j?W.dbService.readDbData(g.S.readQuery(),{content_identifier:O.metaData.identifier}).then(ie=>{const me=ie?g.S.updateQuery():g.S.insertQuery(),te=ie?{content_identifier:O.metaData.identifier,uid:U}:void 0;return W.dbService.save(me,R.Z.mapContentReactionEntry(O.metaData.identifier,"guest"),te)}):W.dbService.remove(g.S.deleteQuery(),{content_identifier:O.metaData.identifier,uid:U})})()}markContentAsViewed(O){var U=this;return(0,a.A)(function*(){return(yield U.dbService.readDbData(S.a.readQuery(),{identifier:O.metaData.identifier}))||(yield U.dbService.executeSet([{statement:S.a.insertQuery(),values:R.Z.mapContentToValues(O)}])),U.dbService.readDbData(p.a.readQuery(),{content_identifier:O.metaData.identifier}).then(W=>{const ie=W?p.a.updateQuery():p.a.insertQuery(),me=W?{identifier:O.metaData.identifier}:void 0;return U.dbService.save(ie,c.mapContentToRecentlyViewedContentEntry(O,"guest",(0,C.A)()),me)})})()}searchContentInDiksha(O){let U={request:{filters:{channel:"",primaryCategory:["Collection","Resource","Content Playlist","Course","Course Assessment","Digital Textbook","eTextbook","Explanation Content","Learning Resource","Practice Question Set","Teacher Resource","Textbook Unit","LessonPlan","FocusSpot","Learning Outcome Definition","Curiosity Questions","MarkingSchemeRubric","ExplanationResource","ExperientialResource","Practice Resource","TVLesson","Question paper"],visibility:["Default","Parent"]},limit:100,query:O,sort_by:{lastPublishedOn:"desc"},fields:["name","appIcon","mimeType","gradeLevel","identifier","medium","pkgVersion","board","subject","resourceType","primaryCategory","contentType","channel","organisation","trackable"],softConstraints:{badgeAssertions:98,channel:100},mode:"soft",facets:["se_boards","se_gradeLevels","se_subjects","se_mediums","primaryCategory"],offset:0}};const j=(new T._g.Builder).withHost("https://diksha.gov.in/").withPath("api/content/v1/search").withType(T.kr.POST).withBody(U).build();return(0,_.s)(this.apiService.fetch(j))}getCollectionHierarchy(O){const U=(new T._g.Builder).withHost("https://diksha.gov.in/action/content/v3/hierarchy/").withPath(`${O}`).withType(T.kr.GET).build();return(0,_.s)(this.apiService.fetch(U))}getContents(O){return this.searchContentInDiksha(O).then(U=>{var j;return null!==(j=U.body.result)&&void 0!==j&&null!==(j=j.content)&&void 0!==j&&j.length?this.getCollectionHierarchy(U.body.result.content[0].identifier):""}).then(U=>{this.results=[];const j=[];return U&&(this.showAllChild(U.body.result.content),this.results.map(W=>{j.push({source:"dialcode",sourceType:"Diksha",metaData:{identifier:null==W?void 0:W.identifier,name:null==W?void 0:W.name,thumbnail:null==W?void 0:W.posterImage,description:null==W?void 0:W.name,mimetype:(null==W?void 0:W.mimetype)||(null==W?void 0:W.mimeType),url:null==W?void 0:W.streamingUrl,focus:null==W?void 0:W.focus,keyword:null==W?void 0:W.keyword,domain:null==W?void 0:W.domain,curriculargoal:null==W?void 0:W.curriculargoal,competencies:null==W?void 0:W.competencies,language:null==W?void 0:W.language,category:null==W?void 0:W.category,audience:null==W?void 0:W.audience,status:null==W?void 0:W.status,createdon:null==W?void 0:W.createdOn,lastupdatedon:(null==W?void 0:W.lastupdatedon)||(null==W?void 0:W.lastUpdatedOn),artifactUrl:null==W?void 0:W.artifactUrl}})})),j}).catch(U=>{throw console.error(U),U})}showAllChild(O){let U=w.z5.VIDEOS;U.indexOf(w.z5.PDF)>-1||U.push(w.z5.PDF),void 0!==O.children&&O.children.length?(O.children.forEach(j=>{this.showAllChild(j)}),console.log("Results",this.results)):U.indexOf(O.mimeType)>-1&&this.results.push(O)}readDikshaContents(O){const U=(new T._g.Builder).withHost("https://diksha.gov.in/api/content/v1/read/").withPath(`${O}`).withType(T.kr.GET).build();return(0,_.s)(this.apiService.fetch(U))}}return($=k).\u0275fac=function(O){return new(O||$)(F.KVO(A.at),F.KVO(B.G))},$.\u0275prov=F.jDH({token:$,factory:$.\u0275fac,providedIn:"root"}),k})()},742:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="content_reactions",p._ID="_id",p.COLUMN_NAME_CONTENT_IDENTIFIER="content_identifier",p.COLUMN_NAME_REACTION_IDENTIFIER="reaction_identifier",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.insertQueryWithColoumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_CONTENT_IDENTIFIER},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?)`,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p}(S||{})},532:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_SOURCE="source",p.COLUMN_NAME_SOURCE_TYPE="source_type",p.COLUMN_NAME_METADATA="metadata",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+NaN+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_METADATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_SOURCE},\n ${p.COLUMN_NAME_SOURCE_TYPE},\n ${p.COLUMN_NAME_METADATA},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?,?,?)`,p}(S||{})},5396:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="recently_viewed_content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_CONTENT_IDENTIFIER="content_identifier",p.COLUMN_NAME_CONTENT_METADATA="content_metadata",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_MIME_TYPE="mime_type",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY"+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_METADATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MIME_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.deleteTable=()=>"DROP TABLE IF EXISTS"+p.TABLE_NAME,p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_CONTENT_IDENTIFIER},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_CONTENT_METADATA},\n ${p.COLUMN_NAME_MIME_TYPE},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?,?,?,?)`,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p}(S||{})},4870:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>p});var a=E(742),S=E(532);class p{static mapContentToContentEntry(c){return{[S.a.COLUMN_NAME_IDENTIFIER]:c.metaData.identifier,[S.a.COLUMN_NAME_SOURCE]:c.source,[S.a.COLUMN_NAME_SOURCE_TYPE]:c.sourceType,[S.a.COLUMN_NAME_METADATA]:JSON.stringify(c.metaData),[S.a.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(c){return[c.metaData.identifier,c.source,c.sourceType,JSON.stringify(c.metaData),Date.now()]}static mapContentReactionEntry(c,D){return{[a.S.COLUMN_NAME_CONTENT_IDENTIFIER]:c,[a.S.COLUMN_NAME_UID]:D,[a.S.COLUMN_NAME_TIME_STAMP]:Date.now()}}}},4591:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>$});var a=E(467),S=E(5083);class p{constructor(M){this.sqlite=M,this._connectionDict=new Map}initWebStore(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.initWebStore(),Promise.resolve()}catch(O){return Promise.reject(O)}})()}saveToStore(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.saveToStore({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}saveToLocalDisk(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.saveToLocalDisk({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getFromLocalDiskToStore(M){var O=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield O.sqlite.getFromLocalDiskToStore({overwrite:U}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}echo(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.echo({value:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isSecretStored(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isSecretStored();return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}setEncryptionSecret(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.setEncryptionSecret({passphrase:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}changeEncryptionSecret(M,O){var U=this;return(0,a.A)(function*(){try{return yield U.sqlite.changeEncryptionSecret({passphrase:M,oldpassphrase:O}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}clearEncryptionSecret(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.clearEncryptionSecret(),Promise.resolve()}catch(O){return Promise.reject(O)}})()}checkEncryptionSecret(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.checkEncryptionSecret({passphrase:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}addUpgradeStatement(M,O){var U=this;return(0,a.A)(function*(){try{return M.endsWith(".db")&&(M=M.slice(0,-3)),yield U.sqlite.addUpgradeStatement({database:M,upgrade:O}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}createConnection(M,O,U,j,W){var ie=this;return(0,a.A)(function*(){try{M.endsWith(".db")&&(M=M.slice(0,-3)),yield ie.sqlite.createConnection({database:M,encrypted:O,mode:U,version:j,readonly:W});const me=new R(M,W,ie.sqlite);return ie._connectionDict.set(W?`RO_${M}`:`RW_${M}`,me),Promise.resolve(me)}catch(me){return Promise.reject(me)}})()}closeConnection(M,O){var U=this;return(0,a.A)(function*(){try{return M.endsWith(".db")&&(M=M.slice(0,-3)),yield U.sqlite.closeConnection({database:M,readonly:O}),U._connectionDict.delete(O?`RO_${M}`:`RW_${M}`),Promise.resolve()}catch(j){return Promise.reject(j)}})()}isConnection(M,O){var U=this;return(0,a.A)(function*(){const j={};return M.endsWith(".db")&&(M=M.slice(0,-3)),j.result=U._connectionDict.has(O?`RO_${M}`:`RW_${M}`),Promise.resolve(j)})()}retrieveConnection(M,O){var U=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));const j=O?`RO_${M}`:`RW_${M}`;if(U._connectionDict.has(j)){const W=U._connectionDict.get(j);return typeof W<"u"?Promise.resolve(W):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}getNCDatabasePath(M,O){var U=this;return(0,a.A)(function*(){try{const j=yield U.sqlite.getNCDatabasePath({path:M,database:O});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}createNCConnection(M,O){var U=this;return(0,a.A)(function*(){try{yield U.sqlite.createNCConnection({databasePath:M,version:O});const j=new R(M,!0,U.sqlite);return U._connectionDict.set(`RO_${M})`,j),Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}closeNCConnection(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.closeNCConnection({databasePath:M}),O._connectionDict.delete(`RO_${M})`),Promise.resolve()}catch(U){return Promise.reject(U)}})()}isNCConnection(M){var O=this;return(0,a.A)(function*(){const U={};return U.result=O._connectionDict.has(`RO_${M})`),Promise.resolve(U)})()}retrieveNCConnection(M){var O=this;return(0,a.A)(function*(){if(O._connectionDict.has(M)){const j=O._connectionDict.get(`RO_${M})`);return typeof j<"u"?Promise.resolve(j):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}isNCDatabase(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.isNCDatabase({databasePath:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}retrieveAllConnections(){var M=this;return(0,a.A)(function*(){return M._connectionDict})()}closeAllConnections(){var M=this;return(0,a.A)(function*(){const O=new Map;try{for(const U of M._connectionDict.keys()){const j=U.substring(3),W="RO_"===U.substring(0,3);yield M.sqlite.closeConnection({database:j,readonly:W}),O.set(U,null)}for(const U of O.keys())M._connectionDict.delete(U);return Promise.resolve()}catch(U){return Promise.reject(U)}})()}checkConnectionsConsistency(){var M=this;return(0,a.A)(function*(){try{const O=[...M._connectionDict.keys()],U=[],j=[];for(const ie of O)U.push(ie.substring(0,2)),j.push(ie.substring(3));const W=yield M.sqlite.checkConnectionsConsistency({dbNames:j,openModes:U});return W.result||(M._connectionDict=new Map),Promise.resolve(W)}catch(O){return M._connectionDict=new Map,Promise.reject(O)}})()}importFromJson(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.importFromJson({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isJsonValid(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.isJsonValid({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}copyFromAssets(M){var O=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield O.sqlite.copyFromAssets({overwrite:U}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}getFromHTTPRequest(M,O){var U=this;return(0,a.A)(function*(){const j=null==O||O;try{return yield U.sqlite.getFromHTTPRequest({url:M,overwrite:j}),Promise.resolve()}catch(W){return Promise.reject(W)}})()}isDatabaseEncrypted(M){var O=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield O.sqlite.isDatabaseEncrypted({database:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isInConfigEncryption(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isInConfigEncryption();return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}isInConfigBiometricAuth(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isInConfigBiometricAuth();return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}isDatabase(M){var O=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield O.sqlite.isDatabase({database:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}getDatabaseList(){var M=this;return(0,a.A)(function*(){try{const U=(yield M.sqlite.getDatabaseList()).values;return U.sort(),Promise.resolve({values:U})}catch(O){return Promise.reject(O)}})()}getMigratableDbList(M){var O=this;return(0,a.A)(function*(){const U=M||"default";try{const j=yield O.sqlite.getMigratableDbList({folderPath:U});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}addSQLiteSuffix(M,O){var U=this;return(0,a.A)(function*(){const j=M||"default",W=O||[];try{const ie=yield U.sqlite.addSQLiteSuffix({folderPath:j,dbNameList:W});return Promise.resolve(ie)}catch(ie){return Promise.reject(ie)}})()}deleteOldDatabases(M,O){var U=this;return(0,a.A)(function*(){const j=M||"default",W=O||[];try{const ie=yield U.sqlite.deleteOldDatabases({folderPath:j,dbNameList:W});return Promise.resolve(ie)}catch(ie){return Promise.reject(ie)}})()}moveDatabasesAndAddSuffix(M,O){var U=this;return(0,a.A)(function*(){return U.sqlite.moveDatabasesAndAddSuffix({folderPath:M||"default",dbNameList:O||[]})})()}}class R{constructor(M,O,U){this.dbName=M,this.readonly=O,this.sqlite=U}getConnectionDBName(){return this.dbName}getConnectionReadOnly(){return this.readonly}open(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.open({database:M.dbName,readonly:M.readonly}),Promise.resolve()}catch(O){return Promise.reject(O)}})()}close(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.close({database:M.dbName,readonly:M.readonly}),Promise.resolve()}catch(O){return Promise.reject(O)}})()}beginTransaction(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.beginTransaction({database:M.dbName});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}commitTransaction(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.commitTransaction({database:M.dbName});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}rollbackTransaction(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.rollbackTransaction({database:M.dbName});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}isTransactionActive(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isTransactionActive({database:M.dbName});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}loadExtension(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.loadExtension({database:O.dbName,path:M,readonly:O.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}enableLoadExtension(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.enableLoadExtension({database:O.dbName,toggle:M,readonly:O.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getUrl(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.getUrl({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}getVersion(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.getVersion({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}getTableList(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.getTableList({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}execute(M,O=!0,U=!0){var j=this;return(0,a.A)(function*(){try{if(j.readonly)return Promise.reject("not allowed in read-only mode");{const W=yield j.sqlite.execute({database:j.dbName,statements:M,transaction:O,readonly:!1,isSQL92:U});return Promise.resolve(W)}}catch(W){return Promise.reject(W)}})()}query(M,O,U=!0){var j=this;return(0,a.A)(function*(){let W;try{return W=O&&O.length>0?yield j.sqlite.query({database:j.dbName,statement:M,values:O,readonly:j.readonly,isSQL92:!0}):yield j.sqlite.query({database:j.dbName,statement:M,values:[],readonly:j.readonly,isSQL92:U}),W=yield j.reorderRows(W),Promise.resolve(W)}catch(ie){return Promise.reject(ie)}})()}run(M,O,U=!0,j="no",W=!0){var ie=this;return(0,a.A)(function*(){let me;try{return ie.readonly?Promise.reject("not allowed in read-only mode"):(me=O&&O.length>0?yield ie.sqlite.run({database:ie.dbName,statement:M,values:O,transaction:U,readonly:!1,returnMode:j,isSQL92:!0}):yield ie.sqlite.run({database:ie.dbName,statement:M,values:[],transaction:U,readonly:!1,returnMode:j,isSQL92:W}),me.changes=yield ie.reorderRows(me.changes),Promise.resolve(me))}catch(te){return Promise.reject(te)}})()}executeSet(M,O=!0,U="no",j=!0){var W=this;return(0,a.A)(function*(){let ie;try{return W.readonly?Promise.reject("not allowed in read-only mode"):(ie=yield W.sqlite.executeSet({database:W.dbName,set:M,transaction:O,readonly:!1,returnMode:U,isSQL92:j}),ie.changes=yield W.reorderRows(ie.changes),Promise.resolve(ie))}catch(me){return Promise.reject(me)}})()}isExists(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isDBExists({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}isTable(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.isTableExists({database:O.dbName,table:M,readonly:O.readonly});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isDBOpen(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isDBOpen({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}delete(){var M=this;return(0,a.A)(function*(){try{return M.readonly?Promise.reject("not allowed in read-only mode"):(yield M.sqlite.deleteDatabase({database:M.dbName,readonly:!1}),Promise.resolve())}catch(O){return Promise.reject(O)}})()}createSyncTable(){var M=this;return(0,a.A)(function*(){try{if(M.readonly)return Promise.reject("not allowed in read-only mode");{const O=yield M.sqlite.createSyncTable({database:M.dbName,readonly:!1});return Promise.resolve(O)}}catch(O){return Promise.reject(O)}})()}setSyncDate(M){var O=this;return(0,a.A)(function*(){try{return O.readonly?Promise.reject("not allowed in read-only mode"):(yield O.sqlite.setSyncDate({database:O.dbName,syncdate:M,readonly:!1}),Promise.resolve())}catch(U){return Promise.reject(U)}})()}getSyncDate(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.getSyncDate({database:M.dbName,readonly:M.readonly});let U="";return O.syncDate>0&&(U=new Date(1e3*O.syncDate).toISOString()),Promise.resolve(U)}catch(O){return Promise.reject(O)}})()}exportToJson(M,O=!1){var U=this;return(0,a.A)(function*(){try{const j=yield U.sqlite.exportToJson({database:U.dbName,jsonexportmode:M,readonly:U.readonly,encrypted:O});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}deleteExportedRows(){var M=this;return(0,a.A)(function*(){try{return M.readonly?Promise.reject("not allowed in read-only mode"):(yield M.sqlite.deleteExportedRows({database:M.dbName,readonly:!1}),Promise.resolve())}catch(O){return Promise.reject(O)}})()}executeTransaction(M,O=!0){var U=this;return(0,a.A)(function*(){let j=0,W=!1;if(U.readonly)return Promise.reject("not allowed in read-only mode");if(yield U.sqlite.beginTransaction({database:U.dbName}),W=yield U.sqlite.isTransactionActive({database:U.dbName}),!W)return Promise.reject("After Begin Transaction, no transaction active");try{for(const te of M){if("object"!=typeof te||!("statement"in te))throw new Error("Error a task.statement must be provided");if("values"in te&&te.values&&te.values.length>0){const se=te.statement.toUpperCase().includes("RETURNING")?"all":"no",m=yield U.sqlite.run({database:U.dbName,statement:te.statement,values:te.values,transaction:!1,readonly:!1,returnMode:se,isSQL92:O});if(m.changes.changes<=0)throw new Error("Error in transaction method run ");j+=m.changes.changes}else{const se=yield U.sqlite.execute({database:U.dbName,statements:te.statement,transaction:!1,readonly:!1});if(se.changes.changes<0)throw new Error("Error in transaction method execute ");j+=se.changes.changes}}return j+=(yield U.sqlite.commitTransaction({database:U.dbName})).changes.changes,Promise.resolve({changes:{changes:j}})}catch(ie){const me=ie.message?ie.message:ie;return yield U.sqlite.rollbackTransaction({database:U.dbName}),Promise.reject(me)}})()}reorderRows(M){return(0,a.A)(function*(){const O=M;if(null!=M&&M.values&&"object"==typeof M.values[0]&&Object.keys(M.values[0]).includes("ios_columns")){const U=M.values[0].ios_columns,j=[];for(let W=1;WE.e(4612).then(E.bind(E,4612)).then(k=>new k.CapacitorSQLiteWeb),electron:()=>window.CapacitorCustomPlatform.plugins.CapacitorSQLite});var D=E(56),C=E(1503),w=E(2798),T=E(5396),_=E(2814),g=E(532),F=E(5870),A=E(742),B=E(4999),P=E(4438);let $=(()=>{var k;class M{constructor(){}initializePlugin(){var U=this;return(0,a.A)(function*(){return U.platform=S.Ii.getPlatform(),U.sqlitePlugin=c,U.sqliteConnection=new p(U.sqlitePlugin),"web"===U.platform&&(yield U.initWebStore()),yield U.openDatabase(D.B$.dbName,!1,"no-encryption",D.B$.version,!1),yield U.createTable(_.C.getCreateEntry()),yield U.createTable(F.K.getCreateEntry()),yield U.createTable(g.a.getCreateEntry()),yield U.createTable(T.a.getCreateEntry()),yield U.createTable(w.J.getCreateEntry()),yield U.createTable(C.y.getCreateEntry()),yield U.createTable(A.S.getCreateEntry()),yield U.createTable(B.O.getCreateEntry()),!0})()}initWebStore(){var U=this;return(0,a.A)(function*(){try{yield U.sqliteConnection.initWebStore()}catch(j){return Promise.reject(`initWebStore: ${j}`)}})()}openDatabase(U,j,W,ie,me){var te=this;return(0,a.A)(function*(){let se;const m=(yield te.sqliteConnection.checkConnectionsConsistency()).result;let n=(yield te.sqliteConnection.isConnection(U,me)).result;return se=m&&n?yield te.sqliteConnection.retrieveConnection(U,me):yield te.sqliteConnection.createConnection(U,j,W,ie,me),yield se.open(),te.sqliteDBConnection=se,!0})()}closeConnection(U,j){var W=this;return(0,a.A)(function*(){const ie=j||!1;return yield W.sqliteConnection.closeConnection(U,ie)})()}createTable(U){var j=this;return(0,a.A)(function*(){try{const W=(yield j.sqliteDBConnection.query(U)).values;return W.length>0?W:null}catch(W){return Promise.reject(`create table err: ${W.message?W.message:W}`)}})()}executeQuery(U){var j=this;return(0,a.A)(function*(){try{const W=(yield j.sqliteDBConnection.query(U)).values;return W.length>0?W:null}catch(W){return Promise.reject(`select table err: ${W.message?W.message:W}`)}})()}executeSet(U){var j=this;return(0,a.A)(function*(){try{return yield j.sqliteDBConnection.executeSet(U)}catch(W){return Promise.reject(`create table err: ${W.message?W.message:W}`)}})()}readDbData(U,j,W){var ie=this;return(0,a.A)(function*(){try{if(j){const me=Object.keys(j)[0],te=`${U} WHERE ${me}='${j[me]}' ${W||""}`,se=(yield ie.sqliteDBConnection.query(te)).values;return se.length>0?se:null}{const me=(yield ie.sqliteDBConnection.query(U)).values;return me.length>0?me:null}}catch(me){return Promise.reject(`readDbData err: ${me.message?me.message:me}`)}})()}save(U,j,W){var ie=this;return(0,a.A)(function*(){const me=!!W,te=Object.keys(j);let n,se="",m=[];for(const o of te)m.push(j[o]);if(me){Object.keys(W);const u=yield ie.setNameForUpdate(te,m);if(0===u.length)return Promise.reject("save: update no SET");se=`${U} ${u} WHERE ${ie.getWhereStatement(W)}`;const s=yield ie.sqliteDBConnection.query(se);console.log("result",s)}else{const o=[];for(const u of te)o.push("?");if(se=`${U} (${te.toString()}) VALUES (${o.toString()});`,n=yield ie.sqliteDBConnection.run(se,m),console.log("ret",n),1!=n.changes.changes)return Promise.reject("save: insert changes != 1")}})()}remove(U,j){var W=this;return(0,a.A)(function*(){Object.keys(j);const me=`${U} WHERE ${W.getWhereStatement(j)};`;return(yield W.sqliteDBConnection.run(me)).changes})()}getWhereStatement(U){let j="";const W=Object.keys(U);for(let ie=0;ie1?(W=W.slice(0,-1),W):Promise.reject("SetNameForUpdate: length = 0")})()}}return(k=M).\u0275fac=function(U){return new(U||k)},k.\u0275prov=P.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),M})()},2814:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="telemtry",p._ID="_id",p.COLUMN_EVENT_TYPE="event_type",p.COLUMN_EVENT="event",p.COLUMN_TIMESTAMP="timestamp",p.COLUMN_PRIORITY="priority",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"+a.K.COMMA_SEP+p.COLUMN_EVENT_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_EVENT+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_TIMESTAMP+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_PRIORITY+a.K.SPACE+a.K.INT_TYPE+")",p.readDataEntries=()=>"SELECT * FROM "+p.TABLE_NAME,p.delteFromTable=()=>"DELETE FROM "+p.TABLE_NAME+" WHERE ",p.insertData=()=>"INSERT INTO "+p.TABLE_NAME,p.update=()=>"UPDATE "+p.TABLE_NAME+" SET ",p.deleteTable=()=>"DROP TABLE IF EXISTS "+p.TABLE_NAME,p}(S||{})},8402:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(467),S=E(2739),p=E(4438),R=E(8974),c=E(5402);let D=(()=>{var C;class w{constructor(_,g){this.toastController=_,this.translate=g}downlaodContent(_){var g=this;return(0,a.A)(function*(){var F;g.presentToast("Downloading ....");let A=_.metaData.artifactUrl?_.metaData.artifactUrl.split("/"):_.metaData.url.split("/");console.log(A,A[A.length-1]);let B=null!==(F=_.metaData.artifactUrl)&&void 0!==F?F:_.metaData.url;const $=yield(yield fetch(B)).blob();console.log("blob ",$);const k=yield g.convertBlobToBase64($);try{return yield S.YA.mkdir({path:"downloadedContents",directory:S.__.Data}),yield g.writeFileStorage(A,k)}catch{return yield g.writeFileStorage(A,k)}})()}writeFileStorage(_,g){var F=this;return(0,a.A)(function*(){try{let A=yield S.YA.writeFile({path:`downloadedContents/${_[_.length-1]}`,data:g,directory:S.__.Data});return yield F.toast.dismiss(),A.uri?yield F.presentToast("Downloaded successfully"):yield F.presentToast("Failed to download"),setTimeout((0,a.A)(function*(){yield F.toast.dismiss()}),100),A}catch(A){console.log("e ",A)}})()}presentToast(_){var g=this;return(0,a.A)(function*(){g.toast=yield g.toastController.create({message:g.translate.instant(_),position:"bottom",color:"dark"}),yield g.toast.present()})()}convertBlobToBase64(_){return new Promise((g,F)=>{const A=new FileReader;A.onerror=F,A.onload=()=>{g(A.result)},A.readAsDataURL(_)})}}return(C=w).\u0275fac=function(_){return new(_||C)(p.KVO(R.K_),p.KVO(c.c$))},C.\u0275prov=p.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}),w})()},2904:(Ce,ee,E)=>{"use strict";E.d(ee,{Gf:()=>C.G,Ux:()=>c.U,F_:()=>n,dk:()=>B.d,we:()=>w.w,at:()=>S.a,XU:()=>A,Ze:()=>o.Z,MK:()=>r,hs:()=>T.h,XI:()=>P.X,Sc:()=>$.S,n$:()=>a.n,q4:()=>_.q,H0:()=>R.H,a0:()=>D.a});var a=E(3486),S=E(4591),R=(E(6011),E(1765)),c=E(3568),D=E(2342),C=E(2700),w=E(3696),T=E(8014),_=E(7594),g=E(467),F=E(4438);let A=(()=>{var d;class L{constructor(V,q){this.apiService=V,this.preprocessService=q}process(V){return(0,g.A)(function*(){})()}}return(d=L).\u0275fac=function(V){return new(V||d)(F.KVO(C.G),F.KVO(T.h))},d.\u0275prov=F.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}),L})();var B=E(3871),P=E(9836),$=E(2186),k=E(3172),M=E(985),O=E(3207),U=E(6354),j=E(9437),W=E(56),ie=E(4999);class me{static mapChatToChatValues(L){return[L.identifier,L.message,L.botType,L.fromMe,L.mediaMimeType,L.mediaData,L.mediaUrl,L.duration,L.ts,L.reaction]}static mapChatToChatEntryToModel(L){return{identifier:L[ie.O.COLUMN_NAME_IDENTIFIER],message:L[ie.O.COLUMN_NAME_MESSAGE],messageType:L[ie.O.COLUMN_NAME_MEDIA_TYPE],botType:L[ie.O.COLUMN_NAME_BOT_TYPE],fromMe:L[ie.O.COLUMN_NAME_FROM_ME],mediaMimeType:L[ie.O.COLUMN_NAME_MEDIA_TYPE],mediaData:L[ie.O.COLUMN_NAME_MEDIA_DATA],mediaUrl:L[ie.O.COLUMN_NAME_MEDIA_PATH],duration:L[ie.O.COLUMN_NAME_DURATION],ts:L[ie.O.COLUMN_NAME_TIME_STAMP],reaction:L[ie.O.COLUMN_NAME_REACTIONS]}}}var te=E(2739),se=E(1626),m=E(5402);let n=(()=>{var d;class L{constructor(V,q,oe){this.apiService=V,this.translate=q,this.dbService=oe}getBotMessage(V,q,oe,ve){var Ae=this;return(0,g.A)(function*(){console.log("text ",V,""!==V),console.log("audio ",q,""!==q);let Q=Ae.getBotApiPath(oe),ae={input:{},output:{format:V?"text":"audio"}};""!==V?ae.input={language:ve,text:V,audio:"",context:oe}:""!==q&&(ae.input={language:ve,audio:q,text:"",context:oe});let tt=(new se.Lr).set("Authorization","Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtb2JpbGVfZGV2aWNlIn0.W9cvngZh0_Y6hcGCBqS8MZOejkUxU9ptnJFji6VBHtA").set("Content-Type","application/json");const Oe=tt.keys().reduce((Ie,Se)=>(Ie[Se]=tt.getAll(Se),Ie),{}),pe=(new M._g.Builder).withHost(k.$.api.BASE_URL_BOT).withPath(Q).withType(M.kr.POST).withHeaders(Oe).withBody(ae).withLanguge(ve).build();return(0,O.s)(Ae.apiService.fetch(pe).pipe((0,U.T)(Ie=>Ie),(0,j.W)(Ie=>{throw Ie})))})()}getBotApiPath(V){switch(V){case W.Zm.STORY:case W.Zm.PARENT:case W.Zm.TEACHER:return k.$.api.BOT_ACTIVITY_API_PATH;default:return""}}saveChatMessage(V){const q=[];return q.push({statement:ie.O.insertQueryWithColumns(),values:me.mapChatToChatValues(V)}),this.dbService.executeSet(q)}getAllChatMessages(V){return this.dbService.readDbData(ie.O.readQuery(),{bot_type:V}).then(q=>{const oe=[];return q&&q.length>0&&q.map(ve=>{oe.push(me.mapChatToChatEntryToModel(ve))}),oe})}updateMessageReactions(V,q){return this.dbService.executeQuery(`UPDATE ${ie.O.TABLE_NAME}\n SET ${ie.O.COLUMN_NAME_REACTIONS} = ${q}\n WHERE ${ie.O.COLUMN_NAME_IDENTIFIER} = '${V}';`)}deleteExpiredChatMessages(){var V=this;return(0,g.A)(function*(){const q=yield te.YA.readdir({path:"",directory:te.__.Data});for(let oe=0;oe864e5&&(yield te.YA.deleteFile({path:ve.uri,directory:te.__.Data})),V.dbService.executeQuery(`DELETE FROM ${ie.O.TABLE_NAME} WHERE ${ie.O.COLUMN_NAME_TIME_STAMP} <= strftime('%s', datetime('now', '-1 day'));`)}})()}}return(d=L).\u0275fac=function(V){return new(V||d)(F.KVO(C.G),F.KVO(m.c$),F.KVO(S.a))},d.\u0275prov=F.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}),L})();var o=E(8402);const h=(0,E(5083).F3)("LocalNotifications",{web:()=>E.e(4224).then(E.bind(E,4224)).then(d=>new d.LocalNotificationsWeb)});var v=E(1413),y=E(3021),f=E(1113);let r=(()=>{var d;class L{constructor(V,q){this.router=V,this.tabService=q,this.notifEvent=new v.B,this.notificationEventEmitted$=this.notifEvent.asObservable()}initializeLocalNotif(V){var q=this;return(0,g.A)(function*(){let oe=q;try{var ve,Ae,Q,ae;"granted"!==(yield h.checkPermissions()).display&&(yield h.requestPermissions());let pe={notifications:[{id:V.id,title:V.title,body:V.body,extra:V.extra,largeIcon:"res://drawable/ic_launcher",smallIcon:"res://drawable/ic_notification",schedule:{on:null===(ve=V.schedule)||void 0===ve?void 0:ve.on,repeats:null===(Ae=V.schedule)||void 0===Ae?void 0:Ae.repeats,every:null===(Q=V.schedule)||void 0===Q?void 0:Q.every,allowWhileIdle:null===(ae=V.schedule)||void 0===ae?void 0:ae.allowWhileIdle}}]};yield h.schedule(pe)}catch(tt){console.log("Error on local notification ",tt)}yield h.addListener("localNotificationActionPerformed",function(){var tt=(0,g.A)(function*(Oe){let pe=oe.router.location._locationStrategy._platformLocation._location;"/parent-sakhi"!==pe.pathname?(console.log("router page ",pe.pathname),oe.tabService.hide(),"/"===pe.pathname?setTimeout((0,g.A)(function*(){yield oe.router.navigate(["/parent-sakhi"],{state:{notif:Oe.notification}})}),3e3):yield oe.router.navigate(["/parent-sakhi"],{state:{notif:Oe.notification}})):q.notifEvent.next(Oe.notification)});return function(Oe){return tt.apply(this,arguments)}}())})()}cancelNotification(V){return(0,g.A)(function*(){try{yield h.cancel({notifications:[{id:V}]})}catch(q){console.log("Error on cancel local notification ",q)}})()}}return(d=L).\u0275fac=function(V){return new(V||d)(F.KVO(y.Ix),F.KVO(f.q))},d.\u0275prov=F.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}),L})()},1503:(Ce,ee,E)=>{"use strict";E.d(ee,{y:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="playlist_content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_PLAYLIST_IDENTIFIER="playlist_identifier",p.COLUMN_NAME_CONTENT_ID="content_id",p.COLUMN_NAME_CONTENT_METADATA="content_metadata",p.COLUMN_NAME_SOURCE_TYPE="type",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_PLAYLIST_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_ID+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_METADATA+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_PLAYLIST_IDENTIFIER},\n ${p.COLUMN_NAME_CONTENT_ID},\n ${p.COLUMN_NAME_CONTENT_METADATA},\n ${p.COLUMN_NAME_SOURCE_TYPE},\n ${p.COLUMN_NAME_TIME_STAMP}) \n VALUES (?,?,?,?,?,?)`,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.deleteQuery=()=>`DELETE FROM ${p.TABLE_NAME} WHERE \n ${p.COLUMN_NAME_IDENTIFIER} = ? AND \n ${p.COLUMN_NAME_PLAYLIST_IDENTIFIER} = ?`,p.deleteQueryOne=()=>`DELETE FROM ${p.TABLE_NAME}`,p.deleteTable=()=>"DROP TABLE IF EXISTS"+p.TABLE_NAME,p}(S||{})},2798:(Ce,ee,E)=>{"use strict";E.d(ee,{J:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="playlist",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_NAME="name",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_CONTENT_COUNT="content_count",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_NAME+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_COUNT+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_NAME},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_CONTENT_COUNT},\n ${p.COLUMN_NAME_TIME_STAMP}) \n VALUES (?,?,?,?,?)`,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p}(S||{})},7803:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>_});var a=E(467),S=E(2798);class p{static mapContentToPlayListEntry(F,A,B,P){return{[S.J.COLUMN_NAME_IDENTIFIER]:B,[S.J.COLUMN_NAME_NAME]:F,[S.J.COLUMN_NAME_UID]:A,[S.J.COLUMN_NAME_CONTENT_COUNT]:P,[S.J.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(F,A,B,P,$){return[F,A,B,$,P,Date.now()]}}var R=E(6421),c=E(1503),D=E(532),C=E(4870),w=E(4438),T=E(2904);let _=(()=>{var g;class F{constructor(B){this.dbService=B}createPlayList(B,P,$,k){const M=k?S.J.updateQuery():S.J.insertQuery(),O=k?{identifier:k}:void 0,U=!!k;return k||(k=(0,R.A)()),this.dbService.save(M,p.mapContentToPlayListEntry(B,P,k,$.length),O).then(()=>this.addContentToPlayList(k,$,U))}addContentToPlayList(B,P,$){var k=this;return(0,a.A)(function*(){const M=[];for(let j=0;jthis.getPlayListContents(B).then($=>Promise.resolve({identifier:P[0].identifier,name:P[0].name,uid:P[0].uid,playListcontentList:$})))}getPlayListContents(B){return this.dbService.executeQuery(`SELECT *\n FROM ${c.y.TABLE_NAME}\n WHERE ${c.y.COLUMN_NAME_PLAYLIST_IDENTIFIER} = '${B}'\n ORDER BY ts DESC`).then($=>{const k=[];return $&&$.length&&$.map(M=>{k.push({[c.y._ID]:M[c.y._ID],[c.y.COLUMN_NAME_IDENTIFIER]:M[c.y.COLUMN_NAME_IDENTIFIER],[c.y.COLUMN_NAME_PLAYLIST_IDENTIFIER]:M[c.y.COLUMN_NAME_PLAYLIST_IDENTIFIER],[c.y.COLUMN_NAME_CONTENT_ID]:M[c.y.COLUMN_NAME_CONTENT_ID],[c.y.COLUMN_NAME_CONTENT_METADATA]:M[c.y.COLUMN_NAME_CONTENT_METADATA],[c.y.COLUMN_NAME_SOURCE_TYPE]:M[c.y.COLUMN_NAME_SOURCE_TYPE],[c.y.COLUMN_NAME_TIME_STAMP]:M[c.y.COLUMN_NAME_TIME_STAMP]})}),k})}deletePlayList(B){return this.dbService.remove(S.J.deleteQuery(),{identifier:B}).then(()=>this.dbService.remove(c.y.deleteQueryOne(),{playlist_identifier:B}))}deleteContentFromPlayList(B,P){const $=[];return P.map(k=>{$.push({statement:c.y.deleteQuery(),values:[k,B]})}),this.dbService.executeSet($)}}return(g=F).\u0275fac=function(B){return new(B||g)(w.KVO(T.at))},g.\u0275prov=w.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),F})()},9836:(Ce,ee,E)=>{"use strict";E.d(ee,{X:()=>T});var a=E(467),S=E(5293),p=E(5083),R=E(9182);const c=(0,p.F3)("Haptics",{web:()=>E.e(3558).then(E.bind(E,3558)).then(_=>new _.HapticsWeb)});var D=E(1413),C=E(4438),w=E(8974);let T=(()=>{var _;class g{constructor(A){this.gestureCtrl=A,this.searchEvent=new D.B,this.searchEventRecorded$=this.searchEvent.asObservable(),this.botEvent=new D.B,this.botEventRecorded$=this.botEvent.asObservable(),this.recordEvent=new D.B,this.startEndEvent$=this.recordEvent.asObservable(),this.recording=!1,this.cancelRecording=!1,this.duration=0,this.durationDisplay=""}ngOnInit(){}gestureControl(A){this.gestureCtrl.create({el:A.nativeElement,threshold:250,gestureName:"swipe",direction:"x",onStart:P=>{console.log("swipe left start ",P),c.impact({style:R.kn.Light})},onMove:P=>{c.impact({style:R.kn.Light}),this.recordEvent.next(!1),this.cancelRecording=!0},onEnd:P=>{console.log("swipe left end ",P),c.impact({style:R.kn.Light}),this.recording=!1,this.recordEvent.next(!1)}},!0).enable()}startRecognition(A){var B=this;return(0,a.A)(function*(){B.cancelRecording=!1,S.R.startRecording(),c.impact({style:R.kn.Light}),!B.recording&&(B.recording=!0,B.calculation(A),B.recordEvent.next(!0))})()}calculation(A){if(!this.recording)return this.duration=0,void(this.durationDisplay="");this.duration+=1;const B=Math.floor(this.duration/60),P=(this.duration%60).toString().padStart(2,"0");this.durationDisplay=`${B}:${P}`,setTimeout(()=>{this.calculation(A)},1e3)}stopRecognition(A){var B=this;return(0,a.A)(function*(){if(c.impact({style:R.kn.Light}),B.recordEvent.next(!1),B.recording)return yield S.R.stopRecording().then(function(){var P=(0,a.A)(function*($){if(B.recording=!1,!B.cancelRecording)return"search"==A?$.value.recordDataBase64:$});return function($){return P.apply(this,arguments)}}())})()}}return(_=g).\u0275fac=function(A){return new(A||_)(C.KVO(w.wH))},_.\u0275prov=C.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),g})()},2186:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>T});var a=E(467),S=E(3207),p=E(6354),R=E(9437),c=E(3172),D=E(985),C=E(4438),w=E(2700);let T=(()=>{var _;class g{constructor(A){this.apiService=A}postSearchContext(A,B){var P=this;return(0,a.A)(function*(){let $={};$=B?{audio:A.text}:{name:A.text};let k=JSON.stringify($);console.log("body ",k);const M=(new D._g.Builder).withHost(c.$.api.BASE_URL).withPath(c.$.api.CONTENT_SEARCH_API).withType(D.kr.POST).withBody(k).withBearerToken(!0).withLanguge(A.currentLang).build();return(0,S.s)(P.apiService.fetch(M).pipe((0,p.T)(O=>O.body),(0,R.W)(O=>{throw O})))})()}postContentSearch(A,B){let P={};A.name&&(P.name=null==A?void 0:A.name),A.category&&(P.category=null==A?void 0:A.category);const $=(new D._g.Builder).withHost(c.$.api.BASE_URL).withPath(c.$.api.CONTENT_SEARCH_API).withType(D.kr.POST).withBody(P).withBearerToken(!0).withLanguge(B).build();return(0,S.s)(this.apiService.fetch($).pipe((0,p.T)(k=>k.body.result),(0,R.W)(k=>{throw k})))}}return(_=g).\u0275fac=function(A){return new(A||_)(C.KVO(w.G))},_.\u0275prov=C.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),g})()},8014:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>p});var a=E(1413),S=E(4438);let p=(()=>{var R;class c{constructor(){this.sourceEvent=new a.B,this.sourceProcessEmitted$=this.sourceEvent.asObservable()}sunbirdSrcProcess(C){this.contentConfig=[],C.forEach(w=>{this.contentConfig.push(w)}),console.log("contentconfig ",this.contentConfig),this.sourceEvent.next(this.contentConfig)}}return(R=c).\u0275fac=function(C){return new(C||R)},R.\u0275prov=S.jDH({token:R,factory:R.\u0275fac,providedIn:"root"}),c})()},7594:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>c});var a=E(467),S=E(4438),p=E(2700),R=E(8014);let c=(()=>{var D;class C{constructor(T,_){this.apiService=T,this.preprocessService=_}process(T,_){return(0,a.A)(function*(){})()}}return(D=C).\u0275fac=function(T){return new(T||D)(S.KVO(p.G),S.KVO(R.h))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3486:(Ce,ee,E)=>{"use strict";E.d(ee,{n:()=>c});var a=E(467);const p=(0,E(5083).F3)("Preferences",{web:()=>E.e(2924).then(E.bind(E,2924)).then(D=>new D.PreferencesWeb)});var R=E(4438);let c=(()=>{var D;class C{constructor(){}setData(T,_){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.set({key:T,value:_}).then(g=>!0).catch(g=>g)})()}getData(T){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.get({key:T}).then(_=>_.value).catch(_=>_)})()}removeData(T){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.remove({key:T}).then(_=>!0).catch(_=>_)})()}getStorageKeys(){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.keys().then(T=>T).catch(T=>T)})()}clearStorage(){return(0,a.A)(function*(){yield p.configure({group:C.groupPreferenceName}),yield p.clear().then(T=>!0).catch(T=>T)})()}}return(D=C).groupPreferenceName="DJPData",D.\u0275fac=function(T){return new(T||D)},D.\u0275prov=R.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},1113:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>S});var a=E(4438);let S=(()=>{var p;class R{constructor(){}hide(){let D=document.querySelectorAll(".tabbar"),C=document.querySelectorAll(".home-screen"),w=document.querySelectorAll(".scroll-content");null!==D&&null!==C&&(Object.keys(D).map(T=>{"translateY(5rem)"!==D[T].style.transform&&(D[T].style.transform="translateY(5rem)")}),Object.keys(C).map(T=>{"translateY(5.2rem)"!==C[T].style.transform&&(C[T].style.transform="translateY(5.2rem)")}),setTimeout(()=>{Object.keys(w).map(T=>{w[T].style.marginBottom="0"})}))}show(){let D=document.querySelectorAll(".tabbar"),C=document.querySelectorAll(".home-screen");null!==D&&null!==C&&(Object.keys(C).map(w=>{"rotate(-45deg)"!==C[w].style.transform&&(C[w].style.transform="rotate(-45deg)")}),Object.keys(D).map(w=>{"translateY(0px)"!==D[w].style.transform&&(D[w].style.transform="translateY(0px)")}))}}return(p=R).\u0275fac=function(D){return new(D||p)},p.\u0275prov=a.jDH({token:p,factory:p.\u0275fac}),R})()},5870:(Ce,ee,E)=>{"use strict";E.d(ee,{K:()=>S});var a=E(56),S=function(p){return p._ID="_id",p.TABLE_NAME="processed_telemetry",p.COLUMN_NAME_MSG_ID="msg_id",p.COLUMN_NAME_DATA="data",p.COLUMN_NAME_NUMBER_OF_EVENTS="event_count",p.COLUMN_NAME_PRIORITY="priority",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY,"+p.COLUMN_NAME_MSG_ID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_DATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_NUMBER_OF_EVENTS+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_PRIORITY+a.K.SPACE+a.K.INT_TYPE+" )",p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.getDeleteEntry=()=>"DROP TABLE IF EXISTS "+p.TABLE_NAME,p}(S||{})},2918:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>C});var a=E(8855),p=E(3172),R=E(3649),c=E(4438),D=E(2904);let C=(()=>{var w;class T{constructor(g){this.utilService=g}decorate(g,F,A,B,P,$,k){return g.mid||(g.mid=`${g.eid}:${a(JSON.stringify(g)).toString()}`),this.patchActor(g,A),this.patchContext(g,F,A,P,$,k),g.context.cdata&&(g.context.cdata=[...g.context.cdata,{id:F,type:"UserSession"}]),g}patchActor(g,F){g.actor||(g.actor=new R.Ag);const A=g.actor;A.id||(A.id=F),A.type||(A.type=R.Ag.TYPE_USER)}patchContext(g,F,A,B,P,$){g.context||(g.context=new R.ob),g.context=this.buildContext(F,A,P,g.context,B,$)}patchPData(g,F){g.pdata||(g.pdata=new R.zE);const A=g.pdata;A.id||(A.id=p.$.telmetry.PRODUCER_ID),A.pid=p.$.telmetry.PRODUCER_PID,A.ver||(A.ver=F)}prepare(g,F){return{event:JSON.stringify(g),event_type:g.eid,timestamp:Date.now(),priority:1}}buildContext(g,F,A,B,P,$){return B.channel=A,this.patchPData(B,P),B.env||(B.env="app"),B.sid=g,B.did=F,B.cdata=B.cdata?B.cdata.concat($||[]):$||[],B}}return(w=T).\u0275fac=function(g){return new(g||w)(c.KVO(D.a0))},w.\u0275prov=c.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),T})()},3649:(Ce,ee,E)=>{"use strict";E.d(ee,{$i:()=>C,Ag:()=>a,Q$:()=>w,ob:()=>S,zE:()=>c});let a=(()=>{var T;class _{constructor(){this.id="",this.type=_.TYPE_USER}}return(T=_).TYPE_SYSTEM="System",T.TYPE_USER="User",_})();class S{}class c{ProducerData(){this.id="",this.pid="",this.ver=""}}class C{constructor(_,g,F){this.id=_,this.type=g,this.version=F}setRollup(_){this.rollup=_}}var w;!function(T){let _=(()=>{class k{constructor(O){this.ver=k.TELEMETRY_VERSION,this.eid=O,this.ets=Date.now(),this.actor=new a,this.context=new S,this.edata={}}}return k.TELEMETRY_VERSION="3.0",k})();T.Telemetry=_,T.Interact=(()=>{class k extends _{constructor(O,U,j,W,ie,me,te,se="",m="",n="",o={},u=[]){super(k.EID),this.edata={type:O,subtype:U,...j?{id:j}:{},...W?{pageid:W}:{},extra:{...ie?{pos:ie}:{},...me?{values:[me]}:{}}},this.context.cdata=u,this.context.env=te,se&&m&&(this.object=new C(se,m,n),o&&(this.object.rollup=o||{}))}}return k.EID="INTERACT",k})(),T.End=(()=>{class k extends _{constructor(O,U,j,W,ie,me,te="",se="",m="",n={},o=[]){super(k.EID),this.edata={...O?{type:O}:{},...j?{duration:j}:{},...W?{pageid:W}:{},...U?{mode:U}:{},...ie?{summaryList:ie}:{}},this.context.cdata=o,this.context.env=me,this.object=new C(te,se,m),this.object.rollup=n}}return k.EID="END",k})(),T.Start=(()=>{class k extends _{constructor(O="",U,j,W,ie,me,te,se="",m="",n="",o={},u=[]){super(k.EID),this.edata={...O?{type:O}:{type:""},...U?{dspec:U}:{},...j?{loc:j}:{},...W?{mode:W}:{},...ie?{mode:W}:{},...me?{pageid:me}:{}},this.context.cdata=u,this.context.env=te,se&&m&&(this.object=new C(se,m,n),o&&(this.object.rollup=o||{}))}}return k.EID="START",k})(),T.Impression=(()=>{class k extends _{constructor(O,U,j,W,ie,me="",te="",se="",m={},n=[]){super(k.EID),this.edata={...O?{type:O}:{type:""},...U?{subtype:U}:{},...j?{pageid:j}:{},...j?{uri:j}:{},...W?{visits:W}:{}},this.context.cdata=n,this.context.env=ie,me&&te&&(this.object=new C(me,te,se),m&&(this.object.rollup=m||{}))}}return k.EID="IMPRESSION",k})(),T.Search=(()=>{class k extends _{constructor(O,U,j,W,ie,me,te=0,se=[]){super(k.EID),this.edata={...O?{type:O}:{type:""},...U?{query:U}:{},...j?{filters:j}:{},...W?{sort:W}:{},...me?{correlationid:me}:{},...te?{size:te}:{}},this.context.cdata=se,this.context.env=ie}}return k.EID="SEARCH",k})()}(w||(w={}))},5173:(Ce,ee,E)=>{"use strict";E.d(ee,{O:()=>w});class a{constructor(){this.pos=[]}}class S{constructor(){this.env=""}}class p{constructor(){this.env=""}}class R{constructor(){this.env=""}}class c{}var D=E(4438),C=E(2904);let w=(()=>{var T;class _{constructor(F){this.telemetryService=F}generateInteractTelemetry(F,A,B,P,$,k,M,O,U){const j=new a;j.type=F,j.subType=A,j.pageId=P,j.id=U||P,j.env=B,null!==k&&(j.valueMap=k),void 0!==M&&(j.rollup=M),void 0!==O&&(j.correlationData=O),$&&$.id&&(j.objId=$.id),$&&$.type&&(j.objType=$.type),$&&$.version&&(j.objVer=$.version+""),this.telemetryService.interact(j).subscribe()}generateImpressionTelemetry(F,A,B,P,$,k,M,O,U){const j=new S;j.type=F,j.subType=A,j.pageId=B,j.env=P,j.objId=$||"",j.objType=k||"",j.objVer=M?M+"":"",void 0!==O&&(j.rollup=O),void 0!==U&&(j.correlationData=U),this.telemetryService.impression(j).subscribe()}generateEndTelemetry(F,A,B,P,$,k,M,O,U){const j=new R;j.type=F,j.pageId=B,j.env=P,j.mode=A,O&&(j.duration=O),$&&$.id&&(j.objId=$.id),$&&$.type&&(j.objType=$.type),$&&$.version&&(j.objVer=$.version+""),k&&(j.rollup=k),M&&(j.correlationData=M),U&&(j.summaryList=U),this.telemetryService.end(j).subscribe()}generateStartTelemetry(F,A,B,P,$){const k=new p;k.type=F,k.pageId=A,k.mode="play",B&&B.id&&(k.objId=B.id),B&&B.type&&(k.objType=B.type),B&&B.version&&(k.objVer=B.version+""),void 0!==P&&(k.rollup=P),void 0!==$&&(k.correlationData=$),this.telemetryService.start(k).subscribe()}generateSearchTelemetry(F,A,B,P,$,k,M,O){const U=new c;U.type=F,U.query=A,U.env=P,U.size=B,$&&(U.filters=$),k&&(U.sort=k),void 0!==O&&(U.correlationData=O),M&&(U.correlationid=M),this.telemetryService.search(U).subscribe()}genererateAppStartTelemetry(F){const A=new p;A.type="app",A.env="home",A.deviceSpecification=F,this.telemetryService.start(A).subscribe()}}return(T=_).\u0275fac=function(F){return new(F||T)(D.KVO(C.H0))},T.\u0275prov=D.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),_})()},1765:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>d});var a=E(2814),S=E(1985),p=E(8750);const{isArray:R}=Array;var D=E(983),C=E(4360),w=E(9326);var _=E(6648),g=E(3028),F=E(9030),A=E(7673),B=E(9316),P=E(9974),$=E(5412);function k(L,I=1/0,V){return I=(I||0)<1?1/0:I,(0,P.N)((q,oe)=>(0,$.h)(q,oe,L,I,void 0,!0,V))}var M=E(6649);function O(L,I){return(0,P.N)((0,M.S)(L,I,arguments.length>=2,!1,!0))}var U=E(3703),j=E(6354),W=E(9437),ie=E(7374),me=E(5870),te=E(6421);class se{process(I){if("object"!=typeof I)throw new Error('TelemetryEntriesToStringPreprocessor expects input of type "object"');return JSON.stringify(I)}}var m=E(3172),n=E(985);class o{constructor(I,V){this.dbService=I,this.apiService=V,this.preprocessors=[],this.preprocessors=[new se]}handle(I){return this.hasTelemetryThresholdCrossed().pipe((0,g.Z)(V=>V?this.processEventsBatch(I).pipe(k(q=>q?this.processEventsBatch(I):D.w),O(()=>{},void 0),(0,g.Z)(()=>this.handleProcessedEventsBatch()),k(q=>q.syncedEventCount?this.handleProcessedEventsBatch():D.w),O((q,oe)=>({syncedEventCount:q.syncedEventCount+oe.syncedEventCount,syncTime:Date.now(),syncedFileSize:q.syncedFileSize+oe.syncedFileSize,error:oe.error?oe.error:q.error}),{syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})):(0,A.of)({syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})))}processEventsBatch(I){return this.fetchEvents().pipe((0,g.Z)(V=>V?this.processEvents(V,I).pipe((0,g.Z)(q=>this.persistProcessedEvents(q,q.processedEventsSize).pipe((0,g.Z)(()=>this.deleteEvents(V)),(0,U.u)(V.length)))):(0,A.of)(0)))}hasTelemetryThresholdCrossed(){return(0,_.H)(this.dbService.executeQuery(`\n SELECT count(*) as COUNT FROM ${a.C.TABLE_NAME}`)).pipe((0,j.T)(I=>!0))}fetchEvents(){return(0,_.H)(this.dbService.executeQuery(`\n SELECT * FROM ${a.C.TABLE_NAME}\n WHERE ${a.C.COLUMN_PRIORITY} = (SELECT MIN (${a.C.COLUMN_PRIORITY})\n FROM ${a.C.TABLE_NAME})\n ORDER BY ${a.C.COLUMN_TIMESTAMP}\n LIMIT 200`))}processEvents(I,V){if(!I)return(0,A.of)({processedEventsSize:0});const q=(0,te.A)();return(0,A.of)({processedEvents:this.preprocessors.reduce((oe,ve)=>ve.process(oe),{id:"ekstep.telemetry",ver:"1.0",ts:ie().format("YYYY-MM-DDTHH:mm:ss[Z]"),events:I.map(oe=>JSON.parse(oe[a.C.COLUMN_EVENT])),params:{did:V,msgid:q,key:"",requesterId:""}}),processedEventsSize:I.length,messageId:q})}persistProcessedEvents({processedEvents:I,messageId:V},q){return I?(0,_.H)(this.dbService.save(me.K.insertQuery(),{[me.K.COLUMN_NAME_MSG_ID]:V,[me.K.COLUMN_NAME_NUMBER_OF_EVENTS]:q,[me.K.COLUMN_NAME_PRIORITY]:1,[me.K.COLUMN_NAME_DATA]:I})).pipe((0,U.u)(void 0)):(0,A.of)(void 0)}deleteEvents(I){return I.length?(0,_.H)(this.dbService.executeQuery(`\n DELETE FROM ${a.C.TABLE_NAME}\n WHERE ${a.C._ID} IN (${I.map(V=>V[a.C._ID]).join(",")})\n `)):(0,A.of)(void 0)}handleProcessedEventsBatch(I){return this.fetchProcessedEventsBatch().pipe((0,g.Z)(V=>this.syncProcessedEvent(V).pipe((0,g.Z)(q=>this.deleteProcessedEvent(V).pipe((0,U.u)(q||{syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})))))).pipe()}fetchProcessedEventsBatch(){return(0,_.H)(this.dbService.executeQuery(`SELECT * FROM ${me.K.TABLE_NAME} LIMIT 1`)).pipe((0,j.T)(I=>I&&I[0]))}syncProcessedEvent(I){if(!I)return(0,A.of)(void 0);const V=(new n._g.Builder).withHost(m.$.api.TELEMETRY_BASE_URL).withPath(m.$.api.TELEMETRY_SYNC).withType(n.kr.POST).withBearerToken(!0).withBody(JSON.parse(I[me.K.COLUMN_NAME_DATA])).build();return this.apiService.fetch(V).pipe((0,j.T)(()=>({syncedEventCount:I[me.K.COLUMN_NAME_NUMBER_OF_EVENTS],syncTime:Date.now(),syncedFileSize:0})),(0,W.W)(q=>(0,A.of)({syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0,error:q})))}deleteProcessedEvent(I){return I?(0,_.H)(this.dbService.executeQuery(`DELETE FROM ${me.K.TABLE_NAME} WHERE ${me.K._ID}='${I[me.K._ID]}'`)):(0,A.of)(void 0)}}var u=E(3649),s=E(4438),h=E(4591),v=E(3486),y=E(2342),f=E(2700),r=E(2918);let d=(()=>{var L;class I{constructor(q,oe,ve,Ae,Q){this.dbService=q,this.storageService=oe,this.utilService=ve,this.apiService=Ae,this.decorator=Q,this.deviceId="",B.p.getId().then(ae=>(this.deviceId=ae.identifier,this.deviceId))}start({type:q,deviceSpecification:oe,loc:ve,mode:Ae,duration:Q,pageId:ae,env:tt,objId:Oe,objType:pe,objVer:Ie,rollup:Se,correlationData:re}){const ne=new u.Q$.Start(q,oe,ve,Ae,Q,ae,tt,Oe,pe,Ie,Se,re);return this.decorateAndPersist(ne)}end({type:q,mode:oe,duration:ve,pageId:Ae,summaryList:Q,env:ae,objId:tt,objType:Oe,objVer:pe,rollup:Ie,correlationData:Se}){const re=new u.Q$.End(q,oe,ve,Ae,Q,ae,tt,Oe,pe,Ie,Se);return this.decorateAndPersist(re)}interact({type:q,subType:oe,id:ve,pageId:Ae,pos:Q,env:ae,rollup:tt,valueMap:Oe,correlationData:pe,objId:Ie,objType:Se,objVer:re}){const ne=new u.Q$.Interact(q,oe,ve,Ae,Q,Oe,ae,Ie,Se,re,tt,pe);return this.decorateAndPersist(ne)}impression({type:q,subType:oe,pageId:ve,env:Ae,objId:Q,objType:ae,objVer:tt,rollup:Oe,correlationData:pe}){const Ie=new u.Q$.Impression(q,oe,ve,[],Ae,Q,ae,tt,Oe,pe);return this.decorateAndPersist(Ie)}search({type:q,query:oe,filters:ve,sort:Ae,correlationid:Q,size:ae,env:tt,correlationData:Oe}){const pe=new u.Q$.Search(q,oe,ve,Ae,tt,Q,ae,Oe);return this.decorateAndPersist(pe)}decorateAndPersist(q){let oe="";const ve=localStorage.getItem("subDomain");return oe=null!=ve?ve:new URL(document.baseURI).hostname,function T(...L){const I=(0,w.ms)(L),V=function c(L){return 1===L.length&&R(L[0])?L[0]:L}(L);return V.length?new S.c(q=>{let oe=V.map(()=>[]),ve=V.map(()=>!1);q.add(()=>{oe=ve=null});for(let Ae=0;!q.closed&&Ae{if(oe[Ae].push(Q),oe.every(ae=>ae.length)){const ae=oe.map(tt=>tt.shift());q.next(I?I(...ae):ae),oe.some((tt,Oe)=>!tt.length&&ve[Oe])&&q.complete()}},()=>{ve[Ae]=!0,!oe[Ae].length&&q.complete()}));return()=>{oe=ve=null}}):D.w}((0,_.H)(this.utilService.getAppInfo()),(0,_.H)(this.utilService.getDeviceId())).pipe((0,g.Z)(Ae=>{const Q=Ae[0].version,ae=Ae[1];return(0,_.H)(this.storageService.getData("sid")).pipe((0,g.Z)(tt=>{const Oe=this.decorator.prepare(this.decorator.decorate(q,null!=tt?tt:"",ae,(0,te.A)(),Q,oe,[]),1);return console.log("Telemetry Generated",q),this.dbService.save(a.C.insertData(),Oe)}))}))}saveTelemetry(q){return(0,F.v)(()=>{try{const oe=JSON.parse(q);return this.decorateAndPersist(oe)}catch(oe){return console.error(oe),(0,A.of)(!1)}})}sync(){return new o(this.dbService,this.apiService).handle(this.deviceId)}}return(L=I).\u0275fac=function(q){return new(q||L)(s.KVO(h.a),s.KVO(v.n),s.KVO(y.a),s.KVO(f.G),s.KVO(r.B))},L.\u0275prov=s.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})()},2342:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>_});var a=E(467),S=E(8941),p=E(9316),R=E(9986),D=E(5083),C=E(4438),w=E(5402),T=E(8974);let _=(()=>{var g;class F{constructor(B,P){this.translate=B,this.loadingCtrl=P}getDeviceSpec(){var B=this;return(0,a.A)(function*(){const P=yield p.p.getInfo(),$=yield B.getDeviceId();return{os:`${P.operatingSystem} ${P.osVersion}`,make:P.manufacturer,id:$}})()}getDeviceId(){return(0,a.A)(function*(){const B=yield p.p.getId();return R(B.identifier).toString()})()}getAppInfo(){return(0,a.A)(function*(){return"web"===D.Ii.getPlatform()?{name:"Web App",build:"1.0.0"}:yield S.q.getInfo()})()}translateMessage(B,P){let $="",k="";return k="object"==typeof P?P:{"%s":P},this.translate.get(B,k).subscribe(M=>{$=M}),$}getLoader(B,P){return this.loadingCtrl.create({message:P,duration:B||3e4,cssClass:P?"custom-loader-message-class":"custom-loader-class"})}}return(g=F).\u0275fac=function(B){return new(B||g)(C.KVO(w.c$),C.KVO(T.Xi))},g.\u0275prov=C.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),F})()},5344:(Ce,ee,E)=>{"use strict";var a=E(467),S=E(345),p=E(4438),R=E(3021),c=E(4517),D=E(8974),C=E(8941),w=E(5402),T=E(2904),_=E(177),g=E(9417);function F(Le,Ne){if(1&Le&&(p.j41(0,"ion-item")(1,"ion-label"),p.EFF(2),p.k0s(),p.nrm(3,"ion-radio",3),p.k0s()),2&Le){const Ge=Ne.$implicit;p.R7$(2),p.JRh(Ge.label),p.R7$(),p.FS9("value",Ge.id)}}let A=(()=>{var Le;class Ne{constructor(Fe,ut,Ut,gn){this.translateService=Fe,this.navParams=ut,this.modalCtrl=Ut,this.storage=gn,this.selectedLanguage=""}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.languages=[],Fe.languages=Fe.navParams.get("languages");let ut=yield Fe.storage.getData("lang");console.log("current lang ",ut),Fe.selectedLanguage=ut})()}languageSelected(Fe){let ut=Fe.detail.value;console.log("Current value:",JSON.stringify(ut)),this.storage.setData("lang",ut),this.translateService.use(ut),this.selectedLanguage=ut,this.dismissModal()}dismissModal(){this.modalCtrl.dismiss()}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.rXU(w.c$),p.rXU(c.y8),p.rXU(D.W3),p.rXU(T.n$))},Le.\u0275cmp=p.VBU({type:Le,selectors:[["app-langauge-select"]],decls:9,vars:5,consts:[[1,"lang-content"],[3,"ngModelChange","ionChange","ngModel"],[4,"ngFor","ngForOf"],["slot","start",3,"value"]],template:function(Fe,ut){1&Fe&&(p.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),p.EFF(3),p.nI1(4,"translate"),p.k0s()()(),p.j41(5,"ion-content",0)(6,"ion-radio-group",1),p.mxI("ngModelChange",function(gn){return p.DH7(ut.selectedLanguage,gn)||(ut.selectedLanguage=gn),gn}),p.bIt("ionChange",function(gn){return ut.languageSelected(gn)}),p.j41(7,"ion-list"),p.DNE(8,F,4,2,"ion-item",2),p.k0s()()()),2&Fe&&(p.R7$(3),p.JRh(p.bMT(4,3,"Select Language")),p.R7$(3),p.R50("ngModel",ut.selectedLanguage),p.R7$(2),p.Y8G("ngForOf",ut.languages))},dependencies:[_.Sq,g.BC,g.vS,D.W9,D.eU,D.uz,D.he,D.nf,D.KO,D.f0,D.BC,D.ai,D.uR,D.Je,w.D9],styles:[".lang-content[_ngcontent-%COMP%]{--background: var(--ion-color-primary-contrast);--padding-top: 0}ion-list[_ngcontent-%COMP%]{overflow-y:auto}ion-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);font-size:1rem}"]}),Ne})();var B=E(4801),P=E.n(B);const $=["video"],k=["canvas"],M=["fileinput"];function O(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"ion-button",13),p.bIt("click",function(){p.eBV(Ge);const ut=p.XpG();return p.Njj(ut.reset())}),p.nrm(1,"ion-icon",14),p.EFF(2," Reset "),p.k0s()}}function U(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"ion-button",15),p.bIt("click",function(){p.eBV(Ge);const ut=p.XpG();return p.Njj(ut.stopScan())}),p.nrm(1,"ion-icon",16),p.EFF(2," Stop scan "),p.k0s()}}function j(Le,Ne){if(1&Le&&(p.j41(0,"ion-card")(1,"ion-card-header")(2,"ion-card-title"),p.EFF(3,"QR Code"),p.k0s()(),p.j41(4,"ion-card-content"),p.EFF(5),p.k0s()()),2&Le){const Ge=p.XpG();p.R7$(5),p.SpI(" ",Ge.scanResult," ")}}function W(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Ge);const ut=p.XpG();return p.Njj(ut.openLink())}),p.EFF(2),p.nI1(3,"translate"),p.k0s(),p.j41(4,"ion-button",18),p.bIt("click",function(){p.eBV(Ge);const ut=p.XpG();return p.Njj(ut.close())}),p.EFF(5,"Close"),p.k0s()()}2&Le&&(p.R7$(2),p.JRh(p.bMT(3,1,"OPEN_IN_BROWSER")))}function ie(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Ge);const ut=p.XpG();return p.Njj(ut.close())}),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}2&Le&&(p.R7$(2),p.JRh(p.bMT(3,1,"CLOSE")))}let me=(()=>{var Le;class Ne{constructor(Fe,ut,Ut,gn,_n){this.navParams=Fe,this.modalCtrl=ut,this.toastCtrl=Ut,this.loadingCtrl=gn,this.plt=_n,this.scanText="",this.isValidURL=!1,this.scanActive=!1,this.scanResult=null,this.loading=null,this.plt.is("ios")&&"standalone"in window.navigator&&window.navigator.standalone&&console.log("I am a an iOS PWA!")}ngOnInit(){this.scanText=this.navParams.get("scannedData"),this.isValidURL=this.isValidUrl()}openLink(){this.close(),window.open(this.scanText)}close(){this.modalCtrl.dismiss()}isValidUrl(){try{const Fe=new URL(this.scanText);return"http:"===Fe.protocol||"https:"===Fe.protocol}catch{return!1}}ngAfterViewInit(){this.canvasElement=this.canvas.nativeElement,this.canvasContext=this.canvasElement.getContext("2d"),this.videoElement=this.video.nativeElement}showQrToast(){var Fe=this;return(0,a.A)(function*(){(yield Fe.toastCtrl.create({message:`Open ${Fe.scanResult}?`,position:"top",buttons:[{text:"Open",handler:()=>{Fe.scanResult&&window.open(Fe.scanResult,"_system","location=yes")}}]})).present()})()}reset(){this.scanResult=null}startScan(){var Fe=this;return(0,a.A)(function*(){const ut=yield navigator.mediaDevices.getUserMedia({video:{facingMode:"environment"}});Fe.videoElement.srcObject=ut,Fe.videoElement.setAttribute("playsinline",!0),Fe.loading=yield Fe.loadingCtrl.create({}),yield Fe.loading.present(),Fe.videoElement.play(),requestAnimationFrame(Fe.scan.bind(Fe))})()}stopScan(){this.scanActive=!1;const Fe=this.videoElement.srcObject;Fe&&(Fe.getTracks().forEach(function(Ut){Ut.stop(),console.log("Track stopped:",Ut.readyState)}),this.videoElement.srcObject=null)}scan(){var Fe=this;return(0,a.A)(function*(){try{if(yield navigator.mediaDevices.getUserMedia({video:!0}),Fe.videoElement.readyState===Fe.videoElement.HAVE_ENOUGH_DATA){Fe.loading&&(yield Fe.loading.dismiss(),Fe.loading=null,Fe.scanActive=!0),Fe.canvasElement.height=Fe.videoElement.videoHeight,Fe.canvasElement.width=Fe.videoElement.videoWidth,Fe.canvasContext.drawImage(Fe.videoElement,0,0,Fe.canvasElement.width,Fe.canvasElement.height);const Ut=Fe.canvasContext.getImageData(0,0,Fe.canvasElement.width,Fe.canvasElement.height),gn=P()(Ut.data,Ut.width,Ut.height,{inversionAttempts:"dontInvert"});null!=gn&&gn.data?(Fe.scanActive=!1,Fe.scanResult=gn.data,Fe.stopScan(),Fe.showQrToast()):Fe.scanActive&&requestAnimationFrame(Fe.scan.bind(Fe))}else requestAnimationFrame(Fe.scan.bind(Fe))}catch(ut){console.error("Error accessing camera:",ut)}})()}captureImage(){this.fileinput.nativeElement.click()}handleFile(Fe){const ut=Fe.target;if(ut instanceof HTMLInputElement&&ut.files&&ut.files.length>0){const gn=ut.files[0];var Ut=new Image;Ut.onload=()=>{this.canvasContext.drawImage(Ut,0,0,this.canvasElement.width,this.canvasElement.height);const _n=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Gn=P()(_n.data,_n.width,_n.height,{inversionAttempts:"dontInvert"});Gn&&(this.scanResult=Gn.data,this.showQrToast())},Ut.src=URL.createObjectURL(gn)}}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.rXU(c.y8),p.rXU(D.W3),p.rXU(D.K_),p.rXU(D.Xi),p.rXU(c.OD))},Le.\u0275cmp=p.VBU({type:Le,selectors:[["app-qrcode-popup"]],viewQuery:function(Fe,ut){if(1&Fe&&(p.GBs($,5),p.GBs(k,5),p.GBs(M,5)),2&Fe){let Ut;p.mGM(Ut=p.lsd())&&(ut.video=Ut.first),p.mGM(Ut=p.lsd())&&(ut.canvas=Ut.first),p.mGM(Ut=p.lsd())&&(ut.fileinput=Ut.first)}},decls:20,vars:7,consts:[["fileinput",""],["video",""],["canvas",""],[1,"inner-content"],["type","file","accept","image/*;capture=camera","hidden",""],["expand","full",3,"click"],["slot","start","name","camera"],["slot","start","name","qr-scanner"],["expand","full","color","warning",3,"click",4,"ngIf"],["width","100%",3,"hidden"],["hidden",""],["expand","full","color","danger",3,"click",4,"ngIf"],[4,"ngIf"],["expand","full","color","warning",3,"click"],["slot","start","name","refresh"],["expand","full","color","danger",3,"click"],["slot","start","name","close"],["expand","block",3,"click"],["fill","clear","expand","full",3,"click"]],template:function(Fe,ut){if(1&Fe){const Ut=p.RV6();p.j41(0,"div",3)(1,"h4"),p.EFF(2),p.k0s(),p.nrm(3,"input",4,0),p.j41(5,"ion-button",5),p.bIt("click",function(){return p.eBV(Ut),p.Njj(ut.captureImage())}),p.nrm(6,"ion-icon",6),p.EFF(7," Capture Image "),p.k0s(),p.j41(8,"ion-button",5),p.bIt("click",function(){return p.eBV(Ut),p.Njj(ut.startScan())}),p.nrm(9,"ion-icon",7),p.EFF(10," Start scan "),p.k0s(),p.DNE(11,O,3,0,"ion-button",8),p.nrm(12,"video",9,1)(14,"canvas",10,2),p.DNE(16,U,3,0,"ion-button",11)(17,j,6,1,"ion-card",12)(18,W,6,3,"div",12)(19,ie,4,3,"div",12),p.k0s()}2&Fe&&(p.R7$(2),p.JRh(ut.scanText),p.R7$(9),p.Y8G("ngIf",ut.scanResult),p.R7$(),p.Y8G("hidden",!ut.scanActive),p.R7$(4),p.Y8G("ngIf",ut.scanActive),p.R7$(),p.Y8G("ngIf",ut.scanResult),p.R7$(),p.Y8G("ngIf",ut.isValidURL),p.R7$(),p.Y8G("ngIf",!ut.isValidURL))},dependencies:[_.bT,D.Jm,D.b_,D.I9,D.ME,D.tN,D.iq,w.D9],styles:["h4[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);padding:.75rem 0;-webkit-user-select:auto;user-select:auto}ion-button[_ngcontent-%COMP%]{padding:0 .75rem .75rem;--border-radius: 2rem}"]}),Ne})();var te=E(319),se=E(3568),m=E(8359);class n extends m.yU{constructor(Ne,Ge){super()}schedule(Ne,Ge=0){return this}}const o={setInterval(Le,Ne,...Ge){const{delegate:Fe}=o;return null!=Fe&&Fe.setInterval?Fe.setInterval(Le,Ne,...Ge):setInterval(Le,Ne,...Ge)},clearInterval(Le){const{delegate:Ne}=o;return((null==Ne?void 0:Ne.clearInterval)||clearInterval)(Le)},delegate:void 0};var u=E(7908),h=E(6129);class v{constructor(Ne,Ge=v.now){this.schedulerActionCtor=Ne,this.now=Ge}schedule(Ne,Ge=0,Fe){return new this.schedulerActionCtor(this,Ne).schedule(Fe,Ge)}}v.now=h.U.now;const f=new class y extends v{constructor(Ne,Ge=v.now){super(Ne,Ge),this.actions=[],this._active=!1}flush(Ne){const{actions:Ge}=this;if(this._active)return void Ge.push(Ne);let Fe;this._active=!0;do{if(Fe=Ne.execute(Ne.state,Ne.delay))break}while(Ne=Ge.shift());if(this._active=!1,Fe){for(;Ne=Ge.shift();)Ne.unsubscribe();throw Fe}}}(class s extends n{constructor(Ne,Ge){super(Ne,Ge),this.scheduler=Ne,this.work=Ge,this.pending=!1}schedule(Ne,Ge=0){var Fe;if(this.closed)return this;this.state=Ne;const ut=this.id,Ut=this.scheduler;return null!=ut&&(this.id=this.recycleAsyncId(Ut,ut,Ge)),this.pending=!0,this.delay=Ge,this.id=null!==(Fe=this.id)&&void 0!==Fe?Fe:this.requestAsyncId(Ut,this.id,Ge),this}requestAsyncId(Ne,Ge,Fe=0){return o.setInterval(Ne.flush.bind(Ne,this),Fe)}recycleAsyncId(Ne,Ge,Fe=0){if(null!=Fe&&this.delay===Fe&&!1===this.pending)return Ge;null!=Ge&&o.clearInterval(Ge)}execute(Ne,Ge){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Fe=this._execute(Ne,Ge);if(Fe)return Fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Ne,Ge){let ut,Fe=!1;try{this.work(Ne)}catch(Ut){Fe=!0,ut=Ut||new Error("Scheduled action threw falsy error")}if(Fe)return this.unsubscribe(),ut}unsubscribe(){if(!this.closed){const{id:Ne,scheduler:Ge}=this,{actions:Fe}=Ge;this.work=this.state=this.scheduler=null,this.pending=!1,(0,u.o)(Fe,this),null!=Ne&&(this.id=this.recycleAsyncId(Ge,Ne,null)),this.delay=null,super.unsubscribe()}}}),r=f;var d=E(1985),L=E(9470);function V(Le=0,Ne,Ge=r){let Fe=-1;return null!=Ne&&((0,L.m)(Ne)?Ge=Ne:Fe=Ne),new d.c(ut=>{let Ut=function I(Le){return Le instanceof Date&&!isNaN(Le)}(Le)?+Le-Ge.now():Le;Ut<0&&(Ut=0);let gn=0;return Ge.schedule(function(){ut.closed||(ut.next(gn++),0<=Fe?this.schedule(void 0,Fe):ut.complete())},Ut)})}var oe=E(7673),ve=E(8141),Ae=E(5964),Q=E(9437),ae=E(3703);let tt=(()=>{var Le;class Ne{constructor(Fe){this.telemetryService=Fe,this.shouldSync=!1}start(Fe){return this.shouldSync=!0,function q(Le=0,Ne=f){return Le<0&&(Le=0),V(Le,Le,Ne)}(Fe).pipe((0,ve.M)(ut=>{}),(0,Ae.p)(()=>this.shouldSync),(0,ve.M)(()=>this.telemetryService.sync().pipe((0,ve.M)(ut=>{}),(0,Q.W)(ut=>(console.error(ut),(0,oe.of)(void 0)))).toPromise()),(0,ae.u)(void 0))}pause(){this.shouldSync=!1}continue(){this.shouldSync=!0}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.KVO(T.H0))},Le.\u0275prov=p.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Ne})();var Oe=E(2771),pe=E(1635),Se=E(3726),re={error:"cordova_not_available"},ne={error:"plugin_not_installed"};function G(Le){if(typeof window<"u"&&window.angular){var Ge=window.document,Fe=window.angular.element(Ge.querySelector("[ng-app]")||Ge.body).injector();if(Fe)return Fe.get("$q")(function(Ut,gn){Le(Ut,gn)});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(Ut,gn){Le(Ut,gn)});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 nn(Le,Ne,Ge){var Fe,ut;"string"==typeof Le?Fe=Le:(Fe=Le.constructor.getPluginRef(),Ge=Le.constructor.getPluginName(),ut=Le.constructor.getPluginInstallName());var Ut=Pt(Fe);return!(!Ut||Ne&&typeof Ut[Ne]>"u")||(typeof window>"u"||!window.cordova?(function Ft(Le,Ne){typeof process>"u"&&console.warn(Ne?"Native: tried calling "+Le+"."+Ne+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+Le+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}(Ge,Ne),re):(function It(Le,Ne,Ge){console.warn(Ge?"Native: tried calling "+Le+"."+Ge+", but the "+Le+" plugin is not installed.":"Native: tried accessing the "+Le+" plugin but it's not installed."),Ne&&console.warn("Install the "+Le+" plugin: 'ionic cordova plugin add "+Ne+"'")}(Ge,ut,Ne),ne))}function on(Le,Ne,Ge,Fe,ut,Ut){void 0===Fe&&(Fe={}),Ge=function ht(Le,Ne,Ge,Fe){if(void 0===Ne&&(Ne={}),Ne.sync)return Le;if("reverse"===Ne.callbackOrder)Le.unshift(Fe),Le.unshift(Ge);else if("node"===Ne.callbackStyle)Le.push(function(_n,Gn){_n?Fe(_n):Ge(Gn)});else if("object"===Ne.callbackStyle&&Ne.successName&&Ne.errorName){var ut={};ut[Ne.successName]=Ge,ut[Ne.errorName]=Fe,Le.push(ut)}else if(typeof Ne.successIndex<"u"||typeof Ne.errorIndex<"u"){var Ut=function(){Ne.successIndex>Le.length?Le[Ne.successIndex]=Ge:Le.splice(Ne.successIndex,0,Ge)},gn=function(){Ne.errorIndex>Le.length?Le[Ne.errorIndex]=Fe:Le.splice(Ne.errorIndex,0,Fe)};Ne.successIndex>Ne.errorIndex?(gn(),Ut()):(Ut(),gn())}else Le.push(Ge),Le.push(Fe);return Le}(Ge,Fe,ut,Ut);var gn=nn(Le,Ne);if(!0===gn){var _n=Pt(Le.constructor.getPluginRef());return _n[Ne].apply(_n,Ge)}return gn}function Pt(Le){return typeof window<"u"?En(window,Le):null}function En(Le,Ne){for(var Ge=Ne.split("."),Fe=Le,ut=0;ut"u"){var Le=typeof window<"u"?window:{},Ge=Date.now(),Fe=!1;Le.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-Ge)+" ms"),Fe=!0}),setTimeout(function(){!Fe&&Le.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)}}();var He=function(Le){function Ne(){var Ge=null!==Le&&Le.apply(this,arguments)||this;return Ge.permission={ACCEPT_HANDOVER:"ACCEPT_HANDOVER",ACCESS_BACKGROUND_LOCATION:"ACCESS_BACKGROUND_LOCATION",ACCESS_COARSE_LOCATION:"ACCESS_COARSE_LOCATION",ACCESS_FINE_LOCATION:"ACCESS_FINE_LOCATION",ACCESS_MEDIA_LOCATION:"ACCESS_MEDIA_LOCATION",ACTIVITY_RECOGNITION:"ACTIVITY_RECOGNITION",ADD_VOICEMAIL:"ADD_VOICEMAIL",ANSWER_PHONE_CALLS:"ANSWER_PHONE_CALLS",BLUETOOTH_ADVERTISE:"BLUETOOTH_ADVERTISE",BLUETOOTH_CONNECT:"BLUETOOTH_CONNECT",BLUETOOTH_SCAN:"BLUETOOTH_SCAN",BODY_SENSORS:"BODY_SENSORS",BODY_SENSORS_BACKGROUND:"BODY_SENSORS_BACKGROUND",CALL_PHONE:"CALL_PHONE",CAMERA:"CAMERA",GET_ACCOUNTS:"GET_ACCOUNTS",NEARBY_WIFI_DEVICES:"NEARBY_WIFI_DEVICES",POST_NOTIFICATIONS:"POST_NOTIFICATIONS",PROCESS_OUTGOING_CALLS:"PROCESS_OUTGOING_CALLS",READ_CALENDAR:"READ_CALENDAR",READ_CALL_LOG:"READ_CALL_LOG",READ_CONTACTS:"READ_CONTACTS",READ_EXTERNAL_STORAGE:"READ_EXTERNAL_STORAGE",READ_MEDIA_AUDIO:"READ_MEDIA_AUDIO",READ_MEDIA_IMAGES:"READ_MEDIA_IMAGES",READ_MEDIA_VIDEO:"READ_MEDIA_VIDEO",READ_PHONE_NUMBERS:"READ_PHONE_NUMBERS",READ_PHONE_STATE:"READ_PHONE_STATE",READ_SMS:"READ_SMS",RECEIVE_MMS:"RECEIVE_MMS",RECEIVE_SMS:"RECEIVE_SMS",RECEIVE_WAP_PUSH:"RECEIVE_WAP_PUSH",RECORD_AUDIO:"RECORD_AUDIO",SEND_SMS:"SEND_SMS",USE_SIP:"USE_SIP",UWB_RANGING:"UWB_RANGING",WRITE_CALENDAR:"WRITE_CALENDAR",WRITE_CALL_LOG:"WRITE_CALL_LOG",WRITE_CONTACTS:"WRITE_CONTACTS",WRITE_EXTERNAL_STORAGE:"WRITE_EXTERNAL_STORAGE"},Ge.locationAuthorizationMode={ALWAYS:"always",WHEN_IN_USE:"when_in_use"},Ge.locationAccuracyAuthorization={FULL:"full",REDUCED:"reduced"},Ge.permissionGroups={CALENDAR:["READ_CALENDAR","WRITE_CALENDAR"],CAMERA:["CAMERA"],CONTACTS:["READ_CONTACTS","WRITE_CONTACTS","GET_ACCOUNTS"],LOCATION:["ACCESS_FINE_LOCATION","ACCESS_COARSE_LOCATION"],MICROPHONE:["RECORD_AUDIO"],PHONE:["READ_PHONE_STATE","CALL_PHONE","ADD_VOICEMAIL","USE_SIP","PROCESS_OUTGOING_CALLS","READ_CALL_LOG","WRITE_CALL_LOG"],SENSORS:["BODY_SENSORS"],SMS:["SEND_SMS","RECEIVE_SMS","READ_SMS","RECEIVE_WAP_PUSH","RECEIVE_MMS"],STORAGE:["READ_EXTERNAL_STORAGE","WRITE_EXTERNAL_STORAGE"],NEARBY_DEVICES:["BLUETOOTH_ADVERTISE","BLUETOOTH_SCAN","BLUETOOTH_CONNECT"]},Ge.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},Ge.bluetoothState={UNKNOWN:"unknown",RESETTING:"resetting",UNSUPPORTED:"unsupported",UNAUTHORIZED:"unauthorized",POWERED_OFF:"powered_off",POWERED_ON:"powered_on",POWERING_OFF:"powering_off",POWERING_ON:"powering_on"},Ge.photoLibraryAccessLevel={ADD_ONLY:"add_only",READ_WRITE:"read_write"},Ge}return(0,pe.C6)(Ne,Le),Ne.prototype.isLocationAvailable=function(){return ft(this,"isLocationAvailable",{},arguments)},Ne.prototype.isWifiAvailable=function(){return ft(this,"isWifiAvailable",{},arguments)},Ne.prototype.isCameraAvailable=function(Ge){return ft(this,"isCameraAvailable",{callbackOrder:"reverse"},arguments)},Ne.prototype.isBluetoothAvailable=function(){return ft(this,"isBluetoothAvailable",{},arguments)},Ne.prototype.switchToLocationSettings=function(){return ft(this,"switchToLocationSettings",{sync:!0,platforms:["Android","Windows 10","iOS"]},arguments)},Ne.prototype.switchToMobileDataSettings=function(){return ft(this,"switchToMobileDataSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.switchToBluetoothSettings=function(){return ft(this,"switchToBluetoothSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.switchToWifiSettings=function(){return ft(this,"switchToWifiSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.isWifiEnabled=function(){return ft(this,"isWifiEnabled",{platforms:["Android","Windows 10"]},arguments)},Ne.prototype.setWifiState=function(Ge){return ft(this,"setWifiState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Ne.prototype.setBluetoothState=function(Ge){return ft(this,"setBluetoothState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Ne.prototype.enableDebug=function(){return ft(this,"enableDebug",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isLocationEnabled=function(){return ft(this,"isLocationEnabled",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isLocationAuthorized=function(){return ft(this,"isLocationAuthorized",{},arguments)},Ne.prototype.getLocationAuthorizationStatus=function(){return ft(this,"getLocationAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getLocationAuthorizationStatuses=function(){return ft(this,"getLocationAuthorizationStatuses",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestLocationAuthorization=function(Ge,Fe){return ft(this,"requestLocationAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.isCameraPresent=function(){return ft(this,"isCameraPresent",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isCameraAuthorized=function(Ge){return ft(this,"isCameraAuthorized",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.getCameraAuthorizationStatus=function(Ge){return ft(this,"getCameraAuthorizationStatus",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestCameraAuthorization=function(Ge){return ft(this,"requestCameraAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.isMicrophoneAuthorized=function(){return ft(this,"isMicrophoneAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getMicrophoneAuthorizationStatus=function(){return ft(this,"getMicrophoneAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestMicrophoneAuthorization=function(){return ft(this,"requestMicrophoneAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isContactsAuthorized=function(){return ft(this,"isContactsAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getContactsAuthorizationStatus=function(){return ft(this,"getContactsAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestContactsAuthorization=function(){return ft(this,"requestContactsAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isCalendarAuthorized=function(){return ft(this,"isCalendarAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getCalendarAuthorizationStatus=function(){return ft(this,"getCalendarAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestCalendarAuthorization=function(){return ft(this,"requestCalendarAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.switchToSettings=function(){return ft(this,"switchToSettings",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getBluetoothState=function(){return ft(this,"getBluetoothState",{platforms:["Android","iOS"]},arguments)},Ne.prototype.registerBluetoothStateChangeHandler=function(Ge){return ft(this,"registerBluetoothStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Ne.prototype.registerLocationStateChangeHandler=function(Ge){return ft(this,"registerLocationStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Ne.prototype.getArchitecture=function(){return ft(this,"getArchitecture",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getCurrentBatteryLevel=function(){return ft(this,"getCurrentBatteryLevel",{platforms:["Android","iOS"]},arguments)},Ne.prototype.restart=function(Ge){return ft(this,"restart",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.isGpsLocationAvailable=function(){return ft(this,"isGpsLocationAvailable",{platforms:["Android"]},arguments)},Ne.prototype.isGpsLocationEnabled=function(){return ft(this,"isGpsLocationEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isNetworkLocationAvailable=function(){return ft(this,"isNetworkLocationAvailable",{platforms:["Android"]},arguments)},Ne.prototype.isNetworkLocationEnabled=function(){return ft(this,"isNetworkLocationEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isAirplaneModeEnabled=function(){return ft(this,"isAirplaneModeEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isMobileDataEnabled=function(){return ft(this,"isMobileDataEnabled",{platforms:["Android"]},arguments)},Ne.prototype.getLocationMode=function(){return ft(this,"getLocationMode",{platforms:["Android"]},arguments)},Ne.prototype.getDeviceOSVersion=function(){return ft(this,"getDeviceOSVersion",{platforms:["Android"]},arguments)},Ne.prototype.getBuildOSVersion=function(){return ft(this,"getBuildOSVersion",{platforms:["Android"]},arguments)},Ne.prototype.getPermissionAuthorizationStatus=function(Ge){return ft(this,"getPermissionAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.getPermissionsAuthorizationStatus=function(Ge){return ft(this,"getPermissionsAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestRuntimePermission=function(Ge){return ft(this,"requestRuntimePermission",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestRuntimePermissions=function(Ge){return ft(this,"requestRuntimePermissions",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.isRequestingPermission=function(){return ft(this,"isRequestingPermission",{sync:!0},arguments)},Ne.prototype.registerPermissionRequestCompleteHandler=function(Ge){return ft(this,"registerPermissionRequestCompleteHandler",{sync:!0},arguments)},Ne.prototype.isBluetoothEnabled=function(){return ft(this,"isBluetoothEnabled",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothSupport=function(){return ft(this,"hasBluetoothSupport",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothLESupport=function(){return ft(this,"hasBluetoothLESupport",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothLEPeripheralSupport=function(){return ft(this,"hasBluetoothLEPeripheralSupport",{platforms:["Android"]},arguments)},Ne.prototype.getBluetoothAuthorizationStatus=function(){return ft(this,"getBluetoothAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getBluetoothAuthorizationStatuses=function(){return ft(this,"getBluetoothAuthorizationStatuses",{platforms:["Android"]},arguments)},Ne.prototype.isExternalStorageAuthorized=function(){return ft(this,"isExternalStorageAuthorized",{platforms:["Android"]},arguments)},Ne.prototype.getExternalStorageAuthorizationStatus=function(){return ft(this,"getExternalStorageAuthorizationStatus",{platforms:["Android"]},arguments)},Ne.prototype.requestExternalStorageAuthorization=function(){return ft(this,"requestExternalStorageAuthorization",{platforms:["Android"]},arguments)},Ne.prototype.getExternalSdCardDetails=function(){return ft(this,"getExternalSdCardDetails",{platforms:["Android"]},arguments)},Ne.prototype.switchToWirelessSettings=function(){return ft(this,"switchToWirelessSettings",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.switchToNFCSettings=function(){return ft(this,"switchToNFCSettings",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.isNFCPresent=function(){return ft(this,"isNFCPresent",{platforms:["Android"]},arguments)},Ne.prototype.isNFCEnabled=function(){return ft(this,"isNFCEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isNFCAvailable=function(){return ft(this,"isNFCAvailable",{platforms:["Android"]},arguments)},Ne.prototype.registerNFCStateChangeHandler=function(Ge){return ft(this,"registerNFCStateChangeHandler",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.isDataRoamingEnabled=function(){return ft(this,"isDataRoamingEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isADBModeEnabled=function(){return ft(this,"isADBModeEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isDeviceRooted=function(){return ft(this,"isDeviceRooted",{platforms:["Android"]},arguments)},Ne.prototype.isCameraRollAuthorized=function(Ge){return ft(this,"isCameraRollAuthorized",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.getCameraRollAuthorizationStatus=function(Ge){return ft(this,"getCameraRollAuthorizationStatus",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestCameraRollAuthorization=function(Ge){return ft(this,"requestCameraRollAuthorization",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.presentLimitedLibraryPicker=function(){return ft(this,"presentLimitedLibraryPicker",{platforms:["iOS"]},arguments)},Ne.prototype.isRemoteNotificationsEnabled=function(){return ft(this,"isRemoteNotificationsEnabled",{platforms:["iOS","Android"]},arguments)},Ne.prototype.isRegisteredForRemoteNotifications=function(){return ft(this,"isRegisteredForRemoteNotifications",{platforms:["iOS"]},arguments)},Ne.prototype.getRemoteNotificationsAuthorizationStatus=function(){return ft(this,"getRemoteNotificationsAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestRemoteNotificationsAuthorization=function(Ge,Fe){return ft(this,"requestRemoteNotificationsAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.getRemoteNotificationTypes=function(){return ft(this,"getRemoteNotificationTypes",{platforms:["iOS"]},arguments)},Ne.prototype.isRemindersAuthorized=function(){return ft(this,"isRemindersAuthorized",{platforms:["iOS"]},arguments)},Ne.prototype.getRemindersAuthorizationStatus=function(){return ft(this,"getRemindersAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestRemindersAuthorization=function(){return ft(this,"requestRemindersAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.isBackgroundRefreshAuthorized=function(){return ft(this,"isBackgroundRefreshAuthorized",{platforms:["iOS"]},arguments)},Ne.prototype.getBackgroundRefreshStatus=function(){return ft(this,"getBackgroundRefreshStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestBluetoothAuthorization=function(){return ft(this,"requestBluetoothAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.isMotionAvailable=function(){return ft(this,"isMotionAvailable",{platforms:["iOS"]},arguments)},Ne.prototype.isMotionRequestOutcomeAvailable=function(){return ft(this,"isMotionRequestOutcomeAvailable",{platforms:["iOS"]},arguments)},Ne.prototype.requestMotionAuthorization=function(){return ft(this,"requestMotionAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.getMotionAuthorizationStatus=function(){return ft(this,"getMotionAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.getLocationAccuracyAuthorization=function(){return ft(this,"getLocationAccuracyAuthorization",{platforms:["iOS","Android"]},arguments)},Ne.prototype.requestTemporaryFullAccuracyAuthorization=function(Ge){return ft(this,"requestTemporaryFullAccuracyAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.registerLocationAccuracyAuthorizationChangeHandler=function(Ge){return ft(this,"registerLocationAccuracyAuthorizationChangeHandler",{platforms:["iOS"],sync:!0},arguments)},Object.defineProperty(Ne.prototype,"permissionStatus",{get:function(){return Un(this,"permissionStatus")},set:function(Ge){Vt(this,"permissionStatus",Ge)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"NFCState",{get:function(){return Un(this,"NFCState")},set:function(Ge){Vt(this,"NFCState",Ge)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"cpuArchitecture",{get:function(){return Un(this,"cpuArchitecture")},set:function(Ge){Vt(this,"cpuArchitecture",Ge)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"remoteNotificationType",{get:function(){return Un(this,"remoteNotificationType")},set:function(Ge){Vt(this,"remoteNotificationType",Ge)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"motionStatus",{get:function(){return Un(this,"motionStatus")},set:function(Ge){Vt(this,"motionStatus",Ge)},enumerable:!1,configurable:!0}),Ne.\u0275fac=(()=>{let Ge;return function(ut){return(Ge||(Ge=p.xGo(Ne)))(ut||Ne)}})(),Ne.\u0275prov=p.jDH({token:Ne,factory:Ne.\u0275fac}),Ne.pluginName="Diagnostic",Ne.plugin="cordova.plugins.diagnostic",Ne.pluginRef="cordova.plugins.diagnostic",Ne.repo="https://github.com/dpa99c/cordova-diagnostic-plugin",Ne.platforms=["Android","iOS","Windows"],Ne=(0,pe.Cg)([],Ne)}(St),_e=function(Le){return Le.GRANTED="GRANTED",Le.NOT_REQUESTED="NOT_REQUESTED",Le.DENIED_ALWAYS="DENIED_ALWAYS",Le.DENIED="DENIED",Le.UNKNOWN="UNKNOWN",Le}(_e||{}),De=function(Le){return Le.CAMERA="CAMERA",Le.MICROPHONE="MICROPHONE",Le}(De||{});let Me=(()=>{var Le;class Ne{constructor(Fe,ut){this.platform=Fe,this.diagnostic=ut}hasCameraPermission(){var Fe=this;return(0,a.A)(function*(){const ut=yield Fe.diagnostic.getCameraAuthorizationStatus(!1);return Fe.getPermissionStatus(ut)})()}hasMicrophonePermission(){var Fe=this;return(0,a.A)(function*(){const ut=yield Fe.diagnostic.getMicrophoneAuthorizationStatus();return Fe.getPermissionStatus(ut)})()}requestPermissions(Fe){var ut=this;return(0,a.A)(function*(){if(ut.platform.is("android")){const Ut=[];Fe.indexOf(De.CAMERA)>=0&&Ut.push(ut.diagnostic.permission.CAMERA),Fe.indexOf(De.MICROPHONE)>=0&&Ut.push(ut.diagnostic.permission.RECORD_AUDIO),yield ut.diagnostic.requestRuntimePermissions(Ut)}else ut.platform.is("ios")?(Fe.indexOf(De.CAMERA)>=0&&(yield ut.diagnostic.requestCameraAuthorization(!1)),Fe.indexOf(De.MICROPHONE)>=0&&(yield ut.diagnostic.requestMicrophoneAuthorization())):console.warn("requesting permission in browser")})()}userRequestsPermissions(Fe){var ut=this;return(0,a.A)(function*(){let Ut=!1;for(const gn of Fe)Ut=(yield ut.canAskForPermission(gn))||Ut;Ut&&(yield ut.requestPermissions(Fe))})()}canAskForPermission(Fe){var ut=this;return(0,a.A)(function*(){let Ut=!0;return ut.platform.is("android")?Fe===De.CAMERA?Ut=(yield ut.hasCameraPermission())!==_e.DENIED_ALWAYS:Fe===De.MICROPHONE&&(Ut=(yield ut.hasMicrophonePermission())!==_e.DENIED_ALWAYS):ut.platform.is("ios")&&(Fe===De.CAMERA?Ut=(yield ut.hasCameraPermission())!==_e.DENIED:Fe===De.MICROPHONE&&(Ut=(yield ut.hasMicrophonePermission())!==_e.DENIED)),Ut})()}getPermissionStatus(Fe){var ut=this;return(0,a.A)(function*(){return ut.isGranted(Fe)?_e.GRANTED:ut.isNotRequested(Fe)?_e.NOT_REQUESTED:ut.isDeniedAlways(Fe)?_e.DENIED_ALWAYS:ut.isDenied(Fe)?_e.DENIED:_e.UNKNOWN})()}isGranted(Fe){return Fe===this.diagnostic.permissionStatus.GRANTED||Fe===this.diagnostic.permissionStatus.GRANTED_WHEN_IN_USE}isNotRequested(Fe){return Fe===this.diagnostic.permissionStatus.NOT_REQUESTED}isDeniedAlways(Fe){return Fe===this.diagnostic.permissionStatus.DENIED_ALWAYS||Fe===this.diagnostic.permissionStatus.RESTRICTED}isDenied(Fe){return!(this.isGranted(Fe)||this.isNotRequested(Fe))}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.KVO(c.OD),p.KVO(He))},Le.\u0275prov=p.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Ne})();var Ze=E(2342);let Ve=(()=>{var Le;class Ne{constructor(Fe,ut,Ut){this.platform=Fe,this.utilService=ut,this.permissionsService=Ut,this.hasCameras=!1,this.isActive=!1,this._hasCameraPermission=new Oe.m,this.hasCameraPermission=this._hasCameraPermission.asObservable()}requestPermission(Fe,ut){var Ut=this;return(0,a.A)(function*(){yield Ut.permissionsService.userRequestsPermissions([De.CAMERA]),yield Ut.checkCameraPermissionsAndActivate(Fe,ut)})()}checkCameraPermissionsAndActivate(Fe,ut){var Ut=this;return(0,a.A)(function*(){(yield Ut.permissionsService.hasCameraPermission())===_e.GRANTED?(document.body.style.backgroundColor="transparent",Ut._hasCameraPermission.next(!0),Ut.startScan(Fe,ut)):Ut._hasCameraPermission.next(!1)})()}startScan(Fe,ut=null){this.scan(Fe,ut)}checkScan(Fe){console.error(`The checkScan method needs to be overwritten. Ignoring text ${Fe}`)}scan(Fe,ut=null){var Ut=this;this.isActive=!0;let gn=this.utilService.translateMessage("SCAN_QR_INSTRUCTION");window.qrScanner.startScanner("Scan",gn,"#0b0b0b",gn,!1,this.platform.isRTL,function(){var _n=(0,a.A)(function*(Gn){Fe(Gn),Ut.stopScanner()});return function(Gn){return _n.apply(this,arguments)}}(),_n=>{this.stopScanner()})}stopScanner(){this.isActive&&setTimeout(()=>{window.qrScanner.stopScanner(),this.isActive=!1},100)}destroy(){window.qrScanner.stopScanner()}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.KVO(c.OD),p.KVO(Ze.a),p.KVO(Me))},Le.\u0275prov=p.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Ne})(),it=(()=>{var Le;class Ne{constructor(){}updateManifestUrl(Fe){const ut=document.querySelector("#dynamic-manifest");console.log(ut),ut?(ut.href=Fe,console.log("manifestLink.href ----\x3e ",null==ut?void 0:ut.href)):console.error("Manifest link element not found!")}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)},Le.\u0275prov=p.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Ne})();var Pe=E(9030),Be=E(8810),je=E(8793),yt=E(1413),Je=E(5343);const st=new d.c(Je.l);var Ct=E(6365),mt=E(8750),Wt=E(983),Ot=E(9326),Rt=E(6648);function kn(...Le){const Ne=(0,Ot.lI)(Le),Ge=(0,Ot.R0)(Le,1/0),Fe=Le;return Fe.length?1===Fe.length?(0,mt.Tg)(Fe[0]):(0,Ct.U)(Ge)((0,Rt.H)(Fe,Ne)):Wt.w}var bn=E(6354),wn=E(5558),Dn=E(17),Wn=E(8071),Vn=E(9974);const $n={connector:()=>new yt.B};function Xn(Le,Ne=$n){const{connector:Ge}=Ne;return(0,Vn.N)((Fe,ut)=>{const Ut=Ge();(0,mt.Tg)(Le(function Fn(Le){return new d.c(Ne=>Le.subscribe(Ne))}(Ut))).subscribe(ut),ut.add(Fe.subscribe(Ut))})}var $e=E(6697),lt=E(4360),wt=E(3028);function Lt(Le,Ne){return Ne?Ge=>(0,je.x)(Ne.pipe((0,$e.s)(1),function Tt(){return(0,Vn.N)((Le,Ne)=>{Le.subscribe((0,lt._)(Ne,Je.l))})}()),Ge.pipe(Lt(Le))):(0,wt.Z)((Ge,Fe)=>(0,mt.Tg)(Le(Ge,Fe)).pipe((0,$e.s)(1),(0,ae.u)(Ge)))}const Jt="Service workers are disabled or not supported by this browser";class Tn{constructor(Ne){if(this.serviceWorker=Ne,Ne){const Fe=(0,Se.R)(Ne,"controllerchange").pipe((0,bn.T)(()=>Ne.controller)),ut=(0,Pe.v)(()=>(0,oe.of)(Ne.controller)),Ut=(0,je.x)(ut,Fe);this.worker=Ut.pipe((0,Ae.p)(Rn=>!!Rn)),this.registration=this.worker.pipe((0,wn.n)(()=>Ne.getRegistration()));const mr=(0,Se.R)(Ne,"message").pipe((0,bn.T)(Rn=>Rn.data)).pipe((0,Ae.p)(Rn=>Rn&&Rn.type)).pipe(function Hn(Le){return Le?Ne=>Xn(Le)(Ne):Ne=>function Yn(Le,Ne){const Ge=(0,Wn.T)(Le)?Le:()=>Le;return(0,Wn.T)(Ne)?Xn(Ne,{connector:Ge}):Fe=>new Dn.G(Fe,Ge)}(new yt.B)(Ne)}());mr.connect(),this.events=mr}else this.worker=this.events=this.registration=function Zt(Le){return(0,Pe.v)(()=>(0,Be.$)(new Error(Le)))}(Jt)}postMessage(Ne,Ge){return this.worker.pipe((0,$e.s)(1),(0,ve.M)(Fe=>{Fe.postMessage({action:Ne,...Ge})})).toPromise().then(()=>{})}postMessageWithOperation(Ne,Ge,Fe){const ut=this.waitForOperationCompleted(Fe),Ut=this.postMessage(Ne,Ge);return Promise.all([Ut,ut]).then(([,gn])=>gn)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Ne){let Ge;return Ge="string"==typeof Ne?Fe=>Fe.type===Ne:Fe=>Ne.includes(Fe.type),this.events.pipe((0,Ae.p)(Ge))}nextEventOfType(Ne){return this.eventsOfType(Ne).pipe((0,$e.s)(1))}waitForOperationCompleted(Ne){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Ae.p)(Ge=>Ge.nonce===Ne),(0,$e.s)(1),(0,bn.T)(Ge=>{if(void 0!==Ge.result)return Ge.result;throw new Error(Ge.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let An=(()=>{var Le;class Ne{get isEnabled(){return this.sw.isEnabled}constructor(Fe){if(this.sw=Fe,this.pushManager=null,this.subscriptionChanges=new yt.B,!Fe.isEnabled)return this.messages=st,this.notificationClicks=st,void(this.subscription=st);this.messages=this.sw.eventsOfType("PUSH").pipe((0,bn.T)(Ut=>Ut.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,bn.T)(Ut=>Ut.data)),this.pushManager=this.sw.registration.pipe((0,bn.T)(Ut=>Ut.pushManager));const ut=this.pushManager.pipe((0,wn.n)(Ut=>Ut.getSubscription()));this.subscription=kn(ut,this.subscriptionChanges)}requestSubscription(Fe){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Jt));const ut={userVisibleOnly:!0};let Ut=this.decodeBase64(Fe.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),gn=new Uint8Array(new ArrayBuffer(Ut.length));for(let _n=0;_n_n.subscribe(ut)),(0,$e.s)(1)).toPromise().then(_n=>(this.subscriptionChanges.next(_n),_n))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,$e.s)(1),(0,wn.n)(ut=>{if(null===ut)throw new Error("Not subscribed to push notifications.");return ut.unsubscribe().then(Ut=>{if(!Ut)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Jt))}decodeBase64(Fe){return atob(Fe)}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.KVO(Tn))},Le.\u0275prov=p.jDH({token:Le,factory:Le.\u0275fac}),Ne})(),Kn=(()=>{var Le;class Ne{get isEnabled(){return this.sw.isEnabled}constructor(Fe){if(this.sw=Fe,!Fe.isEnabled)return this.versionUpdates=st,void(this.unrecoverable=st);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Jt));const Fe=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:Fe},Fe)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Jt));const Fe=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:Fe},Fe)}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.KVO(Tn))},Le.\u0275prov=p.jDH({token:Le,factory:Le.\u0275fac}),Ne})();const hr=new p.nKC("");function Ke(Le,Ne,Ge,Fe){return()=>{if(!(0,_.UE)(Fe)||!("serviceWorker"in navigator)||!1===Ge.enabled)return;let ut;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof Ge.registrationStrategy)ut=Ge.registrationStrategy();else{const[gn,..._n]=(Ge.registrationStrategy||"registerWhenStable:30000").split(":");switch(gn){case"registerImmediately":ut=(0,oe.of)(null);break;case"registerWithDelay":ut=et(+_n[0]||0);break;case"registerWhenStable":ut=_n[0]?kn(Te(Le),et(+_n[0])):Te(Le);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${Ge.registrationStrategy}`)}}Le.get(p.SKi).runOutsideAngular(()=>ut.pipe((0,$e.s)(1)).subscribe(()=>navigator.serviceWorker.register(Ne,{scope:Ge.scope}).catch(gn=>console.error("Service worker registration failed with:",gn))))}}function et(Le){return(0,oe.of)(null).pipe(function Yt(Le,Ne=f){const Ge=V(Le,Ne);return Lt(()=>Ge)}(Le))}function Te(Le){return Le.get(p.o8S).isStable.pipe((0,Ae.p)(Ge=>Ge))}function qe(Le,Ne){return new Tn((0,_.UE)(Ne)&&!1!==Le.enabled?navigator.serviceWorker:void 0)}class bt{}function Kt(Le,Ne={}){return(0,p.EmA)([An,Kn,{provide:hr,useValue:Le},{provide:bt,useValue:Ne},{provide:Tn,useFactory:qe,deps:[bt,p.Agw]},{provide:p.hnV,useFactory:Ke,deps:[p.zZn,hr,bt,p.Agw],multi:!0}])}let hn=(()=>{var Le;class Ne{static register(Fe,ut={}){return{ngModule:Ne,providers:[Kt(Fe,ut)]}}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)},Le.\u0275mod=p.$C({type:Le}),Le.\u0275inj=p.G2t({providers:[An,Kn]}),Ne})();var Et=E(446),zt=E(5173);const ye=(Le,Ne)=>({title_bb:Le,animate_title:Ne});function We(Le,Ne){if(1&Le&&(p.j41(0,"ion-title",27),p.EFF(1),p.k0s()),2&Le){const Ge=p.XpG(2);p.Y8G("ngClass",p.l_i(2,ye,null==Ge.headerConfig?null:Ge.headerConfig.showbackButton,(null==Ge.headerConfig?null:Ge.headerConfig.pageTitle)==Ge.appName)),p.R7$(),p.JRh(null==Ge.configVariables?null:Ge.configVariables.siteName)}}function dt(Le,Ne){if(1&Le&&(p.j41(0,"ion-title",28),p.EFF(1),p.k0s()),2&Le){const Ge=p.XpG(2);p.R7$(),p.JRh(null==Ge.headerConfig?null:Ge.headerConfig.pageTitle)}}function xt(Le,Ne){1&Le&&(p.nrm(0,"ion-input",29,0),p.nI1(2,"translate")),2&Le&&p.Y8G("placeholder",p.bMT(2,1,"SEARCH_HINT"))}function Xt(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"ion-button",23),p.bIt("click",function(ut){p.eBV(Ge);const Ut=p.XpG(2);return p.Njj(Ut.emitEvent(ut,"edit"))}),p.nrm(1,"ion-icon",30),p.k0s()}}function $t(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"div",14)(1,"ion-buttons",15)(2,"ion-button",1),p.nrm(3,"ion-icon",16),p.k0s(),p.j41(4,"ion-button",17),p.bIt("click",function(ut){p.eBV(Ge);const Ut=p.XpG();return p.Njj(Ut.emitEvent(ut,"back"))}),p.nrm(5,"ion-icon",18),p.k0s()(),p.DNE(6,We,2,5,"ion-title",19)(7,dt,2,1,"ion-title",20)(8,xt,3,3,"ion-input",21),p.j41(9,"ion-buttons",22)(10,"ion-button",23),p.bIt("click",function(ut){p.eBV(Ge);const Ut=p.XpG();return p.Njj(Ut.emitEvent(ut,"search"))}),p.nrm(11,"ion-icon",24),p.k0s(),p.j41(12,"ion-button",23),p.bIt("click",function(ut){p.eBV(Ge);const Ut=p.XpG();return p.Njj(Ut.emitEvent(ut,"profile"))}),p.nrm(13,"ion-icon",25),p.k0s()(),p.j41(14,"ion-buttons",22),p.DNE(15,Xt,2,0,"ion-button",26),p.k0s()()}if(2&Le){const Ge=p.XpG();p.R7$(2),p.Y8G("hidden",null==Ge.headerConfig?null:Ge.headerConfig.showbackButton),p.R7$(),p.FS9("src",null==Ge.configVariables?null:Ge.configVariables.tenantLogo),p.R7$(),p.Y8G("hidden",!(null!=Ge.headerConfig&&Ge.headerConfig.showbackButton)),p.R7$(2),p.Y8G("ngIf",!(null!=Ge.headerConfig&&Ge.headerConfig.showbackButton&&((null==Ge.headerConfig||null==Ge.headerConfig.actionButtons?null:Ge.headerConfig.actionButtons.indexOf("search"))>=0||(null==Ge.headerConfig||null==Ge.headerConfig.actionButtons?null:Ge.headerConfig.actionButtons.indexOf("edit"))>=0))),p.R7$(),p.Y8G("ngIf",(null==Ge.headerConfig||null==Ge.headerConfig.actionButtons?null:Ge.headerConfig.actionButtons.indexOf("edit"))>=0),p.R7$(),p.Y8G("ngIf",(null==Ge.headerConfig?null:Ge.headerConfig.showbackButton)&&(null==Ge.headerConfig||null==Ge.headerConfig.actionButtons?null:Ge.headerConfig.actionButtons.indexOf("search"))>=0),p.R7$(),p.Y8G("hidden",null==Ge.headerConfig?null:Ge.headerConfig.showbackButton),p.R7$(5),p.Y8G("hidden",!(null!=Ge.headerConfig&&Ge.headerConfig.showbackButton)),p.R7$(),p.Y8G("ngIf",(null==Ge.headerConfig||null==Ge.headerConfig.actionButtons?null:Ge.headerConfig.actionButtons.indexOf("edit"))>=0)}}function an(Le,Ne){1&Le&&p.nrm(0,"img",39)}function ln(Le,Ne){1&Le&&p.nrm(0,"img",40)}function fn(Le,Ne){1&Le&&p.nrm(0,"img",41)}function un(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"div",31)(1,"div",32),p.bIt("click",function(ut){p.eBV(Ge);const Ut=p.XpG();return p.Njj(Ut.emitEvent(ut,"back"))}),p.nrm(2,"ion-icon",33),p.j41(3,"div",34),p.EFF(4),p.nI1(5,"translate"),p.k0s(),p.j41(6,"div",35),p.DNE(7,an,1,0,"img",36)(8,ln,1,0,"img",37)(9,fn,1,0,"img",38),p.k0s()()()}if(2&Le){const Ge=p.XpG();p.R7$(),p.Y8G("ngClass","Parent Tara"===(null==Ge.headerConfig?null:Ge.headerConfig.pageTitle)||"Teacher Tara"===(null==Ge.headerConfig?null:Ge.headerConfig.pageTitle)?"question-bot":""),p.R7$(3),p.JRh(p.bMT(5,5,null==Ge.headerConfig?null:Ge.headerConfig.pageTitle)),p.R7$(3),p.Y8G("ngIf","Katha Sakhi"===(null==Ge.headerConfig?null:Ge.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf","Parent Tara"===(null==Ge.headerConfig?null:Ge.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf","Teacher Tara"===(null==Ge.headerConfig?null:Ge.headerConfig.pageTitle))}}function tn(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"div",23),p.bIt("click",function(){const ut=p.eBV(Ge).$implicit,Ut=p.XpG(2);return p.Njj(Ut.handleFilter(ut))}),p.j41(1,"ion-chip",46),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&Le){const Ge=Ne.$implicit,Fe=p.XpG(2);p.R7$(),p.Y8G("ngClass",(null==Ge?null:Ge.label)==(null==Fe.defaultFilter?null:Fe.defaultFilter.label)?"active":""),p.R7$(),p.JRh(p.bMT(3,2,Ge.label))}}function Mn(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"div",42)(1,"ion-chip",43),p.bIt("click",function(){p.eBV(Ge);const ut=p.XpG();return p.Njj(ut.toggleMenu())}),p.nrm(2,"ion-icon",44),p.k0s(),p.DNE(3,tn,4,4,"div",45),p.k0s()}if(2&Le){const Ge=p.XpG();p.R7$(3),p.Y8G("ngForOf",Ge.filters)}}function Bn(Le,Ne){if(1&Le){const Ge=p.RV6();p.j41(0,"ion-item",47),p.bIt("click",function(ut){const Ut=p.eBV(Ge).$implicit,gn=p.XpG();return p.Njj(gn.emitSideMenuItemEvent(ut,Ut))}),p.j41(1,"ion-label",48),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&Le){const Ge=Ne.$implicit,Fe=p.XpG();p.R7$(),p.Y8G("ngClass",(null==Ge?null:Ge.label)==(null==Fe.defaultFilter?null:Fe.defaultFilter.label)?"active-label":""),p.R7$(),p.JRh(p.bMT(3,2,Ge.label))}}let On=(()=>{var Le;class Ne{constructor(Fe,ut,Ut,gn,_n){this.utilService=Fe,this.telemetryGeneratorService=ut,this.menuCtrl=Ut,this.headerService=gn,this.modalCtrl=_n,this.headerConfig=!1,this.headerEvents=new p.bkB,this.sideMenuItemEvent=new p.bkB,this.isMenuOpen=!1,this.filters=[],this.appVersion="",this.appName="",C.q.getInfo().then(Gn=>{this.appVersion=`v${Gn.version}.${Gn.build}`,this.appName=Gn.name}),Et.g.then(Gn=>{console.log("Configuration:",Gn),this.configVariables=Gn}).catch(Gn=>{console.error("Failed to load configuration:",Gn)})}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.defaultFilter={},Fe.headerService.filterConfigEmitted$.subscribe(ut=>{Fe.filters=[],Fe.defaultFilter=ut.defaultFilter,Fe.filters.push(ut.defaultFilter),ut.filter.forEach(Ut=>{Fe.filters.push(Ut)})}),Fe.appInfo=yield Fe.utilService.getAppInfo()})()}scan(){var Fe=this;return(0,a.A)(function*(){Fe.telemetryGeneratorService.generateInteractTelemetry("TOUCH","qrscanner-clicked","home","home")})()}handleSearch(Fe){var ut=this;return(0,a.A)(function*(){ut.emitEvent(Fe,"search")})()}emitEvent(Fe,ut){"scan"==ut&&this.scan(),this.headerEvents.emit({event:Fe,name:ut})}toggleMenu(){var Fe=this;return(0,a.A)(function*(){yield Fe.menuCtrl.toggle(),Fe.isMenuOpen=yield Fe.menuCtrl.isEnabled()})()}emitSideMenuItemEvent(Fe,ut){this.menuCtrl.close().then(()=>{this.handleFilter(ut)}).catch(Ut=>{this.handleFilter(ut)})}handleFilter(Fe){this.defaultFilter=Fe,this.sideMenuItemEvent.emit({filter:Fe})}navigateToQRScreen(){var Fe=this;return(0,a.A)(function*(){const ut=yield Fe.modalCtrl.create({component:me,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield ut.present(),ut.onDidDismiss()})()}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.rXU(T.a0),p.rXU(zt.O),p.rXU(D._t),p.rXU(T.Ux),p.rXU(D.W3))},Le.\u0275cmp=p.VBU({type:Le,selectors:[["app-application-header"]],inputs:{headerConfig:"headerConfig"},outputs:{headerEvents:"headerEvents",sideMenuItemEvent:"sideMenuItemEvent"},decls:22,vars:14,consts:[["searchInput",""],[3,"hidden"],[1,"custom-header"],["class","header-content",4,"ngIf"],["class","bot-back-panel",4,"ngIf"],["class","pills-container",4,"ngIf"],["contentId","mainContent","side","start","persistent","true",1,"sb-side-menu",3,"swipeGesture"],[1,"filter_title"],[1,"ion-padding"],[1,"sb-menu-list"],["lines","none",3,"click",4,"ngFor","ngForOf"],[1,"footer_menu"],["role","button","menuClose","",1,"sb-menu-item"],["role","button","menuClose",""],[1,"header-content"],["slot","start",1,"start-icon"],["aria-hidden","true",1,"pitara-icon",3,"src"],[3,"click","hidden"],["aria-hidden","true","src","assets/icon/back.svg",1,"back-btn"],["role","heading","aria-level","1",3,"ngClass",4,"ngIf"],["role","heading","aria-level","1",4,"ngIf"],["type","search",3,"placeholder",4,"ngIf"],["slot","end",3,"hidden"],[3,"click"],["aria-hidden","true","src","assets/icon/search.svg"],["aria-hidden","true","src","assets/icon/language-icon.svg"],[3,"click",4,"ngIf"],["role","heading","aria-level","1",3,"ngClass"],["role","heading","aria-level","1"],["type","search",3,"placeholder"],["aria-hidden","true","src","assets/icon/edit.svg",1,"edit-icon"],[1,"bot-back-panel"],[1,"bot-back-panel-container",3,"click","ngClass"],["aria-hidden","true","src","assets/icon/bot-back-icon.svg"],[1,"bot-back-panel__title"],[1,"logo"],["src","../../../assets/images/story_sakhi.png","alt","",4,"ngIf"],["src","../../../assets/images/parent_sakhi.png","alt","",4,"ngIf"],["src","../../../assets/images/teacher_sakhi.png","alt","",4,"ngIf"],["src","../../../assets/images/story_sakhi.png","alt",""],["src","../../../assets/images/parent_sakhi.png","alt",""],["src","../../../assets/images/teacher_sakhi.png","alt",""],[1,"pills-container"],[1,"pills",3,"click"],["aria-hidden","true","src","assets/icon/list.svg"],[3,"click",4,"ngFor","ngForOf"],[1,"pills",3,"ngClass"],["lines","none",3,"click"],["role","button","menuClose","",1,"sb-menu-item",3,"ngClass"]],template:function(Fe,ut){1&Fe&&(p.j41(0,"ion-header",1)(1,"ion-toolbar",2),p.DNE(2,$t,16,9,"div",3)(3,un,10,7,"div",4)(4,Mn,4,1,"div",5),p.k0s()(),p.j41(5,"ion-menu",6)(6,"ion-header")(7,"ion-toolbar")(8,"ion-title",7),p.EFF(9),p.nI1(10,"translate"),p.k0s()()(),p.j41(11,"ion-content",8)(12,"ion-list",9),p.DNE(13,Bn,4,4,"ion-item",10),p.k0s()(),p.j41(14,"ion-footer")(15,"div",11)(16,"ion-label",12),p.EFF(17),p.nI1(18,"translate"),p.k0s(),p.j41(19,"ion-label",13)(20,"span"),p.EFF(21),p.k0s()()()()()),2&Fe&&(p.Y8G("hidden",!(null!=ut.headerConfig&&ut.headerConfig.showHeader)),p.R7$(2),p.Y8G("ngIf","bot"!==(null==ut.headerConfig?null:ut.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf","bot"===(null==ut.headerConfig?null:ut.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf",!(null!=ut.headerConfig&&ut.headerConfig.showbackButton)&&"My Jaadui Pitara"!==(null==ut.headerConfig?null:ut.headerConfig.pageTitle)),p.R7$(),p.Y8G("swipeGesture",!1),p.R7$(4),p.JRh(p.bMT(10,10,"All Categories")),p.R7$(4),p.Y8G("ngForOf",ut.filters),p.R7$(4),p.Lme("",p.bMT(18,12,"Version: ")," ",ut.appVersion,""),p.R7$(4),p.JRh(null==ut.configVariables?null:ut.configVariables.siteName))},dependencies:[_.YU,_.Sq,_.bT,D.Jm,D.QW,D.ZB,D.W9,D.M0,D.eU,D.iq,D.$w,D.uz,D.he,D.nf,D.oS,D.BC,D.ai,D.Gw,w.D9],styles:["ion-header[_ngcontent-%COMP%]{box-shadow:none} .toolbar-container{padding:0!important;min-height:auto}.active-label[_ngcontent-%COMP%]{color:var(--ion-color-primary)}ion-icon[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;margin-left:0}.start-icon[_ngcontent-%COMP%] ion-icon.pitara-icon[_ngcontent-%COMP%]{width:2.5rem;height:2.5rem}.header-content[_ngcontent-%COMP%]{display:flex}.pills-container[_ngcontent-%COMP%]{display:grid;gap:.25rem;overflow-y:auto;overflow-x:auto;grid-auto-flow:column;padding:1rem .5rem;grid-auto-columns:max-content}.pills-container[_ngcontent-%COMP%] .pills[_ngcontent-%COMP%]{padding:.375rem .75rem;text-transform:capitalize;border-radius:.625rem;font-size:.75rem;width:max-content}.pills-container[_ngcontent-%COMP%] .pills.active[_ngcontent-%COMP%]{background-color:var(--ion-color-secondary-contrast);color:var(--ion-color-primary-contrast)}.pills-container[_ngcontent-%COMP%] .pills[_ngcontent-%COMP%] icon-icon[_ngcontent-%COMP%]{margin-left:0}.sb-side-menu[_ngcontent-%COMP%]{--max-width: 68%}.sb-side-menu[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{--background: var(--ion-color-primary-contrast);--color: var(--ion-color-secondary-contrast);margin:0 0 0 1.5rem}.sb-side-menu[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%] .filter_title[_ngcontent-%COMP%]{width:100%!important}.sb-side-menu[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{display:flex;align-items:center}.sb-side-menu[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block}.sb-side-menu[_ngcontent-%COMP%] .sb-menu-list[_ngcontent-%COMP%]{padding:0!important}span[_ngcontent-%COMP%]{font-size:12px}.custom-header[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%]{color:#cf4147}.custom-header[_ngcontent-%COMP%] .title_bb[_ngcontent-%COMP%]{color:#000}.bot-back-panel[_ngcontent-%COMP%]{padding-bottom:2rem;background:url(Doodles.5521a3972f72a279.svg) center center/cover no-repeat;background-color:#fffaee}.bot-back-panel[_ngcontent-%COMP%] .bot-back-panel-container[_ngcontent-%COMP%]{background:var(--ion-color-primary);height:4rem;padding:1rem;display:flex;align-items:center}.bot-back-panel[_ngcontent-%COMP%] .bot-back-panel-container.question-bot[_ngcontent-%COMP%]{background:var(--ion-color-tertiary)}.bot-back-panel[_ngcontent-%COMP%] .bot-back-panel-container[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)}.bot-back-panel__title[_ngcontent-%COMP%]{font-size:1rem;font-style:normal;font-weight:700;color:var(--ion-color-primary-contrast);padding:0 .5rem}.edit-icon[_ngcontent-%COMP%]{width:1.2rem;height:1.2rem}.back-btn[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.logo[_ngcontent-%COMP%]{position:absolute;right:0;top:-.5rem;width:7rem}ion-title[_ngcontent-%COMP%]{font-weight:700;padding:0 .5rem 0 0;font-size:1rem;width:48%}.animate_title[_ngcontent-%COMP%]{background-image:linear-gradient(-225deg,#fcb915 5%,#cf4147 29%,#b6393e 67%,#ec5050);background-size:auto auto;background-clip:border-box;background-size:200% auto;background-clip:text;text-fill-color:transparent;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:_ngcontent-%COMP%_textclip 2s linear infinite;font-weight:700;padding:0 .5rem 0 0;font-size:.8rem}@keyframes _ngcontent-%COMP%_textclip{to{background-position:200% center}}.footer_menu[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:column;margin:.5rem 1.5rem}"]}),Ne})();const pr=["mainContent"];let X=(()=>{var Le;class Ne{constructor(Fe,ut,Ut,gn,_n,Gn,mr,Rn,Pn,Mr,qo,qi){this.headerService=Fe,this.telemetryAutoSyncService=ut,this.scannerService=Ut,this.popoverCtrl=gn,this.modalCtrl=_n,this.router=Gn,this.alertController=mr,this.location=Rn,this.route=Pn,this.platform=Mr,this.manifestService=qo,this.swUpdate=qi,this.langModalOpen=!1,this.count=0,this.optModalOpen=!1,this.languages=[],this.exitModalPresented=!1,this.environmentInjector=(0,p.WQX)(p.uvJ);const Hi=this.getManifestUrlBasedOnLogic();this.manifestService.updateManifestUrl(Hi),this.initializeApp(),this.initialize()}getManifestUrlBasedOnLogic(){return`assets/manifests/${new URL(document.baseURI).hostname.split(".")[0]}.webmanifest`}initializeApp(){history.pushState(null,"",location.href),this.swUpdate.versionUpdates.subscribe(Fe=>{switch(Fe.type){case"VERSION_DETECTED":console.log(`Downloading new app version: ${Fe.version.hash}`),this.presentUpdateAlert();break;case"VERSION_READY":console.log(`Current app version: ${Fe.currentVersion.hash}`),console.log(`New app version ready for use: ${Fe.latestVersion.hash}`);break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${Fe.version.hash}': ${Fe.error}`)}})}initialize(){var Fe=this;return(0,a.A)(function*(){window.onpopstate=(0,a.A)(function*(){history.pushState(null,"",location.href);const ut=yield Fe.modalCtrl.getTop();ut&&ut.dismiss()})})()}presentExitConfirmationModal(){var Fe=this;return(0,a.A)(function*(){let ut;Fe.exitModalPresented=!0,setTimeout(()=>{Fe.exitModalPresented=!1},4e3),Fe.optModalOpen=!0,ut=yield Fe.modalCtrl.create({component:te.Z,cssClass:"sheet-modal",breakpoints:[.2],showBackdrop:!1,backdropDismiss:!1,initialBreakpoint:.2,handle:!1,handleBehavior:"none"}),yield ut.present(),ut.onDidDismiss().then(Ut=>{Fe.optModalOpen=!1,Ut.data&&Ut.data&&(window.close(),C.q.exitApp())})})()}presentUpdateAlert(){var Fe=this;return(0,a.A)(function*(){yield(yield Fe.alertController.create({header:"Update Available",message:"A new version of the application is available. Load it?",buttons:[{text:"Yes",handler:()=>{window.location.reload()}}]})).present()})()}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.findSiteSubDomain(),Fe.headerService.headerConfigEmitted$.subscribe(ut=>{Fe.headerConfig=ut}),Fe.headerService.filterConfigEmitted$.subscribe(ut=>{Fe.languages=ut.languages}),Fe.autoSyncTelemetry(),C.q.addListener("pause",()=>Fe.telemetryAutoSyncService.pause()),C.q.addListener("resume",()=>Fe.telemetryAutoSyncService.continue())})()}findSiteSubDomain(){const Ut=new URL(document.baseURI).hostname.split(".");localStorage.setItem("subDomain",Ut[0])}handleHeaderEvents(Fe){var ut=this;return(0,a.A)(function*(){console.log("events",Fe),"scan"==Fe.name?ut.scannerService.requestPermission(Ut=>{if("cancel"===Ut||"cancel_hw_back"===Ut||"cancel_nav_back"===Ut)return;console.log("Scan Result",Ut);let gn="";const _n=new RegExp("(/dial/(?[a-zA-Z0-9]+)|(/QR/\\?id=(?[a-zA-Z0-9]+)))").exec(Ut);_n&&_n.length>1&&(gn=null==_n?void 0:_n.groups[Object.keys(null==_n?void 0:_n.groups).find(Gn=>!(null==_n||!_n.groups[Gn]))]),console.log("Scanned Value",gn),gn?ut.router.navigate(["/qr-scan-result"],{state:{scannedData:gn}}):ut.handleInvalidQRcode(Ut)},Ut=>{console.warn(Ut)}):"profile"==Fe.name?ut.langModalOpen||(ut.presentModal(Fe),ut.langModalOpen=!0):"search"==Fe.name&&ut.router.navigate(["/search"]),ut.headerService.sidebarEvent(Fe)})()}presentModal(Fe){var ut=this;return(0,a.A)(function*(){const Ut=yield ut.popoverCtrl.create({component:A,componentProps:{languages:ut.languages},cssClass:"lang-modal",event:Fe,translucent:!0,dismissOnSelect:!0});yield Ut.present(),Ut.onDidDismiss().then(gn=>{console.log("dismiss"),ut.langModalOpen=!1,ut.headerService.sidebarEvent({name:"language"})})})()}menuItemAction(Fe){var ut=this;return(0,a.A)(function*(){ut.headerService.sideMenuItemEvents(Fe)})()}autoSyncTelemetry(){this.telemetryAutoSyncService.start(3e4).subscribe()}handleInvalidQRcode(Fe){var ut=this;return(0,a.A)(function*(){const Ut=yield ut.modalCtrl.create({component:me,componentProps:{scannedData:Fe},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield Ut.present(),Ut.onDidDismiss()})()}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.rXU(se.U),p.rXU(tt),p.rXU(Ve),p.rXU(D.IE),p.rXU(D.W3),p.rXU(R.Ix),p.rXU(D.hG),p.rXU(_.aZ),p.rXU(R.nX),p.rXU(c.OD),p.rXU(it),p.rXU(Kn))},Le.\u0275cmp=p.VBU({type:Le,selectors:[["app-root"]],viewQuery:function(Fe,ut){if(1&Fe&&p.GBs(pr,5,D.Rg),2&Fe){let Ut;p.mGM(Ut=p.lsd())&&(ut.routerOutlet=Ut.first)}},decls:8,vars:2,consts:[["ionRouterOutlet",""],[2,"z-index","1"],[3,"headerEvents","sideMenuItemEvent","headerConfig"],["contentId","mainContent"],["id","mainContent","main","",3,"swipeGesture"]],template:function(Fe,ut){if(1&Fe){const Ut=p.RV6();p.j41(0,"ion-app")(1,"div",1)(2,"app-application-header",2),p.bIt("headerEvents",function(_n){return p.eBV(Ut),p.Njj(ut.handleHeaderEvents(_n))})("sideMenuItemEvent",function(_n){return p.eBV(Ut),p.Njj(ut.menuItemAction(_n))}),p.k0s()(),p.j41(3,"ion-split-pane",3),p.nrm(4,"ion-router-outlet",4,0),p.k0s(),p.nrm(6,"ion-router-outlet")(7,"app-tabs"),p.k0s()}2&Fe&&(p.R7$(2),p.Y8G("headerConfig",ut.headerConfig),p.R7$(2),p.Y8G("swipeGesture",!1))},dependencies:[D.U1,D.HP,D.Rg,On]}),Ne})();const Ue=[{path:"",loadChildren:()=>E.e(786).then(E.bind(E,786)).then(Le=>Le.SplashPageModule),pathMatch:"full"},{path:"tabs",loadChildren:()=>E.e(5695).then(E.bind(E,5695)).then(Le=>Le.TabsPageModule)},{path:"home",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(4392)]).then(E.bind(E,4392)).then(Le=>Le.HomePageModule)},{path:"my-pitara",loadChildren:()=>Promise.all([E.e(2076),E.e(4567)]).then(E.bind(E,4567)).then(Le=>Le.MyPitaraPageModule)},{path:"story",loadChildren:()=>Promise.all([E.e(4503),E.e(2648)]).then(E.bind(E,2648)).then(Le=>Le.StoryPageModule)},{path:"player",loadChildren:()=>E.e(7916).then(E.bind(E,7916)).then(Le=>Le.PlayerPageModule)},{path:"teacher-sakhi",loadChildren:()=>Promise.all([E.e(4503),E.e(1177)]).then(E.bind(E,1177)).then(Le=>Le.TeacherSakhiPageModule)},{path:"view-all",loadChildren:()=>Promise.all([E.e(5006),E.e(6674),E.e(3119)]).then(E.bind(E,3119)).then(Le=>Le.ViewAllPageModule)},{path:"create-playlist",loadChildren:()=>Promise.all([E.e(6674),E.e(3066)]).then(E.bind(E,3066)).then(Le=>Le.CreatePlaylistPageModule)},{path:"search",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(1983)]).then(E.bind(E,1983)).then(Le=>Le.SearchPageModule)},{path:"qr-scan-result",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(8592)]).then(E.bind(E,8592)).then(Le=>Le.QrScanResultPageModule)},{path:"parent-sakhi",loadChildren:()=>Promise.all([E.e(4503),E.e(101)]).then(E.bind(E,101)).then(Le=>Le.ParentSakhiPageModule)},{path:"playlist-details",loadChildren:()=>Promise.all([E.e(2076),E.e(4294)]).then(E.bind(E,4294)).then(Le=>Le.PlaylistDetailsPageModule)}];let le=(()=>{var Le;class Ne{}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)},Le.\u0275mod=p.$C({type:Le}),Le.\u0275inj=p.G2t({imports:[R.iI.forRoot(Ue,{preloadingStrategy:R.Kp}),R.iI]}),Ne})();var Ye=E(5553);class Bt{constructor(Ne,Ge="/assets/i18n/",Fe=".json"){this.http=Ne,this.prefix=Ge,this.suffix=Fe}getTranslation(Ne){return this.http.get(`${this.prefix}${Ne}${this.suffix}`)}}var Ln=E(1626),cr=E(3486),Dr=E(4591),qr=E(6011),Qr=E(1765),ii=E(444),zr=E(7803),Ui=E(3696),Ar=E(3871),xi=E(2918),jn=E(1113),vi=E(3721),Ti=E(8402),bi=E(4447),Di=E(3172);function Vi(Le){return new Bt(Le,"./assets/i18n/",".json")}function Ai(Le){return()=>Le.initializePlugin()}let ji=(()=>{var Le;class Ne{constructor(Fe,ut){this.translate=Fe,this.storage=ut,this.storage.getData("lang").then(Ut=>{Ut||this.setDefaultLanguage()})}setDefaultLanguage(){this.storage.setData("lang","hi"),this.translate.setDefaultLang("hi"),this.translate.use("hi")}}return(Le=Ne).\u0275fac=function(Fe){return new(Fe||Le)(p.KVO(w.c$),p.KVO(cr.n))},Le.\u0275mod=p.$C({type:Le,bootstrap:[X]}),Le.\u0275inj=p.G2t({providers:[{provide:R.b,useClass:c.jM},cr.n,Dr.a,qr.H,Qr.H,tt,se.U,Ze.a,ii.f,zr.q,T.Gf,Ui.w,T.hs,T.q4,T.XU,Ar.d,T.XI,xi.B,zt.O,Ve,Me,He,T.Sc,jn.q,T.F_,Ti.Z,T.MK,bi.i,Kn,{provide:p.hnV,useFactory:Ai,deps:[Dr.a],multi:!0}],imports:[S.Bb,D.bv.forRoot(),le,Ln.q1,w.h.forRoot({loader:{provide:w.Wr,useFactory:Vi,deps:[Ln.Qq]}}),Ye.h,vi.h,hn.register("ngsw-worker.js",{enabled:Di.c.production})]}),Ne})();var mi=E(1288),Ji=E(9657);const oi=function(){var Le=(0,a.A)(function*(Ne,Ge){if(!(typeof window>"u"))return yield,(0,Ji.b)([["jeep-sqlite",[[1,"jeep-sqlite",{autoSave:[516,"autosave"],typeOrm:[516,"typeorm"],wasmPath:[513,"wasmpath"],pickText:[513,"picktext"],saveText:[513,"savetext"],buttonOptions:[513,"buttonoptions"],innerAutoSave:[32],innerTypeOrm:[32],innerWasmPath:[32],innerPickText:[32],innerSaveText:[32],innerButtonOptions:[32],echo:[64],createConnection:[64],isConnection:[64],closeConnection:[64],open:[64],close:[64],getVersion:[64],beginTransaction:[64],commitTransaction:[64],rollbackTransaction:[64],isTransactionActive:[64],execute:[64],executeSet:[64],run:[64],query:[64],getTableList:[64],isDBExists:[64],isDBOpen:[64],deleteDatabase:[64],isStoreOpen:[64],copyFromAssets:[64],isTableExists:[64],createSyncTable:[64],getSyncDate:[64],setSyncDate:[64],isJsonValid:[64],importFromJson:[64],exportToJson:[64],deleteExportedRows:[64],addUpgradeStatement:[64],isDatabase:[64],getDatabaseList:[64],checkConnectionsConsistency:[64],saveToStore:[64],saveToLocalDisk:[64],getFromLocalDiskToStore:[64],getFromHTTPRequest:[64]},null,{autoSave:["parseAutoSave"],typeOrm:["parseTypeOrm"],wasmPath:["parseWasmPath"],pickText:["parsePickText"],saveText:["parseSaveText"],buttonOptions:["parseButtonOptions"]}]]]],Ge)});return function(Ge,Fe){return Le.apply(this,arguments)}}();var Pi=E(5083);(0,p.SmG)(),"web"===Pi.Ii.getPlatform()&&(window,typeof window>"u"?Promise.resolve():(0,mi.p)().then(()=>(0,mi.b)([["pwa-camera-modal",[[1,"pwa-camera-modal",{facingMode:[1,"facing-mode"],hidePicker:[4,"hide-picker"],present:[64],dismiss:[64]}]]],["pwa-action-sheet",[[1,"pwa-action-sheet",{header:[1],cancelable:[4],options:[16],open:[32]}]]],["pwa-toast",[[1,"pwa-toast",{message:[1],duration:[2],closing:[32]}]]],["pwa-camera",[[1,"pwa-camera",{facingMode:[1,"facing-mode"],handlePhoto:[16],hidePicker:[4,"hide-picker"],handleNoDeviceError:[16],noDevicesText:[1,"no-devices-text"],noDevicesButtonText:[1,"no-devices-button-text"],photo:[32],photoSrc:[32],showShutterOverlay:[32],flashIndex:[32],hasCamera:[32],rotation:[32],deviceError:[32]}]]],["pwa-camera-modal-instance",[[1,"pwa-camera-modal-instance",{facingMode:[1,"facing-mode"],hidePicker:[4,"hide-picker"],noDevicesText:[1,"no-devices-text"],noDevicesButtonText:[1,"no-devices-button-text"]},[[16,"keyup","handleBackdropKeyUp"]]]]]],undefined)),oi(window),window.addEventListener("DOMContentLoaded",(0,a.A)(function*(){const Le=document.createElement("jeep-sqlite");document.body.appendChild(Le),yield customElements.whenDefined("jeep-sqlite"),Le.autoSave=!0}))),S.sG().bootstrapModule(ji).catch(Le=>console.log(Le))},1990:(Ce,ee,E)=>{var a=ee;a.bignum=E(6867),a.define=E(6626).define,a.base=E(5066),a.constants=E(7740),a.decoders=E(1558),a.encoders=E(2714)},6626:(Ce,ee,E)=>{var a=E(1990),S=E(1993);function R(c,D){this.name=c,this.body=D,this.decoders={},this.encoders={}}ee.define=function(D,C){return new R(D,C)},R.prototype._createNamed=function(D){var C;try{C=E(8326).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch{C=function(T){this._initNamed(T)}}return S(C,D),C.prototype._initNamed=function(T){D.call(this,T)},new C(this)},R.prototype._getDecoder=function(D){return this.decoders.hasOwnProperty(D=D||"der")||(this.decoders[D]=this._createNamed(a.decoders[D])),this.decoders[D]},R.prototype.decode=function(D,C,w){return this._getDecoder(C).decode(D,w)},R.prototype._getEncoder=function(D){return this.encoders.hasOwnProperty(D=D||"der")||(this.encoders[D]=this._createNamed(a.encoders[D])),this.encoders[D]},R.prototype.encode=function(D,C,w){return this._getEncoder(C).encode(D,w)}},7290:(Ce,ee,E)=>{var a=E(1993),S=E(5066).Reporter,p=E(3838).Buffer;function R(D,C){S.call(this,C),p.isBuffer(D)?(this.base=D,this.offset=0,this.length=D.length):this.error("Input not Buffer")}function c(D,C){if(Array.isArray(D))this.length=0,this.value=D.map(function(w){return w instanceof c||(w=new c(w,C)),this.length+=w.length,w},this);else if("number"==typeof D){if(!(0<=D&&D<=255))return C.error("non-byte EncoderBuffer value");this.value=D,this.length=1}else if("string"==typeof D)this.value=D,this.length=p.byteLength(D);else{if(!p.isBuffer(D))return C.error("Unsupported type: "+typeof D);this.value=D,this.length=D.length}}a(R,S),ee.t=R,R.prototype.save=function(){return{offset:this.offset,reporter:S.prototype.save.call(this)}},R.prototype.restore=function(C){var w=new R(this.base);return w.offset=C.offset,w.length=this.offset,this.offset=C.offset,S.prototype.restore.call(this,C.reporter),w},R.prototype.isEmpty=function(){return this.offset===this.length},R.prototype.readUInt8=function(C){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(C||"DecoderBuffer overrun")},R.prototype.skip=function(C,w){if(!(this.offset+C<=this.length))return this.error(w||"DecoderBuffer overrun");var T=new R(this.base);return T._reporterState=this._reporterState,T.offset=this.offset,T.length=this.offset+C,this.offset+=C,T},R.prototype.raw=function(C){return this.base.slice(C?C.offset:this.offset,this.length)},ee.d=c,c.prototype.join=function(C,w){return C||(C=new p(this.length)),w||(w=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(T){T.join(C,w),w+=T.length}):("number"==typeof this.value?C[w]=this.value:"string"==typeof this.value?C.write(this.value,w):p.isBuffer(this.value)&&this.value.copy(C,w),w+=this.length)),C}},5066:(Ce,ee,E)=>{var a=ee;a.Reporter=E(5697).a,a.DecoderBuffer=E(7290).t,a.EncoderBuffer=E(7290).d,a.Node=E(4320)},4320:(Ce,ee,E)=>{var a=E(5066).Reporter,S=E(5066).EncoderBuffer,p=E(5066).DecoderBuffer,R=E(9210),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],D=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);function w(_,g){var F={};this._baseState=F,F.enc=_,F.parent=g||null,F.children=null,F.tag=null,F.args=null,F.reverseArgs=null,F.choice=null,F.optional=!1,F.any=!1,F.obj=!1,F.use=null,F.useDecoder=null,F.key=null,F.default=null,F.explicit=null,F.implicit=null,F.contains=null,F.parent||(F.children=[],this._wrap())}Ce.exports=w;var T=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];w.prototype.clone=function(){var g=this._baseState,F={};T.forEach(function(B){F[B]=g[B]});var A=new this.constructor(F.parent);return A._baseState=F,A},w.prototype._wrap=function(){var g=this._baseState;D.forEach(function(F){this[F]=function(){var B=new this.constructor(this);return g.children.push(B),B[F].apply(B,arguments)}},this)},w.prototype._init=function(g){var F=this._baseState;R(null===F.parent),g.call(this),F.children=F.children.filter(function(A){return A._baseState.parent===this},this),R.equal(F.children.length,1,"Root node can have only one child")},w.prototype._useArgs=function(g){var F=this._baseState,A=g.filter(function(B){return B instanceof this.constructor},this);g=g.filter(function(B){return!(B instanceof this.constructor)},this),0!==A.length&&(R(null===F.children),F.children=A,A.forEach(function(B){B._baseState.parent=this},this)),0!==g.length&&(R(null===F.args),F.args=g,F.reverseArgs=g.map(function(B){if("object"!=typeof B||B.constructor!==Object)return B;var P={};return Object.keys(B).forEach(function($){$==(0|$)&&($|=0),P[B[$]]=$}),P}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(_){w.prototype[_]=function(){throw new Error(_+" not implemented for encoding: "+this._baseState.enc)}}),c.forEach(function(_){w.prototype[_]=function(){var F=this._baseState,A=Array.prototype.slice.call(arguments);return R(null===F.tag),F.tag=_,this._useArgs(A),this}}),w.prototype.use=function(g){R(g);var F=this._baseState;return R(null===F.use),F.use=g,this},w.prototype.optional=function(){return this._baseState.optional=!0,this},w.prototype.def=function(g){var F=this._baseState;return R(null===F.default),F.default=g,F.optional=!0,this},w.prototype.explicit=function(g){var F=this._baseState;return R(null===F.explicit&&null===F.implicit),F.explicit=g,this},w.prototype.implicit=function(g){var F=this._baseState;return R(null===F.explicit&&null===F.implicit),F.implicit=g,this},w.prototype.obj=function(){var g=this._baseState,F=Array.prototype.slice.call(arguments);return g.obj=!0,0!==F.length&&this._useArgs(F),this},w.prototype.key=function(g){var F=this._baseState;return R(null===F.key),F.key=g,this},w.prototype.any=function(){return this._baseState.any=!0,this},w.prototype.choice=function(g){var F=this._baseState;return R(null===F.choice),F.choice=g,this._useArgs(Object.keys(g).map(function(A){return g[A]})),this},w.prototype.contains=function(g){var F=this._baseState;return R(null===F.use),F.contains=g,this},w.prototype._decode=function(g,F){var A=this._baseState;if(null===A.parent)return g.wrapResult(A.children[0]._decode(g,F));var O,B=A.default,P=!0,$=null;if(null!==A.key&&($=g.enterKey(A.key)),A.optional){var k=null;if(null!==A.explicit?k=A.explicit:null!==A.implicit?k=A.implicit:null!==A.tag&&(k=A.tag),null!==k||A.any){if(P=this._peekTag(g,k,A.any),g.isError(P))return P}else{var M=g.save();try{null===A.choice?this._decodeGeneric(A.tag,g,F):this._decodeChoice(g,F),P=!0}catch{P=!1}g.restore(M)}}if(A.obj&&P&&(O=g.enterObject()),P){if(null!==A.explicit){var U=this._decodeTag(g,A.explicit);if(g.isError(U))return U;g=U}var j=g.offset;if(null===A.use&&null===A.choice){A.any&&(M=g.save());var W=this._decodeTag(g,null!==A.implicit?A.implicit:A.tag,A.any);if(g.isError(W))return W;A.any?B=g.raw(M):g=W}if(F&&F.track&&null!==A.tag&&F.track(g.path(),j,g.length,"tagged"),F&&F.track&&null!==A.tag&&F.track(g.path(),g.offset,g.length,"content"),A.any||(B=null===A.choice?this._decodeGeneric(A.tag,g,F):this._decodeChoice(g,F)),g.isError(B))return B;if(!A.any&&null===A.choice&&null!==A.children&&A.children.forEach(function(te){te._decode(g,F)}),A.contains&&("octstr"===A.tag||"bitstr"===A.tag)){var ie=new p(B);B=this._getUse(A.contains,g._reporterState.obj)._decode(ie,F)}}return A.obj&&P&&(B=g.leaveObject(O)),null===A.key||null===B&&!0!==P?null!==$&&g.exitKey($):g.leaveKey($,A.key,B),B},w.prototype._decodeGeneric=function(g,F,A){var B=this._baseState;return"seq"===g||"set"===g?null:"seqof"===g||"setof"===g?this._decodeList(F,g,B.args[0],A):/str$/.test(g)?this._decodeStr(F,g,A):"objid"===g&&B.args?this._decodeObjid(F,B.args[0],B.args[1],A):"objid"===g?this._decodeObjid(F,null,null,A):"gentime"===g||"utctime"===g?this._decodeTime(F,g,A):"null_"===g?this._decodeNull(F,A):"bool"===g?this._decodeBool(F,A):"objDesc"===g?this._decodeStr(F,g,A):"int"===g||"enum"===g?this._decodeInt(F,B.args&&B.args[0],A):null!==B.use?this._getUse(B.use,F._reporterState.obj)._decode(F,A):F.error("unknown tag: "+g)},w.prototype._getUse=function(g,F){var A=this._baseState;return A.useDecoder=this._use(g,F),R(null===A.useDecoder._baseState.parent),A.useDecoder=A.useDecoder._baseState.children[0],A.implicit!==A.useDecoder._baseState.implicit&&(A.useDecoder=A.useDecoder.clone(),A.useDecoder._baseState.implicit=A.implicit),A.useDecoder},w.prototype._decodeChoice=function(g,F){var A=this._baseState,B=null,P=!1;return Object.keys(A.choice).some(function($){var k=g.save(),M=A.choice[$];try{var O=M._decode(g,F);if(g.isError(O))return!1;B={type:$,value:O},P=!0}catch{return g.restore(k),!1}return!0},this),P?B:g.error("Choice not matched")},w.prototype._createEncoderBuffer=function(g){return new S(g,this.reporter)},w.prototype._encode=function(g,F,A){var B=this._baseState;if(null===B.default||B.default!==g){var P=this._encodeValue(g,F,A);if(void 0!==P&&!this._skipDefault(P,F,A))return P}},w.prototype._encodeValue=function(g,F,A){var B=this._baseState;if(null===B.parent)return B.children[0]._encode(g,F||new a);var M=null;if(this.reporter=F,B.optional&&void 0===g){if(null===B.default)return;g=B.default}var P=null,$=!1;if(B.any)M=this._createEncoderBuffer(g);else if(B.choice)M=this._encodeChoice(g,F);else if(B.contains)P=this._getUse(B.contains,A)._encode(g,F),$=!0;else if(B.children)P=B.children.map(function(j){if("null_"===j._baseState.tag)return j._encode(null,F,g);if(null===j._baseState.key)return F.error("Child should have a key");var W=F.enterKey(j._baseState.key);if("object"!=typeof g)return F.error("Child expected, but input is not object");var ie=j._encode(g[j._baseState.key],F,g);return F.leaveKey(W),ie},this).filter(function(j){return j}),P=this._createEncoderBuffer(P);else if("seqof"===B.tag||"setof"===B.tag){if(!B.args||1!==B.args.length)return F.error("Too many args for : "+B.tag);if(!Array.isArray(g))return F.error("seqof/setof, but data is not Array");var k=this.clone();k._baseState.implicit=null,P=this._createEncoderBuffer(g.map(function(j){return this._getUse(this._baseState.args[0],g)._encode(j,F)},k))}else null!==B.use?M=this._getUse(B.use,A)._encode(g,F):(P=this._encodePrimitive(B.tag,g),$=!0);if(!B.any&&null===B.choice){var O=null!==B.implicit?B.implicit:B.tag,U=null===B.implicit?"universal":"context";null===O?null===B.use&&F.error("Tag could be omitted only for .use()"):null===B.use&&(M=this._encodeComposite(O,$,U,P))}return null!==B.explicit&&(M=this._encodeComposite(B.explicit,!1,"context",M)),M},w.prototype._encodeChoice=function(g,F){var A=this._baseState,B=A.choice[g.type];return B||R(!1,g.type+" not found in "+JSON.stringify(Object.keys(A.choice))),B._encode(g.value,F)},w.prototype._encodePrimitive=function(g,F){var A=this._baseState;if(/str$/.test(g))return this._encodeStr(F,g);if("objid"===g&&A.args)return this._encodeObjid(F,A.reverseArgs[0],A.args[1]);if("objid"===g)return this._encodeObjid(F,null,null);if("gentime"===g||"utctime"===g)return this._encodeTime(F,g);if("null_"===g)return this._encodeNull();if("int"===g||"enum"===g)return this._encodeInt(F,A.args&&A.reverseArgs[0]);if("bool"===g)return this._encodeBool(F);if("objDesc"===g)return this._encodeStr(F,g);throw new Error("Unsupported tag: "+g)},w.prototype._isNumstr=function(g){return/^[0-9 ]*$/.test(g)},w.prototype._isPrintstr=function(g){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(g)}},5697:(Ce,ee,E)=>{var a=E(1993);function S(R){this._reporterState={obj:null,path:[],options:R||{},errors:[]}}function p(R,c){this.path=R,this.rethrow(c)}ee.a=S,S.prototype.isError=function(c){return c instanceof p},S.prototype.save=function(){var c=this._reporterState;return{obj:c.obj,pathLen:c.path.length}},S.prototype.restore=function(c){var D=this._reporterState;D.obj=c.obj,D.path=D.path.slice(0,c.pathLen)},S.prototype.enterKey=function(c){return this._reporterState.path.push(c)},S.prototype.exitKey=function(c){var D=this._reporterState;D.path=D.path.slice(0,c-1)},S.prototype.leaveKey=function(c,D,C){var w=this._reporterState;this.exitKey(c),null!==w.obj&&(w.obj[D]=C)},S.prototype.path=function(){return this._reporterState.path.join("/")},S.prototype.enterObject=function(){var c=this._reporterState,D=c.obj;return c.obj={},D},S.prototype.leaveObject=function(c){var D=this._reporterState,C=D.obj;return D.obj=c,C},S.prototype.error=function(c){var D,C=this._reporterState,w=c instanceof p;if(D=w?c:new p(C.path.map(function(T){return"["+JSON.stringify(T)+"]"}).join(""),c.message||c,c.stack),!C.options.partial)throw D;return w||C.errors.push(D),D},S.prototype.wrapResult=function(c){var D=this._reporterState;return D.options.partial?{result:this.isError(c)?null:c,errors:D.errors}:c},a(p,Error),p.prototype.rethrow=function(c){if(this.message=c+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,p),!this.stack)try{throw new Error(this.message)}catch(D){this.stack=D.stack}return this}},6283:(Ce,ee,E)=>{var a=E(7740);ee.tagClass={0:"universal",1:"application",2:"context",3:"private"},ee.tagClassByName=a._reverse(ee.tagClass),ee.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},ee.tagByName=a._reverse(ee.tag)},7740:(Ce,ee,E)=>{var a=ee;a._reverse=function(p){var R={};return Object.keys(p).forEach(function(c){(0|c)==c&&(c|=0),R[p[c]]=c}),R},a.der=E(6283)},5941:(Ce,ee,E)=>{var a=E(1993),S=E(1990),p=S.base,R=S.bignum,c=S.constants.der;function D(_){this.enc="der",this.name=_.name,this.entity=_,this.tree=new C,this.tree._init(_.body)}function C(_){p.Node.call(this,"der",_)}function w(_,g){var F=_.readUInt8(g);if(_.isError(F))return F;var A=c.tagClass[F>>6],B=!(32&F);if(31&~F)F&=31;else{var P=F;for(F=0;!(128&~P);){if(P=_.readUInt8(g),_.isError(P))return P;F<<=7,F|=127&P}}return{cls:A,primitive:B,tag:F,tagStr:c.tag[F]}}function T(_,g,F){var A=_.readUInt8(F);if(_.isError(A))return A;if(!g&&128===A)return null;if(!(128&A))return A;var B=127&A;if(B>4)return _.error("length octect is too long");A=0;for(var P=0;P{var a=ee;a.der=E(5941),a.pem=E(6935)},6935:(Ce,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(5941);function R(c){p.call(this,c),this.enc="pem"}a(R,p),Ce.exports=R,R.prototype.decode=function(D,C){for(var w=D.toString().split(/[\r\n]+/g),T=C.label.toUpperCase(),_=/^-----(BEGIN|END) ([^-]+)-----$/,g=-1,F=-1,A=0;A{var a=E(1993),S=E(3838).Buffer,p=E(1990),R=p.base,c=p.constants.der;function D(_){this.enc="der",this.name=_.name,this.entity=_,this.tree=new C,this.tree._init(_.body)}function C(_){R.Node.call(this,"der",_)}function w(_){return _<10?"0"+_:_}Ce.exports=D,D.prototype.encode=function(g,F){return this.tree._encode(g,F).join()},a(C,R.Node),C.prototype._encodeComposite=function(g,F,A,B){var M,P=function T(_,g,F,A){var B;if("seqof"===_?_="seq":"setof"===_&&(_="set"),c.tagByName.hasOwnProperty(_))B=c.tagByName[_];else{if("number"!=typeof _||(0|_)!==_)return A.error("Unknown tag: "+_);B=_}return B>=31?A.error("Multi-octet tag encoding unsupported"):(g||(B|=32),B|=c.tagClassByName[F||"universal"]<<6)}(g,F,A,this.reporter);if(B.length<128)return(M=new S(2))[0]=P,M[1]=B.length,this._createEncoderBuffer([M,B]);for(var $=1,k=B.length;k>=256;k>>=8)$++;(M=new S(2+$))[0]=P,M[1]=128|$,k=1+$;for(var O=B.length;O>0;k--,O>>=8)M[k]=255&O;return this._createEncoderBuffer([M,B])},C.prototype._encodeStr=function(g,F){if("bitstr"===F)return this._createEncoderBuffer([0|g.unused,g.data]);if("bmpstr"===F){for(var A=new S(2*g.length),B=0;B=40)return this.reporter.error("Second objid identifier OOB");g.splice(0,2,40*g[0]+g[1])}var P=0;for(B=0;B=128;$>>=7)P++}var k=new S(P),M=k.length-1;for(B=g.length-1;B>=0;B--)for(k[M--]=127&($=g[B]);($>>=7)>0;)k[M--]=128|127&$;return this._createEncoderBuffer(k)},C.prototype._encodeTime=function(g,F){var A,B=new Date(g);return"gentime"===F?A=[w(B.getFullYear()),w(B.getUTCMonth()+1),w(B.getUTCDate()),w(B.getUTCHours()),w(B.getUTCMinutes()),w(B.getUTCSeconds()),"Z"].join(""):"utctime"===F?A=[w(B.getFullYear()%100),w(B.getUTCMonth()+1),w(B.getUTCDate()),w(B.getUTCHours()),w(B.getUTCMinutes()),w(B.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+F+" time is not supported yet"),this._encodeStr(A,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(g,F){if("string"==typeof g){if(!F)return this.reporter.error("String int or enum given, but no values map");if(!F.hasOwnProperty(g))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(g));g=F[g]}if("number"!=typeof g&&!S.isBuffer(g)){var A=g.toArray();!g.sign&&128&A[0]&&A.unshift(0),g=new S(A)}if(S.isBuffer(g)){var B=g.length;0===g.length&&B++;var $=new S(B);return g.copy($),0===g.length&&($[0]=0),this._createEncoderBuffer($)}if(g<128)return this._createEncoderBuffer(g);if(g<256)return this._createEncoderBuffer([0,g]);B=1;for(var P=g;P>=256;P>>=8)B++;for(P=($=new Array(B)).length-1;P>=0;P--)$[P]=255&g,g>>=8;return 128&$[0]&&$.unshift(0),this._createEncoderBuffer(new S($))},C.prototype._encodeBool=function(g){return this._createEncoderBuffer(g?255:0)},C.prototype._use=function(g,F){return"function"==typeof g&&(g=g(F)),g._getEncoder("der").tree},C.prototype._skipDefault=function(g,F,A){var P,B=this._baseState;if(null===B.default)return!1;var $=g.join();if(void 0===B.defaultBuffer&&(B.defaultBuffer=this._encodeValue(B.default,F,A).join()),$.length!==B.defaultBuffer.length)return!1;for(P=0;P<$.length;P++)if($[P]!==B.defaultBuffer[P])return!1;return!0}},2714:(Ce,ee,E)=>{var a=ee;a.der=E(2193),a.pem=E(4816)},4816:(Ce,ee,E)=>{var a=E(1993),S=E(2193);function p(R){S.call(this,R),this.enc="pem"}a(p,S),Ce.exports=p,p.prototype.encode=function(c,D){for(var w=S.prototype.encode.call(this,c).toString("base64"),T=["-----BEGIN "+D.label+"-----"],_=0;_=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,ft=Cn>>>13,In=0|h[2],kt=8191&In,Nt=In>>>13,Un=0|h[3],Vt=8191&Un,He=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],Ve=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,je=Pe>>>13,yt=0|h[7],Je=8191&yt,st=yt>>>13,qt=0|h[8],Ct=8191&qt,mt=qt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var kn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var bn=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,ft)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,ft)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,ft)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,ft)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,ft)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,ft)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var Dn=(y+(f=f+Math.imul(I,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(V,Vt)|0))<<13)|0;y=((d=d+Math.imul(V,He)|0)+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,ft)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,ft)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Vt)|0,r=(r=r+Math.imul(oe,He)|0)+Math.imul(ve,Vt)|0,d=d+Math.imul(ve,He)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,ft)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,ft)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Vt)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Vt)|0,d=d+Math.imul(ae,He)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,Ve)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ve)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,ft)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,ft)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Vt)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Vt)|0,d=d+Math.imul(pe,He)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,Ve)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,Ve)|0,d=d+Math.imul(ve,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,je)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,je)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,ft)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,ft)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Vt)|0,r=(r=r+Math.imul(Se,He)|0)+Math.imul(re,Vt)|0,d=d+Math.imul(re,He)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,Ve)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ve)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,je)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,je)|0;var $n=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,st)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,ft)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,ft)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Vt)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(Ee,Vt)|0,d=d+Math.imul(Ee,He)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,Ve)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,Ve)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,je)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,je)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,st)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,st)|0;var Xn=(y+(f=f+Math.imul(I,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,Ct)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,ft)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,ft)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Vt)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Vt)|0,d=d+Math.imul(rt,He)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,Ve)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,Ve)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,je)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,je)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,st)|0,f=f+Math.imul(oe,Ct)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,Ct)|0,d=d+Math.imul(ve,mt)|0;var Yn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,ft))+Math.imul(Ft,St)|0,d=Math.imul(Ft,ft),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Vt)|0,r=(r=r+Math.imul(gt,He)|0)+Math.imul(ht,Vt)|0,d=d+Math.imul(ht,He)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,Ve)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ve)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,je)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,je)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,st)|0,f=f+Math.imul(Q,Ct)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,Ct)|0,d=d+Math.imul(ae,mt)|0;var Hn=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Vt)|0,r=(r=r+Math.imul(Mt,He)|0)+Math.imul(Pt,Vt)|0,d=d+Math.imul(Pt,He)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,Ve)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ve)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,je)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,je)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,st)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,st)|0,f=f+Math.imul(Oe,Ct)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var $e=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,f=Math.imul(It,Vt),r=(r=Math.imul(It,He))+Math.imul(Ft,Vt)|0,d=Math.imul(Ft,He),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,Ve)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,Ve)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,je)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,je)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,st)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,Ct)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,Ve)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,Ve)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,je)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,je)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,st)|0,f=f+Math.imul(G,Ct)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,Ct)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,Ve),r=(r=Math.imul(It,it))+Math.imul(Ft,Ve)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,je)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,je)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,st)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,st)|0,f=f+Math.imul(Qe,Ct)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,Ct)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,je))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,je),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,st)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,st)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,Ct)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,st))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,st),f=f+Math.imul(Mt,Ct)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,Ct),r=(r=Math.imul(It,mt))+Math.imul(Ft,Ct)|0,d=Math.imul(Ft,mt);var Jt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=kn,v[1]=bn,v[2]=wn,v[3]=Dn,v[4]=Wn,v[5]=Vn,v[6]=Fn,v[7]=$n,v[8]=Xn,v[9]=Yn,v[10]=Hn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=Jt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},3981:(Ce,ee)=>{"use strict";ee.byteLength=function C(A){var B=D(A),$=B[1];return 3*(B[0]+$)/4-$},ee.toByteArray=function T(A){var B,j,P=D(A),$=P[0],k=P[1],M=new S(function w(A,B,P){return 3*(B+P)/4-P}(0,$,k)),O=0,U=k>0?$-4:$;for(j=0;j>16&255,M[O++]=B>>8&255,M[O++]=255&B;return 2===k&&(B=a[A.charCodeAt(j)]<<2|a[A.charCodeAt(j+1)]>>4,M[O++]=255&B),1===k&&(B=a[A.charCodeAt(j)]<<10|a[A.charCodeAt(j+1)]<<4|a[A.charCodeAt(j+2)]>>2,M[O++]=B>>8&255,M[O++]=255&B),M},ee.fromByteArray=function F(A){for(var B,P=A.length,$=P%3,k=[],M=16383,O=0,U=P-$;OU?U:O+M));return 1===$?k.push(E[(B=A[P-1])>>2]+E[B<<4&63]+"=="):2===$&&k.push(E[(B=(A[P-2]<<8)+A[P-1])>>10]+E[B>>4&63]+E[B<<2&63]+"="),k.join("")};for(var E=[],a=[],S=typeof Uint8Array<"u"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R=0;R<64;++R)E[R]=p[R],a[p.charCodeAt(R)]=R;function D(A){var B=A.length;if(B%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var P=A.indexOf("=");return-1===P&&(P=B),[P,P===B?0:4-P%4]}function _(A){return E[A>>18&63]+E[A>>12&63]+E[A>>6&63]+E[63&A]}function g(A,B,P){for(var k=[],M=B;M=48&&h<=57?h-48:h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:void p(!1,"Invalid character in "+u)}function w(u,s,h){var v=C(u,h);return h-1>=s&&(v|=C(u,h-1)<<4),v}function T(u,s,h,v){for(var y=0,f=0,r=Math.min(u.length,h),d=s;d=49?L-49+10:L>=17?L-17+10:L,p(L>=0&&f0?s:h},c.min=function(s,h){return s.cmp(h)<0?s:h},c.prototype._init=function(s,h,v){if("number"==typeof s)return this._initNumber(s,h,v);if("object"==typeof s)return this._initArray(s,h,v);"hex"===h&&(h=16),p(h===(0|h)&&h>=2&&h<=36);var y=0;"-"===(s=s.toString().replace(/\s+/g,""))[0]&&(y++,this.negative=1),y=0;y-=3)this.words[f]|=(r=s[y]|s[y-1]<<8|s[y-2]<<16)<>>26-d&67108863,(d+=24)>=26&&(d-=26,f++);else if("le"===v)for(y=0,f=0;y>>26-d&67108863,(d+=24)>=26&&(d-=26,f++);return this._strip()},c.prototype._parseHex=function(s,h,v){this.length=Math.ceil((s.length-h)/6),this.words=new Array(this.length);for(var y=0;y=h;y-=2)d=w(s,h,y)<=18?(f-=18,this.words[r+=1]|=d>>>26):f+=8;else for(y=(s.length-h)%2==0?h+1:h;y=18?(f-=18,this.words[r+=1]|=d>>>26):f+=8;this._strip()},c.prototype._parseBase=function(s,h,v){this.words=[0],this.length=1;for(var y=0,f=1;f<=67108863;f*=h)y++;y--,f=f/h|0;for(var r=s.length-v,d=r%y,L=Math.min(r,r-d)+v,I=0,V=v;V1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{c.prototype[Symbol.for("nodejs.util.inspect.custom")]=g}catch{c.prototype.inspect=g}else c.prototype.inspect=g;function g(){return(this.red?""}var F=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],A=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function k(u,s,h){h.negative=s.negative^u.negative;var v=u.length+s.length|0;h.length=v,v=v-1|0;var y=0|u.words[0],f=0|s.words[0],r=y*f,L=r/67108864|0;h.words[0]=67108863&r;for(var I=1;I>>26,q=67108863&L,oe=Math.min(I,s.length-1),ve=Math.max(0,I-u.length+1);ve<=oe;ve++)V+=(r=(y=0|u.words[I-ve|0])*(f=0|s.words[ve])+q)/67108864|0,q=67108863&r;h.words[I]=0|q,L=0|V}return 0!==L?h.words[I]=0|L:h.length--,h._strip()}c.prototype.toString=function(s,h){var v;if(h=0|h||1,16===(s=s||10)||"hex"===s){v="";for(var y=0,f=0,r=0;r>>24-y&16777215,(y+=2)>=26&&(y-=26,r--),v=0!==f||r!==this.length-1?F[6-L.length]+L+v:L+v}for(0!==f&&(v=f.toString(16)+v);v.length%h!=0;)v="0"+v;return 0!==this.negative&&(v="-"+v),v}if(s===(0|s)&&s>=2&&s<=36){var I=A[s],V=B[s];v="";var q=this.clone();for(q.negative=0;!q.isZero();){var oe=q.modrn(V).toString(s);v=(q=q.idivn(V)).isZero()?oe+v:F[I-oe.length]+oe+v}for(this.isZero()&&(v="0"+v);v.length%h!=0;)v="0"+v;return 0!==this.negative&&(v="-"+v),v}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var s=this.words[0];return 2===this.length?s+=67108864*this.words[1]:3===this.length&&1===this.words[2]?s+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-s:s},c.prototype.toJSON=function(){return this.toString(16,2)},D&&(c.prototype.toBuffer=function(s,h){return this.toArrayLike(D,s,h)}),c.prototype.toArray=function(s,h){return this.toArrayLike(Array,s,h)},c.prototype.toArrayLike=function(s,h,v){this._strip();var y=this.byteLength(),f=v||Math.max(1,y);p(y<=f,"byte array longer than desired length"),p(f>0,"Requested array length <= 0");var r=function(s,h){return s.allocUnsafe?s.allocUnsafe(h):new s(h)}(s,f);return this["_toArrayLike"+("le"===h?"LE":"BE")](r,y),r},c.prototype._toArrayLikeLE=function(s,h){for(var v=0,y=0,f=0,r=0;f>8&255),v>16&255),6===r?(v>24&255),y=0,r=0):(y=d>>>24,r+=2)}if(v=0&&(s[v--]=d>>8&255),v>=0&&(s[v--]=d>>16&255),6===r?(v>=0&&(s[v--]=d>>24&255),y=0,r=0):(y=d>>>24,r+=2)}if(v>=0)for(s[v--]=y;v>=0;)s[v--]=0},c.prototype._countBits=Math.clz32?function(s){return 32-Math.clz32(s)}:function(s){var h=s,v=0;return h>=4096&&(v+=13,h>>>=13),h>=64&&(v+=7,h>>>=7),h>=8&&(v+=4,h>>>=4),h>=2&&(v+=2,h>>>=2),v+h},c.prototype._zeroBits=function(s){if(0===s)return 26;var h=s,v=0;return 8191&h||(v+=13,h>>>=13),127&h||(v+=7,h>>>=7),15&h||(v+=4,h>>>=4),3&h||(v+=2,h>>>=2),1&h||v++,v},c.prototype.bitLength=function(){var h=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+h},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var s=0,h=0;hs.length?this.clone().ior(s):s.clone().ior(this)},c.prototype.uor=function(s){return this.length>s.length?this.clone().iuor(s):s.clone().iuor(this)},c.prototype.iuand=function(s){var h;h=this.length>s.length?s:this;for(var v=0;vs.length?this.clone().iand(s):s.clone().iand(this)},c.prototype.uand=function(s){return this.length>s.length?this.clone().iuand(s):s.clone().iuand(this)},c.prototype.iuxor=function(s){var h,v;this.length>s.length?(h=this,v=s):(h=s,v=this);for(var y=0;ys.length?this.clone().ixor(s):s.clone().ixor(this)},c.prototype.uxor=function(s){return this.length>s.length?this.clone().iuxor(s):s.clone().iuxor(this)},c.prototype.inotn=function(s){p("number"==typeof s&&s>=0);var h=0|Math.ceil(s/26),v=s%26;this._expand(h),v>0&&h--;for(var y=0;y0&&(this.words[y]=~this.words[y]&67108863>>26-v),this._strip()},c.prototype.notn=function(s){return this.clone().inotn(s)},c.prototype.setn=function(s,h){p("number"==typeof s&&s>=0);var v=s/26|0,y=s%26;return this._expand(v+1),this.words[v]=h?this.words[v]|1<s.length?(v=this,y=s):(v=s,y=this);for(var f=0,r=0;r>>26;for(;0!==f&&r>>26;if(this.length=v.length,0!==f)this.words[this.length]=f,this.length++;else if(v!==this)for(;rs.length?this.clone().iadd(s):s.clone().iadd(this)},c.prototype.isub=function(s){if(0!==s.negative){s.negative=0;var h=this.iadd(s);return s.negative=1,h._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(s),this.negative=1,this._normSign();var y,f,v=this.cmp(s);if(0===v)return this.negative=0,this.length=1,this.words[0]=0,this;v>0?(y=this,f=s):(y=s,f=this);for(var r=0,d=0;d>26,this.words[d]=67108863&h;for(;0!==r&&d>26,this.words[d]=67108863&h;if(0===r&&d>>13,Ae=0|y[1],Q=8191&Ae,ae=Ae>>>13,tt=0|y[2],Oe=8191&tt,pe=tt>>>13,Ie=0|y[3],Se=8191&Ie,re=Ie>>>13,ne=0|y[4],G=8191&ne,Ee=ne>>>13,vt=0|y[5],Qe=8191&vt,rt=vt>>>13,nn=0|y[6],gt=8191&nn,ht=nn>>>13,on=0|y[7],Mt=8191&on,Pt=on>>>13,En=0|y[8],It=8191&En,Ft=En>>>13,yn=0|y[9],Dt=8191&yn,_t=yn>>>13,Cn=0|f[0],St=8191&Cn,ft=Cn>>>13,In=0|f[1],kt=8191&In,Nt=In>>>13,Un=0|f[2],Vt=8191&Un,He=Un>>>13,_e=0|f[3],De=8191&_e,Me=_e>>>13,Ze=0|f[4],Ve=8191&Ze,it=Ze>>>13,Pe=0|f[5],Be=8191&Pe,je=Pe>>>13,yt=0|f[6],Je=8191&yt,st=yt>>>13,qt=0|f[7],Ct=8191&qt,mt=qt>>>13,Wt=0|f[8],Ot=8191&Wt,Rt=Wt>>>13,kn=0|f[9],bn=8191&kn,wn=kn>>>13;v.negative=s.negative^h.negative,v.length=19;var Dn=(d+(L=Math.imul(oe,St))|0)+((8191&(I=(I=Math.imul(oe,ft))+Math.imul(ve,St)|0))<<13)|0;d=((V=Math.imul(ve,ft))+(I>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,L=Math.imul(Q,St),I=(I=Math.imul(Q,ft))+Math.imul(ae,St)|0,V=Math.imul(ae,ft);var Wn=(d+(L=L+Math.imul(oe,kt)|0)|0)+((8191&(I=(I=I+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0))<<13)|0;d=((V=V+Math.imul(ve,Nt)|0)+(I>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,L=Math.imul(Oe,St),I=(I=Math.imul(Oe,ft))+Math.imul(pe,St)|0,V=Math.imul(pe,ft),L=L+Math.imul(Q,kt)|0,I=(I=I+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,V=V+Math.imul(ae,Nt)|0;var Vn=(d+(L=L+Math.imul(oe,Vt)|0)|0)+((8191&(I=(I=I+Math.imul(oe,He)|0)+Math.imul(ve,Vt)|0))<<13)|0;d=((V=V+Math.imul(ve,He)|0)+(I>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,L=Math.imul(Se,St),I=(I=Math.imul(Se,ft))+Math.imul(re,St)|0,V=Math.imul(re,ft),L=L+Math.imul(Oe,kt)|0,I=(I=I+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,V=V+Math.imul(pe,Nt)|0,L=L+Math.imul(Q,Vt)|0,I=(I=I+Math.imul(Q,He)|0)+Math.imul(ae,Vt)|0,V=V+Math.imul(ae,He)|0;var Fn=(d+(L=L+Math.imul(oe,De)|0)|0)+((8191&(I=(I=I+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0))<<13)|0;d=((V=V+Math.imul(ve,Me)|0)+(I>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,L=Math.imul(G,St),I=(I=Math.imul(G,ft))+Math.imul(Ee,St)|0,V=Math.imul(Ee,ft),L=L+Math.imul(Se,kt)|0,I=(I=I+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,V=V+Math.imul(re,Nt)|0,L=L+Math.imul(Oe,Vt)|0,I=(I=I+Math.imul(Oe,He)|0)+Math.imul(pe,Vt)|0,V=V+Math.imul(pe,He)|0,L=L+Math.imul(Q,De)|0,I=(I=I+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,V=V+Math.imul(ae,Me)|0;var $n=(d+(L=L+Math.imul(oe,Ve)|0)|0)+((8191&(I=(I=I+Math.imul(oe,it)|0)+Math.imul(ve,Ve)|0))<<13)|0;d=((V=V+Math.imul(ve,it)|0)+(I>>>13)|0)+($n>>>26)|0,$n&=67108863,L=Math.imul(Qe,St),I=(I=Math.imul(Qe,ft))+Math.imul(rt,St)|0,V=Math.imul(rt,ft),L=L+Math.imul(G,kt)|0,I=(I=I+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,V=V+Math.imul(Ee,Nt)|0,L=L+Math.imul(Se,Vt)|0,I=(I=I+Math.imul(Se,He)|0)+Math.imul(re,Vt)|0,V=V+Math.imul(re,He)|0,L=L+Math.imul(Oe,De)|0,I=(I=I+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,V=V+Math.imul(pe,Me)|0,L=L+Math.imul(Q,Ve)|0,I=(I=I+Math.imul(Q,it)|0)+Math.imul(ae,Ve)|0,V=V+Math.imul(ae,it)|0;var Xn=(d+(L=L+Math.imul(oe,Be)|0)|0)+((8191&(I=(I=I+Math.imul(oe,je)|0)+Math.imul(ve,Be)|0))<<13)|0;d=((V=V+Math.imul(ve,je)|0)+(I>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,L=Math.imul(gt,St),I=(I=Math.imul(gt,ft))+Math.imul(ht,St)|0,V=Math.imul(ht,ft),L=L+Math.imul(Qe,kt)|0,I=(I=I+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,V=V+Math.imul(rt,Nt)|0,L=L+Math.imul(G,Vt)|0,I=(I=I+Math.imul(G,He)|0)+Math.imul(Ee,Vt)|0,V=V+Math.imul(Ee,He)|0,L=L+Math.imul(Se,De)|0,I=(I=I+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,V=V+Math.imul(re,Me)|0,L=L+Math.imul(Oe,Ve)|0,I=(I=I+Math.imul(Oe,it)|0)+Math.imul(pe,Ve)|0,V=V+Math.imul(pe,it)|0,L=L+Math.imul(Q,Be)|0,I=(I=I+Math.imul(Q,je)|0)+Math.imul(ae,Be)|0,V=V+Math.imul(ae,je)|0;var Yn=(d+(L=L+Math.imul(oe,Je)|0)|0)+((8191&(I=(I=I+Math.imul(oe,st)|0)+Math.imul(ve,Je)|0))<<13)|0;d=((V=V+Math.imul(ve,st)|0)+(I>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,L=Math.imul(Mt,St),I=(I=Math.imul(Mt,ft))+Math.imul(Pt,St)|0,V=Math.imul(Pt,ft),L=L+Math.imul(gt,kt)|0,I=(I=I+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,V=V+Math.imul(ht,Nt)|0,L=L+Math.imul(Qe,Vt)|0,I=(I=I+Math.imul(Qe,He)|0)+Math.imul(rt,Vt)|0,V=V+Math.imul(rt,He)|0,L=L+Math.imul(G,De)|0,I=(I=I+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,V=V+Math.imul(Ee,Me)|0,L=L+Math.imul(Se,Ve)|0,I=(I=I+Math.imul(Se,it)|0)+Math.imul(re,Ve)|0,V=V+Math.imul(re,it)|0,L=L+Math.imul(Oe,Be)|0,I=(I=I+Math.imul(Oe,je)|0)+Math.imul(pe,Be)|0,V=V+Math.imul(pe,je)|0,L=L+Math.imul(Q,Je)|0,I=(I=I+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,V=V+Math.imul(ae,st)|0;var Hn=(d+(L=L+Math.imul(oe,Ct)|0)|0)+((8191&(I=(I=I+Math.imul(oe,mt)|0)+Math.imul(ve,Ct)|0))<<13)|0;d=((V=V+Math.imul(ve,mt)|0)+(I>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,L=Math.imul(It,St),I=(I=Math.imul(It,ft))+Math.imul(Ft,St)|0,V=Math.imul(Ft,ft),L=L+Math.imul(Mt,kt)|0,I=(I=I+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,V=V+Math.imul(Pt,Nt)|0,L=L+Math.imul(gt,Vt)|0,I=(I=I+Math.imul(gt,He)|0)+Math.imul(ht,Vt)|0,V=V+Math.imul(ht,He)|0,L=L+Math.imul(Qe,De)|0,I=(I=I+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,V=V+Math.imul(rt,Me)|0,L=L+Math.imul(G,Ve)|0,I=(I=I+Math.imul(G,it)|0)+Math.imul(Ee,Ve)|0,V=V+Math.imul(Ee,it)|0,L=L+Math.imul(Se,Be)|0,I=(I=I+Math.imul(Se,je)|0)+Math.imul(re,Be)|0,V=V+Math.imul(re,je)|0,L=L+Math.imul(Oe,Je)|0,I=(I=I+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,V=V+Math.imul(pe,st)|0,L=L+Math.imul(Q,Ct)|0,I=(I=I+Math.imul(Q,mt)|0)+Math.imul(ae,Ct)|0,V=V+Math.imul(ae,mt)|0;var $e=(d+(L=L+Math.imul(oe,Ot)|0)|0)+((8191&(I=(I=I+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;d=((V=V+Math.imul(ve,Rt)|0)+(I>>>13)|0)+($e>>>26)|0,$e&=67108863,L=Math.imul(Dt,St),I=(I=Math.imul(Dt,ft))+Math.imul(_t,St)|0,V=Math.imul(_t,ft),L=L+Math.imul(It,kt)|0,I=(I=I+Math.imul(It,Nt)|0)+Math.imul(Ft,kt)|0,V=V+Math.imul(Ft,Nt)|0,L=L+Math.imul(Mt,Vt)|0,I=(I=I+Math.imul(Mt,He)|0)+Math.imul(Pt,Vt)|0,V=V+Math.imul(Pt,He)|0,L=L+Math.imul(gt,De)|0,I=(I=I+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,V=V+Math.imul(ht,Me)|0,L=L+Math.imul(Qe,Ve)|0,I=(I=I+Math.imul(Qe,it)|0)+Math.imul(rt,Ve)|0,V=V+Math.imul(rt,it)|0,L=L+Math.imul(G,Be)|0,I=(I=I+Math.imul(G,je)|0)+Math.imul(Ee,Be)|0,V=V+Math.imul(Ee,je)|0,L=L+Math.imul(Se,Je)|0,I=(I=I+Math.imul(Se,st)|0)+Math.imul(re,Je)|0,V=V+Math.imul(re,st)|0,L=L+Math.imul(Oe,Ct)|0,I=(I=I+Math.imul(Oe,mt)|0)+Math.imul(pe,Ct)|0,V=V+Math.imul(pe,mt)|0,L=L+Math.imul(Q,Ot)|0,I=(I=I+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0,V=V+Math.imul(ae,Rt)|0;var lt=(d+(L=L+Math.imul(oe,bn)|0)|0)+((8191&(I=(I=I+Math.imul(oe,wn)|0)+Math.imul(ve,bn)|0))<<13)|0;d=((V=V+Math.imul(ve,wn)|0)+(I>>>13)|0)+(lt>>>26)|0,lt&=67108863,L=Math.imul(Dt,kt),I=(I=Math.imul(Dt,Nt))+Math.imul(_t,kt)|0,V=Math.imul(_t,Nt),L=L+Math.imul(It,Vt)|0,I=(I=I+Math.imul(It,He)|0)+Math.imul(Ft,Vt)|0,V=V+Math.imul(Ft,He)|0,L=L+Math.imul(Mt,De)|0,I=(I=I+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,V=V+Math.imul(Pt,Me)|0,L=L+Math.imul(gt,Ve)|0,I=(I=I+Math.imul(gt,it)|0)+Math.imul(ht,Ve)|0,V=V+Math.imul(ht,it)|0,L=L+Math.imul(Qe,Be)|0,I=(I=I+Math.imul(Qe,je)|0)+Math.imul(rt,Be)|0,V=V+Math.imul(rt,je)|0,L=L+Math.imul(G,Je)|0,I=(I=I+Math.imul(G,st)|0)+Math.imul(Ee,Je)|0,V=V+Math.imul(Ee,st)|0,L=L+Math.imul(Se,Ct)|0,I=(I=I+Math.imul(Se,mt)|0)+Math.imul(re,Ct)|0,V=V+Math.imul(re,mt)|0,L=L+Math.imul(Oe,Ot)|0,I=(I=I+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0,V=V+Math.imul(pe,Rt)|0;var Tt=(d+(L=L+Math.imul(Q,bn)|0)|0)+((8191&(I=(I=I+Math.imul(Q,wn)|0)+Math.imul(ae,bn)|0))<<13)|0;d=((V=V+Math.imul(ae,wn)|0)+(I>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,L=Math.imul(Dt,Vt),I=(I=Math.imul(Dt,He))+Math.imul(_t,Vt)|0,V=Math.imul(_t,He),L=L+Math.imul(It,De)|0,I=(I=I+Math.imul(It,Me)|0)+Math.imul(Ft,De)|0,V=V+Math.imul(Ft,Me)|0,L=L+Math.imul(Mt,Ve)|0,I=(I=I+Math.imul(Mt,it)|0)+Math.imul(Pt,Ve)|0,V=V+Math.imul(Pt,it)|0,L=L+Math.imul(gt,Be)|0,I=(I=I+Math.imul(gt,je)|0)+Math.imul(ht,Be)|0,V=V+Math.imul(ht,je)|0,L=L+Math.imul(Qe,Je)|0,I=(I=I+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,V=V+Math.imul(rt,st)|0,L=L+Math.imul(G,Ct)|0,I=(I=I+Math.imul(G,mt)|0)+Math.imul(Ee,Ct)|0,V=V+Math.imul(Ee,mt)|0,L=L+Math.imul(Se,Ot)|0,I=(I=I+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0,V=V+Math.imul(re,Rt)|0;var wt=(d+(L=L+Math.imul(Oe,bn)|0)|0)+((8191&(I=(I=I+Math.imul(Oe,wn)|0)+Math.imul(pe,bn)|0))<<13)|0;d=((V=V+Math.imul(pe,wn)|0)+(I>>>13)|0)+(wt>>>26)|0,wt&=67108863,L=Math.imul(Dt,De),I=(I=Math.imul(Dt,Me))+Math.imul(_t,De)|0,V=Math.imul(_t,Me),L=L+Math.imul(It,Ve)|0,I=(I=I+Math.imul(It,it)|0)+Math.imul(Ft,Ve)|0,V=V+Math.imul(Ft,it)|0,L=L+Math.imul(Mt,Be)|0,I=(I=I+Math.imul(Mt,je)|0)+Math.imul(Pt,Be)|0,V=V+Math.imul(Pt,je)|0,L=L+Math.imul(gt,Je)|0,I=(I=I+Math.imul(gt,st)|0)+Math.imul(ht,Je)|0,V=V+Math.imul(ht,st)|0,L=L+Math.imul(Qe,Ct)|0,I=(I=I+Math.imul(Qe,mt)|0)+Math.imul(rt,Ct)|0,V=V+Math.imul(rt,mt)|0,L=L+Math.imul(G,Ot)|0,I=(I=I+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0,V=V+Math.imul(Ee,Rt)|0;var Lt=(d+(L=L+Math.imul(Se,bn)|0)|0)+((8191&(I=(I=I+Math.imul(Se,wn)|0)+Math.imul(re,bn)|0))<<13)|0;d=((V=V+Math.imul(re,wn)|0)+(I>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,L=Math.imul(Dt,Ve),I=(I=Math.imul(Dt,it))+Math.imul(_t,Ve)|0,V=Math.imul(_t,it),L=L+Math.imul(It,Be)|0,I=(I=I+Math.imul(It,je)|0)+Math.imul(Ft,Be)|0,V=V+Math.imul(Ft,je)|0,L=L+Math.imul(Mt,Je)|0,I=(I=I+Math.imul(Mt,st)|0)+Math.imul(Pt,Je)|0,V=V+Math.imul(Pt,st)|0,L=L+Math.imul(gt,Ct)|0,I=(I=I+Math.imul(gt,mt)|0)+Math.imul(ht,Ct)|0,V=V+Math.imul(ht,mt)|0,L=L+Math.imul(Qe,Ot)|0,I=(I=I+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0,V=V+Math.imul(rt,Rt)|0;var Yt=(d+(L=L+Math.imul(G,bn)|0)|0)+((8191&(I=(I=I+Math.imul(G,wn)|0)+Math.imul(Ee,bn)|0))<<13)|0;d=((V=V+Math.imul(Ee,wn)|0)+(I>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,L=Math.imul(Dt,Be),I=(I=Math.imul(Dt,je))+Math.imul(_t,Be)|0,V=Math.imul(_t,je),L=L+Math.imul(It,Je)|0,I=(I=I+Math.imul(It,st)|0)+Math.imul(Ft,Je)|0,V=V+Math.imul(Ft,st)|0,L=L+Math.imul(Mt,Ct)|0,I=(I=I+Math.imul(Mt,mt)|0)+Math.imul(Pt,Ct)|0,V=V+Math.imul(Pt,mt)|0,L=L+Math.imul(gt,Ot)|0,I=(I=I+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0,V=V+Math.imul(ht,Rt)|0;var Jt=(d+(L=L+Math.imul(Qe,bn)|0)|0)+((8191&(I=(I=I+Math.imul(Qe,wn)|0)+Math.imul(rt,bn)|0))<<13)|0;d=((V=V+Math.imul(rt,wn)|0)+(I>>>13)|0)+(Jt>>>26)|0,Jt&=67108863,L=Math.imul(Dt,Je),I=(I=Math.imul(Dt,st))+Math.imul(_t,Je)|0,V=Math.imul(_t,st),L=L+Math.imul(It,Ct)|0,I=(I=I+Math.imul(It,mt)|0)+Math.imul(Ft,Ct)|0,V=V+Math.imul(Ft,mt)|0,L=L+Math.imul(Mt,Ot)|0,I=(I=I+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0,V=V+Math.imul(Pt,Rt)|0;var Zt=(d+(L=L+Math.imul(gt,bn)|0)|0)+((8191&(I=(I=I+Math.imul(gt,wn)|0)+Math.imul(ht,bn)|0))<<13)|0;d=((V=V+Math.imul(ht,wn)|0)+(I>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,L=Math.imul(Dt,Ct),I=(I=Math.imul(Dt,mt))+Math.imul(_t,Ct)|0,V=Math.imul(_t,mt),L=L+Math.imul(It,Ot)|0,I=(I=I+Math.imul(It,Rt)|0)+Math.imul(Ft,Ot)|0,V=V+Math.imul(Ft,Rt)|0;var Tn=(d+(L=L+Math.imul(Mt,bn)|0)|0)+((8191&(I=(I=I+Math.imul(Mt,wn)|0)+Math.imul(Pt,bn)|0))<<13)|0;d=((V=V+Math.imul(Pt,wn)|0)+(I>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,L=Math.imul(Dt,Ot),I=(I=Math.imul(Dt,Rt))+Math.imul(_t,Ot)|0,V=Math.imul(_t,Rt);var An=(d+(L=L+Math.imul(It,bn)|0)|0)+((8191&(I=(I=I+Math.imul(It,wn)|0)+Math.imul(Ft,bn)|0))<<13)|0;d=((V=V+Math.imul(Ft,wn)|0)+(I>>>13)|0)+(An>>>26)|0,An&=67108863;var Kn=(d+(L=Math.imul(Dt,bn))|0)+((8191&(I=(I=Math.imul(Dt,wn))+Math.imul(_t,bn)|0))<<13)|0;return d=((V=Math.imul(_t,wn))+(I>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,r[0]=Dn,r[1]=Wn,r[2]=Vn,r[3]=Fn,r[4]=$n,r[5]=Xn,r[6]=Yn,r[7]=Hn,r[8]=$e,r[9]=lt,r[10]=Tt,r[11]=wt,r[12]=Lt,r[13]=Yt,r[14]=Jt,r[15]=Zt,r[16]=Tn,r[17]=An,r[18]=Kn,0!==d&&(r[19]=d,v.length++),v};function O(u,s,h){h.negative=s.negative^u.negative,h.length=u.length+s.length;for(var v=0,y=0,f=0;f>>26)|0)>>>26,r&=67108863}h.words[f]=d,v=r,r=y}return 0!==v?h.words[f]=v:h.length--,h._strip()}function U(u,s,h){return O(u,s,h)}function j(u,s){this.x=u,this.y=s}Math.imul||(M=k),c.prototype.mulTo=function(s,h){var y=this.length+s.length;return 10===this.length&&10===s.length?M(this,s,h):y<63?k(this,s,h):y<1024?O(this,s,h):U(this,s,h)},j.prototype.makeRBT=function(s){for(var h=new Array(s),v=c.prototype._countBits(s)-1,y=0;y>=1;return y},j.prototype.permute=function(s,h,v,y,f,r){for(var d=0;d>>=1)f++;return 1<>>=13),f>>>=13;for(r=2*h;r>=26,v+=f/67108864|0,v+=r>>>26,this.words[y]=67108863&r}return 0!==v&&(this.words[y]=v,this.length++),h?this.ineg():this},c.prototype.muln=function(s){return this.clone().imuln(s)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(s){var h=function $(u){for(var s=new Array(u.bitLength()),h=0;h>>h%26&1;return s}(s);if(0===h.length)return new c(1);for(var v=this,y=0;y=0);var f,h=s%26,v=(s-h)/26,y=67108863>>>26-h<<26-h;if(0!==h){var r=0;for(f=0;f>>26-h}r&&(this.words[f]=r,this.length++)}if(0!==v){for(f=this.length-1;f>=0;f--)this.words[f+v]=this.words[f];for(f=0;f=0),y=h?(h-h%26)/26:0;var f=s%26,r=Math.min((s-f)/26,this.length),d=67108863^67108863>>>f<r)for(this.length-=r,I=0;I=0&&(0!==V||I>=y);I--){var q=0|this.words[I];this.words[I]=V<<26-f|q>>>f,V=q&d}return L&&0!==V&&(L.words[L.length++]=V),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},c.prototype.ishrn=function(s,h,v){return p(0===this.negative),this.iushrn(s,h,v)},c.prototype.shln=function(s){return this.clone().ishln(s)},c.prototype.ushln=function(s){return this.clone().iushln(s)},c.prototype.shrn=function(s){return this.clone().ishrn(s)},c.prototype.ushrn=function(s){return this.clone().iushrn(s)},c.prototype.testn=function(s){p("number"==typeof s&&s>=0);var h=s%26,v=(s-h)/26;return!(this.length<=v||!(this.words[v]&1<=0);var h=s%26,v=(s-h)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=v?this:(0!==h&&v++,this.length=Math.min(v,this.length),0!==h&&(this.words[this.length-1]&=67108863^67108863>>>h<=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},c.prototype.isubn=function(s){if(p("number"==typeof s),p(s<67108864),s<0)return this.iaddn(-s);if(0!==this.negative)return this.negative=0,this.iaddn(s),this.negative=1,this;if(this.words[0]-=s,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h>26)-(L/67108864|0),this.words[f+v]=67108863&r}for(;f>26,this.words[f+v]=67108863&r;if(0===d)return this._strip();for(p(-1===d),d=0,f=0;f>26,this.words[f]=67108863&r;return this.negative=1,this._strip()},c.prototype._wordDiv=function(s,h){var v,y=this.clone(),f=s,r=0|f.words[f.length-1];0!=(v=26-this._countBits(r))&&(f=f.ushln(v),y.iushln(v),r=0|f.words[f.length-1]);var I,L=y.length-f.length;if("mod"!==h){(I=new c(null)).length=L+1,I.words=new Array(I.length);for(var V=0;V=0;oe--){var ve=67108864*(0|y.words[f.length+oe])+(0|y.words[f.length+oe-1]);for(ve=Math.min(ve/r|0,67108863),y._ishlnsubmul(f,ve,oe);0!==y.negative;)ve--,y.negative=0,y._ishlnsubmul(f,1,oe),y.isZero()||(y.negative^=1);I&&(I.words[oe]=ve)}return I&&I._strip(),y._strip(),"div"!==h&&0!==v&&y.iushrn(v),{div:I||null,mod:y}},c.prototype.divmod=function(s,h,v){return p(!s.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===s.negative?(r=this.neg().divmod(s,h),"mod"!==h&&(y=r.div.neg()),"div"!==h&&(f=r.mod.neg(),v&&0!==f.negative&&f.iadd(s)),{div:y,mod:f}):0===this.negative&&0!==s.negative?(r=this.divmod(s.neg(),h),"mod"!==h&&(y=r.div.neg()),{div:y,mod:r.mod}):this.negative&s.negative?(r=this.neg().divmod(s.neg(),h),"div"!==h&&(f=r.mod.neg(),v&&0!==f.negative&&f.isub(s)),{div:r.div,mod:f}):s.length>this.length||this.cmp(s)<0?{div:new c(0),mod:this}:1===s.length?"div"===h?{div:this.divn(s.words[0]),mod:null}:"mod"===h?{div:null,mod:new c(this.modrn(s.words[0]))}:{div:this.divn(s.words[0]),mod:new c(this.modrn(s.words[0]))}:this._wordDiv(s,h);var y,f,r},c.prototype.div=function(s){return this.divmod(s,"div",!1).div},c.prototype.mod=function(s){return this.divmod(s,"mod",!1).mod},c.prototype.umod=function(s){return this.divmod(s,"mod",!0).mod},c.prototype.divRound=function(s){var h=this.divmod(s);if(h.mod.isZero())return h.div;var v=0!==h.div.negative?h.mod.isub(s):h.mod,y=s.ushrn(1),f=s.andln(1),r=v.cmp(y);return r<0||1===f&&0===r?h.div:0!==h.div.negative?h.div.isubn(1):h.div.iaddn(1)},c.prototype.modrn=function(s){var h=s<0;h&&(s=-s),p(s<=67108863);for(var v=(1<<26)%s,y=0,f=this.length-1;f>=0;f--)y=(v*y+(0|this.words[f]))%s;return h?-y:y},c.prototype.modn=function(s){return this.modrn(s)},c.prototype.idivn=function(s){var h=s<0;h&&(s=-s),p(s<=67108863);for(var v=0,y=this.length-1;y>=0;y--){var f=(0|this.words[y])+67108864*v;this.words[y]=f/s|0,v=f%s}return this._strip(),h?this.ineg():this},c.prototype.divn=function(s){return this.clone().idivn(s)},c.prototype.egcd=function(s){p(0===s.negative),p(!s.isZero());var h=this,v=s.clone();h=0!==h.negative?h.umod(s):h.clone();for(var y=new c(1),f=new c(0),r=new c(0),d=new c(1),L=0;h.isEven()&&v.isEven();)h.iushrn(1),v.iushrn(1),++L;for(var I=v.clone(),V=h.clone();!h.isZero();){for(var q=0,oe=1;!(h.words[0]&oe)&&q<26;++q,oe<<=1);if(q>0)for(h.iushrn(q);q-- >0;)(y.isOdd()||f.isOdd())&&(y.iadd(I),f.isub(V)),y.iushrn(1),f.iushrn(1);for(var ve=0,Ae=1;!(v.words[0]&Ae)&&ve<26;++ve,Ae<<=1);if(ve>0)for(v.iushrn(ve);ve-- >0;)(r.isOdd()||d.isOdd())&&(r.iadd(I),d.isub(V)),r.iushrn(1),d.iushrn(1);h.cmp(v)>=0?(h.isub(v),y.isub(r),f.isub(d)):(v.isub(h),r.isub(y),d.isub(f))}return{a:r,b:d,gcd:v.iushln(L)}},c.prototype._invmp=function(s){p(0===s.negative),p(!s.isZero());var q,h=this,v=s.clone();h=0!==h.negative?h.umod(s):h.clone();for(var y=new c(1),f=new c(0),r=v.clone();h.cmpn(1)>0&&v.cmpn(1)>0;){for(var d=0,L=1;!(h.words[0]&L)&&d<26;++d,L<<=1);if(d>0)for(h.iushrn(d);d-- >0;)y.isOdd()&&y.iadd(r),y.iushrn(1);for(var I=0,V=1;!(v.words[0]&V)&&I<26;++I,V<<=1);if(I>0)for(v.iushrn(I);I-- >0;)f.isOdd()&&f.iadd(r),f.iushrn(1);h.cmp(v)>=0?(h.isub(v),y.isub(f)):(v.isub(h),f.isub(y))}return(q=0===h.cmpn(1)?y:f).cmpn(0)<0&&q.iadd(s),q},c.prototype.gcd=function(s){if(this.isZero())return s.abs();if(s.isZero())return this.abs();var h=this.clone(),v=s.clone();h.negative=0,v.negative=0;for(var y=0;h.isEven()&&v.isEven();y++)h.iushrn(1),v.iushrn(1);for(;;){for(;h.isEven();)h.iushrn(1);for(;v.isEven();)v.iushrn(1);var f=h.cmp(v);if(f<0){var r=h;h=v,v=r}else if(0===f||0===v.cmpn(1))break;h.isub(v)}return v.iushln(y)},c.prototype.invm=function(s){return this.egcd(s).a.umod(s)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(s){return this.words[0]&s},c.prototype.bincn=function(s){p("number"==typeof s);var h=s%26,v=(s-h)/26,y=1<>>26,this.words[r]=d&=67108863}return 0!==f&&(this.words[r]=f,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(s){var v,h=s<0;if(0!==this.negative&&!h)return-1;if(0===this.negative&&h)return 1;if(this._strip(),this.length>1)v=1;else{h&&(s=-s),p(s<=67108863,"Number is too big");var y=0|this.words[0];v=y===s?0:ys.length)return 1;if(this.length=0;v--){var y=0|this.words[v],f=0|s.words[v];if(y!==f){yf&&(h=1);break}}return h},c.prototype.gtn=function(s){return 1===this.cmpn(s)},c.prototype.gt=function(s){return 1===this.cmp(s)},c.prototype.gten=function(s){return this.cmpn(s)>=0},c.prototype.gte=function(s){return this.cmp(s)>=0},c.prototype.ltn=function(s){return-1===this.cmpn(s)},c.prototype.lt=function(s){return-1===this.cmp(s)},c.prototype.lten=function(s){return this.cmpn(s)<=0},c.prototype.lte=function(s){return this.cmp(s)<=0},c.prototype.eqn=function(s){return 0===this.cmpn(s)},c.prototype.eq=function(s){return 0===this.cmp(s)},c.red=function(s){return new n(s)},c.prototype.toRed=function(s){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),s.convertTo(this)._forceRed(s)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(s){return this.red=s,this},c.prototype.forceRed=function(s){return p(!this.red,"Already a number in reduction context"),this._forceRed(s)},c.prototype.redAdd=function(s){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,s)},c.prototype.redIAdd=function(s){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,s)},c.prototype.redSub=function(s){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,s)},c.prototype.redISub=function(s){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,s)},c.prototype.redShl=function(s){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,s)},c.prototype.redMul=function(s){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.mul(this,s)},c.prototype.redIMul=function(s){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.imul(this,s)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(s){return p(this.red&&!s.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,s)};var W={k256:null,p224:null,p192:null,p25519:null};function ie(u,s){this.name=u,this.p=new c(s,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function me(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function te(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function m(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(u){if("string"==typeof u){var s=c._prime(u);this.m=s.p,this.prime=s}else p(u.gtn(1),"modulus must be greater than 1"),this.m=u,this.prime=null}function o(u){n.call(this,u),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var s=new c(null);return s.words=new Array(Math.ceil(this.n/13)),s},ie.prototype.ireduce=function(s){var v,h=s;do{this.split(h,this.tmp),v=(h=(h=this.imulK(h)).iadd(this.tmp)).bitLength()}while(v>this.n);var y=v0?h.isub(this.p):void 0!==h.strip?h.strip():h._strip(),h},ie.prototype.split=function(s,h){s.iushrn(this.n,0,h)},ie.prototype.imulK=function(s){return s.imul(this.k)},R(me,ie),me.prototype.split=function(s,h){for(var v=4194303,y=Math.min(s.length,9),f=0;f>>22,r=d}s.words[f-10]=r>>>=22,s.length-=0===r&&s.length>10?10:9},me.prototype.imulK=function(s){s.words[s.length]=0,s.words[s.length+1]=0,s.length+=2;for(var h=0,v=0;v>>=26,s.words[v]=f,h=y}return 0!==h&&(s.words[s.length++]=h),s},c._prime=function(s){if(W[s])return W[s];var h;if("k256"===s)h=new me;else if("p224"===s)h=new te;else if("p192"===s)h=new se;else{if("p25519"!==s)throw new Error("Unknown prime "+s);h=new m}return W[s]=h,h},n.prototype._verify1=function(s){p(0===s.negative,"red works only with positives"),p(s.red,"red works only with red numbers")},n.prototype._verify2=function(s,h){p(!(s.negative|h.negative),"red works only with positives"),p(s.red&&s.red===h.red,"red works only with red numbers")},n.prototype.imod=function(s){return this.prime?this.prime.ireduce(s)._forceRed(this):(_(s,s.umod(this.m)._forceRed(this)),s)},n.prototype.neg=function(s){return s.isZero()?s.clone():this.m.sub(s)._forceRed(this)},n.prototype.add=function(s,h){this._verify2(s,h);var v=s.add(h);return v.cmp(this.m)>=0&&v.isub(this.m),v._forceRed(this)},n.prototype.iadd=function(s,h){this._verify2(s,h);var v=s.iadd(h);return v.cmp(this.m)>=0&&v.isub(this.m),v},n.prototype.sub=function(s,h){this._verify2(s,h);var v=s.sub(h);return v.cmpn(0)<0&&v.iadd(this.m),v._forceRed(this)},n.prototype.isub=function(s,h){this._verify2(s,h);var v=s.isub(h);return v.cmpn(0)<0&&v.iadd(this.m),v},n.prototype.shl=function(s,h){return this._verify1(s),this.imod(s.ushln(h))},n.prototype.imul=function(s,h){return this._verify2(s,h),this.imod(s.imul(h))},n.prototype.mul=function(s,h){return this._verify2(s,h),this.imod(s.mul(h))},n.prototype.isqr=function(s){return this.imul(s,s.clone())},n.prototype.sqr=function(s){return this.mul(s,s)},n.prototype.sqrt=function(s){if(s.isZero())return s.clone();var h=this.m.andln(3);if(p(h%2==1),3===h){var v=this.m.add(new c(1)).iushrn(2);return this.pow(s,v)}for(var y=this.m.subn(1),f=0;!y.isZero()&&0===y.andln(1);)f++,y.iushrn(1);p(!y.isZero());var r=new c(1).toRed(this),d=r.redNeg(),L=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new c(2*I*I).toRed(this);0!==this.pow(I,L).cmp(d);)I.redIAdd(d);for(var V=this.pow(I,y),q=this.pow(s,y.addn(1).iushrn(1)),oe=this.pow(s,y),ve=f;0!==oe.cmp(r);){for(var Ae=oe,Q=0;0!==Ae.cmp(r);Q++)Ae=Ae.redSqr();p(Q=0;f--){for(var V=h.words[f],q=I-1;q>=0;q--){var oe=V>>q&1;r!==y[0]&&(r=this.sqr(r)),0!==oe||0!==d?(d<<=1,d|=oe,(4==++L||0===f&&0===q)&&(r=this.mul(r,y[d]),L=0,d=0)):L=0}I=26}return r},n.prototype.convertTo=function(s){var h=s.umod(this.m);return h===s?h.clone():h},n.prototype.convertFrom=function(s){var h=s.clone();return h.red=null,h},c.mont=function(s){return new o(s)},R(o,n),o.prototype.convertTo=function(s){return this.imod(s.ushln(this.shift))},o.prototype.convertFrom=function(s){var h=this.imod(s.mul(this.rinv));return h.red=null,h},o.prototype.imul=function(s,h){if(s.isZero()||h.isZero())return s.words[0]=0,s.length=1,s;var v=s.imul(h),y=v.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),f=v.isub(y).iushrn(this.shift),r=f;return f.cmp(this.m)>=0?r=f.isub(this.m):f.cmpn(0)<0&&(r=f.iadd(this.m)),r._forceRed(this)},o.prototype.mul=function(s,h){if(s.isZero()||h.isZero())return new c(0)._forceRed(this);var v=s.mul(h),y=v.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),f=v.isub(y).iushrn(this.shift),r=f;return f.cmp(this.m)>=0?r=f.isub(this.m):f.cmpn(0)<0&&(r=f.iadd(this.m)),r._forceRed(this)},o.prototype.invm=function(s){return this.imod(s._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},5294:(Ce,ee,E)=>{var a;function S(R){this.rand=R}if(Ce.exports=function(c){return a||(a=new S(null)),a.generate(c)},Ce.exports.Rand=S,S.prototype.generate=function(c){return this._rand(c)},S.prototype._rand=function(c){if(this.rand.getBytes)return this.rand.getBytes(c);for(var D=new Uint8Array(c),C=0;C{var a=E(7054).Buffer;function S(w){a.isBuffer(w)||(w=a.from(w));for(var T=w.length/4|0,_=new Array(T),g=0;g>>24]^B[M>>>16&255]^P[O>>>8&255]^$[255&U]^T[te++],W=A[M>>>24]^B[O>>>16&255]^P[U>>>8&255]^$[255&k]^T[te++],ie=A[O>>>24]^B[U>>>16&255]^P[k>>>8&255]^$[255&M]^T[te++],me=A[U>>>24]^B[k>>>16&255]^P[M>>>8&255]^$[255&O]^T[te++],k=j,M=W,O=ie,U=me;return j=(g[k>>>24]<<24|g[M>>>16&255]<<16|g[O>>>8&255]<<8|g[255&U])^T[te++],W=(g[M>>>24]<<24|g[O>>>16&255]<<16|g[U>>>8&255]<<8|g[255&k])^T[te++],ie=(g[O>>>24]<<24|g[U>>>16&255]<<16|g[k>>>8&255]<<8|g[255&M])^T[te++],me=(g[U>>>24]<<24|g[k>>>16&255]<<16|g[M>>>8&255]<<8|g[255&O])^T[te++],[j>>>=0,W>>>=0,ie>>>=0,me>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],D=function(){for(var w=new Array(256),T=0;T<256;T++)w[T]=T<128?T<<1:T<<1^283;for(var _=[],g=[],F=[[],[],[],[]],A=[[],[],[],[]],B=0,P=0,$=0;$<256;++$){var k=P^P<<1^P<<2^P<<3^P<<4;_[B]=k=k>>>8^255&k^99,g[k]=B;var M=w[B],O=w[M],U=w[O],j=257*w[k]^16843008*k;F[0][B]=j<<24|j>>>8,F[1][B]=j<<16|j>>>16,F[2][B]=j<<8|j>>>24,F[3][B]=j,A[0][k]=(j=16843009*U^65537*O^257*M^16843008*B)<<24|j>>>8,A[1][k]=j<<16|j>>>16,A[2][k]=j<<8|j>>>24,A[3][k]=j,0===B?B=P=1:(B=M^w[w[w[U^M]]],P^=w[w[P]])}return{SBOX:_,INV_SBOX:g,SUB_MIX:F,INV_SUB_MIX:A}}();function C(w){this._key=S(w),this._reset()}C.blockSize=16,C.keySize=32,C.prototype.blockSize=C.blockSize,C.prototype.keySize=C.keySize,C.prototype._reset=function(){for(var w=this._key,T=w.length,_=T+6,g=4*(_+1),F=[],A=0;A>>24)>>>24]<<24|D.SBOX[B>>>16&255]<<16|D.SBOX[B>>>8&255]<<8|D.SBOX[255&B],B^=c[A/T|0]<<24):T>6&&A%T==4&&(B=D.SBOX[B>>>24]<<24|D.SBOX[B>>>16&255]<<16|D.SBOX[B>>>8&255]<<8|D.SBOX[255&B]),F[A]=F[A-T]^B}for(var P=[],$=0;$>>24]]^D.INV_SUB_MIX[1][D.SBOX[M>>>16&255]]^D.INV_SUB_MIX[2][D.SBOX[M>>>8&255]]^D.INV_SUB_MIX[3][D.SBOX[255&M]]}this._nRounds=_,this._keySchedule=F,this._invKeySchedule=P},C.prototype.encryptBlockRaw=function(w){return R(w=S(w),this._keySchedule,D.SUB_MIX,D.SBOX,this._nRounds)},C.prototype.encryptBlock=function(w){var T=this.encryptBlockRaw(w),_=a.allocUnsafe(16);return _.writeUInt32BE(T[0],0),_.writeUInt32BE(T[1],4),_.writeUInt32BE(T[2],8),_.writeUInt32BE(T[3],12),_},C.prototype.decryptBlock=function(w){var T=(w=S(w))[1];w[1]=w[3],w[3]=T;var _=R(w,this._invKeySchedule,D.INV_SUB_MIX,D.INV_SBOX,this._nRounds),g=a.allocUnsafe(16);return g.writeUInt32BE(_[0],0),g.writeUInt32BE(_[3],4),g.writeUInt32BE(_[2],8),g.writeUInt32BE(_[1],12),g},C.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},Ce.exports.AES=C},9307:(Ce,ee,E)=>{var a=E(2375),S=E(7054).Buffer,p=E(3247),R=E(1993),c=E(5917),D=E(3546),C=E(5725);function _(g,F,A,B){p.call(this);var P=S.alloc(4,0);this._cipher=new a.AES(F);var $=this._cipher.encryptBlock(P);this._ghash=new c($),A=function T(g,F,A){if(12===F.length)return g._finID=S.concat([F,S.from([0,0,0,1])]),S.concat([F,S.from([0,0,0,2])]);var B=new c(A),P=F.length,$=P%16;B.update(F),$&&B.update(S.alloc($=16-$,0)),B.update(S.alloc(8,0));var k=8*P,M=S.alloc(8);M.writeUIntBE(k,0,8),B.update(M),g._finID=B.state;var O=S.from(g._finID);return C(O),O}(this,A,$),this._prev=S.from(A),this._cache=S.allocUnsafe(0),this._secCache=S.allocUnsafe(0),this._decrypt=B,this._alen=0,this._len=0,this._mode=g,this._authTag=null,this._called=!1}R(_,p),_.prototype._update=function(g){if(!this._called&&this._alen){var F=16-this._alen%16;F<16&&(F=S.alloc(F,0),this._ghash.update(F))}this._called=!0;var A=this._mode.encrypt(this,g);return this._ghash.update(this._decrypt?g:A),this._len+=g.length,A},_.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var g=D(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function w(g,F){var A=0;g.length!==F.length&&A++;for(var B=Math.min(g.length,F.length),P=0;P{var a=E(350),S=E(102),p=E(3219);ee.createCipher=ee.Cipher=a.createCipher,ee.createCipheriv=ee.Cipheriv=a.createCipheriv,ee.createDecipher=ee.Decipher=S.createDecipher,ee.createDecipheriv=ee.Decipheriv=S.createDecipheriv,ee.listCiphers=ee.getCiphers=function R(){return Object.keys(p)}},102:(Ce,ee,E)=>{var a=E(9307),S=E(7054).Buffer,p=E(503),R=E(1821),c=E(3247),D=E(2375),C=E(8211);function T(B,P,$){c.call(this),this._cache=new _,this._last=void 0,this._cipher=new D.AES(P),this._prev=S.from($),this._mode=B,this._autopadding=!0}function _(){this.cache=S.allocUnsafe(0)}function F(B,P,$){var k=p[B.toLowerCase()];if(!k)throw new TypeError("invalid suite type");if("string"==typeof $&&($=S.from($)),"GCM"!==k.mode&&$.length!==k.iv)throw new TypeError("invalid iv length "+$.length);if("string"==typeof P&&(P=S.from(P)),P.length!==k.key/8)throw new TypeError("invalid key length "+P.length);return"stream"===k.type?new R(k.module,P,$,!0):"auth"===k.type?new a(k.module,P,$,!0):new T(k.module,P,$)}E(1993)(T,c),T.prototype._update=function(B){this._cache.add(B);for(var P,$,k=[];P=this._cache.get(this._autopadding);)$=this._mode.decrypt(this,P),k.push($);return S.concat(k)},T.prototype._final=function(){var B=this._cache.flush();if(this._autopadding)return function g(B){var P=B[15];if(P<1||P>16)throw new Error("unable to decrypt data");for(var $=-1;++$16)return P=this.cache.slice(0,16),this.cache=this.cache.slice(16),P}else if(this.cache.length>=16)return P=this.cache.slice(0,16),this.cache=this.cache.slice(16),P;return null},_.prototype.flush=function(){if(this.cache.length)return this.cache},ee.createDecipher=function A(B,P){var $=p[B.toLowerCase()];if(!$)throw new TypeError("invalid suite type");var k=C(P,!1,$.key,$.iv);return F(B,k.key,k.iv)},ee.createDecipheriv=F},350:(Ce,ee,E)=>{var a=E(503),S=E(9307),p=E(7054).Buffer,R=E(1821),c=E(3247),D=E(2375),C=E(8211);function T(B,P,$){c.call(this),this._cache=new g,this._cipher=new D.AES(P),this._prev=p.from($),this._mode=B,this._autopadding=!0}E(1993)(T,c),T.prototype._update=function(B){this._cache.add(B);for(var P,$,k=[];P=this._cache.get();)$=this._mode.encrypt(this,P),k.push($);return p.concat(k)};var _=p.alloc(16,16);function g(){this.cache=p.allocUnsafe(0)}function F(B,P,$){var k=a[B.toLowerCase()];if(!k)throw new TypeError("invalid suite type");if("string"==typeof P&&(P=p.from(P)),P.length!==k.key/8)throw new TypeError("invalid key length "+P.length);if("string"==typeof $&&($=p.from($)),"GCM"!==k.mode&&$.length!==k.iv)throw new TypeError("invalid iv length "+$.length);return"stream"===k.type?new R(k.module,P,$):"auth"===k.type?new S(k.module,P,$):new T(k.module,P,$)}T.prototype._final=function(){var B=this._cache.flush();if(this._autopadding)return B=this._mode.encrypt(this,B),this._cipher.scrub(),B;if(!B.equals(_))throw this._cipher.scrub(),new Error("data not multiple of block length")},T.prototype.setAutoPadding=function(B){return this._autopadding=!!B,this},g.prototype.add=function(B){this.cache=p.concat([this.cache,B])},g.prototype.get=function(){if(this.cache.length>15){var B=this.cache.slice(0,16);return this.cache=this.cache.slice(16),B}return null},g.prototype.flush=function(){for(var B=16-this.cache.length,P=p.allocUnsafe(B),$=-1;++${var a=E(7054).Buffer,S=a.alloc(16,0);function R(D){var C=a.allocUnsafe(16);return C.writeUInt32BE(D[0]>>>0,0),C.writeUInt32BE(D[1]>>>0,4),C.writeUInt32BE(D[2]>>>0,8),C.writeUInt32BE(D[3]>>>0,12),C}function c(D){this.h=D,this.state=a.alloc(16,0),this.cache=a.allocUnsafe(0)}c.prototype.ghash=function(D){for(var C=-1;++C0;w--)D[w]=D[w]>>>1|(1&D[w-1])<<31;D[0]=D[0]>>>1,_&&(D[0]=D[0]^225<<24)}this.state=R(C)},c.prototype.update=function(D){this.cache=a.concat([this.cache,D]);for(var C;this.cache.length>=16;)C=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(C)},c.prototype.final=function(D,C){return this.cache.length&&this.ghash(a.concat([this.cache,S],16)),this.ghash(R([0,D,0,C])),this.state},Ce.exports=c},5725:Ce=>{Ce.exports=function ee(E){for(var S,a=E.length;a--;){if(255!==(S=E.readUInt8(a))){S++,E.writeUInt8(S,a);break}E.writeUInt8(0,a)}}},4133:(Ce,ee,E)=>{var a=E(3546);ee.encrypt=function(S,p){var R=a(p,S._prev);return S._prev=S._cipher.encryptBlock(R),S._prev},ee.decrypt=function(S,p){var R=S._prev;S._prev=p;var c=S._cipher.decryptBlock(p);return a(c,R)}},7090:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(3546);function p(R,c,D){var C=c.length,w=S(c,R._cache);return R._cache=R._cache.slice(C),R._prev=a.concat([R._prev,D?c:w]),w}ee.encrypt=function(R,c,D){for(var w,C=a.allocUnsafe(0);c.length;){if(0===R._cache.length&&(R._cache=R._cipher.encryptBlock(R._prev),R._prev=a.allocUnsafe(0)),!(R._cache.length<=c.length)){C=a.concat([C,p(R,c,D)]);break}C=a.concat([C,p(R,c.slice(0,w=R._cache.length),D)]),c=c.slice(w)}return C}},1039:(Ce,ee,E)=>{var a=E(7054).Buffer;function S(R,c,D){for(var g,F,w=-1,_=0;++w<8;)_+=(128&(F=R._cipher.encryptBlock(R._prev)[0]^(g=c&1<<7-w?128:0)))>>w%8,R._prev=p(R._prev,D?g:F);return _}function p(R,c){var D=R.length,C=-1,w=a.allocUnsafe(R.length);for(R=a.concat([R,a.from([c])]);++C>7;return w}ee.encrypt=function(R,c,D){for(var C=c.length,w=a.allocUnsafe(C),T=-1;++T{var a=E(7054).Buffer;function S(p,R,c){var C=p._cipher.encryptBlock(p._prev)[0]^R;return p._prev=a.concat([p._prev.slice(1),a.from([c?R:C])]),C}ee.encrypt=function(p,R,c){for(var D=R.length,C=a.allocUnsafe(D),w=-1;++w{var a=E(3546),S=E(7054).Buffer,p=E(5725);function R(D){var C=D._cipher.encryptBlockRaw(D._prev);return p(D._prev),C}ee.encrypt=function(D,C){var w=Math.ceil(C.length/16),T=D._cache.length;D._cache=S.concat([D._cache,S.allocUnsafe(16*w)]);for(var _=0;_{ee.encrypt=function(E,a){return E._cipher.encryptBlock(a)},ee.decrypt=function(E,a){return E._cipher.decryptBlock(a)}},503:(Ce,ee,E)=>{var a={ECB:E(7513),CBC:E(4133),CFB:E(7090),CFB8:E(2576),CFB1:E(1039),OFB:E(6854),CTR:E(336),GCM:E(336)},S=E(3219);for(var p in S)S[p].module=a[S[p].mode];Ce.exports=S},6854:(Ce,ee,E)=>{var a=E(3546);function S(p){return p._prev=p._cipher.encryptBlock(p._prev),p._prev}ee.encrypt=function(p,R){for(;p._cache.length{var a=E(2375),S=E(7054).Buffer,p=E(3247);function c(D,C,w,T){p.call(this),this._cipher=new a.AES(C),this._prev=S.from(w),this._cache=S.allocUnsafe(0),this._secCache=S.allocUnsafe(0),this._decrypt=T,this._mode=D}E(1993)(c,p),c.prototype._update=function(D){return this._mode.encrypt(this,D,this._decrypt)},c.prototype._final=function(){this._cipher.scrub()},Ce.exports=c},8862:(Ce,ee,E)=>{var a=E(9799),S=E(3388),p=E(503),R=E(9571),c=E(8211);function w(g,F,A){if(g=g.toLowerCase(),p[g])return S.createCipheriv(g,F,A);if(R[g])return new a({key:F,iv:A,mode:g});throw new TypeError("invalid suite type")}function T(g,F,A){if(g=g.toLowerCase(),p[g])return S.createDecipheriv(g,F,A);if(R[g])return new a({key:F,iv:A,mode:g,decrypt:!0});throw new TypeError("invalid suite type")}ee.createCipher=ee.Cipher=function D(g,F){var A,B;if(g=g.toLowerCase(),p[g])A=p[g].key,B=p[g].iv;else{if(!R[g])throw new TypeError("invalid suite type");A=8*R[g].key,B=R[g].iv}var P=c(F,!1,A,B);return w(g,P.key,P.iv)},ee.createCipheriv=ee.Cipheriv=w,ee.createDecipher=ee.Decipher=function C(g,F){var A,B;if(g=g.toLowerCase(),p[g])A=p[g].key,B=p[g].iv;else{if(!R[g])throw new TypeError("invalid suite type");A=8*R[g].key,B=R[g].iv}var P=c(F,!1,A,B);return T(g,P.key,P.iv)},ee.createDecipheriv=ee.Decipheriv=T,ee.listCiphers=ee.getCiphers=function _(){return Object.keys(R).concat(S.getCiphers())}},9799:(Ce,ee,E)=>{var a=E(3247),S=E(1549),p=E(1993),R=E(7054).Buffer,c={"des-ede3-cbc":S.CBC.instantiate(S.EDE),"des-ede3":S.EDE,"des-ede-cbc":S.CBC.instantiate(S.EDE),"des-ede":S.EDE,"des-cbc":S.CBC.instantiate(S.DES),"des-ecb":S.DES};function D(C){a.call(this);var _,w=C.mode.toLowerCase(),T=c[w];_=C.decrypt?"decrypt":"encrypt";var g=C.key;R.isBuffer(g)||(g=R.from(g)),("des-ede"===w||"des-ede-cbc"===w)&&(g=R.concat([g,g.slice(0,8)]));var F=C.iv;R.isBuffer(F)||(F=R.from(F)),this._des=T.create({key:g,iv:F,type:_})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],Ce.exports=D,p(D,a),D.prototype._update=function(C){return R.from(this._des.update(C))},D.prototype._final=function(){return R.from(this._des.final())}},9571:(Ce,ee)=>{ee["des-ecb"]={key:8,iv:0},ee["des-cbc"]=ee.des={key:8,iv:8},ee["des-ede3-cbc"]=ee.des3={key:24,iv:8},ee["des-ede3"]={key:24,iv:0},ee["des-ede-cbc"]={key:16,iv:8},ee["des-ede"]={key:16,iv:0}},4105:(Ce,ee,E)=>{var a=E(917),S=E(3342);function R(D){var w,C=D.modulus.byteLength();do{w=new a(S(C))}while(w.cmp(D.modulus)>=0||!w.umod(D.prime1)||!w.umod(D.prime2));return w}function c(D,C){var w=function p(D){var C=R(D);return{blinder:C.toRed(a.mont(D.modulus)).redPow(new a(D.publicExponent)).fromRed(),unblinder:C.invm(D.modulus)}}(C),T=C.modulus.byteLength(),_=new a(D).mul(w.blinder).umod(C.modulus),g=_.toRed(a.mont(C.prime1)),F=_.toRed(a.mont(C.prime2)),A=C.coefficient,B=C.prime1,P=C.prime2,$=g.redPow(C.exponent1).fromRed(),k=F.redPow(C.exponent2).fromRed(),M=$.isub(k).imul(A).umod(B).imul(P);return k.iadd(M).imul(w.unblinder).umod(C.modulus).toArrayLike(Buffer,"be",T)}c.getr=R,Ce.exports=c},9560:(Ce,ee,E)=>{"use strict";Ce.exports=E(2951)},9143:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7211),p=E(5942),R=E(1993),c=E(3150),D=E(4754),C=E(2951);function w(F){p.Writable.call(this);var A=C[F];if(!A)throw new Error("Unknown message digest");this._hashType=A.hash,this._hash=S(A.hash),this._tag=A.id,this._signType=A.sign}function T(F){p.Writable.call(this);var A=C[F];if(!A)throw new Error("Unknown message digest");this._hash=S(A.hash),this._tag=A.id,this._signType=A.sign}function _(F){return new w(F)}function g(F){return new T(F)}Object.keys(C).forEach(function(F){C[F].id=a.from(C[F].id,"hex"),C[F.toLowerCase()]=C[F]}),R(w,p.Writable),w.prototype._write=function(A,B,P){this._hash.update(A),P()},w.prototype.update=function(A,B){return this._hash.update("string"==typeof A?a.from(A,B):A),this},w.prototype.sign=function(A,B){this.end();var P=this._hash.digest(),$=c(P,A,this._hashType,this._signType,this._tag);return B?$.toString(B):$},R(T,p.Writable),T.prototype._write=function(A,B,P){this._hash.update(A),P()},T.prototype.update=function(A,B){return this._hash.update("string"==typeof A?a.from(A,B):A),this},T.prototype.verify=function(A,B,P){var $="string"==typeof B?a.from(B,P):B;this.end();var k=this._hash.digest();return D($,k,A,this._signType,this._tag)},Ce.exports={Sign:_,Verify:g,createSign:_,createVerify:g}},3150:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(6432),p=E(4105),R=E(518).ec,c=E(917),D=E(5667),C=E(4589);function A(M,O,U,j){if((M=a.from(M.toArray())).length0&&U.ishrn(j),U}function $(M,O,U){var j,W;do{for(j=a.alloc(0);8*j.length{"use strict";var a=E(7054).Buffer,S=E(917),p=E(518).ec,R=E(5667),c=E(4589);function T(_,g){if(_.cmpn(0)<=0)throw new Error("invalid sig");if(_.cmp(g)>=0)throw new Error("invalid sig")}Ce.exports=function D(_,g,F,A,B){var P=R(F);if("ec"===P.type){if("ecdsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");return function C(_,g,F){var A=c[F.data.algorithm.curve.join(".")];if(!A)throw new Error("unknown curve "+F.data.algorithm.curve.join("."));return new p(A).verify(g,_,F.data.subjectPrivateKey.data)}(_,g,P)}if("dsa"===P.type){if("dsa"!==A)throw new Error("wrong public key type");return function w(_,g,F){var A=F.data.p,B=F.data.q,P=F.data.g,$=F.data.pub_key,k=R.signature.decode(_,"der"),M=k.s,O=k.r;T(M,B),T(O,B);var U=S.mont(A),j=M.invm(B);return 0===P.toRed(U).redPow(new S(g).mul(j).mod(B)).fromRed().mul($.toRed(U).redPow(O.mul(j).mod(B)).fromRed()).mod(A).mod(B).cmp(O)}(_,g,P)}if("rsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");g=a.concat([B,g]);for(var $=P.modulus.byteLength(),k=[1],M=0;g.length+k.length+2<$;)k.push(255),M+=1;k.push(0);for(var O=-1;++O{Ce.exports=function(E,a){for(var S=Math.min(E.length,a.length),p=new Buffer(S),R=0;R{"use strict";var a=E(3981),S=E(2020),p="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;ee.Buffer=C,ee.SlowBuffer=function M(re){return+re!=re&&(re=0),C.alloc(+re)},ee.INSPECT_MAX_BYTES=50;var R=2147483647;function D(re){if(re>R)throw new RangeError('The value "'+re+'" is invalid for option "size"');var ne=new Uint8Array(re);return Object.setPrototypeOf(ne,C.prototype),ne}function C(re,ne,G){if("number"==typeof re){if("string"==typeof ne)throw new TypeError('The "string" argument must be of type string. Received type number');return g(re)}return w(re,ne,G)}function w(re,ne,G){if("string"==typeof re)return function F(re,ne){if(("string"!=typeof ne||""===ne)&&(ne="utf8"),!C.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);var G=0|O(re,ne),Ee=D(G),vt=Ee.write(re,ne);return vt!==G&&(Ee=Ee.slice(0,vt)),Ee}(re,ne);if(ArrayBuffer.isView(re))return function B(re){if(pe(re,Uint8Array)){var ne=new Uint8Array(re);return P(ne.buffer,ne.byteOffset,ne.byteLength)}return A(re)}(re);if(null==re)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re);if(pe(re,ArrayBuffer)||re&&pe(re.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(re,SharedArrayBuffer)||re&&pe(re.buffer,SharedArrayBuffer)))return P(re,ne,G);if("number"==typeof re)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ee=re.valueOf&&re.valueOf();if(null!=Ee&&Ee!==re)return C.from(Ee,ne,G);var vt=function $(re){if(C.isBuffer(re)){var ne=0|k(re.length),G=D(ne);return 0===G.length||re.copy(G,0,0,ne),G}return void 0!==re.length?"number"!=typeof re.length||Ie(re.length)?D(0):A(re):"Buffer"===re.type&&Array.isArray(re.data)?A(re.data):void 0}(re);if(vt)return vt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof re[Symbol.toPrimitive])return C.from(re[Symbol.toPrimitive]("string"),ne,G);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re)}function T(re){if("number"!=typeof re)throw new TypeError('"size" argument must be of type number');if(re<0)throw new RangeError('The value "'+re+'" is invalid for option "size"')}function g(re){return T(re),D(re<0?0:0|k(re))}function A(re){for(var ne=re.length<0?0:0|k(re.length),G=D(ne),Ee=0;Ee=R)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+R.toString(16)+" bytes");return 0|re}function O(re,ne){if(C.isBuffer(re))return re.length;if(ArrayBuffer.isView(re)||pe(re,ArrayBuffer))return re.byteLength;if("string"!=typeof re)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof re);var G=re.length,Ee=arguments.length>2&&!0===arguments[2];if(!Ee&&0===G)return 0;for(var vt=!1;;)switch(ne){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":return Ae(re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*G;case"hex":return G>>>1;case"base64":return tt(re).length;default:if(vt)return Ee?-1:Ae(re).length;ne=(""+ne).toLowerCase(),vt=!0}}function U(re,ne,G){var Ee=!1;if((void 0===ne||ne<0)&&(ne=0),ne>this.length||((void 0===G||G>this.length)&&(G=this.length),G<=0)||(G>>>=0)<=(ne>>>=0))return"";for(re||(re="utf8");;)switch(re){case"hex":return f(this,ne,G);case"utf8":case"utf-8":return u(this,ne,G);case"ascii":return v(this,ne,G);case"latin1":case"binary":return y(this,ne,G);case"base64":return o(this,ne,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,ne,G);default:if(Ee)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),Ee=!0}}function j(re,ne,G){var Ee=re[ne];re[ne]=re[G],re[G]=Ee}function W(re,ne,G,Ee,vt){if(0===re.length)return-1;if("string"==typeof G?(Ee=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),Ie(G=+G)&&(G=vt?0:re.length-1),G<0&&(G=re.length+G),G>=re.length){if(vt)return-1;G=re.length-1}else if(G<0){if(!vt)return-1;G=0}if("string"==typeof ne&&(ne=C.from(ne,Ee)),C.isBuffer(ne))return 0===ne.length?-1:ie(re,ne,G,Ee,vt);if("number"==typeof ne)return ne&=255,"function"==typeof Uint8Array.prototype.indexOf?vt?Uint8Array.prototype.indexOf.call(re,ne,G):Uint8Array.prototype.lastIndexOf.call(re,ne,G):ie(re,[ne],G,Ee,vt);throw new TypeError("val must be string, number or Buffer")}function ie(re,ne,G,Ee,vt){var ht,Qe=1,rt=re.length,nn=ne.length;if(void 0!==Ee&&("ucs2"===(Ee=String(Ee).toLowerCase())||"ucs-2"===Ee||"utf16le"===Ee||"utf-16le"===Ee)){if(re.length<2||ne.length<2)return-1;Qe=2,rt/=2,nn/=2,G/=2}function gt(En,It){return 1===Qe?En[It]:En.readUInt16BE(It*Qe)}if(vt){var on=-1;for(ht=G;htrt&&(G=rt-nn),ht=G;ht>=0;ht--){for(var Mt=!0,Pt=0;Ptvt&&(Ee=vt):Ee=vt;var Qe=ne.length;Ee>Qe/2&&(Ee=Qe/2);for(var rt=0;rt>8,Qe.push(G%256),Qe.push(Ee);return Qe}(ne,re.length-G),re,G,Ee)}function o(re,ne,G){return a.fromByteArray(0===ne&&G===re.length?re:re.slice(ne,G))}function u(re,ne,G){G=Math.min(re.length,G);for(var Ee=[],vt=ne;vt239?4:Qe>223?3:Qe>191?2:1;if(vt+nn<=G)switch(nn){case 1:Qe<128&&(rt=Qe);break;case 2:128==(192&(gt=re[vt+1]))&&(Mt=(31&Qe)<<6|63>)>127&&(rt=Mt);break;case 3:ht=re[vt+2],128==(192&(gt=re[vt+1]))&&128==(192&ht)&&(Mt=(15&Qe)<<12|(63>)<<6|63&ht)>2047&&(Mt<55296||Mt>57343)&&(rt=Mt);break;case 4:ht=re[vt+2],on=re[vt+3],128==(192&(gt=re[vt+1]))&&128==(192&ht)&&128==(192&on)&&(Mt=(15&Qe)<<18|(63>)<<12|(63&ht)<<6|63&on)>65535&&Mt<1114112&&(rt=Mt)}null===rt?(rt=65533,nn=1):rt>65535&&(Ee.push((rt-=65536)>>>10&1023|55296),rt=56320|1023&rt),Ee.push(rt),vt+=nn}return function h(re){var ne=re.length;if(ne<=s)return String.fromCharCode.apply(String,re);for(var G="",Ee=0;Eevt.length?C.from(rt).copy(vt,Qe):Uint8Array.prototype.set.call(vt,rt,Qe);else{if(!C.isBuffer(rt))throw new TypeError('"list" argument must be an Array of Buffers');rt.copy(vt,Qe)}Qe+=rt.length}return vt},C.byteLength=O,C.prototype._isBuffer=!0,C.prototype.swap16=function(){var ne=this.length;if(ne%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var G=0;GG&&(ne+=" ... "),""},p&&(C.prototype[p]=C.prototype.inspect),C.prototype.compare=function(ne,G,Ee,vt,Qe){if(pe(ne,Uint8Array)&&(ne=C.from(ne,ne.offset,ne.byteLength)),!C.isBuffer(ne))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ne);if(void 0===G&&(G=0),void 0===Ee&&(Ee=ne?ne.length:0),void 0===vt&&(vt=0),void 0===Qe&&(Qe=this.length),G<0||Ee>ne.length||vt<0||Qe>this.length)throw new RangeError("out of range index");if(vt>=Qe&&G>=Ee)return 0;if(vt>=Qe)return-1;if(G>=Ee)return 1;if(this===ne)return 0;for(var rt=(Qe>>>=0)-(vt>>>=0),nn=(Ee>>>=0)-(G>>>=0),gt=Math.min(rt,nn),ht=this.slice(vt,Qe),on=ne.slice(G,Ee),Mt=0;Mt>>=0,isFinite(Ee)?(Ee>>>=0,void 0===vt&&(vt="utf8")):(vt=Ee,Ee=void 0)}var Qe=this.length-G;if((void 0===Ee||Ee>Qe)&&(Ee=Qe),ne.length>0&&(Ee<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");vt||(vt="utf8");for(var rt=!1;;)switch(vt){case"hex":return me(this,ne,G,Ee);case"utf8":case"utf-8":return te(this,ne,G,Ee);case"ascii":case"latin1":case"binary":return se(this,ne,G,Ee);case"base64":return m(this,ne,G,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ne,G,Ee);default:if(rt)throw new TypeError("Unknown encoding: "+vt);vt=(""+vt).toLowerCase(),rt=!0}},C.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var s=4096;function v(re,ne,G){var Ee="";G=Math.min(re.length,G);for(var vt=ne;vtEe)&&(G=Ee);for(var vt="",Qe=ne;QeG)throw new RangeError("Trying to access beyond buffer length")}function L(re,ne,G,Ee,vt,Qe){if(!C.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(ne>vt||nere.length)throw new RangeError("Index out of range")}function I(re,ne,G,Ee,vt,Qe){if(G+Ee>re.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function V(re,ne,G,Ee,vt){return ne=+ne,G>>>=0,vt||I(re,0,G,4),S.write(re,ne,G,Ee,23,4),G+4}function q(re,ne,G,Ee,vt){return ne=+ne,G>>>=0,vt||I(re,0,G,8),S.write(re,ne,G,Ee,52,8),G+8}C.prototype.slice=function(ne,G){var Ee=this.length;(ne=~~ne)<0?(ne+=Ee)<0&&(ne=0):ne>Ee&&(ne=Ee),(G=void 0===G?Ee:~~G)<0?(G+=Ee)<0&&(G=0):G>Ee&&(G=Ee),G>>=0,G>>>=0,Ee||d(ne,G,this.length);for(var vt=this[ne],Qe=1,rt=0;++rt>>=0,G>>>=0,Ee||d(ne,G,this.length);for(var vt=this[ne+--G],Qe=1;G>0&&(Qe*=256);)vt+=this[ne+--G]*Qe;return vt},C.prototype.readUint8=C.prototype.readUInt8=function(ne,G){return ne>>>=0,G||d(ne,1,this.length),this[ne]},C.prototype.readUint16LE=C.prototype.readUInt16LE=function(ne,G){return ne>>>=0,G||d(ne,2,this.length),this[ne]|this[ne+1]<<8},C.prototype.readUint16BE=C.prototype.readUInt16BE=function(ne,G){return ne>>>=0,G||d(ne,2,this.length),this[ne]<<8|this[ne+1]},C.prototype.readUint32LE=C.prototype.readUInt32LE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),(this[ne]|this[ne+1]<<8|this[ne+2]<<16)+16777216*this[ne+3]},C.prototype.readUint32BE=C.prototype.readUInt32BE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),16777216*this[ne]+(this[ne+1]<<16|this[ne+2]<<8|this[ne+3])},C.prototype.readIntLE=function(ne,G,Ee){ne>>>=0,G>>>=0,Ee||d(ne,G,this.length);for(var vt=this[ne],Qe=1,rt=0;++rt=(Qe*=128)&&(vt-=Math.pow(2,8*G)),vt},C.prototype.readIntBE=function(ne,G,Ee){ne>>>=0,G>>>=0,Ee||d(ne,G,this.length);for(var vt=G,Qe=1,rt=this[ne+--vt];vt>0&&(Qe*=256);)rt+=this[ne+--vt]*Qe;return rt>=(Qe*=128)&&(rt-=Math.pow(2,8*G)),rt},C.prototype.readInt8=function(ne,G){return ne>>>=0,G||d(ne,1,this.length),128&this[ne]?-1*(255-this[ne]+1):this[ne]},C.prototype.readInt16LE=function(ne,G){ne>>>=0,G||d(ne,2,this.length);var Ee=this[ne]|this[ne+1]<<8;return 32768&Ee?4294901760|Ee:Ee},C.prototype.readInt16BE=function(ne,G){ne>>>=0,G||d(ne,2,this.length);var Ee=this[ne+1]|this[ne]<<8;return 32768&Ee?4294901760|Ee:Ee},C.prototype.readInt32LE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),this[ne]|this[ne+1]<<8|this[ne+2]<<16|this[ne+3]<<24},C.prototype.readInt32BE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),this[ne]<<24|this[ne+1]<<16|this[ne+2]<<8|this[ne+3]},C.prototype.readFloatLE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),S.read(this,ne,!0,23,4)},C.prototype.readFloatBE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),S.read(this,ne,!1,23,4)},C.prototype.readDoubleLE=function(ne,G){return ne>>>=0,G||d(ne,8,this.length),S.read(this,ne,!0,52,8)},C.prototype.readDoubleBE=function(ne,G){return ne>>>=0,G||d(ne,8,this.length),S.read(this,ne,!1,52,8)},C.prototype.writeUintLE=C.prototype.writeUIntLE=function(ne,G,Ee,vt){ne=+ne,G>>>=0,Ee>>>=0,vt||L(this,ne,G,Ee,Math.pow(2,8*Ee)-1,0);var rt=1,nn=0;for(this[G]=255≠++nn>>=0,Ee>>>=0,vt||L(this,ne,G,Ee,Math.pow(2,8*Ee)-1,0);var rt=Ee-1,nn=1;for(this[G+rt]=255≠--rt>=0&&(nn*=256);)this[G+rt]=ne/nn&255;return G+Ee},C.prototype.writeUint8=C.prototype.writeUInt8=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,1,255,0),this[G]=255&ne,G+1},C.prototype.writeUint16LE=C.prototype.writeUInt16LE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,2,65535,0),this[G]=255&ne,this[G+1]=ne>>>8,G+2},C.prototype.writeUint16BE=C.prototype.writeUInt16BE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,2,65535,0),this[G]=ne>>>8,this[G+1]=255&ne,G+2},C.prototype.writeUint32LE=C.prototype.writeUInt32LE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,4,4294967295,0),this[G+3]=ne>>>24,this[G+2]=ne>>>16,this[G+1]=ne>>>8,this[G]=255&ne,G+4},C.prototype.writeUint32BE=C.prototype.writeUInt32BE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,4,4294967295,0),this[G]=ne>>>24,this[G+1]=ne>>>16,this[G+2]=ne>>>8,this[G+3]=255&ne,G+4},C.prototype.writeIntLE=function(ne,G,Ee,vt){if(ne=+ne,G>>>=0,!vt){var Qe=Math.pow(2,8*Ee-1);L(this,ne,G,Ee,Qe-1,-Qe)}var rt=0,nn=1,gt=0;for(this[G]=255≠++rt>>=0,!vt){var Qe=Math.pow(2,8*Ee-1);L(this,ne,G,Ee,Qe-1,-Qe)}var rt=Ee-1,nn=1,gt=0;for(this[G+rt]=255≠--rt>=0&&(nn*=256);)ne<0&&0===gt&&0!==this[G+rt+1]&&(gt=1),this[G+rt]=(ne/nn|0)-gt&255;return G+Ee},C.prototype.writeInt8=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,1,127,-128),ne<0&&(ne=255+ne+1),this[G]=255&ne,G+1},C.prototype.writeInt16LE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,2,32767,-32768),this[G]=255&ne,this[G+1]=ne>>>8,G+2},C.prototype.writeInt16BE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,2,32767,-32768),this[G]=ne>>>8,this[G+1]=255&ne,G+2},C.prototype.writeInt32LE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,4,2147483647,-2147483648),this[G]=255&ne,this[G+1]=ne>>>8,this[G+2]=ne>>>16,this[G+3]=ne>>>24,G+4},C.prototype.writeInt32BE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,4,2147483647,-2147483648),ne<0&&(ne=4294967295+ne+1),this[G]=ne>>>24,this[G+1]=ne>>>16,this[G+2]=ne>>>8,this[G+3]=255&ne,G+4},C.prototype.writeFloatLE=function(ne,G,Ee){return V(this,ne,G,!0,Ee)},C.prototype.writeFloatBE=function(ne,G,Ee){return V(this,ne,G,!1,Ee)},C.prototype.writeDoubleLE=function(ne,G,Ee){return q(this,ne,G,!0,Ee)},C.prototype.writeDoubleBE=function(ne,G,Ee){return q(this,ne,G,!1,Ee)},C.prototype.copy=function(ne,G,Ee,vt){if(!C.isBuffer(ne))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),!vt&&0!==vt&&(vt=this.length),G>=ne.length&&(G=ne.length),G||(G=0),vt>0&&vt=this.length)throw new RangeError("Index out of range");if(vt<0)throw new RangeError("sourceEnd out of bounds");vt>this.length&&(vt=this.length),ne.length-G>>=0,Ee=void 0===Ee?this.length:Ee>>>0,ne||(ne=0),"number"==typeof ne)for(rt=G;rt55295&&G<57344){if(!vt){if(G>56319){(ne-=3)>-1&&Qe.push(239,191,189);continue}if(rt+1===Ee){(ne-=3)>-1&&Qe.push(239,191,189);continue}vt=G;continue}if(G<56320){(ne-=3)>-1&&Qe.push(239,191,189),vt=G;continue}G=65536+(vt-55296<<10|G-56320)}else vt&&(ne-=3)>-1&&Qe.push(239,191,189);if(vt=null,G<128){if((ne-=1)<0)break;Qe.push(G)}else if(G<2048){if((ne-=2)<0)break;Qe.push(G>>6|192,63&G|128)}else if(G<65536){if((ne-=3)<0)break;Qe.push(G>>12|224,G>>6&63|128,63&G|128)}else{if(!(G<1114112))throw new Error("Invalid code point");if((ne-=4)<0)break;Qe.push(G>>18|240,G>>12&63|128,G>>6&63|128,63&G|128)}}return Qe}function tt(re){return a.toByteArray(function ve(re){if((re=(re=re.split("=")[0]).trim().replace(oe,"")).length<2)return"";for(;re.length%4!=0;)re+="=";return re}(re))}function Oe(re,ne,G,Ee){for(var vt=0;vt=ne.length||vt>=re.length);++vt)ne[vt+G]=re[vt];return vt}function pe(re,ne){return re instanceof ne||null!=re&&null!=re.constructor&&null!=re.constructor.name&&re.constructor.name===ne.name}function Ie(re){return re!=re}var Se=function(){for(var re="0123456789abcdef",ne=new Array(256),G=0;G<16;++G)for(var Ee=16*G,vt=0;vt<16;++vt)ne[Ee+vt]=re[G]+re[vt];return ne}()},5293:(Ce,ee,E)=>{"use strict";E.d(ee,{R:()=>S});const S=(0,E(5083).F3)("VoiceRecorder",{web:()=>E.e(5120).then(E.bind(E,5120)).then(p=>new p.VoiceRecorderWeb)})},3247:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(7045).Transform,p=E(8454).I;function c(D){S.call(this),this.hashMode="string"==typeof D,this.hashMode?this[D]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}E(1993)(c,S),c.prototype.update=function(D,C,w){"string"==typeof D&&(D=a.from(D,C));var T=this._update(D);return this.hashMode?this:(w&&(T=this._toString(T,w)),T)},c.prototype.setAutoPadding=function(){},c.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},c.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},c.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},c.prototype._transform=function(D,C,w){var T;try{this.hashMode?this._update(D):this.push(this._update(D))}catch(_){T=_}finally{w(T)}},c.prototype._flush=function(D){var C;try{this.push(this.__final())}catch(w){C=w}D(C)},c.prototype._finalOrDigest=function(D){var C=this.__final()||a.alloc(0);return D&&(C=this._toString(C,D,!0)),C},c.prototype._toString=function(D,C,w){if(this._decoder||(this._decoder=new p(C),this._encoding=C),this._encoding!==C)throw new Error("can't switch encodings");var T=this._decoder.write(D);return w&&(T+=this._decoder.end()),T},Ce.exports=c},7637:(Ce,ee,E)=>{function P($){return Object.prototype.toString.call($)}ee.isArray=function a($){return Array.isArray?Array.isArray($):"[object Array]"===P($)},ee.isBoolean=function S($){return"boolean"==typeof $},ee.isNull=function p($){return null===$},ee.isNullOrUndefined=function R($){return null==$},ee.isNumber=function c($){return"number"==typeof $},ee.isString=function D($){return"string"==typeof $},ee.isSymbol=function C($){return"symbol"==typeof $},ee.isUndefined=function w($){return void 0===$},ee.isRegExp=function T($){return"[object RegExp]"===P($)},ee.isObject=function _($){return"object"==typeof $&&null!==$},ee.isDate=function g($){return"[object Date]"===P($)},ee.isError=function F($){return"[object Error]"===P($)||$ instanceof Error},ee.isFunction=function A($){return"function"==typeof $},ee.isPrimitive=function B($){return null===$||"boolean"==typeof $||"number"==typeof $||"string"==typeof $||"symbol"==typeof $||typeof $>"u"},ee.isBuffer=E(3838).Buffer.isBuffer},7303:(Ce,ee,E)=>{var a=E(518),S=E(9606);Ce.exports=function(C){return new R(C)};var p={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function R(D){this.curveType=p[D],this.curveType||(this.curveType={name:D}),this.curve=new a.ec(this.curveType.name),this.keys=void 0}function c(D,C,w){Array.isArray(D)||(D=D.toArray());var T=new Buffer(D);if(w&&T.length=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,ft=Cn>>>13,In=0|h[2],kt=8191&In,Nt=In>>>13,Un=0|h[3],Vt=8191&Un,He=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],Ve=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,je=Pe>>>13,yt=0|h[7],Je=8191&yt,st=yt>>>13,qt=0|h[8],Ct=8191&qt,mt=qt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var kn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var bn=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,ft)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,ft)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,ft)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,ft)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,ft)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,ft)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var Dn=(y+(f=f+Math.imul(I,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(V,Vt)|0))<<13)|0;y=((d=d+Math.imul(V,He)|0)+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,ft)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,ft)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Vt)|0,r=(r=r+Math.imul(oe,He)|0)+Math.imul(ve,Vt)|0,d=d+Math.imul(ve,He)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,ft)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,ft)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Vt)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Vt)|0,d=d+Math.imul(ae,He)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,Ve)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ve)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,ft)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,ft)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Vt)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Vt)|0,d=d+Math.imul(pe,He)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,Ve)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,Ve)|0,d=d+Math.imul(ve,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,je)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,je)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,ft)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,ft)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Vt)|0,r=(r=r+Math.imul(Se,He)|0)+Math.imul(re,Vt)|0,d=d+Math.imul(re,He)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,Ve)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ve)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,je)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,je)|0;var $n=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,st)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,ft)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,ft)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Vt)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(Ee,Vt)|0,d=d+Math.imul(Ee,He)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,Ve)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,Ve)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,je)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,je)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,st)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,st)|0;var Xn=(y+(f=f+Math.imul(I,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,Ct)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,ft)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,ft)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Vt)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Vt)|0,d=d+Math.imul(rt,He)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,Ve)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,Ve)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,je)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,je)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,st)|0,f=f+Math.imul(oe,Ct)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,Ct)|0,d=d+Math.imul(ve,mt)|0;var Yn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,ft))+Math.imul(Ft,St)|0,d=Math.imul(Ft,ft),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Vt)|0,r=(r=r+Math.imul(gt,He)|0)+Math.imul(ht,Vt)|0,d=d+Math.imul(ht,He)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,Ve)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ve)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,je)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,je)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,st)|0,f=f+Math.imul(Q,Ct)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,Ct)|0,d=d+Math.imul(ae,mt)|0;var Hn=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Vt)|0,r=(r=r+Math.imul(Mt,He)|0)+Math.imul(Pt,Vt)|0,d=d+Math.imul(Pt,He)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,Ve)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ve)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,je)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,je)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,st)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,st)|0,f=f+Math.imul(Oe,Ct)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var $e=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,f=Math.imul(It,Vt),r=(r=Math.imul(It,He))+Math.imul(Ft,Vt)|0,d=Math.imul(Ft,He),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,Ve)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,Ve)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,je)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,je)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,st)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,Ct)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,Ve)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,Ve)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,je)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,je)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,st)|0,f=f+Math.imul(G,Ct)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,Ct)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,Ve),r=(r=Math.imul(It,it))+Math.imul(Ft,Ve)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,je)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,je)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,st)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,st)|0,f=f+Math.imul(Qe,Ct)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,Ct)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,je))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,je),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,st)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,st)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,Ct)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,st))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,st),f=f+Math.imul(Mt,Ct)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,Ct),r=(r=Math.imul(It,mt))+Math.imul(Ft,Ct)|0,d=Math.imul(Ft,mt);var Jt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=kn,v[1]=bn,v[2]=wn,v[3]=Dn,v[4]=Wn,v[5]=Vn,v[6]=Fn,v[7]=$n,v[8]=Xn,v[9]=Yn,v[10]=Hn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=Jt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},7211:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(4725),p=E(6636),R=E(5443),c=E(3247);function D(C){c.call(this,"digest"),this._hash=C}a(D,c),D.prototype._update=function(C){this._hash.update(C)},D.prototype._final=function(){return this._hash.digest()},Ce.exports=function(w){return"md5"===(w=w.toLowerCase())?new S:"rmd160"===w||"ripemd160"===w?new p:new D(R(w))}},3407:(Ce,ee,E)=>{var a=E(4725);Ce.exports=function(S){return(new a).update(S).digest()}},6432:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(509),p=E(3247),R=E(7054).Buffer,c=E(3407),D=E(6636),C=E(5443),w=R.alloc(128);function T(_,g){p.call(this,"digest"),"string"==typeof g&&(g=R.from(g));var F="sha512"===_||"sha384"===_?128:64;this._alg=_,this._key=g,g.length>F?g=("rmd160"===_?new D:C(_)).update(g).digest():g.length{"use strict";var a=E(1993),S=E(7054).Buffer,p=E(3247),R=S.alloc(128),c=64;function D(C,w){p.call(this,"digest"),"string"==typeof w&&(w=S.from(w)),this._alg=C,this._key=w,w.length>c?w=C(w):w.length{"use strict";ee.randomBytes=ee.rng=ee.pseudoRandomBytes=ee.prng=E(3342),ee.createHash=ee.Hash=E(7211),ee.createHmac=ee.Hmac=E(6432);var a=E(9560),S=Object.keys(a),p=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(S);ee.getHashes=function(){return p};var R=E(3397);ee.pbkdf2=R.pbkdf2,ee.pbkdf2Sync=R.pbkdf2Sync;var c=E(8862);ee.Cipher=c.Cipher,ee.createCipher=c.createCipher,ee.Cipheriv=c.Cipheriv,ee.createCipheriv=c.createCipheriv,ee.Decipher=c.Decipher,ee.createDecipher=c.createDecipher,ee.Decipheriv=c.Decipheriv,ee.createDecipheriv=c.createDecipheriv,ee.getCiphers=c.getCiphers,ee.listCiphers=c.listCiphers;var D=E(4377);ee.DiffieHellmanGroup=D.DiffieHellmanGroup,ee.createDiffieHellmanGroup=D.createDiffieHellmanGroup,ee.getDiffieHellman=D.getDiffieHellman,ee.createDiffieHellman=D.createDiffieHellman,ee.DiffieHellman=D.DiffieHellman;var C=E(9143);ee.createSign=C.createSign,ee.Sign=C.Sign,ee.createVerify=C.createVerify,ee.Verify=C.Verify,ee.createECDH=E(7303);var w=E(2965);ee.publicEncrypt=w.publicEncrypt,ee.privateEncrypt=w.privateEncrypt,ee.publicDecrypt=w.publicDecrypt,ee.privateDecrypt=w.privateDecrypt;var T=E(9682);ee.randomFill=T.randomFill,ee.randomFillSync=T.randomFillSync,ee.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},ee.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},7656:function(Ce,ee,E){var a;Ce.exports=(a=a||function(S,p){var R;if(typeof window<"u"&&window.crypto&&(R=window.crypto),typeof self<"u"&&self.crypto&&(R=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(R=globalThis.crypto),!R&&typeof window<"u"&&window.msCrypto&&(R=window.msCrypto),!R&&typeof global<"u"&&global.crypto&&(R=global.crypto),!R)try{R=E(1426)}catch{}var c=function(){if(R){if("function"==typeof R.getRandomValues)try{return R.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof R.randomBytes)try{return R.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},D=Object.create||function(){function M(){}return function(O){var U;return M.prototype=O,U=new M,M.prototype=null,U}}(),C={},w=C.lib={},T=w.Base=function(){return{extend:function(M){var O=D(this);return M&&O.mixIn(M),(!O.hasOwnProperty("init")||this.init===O.init)&&(O.init=function(){O.$super.init.apply(this,arguments)}),O.init.prototype=O,O.$super=this,O},create:function(){var M=this.extend();return M.init.apply(M,arguments),M},init:function(){},mixIn:function(M){for(var O in M)M.hasOwnProperty(O)&&(this[O]=M[O]);M.hasOwnProperty("toString")&&(this.toString=M.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),_=w.WordArray=T.extend({init:function(M,O){M=this.words=M||[],this.sigBytes=null!=O?O:4*M.length},toString:function(M){return(M||F).stringify(this)},concat:function(M){var O=this.words,U=M.words,j=this.sigBytes,W=M.sigBytes;if(this.clamp(),j%4)for(var ie=0;ie>>2]|=(U[ie>>>2]>>>24-ie%4*8&255)<<24-(j+ie)%4*8;else for(var te=0;te>>2]=U[te>>>2];return this.sigBytes+=W,this},clamp:function(){var M=this.words,O=this.sigBytes;M[O>>>2]&=4294967295<<32-O%4*8,M.length=S.ceil(O/4)},clone:function(){var M=T.clone.call(this);return M.words=this.words.slice(0),M},random:function(M){for(var O=[],U=0;U>>2]>>>24-W%4*8&255;j.push((ie>>>4).toString(16)),j.push((15&ie).toString(16))}return j.join("")},parse:function(M){for(var O=M.length,U=[],j=0;j>>3]|=parseInt(M.substr(j,2),16)<<24-j%8*4;return new _.init(U,O/2)}},A=g.Latin1={stringify:function(M){for(var O=M.words,U=M.sigBytes,j=[],W=0;W>>2]>>>24-W%4*8&255));return j.join("")},parse:function(M){for(var O=M.length,U=[],j=0;j>>2]|=(255&M.charCodeAt(j))<<24-j%4*8;return new _.init(U,O)}},B=g.Utf8={stringify:function(M){try{return decodeURIComponent(escape(A.stringify(M)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(M){return A.parse(unescape(encodeURIComponent(M)))}},P=w.BufferedBlockAlgorithm=T.extend({reset:function(){this._data=new _.init,this._nDataBytes=0},_append:function(M){"string"==typeof M&&(M=B.parse(M)),this._data.concat(M),this._nDataBytes+=M.sigBytes},_process:function(M){var O,U=this._data,j=U.words,W=U.sigBytes,ie=this.blockSize,te=W/(4*ie),se=(te=M?S.ceil(te):S.max((0|te)-this._minBufferSize,0))*ie,m=S.min(4*se,W);if(se){for(var n=0;n>>24)|4278255360&(M<<24|M>>>8)}var O=this._hash.words,U=B[P+0],j=B[P+1],W=B[P+2],ie=B[P+3],me=B[P+4],te=B[P+5],se=B[P+6],m=B[P+7],n=B[P+8],o=B[P+9],u=B[P+10],s=B[P+11],h=B[P+12],v=B[P+13],y=B[P+14],f=B[P+15],r=O[0],d=O[1],L=O[2],I=O[3];r=_(r,d,L,I,U,7,w[0]),I=_(I,r,d,L,j,12,w[1]),L=_(L,I,r,d,W,17,w[2]),d=_(d,L,I,r,ie,22,w[3]),r=_(r,d,L,I,me,7,w[4]),I=_(I,r,d,L,te,12,w[5]),L=_(L,I,r,d,se,17,w[6]),d=_(d,L,I,r,m,22,w[7]),r=_(r,d,L,I,n,7,w[8]),I=_(I,r,d,L,o,12,w[9]),L=_(L,I,r,d,u,17,w[10]),d=_(d,L,I,r,s,22,w[11]),r=_(r,d,L,I,h,7,w[12]),I=_(I,r,d,L,v,12,w[13]),L=_(L,I,r,d,y,17,w[14]),r=g(r,d=_(d,L,I,r,f,22,w[15]),L,I,j,5,w[16]),I=g(I,r,d,L,se,9,w[17]),L=g(L,I,r,d,s,14,w[18]),d=g(d,L,I,r,U,20,w[19]),r=g(r,d,L,I,te,5,w[20]),I=g(I,r,d,L,u,9,w[21]),L=g(L,I,r,d,f,14,w[22]),d=g(d,L,I,r,me,20,w[23]),r=g(r,d,L,I,o,5,w[24]),I=g(I,r,d,L,y,9,w[25]),L=g(L,I,r,d,ie,14,w[26]),d=g(d,L,I,r,n,20,w[27]),r=g(r,d,L,I,v,5,w[28]),I=g(I,r,d,L,W,9,w[29]),L=g(L,I,r,d,m,14,w[30]),r=F(r,d=g(d,L,I,r,h,20,w[31]),L,I,te,4,w[32]),I=F(I,r,d,L,n,11,w[33]),L=F(L,I,r,d,s,16,w[34]),d=F(d,L,I,r,y,23,w[35]),r=F(r,d,L,I,j,4,w[36]),I=F(I,r,d,L,me,11,w[37]),L=F(L,I,r,d,m,16,w[38]),d=F(d,L,I,r,u,23,w[39]),r=F(r,d,L,I,v,4,w[40]),I=F(I,r,d,L,U,11,w[41]),L=F(L,I,r,d,ie,16,w[42]),d=F(d,L,I,r,se,23,w[43]),r=F(r,d,L,I,o,4,w[44]),I=F(I,r,d,L,h,11,w[45]),L=F(L,I,r,d,f,16,w[46]),r=A(r,d=F(d,L,I,r,W,23,w[47]),L,I,U,6,w[48]),I=A(I,r,d,L,m,10,w[49]),L=A(L,I,r,d,y,15,w[50]),d=A(d,L,I,r,te,21,w[51]),r=A(r,d,L,I,h,6,w[52]),I=A(I,r,d,L,ie,10,w[53]),L=A(L,I,r,d,u,15,w[54]),d=A(d,L,I,r,j,21,w[55]),r=A(r,d,L,I,n,6,w[56]),I=A(I,r,d,L,f,10,w[57]),L=A(L,I,r,d,se,15,w[58]),d=A(d,L,I,r,v,21,w[59]),r=A(r,d,L,I,me,6,w[60]),I=A(I,r,d,L,s,10,w[61]),L=A(L,I,r,d,W,15,w[62]),d=A(d,L,I,r,o,21,w[63]),O[0]=O[0]+r|0,O[1]=O[1]+d|0,O[2]=O[2]+L|0,O[3]=O[3]+I|0},_doFinalize:function(){var B=this._data,P=B.words,$=8*this._nDataBytes,k=8*B.sigBytes;P[k>>>5]|=128<<24-k%32;var M=S.floor($/4294967296),O=$;P[15+(k+64>>>9<<4)]=16711935&(M<<8|M>>>24)|4278255360&(M<<24|M>>>8),P[14+(k+64>>>9<<4)]=16711935&(O<<8|O>>>24)|4278255360&(O<<24|O>>>8),B.sigBytes=4*(P.length+1),this._process();for(var U=this._hash,j=U.words,W=0;W<4;W++){var ie=j[W];j[W]=16711935&(ie<<8|ie>>>24)|4278255360&(ie<<24|ie>>>8)}return U},clone:function(){var B=D.clone.call(this);return B._hash=this._hash.clone(),B}});function _(B,P,$,k,M,O,U){var j=B+(P&$|~P&k)+M+U;return(j<>>32-O)+P}function g(B,P,$,k,M,O,U){var j=B+(P&k|$&~k)+M+U;return(j<>>32-O)+P}function F(B,P,$,k,M,O,U){var j=B+(P^$^k)+M+U;return(j<>>32-O)+P}function A(B,P,$,k,M,O,U){var j=B+($^(P|~k))+M+U;return(j<>>32-O)+P}p.MD5=D._createHelper(T),p.HmacMD5=D._createHmacHelper(T)}(Math),a.MD5)},9986:function(Ce,ee,E){var S,p,R,c,C,w,a;Ce.exports=(a=E(7656),R=(p=(S=a).lib).WordArray,C=[],w=S.algo.SHA1=(c=p.Hasher).extend({_doReset:function(){this._hash=new R.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,_){for(var g=this._hash.words,F=g[0],A=g[1],B=g[2],P=g[3],$=g[4],k=0;k<80;k++){if(k<16)C[k]=0|T[_+k];else{var M=C[k-3]^C[k-8]^C[k-14]^C[k-16];C[k]=M<<1|M>>>31}var O=(F<<5|F>>>27)+$+C[k];O+=k<20?1518500249+(A&B|~A&P):k<40?1859775393+(A^B^P):k<60?(A&B|A&P|B&P)-1894007588:(A^B^P)-899497514,$=P,P=B,B=A<<30|A>>>2,A=F,F=O}g[0]=g[0]+F|0,g[1]=g[1]+A|0,g[2]=g[2]+B|0,g[3]=g[3]+P|0,g[4]=g[4]+$|0},_doFinalize:function(){var T=this._data,_=T.words,g=8*this._nDataBytes,F=8*T.sigBytes;return _[F>>>5]|=128<<24-F%32,_[14+(F+64>>>9<<4)]=Math.floor(g/4294967296),_[15+(F+64>>>9<<4)]=g,T.sigBytes=4*_.length,this._process(),this._hash},clone:function(){var T=c.clone.call(this);return T._hash=this._hash.clone(),T}}),S.SHA1=c._createHelper(w),S.HmacSHA1=c._createHmacHelper(w),a.SHA1)},7374:function(Ce){Ce.exports=function(){"use strict";var E=6e4,a=36e5,S="millisecond",p="second",R="minute",c="hour",D="day",C="week",w="month",T="quarter",_="year",g="date",F="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,B=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,P={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var n=["th","st","nd","rd"],o=m%100;return"["+m+(n[(o-20)%10]||n[o]||n[0])+"]"}},$=function(m,n,o){var u=String(m);return!u||u.length>=n?m:""+Array(n+1-u.length).join(o)+m},k={s:$,z:function(m){var n=-m.utcOffset(),o=Math.abs(n),u=Math.floor(o/60),s=o%60;return(n<=0?"+":"-")+$(u,2,"0")+":"+$(s,2,"0")},m:function m(n,o){if(n.date()1)return m(v[0])}else{var y=n.name;O[y]=n,s=y}return!u&&s&&(M=s),s||!u&&M},ie=function(m,n){if(j(m))return m.clone();var o="object"==typeof n?n:{};return o.date=m,o.args=arguments,new te(o)},me=k;me.l=W,me.i=j,me.w=function(m,n){return ie(m,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var te=function(){function m(o){this.$L=W(o.locale,null,!0),this.parse(o),this.$x=this.$x||o.x||{},this[U]=!0}var n=m.prototype;return n.parse=function(o){this.$d=function(u){var s=u.date,h=u.utc;if(null===s)return new Date(NaN);if(me.u(s))return new Date;if(s instanceof Date)return new Date(s);if("string"==typeof s&&!/Z$/i.test(s)){var v=s.match(A);if(v){var y=v[2]-1||0,f=(v[7]||"0").substring(0,3);return h?new Date(Date.UTC(v[1],y,v[3]||1,v[4]||0,v[5]||0,v[6]||0,f)):new Date(v[1],y,v[3]||1,v[4]||0,v[5]||0,v[6]||0,f)}}return new Date(s)}(o),this.init()},n.init=function(){var o=this.$d;this.$y=o.getFullYear(),this.$M=o.getMonth(),this.$D=o.getDate(),this.$W=o.getDay(),this.$H=o.getHours(),this.$m=o.getMinutes(),this.$s=o.getSeconds(),this.$ms=o.getMilliseconds()},n.$utils=function(){return me},n.isValid=function(){return this.$d.toString()!==F},n.isSame=function(o,u){var s=ie(o);return this.startOf(u)<=s&&s<=this.endOf(u)},n.isAfter=function(o,u){return ie(o){"use strict";ee.utils=E(5671),ee.Cipher=E(219),ee.DES=E(4166),ee.CBC=E(8800),ee.EDE=E(2122)},8800:(Ce,ee,E)=>{"use strict";var a=E(9210),S=E(1993),p={};function R(D){a.equal(D.length,8,"Invalid IV length"),this.iv=new Array(8);for(var C=0;C{"use strict";var a=E(9210);function S(p){this.options=p,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==p.padding}Ce.exports=S,S.prototype._init=function(){},S.prototype.update=function(R){return 0===R.length?[]:"decrypt"===this.type?this._updateDecrypt(R):this._updateEncrypt(R)},S.prototype._buffer=function(R,c){for(var D=Math.min(this.buffer.length-this.bufferOff,R.length-c),C=0;C0;C--)c+=this._buffer(R,c),D+=this._flushBuffer(w,D);return c+=this._buffer(R,c),w},S.prototype.final=function(R){var c,D;return R&&(c=this.update(R)),D="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),c?c.concat(D):D},S.prototype._pad=function(R,c){if(0===c)return!1;for(;c{"use strict";var a=E(9210),S=E(1993),p=E(5671),R=E(219);function c(){this.tmp=new Array(2),this.keys=null}function D(w){R.call(this,w);var T=new c;this._desState=T,this.deriveKeys(T,w.key)}S(D,R),Ce.exports=D,D.create=function(T){return new D(T)};var C=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];D.prototype.deriveKeys=function(T,_){T.keys=new Array(32),a.equal(_.length,this.blockSize,"Invalid key length");var g=p.readUInt32BE(_,0),F=p.readUInt32BE(_,4);p.pc1(g,F,T.tmp,0),g=T.tmp[0],F=T.tmp[1];for(var A=0;A>>1];g=p.r28shl(g,B),F=p.r28shl(F,B),p.pc2(g,F,T.keys,A)}},D.prototype._update=function(T,_,g,F){var A=this._desState,B=p.readUInt32BE(T,_),P=p.readUInt32BE(T,_+4);p.ip(B,P,A.tmp,0),B=A.tmp[0],P=A.tmp[1],"encrypt"===this.type?this._encrypt(A,B,P,A.tmp,0):this._decrypt(A,B,P,A.tmp,0),P=A.tmp[1],p.writeUInt32BE(g,B=A.tmp[0],F),p.writeUInt32BE(g,P,F+4)},D.prototype._pad=function(T,_){if(!1===this.padding)return!1;for(var g=T.length-_,F=_;F>>0,B=j}p.rip(P,B,F,A)},D.prototype._decrypt=function(T,_,g,F,A){for(var B=g,P=_,$=T.keys.length-2;$>=0;$-=2){var k=T.keys[$],M=T.keys[$+1];p.expand(B,T.tmp,0);var O=p.substitute(k^=T.tmp[0],M^=T.tmp[1]),j=B;B=(P^p.permute(O))>>>0,P=j}p.rip(B,P,F,A)}},2122:(Ce,ee,E)=>{"use strict";var a=E(9210),S=E(1993),p=E(219),R=E(4166);function c(C,w){a.equal(w.length,24,"Invalid key length");var T=w.slice(0,8),_=w.slice(8,16),g=w.slice(16,24);this.ciphers="encrypt"===C?[R.create({type:"encrypt",key:T}),R.create({type:"decrypt",key:_}),R.create({type:"encrypt",key:g})]:[R.create({type:"decrypt",key:g}),R.create({type:"encrypt",key:_}),R.create({type:"decrypt",key:T})]}function D(C){p.call(this,C);var w=new c(this.type,this.options.key);this._edeState=w}S(D,p),Ce.exports=D,D.create=function(w){return new D(w)},D.prototype._update=function(w,T,_,g){var F=this._edeState;F.ciphers[0]._update(w,T,_,g),F.ciphers[1]._update(_,g,_,g),F.ciphers[2]._update(_,g,_,g)},D.prototype._pad=R.prototype._pad,D.prototype._unpad=R.prototype._unpad},5671:(Ce,ee)=>{"use strict";ee.readUInt32BE=function(R,c){return(R[0+c]<<24|R[1+c]<<16|R[2+c]<<8|R[3+c])>>>0},ee.writeUInt32BE=function(R,c,D){R[0+D]=c>>>24,R[1+D]=c>>>16&255,R[2+D]=c>>>8&255,R[3+D]=255&c},ee.ip=function(R,c,D,C){for(var w=0,T=0,_=6;_>=0;_-=2){for(var g=0;g<=24;g+=8)w<<=1,w|=c>>>g+_&1;for(g=0;g<=24;g+=8)w<<=1,w|=R>>>g+_&1}for(_=6;_>=0;_-=2){for(g=1;g<=25;g+=8)T<<=1,T|=c>>>g+_&1;for(g=1;g<=25;g+=8)T<<=1,T|=R>>>g+_&1}D[C+0]=w>>>0,D[C+1]=T>>>0},ee.rip=function(R,c,D,C){for(var w=0,T=0,_=0;_<4;_++)for(var g=24;g>=0;g-=8)w<<=1,w|=c>>>g+_&1,w<<=1,w|=R>>>g+_&1;for(_=4;_<8;_++)for(g=24;g>=0;g-=8)T<<=1,T|=c>>>g+_&1,T<<=1,T|=R>>>g+_&1;D[C+0]=w>>>0,D[C+1]=T>>>0},ee.pc1=function(R,c,D,C){for(var w=0,T=0,_=7;_>=5;_--){for(var g=0;g<=24;g+=8)w<<=1,w|=c>>g+_&1;for(g=0;g<=24;g+=8)w<<=1,w|=R>>g+_&1}for(g=0;g<=24;g+=8)w<<=1,w|=c>>g+_&1;for(_=1;_<=3;_++){for(g=0;g<=24;g+=8)T<<=1,T|=c>>g+_&1;for(g=0;g<=24;g+=8)T<<=1,T|=R>>g+_&1}for(g=0;g<=24;g+=8)T<<=1,T|=R>>g+_&1;D[C+0]=w>>>0,D[C+1]=T>>>0},ee.r28shl=function(R,c){return R<>>28-c};var E=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];ee.pc2=function(R,c,D,C){for(var w=0,T=0,_=E.length>>>1,g=0;g<_;g++)w<<=1,w|=R>>>E[g]&1;for(g=_;g>>E[g]&1;D[C+0]=w>>>0,D[C+1]=T>>>0},ee.expand=function(R,c,D){var C=0,w=0;C=(1&R)<<5|R>>>27;for(var T=23;T>=15;T-=4)C<<=6,C|=R>>>T&63;for(T=11;T>=3;T-=4)w|=R>>>T&63,w<<=6;w|=(31&R)<<1|R>>>31,c[D+0]=C>>>0,c[D+1]=w>>>0};var a=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];ee.substitute=function(R,c){for(var D=0,C=0;C<4;C++)D<<=4,D|=a[64*C+(R>>>18-6*C&63)];for(C=0;C<4;C++)D<<=4,D|=a[256+64*C+(c>>>18-6*C&63)];return D>>>0};var S=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];ee.permute=function(R){for(var c=0,D=0;D>>S[D]&1;return c>>>0},ee.padSplit=function(R,c,D){for(var C=R.toString(2);C.length{var a=E(2727),S=E(3241),p=E(4593),c={binary:!0,hex:!0,base64:!0};ee.DiffieHellmanGroup=ee.createDiffieHellmanGroup=ee.getDiffieHellman=function R(C){var w=new Buffer(S[C].prime,"hex"),T=new Buffer(S[C].gen,"hex");return new p(w,T)},ee.createDiffieHellman=ee.DiffieHellman=function D(C,w,T,_){return Buffer.isBuffer(w)||void 0===c[w]?D(C,"binary",w,T):(w=w||"binary",_=_||"binary",T=T||new Buffer([2]),Buffer.isBuffer(T)||(T=new Buffer(T,_)),"number"==typeof C?new p(a(C,T),T,!0):(Buffer.isBuffer(C)||(C=new Buffer(C,w)),new p(C,T,!0)))}},4593:(Ce,ee,E)=>{var a=E(8280),p=new(E(3459)),R=new a(24),c=new a(11),D=new a(10),C=new a(3),w=new a(7),T=E(2727),_=E(3342);function g(k,M){return M=M||"utf8",Buffer.isBuffer(k)||(k=new Buffer(k,M)),this._pub=new a(k),this}function F(k,M){return M=M||"utf8",Buffer.isBuffer(k)||(k=new Buffer(k,M)),this._priv=new a(k),this}Ce.exports=P;var A={};function P(k,M,O){this.setGenerator(M),this.__prime=new a(k),this._prime=a.mont(this.__prime),this._primeLen=k.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,O?(this.setPublicKey=g,this.setPrivateKey=F):this._primeCode=8}function $(k,M){var O=new Buffer(k.toArray());return M?O.toString(M):O}Object.defineProperty(P.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function B(k,M){var O=M.toString("hex"),U=[O,k.toString(16)].join("_");if(U in A)return A[U];var W,j=0;if(k.isEven()||!T.simpleSieve||!T.fermatTest(k)||!p.test(k))return j+=1,A[U]=j+="02"===O||"05"===O?8:4,j;switch(p.test(k.shrn(1))||(j+=2),O){case"02":k.mod(R).cmp(c)&&(j+=8);break;case"05":(W=k.mod(D)).cmp(C)&&W.cmp(w)&&(j+=8);break;default:j+=4}return A[U]=j,j}(this.__prime,this.__gen)),this._primeCode}}),P.prototype.generateKeys=function(){return this._priv||(this._priv=new a(_(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},P.prototype.computeSecret=function(k){var M=(k=(k=new a(k)).toRed(this._prime)).redPow(this._priv).fromRed(),O=new Buffer(M.toArray()),U=this.getPrime();if(O.length{var a=E(3342);Ce.exports=j,j.simpleSieve=O,j.fermatTest=U;var S=E(8280),p=new S(24),c=new(E(3459)),D=new S(1),C=new S(2),w=new S(5),g=(new S(16),new S(8),new S(10)),F=new S(3),B=(new S(7),new S(11)),P=new S(4),k=(new S(12),null);function O(W){for(var ie=function M(){if(null!==k)return k;var ie=[];ie[0]=2;for(var me=1,te=3;te<1048576;te+=2){for(var se=Math.ceil(Math.sqrt(te)),m=0;mW;)me.ishrn(1);if(me.isEven()&&me.iadd(D),me.testn(1)||me.iadd(C),ie.cmp(C)){if(!ie.cmp(w))for(;me.mod(g).cmp(F);)me.iadd(P)}else for(;me.mod(p).cmp(B);)me.iadd(P);if(O(te=me.shrn(1))&&O(me)&&U(te)&&U(me)&&c.test(te)&&c.test(me))return me}}},8280:function(Ce,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function R(m,n){m.super_=n;var o=function(){};o.prototype=n.prototype,m.prototype=new o,m.prototype.constructor=m}function c(m,n,o){if(c.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,null!==m&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(m||0,n||10,o||"be"))}var D;"object"==typeof a?a.exports=c:S.BN=c,c.BN=c,c.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:E(6089).Buffer}catch{}function C(m,n){var o=m.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,ft=Cn>>>13,In=0|h[2],kt=8191&In,Nt=In>>>13,Un=0|h[3],Vt=8191&Un,He=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],Ve=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,je=Pe>>>13,yt=0|h[7],Je=8191&yt,st=yt>>>13,qt=0|h[8],Ct=8191&qt,mt=qt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var kn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var bn=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,ft)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,ft)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,ft)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,ft)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,ft)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,ft)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var Dn=(y+(f=f+Math.imul(I,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(V,Vt)|0))<<13)|0;y=((d=d+Math.imul(V,He)|0)+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,ft)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,ft)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Vt)|0,r=(r=r+Math.imul(oe,He)|0)+Math.imul(ve,Vt)|0,d=d+Math.imul(ve,He)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,ft)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,ft)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Vt)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Vt)|0,d=d+Math.imul(ae,He)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,Ve)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ve)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,ft)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,ft)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Vt)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Vt)|0,d=d+Math.imul(pe,He)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,Ve)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,Ve)|0,d=d+Math.imul(ve,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,je)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,je)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,ft)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,ft)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Vt)|0,r=(r=r+Math.imul(Se,He)|0)+Math.imul(re,Vt)|0,d=d+Math.imul(re,He)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,Ve)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ve)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,je)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,je)|0;var $n=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,st)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,ft)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,ft)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Vt)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(Ee,Vt)|0,d=d+Math.imul(Ee,He)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,Ve)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,Ve)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,je)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,je)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,st)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,st)|0;var Xn=(y+(f=f+Math.imul(I,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,Ct)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,ft)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,ft)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Vt)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Vt)|0,d=d+Math.imul(rt,He)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,Ve)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,Ve)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,je)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,je)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,st)|0,f=f+Math.imul(oe,Ct)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,Ct)|0,d=d+Math.imul(ve,mt)|0;var Yn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,ft))+Math.imul(Ft,St)|0,d=Math.imul(Ft,ft),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Vt)|0,r=(r=r+Math.imul(gt,He)|0)+Math.imul(ht,Vt)|0,d=d+Math.imul(ht,He)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,Ve)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ve)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,je)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,je)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,st)|0,f=f+Math.imul(Q,Ct)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,Ct)|0,d=d+Math.imul(ae,mt)|0;var Hn=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Vt)|0,r=(r=r+Math.imul(Mt,He)|0)+Math.imul(Pt,Vt)|0,d=d+Math.imul(Pt,He)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,Ve)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ve)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,je)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,je)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,st)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,st)|0,f=f+Math.imul(Oe,Ct)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var $e=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,f=Math.imul(It,Vt),r=(r=Math.imul(It,He))+Math.imul(Ft,Vt)|0,d=Math.imul(Ft,He),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,Ve)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,Ve)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,je)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,je)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,st)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,Ct)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,Ve)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,Ve)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,je)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,je)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,st)|0,f=f+Math.imul(G,Ct)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,Ct)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,Ve),r=(r=Math.imul(It,it))+Math.imul(Ft,Ve)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,je)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,je)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,st)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,st)|0,f=f+Math.imul(Qe,Ct)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,Ct)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,je))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,je),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,st)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,st)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,Ct)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,st))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,st),f=f+Math.imul(Mt,Ct)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,Ct),r=(r=Math.imul(It,mt))+Math.imul(Ft,Ct)|0,d=Math.imul(Ft,mt);var Jt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=kn,v[1]=bn,v[2]=wn,v[3]=Dn,v[4]=Wn,v[5]=Vn,v[6]=Fn,v[7]=$n,v[8]=Xn,v[9]=Yn,v[10]=Hn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=Jt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},518:(Ce,ee,E)=>{"use strict";var a=ee;a.version=E(1636).rE,a.utils=E(3136),a.rand=E(5294),a.curve=E(8729),a.curves=E(3401),a.ec=E(9042),a.eddsa=E(3045)},8828:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.getNAF,R=S.getJSF,c=S.assert;function D(w,T){this.type=w,this.p=new a(T.p,16),this.red=T.prime?a.red(T.prime):a.mont(this.p),this.zero=new a(0).toRed(this.red),this.one=new a(1).toRed(this.red),this.two=new a(2).toRed(this.red),this.n=T.n&&new a(T.n,16),this.g=T.g&&this.pointFromJSON(T.g,T.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var _=this.n&&this.p.div(this.n);!_||_.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function C(w,T){this.curve=w,this.type=T,this.precomputed=null}Ce.exports=D,D.prototype.point=function(){throw new Error("Not implemented")},D.prototype.validate=function(){throw new Error("Not implemented")},D.prototype._fixedNafMul=function(T,_){c(T.precomputed);var g=T._getDoubles(),F=p(_,1,this._bitLength),A=(1<=P;k--)$=($<<1)+F[k];B.push($)}for(var M=this.jpoint(null,null,null),O=this.jpoint(null,null,null),U=A;U>0;U--){for(P=0;P=0;$--){for(var k=0;$>=0&&0===B[$];$--)k++;if($>=0&&k++,P=P.dblp(k),$<0)break;var M=B[$];c(0!==M),P="affine"===T.type?P.mixedAdd(M>0?A[M-1>>1]:A[-M-1>>1].neg()):P.add(M>0?A[M-1>>1]:A[-M-1>>1].neg())}return"affine"===T.type?P.toP():P},D.prototype._wnafMulAdd=function(T,_,g,F,A){var M,O,U,B=this._wnafT1,P=this._wnafT2,$=this._wnafT3,k=0;for(M=0;M=1;M-=2){var W=M-1,ie=M;if(1===B[W]&&1===B[ie]){var me=[_[W],null,null,_[ie]];0===_[W].y.cmp(_[ie].y)?(me[1]=_[W].add(_[ie]),me[2]=_[W].toJ().mixedAdd(_[ie].neg())):0===_[W].y.cmp(_[ie].y.redNeg())?(me[1]=_[W].toJ().mixedAdd(_[ie]),me[2]=_[W].add(_[ie].neg())):(me[1]=_[W].toJ().mixedAdd(_[ie]),me[2]=_[W].toJ().mixedAdd(_[ie].neg()));var te=[-3,-1,-5,-7,0,7,5,1,3],se=R(g[W],g[ie]);for(k=Math.max(se[0].length,k),$[W]=new Array(k),$[ie]=new Array(k),O=0;O=0;M--){for(var s=0;M>=0;){var h=!0;for(O=0;O=0&&s++,o=o.dblp(s),M<0)break;for(O=0;O0?U=P[O][v-1>>1]:v<0&&(U=P[O][-v-1>>1].neg()),o="affine"===U.type?o.mixedAdd(U):o.add(U))}}for(M=0;M=Math.ceil((T.bitLength()+1)/_.step)},C.prototype._getDoubles=function(T,_){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var g=[this],F=this,A=0;A<_;A+=T){for(var B=0;B{"use strict";var a=E(3136),S=E(8723),p=E(1993),R=E(8828),c=a.assert;function D(w){this.twisted=1!=(0|w.a),this.mOneA=this.twisted&&-1==(0|w.a),this.extended=this.mOneA,R.call(this,"edwards",w),this.a=new S(w.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new S(w.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new S(w.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),c(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|w.c)}function C(w,T,_,g,F){R.BasePoint.call(this,w,"projective"),null===T&&null===_&&null===g?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new S(T,16),this.y=new S(_,16),this.z=g?new S(g,16):this.curve.one,this.t=F&&new S(F,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}p(D,R),Ce.exports=D,D.prototype._mulA=function(T){return this.mOneA?T.redNeg():this.a.redMul(T)},D.prototype._mulC=function(T){return this.oneC?T:this.c.redMul(T)},D.prototype.jpoint=function(T,_,g,F){return this.point(T,_,g,F)},D.prototype.pointFromX=function(T,_){(T=new S(T,16)).red||(T=T.toRed(this.red));var g=T.redSqr(),F=this.c2.redSub(this.a.redMul(g)),A=this.one.redSub(this.c2.redMul(this.d).redMul(g)),B=F.redMul(A.redInvm()),P=B.redSqrt();if(0!==P.redSqr().redSub(B).cmp(this.zero))throw new Error("invalid point");var $=P.fromRed().isOdd();return(_&&!$||!_&&$)&&(P=P.redNeg()),this.point(T,P)},D.prototype.pointFromY=function(T,_){(T=new S(T,16)).red||(T=T.toRed(this.red));var g=T.redSqr(),F=g.redSub(this.c2),A=g.redMul(this.d).redMul(this.c2).redSub(this.a),B=F.redMul(A.redInvm());if(0===B.cmp(this.zero)){if(_)throw new Error("invalid point");return this.point(this.zero,T)}var P=B.redSqrt();if(0!==P.redSqr().redSub(B).cmp(this.zero))throw new Error("invalid point");return P.fromRed().isOdd()!==_&&(P=P.redNeg()),this.point(P,T)},D.prototype.validate=function(T){if(T.isInfinity())return!0;T.normalize();var _=T.x.redSqr(),g=T.y.redSqr(),F=_.redMul(this.a).redAdd(g),A=this.c2.redMul(this.one.redAdd(this.d.redMul(_).redMul(g)));return 0===F.cmp(A)},p(C,R.BasePoint),D.prototype.pointFromJSON=function(T){return C.fromJSON(this,T)},D.prototype.point=function(T,_,g,F){return new C(this,T,_,g,F)},C.fromJSON=function(T,_){return new C(T,_[0],_[1],_[2])},C.prototype.inspect=function(){return this.isInfinity()?"":""},C.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},C.prototype._extDbl=function(){var T=this.x.redSqr(),_=this.y.redSqr(),g=this.z.redSqr();g=g.redIAdd(g);var F=this.curve._mulA(T),A=this.x.redAdd(this.y).redSqr().redISub(T).redISub(_),B=F.redAdd(_),P=B.redSub(g),$=F.redSub(_),k=A.redMul(P),M=B.redMul($),O=A.redMul($),U=P.redMul(B);return this.curve.point(k,M,U,O)},C.prototype._projDbl=function(){var F,A,B,P,$,k,T=this.x.redAdd(this.y).redSqr(),_=this.x.redSqr(),g=this.y.redSqr();if(this.curve.twisted){var M=(P=this.curve._mulA(_)).redAdd(g);this.zOne?(F=T.redSub(_).redSub(g).redMul(M.redSub(this.curve.two)),A=M.redMul(P.redSub(g)),B=M.redSqr().redSub(M).redSub(M)):($=this.z.redSqr(),k=M.redSub($).redISub($),F=T.redSub(_).redISub(g).redMul(k),A=M.redMul(P.redSub(g)),B=M.redMul(k))}else P=_.redAdd(g),$=this.curve._mulC(this.z).redSqr(),k=P.redSub($).redSub($),F=this.curve._mulC(T.redISub(P)).redMul(k),A=this.curve._mulC(P).redMul(_.redISub(g)),B=P.redMul(k);return this.curve.point(F,A,B)},C.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},C.prototype._extAdd=function(T){var _=this.y.redSub(this.x).redMul(T.y.redSub(T.x)),g=this.y.redAdd(this.x).redMul(T.y.redAdd(T.x)),F=this.t.redMul(this.curve.dd).redMul(T.t),A=this.z.redMul(T.z.redAdd(T.z)),B=g.redSub(_),P=A.redSub(F),$=A.redAdd(F),k=g.redAdd(_),M=B.redMul(P),O=$.redMul(k),U=B.redMul(k),j=P.redMul($);return this.curve.point(M,O,j,U)},C.prototype._projAdd=function(T){var O,U,_=this.z.redMul(T.z),g=_.redSqr(),F=this.x.redMul(T.x),A=this.y.redMul(T.y),B=this.curve.d.redMul(F).redMul(A),P=g.redSub(B),$=g.redAdd(B),k=this.x.redAdd(this.y).redMul(T.x.redAdd(T.y)).redISub(F).redISub(A),M=_.redMul(P).redMul(k);return this.curve.twisted?(O=_.redMul($).redMul(A.redSub(this.curve._mulA(F))),U=P.redMul($)):(O=_.redMul($).redMul(A.redSub(F)),U=this.curve._mulC(P).redMul($)),this.curve.point(M,O,U)},C.prototype.add=function(T){return this.isInfinity()?T:T.isInfinity()?this:this.curve.extended?this._extAdd(T):this._projAdd(T)},C.prototype.mul=function(T){return this._hasDoubles(T)?this.curve._fixedNafMul(this,T):this.curve._wnafMul(this,T)},C.prototype.mulAdd=function(T,_,g){return this.curve._wnafMulAdd(1,[this,_],[T,g],2,!1)},C.prototype.jmulAdd=function(T,_,g){return this.curve._wnafMulAdd(1,[this,_],[T,g],2,!0)},C.prototype.normalize=function(){if(this.zOne)return this;var T=this.z.redInvm();return this.x=this.x.redMul(T),this.y=this.y.redMul(T),this.t&&(this.t=this.t.redMul(T)),this.z=this.curve.one,this.zOne=!0,this},C.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},C.prototype.getX=function(){return this.normalize(),this.x.fromRed()},C.prototype.getY=function(){return this.normalize(),this.y.fromRed()},C.prototype.eq=function(T){return this===T||0===this.getX().cmp(T.getX())&&0===this.getY().cmp(T.getY())},C.prototype.eqXToP=function(T){var _=T.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(_))return!0;for(var g=T.clone(),F=this.curve.redN.redMul(this.z);;){if(g.iadd(this.curve.n),g.cmp(this.curve.p)>=0)return!1;if(_.redIAdd(F),0===this.x.cmp(_))return!0}},C.prototype.toP=C.prototype.normalize,C.prototype.mixedAdd=C.prototype.add},8729:(Ce,ee,E)=>{"use strict";var a=ee;a.base=E(8828),a.short=E(8075),a.mont=E(4947),a.edwards=E(5537)},4947:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(1993),p=E(8828),R=E(3136);function c(C){p.call(this,"mont",C),this.a=new a(C.a,16).toRed(this.red),this.b=new a(C.b,16).toRed(this.red),this.i4=new a(4).toRed(this.red).redInvm(),this.two=new a(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function D(C,w,T){p.BasePoint.call(this,C,"projective"),null===w&&null===T?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a(w,16),this.z=new a(T,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}S(c,p),Ce.exports=c,c.prototype.validate=function(w){var T=w.normalize().x,_=T.redSqr(),g=_.redMul(T).redAdd(_.redMul(this.a)).redAdd(T);return 0===g.redSqrt().redSqr().cmp(g)},S(D,p.BasePoint),c.prototype.decodePoint=function(w,T){return this.point(R.toArray(w,T),1)},c.prototype.point=function(w,T){return new D(this,w,T)},c.prototype.pointFromJSON=function(w){return D.fromJSON(this,w)},D.prototype.precompute=function(){},D.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},D.fromJSON=function(w,T){return new D(w,T[0],T[1]||w.one)},D.prototype.inspect=function(){return this.isInfinity()?"":""},D.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},D.prototype.dbl=function(){var T=this.x.redAdd(this.z).redSqr(),g=this.x.redSub(this.z).redSqr(),F=T.redSub(g),A=T.redMul(g),B=F.redMul(g.redAdd(this.curve.a24.redMul(F)));return this.curve.point(A,B)},D.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.diffAdd=function(w,T){var _=this.x.redAdd(this.z),g=this.x.redSub(this.z),F=w.x.redAdd(w.z),B=w.x.redSub(w.z).redMul(_),P=F.redMul(g),$=T.z.redMul(B.redAdd(P).redSqr()),k=T.x.redMul(B.redISub(P).redSqr());return this.curve.point($,k)},D.prototype.mul=function(w){for(var T=w.clone(),_=this,g=this.curve.point(null,null),A=[];0!==T.cmpn(0);T.iushrn(1))A.push(T.andln(1));for(var B=A.length-1;B>=0;B--)0===A[B]?(_=_.diffAdd(g,this),g=g.dbl()):(g=_.diffAdd(g,this),_=_.dbl());return g},D.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.eq=function(w){return 0===this.getX().cmp(w.getX())},D.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},D.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},8075:(Ce,ee,E)=>{"use strict";var a=E(3136),S=E(8723),p=E(1993),R=E(8828),c=a.assert;function D(T){R.call(this,"short",T),this.a=new S(T.a,16).toRed(this.red),this.b=new S(T.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(T),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function C(T,_,g,F){R.BasePoint.call(this,T,"affine"),null===_&&null===g?(this.x=null,this.y=null,this.inf=!0):(this.x=new S(_,16),this.y=new S(g,16),F&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function w(T,_,g,F){R.BasePoint.call(this,T,"jacobian"),null===_&&null===g&&null===F?(this.x=this.curve.one,this.y=this.curve.one,this.z=new S(0)):(this.x=new S(_,16),this.y=new S(g,16),this.z=new S(F,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}p(D,R),Ce.exports=D,D.prototype._getEndomorphism=function(_){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var g,F;if(_.beta)g=new S(_.beta,16).toRed(this.red);else{var A=this._getEndoRoots(this.p);g=(g=A[0].cmp(A[1])<0?A[0]:A[1]).toRed(this.red)}if(_.lambda)F=new S(_.lambda,16);else{var B=this._getEndoRoots(this.n);0===this.g.mul(B[0]).x.cmp(this.g.x.redMul(g))?F=B[0]:c(0===this.g.mul(F=B[1]).x.cmp(this.g.x.redMul(g)))}return{beta:g,lambda:F,basis:_.basis?_.basis.map(function($){return{a:new S($.a,16),b:new S($.b,16)}}):this._getEndoBasis(F)}}},D.prototype._getEndoRoots=function(_){var g=_===this.p?this.red:S.mont(_),F=new S(2).toRed(g).redInvm(),A=F.redNeg(),B=new S(3).toRed(g).redNeg().redSqrt().redMul(F);return[A.redAdd(B).fromRed(),A.redSub(B).fromRed()]},D.prototype._getEndoBasis=function(_){for(var M,O,U,j,W,ie,me,se,m,g=this.n.ushrn(Math.floor(this.n.bitLength()/2)),F=_,A=this.n.clone(),B=new S(1),P=new S(0),$=new S(0),k=new S(1),te=0;0!==F.cmpn(0);){var n=A.div(F);se=A.sub(n.mul(F)),m=$.sub(n.mul(B));var o=k.sub(n.mul(P));if(!U&&se.cmp(g)<0)M=me.neg(),O=B,U=se.neg(),j=m;else if(U&&2==++te)break;me=se,A=F,F=se,$=B,B=m,k=P,P=o}W=se.neg(),ie=m;var u=U.sqr().add(j.sqr());return W.sqr().add(ie.sqr()).cmp(u)>=0&&(W=M,ie=O),U.negative&&(U=U.neg(),j=j.neg()),W.negative&&(W=W.neg(),ie=ie.neg()),[{a:U,b:j},{a:W,b:ie}]},D.prototype._endoSplit=function(_){var g=this.endo.basis,F=g[0],A=g[1],B=A.b.mul(_).divRound(this.n),P=F.b.neg().mul(_).divRound(this.n),$=B.mul(F.a),k=P.mul(A.a),M=B.mul(F.b),O=P.mul(A.b);return{k1:_.sub($).sub(k),k2:M.add(O).neg()}},D.prototype.pointFromX=function(_,g){(_=new S(_,16)).red||(_=_.toRed(this.red));var F=_.redSqr().redMul(_).redIAdd(_.redMul(this.a)).redIAdd(this.b),A=F.redSqrt();if(0!==A.redSqr().redSub(F).cmp(this.zero))throw new Error("invalid point");var B=A.fromRed().isOdd();return(g&&!B||!g&&B)&&(A=A.redNeg()),this.point(_,A)},D.prototype.validate=function(_){if(_.inf)return!0;var g=_.x,F=_.y,A=this.a.redMul(g),B=g.redSqr().redMul(g).redIAdd(A).redIAdd(this.b);return 0===F.redSqr().redISub(B).cmpn(0)},D.prototype._endoWnafMulAdd=function(_,g,F){for(var A=this._endoWnafT1,B=this._endoWnafT2,P=0;P<_.length;P++){var $=this._endoSplit(g[P]),k=_[P],M=k._getBeta();$.k1.negative&&($.k1.ineg(),k=k.neg(!0)),$.k2.negative&&($.k2.ineg(),M=M.neg(!0)),A[2*P]=k,A[2*P+1]=M,B[2*P]=$.k1,B[2*P+1]=$.k2}for(var O=this._wnafMulAdd(1,A,B,2*P,F),U=0;U<2*P;U++)A[U]=null,B[U]=null;return O},p(C,R.BasePoint),D.prototype.point=function(_,g,F){return new C(this,_,g,F)},D.prototype.pointFromJSON=function(_,g){return C.fromJSON(this,_,g)},C.prototype._getBeta=function(){if(this.curve.endo){var _=this.precomputed;if(_&&_.beta)return _.beta;var g=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(_){var F=this.curve,A=function(B){return F.point(B.x.redMul(F.endo.beta),B.y)};_.beta=g,g.precomputed={beta:null,naf:_.naf&&{wnd:_.naf.wnd,points:_.naf.points.map(A)},doubles:_.doubles&&{step:_.doubles.step,points:_.doubles.points.map(A)}}}return g}},C.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},C.fromJSON=function(_,g,F){"string"==typeof g&&(g=JSON.parse(g));var A=_.point(g[0],g[1],F);if(!g[2])return A;function B($){return _.point($[0],$[1],F)}var P=g[2];return A.precomputed={beta:null,doubles:P.doubles&&{step:P.doubles.step,points:[A].concat(P.doubles.points.map(B))},naf:P.naf&&{wnd:P.naf.wnd,points:[A].concat(P.naf.points.map(B))}},A},C.prototype.inspect=function(){return this.isInfinity()?"":""},C.prototype.isInfinity=function(){return this.inf},C.prototype.add=function(_){if(this.inf)return _;if(_.inf)return this;if(this.eq(_))return this.dbl();if(this.neg().eq(_))return this.curve.point(null,null);if(0===this.x.cmp(_.x))return this.curve.point(null,null);var g=this.y.redSub(_.y);0!==g.cmpn(0)&&(g=g.redMul(this.x.redSub(_.x).redInvm()));var F=g.redSqr().redISub(this.x).redISub(_.x),A=g.redMul(this.x.redSub(F)).redISub(this.y);return this.curve.point(F,A)},C.prototype.dbl=function(){if(this.inf)return this;var _=this.y.redAdd(this.y);if(0===_.cmpn(0))return this.curve.point(null,null);var g=this.curve.a,F=this.x.redSqr(),A=_.redInvm(),B=F.redAdd(F).redIAdd(F).redIAdd(g).redMul(A),P=B.redSqr().redISub(this.x.redAdd(this.x)),$=B.redMul(this.x.redSub(P)).redISub(this.y);return this.curve.point(P,$)},C.prototype.getX=function(){return this.x.fromRed()},C.prototype.getY=function(){return this.y.fromRed()},C.prototype.mul=function(_){return _=new S(_,16),this.isInfinity()?this:this._hasDoubles(_)?this.curve._fixedNafMul(this,_):this.curve.endo?this.curve._endoWnafMulAdd([this],[_]):this.curve._wnafMul(this,_)},C.prototype.mulAdd=function(_,g,F){var A=[this,g],B=[_,F];return this.curve.endo?this.curve._endoWnafMulAdd(A,B):this.curve._wnafMulAdd(1,A,B,2)},C.prototype.jmulAdd=function(_,g,F){var A=[this,g],B=[_,F];return this.curve.endo?this.curve._endoWnafMulAdd(A,B,!0):this.curve._wnafMulAdd(1,A,B,2,!0)},C.prototype.eq=function(_){return this===_||this.inf===_.inf&&(this.inf||0===this.x.cmp(_.x)&&0===this.y.cmp(_.y))},C.prototype.neg=function(_){if(this.inf)return this;var g=this.curve.point(this.x,this.y.redNeg());if(_&&this.precomputed){var F=this.precomputed,A=function(B){return B.neg()};g.precomputed={naf:F.naf&&{wnd:F.naf.wnd,points:F.naf.points.map(A)},doubles:F.doubles&&{step:F.doubles.step,points:F.doubles.points.map(A)}}}return g},C.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},p(w,R.BasePoint),D.prototype.jpoint=function(_,g,F){return new w(this,_,g,F)},w.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var _=this.z.redInvm(),g=_.redSqr(),F=this.x.redMul(g),A=this.y.redMul(g).redMul(_);return this.curve.point(F,A)},w.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},w.prototype.add=function(_){if(this.isInfinity())return _;if(_.isInfinity())return this;var g=_.z.redSqr(),F=this.z.redSqr(),A=this.x.redMul(g),B=_.x.redMul(F),P=this.y.redMul(g.redMul(_.z)),$=_.y.redMul(F.redMul(this.z)),k=A.redSub(B),M=P.redSub($);if(0===k.cmpn(0))return 0!==M.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var O=k.redSqr(),U=O.redMul(k),j=A.redMul(O),W=M.redSqr().redIAdd(U).redISub(j).redISub(j),ie=M.redMul(j.redISub(W)).redISub(P.redMul(U)),me=this.z.redMul(_.z).redMul(k);return this.curve.jpoint(W,ie,me)},w.prototype.mixedAdd=function(_){if(this.isInfinity())return _.toJ();if(_.isInfinity())return this;var g=this.z.redSqr(),F=this.x,A=_.x.redMul(g),B=this.y,P=_.y.redMul(g).redMul(this.z),$=F.redSub(A),k=B.redSub(P);if(0===$.cmpn(0))return 0!==k.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var M=$.redSqr(),O=M.redMul($),U=F.redMul(M),j=k.redSqr().redIAdd(O).redISub(U).redISub(U),W=k.redMul(U.redISub(j)).redISub(B.redMul(O)),ie=this.z.redMul($);return this.curve.jpoint(j,W,ie)},w.prototype.dblp=function(_){if(0===_)return this;if(this.isInfinity())return this;if(!_)return this.dbl();var g;if(this.curve.zeroA||this.curve.threeA){var F=this;for(g=0;g<_;g++)F=F.dbl();return F}var A=this.curve.a,B=this.curve.tinv,P=this.x,$=this.y,k=this.z,M=k.redSqr().redSqr(),O=$.redAdd($);for(g=0;g<_;g++){var U=P.redSqr(),j=O.redSqr(),W=j.redSqr(),ie=U.redAdd(U).redIAdd(U).redIAdd(A.redMul(M)),me=P.redMul(j),te=ie.redSqr().redISub(me.redAdd(me)),se=me.redISub(te),m=ie.redMul(se);m=m.redIAdd(m).redISub(W);var n=O.redMul(k);g+1<_&&(M=M.redMul(W)),P=te,k=n,O=m}return this.curve.jpoint(P,O.redMul(B),k)},w.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},w.prototype._zeroDbl=function(){var _,g,F;if(this.zOne){var A=this.x.redSqr(),B=this.y.redSqr(),P=B.redSqr(),$=this.x.redAdd(B).redSqr().redISub(A).redISub(P);$=$.redIAdd($);var k=A.redAdd(A).redIAdd(A),M=k.redSqr().redISub($).redISub($),O=P.redIAdd(P);O=(O=O.redIAdd(O)).redIAdd(O),_=M,g=k.redMul($.redISub(M)).redISub(O),F=this.y.redAdd(this.y)}else{var U=this.x.redSqr(),j=this.y.redSqr(),W=j.redSqr(),ie=this.x.redAdd(j).redSqr().redISub(U).redISub(W);ie=ie.redIAdd(ie);var me=U.redAdd(U).redIAdd(U),te=me.redSqr(),se=W.redIAdd(W);se=(se=se.redIAdd(se)).redIAdd(se),_=te.redISub(ie).redISub(ie),g=me.redMul(ie.redISub(_)).redISub(se),F=(F=this.y.redMul(this.z)).redIAdd(F)}return this.curve.jpoint(_,g,F)},w.prototype._threeDbl=function(){var _,g,F;if(this.zOne){var A=this.x.redSqr(),B=this.y.redSqr(),P=B.redSqr(),$=this.x.redAdd(B).redSqr().redISub(A).redISub(P);$=$.redIAdd($);var k=A.redAdd(A).redIAdd(A).redIAdd(this.curve.a),M=k.redSqr().redISub($).redISub($);_=M;var O=P.redIAdd(P);O=(O=O.redIAdd(O)).redIAdd(O),g=k.redMul($.redISub(M)).redISub(O),F=this.y.redAdd(this.y)}else{var U=this.z.redSqr(),j=this.y.redSqr(),W=this.x.redMul(j),ie=this.x.redSub(U).redMul(this.x.redAdd(U));ie=ie.redAdd(ie).redIAdd(ie);var me=W.redIAdd(W),te=(me=me.redIAdd(me)).redAdd(me);_=ie.redSqr().redISub(te),F=this.y.redAdd(this.z).redSqr().redISub(j).redISub(U);var se=j.redSqr();se=(se=(se=se.redIAdd(se)).redIAdd(se)).redIAdd(se),g=ie.redMul(me.redISub(_)).redISub(se)}return this.curve.jpoint(_,g,F)},w.prototype._dbl=function(){var _=this.curve.a,g=this.x,F=this.y,A=this.z,B=A.redSqr().redSqr(),P=g.redSqr(),$=F.redSqr(),k=P.redAdd(P).redIAdd(P).redIAdd(_.redMul(B)),M=g.redAdd(g),O=(M=M.redIAdd(M)).redMul($),U=k.redSqr().redISub(O.redAdd(O)),j=O.redISub(U),W=$.redSqr();W=(W=(W=W.redIAdd(W)).redIAdd(W)).redIAdd(W);var ie=k.redMul(j).redISub(W),me=F.redAdd(F).redMul(A);return this.curve.jpoint(U,ie,me)},w.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var _=this.x.redSqr(),g=this.y.redSqr(),F=this.z.redSqr(),A=g.redSqr(),B=_.redAdd(_).redIAdd(_),P=B.redSqr(),$=this.x.redAdd(g).redSqr().redISub(_).redISub(A),k=($=($=($=$.redIAdd($)).redAdd($).redIAdd($)).redISub(P)).redSqr(),M=A.redIAdd(A);M=(M=(M=M.redIAdd(M)).redIAdd(M)).redIAdd(M);var O=B.redIAdd($).redSqr().redISub(P).redISub(k).redISub(M),U=g.redMul(O);U=(U=U.redIAdd(U)).redIAdd(U);var j=this.x.redMul(k).redISub(U);j=(j=j.redIAdd(j)).redIAdd(j);var W=this.y.redMul(O.redMul(M.redISub(O)).redISub($.redMul(k)));W=(W=(W=W.redIAdd(W)).redIAdd(W)).redIAdd(W);var ie=this.z.redAdd($).redSqr().redISub(F).redISub(k);return this.curve.jpoint(j,W,ie)},w.prototype.mul=function(_,g){return _=new S(_,g),this.curve._wnafMul(this,_)},w.prototype.eq=function(_){if("affine"===_.type)return this.eq(_.toJ());if(this===_)return!0;var g=this.z.redSqr(),F=_.z.redSqr();if(0!==this.x.redMul(F).redISub(_.x.redMul(g)).cmpn(0))return!1;var A=g.redMul(this.z),B=F.redMul(_.z);return 0===this.y.redMul(B).redISub(_.y.redMul(A)).cmpn(0)},w.prototype.eqXToP=function(_){var g=this.z.redSqr(),F=_.toRed(this.curve.red).redMul(g);if(0===this.x.cmp(F))return!0;for(var A=_.clone(),B=this.curve.redN.redMul(g);;){if(A.iadd(this.curve.n),A.cmp(this.curve.p)>=0)return!1;if(F.redIAdd(B),0===this.x.cmp(F))return!0}},w.prototype.inspect=function(){return this.isInfinity()?"":""},w.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(Ce,ee,E)=>{"use strict";var w,a=ee,S=E(2529),p=E(8729),c=E(3136).assert;function D(T){this.curve="short"===T.type?new p.short(T):"edwards"===T.type?new p.edwards(T):new p.mont(T),this.g=this.curve.g,this.n=this.curve.n,this.hash=T.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function C(T,_){Object.defineProperty(a,T,{configurable:!0,enumerable:!0,get:function(){var g=new D(_);return Object.defineProperty(a,T,{configurable:!0,enumerable:!0,value:g}),g}})}a.PresetCurve=D,C("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:S.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),C("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:S.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),C("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:S.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),C("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:S.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),C("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:S.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),C("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:S.sha256,gRed:!1,g:["9"]}),C("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:S.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{w=E(1416)}catch{w=void 0}C("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:S.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",w]})},9042:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3556),p=E(3136),R=E(3401),c=E(5294),D=p.assert,C=E(541),w=E(484);function T(_){if(!(this instanceof T))return new T(_);"string"==typeof _&&(D(Object.prototype.hasOwnProperty.call(R,_),"Unknown curve "+_),_=R[_]),_ instanceof R.PresetCurve&&(_={curve:_}),this.curve=_.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=_.curve.g,this.g.precompute(_.curve.n.bitLength()+1),this.hash=_.hash||_.curve.hash}Ce.exports=T,T.prototype.keyPair=function(g){return new C(this,g)},T.prototype.keyFromPrivate=function(g,F){return C.fromPrivate(this,g,F)},T.prototype.keyFromPublic=function(g,F){return C.fromPublic(this,g,F)},T.prototype.genKeyPair=function(g){g||(g={});for(var F=new S({hash:this.hash,pers:g.pers,persEnc:g.persEnc||"utf8",entropy:g.entropy||c(this.hash.hmacStrength),entropyEnc:g.entropy&&g.entropyEnc||"utf8",nonce:this.n.toArray()}),A=this.n.byteLength(),B=this.n.sub(new a(2));;){var P=new a(F.generate(A));if(!(P.cmp(B)>0))return P.iaddn(1),this.keyFromPrivate(P)}},T.prototype._truncateToN=function(g,F){var A=8*g.byteLength()-this.n.bitLength();return A>0&&(g=g.ushrn(A)),!F&&g.cmp(this.n)>=0?g.sub(this.n):g},T.prototype.sign=function(g,F,A,B){"object"==typeof A&&(B=A,A=null),B||(B={}),F=this.keyFromPrivate(F,A),g=this._truncateToN(new a(g,16));for(var P=this.n.byteLength(),$=F.getPrivate().toArray("be",P),k=g.toArray("be",P),M=new S({hash:this.hash,entropy:$,nonce:k,pers:B.pers,persEnc:B.persEnc||"utf8"}),O=this.n.sub(new a(1)),U=0;;U++){var j=B.k?B.k(U):new a(M.generate(this.n.byteLength()));if(!((j=this._truncateToN(j,!0)).cmpn(1)<=0||j.cmp(O)>=0)){var W=this.g.mul(j);if(!W.isInfinity()){var ie=W.getX(),me=ie.umod(this.n);if(0!==me.cmpn(0)){var te=j.invm(this.n).mul(me.mul(F.getPrivate()).iadd(g));if(0!==(te=te.umod(this.n)).cmpn(0)){var se=(W.getY().isOdd()?1:0)|(0!==ie.cmp(me)?2:0);return B.canonical&&te.cmp(this.nh)>0&&(te=this.n.sub(te),se^=1),new w({r:me,s:te,recoveryParam:se})}}}}}},T.prototype.verify=function(g,F,A,B){g=this._truncateToN(new a(g,16)),A=this.keyFromPublic(A,B);var P=(F=new w(F,"hex")).r,$=F.s;if(P.cmpn(1)<0||P.cmp(this.n)>=0||$.cmpn(1)<0||$.cmp(this.n)>=0)return!1;var U,k=$.invm(this.n),M=k.mul(g).umod(this.n),O=k.mul(P).umod(this.n);return this.curve._maxwellTrick?!(U=this.g.jmulAdd(M,A.getPublic(),O)).isInfinity()&&U.eqXToP(P):!(U=this.g.mulAdd(M,A.getPublic(),O)).isInfinity()&&0===U.getX().umod(this.n).cmp(P)},T.prototype.recoverPubKey=function(_,g,F,A){D((3&F)===F,"The recovery param is more than two bits"),g=new w(g,A);var B=this.n,P=new a(_),$=g.r,k=g.s,M=1&F,O=F>>1;if($.cmp(this.curve.p.umod(this.curve.n))>=0&&O)throw new Error("Unable to find sencond key candinate");$=this.curve.pointFromX(O?$.add(this.curve.n):$,M);var U=g.r.invm(B),j=B.sub(P).mul(U).umod(B),W=k.mul(U).umod(B);return this.g.mulAdd(j,$,W)},T.prototype.getKeyRecoveryParam=function(_,g,F,A){if(null!==(g=new w(g,A)).recoveryParam)return g.recoveryParam;for(var B=0;B<4;B++){var P;try{P=this.recoverPubKey(_,g,B)}catch{continue}if(P.eq(F))return B}throw new Error("Unable to find valid recovery factor")}},541:(Ce,ee,E)=>{"use strict";var a=E(8723),p=E(3136).assert;function R(c,D){this.ec=c,this.priv=null,this.pub=null,D.priv&&this._importPrivate(D.priv,D.privEnc),D.pub&&this._importPublic(D.pub,D.pubEnc)}Ce.exports=R,R.fromPublic=function(D,C,w){return C instanceof R?C:new R(D,{pub:C,pubEnc:w})},R.fromPrivate=function(D,C,w){return C instanceof R?C:new R(D,{priv:C,privEnc:w})},R.prototype.validate=function(){var D=this.getPublic();return D.isInfinity()?{result:!1,reason:"Invalid public key"}:D.validate()?D.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},R.prototype.getPublic=function(D,C){return"string"==typeof D&&(C=D,D=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),C?this.pub.encode(C,D):this.pub},R.prototype.getPrivate=function(D){return"hex"===D?this.priv.toString(16,2):this.priv},R.prototype._importPrivate=function(D,C){this.priv=new a(D,C||16),this.priv=this.priv.umod(this.ec.curve.n)},R.prototype._importPublic=function(D,C){if(D.x||D.y)return"mont"===this.ec.curve.type?p(D.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&p(D.x&&D.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(D.x,D.y));this.pub=this.ec.curve.decodePoint(D,C)},R.prototype.derive=function(D){return D.validate()||p(D.validate(),"public point not validated"),D.mul(this.priv).getX()},R.prototype.sign=function(D,C,w){return this.ec.sign(D,this,C,w)},R.prototype.verify=function(D,C){return this.ec.verify(D,C,this)},R.prototype.inspect=function(){return""}},484:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert;function R(T,_){if(T instanceof R)return T;this._importDER(T,_)||(p(T.r&&T.s,"Signature without r or s"),this.r=new a(T.r,16),this.s=new a(T.s,16),this.recoveryParam=void 0===T.recoveryParam?null:T.recoveryParam)}function c(){this.place=0}function D(T,_){var g=T[_.place++];if(!(128&g))return g;var F=15&g;if(0===F||F>4)return!1;for(var A=0,B=0,P=_.place;B>>=0;return!(A<=127)&&(_.place=P,A)}function C(T){for(var _=0,g=T.length-1;!T[_]&&!(128&T[_+1])&&_>>3);for(T.push(128|g);--g;)T.push(_>>>(g<<3)&255);T.push(_)}}Ce.exports=R,R.prototype._importDER=function(_,g){_=S.toArray(_,g);var F=new c;if(48!==_[F.place++])return!1;var A=D(_,F);if(!1===A||A+F.place!==_.length||2!==_[F.place++])return!1;var B=D(_,F);if(!1===B)return!1;var P=_.slice(F.place,B+F.place);if(F.place+=B,2!==_[F.place++])return!1;var $=D(_,F);if(!1===$||_.length!==$+F.place)return!1;var k=_.slice(F.place,$+F.place);if(0===P[0]){if(!(128&P[1]))return!1;P=P.slice(1)}if(0===k[0]){if(!(128&k[1]))return!1;k=k.slice(1)}return this.r=new a(P),this.s=new a(k),this.recoveryParam=null,!0},R.prototype.toDER=function(_){var g=this.r.toArray(),F=this.s.toArray();for(128&g[0]&&(g=[0].concat(g)),128&F[0]&&(F=[0].concat(F)),g=C(g),F=C(F);!(F[0]||128&F[1]);)F=F.slice(1);var A=[2];w(A,g.length),(A=A.concat(g)).push(2),w(A,F.length);var B=A.concat(F),P=[48];return w(P,B.length),P=P.concat(B),S.encode(P,_)}},3045:(Ce,ee,E)=>{"use strict";var a=E(2529),S=E(3401),p=E(3136),R=p.assert,c=p.parseBytes,D=E(7222),C=E(5451);function w(T){if(R("ed25519"===T,"only tested with ed25519 so far"),!(this instanceof w))return new w(T);this.curve=T=S[T].curve,this.g=T.g,this.g.precompute(T.n.bitLength()+1),this.pointClass=T.point().constructor,this.encodingLength=Math.ceil(T.n.bitLength()/8),this.hash=a.sha512}Ce.exports=w,w.prototype.sign=function(_,g){_=c(_);var F=this.keyFromSecret(g),A=this.hashInt(F.messagePrefix(),_),B=this.g.mul(A),P=this.encodePoint(B),$=this.hashInt(P,F.pubBytes(),_).mul(F.priv()),k=A.add($).umod(this.curve.n);return this.makeSignature({R:B,S:k,Rencoded:P})},w.prototype.verify=function(_,g,F){_=c(_),g=this.makeSignature(g);var A=this.keyFromPublic(F),B=this.hashInt(g.Rencoded(),A.pubBytes(),_),P=this.g.mul(g.S());return g.R().add(A.pub().mul(B)).eq(P)},w.prototype.hashInt=function(){for(var _=this.hash(),g=0;g{"use strict";var a=E(3136),S=a.assert,p=a.parseBytes,R=a.cachedProperty;function c(D,C){this.eddsa=D,this._secret=p(C.secret),D.isPoint(C.pub)?this._pub=C.pub:this._pubBytes=p(C.pub)}c.fromPublic=function(C,w){return w instanceof c?w:new c(C,{pub:w})},c.fromSecret=function(C,w){return w instanceof c?w:new c(C,{secret:w})},c.prototype.secret=function(){return this._secret},R(c,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),R(c,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),R(c,"privBytes",function(){var C=this.eddsa,w=this.hash(),T=C.encodingLength-1,_=w.slice(0,C.encodingLength);return _[0]&=248,_[T]&=127,_[T]|=64,_}),R(c,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),R(c,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),R(c,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),c.prototype.sign=function(C){return S(this._secret,"KeyPair can only verify"),this.eddsa.sign(C,this)},c.prototype.verify=function(C,w){return this.eddsa.verify(C,w,this)},c.prototype.getSecret=function(C){return S(this._secret,"KeyPair is public only"),a.encode(this.secret(),C)},c.prototype.getPublic=function(C){return a.encode(this.pubBytes(),C)},Ce.exports=c},5451:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert,R=S.cachedProperty,c=S.parseBytes;function D(C,w){this.eddsa=C,"object"!=typeof w&&(w=c(w)),Array.isArray(w)&&(w={R:w.slice(0,C.encodingLength),S:w.slice(C.encodingLength)}),p(w.R&&w.S,"Signature without R or S"),C.isPoint(w.R)&&(this._R=w.R),w.S instanceof a&&(this._S=w.S),this._Rencoded=Array.isArray(w.R)?w.R:w.Rencoded,this._Sencoded=Array.isArray(w.S)?w.S:w.Sencoded}R(D,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),R(D,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),R(D,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),R(D,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),D.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},D.prototype.toHex=function(){return S.encode(this.toBytes(),"hex").toUpperCase()},Ce.exports=D},1416:Ce=>{Ce.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},3136:(Ce,ee,E)=>{"use strict";var a=ee,S=E(8723),p=E(9210),R=E(1832);a.assert=p,a.toArray=R.toArray,a.zero2=R.zero2,a.toHex=R.toHex,a.encode=R.encode,a.getNAF=function c(_,g,F){var B,A=new Array(Math.max(_.bitLength(),F)+1);for(B=0;B(P>>1)-1?(P>>1)-M:M):k=0,A[B]=k,$.iushrn(1)}return A},a.getJSF=function D(_,g){var F=[[],[]];_=_.clone(),g=g.clone();for(var P,A=0,B=0;_.cmpn(-A)>0||g.cmpn(-B)>0;){var M,O,$=_.andln(3)+A&3,k=g.andln(3)+B&3;3===$&&($=-1),3===k&&(k=-1),M=1&$?3!=(P=_.andln(7)+A&7)&&5!==P||2!==k?$:-$:0,F[0].push(M),O=1&k?3!=(P=g.andln(7)+B&7)&&5!==P||2!==$?k:-k:0,F[1].push(O),2*A===M+1&&(A=1-A),2*B===O+1&&(B=1-B),_.iushrn(1),g.iushrn(1)}return F},a.cachedProperty=function C(_,g,F){var A="_"+g;_.prototype[g]=function(){return void 0!==this[A]?this[A]:this[A]=F.call(this)}},a.parseBytes=function w(_){return"string"==typeof _?a.toArray(_,"hex"):_},a.intFromLE=function T(_){return new S(_,"hex","le")}},8723:function(Ce,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function R(m,n){m.super_=n;var o=function(){};o.prototype=n.prototype,m.prototype=new o,m.prototype.constructor=m}function c(m,n,o){if(c.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,null!==m&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(m||0,n||10,o||"be"))}var D;"object"==typeof a?a.exports=c:S.BN=c,c.BN=c,c.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:E(9368).Buffer}catch{}function C(m,n){var o=m.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,ft=Cn>>>13,In=0|h[2],kt=8191&In,Nt=In>>>13,Un=0|h[3],Vt=8191&Un,He=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],Ve=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,je=Pe>>>13,yt=0|h[7],Je=8191&yt,st=yt>>>13,qt=0|h[8],Ct=8191&qt,mt=qt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var kn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var bn=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,ft)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,ft)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,ft)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,ft)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,ft)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,ft)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var Dn=(y+(f=f+Math.imul(I,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(V,Vt)|0))<<13)|0;y=((d=d+Math.imul(V,He)|0)+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,ft)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,ft)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Vt)|0,r=(r=r+Math.imul(oe,He)|0)+Math.imul(ve,Vt)|0,d=d+Math.imul(ve,He)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,ft)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,ft)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Vt)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Vt)|0,d=d+Math.imul(ae,He)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,Ve)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ve)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,ft)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,ft)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Vt)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Vt)|0,d=d+Math.imul(pe,He)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,Ve)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,Ve)|0,d=d+Math.imul(ve,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,je)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,je)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,ft)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,ft)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Vt)|0,r=(r=r+Math.imul(Se,He)|0)+Math.imul(re,Vt)|0,d=d+Math.imul(re,He)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,Ve)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ve)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,je)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,je)|0;var $n=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,st)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,ft)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,ft)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Vt)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(Ee,Vt)|0,d=d+Math.imul(Ee,He)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,Ve)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,Ve)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,je)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,je)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,st)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,st)|0;var Xn=(y+(f=f+Math.imul(I,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,Ct)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,ft)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,ft)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Vt)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Vt)|0,d=d+Math.imul(rt,He)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,Ve)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,Ve)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,je)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,je)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,st)|0,f=f+Math.imul(oe,Ct)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,Ct)|0,d=d+Math.imul(ve,mt)|0;var Yn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,ft))+Math.imul(Ft,St)|0,d=Math.imul(Ft,ft),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Vt)|0,r=(r=r+Math.imul(gt,He)|0)+Math.imul(ht,Vt)|0,d=d+Math.imul(ht,He)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,Ve)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ve)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,je)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,je)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,st)|0,f=f+Math.imul(Q,Ct)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,Ct)|0,d=d+Math.imul(ae,mt)|0;var Hn=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Vt)|0,r=(r=r+Math.imul(Mt,He)|0)+Math.imul(Pt,Vt)|0,d=d+Math.imul(Pt,He)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,Ve)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ve)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,je)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,je)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,st)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,st)|0,f=f+Math.imul(Oe,Ct)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var $e=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,f=Math.imul(It,Vt),r=(r=Math.imul(It,He))+Math.imul(Ft,Vt)|0,d=Math.imul(Ft,He),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,Ve)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,Ve)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,je)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,je)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,st)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,Ct)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,Ve)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,Ve)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,je)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,je)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,st)|0,f=f+Math.imul(G,Ct)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,Ct)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,Ve),r=(r=Math.imul(It,it))+Math.imul(Ft,Ve)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,je)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,je)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,st)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,st)|0,f=f+Math.imul(Qe,Ct)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,Ct)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,je))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,je),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,st)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,st)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,Ct)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,st))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,st),f=f+Math.imul(Mt,Ct)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,Ct),r=(r=Math.imul(It,mt))+Math.imul(Ft,Ct)|0,d=Math.imul(Ft,mt);var Jt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=kn,v[1]=bn,v[2]=wn,v[3]=Dn,v[4]=Wn,v[5]=Vn,v[6]=Fn,v[7]=$n,v[8]=Xn,v[9]=Yn,v[10]=Hn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=Jt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},4356:Ce=>{"use strict";var a,ee="object"==typeof Reflect?Reflect:null,E=ee&&"function"==typeof ee.apply?ee.apply:function(U,j,W){return Function.prototype.apply.call(U,j,W)};a=ee&&"function"==typeof ee.ownKeys?ee.ownKeys:Object.getOwnPropertySymbols?function(U){return Object.getOwnPropertyNames(U).concat(Object.getOwnPropertySymbols(U))}:function(U){return Object.getOwnPropertyNames(U)};var p=Number.isNaN||function(U){return U!=U};function R(){R.init.call(this)}Ce.exports=R,Ce.exports.once=function $(O,U){return new Promise(function(j,W){function ie(te){O.removeListener(U,me),W(te)}function me(){"function"==typeof O.removeListener&&O.removeListener("error",ie),j([].slice.call(arguments))}M(O,U,me,{once:!0}),"error"!==U&&function k(O,U,j){"function"==typeof O.on&&M(O,"error",U,j)}(O,ie,{once:!0})})},R.EventEmitter=R,R.prototype._events=void 0,R.prototype._eventsCount=0,R.prototype._maxListeners=void 0;var c=10;function D(O){if("function"!=typeof O)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof O)}function C(O){return void 0===O._maxListeners?R.defaultMaxListeners:O._maxListeners}function w(O,U,j,W){var ie,me,te;if(D(j),void 0===(me=O._events)?(me=O._events=Object.create(null),O._eventsCount=0):(void 0!==me.newListener&&(O.emit("newListener",U,j.listener?j.listener:j),me=O._events),te=me[U]),void 0===te)te=me[U]=j,++O._eventsCount;else if("function"==typeof te?te=me[U]=W?[j,te]:[te,j]:W?te.unshift(j):te.push(j),(ie=C(O))>0&&te.length>ie&&!te.warned){te.warned=!0;var se=new Error("Possible EventEmitter memory leak detected. "+te.length+" "+String(U)+" listeners added. Use emitter.setMaxListeners() to increase limit");se.name="MaxListenersExceededWarning",se.emitter=O,se.type=U,se.count=te.length,function S(O){console&&console.warn&&console.warn(O)}(se)}return O}function T(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _(O,U,j){var W={fired:!1,wrapFn:void 0,target:O,type:U,listener:j},ie=T.bind(W);return ie.listener=j,W.wrapFn=ie,ie}function g(O,U,j){var W=O._events;if(void 0===W)return[];var ie=W[U];return void 0===ie?[]:"function"==typeof ie?j?[ie.listener||ie]:[ie]:j?function P(O){for(var U=new Array(O.length),j=0;j0&&(te=j[0]),te instanceof Error)throw te;var se=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw se.context=te,se}var m=me[U];if(void 0===m)return!1;if("function"==typeof m)E(m,this,j);else{var n=m.length,o=A(m,n);for(W=0;W=0;te--)if(W[te]===j||W[te].listener===j){se=W[te].listener,me=te;break}if(me<0)return this;0===me?W.shift():function B(O,U){for(;U+1=0;ie--)this.removeListener(U,j[ie]);return this},R.prototype.listeners=function(U){return g(this,U,!0)},R.prototype.rawListeners=function(U){return g(this,U,!1)},R.listenerCount=function(O,U){return"function"==typeof O.listenerCount?O.listenerCount(U):F.call(O,U)},R.prototype.listenerCount=F,R.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},8211:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(4725);Ce.exports=function p(R,c,D,C){if(a.isBuffer(R)||(R=a.from(R,"binary")),c&&(a.isBuffer(c)||(c=a.from(c,"binary")),8!==c.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var w=D/8,T=a.alloc(w),_=a.alloc(C||0),g=a.alloc(0);w>0||C>0;){var F=new S;F.update(g),F.update(R),c&&F.update(c),g=F.digest();var A=0;if(w>0){var B=T.length-w;A=Math.min(w,g.length),g.copy(T,B,0,A),w-=A}if(A0){var P=_.length-C,$=Math.min(C,g.length-A);g.copy(_,P,A,A+$),C-=$}}return g.fill(0),{key:T,iv:_}}},3686:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7045).Transform;function c(D){S.call(this),this._block=a.allocUnsafe(D),this._blockSize=D,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}E(1993)(c,S),c.prototype._transform=function(D,C,w){var T=null;try{this.update(D,C)}catch(_){T=_}w(T)},c.prototype._flush=function(D){var C=null;try{this.push(this.digest())}catch(w){C=w}D(C)},c.prototype.update=function(D,C){if(function R(D,C){if(!a.isBuffer(D)&&"string"!=typeof D)throw new TypeError(C+" must be a string or a buffer")}(D,"Data"),this._finalized)throw new Error("Digest already called");a.isBuffer(D)||(D=a.from(D,C));for(var w=this._block,T=0;this._blockOffset+D.length-T>=this._blockSize;){for(var _=this._blockOffset;_0;++g)this._length[g]+=F,(F=this._length[g]/4294967296|0)>0&&(this._length[g]-=4294967296*F);return this},c.prototype._update=function(){throw new Error("_update is not implemented")},c.prototype.digest=function(D){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var C=this._digest();void 0!==D&&(C=C.toString(D)),this._block.fill(0),this._blockOffset=0;for(var w=0;w<4;++w)this._length[w]=0;return C},c.prototype._digest=function(){throw new Error("_digest is not implemented")},Ce.exports=c},2529:(Ce,ee,E)=>{var a=ee;a.utils=E(8283),a.common=E(2901),a.sha=E(8528),a.ripemd=E(5283),a.hmac=E(7163),a.sha1=a.sha.sha1,a.sha256=a.sha.sha256,a.sha224=a.sha.sha224,a.sha384=a.sha.sha384,a.sha512=a.sha.sha512,a.ripemd160=a.ripemd.ripemd160},2901:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(9210);function p(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}ee.BlockHash=p,p.prototype.update=function(c,D){if(c=a.toArray(c,D),this.pending=this.pending?this.pending.concat(c):c,this.pendingTotal+=c.length,this.pending.length>=this._delta8){var C=(c=this.pending).length%this._delta8;this.pending=c.slice(c.length-C,c.length),0===this.pending.length&&(this.pending=null),c=a.join32(c,0,c.length-C,this.endian);for(var w=0;w>>24&255,w[T++]=c>>>16&255,w[T++]=c>>>8&255,w[T++]=255&c}else for(w[T++]=255&c,w[T++]=c>>>8&255,w[T++]=c>>>16&255,w[T++]=c>>>24&255,w[T++]=0,w[T++]=0,w[T++]=0,w[T++]=0,_=8;_{"use strict";var a=E(8283),S=E(9210);function p(R,c,D){if(!(this instanceof p))return new p(R,c,D);this.Hash=R,this.blockSize=R.blockSize/8,this.outSize=R.outSize/8,this.inner=null,this.outer=null,this._init(a.toArray(c,D))}Ce.exports=p,p.prototype._init=function(c){c.length>this.blockSize&&(c=(new this.Hash).update(c).digest()),S(c.length<=this.blockSize);for(var D=c.length;D{"use strict";var a=E(8283),S=E(2901),p=a.rotl32,R=a.sum32,c=a.sum32_3,D=a.sum32_4,C=S.BlockHash;function w(){if(!(this instanceof w))return new w;C.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function T($,k,M,O){return $<=15?k^M^O:$<=31?k&M|~k&O:$<=47?(k|~M)^O:$<=63?k&O|M&~O:k^(M|~O)}function g($){return $<=15?1352829926:$<=31?1548603684:$<=47?1836072691:$<=63?2053994217:0}a.inherits(w,C),ee.ripemd160=w,w.blockSize=512,w.outSize=160,w.hmacStrength=192,w.padLength=64,w.prototype._update=function(k,M){for(var O=this.h[0],U=this.h[1],j=this.h[2],W=this.h[3],ie=this.h[4],me=O,te=U,se=j,m=W,n=ie,o=0;o<80;o++){var u=R(p(D(O,T(o,U,j,W),k[F[o]+M],($=o)<=15?0:$<=31?1518500249:$<=47?1859775393:$<=63?2400959708:2840853838),B[o]),ie);O=ie,ie=W,W=p(j,10),j=U,U=u,u=R(p(D(me,T(79-o,te,se,m),k[A[o]+M],g(o)),P[o]),n),me=n,n=m,m=p(se,10),se=te,te=u}var $;u=c(this.h[1],j,m),this.h[1]=c(this.h[2],W,n),this.h[2]=c(this.h[3],ie,me),this.h[3]=c(this.h[4],O,te),this.h[4]=c(this.h[0],U,se),this.h[0]=u},w.prototype._digest=function(k){return"hex"===k?a.toHex32(this.h,"little"):a.split32(this.h,"little")};var F=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],A=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],B=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],P=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},8528:(Ce,ee,E)=>{"use strict";ee.sha1=E(3468),ee.sha224=E(5563),ee.sha256=E(7138),ee.sha384=E(3898),ee.sha512=E(827)},3468:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),R=a.rotl32,c=a.sum32,D=a.sum32_5,C=p.ft_1,w=S.BlockHash,T=[1518500249,1859775393,2400959708,3395469782];function _(){if(!(this instanceof _))return new _;w.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}a.inherits(_,w),Ce.exports=_,_.blockSize=512,_.outSize=160,_.hmacStrength=80,_.padLength=64,_.prototype._update=function(F,A){for(var B=this.W,P=0;P<16;P++)B[P]=F[A+P];for(;P{"use strict";var a=E(8283),S=E(7138);function p(){if(!(this instanceof p))return new p;S.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}a.inherits(p,S),Ce.exports=p,p.blockSize=512,p.outSize=224,p.hmacStrength=192,p.padLength=64,p.prototype._digest=function(c){return"hex"===c?a.toHex32(this.h.slice(0,7),"big"):a.split32(this.h.slice(0,7),"big")}},7138:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),R=E(9210),c=a.sum32,D=a.sum32_4,C=a.sum32_5,w=p.ch32,T=p.maj32,_=p.s0_256,g=p.s1_256,F=p.g0_256,A=p.g1_256,B=S.BlockHash,P=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function $(){if(!(this instanceof $))return new $;B.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=P,this.W=new Array(64)}a.inherits($,B),Ce.exports=$,$.blockSize=512,$.outSize=256,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(M,O){for(var U=this.W,j=0;j<16;j++)U[j]=M[O+j];for(;j{"use strict";var a=E(8283),S=E(827);function p(){if(!(this instanceof p))return new p;S.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}a.inherits(p,S),Ce.exports=p,p.blockSize=1024,p.outSize=384,p.hmacStrength=192,p.padLength=128,p.prototype._digest=function(c){return"hex"===c?a.toHex32(this.h.slice(0,12),"big"):a.split32(this.h.slice(0,12),"big")}},827:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(9210),R=a.rotr64_hi,c=a.rotr64_lo,D=a.shr64_hi,C=a.shr64_lo,w=a.sum64,T=a.sum64_hi,_=a.sum64_lo,g=a.sum64_4_hi,F=a.sum64_4_lo,A=a.sum64_5_hi,B=a.sum64_5_lo,P=S.BlockHash,$=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function k(){if(!(this instanceof k))return new k;P.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=$,this.W=new Array(160)}function M(u,s,h,v,y){var f=u&h^~u&y;return f<0&&(f+=4294967296),f}function O(u,s,h,v,y,f){var r=s&v^~s&f;return r<0&&(r+=4294967296),r}function U(u,s,h,v,y){var f=u&h^u&y^h&y;return f<0&&(f+=4294967296),f}function j(u,s,h,v,y,f){var r=s&v^s&f^v&f;return r<0&&(r+=4294967296),r}function W(u,s){var f=R(u,s,28)^R(s,u,2)^R(s,u,7);return f<0&&(f+=4294967296),f}function ie(u,s){var f=c(u,s,28)^c(s,u,2)^c(s,u,7);return f<0&&(f+=4294967296),f}function me(u,s){var f=R(u,s,14)^R(u,s,18)^R(s,u,9);return f<0&&(f+=4294967296),f}function te(u,s){var f=c(u,s,14)^c(u,s,18)^c(s,u,9);return f<0&&(f+=4294967296),f}function se(u,s){var f=R(u,s,1)^R(u,s,8)^D(u,s,7);return f<0&&(f+=4294967296),f}function m(u,s){var f=c(u,s,1)^c(u,s,8)^C(u,s,7);return f<0&&(f+=4294967296),f}function n(u,s){var f=R(u,s,19)^R(s,u,29)^D(u,s,6);return f<0&&(f+=4294967296),f}function o(u,s){var f=c(u,s,19)^c(s,u,29)^C(u,s,6);return f<0&&(f+=4294967296),f}a.inherits(k,P),Ce.exports=k,k.blockSize=1024,k.outSize=512,k.hmacStrength=192,k.padLength=128,k.prototype._prepareBlock=function(s,h){for(var v=this.W,y=0;y<32;y++)v[y]=s[h+y];for(;y{"use strict";var S=E(8283).rotr32;function R(g,F,A){return g&F^~g&A}function c(g,F,A){return g&F^g&A^F&A}function D(g,F,A){return g^F^A}ee.ft_1=function p(g,F,A,B){return 0===g?R(F,A,B):1===g||3===g?D(F,A,B):2===g?c(F,A,B):void 0},ee.ch32=R,ee.maj32=c,ee.p32=D,ee.s0_256=function C(g){return S(g,2)^S(g,13)^S(g,22)},ee.s1_256=function w(g){return S(g,6)^S(g,11)^S(g,25)},ee.g0_256=function T(g){return S(g,7)^S(g,18)^g>>>3},ee.g1_256=function _(g){return S(g,17)^S(g,19)^g>>>10}},8283:(Ce,ee,E)=>{"use strict";var a=E(9210),S=E(1993);function p(o,u){return!(55296!=(64512&o.charCodeAt(u))||u<0||u+1>=o.length)&&56320==(64512&o.charCodeAt(u+1))}function D(o){return(o>>>24|o>>>8&65280|o<<8&16711680|(255&o)<<24)>>>0}function w(o){return 1===o.length?"0"+o:o}function T(o){return 7===o.length?"0"+o:6===o.length?"00"+o:5===o.length?"000"+o:4===o.length?"0000"+o:3===o.length?"00000"+o:2===o.length?"000000"+o:1===o.length?"0000000"+o:o}ee.inherits=S,ee.toArray=function R(o,u){if(Array.isArray(o))return o.slice();if(!o)return[];var s=[];if("string"==typeof o)if(u){if("hex"===u)for((o=o.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(o="0"+o),v=0;v>6|192,s[h++]=63&y|128):p(o,v)?(y=65536+((1023&y)<<10)+(1023&o.charCodeAt(++v)),s[h++]=y>>18|240,s[h++]=y>>12&63|128,s[h++]=y>>6&63|128,s[h++]=63&y|128):(s[h++]=y>>12|224,s[h++]=y>>6&63|128,s[h++]=63&y|128)}else for(v=0;v>>0;return y},ee.split32=function g(o,u){for(var s=new Array(4*o.length),h=0,v=0;h>>24,s[v+1]=y>>>16&255,s[v+2]=y>>>8&255,s[v+3]=255&y):(s[v+3]=y>>>24,s[v+2]=y>>>16&255,s[v+1]=y>>>8&255,s[v]=255&y)}return s},ee.rotr32=function F(o,u){return o>>>u|o<<32-u},ee.rotl32=function A(o,u){return o<>>32-u},ee.sum32=function B(o,u){return o+u>>>0},ee.sum32_3=function P(o,u,s){return o+u+s>>>0},ee.sum32_4=function $(o,u,s,h){return o+u+s+h>>>0},ee.sum32_5=function k(o,u,s,h,v){return o+u+s+h+v>>>0},ee.sum64=function M(o,u,s,h){var f=h+o[u+1]>>>0;o[u]=(f>>0,o[u+1]=f},ee.sum64_hi=function O(o,u,s,h){return(u+h>>>0>>0},ee.sum64_lo=function U(o,u,s,h){return u+h>>>0},ee.sum64_4_hi=function j(o,u,s,h,v,y,f,r){var d=0,L=u;return d+=(L=L+h>>>0)>>0)>>0)>>0},ee.sum64_4_lo=function W(o,u,s,h,v,y,f,r){return u+h+y+r>>>0},ee.sum64_5_hi=function ie(o,u,s,h,v,y,f,r,d,L){var I=0,V=u;return I+=(V=V+h>>>0)>>0)>>0)>>0)>>0},ee.sum64_5_lo=function me(o,u,s,h,v,y,f,r,d,L){return u+h+y+r+L>>>0},ee.rotr64_hi=function te(o,u,s){return(u<<32-s|o>>>s)>>>0},ee.rotr64_lo=function se(o,u,s){return(o<<32-s|u>>>s)>>>0},ee.shr64_hi=function m(o,u,s){return o>>>s},ee.shr64_lo=function n(o,u,s){return(o<<32-s|u>>>s)>>>0}},3556:(Ce,ee,E)=>{"use strict";var a=E(2529),S=E(1832),p=E(9210);function R(c){if(!(this instanceof R))return new R(c);this.hash=c.hash,this.predResist=!!c.predResist,this.outLen=this.hash.outSize,this.minEntropy=c.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var D=S.toArray(c.entropy,c.entropyEnc||"hex"),C=S.toArray(c.nonce,c.nonceEnc||"hex"),w=S.toArray(c.pers,c.persEnc||"hex");p(D.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(D,C,w)}Ce.exports=R,R.prototype._init=function(D,C,w){var T=D.concat(C).concat(w);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var _=0;_=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(D.concat(w||[])),this._reseed=1},R.prototype.generate=function(D,C,w,T){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof C&&(T=w,w=C,C=null),w&&(w=S.toArray(w,T||"hex"),this._update(w));for(var _=[];_.length{ee.read=function(E,a,S,p,R){var c,D,C=8*R-p-1,w=(1<>1,_=-7,g=S?R-1:0,F=S?-1:1,A=E[a+g];for(g+=F,c=A&(1<<-_)-1,A>>=-_,_+=C;_>0;c=256*c+E[a+g],g+=F,_-=8);for(D=c&(1<<-_)-1,c>>=-_,_+=p;_>0;D=256*D+E[a+g],g+=F,_-=8);if(0===c)c=1-T;else{if(c===w)return D?NaN:1/0*(A?-1:1);D+=Math.pow(2,p),c-=T}return(A?-1:1)*D*Math.pow(2,c-p)},ee.write=function(E,a,S,p,R,c){var D,C,w,T=8*c-R-1,_=(1<>1,F=23===R?Math.pow(2,-24)-Math.pow(2,-77):0,A=p?0:c-1,B=p?1:-1,P=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(C=isNaN(a)?1:0,D=_):(D=Math.floor(Math.log(a)/Math.LN2),a*(w=Math.pow(2,-D))<1&&(D--,w*=2),(a+=D+g>=1?F/w:F*Math.pow(2,1-g))*w>=2&&(D++,w/=2),D+g>=_?(C=0,D=_):D+g>=1?(C=(a*w-1)*Math.pow(2,R),D+=g):(C=a*Math.pow(2,g-1)*Math.pow(2,R),D=0));R>=8;E[S+A]=255&C,A+=B,C/=256,R-=8);for(D=D<0;E[S+A]=255&D,A+=B,D/=256,T-=8);E[S+A-B]|=128*P}},1993:Ce=>{Ce.exports="function"==typeof Object.create?function(E,a){a&&(E.super_=a,E.prototype=Object.create(a.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}))}:function(E,a){if(a){E.super_=a;var S=function(){};S.prototype=a.prototype,E.prototype=new S,E.prototype.constructor=E}}},53:Ce=>{var ee={}.toString;Ce.exports=Array.isArray||function(E){return"[object Array]"==ee.call(E)}},9657:(Ce,ee,E)=>{"use strict";E.d(ee,{b:()=>Qe,c:()=>j,g:()=>U,r:()=>ht});var a=E(467);let p,R,D=!1;const _="slot-fb{display:contents}slot-fb[hidden]{display:none}",g={},A=_e=>"object"==(_e=typeof _e)||"function"===_e;function B(_e){var De,Me,Ze;return null!==(Ze=null===(Me=null===(De=_e.head)||void 0===De?void 0:De.querySelector('meta[name="csp-nonce"]'))||void 0===Me?void 0:Me.getAttribute("content"))&&void 0!==Ze?Ze:void 0}const $=(_e,De)=>({$flags$:0,$tag$:_e,$text$:De,$elm$:null,$children$:null,$attrs$:null}),k={},U=_e=>gt(_e).$hostElement$,j=(_e,De,Me)=>{const Ze=U(_e);return{emit:Ve=>W(Ze,De,{bubbles:!!(4&Me),composed:!!(2&Me),cancelable:!!(1&Me),detail:Ve})}},W=(_e,De,Me)=>{const Ze=_t.ce(De,Me);return _e.dispatchEvent(Ze),Ze},ie=new WeakMap,m=(_e,De)=>"sc-"+_e.$tagName$,n=(_e,De,Me,Ze,Ve,it)=>{if(Me!==Ze){let Pe=Mt(_e,De);De.toLowerCase();{const Be=A(Ze);if((Pe||Be&&null!==Ze)&&!Ve)try{if(_e.tagName.includes("-"))_e[De]=Ze;else{const je=null==Ze?"":Ze;"list"===De?Pe=!1:(null==Me||_e[De]!=je)&&(_e[De]=je)}}catch{}null==Ze||!1===Ze?(!1!==Ze||""===_e.getAttribute(De))&&_e.removeAttribute(De):(!Pe||4&it||Ve)&&!Be&&_e.setAttribute(De,Ze=!0===Ze?"":Ze)}}},o=(_e,De,Me,Ze)=>{const Ve=11===De.$elm$.nodeType&&De.$elm$.host?De.$elm$.host:De.$elm$,it=_e&&_e.$attrs$||g,Pe=De.$attrs$||g;for(Ze of u(Object.keys(it)))Ze in Pe||n(Ve,Ze,it[Ze],void 0,Me,De.$flags$);for(Ze of u(Object.keys(Pe)))n(Ve,Ze,it[Ze],Pe[Ze],Me,De.$flags$)};function u(_e){return _e.includes("ref")?[..._e.filter(De=>"ref"!==De),"ref"]:_e}const s=(_e,De,Me,Ze)=>{const Ve=De.$children$[Me];let Pe,Be,it=0;if(Pe=Ve.$elm$=Dt.createElement(Ve.$tag$),o(null,Ve,!1),(_e=>null!=_e)(p)&&Pe["s-si"]!==p&&Pe.classList.add(Pe["s-si"]=p),Ve.$children$)for(it=0;it{let Be,Pe=_e;for(Pe.shadowRoot&&Pe.tagName===R&&(Pe=Pe.shadowRoot);Ve<=it;++Ve)Ze[Ve]&&(Be=s(null,Me,Ve),Be&&(Ze[Ve].$elm$=Be,Pe.insertBefore(Be,De)))},v=(_e,De,Me)=>{for(let Ze=De;Ze<=Me;++Ze){const Ve=_e[Ze];if(Ve){const it=Ve.$elm$;it&&it.remove()}}},f=(_e,De,Me=!1)=>_e.$tag$===De.$tag$,r=(_e,De,Me=!1)=>{const Ze=De.$elm$=_e.$elm$,Ve=_e.$children$,it=De.$children$;o(_e,De,!1),null!==Ve&&null!==it?((_e,De,Me,Ze,Ve=!1)=>{let Ct,it=0,Pe=0,Be=De.length-1,je=De[0],yt=De[Be],Je=Ze.length-1,st=Ze[0],qt=Ze[Je];for(;it<=Be&&Pe<=Je;)null==je?je=De[++it]:null==yt?yt=De[--Be]:null==st?st=Ze[++Pe]:null==qt?qt=Ze[--Je]:f(je,st,Ve)?(r(je,st,Ve),je=De[++it],st=Ze[++Pe]):f(yt,qt,Ve)?(r(yt,qt,Ve),yt=De[--Be],qt=Ze[--Je]):f(je,qt,Ve)?(r(je,qt,Ve),_e.insertBefore(je.$elm$,yt.$elm$.nextSibling),je=De[++it],qt=Ze[--Je]):f(yt,st,Ve)?(r(yt,st,Ve),_e.insertBefore(yt.$elm$,je.$elm$),yt=De[--Be],st=Ze[++Pe]):(Ct=s(De&&De[Pe],Me,Pe),st=Ze[++Pe],Ct&&je.$elm$.parentNode.insertBefore(Ct,je.$elm$));it>Be?h(_e,null==Ze[Je+1]?null:Ze[Je+1].$elm$,Me,Ze,Pe,Je):Pe>Je&&v(De,it,Be)})(Ze,Ve,De,it,Me):null!==it?h(Ze,null,De,it,0,it.length-1):null!==Ve&&v(Ve,0,Ve.length-1)},L=(_e,De)=>{De&&!_e.$onRenderResolve$&&De["s-p"]&&De["s-p"].push(new Promise(Me=>_e.$onRenderResolve$=Me))},I=(_e,De)=>{if(_e.$flags$|=16,!(4&_e.$flags$))return L(_e,_e.$ancestorComponent$),He(()=>V(_e,De));_e.$flags$|=512},V=(_e,De)=>{const Ze=_e.$lazyInstance$;let Ve;return De&&(Ve=tt(Ze,"componentWillLoad")),q(Ve,()=>ve(_e,Ze,De))},q=(_e,De)=>oe(_e)?_e.then(De):De(),oe=_e=>_e instanceof Promise||_e&&_e.then&&"function"==typeof _e.then,ve=function(){var _e=(0,a.A)(function*(De,Me,Ze){var Ve;const it=De.$hostElement$,Be=it["s-rc"];Ze&&(_e=>{const De=_e.$cmpMeta$,Me=_e.$hostElement$,Ze=De.$flags$,it=((_e,De,Me)=>{var Ze;const Ve=m(De),it=Ft.get(Ve);if(_e=11===_e.nodeType?_e:Dt,it)if("string"==typeof it){let Be,Pe=ie.get(_e=_e.head||_e);if(Pe||ie.set(_e,Pe=new Set),!Pe.has(Ve)){{Be=Dt.createElement("style"),Be.innerHTML=it;const je=null!==(Ze=_t.$nonce$)&&void 0!==Ze?Ze:B(Dt);null!=je&&Be.setAttribute("nonce",je),_e.insertBefore(Be,_e.querySelector("link"))}4&De.$flags$&&(Be.innerHTML+=_),Pe&&Pe.add(Ve)}}else _e.adoptedStyleSheets.includes(it)||(_e.adoptedStyleSheets=[..._e.adoptedStyleSheets,it]);return Ve})(Me.shadowRoot?Me.shadowRoot:Me.getRootNode(),De);10&Ze&&(Me["s-sc"]=it,Me.classList.add(it+"-h"))})(De);Ae(De,Me,it,Ze),Be&&(Be.map(yt=>yt()),it["s-rc"]=void 0);{const yt=null!==(Ve=it["s-p"])&&void 0!==Ve?Ve:[],Je=()=>Q(De);0===yt.length?Je():(Promise.all(yt).then(Je),De.$flags$|=4,yt.length=0)}});return function(Me,Ze,Ve){return _e.apply(this,arguments)}}(),Ae=(_e,De,Me,Ze)=>{try{De=De.render(),_e.$flags$&=-17,_e.$flags$|=2,((_e,De,Me=!1)=>{const Ze=_e.$hostElement$,Ve=_e.$cmpMeta$,it=_e.$vnode$||$(null,null),Pe=(_e=>_e&&_e.$tag$===k)(De)?De:((_e,De,...Me)=>{let Ze=null,Ve=!1,it=!1;const Pe=[],Be=yt=>{for(let Je=0;Je0&&(je.$children$=Pe),je})(null,null,De);if(R=Ze.tagName,Ve.$attrsToReflect$&&(Pe.$attrs$=Pe.$attrs$||{},Ve.$attrsToReflect$.map(([Be,je])=>Pe.$attrs$[je]=Ze[Be])),Me&&Pe.$attrs$)for(const Be of Object.keys(Pe.$attrs$))Ze.hasAttribute(Be)&&!["key","ref","style","class"].includes(Be)&&(Pe.$attrs$[Be]=Ze[Be]);Pe.$tag$=null,Pe.$flags$|=4,_e.$vnode$=Pe,Pe.$elm$=it.$elm$=Ze.shadowRoot||Ze,p=Ze["s-sc"],r(it,Pe,Me)})(_e,De,Ze)}catch(Ve){Pt(Ve,_e.$hostElement$)}return null},Q=_e=>{const Me=_e.$hostElement$,Ve=_e.$lazyInstance$,it=_e.$ancestorComponent$;64&_e.$flags$||(_e.$flags$|=64,Oe(Me),tt(Ve,"componentDidLoad"),_e.$onReadyResolve$(Me),it||ae()),_e.$onInstanceResolve$(Me),_e.$onRenderResolve$&&(_e.$onRenderResolve$(),_e.$onRenderResolve$=void 0),512&_e.$flags$&&Vt(()=>I(_e,!1)),_e.$flags$&=-517},ae=_e=>{Oe(Dt.documentElement),Vt(()=>W(yn,"appload",{detail:{namespace:"jeep-sqlite"}}))},tt=(_e,De,Me)=>{if(_e&&_e[De])try{return _e[De](Me)}catch(Ze){Pt(Ze)}},Oe=_e=>_e.classList.add("hydrated"),Se=(_e,De,Me)=>{var Ze;const Ve=_e.prototype;if(De.$members$){_e.watchers&&(De.$watchers$=_e.watchers);const it=Object.entries(De.$members$);if(it.map(([Pe,[Be]])=>{31&Be||2&Me&&32&Be?Object.defineProperty(Ve,Pe,{get(){return((_e,De)=>gt(this).$instanceValues$.get(De))(0,Pe)},set(je){((_e,De,Me,Ze)=>{const Ve=gt(_e),it=Ve.$hostElement$,Pe=Ve.$instanceValues$.get(De),Be=Ve.$flags$,je=Ve.$lazyInstance$;Me=((_e,De)=>null==_e||A(_e)?_e:4&De?"false"!==_e&&(""===_e||!!_e):1&De?String(_e):_e)(Me,Ze.$members$[De][0]);const yt=Number.isNaN(Pe)&&Number.isNaN(Me);if((!(8&Be)||void 0===Pe)&&Me!==Pe&&!yt&&(Ve.$instanceValues$.set(De,Me),je)){if(Ze.$watchers$&&128&Be){const st=Ze.$watchers$[De];st&&st.map(qt=>{try{je[qt](Me,Pe,De)}catch(Ct){Pt(Ct,it)}})}2==(18&Be)&&I(Ve,!1)}})(this,Pe,je,De)},configurable:!0,enumerable:!0}):1&Me&&64&Be&&Object.defineProperty(Ve,Pe,{value(...je){var yt;const Je=gt(this);return null===(yt=null==Je?void 0:Je.$onInstancePromise$)||void 0===yt?void 0:yt.then(()=>{var st;return null===(st=Je.$lazyInstance$)||void 0===st?void 0:st[Pe](...je)})}})}),1&Me){const Pe=new Map;Ve.attributeChangedCallback=function(Be,je,yt){_t.jmp(()=>{var Je;const st=Pe.get(Be);if(this.hasOwnProperty(st))yt=this[st],delete this[st];else{if(Ve.hasOwnProperty(st)&&"number"==typeof this[st]&&this[st]==yt)return;if(null==st){const qt=gt(this),Ct=null==qt?void 0:qt.$flags$;if(Ct&&!(8&Ct)&&128&Ct&&yt!==je){const mt=qt.$lazyInstance$,Wt=null===(Je=De.$watchers$)||void 0===Je?void 0:Je[Be];null==Wt||Wt.forEach(Ot=>{null!=mt[Ot]&&mt[Ot].call(mt,yt,je,Be)})}return}}this[st]=(null!==yt||"boolean"!=typeof this[st])&&yt})},_e.observedAttributes=Array.from(new Set([...Object.keys(null!==(Ze=De.$watchers$)&&void 0!==Ze?Ze:{}),...it.filter(([Be,je])=>15&je[0]).map(([Be,je])=>{var yt;const Je=je[1]||Be;return Pe.set(Je,Be),512&je[0]&&(null===(yt=De.$attrsToReflect$)||void 0===yt||yt.push([Be,Je])),Je})]))}}return _e},re=function(){var _e=(0,a.A)(function*(De,Me,Ze,Ve){let it;if(!(32&Me.$flags$)){if(Me.$flags$|=32,Ze.$lazyBundleId$){if(it=It(Ze),it.then){const Je=()=>{};it=yield it,Je()}it.isProxied||(Ze.$watchers$=it.watchers,Se(it,Ze,2),it.isProxied=!0);const yt=()=>{};Me.$flags$|=8;try{new it(Me)}catch(Je){Pt(Je)}Me.$flags$&=-9,Me.$flags$|=128,yt(),ne(Me.$lazyInstance$)}else it=De.constructor,customElements.whenDefined(Ze.$tagName$).then(()=>Me.$flags$|=128);if(it.style){let yt=it.style;const Je=m(Ze);if(!Ft.has(Je)){const st=()=>{};((_e,De,Me)=>{let Ze=Ft.get(_e);St&&Me?(Ze=Ze||new CSSStyleSheet,"string"==typeof Ze?Ze=De:Ze.replaceSync(De)):Ze=De,Ft.set(_e,Ze)})(Je,yt,!!(1&Ze.$flags$)),st()}}}const Pe=Me.$ancestorComponent$,Be=()=>I(Me,!0);Pe&&Pe["s-rc"]?Pe["s-rc"].push(Be):Be()});return function(Me,Ze,Ve,it){return _e.apply(this,arguments)}}(),ne=_e=>{tt(_e,"connectedCallback")},vt=function(){var _e=(0,a.A)(function*(De){if(!(1&_t.$flags$)){const Me=gt(De);null!=Me&&Me.$lazyInstance$||null!=Me&&Me.$onReadyPromise$&&Me.$onReadyPromise$.then(()=>{})}});return function(Me){return _e.apply(this,arguments)}}(),Qe=(_e,De={})=>{var Me;const Ve=[],it=De.exclude||[],Pe=yn.customElements,Be=Dt.head,je=Be.querySelector("meta[charset]"),yt=Dt.createElement("style"),Je=[];let st,qt=!0;Object.assign(_t,De),_t.$resourcesUrl$=new URL(De.resourcesUrl||"./",Dt.baseURI).href;let Ct=!1;if(_e.map(mt=>{mt[1].map(Wt=>{var Ot;const Rt={$flags$:Wt[0],$tagName$:Wt[1],$members$:Wt[2],$listeners$:Wt[3]};4&Rt.$flags$&&(Ct=!0),Rt.$members$=Wt[2],Rt.$attrsToReflect$=[],Rt.$watchers$=null!==(Ot=Wt[4])&&void 0!==Ot?Ot:{};const kn=Rt.$tagName$,bn=class extends HTMLElement{constructor(wn){super(wn),on(wn=this,Rt),1&Rt.$flags$&&wn.attachShadow({mode:"open"})}connectedCallback(){st&&(clearTimeout(st),st=null),qt?Je.push(this):_t.jmp(()=>(_e=>{if(!(1&_t.$flags$)){const De=gt(_e),Me=De.$cmpMeta$,Ze=()=>{};if(1&De.$flags$)null!=De&&De.$lazyInstance$?ne(De.$lazyInstance$):null!=De&&De.$onReadyPromise$&&De.$onReadyPromise$.then(()=>ne(De.$lazyInstance$));else{De.$flags$|=1;{let Ve=_e;for(;Ve=Ve.parentNode||Ve.host;)if(Ve["s-p"]){L(De,De.$ancestorComponent$=Ve);break}}Me.$members$&&Object.entries(Me.$members$).map(([Ve,[it]])=>{if(31&it&&_e.hasOwnProperty(Ve)){const Pe=_e[Ve];delete _e[Ve],_e[Ve]=Pe}}),re(_e,De,Me)}Ze()}})(this))}disconnectedCallback(){_t.jmp(()=>vt(this))}componentOnReady(){return gt(this).$onReadyPromise$}};Rt.$lazyBundleId$=mt[0],!it.includes(kn)&&!Pe.get(kn)&&(Ve.push(kn),Pe.define(kn,Se(bn,Rt,1)))})}),Ve.length>0&&(Ct&&(yt.textContent+=_),yt.textContent+=Ve+"{visibility:hidden}.hydrated{visibility:inherit}",yt.innerHTML.length)){yt.setAttribute("data-styles","");const mt=null!==(Me=_t.$nonce$)&&void 0!==Me?Me:B(Dt);null!=mt&&yt.setAttribute("nonce",mt),Be.insertBefore(yt,je?je.nextSibling:Be.firstChild)}qt=!1,Je.length?Je.map(mt=>mt.connectedCallback()):_t.jmp(()=>st=setTimeout(ae,30))},nn=new WeakMap,gt=_e=>nn.get(_e),ht=(_e,De)=>nn.set(De.$lazyInstance$=_e,De),on=(_e,De)=>{const Me={$flags$:0,$hostElement$:_e,$cmpMeta$:De,$instanceValues$:new Map};return Me.$onInstancePromise$=new Promise(Ze=>Me.$onInstanceResolve$=Ze),Me.$onReadyPromise$=new Promise(Ze=>Me.$onReadyResolve$=Ze),_e["s-p"]=[],_e["s-rc"]=[],nn.set(_e,Me)},Mt=(_e,De)=>De in _e,Pt=(_e,De)=>(0,console.error)(_e,De),En=new Map,It=(_e,De,Me)=>{const Ze=_e.$tagName$.replace(/-/g,"_"),Ve=_e.$lazyBundleId$,it=En.get(Ve);return it?it[Ze]:E(7321)(`./${Ve}.entry.js`).then(Pe=>(En.set(Ve,Pe),Pe[Ze]),Pt)},Ft=new Map,yn=typeof window<"u"?window:{},Dt=yn.document||{head:{}},_t={$flags$:0,$resourcesUrl$:"",jmp:_e=>_e(),raf:_e=>requestAnimationFrame(_e),ael:(_e,De,Me,Ze)=>_e.addEventListener(De,Me,Ze),rel:(_e,De,Me,Ze)=>_e.removeEventListener(De,Me,Ze),ce:(_e,De)=>new CustomEvent(_e,De)},St=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),ft=[],In=[],kt=(_e,De)=>Me=>{_e.push(Me),D||(D=!0,De&&4&_t.$flags$?Vt(Un):_t.raf(Un))},Nt=_e=>{for(let De=0;De<_e.length;De++)try{_e[De](performance.now())}catch(Me){Pt(Me)}_e.length=0},Un=()=>{Nt(ft),Nt(In),(D=ft.length>0)&&_t.raf(Un)},Vt=_e=>Promise.resolve(void 0).then(_e),He=kt(In,!0)},4801:function(Ce){typeof self<"u"&&self,Ce.exports=function(ee){var E={};function a(S){if(E[S])return E[S].exports;var p=E[S]={i:S,l:!1,exports:{}};return ee[S].call(p.exports,p,p.exports,a),p.l=!0,p.exports}return a.m=ee,a.c=E,a.d=function(S,p,R){a.o(S,p)||Object.defineProperty(S,p,{configurable:!1,enumerable:!0,get:R})},a.n=function(S){var p=S&&S.__esModule?function(){return S.default}:function(){return S};return a.d(p,"a",p),p},a.o=function(S,p){return Object.prototype.hasOwnProperty.call(S,p)},a.p="",a(a.s=3)}([function(ee,E,a){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var S=function(){function p(R,c){this.width=c,this.height=R.length/c,this.data=R}return p.createEmpty=function(R,c){return new p(new Uint8ClampedArray(R*c),R)},p.prototype.get=function(R,c){return!(R<0||R>=this.width||c<0||c>=this.height||!this.data[c*this.width+R])},p.prototype.set=function(R,c,D){this.data[c*this.width+R]=D?1:0},p.prototype.setRegion=function(R,c,D,C,w){for(var T=c;T=this.size&&(T=(T^this.primitive)&this.size-1);for(_=0;_1&&0===D[0]){for(var w=1;ww.length&&(C=(D=[w,C])[0],w=D[1]);for(var T=new Uint8ClampedArray(w.length),_=w.length-C.length,g=0;g<_;g++)T[g]=w[g];for(g=_;g_?_:w}var D=function(){function w(T,_){this.width=T,this.data=new Uint8ClampedArray(T*_)}return w.prototype.get=function(T,_){return this.data[_*this.width+T]},w.prototype.set=function(T,_,g){this.data[_*this.width+T]=g},w}();E.binarize=function C(w,T,_,g){if(w.length!==T*_*4)throw new Error("Malformed data passed to binarizer.");for(var F=new D(T,_),A=0;A0&&W>0)){var n=(U.get(W,j-1)+2*U.get(W-1,j)+U.get(W-1,j-1))/4;me6&&(O.setRegion(M-11,0,3,6,!0),O.setRegion(0,M-11,6,3,!0)),O}(M),ie=[],me=0,te=0,se=!0,m=j-1;m>0;m-=2){6===m&&m--;for(var n=0;n=0;j--)for(var W=M-9;W>=M-11;W--)U=C(k.get(W,j),U);var ie=0;for(W=5;W>=0;W--)for(j=M-9;j>=M-11;j--)ie=C(k.get(W,j),ie);for(var te,me=1/0,se=0,m=c.VERSIONS;se=0;U--)6!==U&&(M=C(k.get(8,U),M));var j=k.height,W=0;for(U=j-1;U>=j-7;U--)W=C(k.get(8,U),W);for(O=j-8;O1){var n=U.ecBlocks[0].numBlocks,o=U.ecBlocks[1].numBlocks;for(me=0;me0;)for(var u=0,s=j;u=3;){if((M=F.readBits(10))>=1e3)throw new Error("Invalid numeric value above 999");var O=Math.floor(M/100),U=Math.floor(M/10)%10,j=M%10;B.push(48+O,48+U,48+j),P+=O.toString()+U.toString()+j.toString(),k-=3}if(2===k){if((M=F.readBits(7))>=100)throw new Error("Invalid numeric value above 99");O=Math.floor(M/10),B.push(48+O,48+(U=M%10)),P+=O.toString()+U.toString()}else if(1===k){var M;if((M=F.readBits(4))>=10)throw new Error("Invalid numeric value above 9");B.push(48+M),P+=M.toString()}return{bytes:B,text:P}}var C=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function w(F,A){for(var B=[],P="",k=F.readBits([9,11,13][A]);k>=2;){var M=F.readBits(11),O=Math.floor(M/45),U=M%45;B.push(C[O].charCodeAt(0),C[U].charCodeAt(0)),P+=C[O]+C[U],k-=2}return 1===k&&(O=F.readBits(6),B.push(C[O].charCodeAt(0)),P+=C[O]),{bytes:B,text:P}}function T(F,A){for(var B=[],P="",k=F.readBits([8,16,16][A]),M=0;M>8,255&U),P+=String.fromCharCode(p.shiftJISTable[U])}return{bytes:B,text:P}}E.decode=function g(F,A){for(var B,P,$,k,M=new S.BitStream(F),O=A<=9?0:A<=26?1:2,U={text:"",bytes:[],chunks:[],version:A};M.available()>=4;){var j=M.readBits(4);if(j===c.Terminator)return U;if(j===c.ECI)0===M.readBits(1)?U.chunks.push({type:R.ECI,assignmentNumber:M.readBits(7)}):0===M.readBits(1)?U.chunks.push({type:R.ECI,assignmentNumber:M.readBits(14)}):0===M.readBits(1)?U.chunks.push({type:R.ECI,assignmentNumber:M.readBits(21)}):U.chunks.push({type:R.ECI,assignmentNumber:-1});else if(j===c.Numeric){var W=D(M,O);U.text+=W.text,(B=U.bytes).push.apply(B,W.bytes),U.chunks.push({type:R.Numeric,text:W.text})}else if(j===c.Alphanumeric){var ie=w(M,O);U.text+=ie.text,(P=U.bytes).push.apply(P,ie.bytes),U.chunks.push({type:R.Alphanumeric,text:ie.text})}else if(j===c.Byte){var me=T(M,O);U.text+=me.text,($=U.bytes).push.apply($,me.bytes),U.chunks.push({type:R.Byte,bytes:me.bytes,text:me.text})}else if(j===c.Kanji){var te=_(M,O);U.text+=te.text,(k=U.bytes).push.apply(k,te.bytes),U.chunks.push({type:R.Kanji,bytes:te.bytes,text:te.text})}}if(0===M.available()||0===M.readBits(M.available()))return U}},function(ee,E,a){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var S=function(){function p(R){this.byteOffset=0,this.bitOffset=0,this.bytes=R}return p.prototype.readBits=function(R){if(R<1||R>32||R>this.available())throw new Error("Cannot read "+R.toString()+" bits");var c=0;if(this.bitOffset>0){var D=8-this.bitOffset,C=R>8-C<<(w=D-C))>>w,R-=C,this.bitOffset+=C,8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(R>0){for(;R>=8;)c=c<<8|255&this.bytes[this.byteOffset],this.byteOffset++,R-=8;var w;R>0&&(c=c<>(w=8-R)<>w,this.bitOffset+=R)}return c},p.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},p}();E.BitStream=S},function(ee,E,a){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}},function(ee,E,a){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var S=a(1),p=a(2);E.decode=function C(w,T){var _=new Uint8ClampedArray(w.length);_.set(w);for(var g=new S.default(285,256,0),F=new p.default(g,_),A=new Uint8ClampedArray(T),B=!1,P=0;P=g/2;){var k=A,M=P;if(P=$,(A=B).isZero())return null;B=k;for(var O=w.zero,U=A.getCoefficient(A.degree()),j=w.inverse(U);B.degree()>=A.degree()&&!B.isZero();){var W=B.degree()-A.degree(),ie=w.multiply(B.getCoefficient(B.degree()),j);O=O.addOrSubtract(w.buildMonomial(W,ie)),B=B.addOrSubtract(A.multiplyByMonomial(W,ie))}if($=O.multiplyPoly(P).addOrSubtract(M),B.degree()>=A.degree())return null}var me=$.getCoefficient(0);if(0===me)return null;var te=w.inverse(me);return[$.multiply(te),B.multiply(te)]}(g,g.buildMonomial(T,1),k,T);if(null===M)return null;var O=function c(w,T){var _=T.degree();if(1===_)return[T.getCoefficient(1)];for(var g=new Array(_),F=0,A=1;AMath.abs(k.x-$.x);j?(W=Math.floor($.y),ie=Math.floor($.x),me=Math.floor(k.y),te=Math.floor(k.x)):(W=Math.floor($.x),ie=Math.floor($.y),me=Math.floor(k.x),te=Math.floor(k.y));for(var se=Math.abs(me-W),m=Math.abs(te-ie),n=Math.floor(-se/2),o=W0){if(v===te)break;v+=u,n-=se}}for(var r=[],d=0;d=15&&n.length?n[0]:m,dimension:W}}E.locate=function B($){for(var k=[],M=[],O=[],U=[],j=function(y){for(var f=0,r=!1,d=[0,0,0,0,0],L=function(V){var q=$.get(V,y);if(q===r)f++;else{d=[d[1],d[2],d[3],d[4],f],f=1,r=q;var oe=D(d)/7,ve=Math.abs(d[0]-oe)=re.bottom.startX&&tt<=re.bottom.endX||ae>=re.bottom.startX&&tt<=re.bottom.endX||tt<=re.bottom.startX&&ae>=re.bottom.endX&&d[2]/(re.bottom.endX-re.bottom.startX)<1.5&&d[2]/(re.bottom.endX-re.bottom.startX)>.5})).length>0?pe[0].bottom=Oe:M.push({top:Oe,bottom:Oe})}if(Q){var pe,Ie=V-d[4],Se=Ie-d[3];Oe={startX:Se,y,endX:Ie},(pe=U.filter(function(G){return Se>=G.bottom.startX&&Se<=G.bottom.endX||Ie>=G.bottom.startX&&Se<=G.bottom.endX||Se<=G.bottom.startX&&Ie>=G.bottom.endX&&d[2]/(G.bottom.endX-G.bottom.startX)<1.5&&d[2]/(G.bottom.endX-G.bottom.startX)>.5})).length>0?pe[0].bottom=Oe:U.push({top:Oe,bottom:Oe})}}},I=-1;I<=$.width;I++)L(I);k.push.apply(k,M.filter(function(V){return V.bottom.y!==y&&V.bottom.y-V.top.y>=2})),M=M.filter(function(V){return V.bottom.y===y}),O.push.apply(O,U.filter(function(V){return V.bottom.y!==y})),U=U.filter(function(V){return V.bottom.y===y})},W=0;W<=$.height;W++)j(W);k.push.apply(k,M.filter(function(y){return y.bottom.y-y.top.y>=2})),O.push.apply(O,U);var ie=k.filter(function(y){return y.bottom.y-y.top.y>=2}).map(function(y){var f=(y.top.startX+y.top.endX+y.bottom.startX+y.bottom.endX)/4,r=(y.top.y+y.bottom.y+1)/2;if($.get(Math.round(f),Math.round(r))){var d=[y.top.endX-y.top.startX,y.bottom.endX-y.bottom.startX,y.bottom.y-y.top.y+1],L=D(d)/d.length;return{score:F({x:Math.round(f),y:Math.round(r)},[1,1,3,1,1],$),x:f,y:r,size:L}}}).filter(function(y){return!!y}).sort(function(y,f){return y.score-f.score}).map(function(y,f,r){if(f>4)return null;var d=r.filter(function(I,V){return f!==V}).map(function(I){return{x:I.x,y:I.y,score:I.score+Math.pow(I.size-y.size,2)/y.size,size:I.size}}).sort(function(I,V){return I.score-V.score});if(d.length<2)return null;var L=y.score+d[0].score+d[1].score;return{points:[y].concat(d.slice(0,2)),score:L}}).filter(function(y){return!!y}).sort(function(y,f){return y.score-f.score});if(0===ie.length)return null;var me=function C($,k,M){var O,U,j,W,se,m,n,ie=c($,k),me=c(k,M),te=c($,M);return me>=ie&&me>=te?(se=(O=[k,$,M])[0],m=O[1],n=O[2]):te>=me&&te>=ie?(se=(U=[$,k,M])[0],m=U[1],n=U[2]):(se=(j=[$,M,k])[0],m=j[1],n=j[2]),(n.x-m.x)*(se.y-m.y)-(n.y-m.y)*(se.x-m.x)<0&&(se=(W=[n,se])[0],n=W[1]),{bottomLeft:se,topLeft:m,topRight:n}}(ie[0].points[0],ie[0].points[1],ie[0].points[2]),te=me.topRight,se=me.topLeft,m=me.bottomLeft,n=P($,O,te,se,m),o=[];n&&o.push({alignmentPattern:{x:n.alignmentPattern.x,y:n.alignmentPattern.y},bottomLeft:{x:m.x,y:m.y},dimension:n.dimension,topLeft:{x:se.x,y:se.y},topRight:{x:te.x,y:te.y}});var u=A($,te),s=A($,se),h=A($,m),v=P($,O,u,s,h);return v&&o.push({alignmentPattern:{x:v.alignmentPattern.x,y:v.alignmentPattern.y},bottomLeft:{x:h.x,y:h.y},topLeft:{x:s.x,y:s.y},topRight:{x:u.x,y:u.y},dimension:v.dimension}),0===o.length?null:o}}]).default},4725:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(3686),p=E(7054).Buffer,R=new Array(16);function c(){S.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function D(g,F){return g<>>32-F}function C(g,F,A,B,P,$,k){return D(g+(F&A|~F&B)+P+$|0,k)+F|0}function w(g,F,A,B,P,$,k){return D(g+(F&B|A&~B)+P+$|0,k)+F|0}function T(g,F,A,B,P,$,k){return D(g+(F^A^B)+P+$|0,k)+F|0}function _(g,F,A,B,P,$,k){return D(g+(A^(F|~B))+P+$|0,k)+F|0}a(c,S),c.prototype._update=function(){for(var g=R,F=0;F<16;++F)g[F]=this._block.readInt32LE(4*F);var A=this._a,B=this._b,P=this._c,$=this._d;A=C(A,B,P,$,g[0],3614090360,7),$=C($,A,B,P,g[1],3905402710,12),P=C(P,$,A,B,g[2],606105819,17),B=C(B,P,$,A,g[3],3250441966,22),A=C(A,B,P,$,g[4],4118548399,7),$=C($,A,B,P,g[5],1200080426,12),P=C(P,$,A,B,g[6],2821735955,17),B=C(B,P,$,A,g[7],4249261313,22),A=C(A,B,P,$,g[8],1770035416,7),$=C($,A,B,P,g[9],2336552879,12),P=C(P,$,A,B,g[10],4294925233,17),B=C(B,P,$,A,g[11],2304563134,22),A=C(A,B,P,$,g[12],1804603682,7),$=C($,A,B,P,g[13],4254626195,12),P=C(P,$,A,B,g[14],2792965006,17),A=w(A,B=C(B,P,$,A,g[15],1236535329,22),P,$,g[1],4129170786,5),$=w($,A,B,P,g[6],3225465664,9),P=w(P,$,A,B,g[11],643717713,14),B=w(B,P,$,A,g[0],3921069994,20),A=w(A,B,P,$,g[5],3593408605,5),$=w($,A,B,P,g[10],38016083,9),P=w(P,$,A,B,g[15],3634488961,14),B=w(B,P,$,A,g[4],3889429448,20),A=w(A,B,P,$,g[9],568446438,5),$=w($,A,B,P,g[14],3275163606,9),P=w(P,$,A,B,g[3],4107603335,14),B=w(B,P,$,A,g[8],1163531501,20),A=w(A,B,P,$,g[13],2850285829,5),$=w($,A,B,P,g[2],4243563512,9),P=w(P,$,A,B,g[7],1735328473,14),A=T(A,B=w(B,P,$,A,g[12],2368359562,20),P,$,g[5],4294588738,4),$=T($,A,B,P,g[8],2272392833,11),P=T(P,$,A,B,g[11],1839030562,16),B=T(B,P,$,A,g[14],4259657740,23),A=T(A,B,P,$,g[1],2763975236,4),$=T($,A,B,P,g[4],1272893353,11),P=T(P,$,A,B,g[7],4139469664,16),B=T(B,P,$,A,g[10],3200236656,23),A=T(A,B,P,$,g[13],681279174,4),$=T($,A,B,P,g[0],3936430074,11),P=T(P,$,A,B,g[3],3572445317,16),B=T(B,P,$,A,g[6],76029189,23),A=T(A,B,P,$,g[9],3654602809,4),$=T($,A,B,P,g[12],3873151461,11),P=T(P,$,A,B,g[15],530742520,16),A=_(A,B=T(B,P,$,A,g[2],3299628645,23),P,$,g[0],4096336452,6),$=_($,A,B,P,g[7],1126891415,10),P=_(P,$,A,B,g[14],2878612391,15),B=_(B,P,$,A,g[5],4237533241,21),A=_(A,B,P,$,g[12],1700485571,6),$=_($,A,B,P,g[3],2399980690,10),P=_(P,$,A,B,g[10],4293915773,15),B=_(B,P,$,A,g[1],2240044497,21),A=_(A,B,P,$,g[8],1873313359,6),$=_($,A,B,P,g[15],4264355552,10),P=_(P,$,A,B,g[6],2734768916,15),B=_(B,P,$,A,g[13],1309151649,21),A=_(A,B,P,$,g[4],4149444226,6),$=_($,A,B,P,g[11],3174756917,10),P=_(P,$,A,B,g[2],718787259,15),B=_(B,P,$,A,g[9],3951481745,21),this._a=this._a+A|0,this._b=this._b+B|0,this._c=this._c+P|0,this._d=this._d+$|0},c.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=p.allocUnsafe(16);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g},Ce.exports=c},3459:(Ce,ee,E)=>{var a=E(7223),S=E(5294);function p(R){this.rand=R||new S.Rand}Ce.exports=p,p.create=function(c){return new p(c)},p.prototype._randbelow=function(c){var D=c.bitLength(),C=Math.ceil(D/8);do{var w=new a(this.rand.generate(C))}while(w.cmp(c)>=0);return w},p.prototype._randrange=function(c,D){var C=D.sub(c);return c.add(this._randbelow(C))},p.prototype.test=function(c,D,C){var w=c.bitLength(),T=a.mont(c),_=new a(1).toRed(T);D||(D=Math.max(1,w/48|0));for(var g=c.subn(1),F=0;!g.testn(F);F++);for(var A=c.shrn(F),B=g.toRed(T);D>0;D--){var $=this._randrange(new a(2),g);C&&C($);var k=$.toRed(T).redPow(A);if(0!==k.cmp(_)&&0!==k.cmp(B)){for(var M=1;M0;D--){var B=this._randrange(new a(2),_),P=c.gcd(B);if(0!==P.cmpn(1))return P;var $=B.toRed(w).redPow(F);if(0!==$.cmp(T)&&0!==$.cmp(A)){for(var k=1;k=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,ft=Cn>>>13,In=0|h[2],kt=8191&In,Nt=In>>>13,Un=0|h[3],Vt=8191&Un,He=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],Ve=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,je=Pe>>>13,yt=0|h[7],Je=8191&yt,st=yt>>>13,qt=0|h[8],Ct=8191&qt,mt=qt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var kn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var bn=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,ft)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,ft)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,ft)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,ft)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,ft)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,ft)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var Dn=(y+(f=f+Math.imul(I,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(V,Vt)|0))<<13)|0;y=((d=d+Math.imul(V,He)|0)+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,ft)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,ft)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Vt)|0,r=(r=r+Math.imul(oe,He)|0)+Math.imul(ve,Vt)|0,d=d+Math.imul(ve,He)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,ft)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,ft)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Vt)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Vt)|0,d=d+Math.imul(ae,He)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,Ve)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ve)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,ft)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,ft)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Vt)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Vt)|0,d=d+Math.imul(pe,He)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,Ve)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,Ve)|0,d=d+Math.imul(ve,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,je)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,je)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,ft)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,ft)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Vt)|0,r=(r=r+Math.imul(Se,He)|0)+Math.imul(re,Vt)|0,d=d+Math.imul(re,He)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,Ve)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ve)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,je)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,je)|0;var $n=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,st)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,ft)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,ft)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Vt)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(Ee,Vt)|0,d=d+Math.imul(Ee,He)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,Ve)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,Ve)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,je)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,je)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,st)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,st)|0;var Xn=(y+(f=f+Math.imul(I,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,Ct)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,ft)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,ft)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Vt)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Vt)|0,d=d+Math.imul(rt,He)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,Ve)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,Ve)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,je)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,je)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,st)|0,f=f+Math.imul(oe,Ct)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,Ct)|0,d=d+Math.imul(ve,mt)|0;var Yn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,ft))+Math.imul(Ft,St)|0,d=Math.imul(Ft,ft),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Vt)|0,r=(r=r+Math.imul(gt,He)|0)+Math.imul(ht,Vt)|0,d=d+Math.imul(ht,He)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,Ve)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ve)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,je)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,je)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,st)|0,f=f+Math.imul(Q,Ct)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,Ct)|0,d=d+Math.imul(ae,mt)|0;var Hn=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Vt)|0,r=(r=r+Math.imul(Mt,He)|0)+Math.imul(Pt,Vt)|0,d=d+Math.imul(Pt,He)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,Ve)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ve)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,je)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,je)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,st)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,st)|0,f=f+Math.imul(Oe,Ct)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var $e=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,f=Math.imul(It,Vt),r=(r=Math.imul(It,He))+Math.imul(Ft,Vt)|0,d=Math.imul(Ft,He),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,Ve)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,Ve)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,je)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,je)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,st)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,Ct)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,Ve)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,Ve)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,je)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,je)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,st)|0,f=f+Math.imul(G,Ct)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,Ct)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,Ve),r=(r=Math.imul(It,it))+Math.imul(Ft,Ve)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,je)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,je)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,st)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,st)|0,f=f+Math.imul(Qe,Ct)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,Ct)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,je))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,je),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,st)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,st)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,Ct)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,st))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,st),f=f+Math.imul(Mt,Ct)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,Ct),r=(r=Math.imul(It,mt))+Math.imul(Ft,Ct)|0,d=Math.imul(Ft,mt);var Jt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=kn,v[1]=bn,v[2]=wn,v[3]=Dn,v[4]=Wn,v[5]=Vn,v[6]=Fn,v[7]=$n,v[8]=Xn,v[9]=Yn,v[10]=Hn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=Jt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},9210:Ce=>{function ee(E,a){if(!E)throw new Error(a||"Assertion failed")}Ce.exports=ee,ee.equal=function(a,S,p){if(a!=S)throw new Error(p||"Assertion failed: "+a+" != "+S)}},1832:(Ce,ee)=>{"use strict";var E=ee;function S(R){return 1===R.length?"0"+R:R}function p(R){for(var c="",D=0;D>8,_=255&w;T?D.push(T,_):D.push(_)}return D},E.zero2=S,E.toHex=p,E.encode=function(c,D){return"hex"===D?p(c):c}},3138:(Ce,ee,E)=>{"use strict";var a=E(1990);ee.certificate=E(4772);var S=a.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});ee.RSAPrivateKey=S;var p=a.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ee.RSAPublicKey=p;var R=a.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=a.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(R),this.key("subjectPublicKey").bitstr())});ee.PublicKey=c;var D=a.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(R),this.key("subjectPrivateKey").octstr())});ee.PrivateKey=D;var C=a.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});ee.EncryptedPrivateKey=C;var w=a.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});ee.DSAPrivateKey=w,ee.DSAparam=a.define("DSAparam",function(){this.int()});var T=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),_=a.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(T),this.key("publicKey").optional().explicit(1).bitstr())});ee.ECPrivateKey=_,ee.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(Ce,ee,E)=>{"use strict";var a=E(1990),S=a.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),p=a.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),R=a.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),c=a.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(R),this.key("subjectPublicKey").bitstr())}),D=a.define("RelativeDistinguishedName",function(){this.setof(p)}),C=a.define("RDNSequence",function(){this.seqof(D)}),w=a.define("Name",function(){this.choice({rdnSequence:this.use(C)})}),T=a.define("Validity",function(){this.seq().obj(this.key("notBefore").use(S),this.key("notAfter").use(S))}),_=a.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),g=a.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(R),this.key("issuer").use(w),this.key("validity").use(T),this.key("subject").use(w),this.key("subjectPublicKeyInfo").use(c),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(_).optional())}),F=a.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(g),this.key("signatureAlgorithm").use(R),this.key("signatureValue").bitstr())});Ce.exports=F},9472:(Ce,ee,E)=>{"use strict";var a=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,S=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,p=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,R=E(8211),c=E(3388),D=E(7054).Buffer;Ce.exports=function(C,w){var g,T=C.toString(),_=T.match(a);if(_){var A="aes"+_[1],B=D.from(_[2],"hex"),P=D.from(_[3].replace(/[\r\n]/g,""),"base64"),$=R(w,B.slice(0,8),parseInt(_[1],10)).key,k=[],M=c.createDecipheriv(A,$,B);k.push(M.update(P)),k.push(M.final()),g=D.concat(k)}else{var F=T.match(p);g=D.from(F[2].replace(/[\r\n]/g,""),"base64")}return{tag:T.match(S)[1],data:g}}},5667:(Ce,ee,E)=>{"use strict";var a=E(3138),S=E(5579),p=E(9472),R=E(3388),c=E(3397),D=E(7054).Buffer;function w(T){var _;"object"==typeof T&&!D.isBuffer(T)&&(_=T.passphrase,T=T.key),"string"==typeof T&&(T=D.from(T));var B,P,g=p(T,_),F=g.tag,A=g.data;switch(F){case"CERTIFICATE":P=a.certificate.decode(A,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(P||(P=a.PublicKey.decode(A,"der")),B=P.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPublicKey.decode(P.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return P.subjectPrivateKey=P.subjectPublicKey,{type:"ec",data:P};case"1.2.840.10040.4.1":return P.algorithm.params.pub_key=a.DSAparam.decode(P.subjectPublicKey.data,"der"),{type:"dsa",data:P.algorithm.params};default:throw new Error("unknown key id "+B)}case"ENCRYPTED PRIVATE KEY":A=function C(T,_){var g=T.algorithm.decrypt.kde.kdeparams.salt,F=parseInt(T.algorithm.decrypt.kde.kdeparams.iters.toString(),10),A=S[T.algorithm.decrypt.cipher.algo.join(".")],B=T.algorithm.decrypt.cipher.iv,P=T.subjectPrivateKey,$=parseInt(A.split("-")[1],10)/8,k=c.pbkdf2Sync(_,g,F,$,"sha1"),M=R.createDecipheriv(A,k,B),O=[];return O.push(M.update(P)),O.push(M.final()),D.concat(O)}(A=a.EncryptedPrivateKey.decode(A,"der"),_);case"PRIVATE KEY":switch(B=(P=a.PrivateKey.decode(A,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPrivateKey.decode(P.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:P.algorithm.curve,privateKey:a.ECPrivateKey.decode(P.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return P.algorithm.params.priv_key=a.DSAparam.decode(P.subjectPrivateKey,"der"),{type:"dsa",params:P.algorithm.params};default:throw new Error("unknown key id "+B)}case"RSA PUBLIC KEY":return a.RSAPublicKey.decode(A,"der");case"RSA PRIVATE KEY":return a.RSAPrivateKey.decode(A,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:a.DSAPrivateKey.decode(A,"der")};case"EC PRIVATE KEY":return{curve:(A=a.ECPrivateKey.decode(A,"der")).parameters.value,privateKey:A.privateKey};default:throw new Error("unknown key type "+F)}}w.signature=a.signature,Ce.exports=w},3397:(Ce,ee,E)=>{ee.pbkdf2=E(2685),ee.pbkdf2Sync=E(9111)},2685:(Ce,ee,E)=>{var D,g,a=E(7054).Buffer,S=E(6111),p=E(5392),R=E(9111),c=E(6643),C=global.crypto&&global.crypto.subtle,w={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},T=[];function F(){return g||(g=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function A(P,$,k,M,O){return C.importKey("raw",P,{name:"PBKDF2"},!1,["deriveBits"]).then(function(U){return C.deriveBits({name:"PBKDF2",salt:$,iterations:k,hash:{name:O}},U,M<<3)}).then(function(U){return a.from(U)})}Ce.exports=function(P,$,k,M,O,U){"function"==typeof O&&(U=O,O=void 0);var j=w[(O=O||"sha1").toLowerCase()];if(j&&"function"==typeof global.Promise){if(S(k,M),P=c(P,p,"Password"),$=c($,p,"Salt"),"function"!=typeof U)throw new Error("No callback provided to pbkdf2");!function B(P,$){P.then(function(k){F()(function(){$(null,k)})},function(k){F()(function(){$(k)})})}(function _(P){if(global.process&&!global.process.browser||!C||!C.importKey||!C.deriveBits)return Promise.resolve(!1);if(void 0!==T[P])return T[P];var $=A(D=D||a.alloc(8),D,10,128,P).then(function(){return!0}).catch(function(){return!1});return T[P]=$,$}(j).then(function(W){return W?A(P,$,k,M,j):R(P,$,k,M,O)}),U)}else F()(function(){var W;try{W=R(P,$,k,M,O)}catch(ie){return U(ie)}U(null,W)})}},5392:Ce=>{var ee;ee=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",Ce.exports=ee},6111:Ce=>{var ee=Math.pow(2,30)-1;Ce.exports=function(E,a){if("number"!=typeof E)throw new TypeError("Iterations not a number");if(E<0)throw new TypeError("Bad iterations");if("number"!=typeof a)throw new TypeError("Key length not a number");if(a<0||a>ee||a!=a)throw new TypeError("Bad key length")}},9111:(Ce,ee,E)=>{var a=E(3407),S=E(6636),p=E(5443),R=E(7054).Buffer,c=E(6111),D=E(5392),C=E(6643),w=R.alloc(128),T={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function _(A,B,P){var $=function g(A){return"rmd160"===A||"ripemd160"===A?function P($){return(new S).update($).digest()}:"md5"===A?a:function B($){return p(A).update($).digest()}}(A),k="sha512"===A||"sha384"===A?128:64;B.length>k?B=$(B):B.length{var a=E(7054).Buffer;Ce.exports=function(S,p,R){if(a.isBuffer(S))return S;if("string"==typeof S)return a.from(S,p);if(ArrayBuffer.isView(S))return a.from(S.buffer);throw new TypeError(R+" must be a string, a Buffer, a typed array or a DataView")}},9656:Ce=>{"use strict";Ce.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function ee(E,a,S,p){if("function"!=typeof E)throw new TypeError('"callback" argument must be a function');var c,D,R=arguments.length;switch(R){case 0:case 1:return process.nextTick(E);case 2:return process.nextTick(function(){E.call(null,a)});case 3:return process.nextTick(function(){E.call(null,a,S)});case 4:return process.nextTick(function(){E.call(null,a,S,p)});default:for(c=new Array(R-1),D=0;D{ee.publicEncrypt=E(7267),ee.privateDecrypt=E(8613),ee.privateEncrypt=function(S,p){return ee.publicEncrypt(S,p,!0)},ee.publicDecrypt=function(S,p){return ee.privateDecrypt(S,p,!0)}},715:(Ce,ee,E)=>{var a=E(7211),S=E(7054).Buffer;function p(R){var c=S.allocUnsafe(4);return c.writeUInt32BE(R,0),c}Ce.exports=function(R,c){for(var w,D=S.alloc(0),C=0;D.length=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,ft=Cn>>>13,In=0|h[2],kt=8191&In,Nt=In>>>13,Un=0|h[3],Vt=8191&Un,He=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],Ve=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,je=Pe>>>13,yt=0|h[7],Je=8191&yt,st=yt>>>13,qt=0|h[8],Ct=8191&qt,mt=qt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var kn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var bn=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,ft)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,ft)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,ft)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,ft)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,ft)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,ft)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var Dn=(y+(f=f+Math.imul(I,Vt)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(V,Vt)|0))<<13)|0;y=((d=d+Math.imul(V,He)|0)+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,ft)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,ft)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Vt)|0,r=(r=r+Math.imul(oe,He)|0)+Math.imul(ve,Vt)|0,d=d+Math.imul(ve,He)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,ft)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,ft)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Vt)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Vt)|0,d=d+Math.imul(ae,He)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,Ve)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ve)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,ft)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,ft)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Vt)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Vt)|0,d=d+Math.imul(pe,He)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,Ve)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,Ve)|0,d=d+Math.imul(ve,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,je)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,je)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,ft)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,ft)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Vt)|0,r=(r=r+Math.imul(Se,He)|0)+Math.imul(re,Vt)|0,d=d+Math.imul(re,He)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,Ve)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ve)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,je)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,je)|0;var $n=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,st)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,ft)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,ft)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Vt)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(Ee,Vt)|0,d=d+Math.imul(Ee,He)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,Ve)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,Ve)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,je)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,je)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,st)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,st)|0;var Xn=(y+(f=f+Math.imul(I,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,Ct)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,ft)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,ft)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Vt)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Vt)|0,d=d+Math.imul(rt,He)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,Ve)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,Ve)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,je)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,je)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,st)|0,f=f+Math.imul(oe,Ct)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,Ct)|0,d=d+Math.imul(ve,mt)|0;var Yn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,ft))+Math.imul(Ft,St)|0,d=Math.imul(Ft,ft),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Vt)|0,r=(r=r+Math.imul(gt,He)|0)+Math.imul(ht,Vt)|0,d=d+Math.imul(ht,He)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,Ve)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ve)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,je)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,je)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,st)|0,f=f+Math.imul(Q,Ct)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,Ct)|0,d=d+Math.imul(ae,mt)|0;var Hn=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Vt)|0,r=(r=r+Math.imul(Mt,He)|0)+Math.imul(Pt,Vt)|0,d=d+Math.imul(Pt,He)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,Ve)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ve)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,je)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,je)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,st)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,st)|0,f=f+Math.imul(Oe,Ct)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var $e=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,f=Math.imul(It,Vt),r=(r=Math.imul(It,He))+Math.imul(Ft,Vt)|0,d=Math.imul(Ft,He),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,Ve)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,Ve)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,je)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,je)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,st)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,Ct)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,Ve)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,Ve)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,je)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,je)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,st)|0,f=f+Math.imul(G,Ct)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,Ct)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,Ve),r=(r=Math.imul(It,it))+Math.imul(Ft,Ve)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,je)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,je)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,st)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,st)|0,f=f+Math.imul(Qe,Ct)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,Ct)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,je))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,je),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,st)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,st)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,Ct)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,st))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,st),f=f+Math.imul(Mt,Ct)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,Ct),r=(r=Math.imul(It,mt))+Math.imul(Ft,Ct)|0,d=Math.imul(Ft,mt);var Jt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(Jt>>>26)|0,Jt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=kn,v[1]=bn,v[2]=wn,v[3]=Dn,v[4]=Wn,v[5]=Vn,v[6]=Fn,v[7]=$n,v[8]=Xn,v[9]=Yn,v[10]=Hn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=Jt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},8613:(Ce,ee,E)=>{var a=E(5667),S=E(715),p=E(7196),R=E(6508),c=E(4105),D=E(7211),C=E(568),w=E(7054).Buffer;Ce.exports=function(A,B,P){var $;$=A.padding?A.padding:P?1:4;var O,k=a(A),M=k.modulus.byteLength();if(B.length>M||new R(B).cmp(k.modulus)>=0)throw new Error("decryption error");O=P?C(new R(B),k):c(B,k);var U=w.alloc(M-O.length);if(O=w.concat([U,O],M),4===$)return function T(F,A){var B=F.modulus.byteLength(),P=D("sha1").update(w.alloc(0)).digest(),$=P.length;if(0!==A[0])throw new Error("decryption error");var k=A.slice(1,$+1),M=A.slice($+1),O=p(k,S(M,$)),U=p(M,S(O,B-$-1));if(function g(F,A){F=w.from(F),A=w.from(A);var B=0,P=F.length;F.length!==A.length&&(B++,P=Math.min(F.length,A.length));for(var $=-1;++$=A.length){k++;break}var M=A.slice(2,$-1);if(("0002"!==P.toString("hex")&&!B||"0001"!==P.toString("hex")&&B)&&k++,M.length<8&&k++,k)throw new Error("decryption error");return A.slice($)}(0,O,P);if(3===$)return O;throw new Error("unknown padding")}},7267:(Ce,ee,E)=>{var a=E(5667),S=E(3342),p=E(7211),R=E(715),c=E(7196),D=E(6508),C=E(568),w=E(4105),T=E(7054).Buffer;Ce.exports=function(B,P,$){var k;k=B.padding?B.padding:$?1:4;var O,M=a(B);if(4===k)O=function _(A,B){var P=A.modulus.byteLength(),$=B.length,k=p("sha1").update(T.alloc(0)).digest(),M=k.length,O=2*M;if($>P-O-2)throw new Error("message too long");var U=T.alloc(P-$-O-2),j=P-M-1,W=S(M),ie=c(T.concat([k,U,T.alloc(1,1),B],j),R(W,j)),me=c(W,R(ie,M));return new D(T.concat([T.alloc(1),me,ie],P))}(M,P);else if(1===k)O=function g(A,B,P){var M,$=B.length,k=A.modulus.byteLength();if($>k-11)throw new Error("message too long");return M=P?T.alloc(k-$-3,255):function F(A){for(var M,B=T.allocUnsafe(A),P=0,$=S(2*A),k=0;P=0)throw new Error("data too long for modulus")}return $?w(O,M):C(O,M)}},568:(Ce,ee,E)=>{var a=E(6508),S=E(7054).Buffer;Ce.exports=function p(R,c){return S.from(R.toRed(a.mont(c.modulus)).redPow(new a(c.publicExponent)).fromRed().toArray())}},7196:Ce=>{Ce.exports=function(E,a){for(var S=E.length,p=-1;++p{"use strict";var a=65536,R=E(7054).Buffer,c=global.crypto||global.msCrypto;Ce.exports=c&&c.getRandomValues?function D(C,w){if(C>4294967295)throw new RangeError("requested too many random bytes");var T=R.allocUnsafe(C);if(C>0)if(C>a)for(var _=0;_{"use strict";function a(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var S=E(7054),p=E(3342),R=S.Buffer,c=S.kMaxLength,D=global.crypto||global.msCrypto,C=Math.pow(2,32)-1;function w(A,B){if("number"!=typeof A||A!=A)throw new TypeError("offset must be a number");if(A>C||A<0)throw new TypeError("offset must be a uint32");if(A>c||A>B)throw new RangeError("offset out of range")}function T(A,B,P){if("number"!=typeof A||A!=A)throw new TypeError("size must be a number");if(A>C||A<0)throw new TypeError("size must be a uint32");if(A+B>P||A>c)throw new RangeError("buffer too small")}function g(A,B,P,$){if(process.browser){var M=new Uint8Array(A.buffer,B,P);return D.getRandomValues(M),$?void process.nextTick(function(){$(null,A)}):A}if(!$)return p(P).copy(A,B),A;p(P,function(U,j){if(U)return $(U);j.copy(A,B),$(null,A)})}D&&D.getRandomValues||!process.browser?(ee.randomFill=function _(A,B,P,$){if(!(R.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof B)$=B,B=0,P=A.length;else if("function"==typeof P)$=P,P=A.length-B;else if("function"!=typeof $)throw new TypeError('"cb" argument must be a function');return w(B,A.length),T(P,B,A.length),g(A,B,P,$)},ee.randomFillSync=function F(A,B,P){if(typeof B>"u"&&(B=0),!(R.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return w(B,A.length),void 0===P&&(P=A.length-B),T(P,B,A.length),g(A,B,P)}):(ee.randomFill=a,ee.randomFillSync=a)},4075:(Ce,ee,E)=>{"use strict";var a=E(9656),S=Object.keys||function(F){var A=[];for(var B in F)A.push(B);return A};Ce.exports=T;var p=Object.create(E(7637));p.inherits=E(1993);var R=E(9609),c=E(7849);p.inherits(T,R);for(var D=S(c.prototype),C=0;C{"use strict";Ce.exports=p;var a=E(2909),S=Object.create(E(7637));function p(R){if(!(this instanceof p))return new p(R);a.call(this,R)}S.inherits=E(1993),S.inherits(p,a),p.prototype._transform=function(R,c,D){D(null,R)}},9609:(Ce,ee,E)=>{"use strict";var a=E(9656);Ce.exports=U;var p,S=E(53);U.ReadableState=O,E(4356);var c=function(Q,ae){return Q.listeners(ae).length},D=E(8342),C=E(2655).Buffer,w=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},g=Object.create(E(7637));g.inherits=E(1993);var F=E(9838),A=void 0;A=F&&F.debuglog?F.debuglog("stream"):function(){};var $,B=E(7809),P=E(1509);g.inherits(U,D);var k=["error","close","destroy","pause","resume"];function O(Q,ae){var tt=ae instanceof(p=p||E(4075));this.objectMode=!!(Q=Q||{}).objectMode,tt&&(this.objectMode=this.objectMode||!!Q.readableObjectMode);var Oe=Q.highWaterMark,pe=Q.readableHighWaterMark;this.highWaterMark=Oe||0===Oe?Oe:tt&&(pe||0===pe)?pe:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new B,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=Q.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Q.encoding&&($||($=E(8454).I),this.decoder=new $(Q.encoding),this.encoding=Q.encoding)}function U(Q){if(p=p||E(4075),!(this instanceof U))return new U(Q);this._readableState=new O(Q,this),this.readable=!0,Q&&("function"==typeof Q.read&&(this._read=Q.read),"function"==typeof Q.destroy&&(this._destroy=Q.destroy)),D.call(this)}function j(Q,ae,tt,Oe,pe){var Se,Ie=Q._readableState;return null===ae?(Ie.reading=!1,function n(Q,ae){if(!ae.ended){if(ae.decoder){var tt=ae.decoder.end();tt&&tt.length&&(ae.buffer.push(tt),ae.length+=ae.objectMode?1:tt.length)}ae.ended=!0,o(Q)}}(Q,Ie)):(pe||(Se=function ie(Q,ae){var tt;return!function _(Q){return C.isBuffer(Q)||Q instanceof w}(ae)&&"string"!=typeof ae&&void 0!==ae&&!Q.objectMode&&(tt=new TypeError("Invalid non-string/buffer chunk")),tt}(Ie,ae)),Se?Q.emit("error",Se):Ie.objectMode||ae&&ae.length>0?("string"!=typeof ae&&!Ie.objectMode&&Object.getPrototypeOf(ae)!==C.prototype&&(ae=function T(Q){return C.from(Q)}(ae)),Oe?Ie.endEmitted?Q.emit("error",new Error("stream.unshift() after end event")):W(Q,Ie,ae,!0):Ie.ended?Q.emit("error",new Error("stream.push() after EOF")):(Ie.reading=!1,Ie.decoder&&!tt?(ae=Ie.decoder.write(ae),Ie.objectMode||0!==ae.length?W(Q,Ie,ae,!1):s(Q,Ie)):W(Q,Ie,ae,!1))):Oe||(Ie.reading=!1)),function me(Q){return!Q.ended&&(Q.needReadable||Q.lengthae.highWaterMark&&(ae.highWaterMark=function se(Q){return Q>=8388608?Q=8388608:(Q--,Q|=Q>>>1,Q|=Q>>>2,Q|=Q>>>4,Q|=Q>>>8,Q|=Q>>>16,Q++),Q}(Q)),Q<=ae.length?Q:ae.ended?ae.length:(ae.needReadable=!0,0))}function o(Q){var ae=Q._readableState;ae.needReadable=!1,ae.emittedReadable||(A("emitReadable",ae.flowing),ae.emittedReadable=!0,ae.sync?a.nextTick(u,Q):u(Q))}function u(Q){A("emit readable"),Q.emit("readable"),d(Q)}function s(Q,ae){ae.readingMore||(ae.readingMore=!0,a.nextTick(h,Q,ae))}function h(Q,ae){for(var tt=ae.length;!ae.reading&&!ae.flowing&&!ae.ended&&ae.length=ae.length?(tt=ae.decoder?ae.buffer.join(""):1===ae.buffer.length?ae.buffer.head.data:ae.buffer.concat(ae.length),ae.buffer.clear()):tt=function I(Q,ae,tt){var Oe;return QIe.length?Ie.length:Q;if(pe+=Se===Ie.length?Ie:Ie.slice(0,Q),0==(Q-=Se)){Se===Ie.length?(++Oe,ae.head=tt.next?tt.next:ae.tail=null):(ae.head=tt,tt.data=Ie.slice(Se));break}++Oe}return ae.length-=Oe,pe}(Q,ae):function q(Q,ae){var tt=C.allocUnsafe(Q),Oe=ae.head,pe=1;for(Oe.data.copy(tt),Q-=Oe.data.length;Oe=Oe.next;){var Ie=Oe.data,Se=Q>Ie.length?Ie.length:Q;if(Ie.copy(tt,tt.length-Q,0,Se),0==(Q-=Se)){Se===Ie.length?(++pe,ae.head=Oe.next?Oe.next:ae.tail=null):(ae.head=Oe,Oe.data=Ie.slice(Se));break}++pe}return ae.length-=pe,tt}(Q,ae),Oe}(Q,ae.buffer,ae.decoder),tt);var tt}function oe(Q){var ae=Q._readableState;if(ae.length>0)throw new Error('"endReadable()" called on non-empty stream');ae.endEmitted||(ae.ended=!0,a.nextTick(ve,ae,Q))}function ve(Q,ae){!Q.endEmitted&&0===Q.length&&(Q.endEmitted=!0,ae.readable=!1,ae.emit("end"))}function Ae(Q,ae){for(var tt=0,Oe=Q.length;tt=ae.highWaterMark||ae.ended))return A("read: emitReadable",ae.length,ae.ended),0===ae.length&&ae.ended?oe(this):o(this),null;if(0===(Q=m(Q,ae))&&ae.ended)return 0===ae.length&&oe(this),null;var pe,Oe=ae.needReadable;return A("need readable",Oe),(0===ae.length||ae.length-Q0?L(Q,ae):null)?(ae.needReadable=!0,Q=0):ae.length-=Q,0===ae.length&&(ae.ended||(ae.needReadable=!0),tt!==Q&&ae.ended&&oe(this)),null!==pe&&this.emit("data",pe),pe},U.prototype._read=function(Q){this.emit("error",new Error("_read() is not implemented"))},U.prototype.pipe=function(Q,ae){var tt=this,Oe=this._readableState;switch(Oe.pipesCount){case 0:Oe.pipes=Q;break;case 1:Oe.pipes=[Oe.pipes,Q];break;default:Oe.pipes.push(Q)}Oe.pipesCount+=1,A("pipe count=%d opts=%j",Oe.pipesCount,ae);var Ie=ae&&!1===ae.end||Q===process.stdout||Q===process.stderr?ht:re;function re(){A("onend"),Q.end()}Oe.endEmitted?a.nextTick(Ie):tt.once("end",Ie),Q.on("unpipe",function Se(on,Mt){A("onunpipe"),on===tt&&Mt&&!1===Mt.hasUnpiped&&(Mt.hasUnpiped=!0,function Ee(){A("cleanup"),Q.removeListener("close",nn),Q.removeListener("finish",gt),Q.removeListener("drain",ne),Q.removeListener("error",rt),Q.removeListener("unpipe",Se),tt.removeListener("end",re),tt.removeListener("end",ht),tt.removeListener("data",Qe),G=!0,Oe.awaitDrain&&(!Q._writableState||Q._writableState.needDrain)&&ne()}())});var ne=function v(Q){return function(){var ae=Q._readableState;A("pipeOnDrain",ae.awaitDrain),ae.awaitDrain&&ae.awaitDrain--,0===ae.awaitDrain&&c(Q,"data")&&(ae.flowing=!0,d(Q))}}(tt);Q.on("drain",ne);var G=!1,vt=!1;function Qe(on){A("ondata"),vt=!1,!1===Q.write(on)&&!vt&&((1===Oe.pipesCount&&Oe.pipes===Q||Oe.pipesCount>1&&-1!==Ae(Oe.pipes,Q))&&!G&&(A("false write response, pause",Oe.awaitDrain),Oe.awaitDrain++,vt=!0),tt.pause())}function rt(on){A("onerror",on),ht(),Q.removeListener("error",rt),0===c(Q,"error")&&Q.emit("error",on)}function nn(){Q.removeListener("finish",gt),ht()}function gt(){A("onfinish"),Q.removeListener("close",nn),ht()}function ht(){A("unpipe"),tt.unpipe(Q)}return tt.on("data",Qe),function M(Q,ae,tt){if("function"==typeof Q.prependListener)return Q.prependListener(ae,tt);Q._events&&Q._events[ae]?S(Q._events[ae])?Q._events[ae].unshift(tt):Q._events[ae]=[tt,Q._events[ae]]:Q.on(ae,tt)}(Q,"error",rt),Q.once("close",nn),Q.once("finish",gt),Q.emit("pipe",tt),Oe.flowing||(A("pipe resume"),tt.resume()),Q},U.prototype.unpipe=function(Q){var ae=this._readableState,tt={hasUnpiped:!1};if(0===ae.pipesCount)return this;if(1===ae.pipesCount)return Q&&Q!==ae.pipes||(Q||(Q=ae.pipes),ae.pipes=null,ae.pipesCount=0,ae.flowing=!1,Q&&Q.emit("unpipe",this,tt)),this;if(!Q){var Oe=ae.pipes,pe=ae.pipesCount;ae.pipes=null,ae.pipesCount=0,ae.flowing=!1;for(var Ie=0;Ie{"use strict";Ce.exports=R;var a=E(4075),S=Object.create(E(7637));function p(C,w){var T=this._transformState;T.transforming=!1;var _=T.writecb;if(!_)return this.emit("error",new Error("write callback called multiple times"));T.writechunk=null,T.writecb=null,null!=w&&this.push(w),_(C);var g=this._readableState;g.reading=!1,(g.needReadable||g.length{"use strict";var a=E(9656);function p(f){var r=this;this.next=null,this.entry=null,this.finish=function(){!function y(f,r,d){var L=f.entry;for(f.entry=null;L;){var I=L.callback;r.pendingcb--,I(d),L=L.next}r.corkedRequestsFree.next=f}(r,f)}}Ce.exports=k;var c,R=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;k.WritableState=P;var D=Object.create(E(7637));D.inherits=E(1993);var $,C={deprecate:E(3398)},w=E(8342),T=E(2655).Buffer,_=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},A=E(1509);function B(){}function P(f,r){c=c||E(4075);var d=r instanceof c;this.objectMode=!!(f=f||{}).objectMode,d&&(this.objectMode=this.objectMode||!!f.writableObjectMode);var L=f.highWaterMark,I=f.writableHighWaterMark;this.highWaterMark=L||0===L?L:d&&(I||0===I)?I:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===f.decodeStrings),this.defaultEncoding=f.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(oe){!function te(f,r){var d=f._writableState,L=d.sync,I=d.writecb;if(function me(f){f.writing=!1,f.writecb=null,f.length-=f.writelen,f.writelen=0}(d),r)!function ie(f,r,d,L,I){--r.pendingcb,d?(a.nextTick(I,L),a.nextTick(h,f,r),f._writableState.errorEmitted=!0,f.emit("error",L)):(I(L),f._writableState.errorEmitted=!0,f.emit("error",L),h(f,r))}(f,d,L,r,I);else{var V=o(d);!V&&!d.corked&&!d.bufferProcessing&&d.bufferedRequest&&n(f,d),L?R(se,f,d,V,I):se(f,d,V,I)}}(r,oe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new p(this)}function k(f){if(c=c||E(4075),!($.call(k,this)||this instanceof c))return new k(f);this._writableState=new P(f,this),this.writable=!0,f&&("function"==typeof f.write&&(this._write=f.write),"function"==typeof f.writev&&(this._writev=f.writev),"function"==typeof f.destroy&&(this._destroy=f.destroy),"function"==typeof f.final&&(this._final=f.final)),w.call(this)}function W(f,r,d,L,I,V,q){r.writelen=L,r.writecb=q,r.writing=!0,r.sync=!0,d?f._writev(I,r.onwrite):f._write(I,V,r.onwrite),r.sync=!1}function se(f,r,d,L){d||function m(f,r){0===r.length&&r.needDrain&&(r.needDrain=!1,f.emit("drain"))}(f,r),r.pendingcb--,L(),h(f,r)}function n(f,r){r.bufferProcessing=!0;var d=r.bufferedRequest;if(f._writev&&d&&d.next){var I=new Array(r.bufferedRequestCount),V=r.corkedRequestsFree;V.entry=d;for(var q=0,oe=!0;d;)I[q]=d,d.isBuf||(oe=!1),d=d.next,q+=1;I.allBuffers=oe,W(f,r,!0,r.length,I,"",V.finish),r.pendingcb++,r.lastBufferedRequest=null,V.next?(r.corkedRequestsFree=V.next,V.next=null):r.corkedRequestsFree=new p(r),r.bufferedRequestCount=0}else{for(;d;){var ve=d.chunk;if(W(f,r,!1,r.objectMode?1:ve.length,ve,d.encoding,d.callback),d=d.next,r.bufferedRequestCount--,r.writing)break}null===d&&(r.lastBufferedRequest=null)}r.bufferedRequest=d,r.bufferProcessing=!1}function o(f){return f.ending&&0===f.length&&null===f.bufferedRequest&&!f.finished&&!f.writing}function u(f,r){f._final(function(d){r.pendingcb--,d&&f.emit("error",d),r.prefinished=!0,f.emit("prefinish"),h(f,r)})}function h(f,r){var d=o(r);return d&&(function s(f,r){!r.prefinished&&!r.finalCalled&&("function"==typeof f._final?(r.pendingcb++,r.finalCalled=!0,a.nextTick(u,f,r)):(r.prefinished=!0,f.emit("prefinish")))}(f,r),0===r.pendingcb&&(r.finished=!0,f.emit("finish"))),d}D.inherits(k,w),P.prototype.getBuffer=function(){for(var r=this.bufferedRequest,d=[];r;)d.push(r),r=r.next;return d},function(){try{Object.defineProperty(P.prototype,"buffer",{get:C.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?($=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(f){return!!$.call(this,f)||this===k&&f&&f._writableState instanceof P}})):$=function(f){return f instanceof this},k.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},k.prototype.write=function(f,r,d){var L=this._writableState,I=!1,V=!L.objectMode&&function F(f){return T.isBuffer(f)||f instanceof _}(f);return V&&!T.isBuffer(f)&&(f=function g(f){return T.from(f)}(f)),"function"==typeof r&&(d=r,r=null),V?r="buffer":r||(r=L.defaultEncoding),"function"!=typeof d&&(d=B),L.ended?function M(f,r){var d=new Error("write after end");f.emit("error",d),a.nextTick(r,d)}(this,d):(V||function O(f,r,d,L){var I=!0,V=!1;return null===d?V=new TypeError("May not write null values to stream"):"string"!=typeof d&&void 0!==d&&!r.objectMode&&(V=new TypeError("Invalid non-string/buffer chunk")),V&&(f.emit("error",V),a.nextTick(L,V),I=!1),I}(this,L,f,d))&&(L.pendingcb++,I=function j(f,r,d,L,I,V){if(!d){var q=function U(f,r,d){return!f.objectMode&&!1!==f.decodeStrings&&"string"==typeof r&&(r=T.from(r,d)),r}(r,L,I);L!==q&&(d=!0,I="buffer",L=q)}var oe=r.objectMode?1:L.length;r.length+=oe;var ve=r.length-1))throw new TypeError("Unknown encoding: "+r);return this._writableState.defaultEncoding=r,this},Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(f,r,d){d(new Error("_write() is not implemented"))},k.prototype._writev=null,k.prototype.end=function(f,r,d){var L=this._writableState;"function"==typeof f?(d=f,f=null,r=null):"function"==typeof r&&(d=r,r=null),null!=f&&this.write(f,r),L.corked&&(L.corked=1,this.uncork()),L.ending||function v(f,r,d){r.ending=!0,h(f,r),d&&(r.finished?a.nextTick(d):f.once("finish",d)),r.ended=!0,f.writable=!1}(this,L,d)},Object.defineProperty(k.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(f){this._writableState&&(this._writableState.destroyed=f)}}),k.prototype.destroy=A.destroy,k.prototype._undestroy=A.undestroy,k.prototype._destroy=function(f,r){this.end(),r(f)}},7809:(Ce,ee,E)=>{"use strict";var S=E(2655).Buffer,p=E(5340);function R(c,D,C){c.copy(D,C)}Ce.exports=function(){function c(){(function a(c,D){if(!(c instanceof D))throw new TypeError("Cannot call a class as a function")})(this,c),this.head=null,this.tail=null,this.length=0}return c.prototype.push=function(C){var w={data:C,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length},c.prototype.unshift=function(C){var w={data:C,next:this.head};0===this.length&&(this.tail=w),this.head=w,++this.length},c.prototype.shift=function(){if(0!==this.length){var C=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,C}},c.prototype.clear=function(){this.head=this.tail=null,this.length=0},c.prototype.join=function(C){if(0===this.length)return"";for(var w=this.head,T=""+w.data;w=w.next;)T+=C+w.data;return T},c.prototype.concat=function(C){if(0===this.length)return S.alloc(0);for(var w=S.allocUnsafe(C>>>0),T=this.head,_=0;T;)R(T.data,w,_),_+=T.data.length,T=T.next;return w},c}(),p&&p.inspect&&p.inspect.custom&&(Ce.exports.prototype[p.inspect.custom]=function(){var c=p.inspect({length:this.length});return this.constructor.name+" "+c})},1509:(Ce,ee,E)=>{"use strict";var a=E(9656);function R(c,D){c.emit("error",D)}Ce.exports={destroy:function S(c,D){var C=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(D?D(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,a.nextTick(R,this,c)):a.nextTick(R,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(_){!D&&_?C._writableState?C._writableState.errorEmitted||(C._writableState.errorEmitted=!0,a.nextTick(R,C,_)):a.nextTick(R,C,_):D&&D(_)}),this)},undestroy:function p(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},8342:(Ce,ee,E)=>{Ce.exports=E(4356).EventEmitter},2655:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function R(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.exports=a:(p(a,ee),ee.Buffer=R),p(S,R),R.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},R.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var w=S(c);return void 0!==D?"string"==typeof C?w.fill(D,C):w.fill(D):w.fill(0),w},R.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},R.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},5942:(Ce,ee,E)=>{(ee=Ce.exports=E(9609)).Stream=ee,ee.Readable=ee,ee.Writable=E(7849),ee.Duplex=E(4075),ee.Transform=E(2909),ee.PassThrough=E(8823)},6636:(Ce,ee,E)=>{"use strict";var a=E(3838).Buffer,S=E(1993),p=E(3686),R=new Array(16),c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],D=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],C=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],w=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],T=[0,1518500249,1859775393,2400959708,2840853838],_=[1352829926,1548603684,1836072691,2053994217,0];function g(){p.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function F(M,O){return M<>>32-O}function A(M,O,U,j,W,ie,me,te){return F(M+(O^U^j)+ie+me|0,te)+W|0}function B(M,O,U,j,W,ie,me,te){return F(M+(O&U|~O&j)+ie+me|0,te)+W|0}function P(M,O,U,j,W,ie,me,te){return F(M+((O|~U)^j)+ie+me|0,te)+W|0}function $(M,O,U,j,W,ie,me,te){return F(M+(O&j|U&~j)+ie+me|0,te)+W|0}function k(M,O,U,j,W,ie,me,te){return F(M+(O^(U|~j))+ie+me|0,te)+W|0}S(g,p),g.prototype._update=function(){for(var M=R,O=0;O<16;++O)M[O]=this._block.readInt32LE(4*O);for(var U=0|this._a,j=0|this._b,W=0|this._c,ie=0|this._d,me=0|this._e,te=0|this._a,se=0|this._b,m=0|this._c,n=0|this._d,o=0|this._e,u=0;u<80;u+=1){var s,h;u<16?(s=A(U,j,W,ie,me,M[c[u]],T[0],C[u]),h=k(te,se,m,n,o,M[D[u]],_[0],w[u])):u<32?(s=B(U,j,W,ie,me,M[c[u]],T[1],C[u]),h=$(te,se,m,n,o,M[D[u]],_[1],w[u])):u<48?(s=P(U,j,W,ie,me,M[c[u]],T[2],C[u]),h=P(te,se,m,n,o,M[D[u]],_[2],w[u])):u<64?(s=$(U,j,W,ie,me,M[c[u]],T[3],C[u]),h=B(te,se,m,n,o,M[D[u]],_[3],w[u])):(s=k(U,j,W,ie,me,M[c[u]],T[4],C[u]),h=A(te,se,m,n,o,M[D[u]],_[4],w[u])),U=me,me=ie,ie=F(W,10),W=j,j=s,te=o,o=n,n=F(m,10),m=se,se=h}var v=this._b+W+n|0;this._b=this._c+ie+o|0,this._c=this._d+me+te|0,this._d=this._e+U+se|0,this._e=this._a+j+m|0,this._a=v},g.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var M=a.alloc?a.alloc(20):new a(20);return M.writeInt32LE(this._a,0),M.writeInt32LE(this._b,4),M.writeInt32LE(this._c,8),M.writeInt32LE(this._d,12),M.writeInt32LE(this._e,16),M},Ce.exports=g},4412:(Ce,ee,E)=>{"use strict";E.d(ee,{t:()=>S});var a=E(1413);class S extends a.B{constructor(R){super(),this._value=R}get value(){return this.getValue()}_subscribe(R){const c=super._subscribe(R);return!c.closed&&R.next(this._value),c}getValue(){const{hasError:R,thrownError:c,_value:D}=this;if(R)throw c;return this._throwIfClosed(),D}next(R){super.next(this._value=R)}}},1985:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>w});var a=E(7707),S=E(8359),p=E(3494),R=E(1203),c=E(1026),D=E(8071),C=E(9786);let w=(()=>{class F{constructor(B){B&&(this._subscribe=B)}lift(B){const P=new F;return P.source=this,P.operator=B,P}subscribe(B,P,$){const k=function g(F){return F&&F instanceof a.vU||function _(F){return F&&(0,D.T)(F.next)&&(0,D.T)(F.error)&&(0,D.T)(F.complete)}(F)&&(0,S.Uv)(F)}(B)?B:new a.Ms(B,P,$);return(0,C.Y)(()=>{const{operator:M,source:O}=this;k.add(M?M.call(k,O):O?this._subscribe(k):this._trySubscribe(k))}),k}_trySubscribe(B){try{return this._subscribe(B)}catch(P){B.error(P)}}forEach(B,P){return new(P=T(P))(($,k)=>{const M=new a.Ms({next:O=>{try{B(O)}catch(U){k(U),M.unsubscribe()}},error:k,complete:$});this.subscribe(M)})}_subscribe(B){var P;return null===(P=this.source)||void 0===P?void 0:P.subscribe(B)}[p.s](){return this}pipe(...B){return(0,R.m)(B)(this)}toPromise(B){return new(B=T(B))((P,$)=>{let k;this.subscribe(M=>k=M,M=>$(M),()=>P(k))})}}return F.create=A=>new F(A),F})();function T(F){var A;return null!==(A=null!=F?F:c.$.Promise)&&void 0!==A?A:Promise}},2771:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>p});var a=E(1413),S=E(6129);class p extends a.B{constructor(c=1/0,D=1/0,C=S.U){super(),this._bufferSize=c,this._windowTime=D,this._timestampProvider=C,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=D===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,D)}next(c){const{isStopped:D,_buffer:C,_infiniteTimeWindow:w,_timestampProvider:T,_windowTime:_}=this;D||(C.push(c),!w&&C.push(T.now()+_)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const D=this._innerSubscribe(c),{_infiniteTimeWindow:C,_buffer:w}=this,T=w.slice();for(let _=0;_{"use strict";E.d(ee,{B:()=>C});var a=E(1985),S=E(8359);const R=(0,E(1853).L)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=E(7908),D=E(9786);let C=(()=>{class T extends a.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(g){const F=new w(this,this);return F.operator=g,F}_throwIfClosed(){if(this.closed)throw new R}next(g){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const F of this.currentObservers)F.next(g)}})}error(g){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=g;const{observers:F}=this;for(;F.length;)F.shift().error(g)}})}complete(){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:g}=this;for(;g.length;)g.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var g;return(null===(g=this.observers)||void 0===g?void 0:g.length)>0}_trySubscribe(g){return this._throwIfClosed(),super._trySubscribe(g)}_subscribe(g){return this._throwIfClosed(),this._checkFinalizedStatuses(g),this._innerSubscribe(g)}_innerSubscribe(g){const{hasError:F,isStopped:A,observers:B}=this;return F||A?S.Kn:(this.currentObservers=null,B.push(g),new S.yU(()=>{this.currentObservers=null,(0,c.o)(B,g)}))}_checkFinalizedStatuses(g){const{hasError:F,thrownError:A,isStopped:B}=this;F?g.error(A):B&&g.complete()}asObservable(){const g=new a.c;return g.source=this,g}}return T.create=(_,g)=>new w(_,g),T})();class w extends C{constructor(_,g){super(),this.destination=_,this.source=g}next(_){var g,F;null===(F=null===(g=this.destination)||void 0===g?void 0:g.next)||void 0===F||F.call(g,_)}error(_){var g,F;null===(F=null===(g=this.destination)||void 0===g?void 0:g.error)||void 0===F||F.call(g,_)}complete(){var _,g;null===(g=null===(_=this.destination)||void 0===_?void 0:_.complete)||void 0===g||g.call(_)}_subscribe(_){var g,F;return null!==(F=null===(g=this.source)||void 0===g?void 0:g.subscribe(_))&&void 0!==F?F:S.Kn}}},7707:(Ce,ee,E)=>{"use strict";E.d(ee,{Ms:()=>$,vU:()=>F});var a=E(8071),S=E(8359),p=E(1026),R=E(5334),c=E(5343);const D=T("C",void 0,void 0);function T(j,W,ie){return{kind:j,value:W,error:ie}}var _=E(9270),g=E(9786);class F extends S.yU{constructor(W){super(),this.isStopped=!1,W?(this.destination=W,(0,S.Uv)(W)&&W.add(this)):this.destination=U}static create(W,ie,me){return new $(W,ie,me)}next(W){this.isStopped?O(function w(j){return T("N",j,void 0)}(W),this):this._next(W)}error(W){this.isStopped?O(function C(j){return T("E",void 0,j)}(W),this):(this.isStopped=!0,this._error(W))}complete(){this.isStopped?O(D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(W){this.destination.next(W)}_error(W){try{this.destination.error(W)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function B(j,W){return A.call(j,W)}class P{constructor(W){this.partialObserver=W}next(W){const{partialObserver:ie}=this;if(ie.next)try{ie.next(W)}catch(me){k(me)}}error(W){const{partialObserver:ie}=this;if(ie.error)try{ie.error(W)}catch(me){k(me)}else k(W)}complete(){const{partialObserver:W}=this;if(W.complete)try{W.complete()}catch(ie){k(ie)}}}class $ extends F{constructor(W,ie,me){let te;if(super(),(0,a.T)(W)||!W)te={next:null!=W?W:void 0,error:null!=ie?ie:void 0,complete:null!=me?me:void 0};else{let se;this&&p.$.useDeprecatedNextContext?(se=Object.create(W),se.unsubscribe=()=>this.unsubscribe(),te={next:W.next&&B(W.next,se),error:W.error&&B(W.error,se),complete:W.complete&&B(W.complete,se)}):te=W}this.destination=new P(te)}}function k(j){p.$.useDeprecatedSynchronousErrorHandling?(0,g.l)(j):(0,R.m)(j)}function O(j,W){const{onStoppedNotification:ie}=p.$;ie&&_.f.setTimeout(()=>ie(j,W))}const U={closed:!0,next:c.l,error:function M(j){throw j},complete:c.l}},8359:(Ce,ee,E)=>{"use strict";E.d(ee,{Kn:()=>D,yU:()=>c,Uv:()=>C});var a=E(8071);const p=(0,E(1853).L)(T=>function(g){T(this),this.message=g?`${g.length} errors occurred during unsubscription:\n${g.map((F,A)=>`${A+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=g});var R=E(7908);class c{constructor(_){this.initialTeardown=_,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let _;if(!this.closed){this.closed=!0;const{_parentage:g}=this;if(g)if(this._parentage=null,Array.isArray(g))for(const B of g)B.remove(this);else g.remove(this);const{initialTeardown:F}=this;if((0,a.T)(F))try{F()}catch(B){_=B instanceof p?B.errors:[B]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const B of A)try{w(B)}catch(P){_=null!=_?_:[],P instanceof p?_=[..._,...P.errors]:_.push(P)}}if(_)throw new p(_)}}add(_){var g;if(_&&_!==this)if(this.closed)w(_);else{if(_ instanceof c){if(_.closed||_._hasParent(this))return;_._addParent(this)}(this._finalizers=null!==(g=this._finalizers)&&void 0!==g?g:[]).push(_)}}_hasParent(_){const{_parentage:g}=this;return g===_||Array.isArray(g)&&g.includes(_)}_addParent(_){const{_parentage:g}=this;this._parentage=Array.isArray(g)?(g.push(_),g):g?[g,_]:_}_removeParent(_){const{_parentage:g}=this;g===_?this._parentage=null:Array.isArray(g)&&(0,R.o)(g,_)}remove(_){const{_finalizers:g}=this;g&&(0,R.o)(g,_),_ instanceof c&&_._removeParent(this)}}c.EMPTY=(()=>{const T=new c;return T.closed=!0,T})();const D=c.EMPTY;function C(T){return T instanceof c||T&&"closed"in T&&(0,a.T)(T.remove)&&(0,a.T)(T.add)&&(0,a.T)(T.unsubscribe)}function w(T){(0,a.T)(T)?T():T.unsubscribe()}},1026:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3207:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>S});var a=E(9350);function S(p,R){const c="object"==typeof R;return new Promise((D,C)=>{let T,w=!1;p.subscribe({next:_=>{T=_,w=!0},error:C,complete:()=>{w?D(T):c?D(R.defaultValue):C(new a.G)}})})}},17:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>D});var a=E(1985),S=E(8359),p=E(9898),R=E(4360),c=E(9974);class D extends a.c{constructor(w,T){super(),this.source=w,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,c.S)(w)&&(this.lift=w.lift)}_subscribe(w){return this.getSubject().subscribe(w)}getSubject(){const w=this._subject;return(!w||w.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:w}=this;this._subject=this._connection=null,null==w||w.unsubscribe()}connect(){let w=this._connection;if(!w){w=this._connection=new S.yU;const T=this.getSubject();w.add(this.source.subscribe((0,R._)(T,void 0,()=>{this._teardown(),T.complete()},_=>{this._teardown(),T.error(_)},()=>this._teardown()))),w.closed&&(this._connection=null,w=S.yU.EMPTY)}return w}refCount(){return(0,p.B)()(this)}}},4572:(Ce,ee,E)=>{"use strict";E.d(ee,{z:()=>_});var a=E(1985),S=E(3073),p=E(6648),R=E(3669),c=E(6450),D=E(9326),C=E(8496),w=E(4360),T=E(5225);function _(...A){const B=(0,D.lI)(A),P=(0,D.ms)(A),{args:$,keys:k}=(0,S.D)(A);if(0===$.length)return(0,p.H)([],B);const M=new a.c(function g(A,B,P=R.D){return $=>{F(B,()=>{const{length:k}=A,M=new Array(k);let O=k,U=k;for(let j=0;j{const W=(0,p.H)(A[j],B);let ie=!1;W.subscribe((0,w._)($,me=>{M[j]=me,ie||(ie=!0,U--),U||$.next(P(M.slice()))},()=>{--O||$.complete()}))},$)},$)}}($,B,k?O=>(0,C.e)(k,O):R.D));return P?M.pipe((0,c.I)(P)):M}function F(A,B,P){A?(0,T.N)(P,A,B):B()}},8793:(Ce,ee,E)=>{"use strict";E.d(ee,{x:()=>c});var a=E(6365),p=E(9326),R=E(6648);function c(...D){return function S(){return(0,a.U)(1)}()((0,R.H)(D,(0,p.lI)(D)))}},9030:(Ce,ee,E)=>{"use strict";E.d(ee,{v:()=>p});var a=E(1985),S=E(8750);function p(R){return new a.c(c=>{(0,S.Tg)(R()).subscribe(c)})}},983:(Ce,ee,E)=>{"use strict";E.d(ee,{w:()=>S});const S=new(E(1985).c)(c=>c.complete())},7468:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>w});var a=E(1985),S=E(3073),p=E(8750),R=E(9326),c=E(4360),D=E(6450),C=E(8496);function w(...T){const _=(0,R.ms)(T),{args:g,keys:F}=(0,S.D)(T),A=new a.c(B=>{const{length:P}=g;if(!P)return void B.complete();const $=new Array(P);let k=P,M=P;for(let O=0;O{U||(U=!0,M--),$[O]=j},()=>k--,void 0,()=>{(!k||!U)&&(M||B.next(F?(0,C.e)(F,$):$),B.complete())}))}});return _?A.pipe((0,D.I)(_)):A}},6648:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>me});var a=E(8750),S=E(5225),p=E(9974),R=E(4360);function c(te,se=0){return(0,p.N)((m,n)=>{m.subscribe((0,R._)(n,o=>(0,S.N)(n,te,()=>n.next(o),se),()=>(0,S.N)(n,te,()=>n.complete(),se),o=>(0,S.N)(n,te,()=>n.error(o),se)))})}function D(te,se=0){return(0,p.N)((m,n)=>{n.add(te.schedule(()=>m.subscribe(n),se))})}var T=E(1985),g=E(4761),F=E(8071);function B(te,se){if(!te)throw new Error("Iterable cannot be null");return new T.c(m=>{(0,S.N)(m,se,()=>{const n=te[Symbol.asyncIterator]();(0,S.N)(m,se,()=>{n.next().then(o=>{o.done?m.complete():m.next(o.value)})},0,!0)})})}var P=E(5055),$=E(9858),k=E(7441),M=E(5397),O=E(7953),U=E(591),j=E(5196);function me(te,se){return se?function ie(te,se){if(null!=te){if((0,P.l)(te))return function C(te,se){return(0,a.Tg)(te).pipe(D(se),c(se))}(te,se);if((0,k.X)(te))return function _(te,se){return new T.c(m=>{let n=0;return se.schedule(function(){n===te.length?m.complete():(m.next(te[n++]),m.closed||this.schedule())})})}(te,se);if((0,$.y)(te))return function w(te,se){return(0,a.Tg)(te).pipe(D(se),c(se))}(te,se);if((0,O.T)(te))return B(te,se);if((0,M.x)(te))return function A(te,se){return new T.c(m=>{let n;return(0,S.N)(m,se,()=>{n=te[g.l](),(0,S.N)(m,se,()=>{let o,u;try{({value:o,done:u}=n.next())}catch(s){return void m.error(s)}u?m.complete():m.next(o)},0,!0)}),()=>(0,F.T)(null==n?void 0:n.return)&&n.return()})}(te,se);if((0,j.U)(te))return function W(te,se){return B((0,j.C)(te),se)}(te,se)}throw(0,U.L)(te)}(te,se):(0,a.Tg)(te)}},3726:(Ce,ee,E)=>{"use strict";E.d(ee,{R:()=>_});var a=E(8750),S=E(1985),p=E(3028),R=E(7441),c=E(8071),D=E(6450);const C=["addListener","removeListener"],w=["addEventListener","removeEventListener"],T=["on","off"];function _(P,$,k,M){if((0,c.T)(k)&&(M=k,k=void 0),M)return _(P,$,k).pipe((0,D.I)(M));const[O,U]=function B(P){return(0,c.T)(P.addEventListener)&&(0,c.T)(P.removeEventListener)}(P)?w.map(j=>W=>P[j]($,W,k)):function F(P){return(0,c.T)(P.addListener)&&(0,c.T)(P.removeListener)}(P)?C.map(g(P,$)):function A(P){return(0,c.T)(P.on)&&(0,c.T)(P.off)}(P)?T.map(g(P,$)):[];if(!O&&(0,R.X)(P))return(0,p.Z)(j=>_(j,$,k))((0,a.Tg)(P));if(!O)throw new TypeError("Invalid event target");return new S.c(j=>{const W=(...ie)=>j.next(1U(W)})}function g(P,$){return k=>M=>P[k]($,M)}},8750:(Ce,ee,E)=>{"use strict";E.d(ee,{Tg:()=>A});var a=E(1635),S=E(7441),p=E(9858),R=E(1985),c=E(5055),D=E(7953),C=E(591),w=E(5397),T=E(5196),_=E(8071),g=E(5334),F=E(3494);function A(j){if(j instanceof R.c)return j;if(null!=j){if((0,c.l)(j))return function B(j){return new R.c(W=>{const ie=j[F.s]();if((0,_.T)(ie.subscribe))return ie.subscribe(W);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(j);if((0,S.X)(j))return function P(j){return new R.c(W=>{for(let ie=0;ie{j.then(ie=>{W.closed||(W.next(ie),W.complete())},ie=>W.error(ie)).then(null,g.m)})}(j);if((0,D.T)(j))return M(j);if((0,w.x)(j))return function k(j){return new R.c(W=>{for(const ie of j)if(W.next(ie),W.closed)return;W.complete()})}(j);if((0,T.U)(j))return function O(j){return M((0,T.C)(j))}(j)}throw(0,C.L)(j)}function M(j){return new R.c(W=>{(function U(j,W){var ie,me,te,se;return(0,a.sH)(this,void 0,void 0,function*(){try{for(ie=(0,a.xN)(j);!(me=yield ie.next()).done;)if(W.next(me.value),W.closed)return}catch(m){te={error:m}}finally{try{me&&!me.done&&(se=ie.return)&&(yield se.call(ie))}finally{if(te)throw te.error}}W.complete()})})(j,W).catch(ie=>W.error(ie))})}},7673:(Ce,ee,E)=>{"use strict";E.d(ee,{of:()=>p});var a=E(9326),S=E(6648);function p(...R){const c=(0,a.lI)(R);return(0,S.H)(R,c)}},8810:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>p});var a=E(1985),S=E(8071);function p(R,c){const D=(0,S.T)(R)?R:()=>R,C=w=>w.error(D());return new a.c(c?w=>c.schedule(C,0,w):C)}},4360:(Ce,ee,E)=>{"use strict";E.d(ee,{_:()=>S});var a=E(7707);function S(R,c,D,C,w){return new p(R,c,D,C,w)}class p extends a.vU{constructor(c,D,C,w,T,_){super(c),this.onFinalize=T,this.shouldUnsubscribe=_,this._next=D?function(g){try{D(g)}catch(F){c.error(F)}}:super._next,this._error=w?function(g){try{w(g)}catch(F){c.error(F)}finally{this.unsubscribe()}}:super._error,this._complete=C?function(){try{C()}catch(g){c.error(g)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:D}=this;super.unsubscribe(),!D&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},9437:(Ce,ee,E)=>{"use strict";E.d(ee,{W:()=>R});var a=E(8750),S=E(4360),p=E(9974);function R(c){return(0,p.N)((D,C)=>{let _,w=null,T=!1;w=D.subscribe((0,S._)(C,void 0,void 0,g=>{_=(0,a.Tg)(c(g,R(c)(D))),w?(w.unsubscribe(),w=null,_.subscribe(C)):T=!0})),T&&(w.unsubscribe(),w=null,_.subscribe(C))})}},274:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>p});var a=E(3028),S=E(8071);function p(R,c){return(0,S.T)(c)?(0,a.Z)(R,c,1):(0,a.Z)(R,1)}},5964:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>p});var a=E(9974),S=E(4360);function p(R,c){return(0,a.N)((D,C)=>{let w=0;D.subscribe((0,S._)(C,T=>R.call(c,T,w++)&&C.next(T)))})}},980:(Ce,ee,E)=>{"use strict";E.d(ee,{j:()=>S});var a=E(9974);function S(p){return(0,a.N)((R,c)=>{try{R.subscribe(c)}finally{c.add(p)}})}},6354:(Ce,ee,E)=>{"use strict";E.d(ee,{T:()=>p});var a=E(9974),S=E(4360);function p(R,c){return(0,a.N)((D,C)=>{let w=0;D.subscribe((0,S._)(C,T=>{C.next(R.call(c,T,w++))}))})}},3703:(Ce,ee,E)=>{"use strict";E.d(ee,{u:()=>S});var a=E(6354);function S(p){return(0,a.T)(()=>p)}},6365:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>p});var a=E(3028),S=E(3669);function p(R=1/0){return(0,a.Z)(S.D,R)}},5412:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>R});var a=E(8750),S=E(5225),p=E(4360);function R(c,D,C,w,T,_,g,F){const A=[];let B=0,P=0,$=!1;const k=()=>{$&&!A.length&&!B&&D.complete()},M=U=>B{_&&D.next(U),B++;let j=!1;(0,a.Tg)(C(U,P++)).subscribe((0,p._)(D,W=>{null==T||T(W),_?M(W):D.next(W)},()=>{j=!0},void 0,()=>{if(j)try{for(B--;A.length&&BO(W)):O(W)}k()}catch(W){D.error(W)}}))};return c.subscribe((0,p._)(D,M,()=>{$=!0,k()})),()=>{null==F||F()}}},3028:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(6354),S=E(8750),p=E(9974),R=E(5412),c=E(8071);function D(C,w,T=1/0){return(0,c.T)(w)?D((_,g)=>(0,a.T)((F,A)=>w(_,F,g,A))((0,S.Tg)(C(_,g))),T):("number"==typeof w&&(T=w),(0,p.N)((_,g)=>(0,R.h)(_,g,C,T)))}},9898:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>p});var a=E(9974),S=E(4360);function p(){return(0,a.N)((R,c)=>{let D=null;R._refCount++;const C=(0,S._)(c,void 0,void 0,void 0,()=>{if(!R||R._refCount<=0||0<--R._refCount)return void(D=null);const w=R._connection,T=D;D=null,w&&(!T||w===T)&&w.unsubscribe(),c.unsubscribe()});R.subscribe(C),C.closed||(D=R.connect())})}},6649:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(4360);function S(p,R,c,D,C){return(w,T)=>{let _=c,g=R,F=0;w.subscribe((0,a._)(T,A=>{const B=F++;g=_?p(g,A,B):(_=!0,A),D&&T.next(g)},C&&(()=>{_&&T.next(g),T.complete()})))}}},5558:(Ce,ee,E)=>{"use strict";E.d(ee,{n:()=>R});var a=E(8750),S=E(9974),p=E(4360);function R(c,D){return(0,S.N)((C,w)=>{let T=null,_=0,g=!1;const F=()=>g&&!T&&w.complete();C.subscribe((0,p._)(w,A=>{null==T||T.unsubscribe();let B=0;const P=_++;(0,a.Tg)(c(A,P)).subscribe(T=(0,p._)(w,$=>w.next(D?D(A,$,P,B++):$),()=>{T=null,F()}))},()=>{g=!0,F()}))})}},6697:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>R});var a=E(983),S=E(9974),p=E(4360);function R(c){return c<=0?()=>a.w:(0,S.N)((D,C)=>{let w=0;D.subscribe((0,p._)(C,T=>{++w<=c&&(C.next(T),c<=w&&C.complete())}))})}},8141:(Ce,ee,E)=>{"use strict";E.d(ee,{M:()=>c});var a=E(8071),S=E(9974),p=E(4360),R=E(3669);function c(D,C,w){const T=(0,a.T)(D)||C||w?{next:D,error:C,complete:w}:D;return T?(0,S.N)((_,g)=>{var F;null===(F=T.subscribe)||void 0===F||F.call(T);let A=!0;_.subscribe((0,p._)(g,B=>{var P;null===(P=T.next)||void 0===P||P.call(T,B),g.next(B)},()=>{var B;A=!1,null===(B=T.complete)||void 0===B||B.call(T),g.complete()},B=>{var P;A=!1,null===(P=T.error)||void 0===P||P.call(T,B),g.error(B)},()=>{var B,P;A&&(null===(B=T.unsubscribe)||void 0===B||B.call(T)),null===(P=T.finalize)||void 0===P||P.call(T)}))}):R.D}},6129:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},9270:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>a});const a={setTimeout(S,p,...R){const{delegate:c}=a;return null!=c&&c.setTimeout?c.setTimeout(S,p,...R):setTimeout(S,p,...R)},clearTimeout(S){const{delegate:p}=a;return((null==p?void 0:p.clearTimeout)||clearTimeout)(S)},delegate:void 0}},4761:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>S});const S=(0,E(1853).L)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Ce,ee,E)=>{"use strict";E.d(ee,{R0:()=>D,lI:()=>c,ms:()=>R});var a=E(8071),S=E(9470);function p(C){return C[C.length-1]}function R(C){return(0,a.T)(p(C))?C.pop():void 0}function c(C){return(0,S.m)(p(C))?C.pop():void 0}function D(C,w){return"number"==typeof p(C)?C.pop():w}},3073:(Ce,ee,E)=>{"use strict";E.d(ee,{D:()=>c});const{isArray:a}=Array,{getPrototypeOf:S,prototype:p,keys:R}=Object;function c(C){if(1===C.length){const w=C[0];if(a(w))return{args:w,keys:null};if(function D(C){return C&&"object"==typeof C&&S(C)===p}(w)){const T=R(w);return{args:T.map(_=>w[_]),keys:T}}}return{args:C,keys:null}}},7908:(Ce,ee,E)=>{"use strict";function a(S,p){if(S){const R=S.indexOf(p);0<=R&&S.splice(R,1)}}E.d(ee,{o:()=>a})},1853:(Ce,ee,E)=>{"use strict";function a(S){const R=S(c=>{Error.call(c),c.stack=(new Error).stack});return R.prototype=Object.create(Error.prototype),R.prototype.constructor=R,R}E.d(ee,{L:()=>a})},8496:(Ce,ee,E)=>{"use strict";function a(S,p){return S.reduce((R,c,D)=>(R[c]=p[D],R),{})}E.d(ee,{e:()=>a})},9786:(Ce,ee,E)=>{"use strict";E.d(ee,{Y:()=>p,l:()=>R});var a=E(1026);let S=null;function p(c){if(a.$.useDeprecatedSynchronousErrorHandling){const D=!S;if(D&&(S={errorThrown:!1,error:null}),c(),D){const{errorThrown:C,error:w}=S;if(S=null,C)throw w}}else c()}function R(c){a.$.useDeprecatedSynchronousErrorHandling&&S&&(S.errorThrown=!0,S.error=c)}},5225:(Ce,ee,E)=>{"use strict";function a(S,p,R,c=0,D=!1){const C=p.schedule(function(){R(),D?S.add(this.schedule(null,c)):this.unsubscribe()},c);if(S.add(C),!D)return C}E.d(ee,{N:()=>a})},3669:(Ce,ee,E)=>{"use strict";function a(S){return S}E.d(ee,{D:()=>a})},7441:(Ce,ee,E)=>{"use strict";E.d(ee,{X:()=>a});const a=S=>S&&"number"==typeof S.length&&"function"!=typeof S},7953:(Ce,ee,E)=>{"use strict";E.d(ee,{T:()=>S});var a=E(8071);function S(p){return Symbol.asyncIterator&&(0,a.T)(null==p?void 0:p[Symbol.asyncIterator])}},8071:(Ce,ee,E)=>{"use strict";function a(S){return"function"==typeof S}E.d(ee,{T:()=>a})},5055:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>p});var a=E(3494),S=E(8071);function p(R){return(0,S.T)(R[a.s])}},5397:(Ce,ee,E)=>{"use strict";E.d(ee,{x:()=>p});var a=E(4761),S=E(8071);function p(R){return(0,S.T)(null==R?void 0:R[a.l])}},4402:(Ce,ee,E)=>{"use strict";E.d(ee,{A:()=>p});var a=E(1985),S=E(8071);function p(R){return!!R&&(R instanceof a.c||(0,S.T)(R.lift)&&(0,S.T)(R.subscribe))}},9858:(Ce,ee,E)=>{"use strict";E.d(ee,{y:()=>S});var a=E(8071);function S(p){return(0,a.T)(null==p?void 0:p.then)}},5196:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>p,U:()=>R});var a=E(1635),S=E(8071);function p(c){return(0,a.AQ)(this,arguments,function*(){const C=c.getReader();try{for(;;){const{value:w,done:T}=yield(0,a.N3)(C.read());if(T)return yield(0,a.N3)(void 0);yield yield(0,a.N3)(w)}}finally{C.releaseLock()}})}function R(c){return(0,S.T)(null==c?void 0:c.getReader)}},9470:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>S});var a=E(8071);function S(p){return p&&(0,a.T)(p.schedule)}},9974:(Ce,ee,E)=>{"use strict";E.d(ee,{N:()=>p,S:()=>S});var a=E(8071);function S(R){return(0,a.T)(null==R?void 0:R.lift)}function p(R){return c=>{if(S(c))return c.lift(function(D){try{return R(D,this)}catch(C){this.error(C)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ce,ee,E)=>{"use strict";E.d(ee,{I:()=>R});var a=E(6354);const{isArray:S}=Array;function R(c){return(0,a.T)(D=>function p(c,D){return S(D)?c(...D):c(D)}(c,D))}},5343:(Ce,ee,E)=>{"use strict";function a(){}E.d(ee,{l:()=>a})},1203:(Ce,ee,E)=>{"use strict";E.d(ee,{F:()=>S,m:()=>p});var a=E(3669);function S(...R){return p(R)}function p(R){return 0===R.length?a.D:1===R.length?R[0]:function(D){return R.reduce((C,w)=>w(C),D)}}},5334:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>p});var a=E(1026),S=E(9270);function p(R){S.f.setTimeout(()=>{const{onUnhandledError:c}=a.$;if(!c)throw R;c(R)})}},591:(Ce,ee,E)=>{"use strict";function a(S){return new TypeError(`You provided ${null!==S&&"object"==typeof S?"an invalid object":`'${S}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}E.d(ee,{L:()=>a})},7054:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function R(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.exports=a:(p(a,ee),ee.Buffer=R),R.prototype=Object.create(S.prototype),p(S,R),R.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},R.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var w=S(c);return void 0!==D?"string"==typeof C?w.fill(D,C):w.fill(D):w.fill(0),w},R.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},R.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},463:(Ce,ee,E)=>{var a=E(7054).Buffer;function S(p,R){this._block=a.alloc(p),this._finalSize=R,this._blockSize=p,this._len=0}S.prototype.update=function(p,R){"string"==typeof p&&(p=a.from(p,R=R||"utf8"));for(var c=this._block,D=this._blockSize,C=p.length,w=this._len,T=0;T=this._finalSize&&(this._update(this._block),this._block.fill(0));var c=8*this._len;if(c<=4294967295)this._block.writeUInt32BE(c,this._blockSize-4);else{var D=(4294967295&c)>>>0;this._block.writeUInt32BE((c-D)/4294967296,this._blockSize-8),this._block.writeUInt32BE(D,this._blockSize-4)}this._update(this._block);var w=this._hash();return p?w.toString(p):w},S.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ce.exports=S},5443:(Ce,ee,E)=>{var a=Ce.exports=function(p){p=p.toLowerCase();var R=a[p];if(!R)throw new Error(p+" is not supported (we accept pull requests)");return new R};a.sha=E(8585),a.sha1=E(1270),a.sha224=E(2709),a.sha256=E(2148),a.sha384=E(1856),a.sha512=E(3121)},8585:(Ce,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,R=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function D(){this.init(),this._w=c,S.call(this,64,56)}function C(_){return _<<5|_>>>27}function w(_){return _<<30|_>>>2}function T(_,g,F,A){return 0===_?g&F|~g&A:2===_?g&F|g&A|F&A:g^F^A}a(D,S),D.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},D.prototype._update=function(_){for(var g=this._w,F=0|this._a,A=0|this._b,B=0|this._c,P=0|this._d,$=0|this._e,k=0;k<16;++k)g[k]=_.readInt32BE(4*k);for(;k<80;++k)g[k]=g[k-3]^g[k-8]^g[k-14]^g[k-16];for(var M=0;M<80;++M){var O=~~(M/20),U=C(F)+T(O,A,B,P)+$+g[M]+R[O]|0;$=P,P=B,B=w(A),A=F,F=U}this._a=F+this._a|0,this._b=A+this._b|0,this._c=B+this._c|0,this._d=P+this._d|0,this._e=$+this._e|0},D.prototype._hash=function(){var _=p.allocUnsafe(20);return _.writeInt32BE(0|this._a,0),_.writeInt32BE(0|this._b,4),_.writeInt32BE(0|this._c,8),_.writeInt32BE(0|this._d,12),_.writeInt32BE(0|this._e,16),_},Ce.exports=D},1270:(Ce,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,R=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function D(){this.init(),this._w=c,S.call(this,64,56)}function C(g){return g<<1|g>>>31}function w(g){return g<<5|g>>>27}function T(g){return g<<30|g>>>2}function _(g,F,A,B){return 0===g?F&A|~F&B:2===g?F&A|F&B|A&B:F^A^B}a(D,S),D.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},D.prototype._update=function(g){for(var F=this._w,A=0|this._a,B=0|this._b,P=0|this._c,$=0|this._d,k=0|this._e,M=0;M<16;++M)F[M]=g.readInt32BE(4*M);for(;M<80;++M)F[M]=C(F[M-3]^F[M-8]^F[M-14]^F[M-16]);for(var O=0;O<80;++O){var U=~~(O/20),j=w(A)+_(U,B,P,$)+k+F[O]+R[U]|0;k=$,$=P,P=T(B),B=A,A=j}this._a=A+this._a|0,this._b=B+this._b|0,this._c=P+this._c|0,this._d=$+this._d|0,this._e=k+this._e|0},D.prototype._hash=function(){var g=p.allocUnsafe(20);return g.writeInt32BE(0|this._a,0),g.writeInt32BE(0|this._b,4),g.writeInt32BE(0|this._c,8),g.writeInt32BE(0|this._d,12),g.writeInt32BE(0|this._e,16),g},Ce.exports=D},2709:(Ce,ee,E)=>{var a=E(1993),S=E(2148),p=E(463),R=E(7054).Buffer,c=new Array(64);function D(){this.init(),this._w=c,p.call(this,64,56)}a(D,S),D.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},D.prototype._hash=function(){var C=R.allocUnsafe(28);return C.writeInt32BE(this._a,0),C.writeInt32BE(this._b,4),C.writeInt32BE(this._c,8),C.writeInt32BE(this._d,12),C.writeInt32BE(this._e,16),C.writeInt32BE(this._f,20),C.writeInt32BE(this._g,24),C},Ce.exports=D},2148:(Ce,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],c=new Array(64);function D(){this.init(),this._w=c,S.call(this,64,56)}function C(A,B,P){return P^A&(B^P)}function w(A,B,P){return A&B|P&(A|B)}function T(A){return(A>>>2|A<<30)^(A>>>13|A<<19)^(A>>>22|A<<10)}function _(A){return(A>>>6|A<<26)^(A>>>11|A<<21)^(A>>>25|A<<7)}function g(A){return(A>>>7|A<<25)^(A>>>18|A<<14)^A>>>3}function F(A){return(A>>>17|A<<15)^(A>>>19|A<<13)^A>>>10}a(D,S),D.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},D.prototype._update=function(A){for(var B=this._w,P=0|this._a,$=0|this._b,k=0|this._c,M=0|this._d,O=0|this._e,U=0|this._f,j=0|this._g,W=0|this._h,ie=0;ie<16;++ie)B[ie]=A.readInt32BE(4*ie);for(;ie<64;++ie)B[ie]=F(B[ie-2])+B[ie-7]+g(B[ie-15])+B[ie-16]|0;for(var me=0;me<64;++me){var te=W+_(O)+C(O,U,j)+R[me]+B[me]|0,se=T(P)+w(P,$,k)|0;W=j,j=U,U=O,O=M+te|0,M=k,k=$,$=P,P=te+se|0}this._a=P+this._a|0,this._b=$+this._b|0,this._c=k+this._c|0,this._d=M+this._d|0,this._e=O+this._e|0,this._f=U+this._f|0,this._g=j+this._g|0,this._h=W+this._h|0},D.prototype._hash=function(){var A=p.allocUnsafe(32);return A.writeInt32BE(this._a,0),A.writeInt32BE(this._b,4),A.writeInt32BE(this._c,8),A.writeInt32BE(this._d,12),A.writeInt32BE(this._e,16),A.writeInt32BE(this._f,20),A.writeInt32BE(this._g,24),A.writeInt32BE(this._h,28),A},Ce.exports=D},1856:(Ce,ee,E)=>{var a=E(1993),S=E(3121),p=E(463),R=E(7054).Buffer,c=new Array(160);function D(){this.init(),this._w=c,p.call(this,128,112)}a(D,S),D.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},D.prototype._hash=function(){var C=R.allocUnsafe(48);function w(T,_,g){C.writeInt32BE(T,g),C.writeInt32BE(_,g+4)}return w(this._ah,this._al,0),w(this._bh,this._bl,8),w(this._ch,this._cl,16),w(this._dh,this._dl,24),w(this._eh,this._el,32),w(this._fh,this._fl,40),C},Ce.exports=D},3121:(Ce,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,R=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],c=new Array(160);function D(){this.init(),this._w=c,S.call(this,128,112)}function C($,k,M){return M^$&(k^M)}function w($,k,M){return $&k|M&($|k)}function T($,k){return($>>>28|k<<4)^(k>>>2|$<<30)^(k>>>7|$<<25)}function _($,k){return($>>>14|k<<18)^($>>>18|k<<14)^(k>>>9|$<<23)}function g($,k){return($>>>1|k<<31)^($>>>8|k<<24)^$>>>7}function F($,k){return($>>>1|k<<31)^($>>>8|k<<24)^($>>>7|k<<25)}function A($,k){return($>>>19|k<<13)^(k>>>29|$<<3)^$>>>6}function B($,k){return($>>>19|k<<13)^(k>>>29|$<<3)^($>>>6|k<<26)}function P($,k){return $>>>0>>0?1:0}a(D,S),D.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},D.prototype._update=function($){for(var k=this._w,M=0|this._ah,O=0|this._bh,U=0|this._ch,j=0|this._dh,W=0|this._eh,ie=0|this._fh,me=0|this._gh,te=0|this._hh,se=0|this._al,m=0|this._bl,n=0|this._cl,o=0|this._dl,u=0|this._el,s=0|this._fl,h=0|this._gl,v=0|this._hl,y=0;y<32;y+=2)k[y]=$.readInt32BE(4*y),k[y+1]=$.readInt32BE(4*y+4);for(;y<160;y+=2){var f=k[y-30],r=k[y-30+1],d=g(f,r),L=F(r,f),I=A(f=k[y-4],r=k[y-4+1]),V=B(r,f),ve=k[y-32],Ae=k[y-32+1],Q=L+k[y-14+1]|0,ae=d+k[y-14]+P(Q,L)|0;ae=(ae=ae+I+P(Q=Q+V|0,V)|0)+ve+P(Q=Q+Ae|0,Ae)|0,k[y]=ae,k[y+1]=Q}for(var tt=0;tt<160;tt+=2){ae=k[tt],Q=k[tt+1];var Oe=w(M,O,U),pe=w(se,m,n),Ie=T(M,se),Se=T(se,M),re=_(W,u),ne=_(u,W),G=R[tt],Ee=R[tt+1],vt=C(W,ie,me),Qe=C(u,s,h),rt=v+ne|0,nn=te+re+P(rt,v)|0;nn=(nn=(nn=nn+vt+P(rt=rt+Qe|0,Qe)|0)+G+P(rt=rt+Ee|0,Ee)|0)+ae+P(rt=rt+Q|0,Q)|0;var gt=Se+pe|0,ht=Ie+Oe+P(gt,Se)|0;te=me,v=h,me=ie,h=s,ie=W,s=u,W=j+nn+P(u=o+rt|0,o)|0,j=U,o=n,U=O,n=m,O=M,m=se,M=nn+ht+P(se=rt+gt|0,rt)|0}this._al=this._al+se|0,this._bl=this._bl+m|0,this._cl=this._cl+n|0,this._dl=this._dl+o|0,this._el=this._el+u|0,this._fl=this._fl+s|0,this._gl=this._gl+h|0,this._hl=this._hl+v|0,this._ah=this._ah+M+P(this._al,se)|0,this._bh=this._bh+O+P(this._bl,m)|0,this._ch=this._ch+U+P(this._cl,n)|0,this._dh=this._dh+j+P(this._dl,o)|0,this._eh=this._eh+W+P(this._el,u)|0,this._fh=this._fh+ie+P(this._fl,s)|0,this._gh=this._gh+me+P(this._gl,h)|0,this._hh=this._hh+te+P(this._hl,v)|0},D.prototype._hash=function(){var $=p.allocUnsafe(64);function k(M,O,U){$.writeInt32BE(M,U),$.writeInt32BE(O,U+4)}return k(this._ah,this._al,0),k(this._bh,this._bl,8),k(this._ch,this._cl,16),k(this._dh,this._dl,24),k(this._eh,this._el,32),k(this._fh,this._fl,40),k(this._gh,this._gl,48),k(this._hh,this._hl,56),$},Ce.exports=D},7045:(Ce,ee,E)=>{Ce.exports=p;var a=E(4356).EventEmitter;function p(){a.call(this)}E(1993)(p,a),p.Readable=E(1092),p.Writable=E(5492),p.Duplex=E(1030),p.Transform=E(3410),p.PassThrough=E(3824),p.finished=E(7854),p.pipeline=E(6846),p.Stream=p,p.prototype.pipe=function(R,c){var D=this;function C(B){R.writable&&!1===R.write(B)&&D.pause&&D.pause()}function w(){D.readable&&D.resume&&D.resume()}D.on("data",C),R.on("drain",w),!R._isStdio&&(!c||!1!==c.end)&&(D.on("end",_),D.on("close",g));var T=!1;function _(){T||(T=!0,R.end())}function g(){T||(T=!0,"function"==typeof R.destroy&&R.destroy())}function F(B){if(A(),0===a.listenerCount(this,"error"))throw B}function A(){D.removeListener("data",C),R.removeListener("drain",w),D.removeListener("end",_),D.removeListener("close",g),D.removeListener("error",F),R.removeListener("error",F),D.removeListener("end",A),D.removeListener("close",A),R.removeListener("close",A)}return D.on("error",F),R.on("error",F),D.on("end",A),D.on("close",A),R.on("close",A),R.emit("pipe",D),R}},8083:Ce=>{"use strict";var E={};function a(D,C,w){w||(w=Error);var _=function(g){function F(A,B,P){return g.call(this,function T(g,F,A){return"string"==typeof C?C:C(g,F,A)}(A,B,P))||this}return function ee(D,C){D.prototype=Object.create(C.prototype),D.prototype.constructor=D,D.__proto__=C}(F,g),F}(w);_.prototype.name=w.name,_.prototype.code=D,E[D]=_}function S(D,C){if(Array.isArray(D)){var w=D.length;return D=D.map(function(T){return String(T)}),w>2?"one of ".concat(C," ").concat(D.slice(0,w-1).join(", "),", or ")+D[w-1]:2===w?"one of ".concat(C," ").concat(D[0]," or ").concat(D[1]):"of ".concat(C," ").concat(D[0])}return"of ".concat(C," ").concat(String(D))}a("ERR_INVALID_OPT_VALUE",function(D,C){return'The value "'+C+'" is invalid for option "'+D+'"'},TypeError),a("ERR_INVALID_ARG_TYPE",function(D,C,w){var T,_;if("string"==typeof C&&function p(D,C,w){return D.substr(!w||w<0?0:+w,C.length)===C}(C,"not ")?(T="must not be",C=C.replace(/^not /,"")):T="must be",function R(D,C,w){return(void 0===w||w>D.length)&&(w=D.length),D.substring(w-C.length,w)===C}(D," argument"))_="The ".concat(D," ").concat(T," ").concat(S(C,"type"));else{var g=function c(D,C,w){return"number"!=typeof w&&(w=0),!(w+C.length>D.length)&&-1!==D.indexOf(C,w)}(D,".")?"property":"argument";_='The "'.concat(D,'" ').concat(g," ").concat(T," ").concat(S(C,"type"))}return _+". Received type ".concat(typeof w)},TypeError),a("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),a("ERR_METHOD_NOT_IMPLEMENTED",function(D){return"The "+D+" method is not implemented"}),a("ERR_STREAM_PREMATURE_CLOSE","Premature close"),a("ERR_STREAM_DESTROYED",function(D){return"Cannot call "+D+" after a stream was destroyed"}),a("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),a("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),a("ERR_STREAM_WRITE_AFTER_END","write after end"),a("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),a("ERR_UNKNOWN_ENCODING",function(D){return"Unknown encoding: "+D},TypeError),a("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ce.exports.F=E},1030:(Ce,ee,E)=>{"use strict";var a=Object.keys||function(_){var g=[];for(var F in _)g.push(F);return g};Ce.exports=C;var S=E(1092),p=E(5492);E(1993)(C,S);for(var R=a(p.prototype),c=0;c{"use strict";Ce.exports=S;var a=E(3410);function S(p){if(!(this instanceof S))return new S(p);a.call(this,p)}E(1993)(S,a),S.prototype._transform=function(p,R,c){c(null,p)}},1092:(Ce,ee,E)=>{"use strict";var a;Ce.exports=m,m.ReadableState=se,E(4356);var _,p=function(Ie,Se){return Ie.listeners(Se).length},R=E(2601),c=E(3838).Buffer,D=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},T=E(7199);_=T&&T.debuglog?T.debuglog("stream"):function(){};var U,j,W,g=E(7606),F=E(8152),B=E(2827).getHighWaterMark,P=E(8083).F,$=P.ERR_INVALID_ARG_TYPE,k=P.ERR_STREAM_PUSH_AFTER_EOF,M=P.ERR_METHOD_NOT_IMPLEMENTED,O=P.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;E(1993)(m,R);var ie=F.errorOrDestroy,me=["error","close","destroy","pause","resume"];function se(pe,Ie,Se){a=a||E(1030),"boolean"!=typeof Se&&(Se=Ie instanceof a),this.objectMode=!!(pe=pe||{}).objectMode,Se&&(this.objectMode=this.objectMode||!!pe.readableObjectMode),this.highWaterMark=B(this,pe,"readableHighWaterMark",Se),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==pe.emitClose,this.autoDestroy=!!pe.autoDestroy,this.destroyed=!1,this.defaultEncoding=pe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,pe.encoding&&(U||(U=E(8454).I),this.decoder=new U(pe.encoding),this.encoding=pe.encoding)}function m(pe){if(a=a||E(1030),!(this instanceof m))return new m(pe);this._readableState=new se(pe,this,this instanceof a),this.readable=!0,pe&&("function"==typeof pe.read&&(this._read=pe.read),"function"==typeof pe.destroy&&(this._destroy=pe.destroy)),R.call(this)}function n(pe,Ie,Se,re,ne){_("readableAddChunk",Ie);var Ee,G=pe._readableState;if(null===Ie)G.reading=!1,function y(pe,Ie){if(_("onEofChunk"),!Ie.ended){if(Ie.decoder){var Se=Ie.decoder.end();Se&&Se.length&&(Ie.buffer.push(Se),Ie.length+=Ie.objectMode?1:Se.length)}Ie.ended=!0,Ie.sync?f(pe):(Ie.needReadable=!1,Ie.emittedReadable||(Ie.emittedReadable=!0,r(pe)))}}(pe,G);else if(ne||(Ee=function u(pe,Ie){var Se;return!function w(pe){return c.isBuffer(pe)||pe instanceof D}(Ie)&&"string"!=typeof Ie&&void 0!==Ie&&!pe.objectMode&&(Se=new $("chunk",["string","Buffer","Uint8Array"],Ie)),Se}(G,Ie)),Ee)ie(pe,Ee);else if(G.objectMode||Ie&&Ie.length>0)if("string"!=typeof Ie&&!G.objectMode&&Object.getPrototypeOf(Ie)!==c.prototype&&(Ie=function C(pe){return c.from(pe)}(Ie)),re)G.endEmitted?ie(pe,new O):o(pe,G,Ie,!0);else if(G.ended)ie(pe,new k);else{if(G.destroyed)return!1;G.reading=!1,G.decoder&&!Se?(Ie=G.decoder.write(Ie),G.objectMode||0!==Ie.length?o(pe,G,Ie,!1):d(pe,G)):o(pe,G,Ie,!1)}else re||(G.reading=!1,d(pe,G));return!G.ended&&(G.lengthIe.highWaterMark&&(Ie.highWaterMark=function h(pe){return pe>=s?pe=s:(pe--,pe|=pe>>>1,pe|=pe>>>2,pe|=pe>>>4,pe|=pe>>>8,pe|=pe>>>16,pe++),pe}(pe)),pe<=Ie.length?pe:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}function f(pe){var Ie=pe._readableState;_("emitReadable",Ie.needReadable,Ie.emittedReadable),Ie.needReadable=!1,Ie.emittedReadable||(_("emitReadable",Ie.flowing),Ie.emittedReadable=!0,process.nextTick(r,pe))}function r(pe){var Ie=pe._readableState;_("emitReadable_",Ie.destroyed,Ie.length,Ie.ended),!Ie.destroyed&&(Ie.length||Ie.ended)&&(pe.emit("readable"),Ie.emittedReadable=!1),Ie.needReadable=!Ie.flowing&&!Ie.ended&&Ie.length<=Ie.highWaterMark,Ae(pe)}function d(pe,Ie){Ie.readingMore||(Ie.readingMore=!0,process.nextTick(L,pe,Ie))}function L(pe,Ie){for(;!Ie.reading&&!Ie.ended&&(Ie.length0,Ie.resumeScheduled&&!Ie.paused?Ie.flowing=!0:pe.listenerCount("data")>0&&pe.resume()}function q(pe){_("readable nexttick read 0"),pe.read(0)}function ve(pe,Ie){_("resume",Ie.reading),Ie.reading||pe.read(0),Ie.resumeScheduled=!1,pe.emit("resume"),Ae(pe),Ie.flowing&&!Ie.reading&&pe.read(0)}function Ae(pe){var Ie=pe._readableState;for(_("flow",Ie.flowing);Ie.flowing&&null!==pe.read(););}function Q(pe,Ie){return 0===Ie.length?null:(Ie.objectMode?Se=Ie.buffer.shift():!pe||pe>=Ie.length?(Se=Ie.decoder?Ie.buffer.join(""):1===Ie.buffer.length?Ie.buffer.first():Ie.buffer.concat(Ie.length),Ie.buffer.clear()):Se=Ie.buffer.consume(pe,Ie.decoder),Se);var Se}function ae(pe){var Ie=pe._readableState;_("endReadable",Ie.endEmitted),Ie.endEmitted||(Ie.ended=!0,process.nextTick(tt,Ie,pe))}function tt(pe,Ie){if(_("endReadableNT",pe.endEmitted,pe.length),!pe.endEmitted&&0===pe.length&&(pe.endEmitted=!0,Ie.readable=!1,Ie.emit("end"),pe.autoDestroy)){var Se=Ie._writableState;(!Se||Se.autoDestroy&&Se.finished)&&Ie.destroy()}}function Oe(pe,Ie){for(var Se=0,re=pe.length;Se=Ie.highWaterMark:Ie.length>0)||Ie.ended))return _("read: emitReadable",Ie.length,Ie.ended),0===Ie.length&&Ie.ended?ae(this):f(this),null;if(0===(pe=v(pe,Ie))&&Ie.ended)return 0===Ie.length&&ae(this),null;var ne,re=Ie.needReadable;return _("need readable",re),(0===Ie.length||Ie.length-pe0?Q(pe,Ie):null)?(Ie.needReadable=Ie.length<=Ie.highWaterMark,pe=0):(Ie.length-=pe,Ie.awaitDrain=0),0===Ie.length&&(Ie.ended||(Ie.needReadable=!0),Se!==pe&&Ie.ended&&ae(this)),null!==ne&&this.emit("data",ne),ne},m.prototype._read=function(pe){ie(this,new M("_read()"))},m.prototype.pipe=function(pe,Ie){var Se=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=pe;break;case 1:re.pipes=[re.pipes,pe];break;default:re.pipes.push(pe)}re.pipesCount+=1,_("pipe count=%d opts=%j",re.pipesCount,Ie);var G=Ie&&!1===Ie.end||pe===process.stdout||pe===process.stderr?Pt:vt;function vt(){_("onend"),pe.end()}re.endEmitted?process.nextTick(G):Se.once("end",G),pe.on("unpipe",function Ee(En,It){_("onunpipe"),En===Se&&It&&!1===It.hasUnpiped&&(It.hasUnpiped=!0,function nn(){_("cleanup"),pe.removeListener("close",on),pe.removeListener("finish",Mt),pe.removeListener("drain",Qe),pe.removeListener("error",ht),pe.removeListener("unpipe",Ee),Se.removeListener("end",vt),Se.removeListener("end",Pt),Se.removeListener("data",gt),rt=!0,re.awaitDrain&&(!pe._writableState||pe._writableState.needDrain)&&Qe()}())});var Qe=function I(pe){return function(){var Se=pe._readableState;_("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,0===Se.awaitDrain&&p(pe,"data")&&(Se.flowing=!0,Ae(pe))}}(Se);pe.on("drain",Qe);var rt=!1;function gt(En){_("ondata");var It=pe.write(En);_("dest.write",It),!1===It&&((1===re.pipesCount&&re.pipes===pe||re.pipesCount>1&&-1!==Oe(re.pipes,pe))&&!rt&&(_("false write response, pause",re.awaitDrain),re.awaitDrain++),Se.pause())}function ht(En){_("onerror",En),Pt(),pe.removeListener("error",ht),0===p(pe,"error")&&ie(pe,En)}function on(){pe.removeListener("finish",Mt),Pt()}function Mt(){_("onfinish"),pe.removeListener("close",on),Pt()}function Pt(){_("unpipe"),Se.unpipe(pe)}return Se.on("data",gt),function te(pe,Ie,Se){if("function"==typeof pe.prependListener)return pe.prependListener(Ie,Se);pe._events&&pe._events[Ie]?Array.isArray(pe._events[Ie])?pe._events[Ie].unshift(Se):pe._events[Ie]=[Se,pe._events[Ie]]:pe.on(Ie,Se)}(pe,"error",ht),pe.once("close",on),pe.once("finish",Mt),pe.emit("pipe",Se),re.flowing||(_("pipe resume"),Se.resume()),pe},m.prototype.unpipe=function(pe){var Ie=this._readableState,Se={hasUnpiped:!1};if(0===Ie.pipesCount)return this;if(1===Ie.pipesCount)return pe&&pe!==Ie.pipes||(pe||(pe=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,pe&&pe.emit("unpipe",this,Se)),this;if(!pe){var re=Ie.pipes,ne=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var G=0;G0,!1!==re.flowing&&this.resume()):"readable"===pe&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,_("on readable",re.length,re.reading),re.length?f(this):re.reading||process.nextTick(q,this)),Se},m.prototype.removeListener=function(pe,Ie){var Se=R.prototype.removeListener.call(this,pe,Ie);return"readable"===pe&&process.nextTick(V,this),Se},m.prototype.removeAllListeners=function(pe){var Ie=R.prototype.removeAllListeners.apply(this,arguments);return("readable"===pe||void 0===pe)&&process.nextTick(V,this),Ie},m.prototype.resume=function(){var pe=this._readableState;return pe.flowing||(_("resume"),pe.flowing=!pe.readableListening,function oe(pe,Ie){Ie.resumeScheduled||(Ie.resumeScheduled=!0,process.nextTick(ve,pe,Ie))}(this,pe)),pe.paused=!1,this},m.prototype.pause=function(){return _("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(_("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},m.prototype.wrap=function(pe){var Ie=this,Se=this._readableState,re=!1;for(var ne in pe.on("end",function(){if(_("wrapped end"),Se.decoder&&!Se.ended){var Ee=Se.decoder.end();Ee&&Ee.length&&Ie.push(Ee)}Ie.push(null)}),pe.on("data",function(Ee){_("wrapped data"),Se.decoder&&(Ee=Se.decoder.write(Ee)),Se.objectMode&&null==Ee||!(Se.objectMode||Ee&&Ee.length)||Ie.push(Ee)||(re=!0,pe.pause())}),pe)void 0===this[ne]&&"function"==typeof pe[ne]&&(this[ne]=function(vt){return function(){return pe[vt].apply(pe,arguments)}}(ne));for(var G=0;G{"use strict";Ce.exports=w;var a=E(8083).F,S=a.ERR_METHOD_NOT_IMPLEMENTED,p=a.ERR_MULTIPLE_CALLBACK,R=a.ERR_TRANSFORM_ALREADY_TRANSFORMING,c=a.ERR_TRANSFORM_WITH_LENGTH_0,D=E(1030);function C(g,F){var A=this._transformState;A.transforming=!1;var B=A.writecb;if(null===B)return this.emit("error",new p);A.writechunk=null,A.writecb=null,null!=F&&this.push(F),B(g);var P=this._readableState;P.reading=!1,(P.needReadable||P.length{"use strict";function S(Ae){var Q=this;this.next=null,this.entry=null,this.finish=function(){!function ve(Ae,Q,ae){var tt=Ae.entry;for(Ae.entry=null;tt;){var Oe=tt.callback;Q.pendingcb--,Oe(ae),tt=tt.next}Q.corkedRequestsFree.next=Ae}(Q,Ae)}}var p;Ce.exports=se,se.WritableState=me;var te,R={deprecate:E(3398)},c=E(2601),D=E(3838).Buffer,C=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},_=E(8152),F=E(2827).getHighWaterMark,A=E(8083).F,B=A.ERR_INVALID_ARG_TYPE,P=A.ERR_METHOD_NOT_IMPLEMENTED,$=A.ERR_MULTIPLE_CALLBACK,k=A.ERR_STREAM_CANNOT_PIPE,M=A.ERR_STREAM_DESTROYED,O=A.ERR_STREAM_NULL_VALUES,U=A.ERR_STREAM_WRITE_AFTER_END,j=A.ERR_UNKNOWN_ENCODING,W=_.errorOrDestroy;function ie(){}function me(Ae,Q,ae){p=p||E(1030),"boolean"!=typeof ae&&(ae=Q instanceof p),this.objectMode=!!(Ae=Ae||{}).objectMode,ae&&(this.objectMode=this.objectMode||!!Ae.writableObjectMode),this.highWaterMark=F(this,Ae,"writableHighWaterMark",ae),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Ae.decodeStrings),this.defaultEncoding=Ae.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Oe){!function y(Ae,Q){var ae=Ae._writableState,tt=ae.sync,Oe=ae.writecb;if("function"!=typeof Oe)throw new $;if(function v(Ae){Ae.writing=!1,Ae.writecb=null,Ae.length-=Ae.writelen,Ae.writelen=0}(ae),Q)!function h(Ae,Q,ae,tt,Oe){--Q.pendingcb,ae?(process.nextTick(Oe,tt),process.nextTick(q,Ae,Q),Ae._writableState.errorEmitted=!0,W(Ae,tt)):(Oe(tt),Ae._writableState.errorEmitted=!0,W(Ae,tt),q(Ae,Q))}(Ae,ae,tt,Q,Oe);else{var pe=L(ae)||Ae.destroyed;!pe&&!ae.corked&&!ae.bufferProcessing&&ae.bufferedRequest&&d(Ae,ae),tt?process.nextTick(f,Ae,ae,pe,Oe):f(Ae,ae,pe,Oe)}}(Q,Oe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Ae.emitClose,this.autoDestroy=!!Ae.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new S(this)}function se(Ae){var Q=this instanceof(p=p||E(1030));if(!Q&&!te.call(se,this))return new se(Ae);this._writableState=new me(Ae,this,Q),this.writable=!0,Ae&&("function"==typeof Ae.write&&(this._write=Ae.write),"function"==typeof Ae.writev&&(this._writev=Ae.writev),"function"==typeof Ae.destroy&&(this._destroy=Ae.destroy),"function"==typeof Ae.final&&(this._final=Ae.final)),c.call(this)}function s(Ae,Q,ae,tt,Oe,pe,Ie){Q.writelen=tt,Q.writecb=Ie,Q.writing=!0,Q.sync=!0,Q.destroyed?Q.onwrite(new M("write")):ae?Ae._writev(Oe,Q.onwrite):Ae._write(Oe,pe,Q.onwrite),Q.sync=!1}function f(Ae,Q,ae,tt){ae||function r(Ae,Q){0===Q.length&&Q.needDrain&&(Q.needDrain=!1,Ae.emit("drain"))}(Ae,Q),Q.pendingcb--,tt(),q(Ae,Q)}function d(Ae,Q){Q.bufferProcessing=!0;var ae=Q.bufferedRequest;if(Ae._writev&&ae&&ae.next){var Oe=new Array(Q.bufferedRequestCount),pe=Q.corkedRequestsFree;pe.entry=ae;for(var Ie=0,Se=!0;ae;)Oe[Ie]=ae,ae.isBuf||(Se=!1),ae=ae.next,Ie+=1;Oe.allBuffers=Se,s(Ae,Q,!0,Q.length,Oe,"",pe.finish),Q.pendingcb++,Q.lastBufferedRequest=null,pe.next?(Q.corkedRequestsFree=pe.next,pe.next=null):Q.corkedRequestsFree=new S(Q),Q.bufferedRequestCount=0}else{for(;ae;){var re=ae.chunk;if(s(Ae,Q,!1,Q.objectMode?1:re.length,re,ae.encoding,ae.callback),ae=ae.next,Q.bufferedRequestCount--,Q.writing)break}null===ae&&(Q.lastBufferedRequest=null)}Q.bufferedRequest=ae,Q.bufferProcessing=!1}function L(Ae){return Ae.ending&&0===Ae.length&&null===Ae.bufferedRequest&&!Ae.finished&&!Ae.writing}function I(Ae,Q){Ae._final(function(ae){Q.pendingcb--,ae&&W(Ae,ae),Q.prefinished=!0,Ae.emit("prefinish"),q(Ae,Q)})}function q(Ae,Q){var ae=L(Q);if(ae&&(function V(Ae,Q){!Q.prefinished&&!Q.finalCalled&&("function"!=typeof Ae._final||Q.destroyed?(Q.prefinished=!0,Ae.emit("prefinish")):(Q.pendingcb++,Q.finalCalled=!0,process.nextTick(I,Ae,Q)))}(Ae,Q),0===Q.pendingcb&&(Q.finished=!0,Ae.emit("finish"),Q.autoDestroy))){var tt=Ae._readableState;(!tt||tt.autoDestroy&&tt.endEmitted)&&Ae.destroy()}return ae}E(1993)(se,c),me.prototype.getBuffer=function(){for(var Q=this.bufferedRequest,ae=[];Q;)ae.push(Q),Q=Q.next;return ae},function(){try{Object.defineProperty(me.prototype,"buffer",{get:R.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(te=Function.prototype[Symbol.hasInstance],Object.defineProperty(se,Symbol.hasInstance,{value:function(Q){return!!te.call(this,Q)||this===se&&Q&&Q._writableState instanceof me}})):te=function(Q){return Q instanceof this},se.prototype.pipe=function(){W(this,new k)},se.prototype.write=function(Ae,Q,ae){var tt=this._writableState,Oe=!1,pe=!tt.objectMode&&function T(Ae){return D.isBuffer(Ae)||Ae instanceof C}(Ae);return pe&&!D.isBuffer(Ae)&&(Ae=function w(Ae){return D.from(Ae)}(Ae)),"function"==typeof Q&&(ae=Q,Q=null),pe?Q="buffer":Q||(Q=tt.defaultEncoding),"function"!=typeof ae&&(ae=ie),tt.ending?function m(Ae,Q){var ae=new U;W(Ae,ae),process.nextTick(Q,ae)}(this,ae):(pe||function n(Ae,Q,ae,tt){var Oe;return null===ae?Oe=new O:"string"!=typeof ae&&!Q.objectMode&&(Oe=new B("chunk",["string","Buffer"],ae)),!Oe||(W(Ae,Oe),process.nextTick(tt,Oe),!1)}(this,tt,Ae,ae))&&(tt.pendingcb++,Oe=function u(Ae,Q,ae,tt,Oe,pe){if(!ae){var Ie=function o(Ae,Q,ae){return!Ae.objectMode&&!1!==Ae.decodeStrings&&"string"==typeof Q&&(Q=D.from(Q,ae)),Q}(Q,tt,Oe);tt!==Ie&&(ae=!0,Oe="buffer",tt=Ie)}var Se=Q.objectMode?1:tt.length;Q.length+=Se;var re=Q.length-1))throw new j(Q);return this._writableState.defaultEncoding=Q,this},Object.defineProperty(se.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(se.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),se.prototype._write=function(Ae,Q,ae){ae(new P("_write()"))},se.prototype._writev=null,se.prototype.end=function(Ae,Q,ae){var tt=this._writableState;return"function"==typeof Ae?(ae=Ae,Ae=null,Q=null):"function"==typeof Q&&(ae=Q,Q=null),null!=Ae&&this.write(Ae,Q),tt.corked&&(tt.corked=1,this.uncork()),tt.ending||function oe(Ae,Q,ae){Q.ending=!0,q(Ae,Q),ae&&(Q.finished?process.nextTick(ae):Ae.once("finish",ae)),Q.ended=!0,Ae.writable=!1}(this,tt,ae),this},Object.defineProperty(se.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(se.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Q){this._writableState&&(this._writableState.destroyed=Q)}}),se.prototype.destroy=_.destroy,se.prototype._undestroy=_.undestroy,se.prototype._destroy=function(Ae,Q){Q(Ae)}},2683:(Ce,ee,E)=>{"use strict";var a;function S(U,j,W){return j=function p(U){var j=function R(U,j){if("object"!=typeof U||null===U)return U;var W=U[Symbol.toPrimitive];if(void 0!==W){var ie=W.call(U,j||"default");if("object"!=typeof ie)return ie;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===j?String:Number)(U)}(U,"string");return"symbol"==typeof j?j:String(j)}(j),j in U?Object.defineProperty(U,j,{value:W,enumerable:!0,configurable:!0,writable:!0}):U[j]=W,U}var c=E(7854),D=Symbol("lastResolve"),C=Symbol("lastReject"),w=Symbol("error"),T=Symbol("ended"),_=Symbol("lastPromise"),g=Symbol("handlePromise"),F=Symbol("stream");function A(U,j){return{value:U,done:j}}function B(U){var j=U[D];if(null!==j){var W=U[F].read();null!==W&&(U[_]=null,U[D]=null,U[C]=null,j(A(W,!1)))}}function P(U){process.nextTick(B,U)}var k=Object.getPrototypeOf(function(){}),M=Object.setPrototypeOf((S(a={get stream(){return this[F]},next:function(){var j=this,W=this[w];if(null!==W)return Promise.reject(W);if(this[T])return Promise.resolve(A(void 0,!0));if(this[F].destroyed)return new Promise(function(se,m){process.nextTick(function(){j[w]?m(j[w]):se(A(void 0,!0))})});var me,ie=this[_];if(ie)me=new Promise(function $(U,j){return function(W,ie){U.then(function(){j[T]?W(A(void 0,!0)):j[g](W,ie)},ie)}}(ie,this));else{var te=this[F].read();if(null!==te)return Promise.resolve(A(te,!1));me=new Promise(this[g])}return this[_]=me,me}},Symbol.asyncIterator,function(){return this}),S(a,"return",function(){var j=this;return new Promise(function(W,ie){j[F].destroy(null,function(me){me?ie(me):W(A(void 0,!0))})})}),a),k);Ce.exports=function(j){var W,ie=Object.create(M,(S(W={},F,{value:j,writable:!0}),S(W,D,{value:null,writable:!0}),S(W,C,{value:null,writable:!0}),S(W,w,{value:null,writable:!0}),S(W,T,{value:j._readableState.endEmitted,writable:!0}),S(W,g,{value:function(te,se){var m=ie[F].read();m?(ie[_]=null,ie[D]=null,ie[C]=null,te(A(m,!1))):(ie[D]=te,ie[C]=se)},writable:!0}),W));return ie[_]=null,c(j,function(me){if(me&&"ERR_STREAM_PREMATURE_CLOSE"!==me.code){var te=ie[C];return null!==te&&(ie[_]=null,ie[D]=null,ie[C]=null,te(me)),void(ie[w]=me)}var se=ie[D];null!==se&&(ie[_]=null,ie[D]=null,ie[C]=null,se(A(void 0,!0))),ie[T]=!0}),j.on("readable",P.bind(null,ie)),ie}},7606:(Ce,ee,E)=>{"use strict";function a(P,$){var k=Object.keys(P);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(P);$&&(M=M.filter(function(O){return Object.getOwnPropertyDescriptor(P,O).enumerable})),k.push.apply(k,M)}return k}function S(P){for(var $=1;$0?this.tail.next=M:this.head=M,this.tail=M,++this.length}},{key:"unshift",value:function(k){var M={data:k,next:this.head};0===this.length&&(this.tail=M),this.head=M,++this.length}},{key:"shift",value:function(){if(0!==this.length){var k=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,k}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(k){if(0===this.length)return"";for(var M=this.head,O=""+M.data;M=M.next;)O+=k+M.data;return O}},{key:"concat",value:function(k){if(0===this.length)return _.alloc(0);for(var M=_.allocUnsafe(k>>>0),O=this.head,U=0;O;)B(O.data,M,U),U+=O.data.length,O=O.next;return M}},{key:"consume",value:function(k,M){var O;return kj.length?j.length:k;if(U+=W===j.length?j:j.slice(0,k),0==(k-=W)){W===j.length?(++O,this.head=M.next?M.next:this.tail=null):(this.head=M,M.data=j.slice(W));break}++O}return this.length-=O,U}},{key:"_getBuffer",value:function(k){var M=_.allocUnsafe(k),O=this.head,U=1;for(O.data.copy(M),k-=O.data.length;O=O.next;){var j=O.data,W=k>j.length?j.length:k;if(j.copy(M,M.length-k,0,W),0==(k-=W)){W===j.length?(++U,this.head=O.next?O.next:this.tail=null):(this.head=O,O.data=j.slice(W));break}++U}return this.length-=U,M}},{key:A,value:function(k,M){return F(this,S(S({},M),{},{depth:0,customInspect:!1}))}}]),P}()},8152:Ce=>{"use strict";function E(c,D){p(c,D),a(c)}function a(c){c._writableState&&!c._writableState.emitClose||c._readableState&&!c._readableState.emitClose||c.emit("close")}function p(c,D){c.emit("error",D)}Ce.exports={destroy:function ee(c,D){var C=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(D?D(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(p,this,c)):process.nextTick(p,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(_){!D&&_?C._writableState?C._writableState.errorEmitted?process.nextTick(a,C):(C._writableState.errorEmitted=!0,process.nextTick(E,C,_)):process.nextTick(E,C,_):D?(process.nextTick(a,C),D(_)):process.nextTick(a,C)}),this)},undestroy:function S(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function R(c,D){var C=c._readableState,w=c._writableState;C&&C.autoDestroy||w&&w.autoDestroy?c.destroy(D):c.emit("error",D)}}},7854:(Ce,ee,E)=>{"use strict";var a=E(8083).F.ERR_STREAM_PREMATURE_CLOSE;function p(){}Ce.exports=function c(D,C,w){if("function"==typeof C)return c(D,null,C);C||(C={}),w=function S(D){var C=!1;return function(){if(!C){C=!0;for(var w=arguments.length,T=new Array(w),_=0;_{Ce.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(Ce,ee,E)=>{"use strict";var a,p=E(8083).F,R=p.ERR_MISSING_ARGS,c=p.ERR_STREAM_DESTROYED;function D(A){if(A)throw A}function T(A){A()}function _(A,B){return A.pipe(B)}Ce.exports=function F(){for(var A=arguments.length,B=new Array(A),P=0;P0,function(ie){k||(k=ie),ie&&M.forEach(T),!j&&(M.forEach(T),$(k))})});return B.reduce(_)}},2827:(Ce,ee,E)=>{"use strict";var a=E(8083).F.ERR_INVALID_OPT_VALUE;Ce.exports={getHighWaterMark:function p(R,c,D,C){var w=function S(R,c,D){return null!=R.highWaterMark?R.highWaterMark:c?R[D]:null}(c,C,D);if(null!=w){if(!isFinite(w)||Math.floor(w)!==w||w<0)throw new a(C?D:"highWaterMark",w);return Math.floor(w)}return R.objectMode?16:16384}}},2601:(Ce,ee,E)=>{Ce.exports=E(4356).EventEmitter},8454:(Ce,ee,E)=>{"use strict";var a=E(4272).Buffer,S=a.isEncoding||function(M){switch((M=""+M)&&M.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function c(M){var O;switch(this.encoding=function R(M){var O=function p(M){if(!M)return"utf8";for(var O;;)switch(M){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return M;default:if(O)return;M=(""+M).toLowerCase(),O=!0}}(M);if("string"!=typeof O&&(a.isEncoding===S||!S(M)))throw new Error("Unknown encoding: "+M);return O||M}(M),this.encoding){case"utf16le":this.text=F,this.end=A,O=4;break;case"utf8":this.fillLast=T,O=4;break;case"base64":this.text=B,this.end=P,O=3;break;default:return this.write=$,void(this.end=k)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(O)}function D(M){return M<=127?0:M>>5==6?2:M>>4==14?3:M>>3==30?4:M>>6==2?-1:-2}function T(M){var O=this.lastTotal-this.lastNeed,U=function w(M,O,U){if(128!=(192&O[0]))return M.lastNeed=0,"\ufffd";if(M.lastNeed>1&&O.length>1){if(128!=(192&O[1]))return M.lastNeed=1,"\ufffd";if(M.lastNeed>2&&O.length>2&&128!=(192&O[2]))return M.lastNeed=2,"\ufffd"}}(this,M);return void 0!==U?U:this.lastNeed<=M.length?(M.copy(this.lastChar,O,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,O,0,M.length),void(this.lastNeed-=M.length))}function F(M,O){if((M.length-O)%2==0){var U=M.toString("utf16le",O);if(U){var j=U.charCodeAt(U.length-1);if(j>=55296&&j<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=M[M.length-1],M.toString("utf16le",O,M.length-1)}function A(M){var O=M&&M.length?this.write(M):"";return this.lastNeed?O+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):O}function B(M,O){var U=(M.length-O)%3;return 0===U?M.toString("base64",O):(this.lastNeed=3-U,this.lastTotal=3,1===U?this.lastChar[0]=M[M.length-1]:(this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1]),M.toString("base64",O,M.length-U))}function P(M){var O=M&&M.length?this.write(M):"";return this.lastNeed?O+this.lastChar.toString("base64",0,3-this.lastNeed):O}function $(M){return M.toString(this.encoding)}function k(M){return M&&M.length?this.write(M):""}ee.I=c,c.prototype.write=function(M){if(0===M.length)return"";var O,U;if(this.lastNeed){if(void 0===(O=this.fillLast(M)))return"";U=this.lastNeed,this.lastNeed=0}else U=0;return U=0?(W>0&&(M.lastNeed=W-1),W):--j=0?(W>0&&(M.lastNeed=W-2),W):--j=0?(W>0&&(2===W?W=0:M.lastNeed=W-3),W):0}(this,M,O);if(!this.lastNeed)return M.toString("utf8",O);this.lastTotal=U;var j=M.length-(U-this.lastNeed);return M.copy(this.lastChar,0,j),M.toString("utf8",O,j)},c.prototype.fillLast=function(M){if(this.lastNeed<=M.length)return M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,M.length),this.lastNeed-=M.length}},4272:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function R(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.exports=a:(p(a,ee),ee.Buffer=R),p(S,R),R.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},R.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var w=S(c);return void 0!==D?"string"==typeof C?w.fill(D,C):w.fill(D):w.fill(0),w},R.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},R.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},3398:Ce=>{function E(a){try{if(!global.localStorage)return!1}catch{return!1}var S=global.localStorage[a];return null!=S&&"true"===String(S).toLowerCase()}Ce.exports=function ee(a,S){if(E("noDeprecation"))return a;var p=!1;return function R(){if(!p){if(E("throwDeprecation"))throw new Error(S);E("traceDeprecation")?console.trace(S):console.warn(S),p=!0}return a.apply(this,arguments)}}},6421:(Ce,ee,E)=>{"use strict";E.d(ee,{A:()=>g});const S={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let p;const R=new Uint8Array(16);function c(){if(!p&&(p=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!p))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(R)}const D=[];for(let F=0;F<256;++F)D.push((F+256).toString(16).slice(1));const g=function _(F,A,B){if(S.randomUUID&&!A&&!F)return S.randomUUID();const P=(F=F||{}).random||(F.rng||c)();if(P[6]=15&P[6]|64,P[8]=63&P[8]|128,A){B=B||0;for(let $=0;$<16;++$)A[B+$]=P[$];return A}return function C(F,A=0){return D[F[A+0]]+D[F[A+1]]+D[F[A+2]]+D[F[A+3]]+"-"+D[F[A+4]]+D[F[A+5]]+"-"+D[F[A+6]]+D[F[A+7]]+"-"+D[F[A+8]]+D[F[A+9]]+"-"+D[F[A+10]]+D[F[A+11]]+D[F[A+12]]+D[F[A+13]]+D[F[A+14]]+D[F[A+15]]}(P)}},8326:(__unused_webpack_module,exports)=>{var indexOf=function(Ce,ee){if(Ce.indexOf)return Ce.indexOf(ee);for(var E=0;E{var a={"./ion-accordion_2.entry.js":[4756,2076,2375],"./ion-action-sheet.entry.js":[8814,2076,8814],"./ion-alert.entry.js":[5222,2076,5222],"./ion-app_8.entry.js":[7720,2076,7720],"./ion-avatar_3.entry.js":[1049,1049],"./ion-back-button.entry.js":[3162,2076,3162],"./ion-backdrop.entry.js":[7240,7240],"./ion-breadcrumb_2.entry.js":[8314,2076,8314],"./ion-button_2.entry.js":[6972,4591],"./ion-card_5.entry.js":[8584,8584],"./ion-checkbox.entry.js":[3511,2076,3511],"./ion-chip.entry.js":[6024,6024],"./ion-col_3.entry.js":[5100,5100],"./ion-datetime-button.entry.js":[7428,771,7428],"./ion-datetime_3.entry.js":[5266,771,2076,2885],"./ion-fab_3.entry.js":[4463,2076,4463],"./ion-img.entry.js":[4183,4183],"./ion-infinite-scroll_2.entry.js":[4171,2076,4171],"./ion-input.entry.js":[9344,2076,9344],"./ion-item-option_3.entry.js":[5949,2076,5949],"./ion-item_8.entry.js":[3506,2076,3506],"./ion-loading.entry.js":[7372,2076,7372],"./ion-menu_3.entry.js":[2075,2076,2075],"./ion-modal.entry.js":[441,2076,441],"./ion-nav_2.entry.js":[5712,2076,5712],"./ion-picker-column-internal.entry.js":[1433,2076,1433],"./ion-picker-internal.entry.js":[2628,2628],"./ion-popover.entry.js":[6433,2076,6433],"./ion-progress-bar.entry.js":[9977,9977],"./ion-radio_2.entry.js":[8066,2076,8066],"./ion-range.entry.js":[8477,2076,8477],"./ion-refresher_2.entry.js":[5197,2076,5197],"./ion-reorder_2.entry.js":[7030,2076,7030],"./ion-ripple-effect.entry.js":[964,964],"./ion-route_4.entry.js":[8970,8970],"./ion-searchbar.entry.js":[8193,2076,8193],"./ion-segment_2.entry.js":[2560,2076,2560],"./ion-select_3.entry.js":[7076,2076,7076],"./ion-spinner.entry.js":[8805,2076,8805],"./ion-split-pane.entry.js":[5887,5887],"./ion-tab-bar_2.entry.js":[4406,2076,4406],"./ion-tab_2.entry.js":[1102,1102],"./ion-text.entry.js":[1577,1577],"./ion-textarea.entry.js":[2348,2076,2348],"./ion-toast.entry.js":[2415,2076,2415],"./ion-toggle.entry.js":[3814,2076,3814]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var R=a[p],c=R[0];return Promise.all(R.slice(1).map(E.e)).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=8996,Ce.exports=S},5235:(Ce,ee,E)=>{var a={"./pwa-action-sheet.entry.js":[6301,6301],"./pwa-camera-modal-instance.entry.js":[5640,5640],"./pwa-camera-modal.entry.js":[2982,2982],"./pwa-camera.entry.js":[6086,6086],"./pwa-toast.entry.js":[3574,3574]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var R=a[p],c=R[0];return E.e(R[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=5235,Ce.exports=S},7321:(Ce,ee,E)=>{var a={"./jeep-sqlite.entry.js":[477,477]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var R=a[p],c=R[0];return E.e(R[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=7321,Ce.exports=S},8982:()=>{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},177:(Ce,ee,E)=>{"use strict";E.d(ee,{AJ:()=>Di,B3:()=>dt,MD:()=>bi,N0:()=>Oi,QT:()=>p,Sm:()=>$,Sq:()=>Tn,T3:()=>xt,UE:()=>Wr,VF:()=>c,Vy:()=>Fi,Xr:()=>Ji,YU:()=>Lt,ZD:()=>R,_b:()=>lt,aZ:()=>M,bT:()=>hr,fw:()=>k,hb:()=>B,hj:()=>T,qQ:()=>C});var a=E(4438);let S=null;function p(){return S}function R(Y){var xe;null!==(xe=S)&&void 0!==xe||(S=Y)}class c{}const C=new a.nKC("");let w=(()=>{var Y;class xe{historyGo(de){throw new Error("")}}return(Y=xe).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>(0,a.WQX)(_),providedIn:"platform"}),xe})();const T=new a.nKC("");let _=(()=>{var Y;class xe extends w{constructor(){super(),this._doc=(0,a.WQX)(C),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return p().getBaseHref(this._doc)}onPopState(de){const ze=p().getGlobalEventTarget(this._doc,"window");return ze.addEventListener("popstate",de,!1),()=>ze.removeEventListener("popstate",de)}onHashChange(de){const ze=p().getGlobalEventTarget(this._doc,"window");return ze.addEventListener("hashchange",de,!1),()=>ze.removeEventListener("hashchange",de)}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(de){this._location.pathname=de}pushState(de,ze,pt){this._history.pushState(de,ze,pt)}replaceState(de,ze,pt){this._history.replaceState(de,ze,pt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(de=0){this._history.go(de)}getState(){return this._history.state}}return(Y=xe).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>new Y,providedIn:"platform"}),xe})();function g(Y,xe){if(0==Y.length)return xe;if(0==xe.length)return Y;let at=0;return Y.endsWith("/")&&at++,xe.startsWith("/")&&at++,2==at?Y+xe.substring(1):1==at?Y+xe:Y+"/"+xe}function F(Y){const xe=Y.match(/#|\?|$/),at=xe&&xe.index||Y.length;return Y.slice(0,at-("/"===Y[at-1]?1:0))+Y.slice(at)}function A(Y){return Y&&"?"!==Y[0]?"?"+Y:Y}let B=(()=>{var Y;class xe{historyGo(de){throw new Error("")}}return(Y=xe).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>(0,a.WQX)($),providedIn:"root"}),xe})();const P=new a.nKC("");let $=(()=>{var Y;class xe extends B{constructor(de,ze){var pt,Qt,pn;super(),this._platformLocation=de,this._removeListenerFns=[],this._baseHref=null!==(pt=null!==(Qt=null!=ze?ze:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Qt?Qt:null===(pn=(0,a.WQX)(C).location)||void 0===pn?void 0:pn.origin)&&void 0!==pt?pt:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(de){this._removeListenerFns.push(this._platformLocation.onPopState(de),this._platformLocation.onHashChange(de))}getBaseHref(){return this._baseHref}prepareExternalUrl(de){return g(this._baseHref,de)}path(de=!1){const ze=this._platformLocation.pathname+A(this._platformLocation.search),pt=this._platformLocation.hash;return pt&&de?`${ze}${pt}`:ze}pushState(de,ze,pt,Qt){const pn=this.prepareExternalUrl(pt+A(Qt));this._platformLocation.pushState(de,ze,pn)}replaceState(de,ze,pt,Qt){const pn=this.prepareExternalUrl(pt+A(Qt));this._platformLocation.replaceState(de,ze,pn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(de=0){var ze,pt;null===(ze=(pt=this._platformLocation).historyGo)||void 0===ze||ze.call(pt,de)}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.KVO(w),a.KVO(P,8))},Y.\u0275prov=a.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}),xe})(),k=(()=>{var Y;class xe extends B{constructor(de,ze){super(),this._platformLocation=de,this._baseHref="",this._removeListenerFns=[],null!=ze&&(this._baseHref=ze)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(de){this._removeListenerFns.push(this._platformLocation.onPopState(de),this._platformLocation.onHashChange(de))}getBaseHref(){return this._baseHref}path(de=!1){var ze;const pt=null!==(ze=this._platformLocation.hash)&&void 0!==ze?ze:"#";return pt.length>0?pt.substring(1):pt}prepareExternalUrl(de){const ze=g(this._baseHref,de);return ze.length>0?"#"+ze:ze}pushState(de,ze,pt,Qt){let pn=this.prepareExternalUrl(pt+A(Qt));0==pn.length&&(pn=this._platformLocation.pathname),this._platformLocation.pushState(de,ze,pn)}replaceState(de,ze,pt,Qt){let pn=this.prepareExternalUrl(pt+A(Qt));0==pn.length&&(pn=this._platformLocation.pathname),this._platformLocation.replaceState(de,ze,pn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(de=0){var ze,pt;null===(ze=(pt=this._platformLocation).historyGo)||void 0===ze||ze.call(pt,de)}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.KVO(w),a.KVO(P,8))},Y.\u0275prov=a.jDH({token:Y,factory:Y.\u0275fac}),xe})(),M=(()=>{var Y;class xe{constructor(de){this._subject=new a.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=de;const ze=this._locationStrategy.getBaseHref();this._basePath=function W(Y){if(new RegExp("^(https?:)?//").test(Y)){const[,at]=Y.split(/\/\/[^\/]+/);return at}return Y}(F(j(ze))),this._locationStrategy.onPopState(pt=>{this._subject.emit({url:this.path(!0),pop:!0,state:pt.state,type:pt.type})})}ngOnDestroy(){var de;null===(de=this._urlChangeSubscription)||void 0===de||de.unsubscribe(),this._urlChangeListeners=[]}path(de=!1){return this.normalize(this._locationStrategy.path(de))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(de,ze=""){return this.path()==this.normalize(de+A(ze))}normalize(de){return xe.stripTrailingSlash(function U(Y,xe){if(!Y||!xe.startsWith(Y))return xe;const at=xe.substring(Y.length);return""===at||["/",";","?","#"].includes(at[0])?at:xe}(this._basePath,j(de)))}prepareExternalUrl(de){return de&&"/"!==de[0]&&(de="/"+de),this._locationStrategy.prepareExternalUrl(de)}go(de,ze="",pt=null){this._locationStrategy.pushState(pt,"",de,ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(de+A(ze)),pt)}replaceState(de,ze="",pt=null){this._locationStrategy.replaceState(pt,"",de,ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(de+A(ze)),pt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(de=0){var ze,pt;null===(ze=(pt=this._locationStrategy).historyGo)||void 0===ze||ze.call(pt,de)}onUrlChange(de){var ze;return this._urlChangeListeners.push(de),null!==(ze=this._urlChangeSubscription)&&void 0!==ze||(this._urlChangeSubscription=this.subscribe(pt=>{this._notifyUrlChangeListeners(pt.url,pt.state)})),()=>{const pt=this._urlChangeListeners.indexOf(de);var Qt;this._urlChangeListeners.splice(pt,1),0===this._urlChangeListeners.length&&(null===(Qt=this._urlChangeSubscription)||void 0===Qt||Qt.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(de="",ze){this._urlChangeListeners.forEach(pt=>pt(de,ze))}subscribe(de,ze,pt){return this._subject.subscribe({next:de,error:ze,complete:pt})}}return(Y=xe).normalizeQueryParams=A,Y.joinWithSlash=g,Y.stripTrailingSlash=F,Y.\u0275fac=function(de){return new(de||Y)(a.KVO(B))},Y.\u0275prov=a.jDH({token:Y,factory:()=>function O(){return new M((0,a.KVO)(B))}(),providedIn:"root"}),xe})();function j(Y){return Y.replace(/\/index.html$/,"")}function lt(Y,xe){xe=encodeURIComponent(xe);for(const at of Y.split(";")){const de=at.indexOf("="),[ze,pt]=-1==de?[at,""]:[at.slice(0,de),at.slice(de+1)];if(ze.trim()===xe)return decodeURIComponent(pt)}return null}const Tt=/\s+/,wt=[];let Lt=(()=>{var Y;class xe{constructor(de,ze){this._ngEl=de,this._renderer=ze,this.initialClasses=wt,this.stateMap=new Map}set klass(de){this.initialClasses=null!=de?de.trim().split(Tt):wt}set ngClass(de){this.rawClass="string"==typeof de?de.trim().split(Tt):de}ngDoCheck(){for(const ze of this.initialClasses)this._updateState(ze,!0);const de=this.rawClass;if(Array.isArray(de)||de instanceof Set)for(const ze of de)this._updateState(ze,!0);else if(null!=de)for(const ze of Object.keys(de))this._updateState(ze,!!de[ze]);this._applyStateDiff()}_updateState(de,ze){const pt=this.stateMap.get(de);void 0!==pt?(pt.enabled!==ze&&(pt.changed=!0,pt.enabled=ze),pt.touched=!0):this.stateMap.set(de,{enabled:ze,changed:!0,touched:!0})}_applyStateDiff(){for(const de of this.stateMap){const ze=de[0],pt=de[1];pt.changed?(this._toggleClass(ze,pt.enabled),pt.changed=!1):pt.touched||(pt.enabled&&this._toggleClass(ze,!1),this.stateMap.delete(ze)),pt.touched=!1}}_toggleClass(de,ze){(de=de.trim()).length>0&&de.split(Tt).forEach(pt=>{ze?this._renderer.addClass(this._ngEl.nativeElement,pt):this._renderer.removeClass(this._ngEl.nativeElement,pt)})}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.aKT),a.rXU(a.sFG))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngClass",""]],inputs:{klass:[a.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0}),xe})();class Zt{constructor(xe,at,de,ze){this.$implicit=xe,this.ngForOf=at,this.index=de,this.count=ze}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 Tn=(()=>{var Y;class xe{set ngForOf(de){this._ngForOf=de,this._ngForOfDirty=!0}set ngForTrackBy(de){this._trackByFn=de}get ngForTrackBy(){return this._trackByFn}constructor(de,ze,pt){this._viewContainer=de,this._template=ze,this._differs=pt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(de){de&&(this._template=de)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const de=this._ngForOf;!this._differ&&de&&(this._differ=this._differs.find(de).create(this.ngForTrackBy))}if(this._differ){const de=this._differ.diff(this._ngForOf);de&&this._applyChanges(de)}}_applyChanges(de){const ze=this._viewContainer;de.forEachOperation((pt,Qt,pn)=>{if(null==pt.previousIndex)ze.createEmbeddedView(this._template,new Zt(pt.item,this._ngForOf,-1,-1),null===pn?void 0:pn);else if(null==pn)ze.remove(null===Qt?void 0:Qt);else if(null!==Qt){const Qn=ze.get(Qt);ze.move(Qn,pn),An(Qn,pt)}});for(let pt=0,Qt=ze.length;pt{An(ze.get(pt.currentIndex),pt)})}static ngTemplateContextGuard(de,ze){return!0}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(a._q3))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),xe})();function An(Y,xe){Y.context.$implicit=xe.item}let hr=(()=>{var Y;class xe{constructor(de,ze){this._viewContainer=de,this._context=new Ke,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ze}set ngIf(de){this._context.$implicit=this._context.ngIf=de,this._updateView()}set ngIfThen(de){et("ngIfThen",de),this._thenTemplateRef=de,this._thenViewRef=null,this._updateView()}set ngIfElse(de){et("ngIfElse",de),this._elseTemplateRef=de,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(de,ze){return!0}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.c1b),a.rXU(a.C4Q))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),xe})();class Ke{constructor(){this.$implicit=null,this.ngIf=null}}function et(Y,xe){if(xe&&!xe.createEmbeddedView)throw new Error(`${Y} must be a TemplateRef, but received '${(0,a.Tbb)(xe)}'.`)}let dt=(()=>{var Y;class xe{constructor(de,ze,pt){this._ngEl=de,this._differs=ze,this._renderer=pt,this._ngStyle=null,this._differ=null}set ngStyle(de){this._ngStyle=de,!this._differ&&de&&(this._differ=this._differs.find(de).create())}ngDoCheck(){if(this._differ){const de=this._differ.diff(this._ngStyle);de&&this._applyChanges(de)}}_setStyle(de,ze){const[pt,Qt]=de.split("."),pn=-1===pt.indexOf("-")?void 0:a.czy.DashCase;null!=ze?this._renderer.setStyle(this._ngEl.nativeElement,pt,Qt?`${ze}${Qt}`:ze,pn):this._renderer.removeStyle(this._ngEl.nativeElement,pt,pn)}_applyChanges(de){de.forEachRemovedItem(ze=>this._setStyle(ze.key,null)),de.forEachAddedItem(ze=>this._setStyle(ze.key,ze.currentValue)),de.forEachChangedItem(ze=>this._setStyle(ze.key,ze.currentValue))}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.aKT),a.rXU(a.MKu),a.rXU(a.sFG))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),xe})(),xt=(()=>{var Y;class xe{constructor(de){this._viewContainerRef=de,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(de){if(this._shouldRecreateView(de)){var ze;const pt=this._viewContainerRef;if(this._viewRef&&pt.remove(pt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Qt=this._createContextForwardProxy();this._viewRef=pt.createEmbeddedView(this.ngTemplateOutlet,Qt,{injector:null!==(ze=this.ngTemplateOutletInjector)&&void 0!==ze?ze:void 0})}}_shouldRecreateView(de){return!!de.ngTemplateOutlet||!!de.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(de,ze,pt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ze,pt),get:(de,ze,pt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ze,pt)}})}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.c1b))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.OA$]}),xe})(),bi=(()=>{var Y;class xe{}return(Y=xe).\u0275fac=function(de){return new(de||Y)},Y.\u0275mod=a.$C({type:Y}),Y.\u0275inj=a.G2t({}),xe})();const Di="browser",Vi="server";function Wr(Y){return Y===Di}function Fi(Y){return Y===Vi}let Ji=(()=>{var Y;class xe{}return(Y=xe).\u0275prov=(0,a.jDH)({token:Y,providedIn:"root",factory:()=>Wr((0,a.WQX)(a.Agw))?new Fr((0,a.WQX)(C),window):new Pi}),xe})();class Fr{constructor(xe,at){this.document=xe,this.window=at,this.offset=()=>[0,0]}setOffset(xe){this.offset=Array.isArray(xe)?()=>xe:xe}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(xe){this.window.scrollTo(xe[0],xe[1])}scrollToAnchor(xe){const at=function oi(Y,xe){const at=Y.getElementById(xe)||Y.getElementsByName(xe)[0];if(at)return at;if("function"==typeof Y.createTreeWalker&&Y.body&&"function"==typeof Y.body.attachShadow){const de=Y.createTreeWalker(Y.body,NodeFilter.SHOW_ELEMENT);let ze=de.currentNode;for(;ze;){const pt=ze.shadowRoot;if(pt){const Qt=pt.getElementById(xe)||pt.querySelector(`[name="${xe}"]`);if(Qt)return Qt}ze=de.nextNode()}}return null}(this.document,xe);at&&(this.scrollToElement(at),at.focus())}setHistoryScrollRestoration(xe){this.window.history.scrollRestoration=xe}scrollToElement(xe){const at=xe.getBoundingClientRect(),de=at.left+this.window.pageXOffset,ze=at.top+this.window.pageYOffset,pt=this.offset();this.window.scrollTo(de-pt[0],ze-pt[1])}}class Pi{setOffset(xe){}getScrollPosition(){return[0,0]}scrollToPosition(xe){}scrollToAnchor(xe){}setHistoryScrollRestoration(xe){}}class Oi{}},1626:(Ce,ee,E)=>{"use strict";E.d(ee,{Lr:()=>B,Qq:()=>L,q1:()=>qt}),E(467);var S=E(4438),p=E(7673),R=E(1985),c=E(6648),D=E(274),C=E(5964),w=E(6354),T=E(980),_=E(5558),g=E(177);class F{}class A{}class B{constructor(lt){this.normalizedNames=new Map,this.lazyUpdate=null,lt?"string"==typeof lt?this.lazyInit=()=>{this.headers=new Map,lt.split("\n").forEach(Tt=>{const wt=Tt.indexOf(":");if(wt>0){const Lt=Tt.slice(0,wt),Yt=Lt.toLowerCase(),Jt=Tt.slice(wt+1).trim();this.maybeSetNormalizedName(Lt,Yt),this.headers.has(Yt)?this.headers.get(Yt).push(Jt):this.headers.set(Yt,[Jt])}})}:typeof Headers<"u"&< instanceof Headers?(this.headers=new Map,lt.forEach((Tt,wt)=>{this.setHeaderEntries(wt,Tt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(lt).forEach(([Tt,wt])=>{this.setHeaderEntries(Tt,wt)})}:this.headers=new Map}has(lt){return this.init(),this.headers.has(lt.toLowerCase())}get(lt){this.init();const Tt=this.headers.get(lt.toLowerCase());return Tt&&Tt.length>0?Tt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(lt){return this.init(),this.headers.get(lt.toLowerCase())||null}append(lt,Tt){return this.clone({name:lt,value:Tt,op:"a"})}set(lt,Tt){return this.clone({name:lt,value:Tt,op:"s"})}delete(lt,Tt){return this.clone({name:lt,value:Tt,op:"d"})}maybeSetNormalizedName(lt,Tt){this.normalizedNames.has(Tt)||this.normalizedNames.set(Tt,lt)}init(){this.lazyInit&&(this.lazyInit instanceof B?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(lt=>this.applyUpdate(lt)),this.lazyUpdate=null))}copyFrom(lt){lt.init(),Array.from(lt.headers.keys()).forEach(Tt=>{this.headers.set(Tt,lt.headers.get(Tt)),this.normalizedNames.set(Tt,lt.normalizedNames.get(Tt))})}clone(lt){const Tt=new B;return Tt.lazyInit=this.lazyInit&&this.lazyInit instanceof B?this.lazyInit:this,Tt.lazyUpdate=(this.lazyUpdate||[]).concat([lt]),Tt}applyUpdate(lt){const Tt=lt.name.toLowerCase();switch(lt.op){case"a":case"s":let wt=lt.value;if("string"==typeof wt&&(wt=[wt]),0===wt.length)return;this.maybeSetNormalizedName(lt.name,Tt);const Lt=("a"===lt.op?this.headers.get(Tt):void 0)||[];Lt.push(...wt),this.headers.set(Tt,Lt);break;case"d":const Yt=lt.value;if(Yt){let Jt=this.headers.get(Tt);if(!Jt)return;Jt=Jt.filter(Zt=>-1===Yt.indexOf(Zt)),0===Jt.length?(this.headers.delete(Tt),this.normalizedNames.delete(Tt)):this.headers.set(Tt,Jt)}else this.headers.delete(Tt),this.normalizedNames.delete(Tt)}}setHeaderEntries(lt,Tt){const wt=(Array.isArray(Tt)?Tt:[Tt]).map(Yt=>Yt.toString()),Lt=lt.toLowerCase();this.headers.set(Lt,wt),this.maybeSetNormalizedName(lt,Lt)}forEach(lt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Tt=>lt(this.normalizedNames.get(Tt),this.headers.get(Tt)))}}class ${encodeKey(lt){return U(lt)}encodeValue(lt){return U(lt)}decodeKey(lt){return decodeURIComponent(lt)}decodeValue(lt){return decodeURIComponent(lt)}}const M=/%(\d[a-f0-9])/gi,O={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U($e){return encodeURIComponent($e).replace(M,(lt,Tt)=>{var wt;return null!==(wt=O[Tt])&&void 0!==wt?wt:lt})}function j($e){return`${$e}`}class W{constructor(lt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=lt.encoder||new $,lt.fromString){if(lt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k($e,lt){const Tt=new Map;return $e.length>0&&$e.replace(/^\?/,"").split("&").forEach(Lt=>{const Yt=Lt.indexOf("="),[Jt,Zt]=-1==Yt?[lt.decodeKey(Lt),""]:[lt.decodeKey(Lt.slice(0,Yt)),lt.decodeValue(Lt.slice(Yt+1))],Tn=Tt.get(Jt)||[];Tn.push(Zt),Tt.set(Jt,Tn)}),Tt}(lt.fromString,this.encoder)}else lt.fromObject?(this.map=new Map,Object.keys(lt.fromObject).forEach(Tt=>{const wt=lt.fromObject[Tt],Lt=Array.isArray(wt)?wt.map(j):[j(wt)];this.map.set(Tt,Lt)})):this.map=null}has(lt){return this.init(),this.map.has(lt)}get(lt){this.init();const Tt=this.map.get(lt);return Tt?Tt[0]:null}getAll(lt){return this.init(),this.map.get(lt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(lt,Tt){return this.clone({param:lt,value:Tt,op:"a"})}appendAll(lt){const Tt=[];return Object.keys(lt).forEach(wt=>{const Lt=lt[wt];Array.isArray(Lt)?Lt.forEach(Yt=>{Tt.push({param:wt,value:Yt,op:"a"})}):Tt.push({param:wt,value:Lt,op:"a"})}),this.clone(Tt)}set(lt,Tt){return this.clone({param:lt,value:Tt,op:"s"})}delete(lt,Tt){return this.clone({param:lt,value:Tt,op:"d"})}toString(){return this.init(),this.keys().map(lt=>{const Tt=this.encoder.encodeKey(lt);return this.map.get(lt).map(wt=>Tt+"="+this.encoder.encodeValue(wt)).join("&")}).filter(lt=>""!==lt).join("&")}clone(lt){const Tt=new W({encoder:this.encoder});return Tt.cloneFrom=this.cloneFrom||this,Tt.updates=(this.updates||[]).concat(lt),Tt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(lt=>this.map.set(lt,this.cloneFrom.map.get(lt))),this.updates.forEach(lt=>{switch(lt.op){case"a":case"s":const Tt=("a"===lt.op?this.map.get(lt.param):void 0)||[];Tt.push(j(lt.value)),this.map.set(lt.param,Tt);break;case"d":if(void 0===lt.value){this.map.delete(lt.param);break}{let wt=this.map.get(lt.param)||[];const Lt=wt.indexOf(j(lt.value));-1!==Lt&&wt.splice(Lt,1),wt.length>0?this.map.set(lt.param,wt):this.map.delete(lt.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(lt,Tt){return this.map.set(lt,Tt),this}get(lt){return this.map.has(lt)||this.map.set(lt,lt.defaultValue()),this.map.get(lt)}delete(lt){return this.map.delete(lt),this}has(lt){return this.map.has(lt)}keys(){return this.map.keys()}}function se($e){return typeof ArrayBuffer<"u"&&$e instanceof ArrayBuffer}function m($e){return typeof Blob<"u"&&$e instanceof Blob}function n($e){return typeof FormData<"u"&&$e instanceof FormData}class u{constructor(lt,Tt,wt,Lt){var Yt,Jt;let Zt;if(this.url=Tt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=lt.toUpperCase(),function te($e){switch($e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Lt?(this.body=void 0!==wt?wt:null,Zt=Lt):Zt=wt,Zt&&(this.reportProgress=!!Zt.reportProgress,this.withCredentials=!!Zt.withCredentials,Zt.responseType&&(this.responseType=Zt.responseType),Zt.headers&&(this.headers=Zt.headers),Zt.context&&(this.context=Zt.context),Zt.params&&(this.params=Zt.params),this.transferCache=Zt.transferCache),null!==(Yt=this.headers)&&void 0!==Yt||(this.headers=new B),null!==(Jt=this.context)&&void 0!==Jt||(this.context=new me),this.params){const Tn=this.params.toString();if(0===Tn.length)this.urlWithParams=Tt;else{const An=Tt.indexOf("?");this.urlWithParams=Tt+(-1===An?"?":Anbt.set(Kt,lt.setHeaders[Kt]),et)),lt.setParams&&(Te=Object.keys(lt.setParams).reduce((bt,Kt)=>bt.set(Kt,lt.setParams[Kt]),Te)),new u(Jt,Zt,Kn,{params:Te,headers:et,context:qe,reportProgress:Ke,responseType:Tn,withCredentials:hr,transferCache:An})}}var s=function($e){return $e[$e.Sent=0]="Sent",$e[$e.UploadProgress=1]="UploadProgress",$e[$e.ResponseHeader=2]="ResponseHeader",$e[$e.DownloadProgress=3]="DownloadProgress",$e[$e.Response=4]="Response",$e[$e.User=5]="User",$e}(s||{});class h{constructor(lt,Tt=r.Ok,wt="OK"){this.headers=lt.headers||new B,this.status=void 0!==lt.status?lt.status:Tt,this.statusText=lt.statusText||wt,this.url=lt.url||null,this.ok=this.status>=200&&this.status<300}}class v extends h{constructor(lt={}){super(lt),this.type=s.ResponseHeader}clone(lt={}){return new v({headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class y extends h{constructor(lt={}){super(lt),this.type=s.Response,this.body=void 0!==lt.body?lt.body:null}clone(lt={}){return new y({body:void 0!==lt.body?lt.body:this.body,headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class f extends h{constructor(lt){super(lt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${lt.url||"(unknown url)"}`:`Http failure response for ${lt.url||"(unknown url)"}: ${lt.status} ${lt.statusText}`,this.error=lt.error||null}}var r=function($e){return $e[$e.Continue=100]="Continue",$e[$e.SwitchingProtocols=101]="SwitchingProtocols",$e[$e.Processing=102]="Processing",$e[$e.EarlyHints=103]="EarlyHints",$e[$e.Ok=200]="Ok",$e[$e.Created=201]="Created",$e[$e.Accepted=202]="Accepted",$e[$e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",$e[$e.NoContent=204]="NoContent",$e[$e.ResetContent=205]="ResetContent",$e[$e.PartialContent=206]="PartialContent",$e[$e.MultiStatus=207]="MultiStatus",$e[$e.AlreadyReported=208]="AlreadyReported",$e[$e.ImUsed=226]="ImUsed",$e[$e.MultipleChoices=300]="MultipleChoices",$e[$e.MovedPermanently=301]="MovedPermanently",$e[$e.Found=302]="Found",$e[$e.SeeOther=303]="SeeOther",$e[$e.NotModified=304]="NotModified",$e[$e.UseProxy=305]="UseProxy",$e[$e.Unused=306]="Unused",$e[$e.TemporaryRedirect=307]="TemporaryRedirect",$e[$e.PermanentRedirect=308]="PermanentRedirect",$e[$e.BadRequest=400]="BadRequest",$e[$e.Unauthorized=401]="Unauthorized",$e[$e.PaymentRequired=402]="PaymentRequired",$e[$e.Forbidden=403]="Forbidden",$e[$e.NotFound=404]="NotFound",$e[$e.MethodNotAllowed=405]="MethodNotAllowed",$e[$e.NotAcceptable=406]="NotAcceptable",$e[$e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",$e[$e.RequestTimeout=408]="RequestTimeout",$e[$e.Conflict=409]="Conflict",$e[$e.Gone=410]="Gone",$e[$e.LengthRequired=411]="LengthRequired",$e[$e.PreconditionFailed=412]="PreconditionFailed",$e[$e.PayloadTooLarge=413]="PayloadTooLarge",$e[$e.UriTooLong=414]="UriTooLong",$e[$e.UnsupportedMediaType=415]="UnsupportedMediaType",$e[$e.RangeNotSatisfiable=416]="RangeNotSatisfiable",$e[$e.ExpectationFailed=417]="ExpectationFailed",$e[$e.ImATeapot=418]="ImATeapot",$e[$e.MisdirectedRequest=421]="MisdirectedRequest",$e[$e.UnprocessableEntity=422]="UnprocessableEntity",$e[$e.Locked=423]="Locked",$e[$e.FailedDependency=424]="FailedDependency",$e[$e.TooEarly=425]="TooEarly",$e[$e.UpgradeRequired=426]="UpgradeRequired",$e[$e.PreconditionRequired=428]="PreconditionRequired",$e[$e.TooManyRequests=429]="TooManyRequests",$e[$e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",$e[$e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",$e[$e.InternalServerError=500]="InternalServerError",$e[$e.NotImplemented=501]="NotImplemented",$e[$e.BadGateway=502]="BadGateway",$e[$e.ServiceUnavailable=503]="ServiceUnavailable",$e[$e.GatewayTimeout=504]="GatewayTimeout",$e[$e.HttpVersionNotSupported=505]="HttpVersionNotSupported",$e[$e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",$e[$e.InsufficientStorage=507]="InsufficientStorage",$e[$e.LoopDetected=508]="LoopDetected",$e[$e.NotExtended=510]="NotExtended",$e[$e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",$e}(r||{});function d($e,lt){return{body:lt,headers:$e.headers,context:$e.context,observe:$e.observe,params:$e.params,reportProgress:$e.reportProgress,responseType:$e.responseType,withCredentials:$e.withCredentials,transferCache:$e.transferCache}}let L=(()=>{var $e;class lt{constructor(wt){this.handler=wt}request(wt,Lt,Yt={}){let Jt;if(wt instanceof u)Jt=wt;else{let An,Kn;An=Yt.headers instanceof B?Yt.headers:new B(Yt.headers),Yt.params&&(Kn=Yt.params instanceof W?Yt.params:new W({fromObject:Yt.params})),Jt=new u(wt,Lt,void 0!==Yt.body?Yt.body:null,{headers:An,context:Yt.context,params:Kn,reportProgress:Yt.reportProgress,responseType:Yt.responseType||"json",withCredentials:Yt.withCredentials,transferCache:Yt.transferCache})}const Zt=(0,p.of)(Jt).pipe((0,D.H)(An=>this.handler.handle(An)));if(wt instanceof u||"events"===Yt.observe)return Zt;const Tn=Zt.pipe((0,C.p)(An=>An instanceof y));switch(Yt.observe||"body"){case"body":switch(Jt.responseType){case"arraybuffer":return Tn.pipe((0,w.T)(An=>{if(null!==An.body&&!(An.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return An.body}));case"blob":return Tn.pipe((0,w.T)(An=>{if(null!==An.body&&!(An.body instanceof Blob))throw new Error("Response is not a Blob.");return An.body}));case"text":return Tn.pipe((0,w.T)(An=>{if(null!==An.body&&"string"!=typeof An.body)throw new Error("Response is not a string.");return An.body}));default:return Tn.pipe((0,w.T)(An=>An.body))}case"response":return Tn;default:throw new Error(`Unreachable: unhandled observe type ${Yt.observe}}`)}}delete(wt,Lt={}){return this.request("DELETE",wt,Lt)}get(wt,Lt={}){return this.request("GET",wt,Lt)}head(wt,Lt={}){return this.request("HEAD",wt,Lt)}jsonp(wt,Lt){return this.request("JSONP",wt,{params:(new W).append(Lt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(wt,Lt={}){return this.request("OPTIONS",wt,Lt)}patch(wt,Lt,Yt={}){return this.request("PATCH",wt,d(Yt,Lt))}post(wt,Lt,Yt={}){return this.request("POST",wt,d(Yt,Lt))}put(wt,Lt,Yt={}){return this.request("PUT",wt,d(Yt,Lt))}}return($e=lt).\u0275fac=function(wt){return new(wt||$e)(S.KVO(F))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();function ae($e,lt){return lt($e)}function tt($e,lt){return(Tt,wt)=>lt.intercept(Tt,{handle:Lt=>$e(Lt,wt)})}const pe=new S.nKC(""),Ie=new S.nKC(""),Se=new S.nKC(""),re=new S.nKC("");function ne(){let $e=null;return(lt,Tt)=>{var wt;null===$e&&($e=(null!==(wt=(0,S.WQX)(pe,{optional:!0}))&&void 0!==wt?wt:[]).reduceRight(tt,ae));const Lt=(0,S.WQX)(S.TgB),Yt=Lt.add();return $e(lt,Tt).pipe((0,T.j)(()=>Lt.remove(Yt)))}}let vt=(()=>{var $e;class lt extends F{constructor(wt,Lt){super(),this.backend=wt,this.injector=Lt,this.chain=null,this.pendingTasks=(0,S.WQX)(S.TgB);const Yt=(0,S.WQX)(re,{optional:!0});this.backend=null!=Yt?Yt:wt}handle(wt){if(null===this.chain){const Yt=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(Se,[])]));this.chain=Yt.reduceRight((Jt,Zt)=>function Oe($e,lt,Tt){return(wt,Lt)=>(0,S.N4e)(Tt,()=>lt(wt,Yt=>$e(Yt,Lt)))}(Jt,Zt,this.injector),ae)}const Lt=this.pendingTasks.add();return this.chain(wt,Yt=>this.backend.handle(Yt)).pipe((0,T.j)(()=>this.pendingTasks.remove(Lt)))}}return($e=lt).\u0275fac=function(wt){return new(wt||$e)(S.KVO(A),S.KVO(S.uvJ))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();const yn=/^\)\]\}',?\n/;let _t=(()=>{var $e;class lt{constructor(wt){this.xhrFactory=wt}handle(wt){if("JSONP"===wt.method)throw new S.wOt(-2800,!1);const Lt=this.xhrFactory;return(Lt.\u0275loadImpl?(0,c.H)(Lt.\u0275loadImpl()):(0,p.of)(null)).pipe((0,_.n)(()=>new R.c(Jt=>{const Zt=Lt.build();if(Zt.open(wt.method,wt.urlWithParams),wt.withCredentials&&(Zt.withCredentials=!0),wt.headers.forEach((bt,Kt)=>Zt.setRequestHeader(bt,Kt.join(","))),wt.headers.has("Accept")||Zt.setRequestHeader("Accept","application/json, text/plain, */*"),!wt.headers.has("Content-Type")){const bt=wt.detectContentTypeHeader();null!==bt&&Zt.setRequestHeader("Content-Type",bt)}if(wt.responseType){const bt=wt.responseType.toLowerCase();Zt.responseType="json"!==bt?bt:"text"}const Tn=wt.serializeBody();let An=null;const Kn=()=>{if(null!==An)return An;const bt=Zt.statusText||"OK",Kt=new B(Zt.getAllResponseHeaders()),hn=function Dt($e){return"responseURL"in $e&&$e.responseURL?$e.responseURL:/^X-Request-URL:/m.test($e.getAllResponseHeaders())?$e.getResponseHeader("X-Request-URL"):null}(Zt)||wt.url;return An=new v({headers:Kt,status:Zt.status,statusText:bt,url:hn}),An},hr=()=>{let{headers:bt,status:Kt,statusText:hn,url:Et}=Kn(),zt=null;Kt!==r.NoContent&&(zt=typeof Zt.response>"u"?Zt.responseText:Zt.response),0===Kt&&(Kt=zt?r.Ok:0);let ye=Kt>=200&&Kt<300;if("json"===wt.responseType&&"string"==typeof zt){const We=zt;zt=zt.replace(yn,"");try{zt=""!==zt?JSON.parse(zt):null}catch(dt){zt=We,ye&&(ye=!1,zt={error:dt,text:zt})}}ye?(Jt.next(new y({body:zt,headers:bt,status:Kt,statusText:hn,url:Et||void 0})),Jt.complete()):Jt.error(new f({error:zt,headers:bt,status:Kt,statusText:hn,url:Et||void 0}))},Ke=bt=>{const{url:Kt}=Kn(),hn=new f({error:bt,status:Zt.status||0,statusText:Zt.statusText||"Unknown Error",url:Kt||void 0});Jt.error(hn)};let et=!1;const Te=bt=>{et||(Jt.next(Kn()),et=!0);let Kt={type:s.DownloadProgress,loaded:bt.loaded};bt.lengthComputable&&(Kt.total=bt.total),"text"===wt.responseType&&Zt.responseText&&(Kt.partialText=Zt.responseText),Jt.next(Kt)},qe=bt=>{let Kt={type:s.UploadProgress,loaded:bt.loaded};bt.lengthComputable&&(Kt.total=bt.total),Jt.next(Kt)};return Zt.addEventListener("load",hr),Zt.addEventListener("error",Ke),Zt.addEventListener("timeout",Ke),Zt.addEventListener("abort",Ke),wt.reportProgress&&(Zt.addEventListener("progress",Te),null!==Tn&&Zt.upload&&Zt.upload.addEventListener("progress",qe)),Zt.send(Tn),Jt.next({type:s.Sent}),()=>{Zt.removeEventListener("error",Ke),Zt.removeEventListener("abort",Ke),Zt.removeEventListener("load",hr),Zt.removeEventListener("timeout",Ke),wt.reportProgress&&(Zt.removeEventListener("progress",Te),null!==Tn&&Zt.upload&&Zt.upload.removeEventListener("progress",qe)),Zt.readyState!==Zt.DONE&&Zt.abort()}})))}}return($e=lt).\u0275fac=function(wt){return new(wt||$e)(S.KVO(g.N0))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();const Cn=new S.nKC(""),ft=new S.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),kt=new S.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Nt{}let Un=(()=>{var $e;class lt{constructor(wt,Lt,Yt){this.doc=wt,this.platform=Lt,this.cookieName=Yt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const wt=this.doc.cookie||"";return wt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,g._b)(wt,this.cookieName),this.lastCookieString=wt),this.lastToken}}return($e=lt).\u0275fac=function(wt){return new(wt||$e)(S.KVO(g.qQ),S.KVO(S.Agw),S.KVO(ft))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();function Vt($e,lt){const Tt=$e.url.toLowerCase();if(!(0,S.WQX)(Cn)||"GET"===$e.method||"HEAD"===$e.method||Tt.startsWith("http://")||Tt.startsWith("https://"))return lt($e);const wt=(0,S.WQX)(Nt).getToken(),Lt=(0,S.WQX)(kt);return null!=wt&&!$e.headers.has(Lt)&&($e=$e.clone({headers:$e.headers.set(Lt,wt)})),lt($e)}var _e=function($e){return $e[$e.Interceptors=0]="Interceptors",$e[$e.LegacyInterceptors=1]="LegacyInterceptors",$e[$e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",$e[$e.NoXsrfProtection=3]="NoXsrfProtection",$e[$e.JsonpSupport=4]="JsonpSupport",$e[$e.RequestsMadeViaParent=5]="RequestsMadeViaParent",$e[$e.Fetch=6]="Fetch",$e}(_e||{});function De($e,lt){return{\u0275kind:$e,\u0275providers:lt}}function Me(...$e){const lt=[L,_t,vt,{provide:F,useExisting:vt},{provide:A,useExisting:_t},{provide:Ie,useValue:Vt,multi:!0},{provide:Cn,useValue:!0},{provide:Nt,useClass:Un}];for(const Tt of $e)lt.push(...Tt.\u0275providers);return(0,S.EmA)(lt)}const Ve=new S.nKC("");let qt=(()=>{var $e;class lt{}return($e=lt).\u0275fac=function(wt){return new(wt||$e)},$e.\u0275mod=S.$C({type:$e}),$e.\u0275inj=S.G2t({providers:[Me(De(_e.LegacyInterceptors,[{provide:Ve,useFactory:ne},{provide:Ie,useExisting:Ve,multi:!0}]))]}),lt})()},4438:(Ce,ee,E)=>{"use strict";E.d(ee,{iLQ:()=>vf,sZ2:()=>Lh,hnV:()=>Yg,Hbi:()=>MA,o8S:()=>Qo,BIS:()=>ly,gRc:()=>l1,Ql9:()=>QD,Ocv:()=>oA,Z63:()=>Mr,aKT:()=>Za,uvJ:()=>di,zcH:()=>So,bkB:()=>ho,$GK:()=>tn,nKC:()=>Lt,zZn:()=>Bi,_q3:()=>Af,MKu:()=>Mf,xe9:()=>gc,Co$:()=>Zx,Vns:()=>ys,SKi:()=>Hr,Xx1:()=>Wr,Agw:()=>o0,PLl:()=>$h,sFG:()=>R9,_9s:()=>ox,czy:()=>Su,WPN:()=>ms,kdw:()=>mi,C4Q:()=>xl,NYb:()=>zD,giA:()=>Gg,RxE:()=>Ug,c1b:()=>Xu,gXe:()=>ui,mal:()=>fx,L39:()=>e3,a0P:()=>l3,Ol2:()=>md,w6W:()=>OC,oH4:()=>i1,SmG:()=>cA,Rfq:()=>Vt,WQX:()=>jn,QuC:()=>si,EmA:()=>Oo,fpN:()=>AA,HJs:()=>u3,N4e:()=>oo,O8t:()=>n3,H3F:()=>Vg,H8p:()=>No,KH2:()=>ba,TgB:()=>ra,wOt:()=>G,WHO:()=>Wg,e01:()=>Kg,lNU:()=>ne,h9k:()=>ip,$MX:()=>Mu,ZF7:()=>Ys,Kcf:()=>By,e5t:()=>Fy,UyX:()=>Iy,cWb:()=>Sy,osQ:()=>Ty,H5H:()=>zd,Zy3:()=>Ee,mq5:()=>qv,JZv:()=>Dt,LfX:()=>$n,plB:()=>Go,jNT:()=>pf,zjR:()=>Xg,TL$:()=>sy,Tbb:()=>In,rcV:()=>Io,Vt3:()=>pd,Mj6:()=>Ri,GFd:()=>Yx,OA$:()=>fr,Jv_:()=>fg,aNF:()=>hg,R7$:()=>Bp,BMQ:()=>Bd,ZvI:()=>zv,AVh:()=>Od,wni:()=>Vm,VBU:()=>Ba,FsC:()=>ns,jDH:()=>Dn,G2t:()=>Vn,$C:()=>ts,EJ8:()=>Co,rXU:()=>Js,nrm:()=>Ud,eu8:()=>Hd,k0s:()=>lc,j41:()=>ac,RV6:()=>Zv,xGo:()=>ah,KVO:()=>Ar,kS0:()=>du,QTQ:()=>Ip,bIt:()=>Gd,lsd:()=>zm,XpG:()=>Im,nI1:()=>Dg,bMT:()=>Ag,SdG:()=>Fm,NAR:()=>Tm,Y8G:()=>Fd,FS9:()=>Yd,lJ4:()=>xg,eq3:()=>vg,l_i:()=>mg,mGM:()=>Hm,Njj:()=>Lf,eBV:()=>kf,f$h:()=>y0,B4B:()=>E0,n$t:()=>op,muq:()=>Wm,DNE:()=>ia,EFF:()=>tg,JRh:()=>Qd,SpI:()=>hc,Lme:()=>Jd,DH7:()=>cg,mxI:()=>ef,R50:()=>qd,GBs:()=>jm}),E(467);let p=null,c=1;const D=Symbol("SIGNAL");function C(e){const t=p;return p=e,t}function B(e){if((!me(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==c)){if(!e.producerMustRecompute(e)&&!U(e))return e.dirty=!1,void(e.lastCleanEpoch=c);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=c}}function U(e){te(e);for(let t=0;t0}function te(e){var t,i,l;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(i=e.producerIndexOfThis)&&void 0!==i||(e.producerIndexOfThis=[]),null!==(l=e.producerLastReadVersion)&&void 0!==l||(e.producerLastReadVersion=[])}let v=null;var Oe=E(1413),pe=E(8359),Ie=E(4412),Se=E(6354);const ne="https://g.co/ng/security#xss";class G extends Error{constructor(t,i){super(Ee(t,i)),this.code=t}}function Ee(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ht(e){return{toString:e}.toString()}const Mt="__parameters__";function Ft(e,t,i){return ht(()=>{const l=function It(e){return function(...i){if(e){const l=e(...i);for(const x in l)this[x]=l[x]}}}(t);function x(...b){if(this instanceof x)return l.apply(this,b),this;const N=new x(...b);return H.annotation=N,H;function H(K,he,we){const Re=K.hasOwnProperty(Mt)?K[Mt]:Object.defineProperty(K,Mt,{value:[]})[Mt];for(;Re.length<=we;)Re.push(null);return(Re[we]=Re[we]||[]).push(N),K}}return i&&(x.prototype=Object.create(i.prototype)),x.prototype.ngMetadataName=e,x.annotationCls=x,x})}const Dt=globalThis;function St(e){for(let t in e)if(e[t]===St)return t;throw Error("Could not find renamed property on target object.")}function ft(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function In(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(In).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function kt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Un=St({__forward_ref__:St});function Vt(e){return e.__forward_ref__=Vt,e.toString=function(){return In(this())},e}function He(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(Un)&&e.__forward_ref__===Vt}function Dn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fn(e){return Xn(e,$e)||Xn(e,Tt)}function $n(e){return null!==Fn(e)}function Xn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Hn(e){return e&&(e.hasOwnProperty(lt)||e.hasOwnProperty(wt))?e[lt]:null}const $e=St({\u0275prov:St}),lt=St({\u0275inj:St}),Tt=St({ngInjectableDef:St}),wt=St({ngInjectorDef:St});class Lt{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Dn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qe(e){return e&&!!e.\u0275providers}const bt=St({\u0275cmp:St}),Kt=St({\u0275dir:St}),hn=St({\u0275pipe:St}),Et=St({\u0275mod:St}),zt=St({\u0275fac:St}),ye=St({__NG_ELEMENT_ID__:St}),We=St({__NG_ENV_ID__:St});function dt(e){return"string"==typeof e?e:null==e?"":String(e)}function un(e,t){throw new G(-201,!1)}var tn=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}(tn||{});let Mn;function Bn(){return Mn}function On(e){const t=Mn;return Mn=e,t}function pr(e,t,i){const l=Fn(e);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:i&tn.Optional?null:void 0!==t?t:void un()}const le={},Ye="__NG_DI_FLAG__",Bt="ngTempTokenPath",cr=/\n/gm,qr="__source";let Qr;function zr(e){const t=Qr;return Qr=e,t}function Ui(e,t=tn.Default){if(void 0===Qr)throw new G(-203,!1);return null===Qr?pr(e,void 0,t):Qr.get(e,t&tn.Optional?null:void 0,t)}function Ar(e,t=tn.Default){return(Bn()||Ui)(He(e),t)}function jn(e,t=tn.Default){return Ar(e,vi(t))}function vi(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ti(e){const t=[];for(let i=0;iArray.isArray(i)?oi(i,t):t(i))}function Pi(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Oi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ut(e,t,i){let l=_n(e,t);return l>=0?e[1|l]=i:(l=~l,function Fe(e,t,i,l){let x=e.length;if(x==t)e.push(i,l);else if(1===x)e.push(l,e[0]),e[0]=i;else{for(x--,e.push(e[x-1],e[x]);x>t;)e[x]=e[x-2],x--;e[t]=i,e[t+1]=l}}(e,l,t,i)),l}function gn(e,t){const i=_n(e,t);if(i>=0)return e[1|i]}function _n(e,t){return function mr(e,t,i){let l=0,x=e.length>>i;for(;x!==l;){const b=l+(x-l>>1),N=e[b<t?x=b:l=b+1}return~(x<t){N=b-1;break}}}for(;b-1){let b;for(;++xb?"":x[we+1].toLowerCase(),2&l&&he!==Re){if(jr(l))return!1;N=!0}}}}else{if(!N&&!jr(l)&&!jr(K))return!1;if(N&&jr(K))continue;N=!1,l=K|1&l}}return jr(l)||N}function jr(e){return!(1&e)}function Eo(e,t,i,l){if(null===t)return-1;let x=0;if(l||!i){let b=!1;for(;x-1)for(i++;i0?'="'+H+'"':"")+"]"}else 8&l?x+="."+N:4&l&&(x+=" "+N);else""!==x&&!jr(N)&&(t+=_a(b,x),x=""),l=N,b=b||!jr(l);i++}return""!==x&&(t+=_a(b,x)),t}function Ba(e){return ht(()=>{var t;const i=rs(e),l={...i,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===eo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||ui.Emulated,styles:e.styles||Pn,_:null,schemas:e.schemas||null,tView:null,id:""};is(l);const x=e.dependencies;return l.directiveDefs=zi(x,!1),l.pipeDefs=zi(x,!0),l.id=function Ta(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const x of i)t=Math.imul(31,t)+x.charCodeAt(0)|0;return t+=2147483648,"c"+t}(l),l})}function Xl(e){return tr(e)||Nr(e)}function Sa(e){return null!==e}function ts(e){return ht(()=>({type:e.type,bootstrap:e.bootstrap||Pn,declarations:e.declarations||Pn,imports:e.imports||Pn,exports:e.exports||Pn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ia(e,t){if(null==e)return Rn;const i={};for(const x in e)if(e.hasOwnProperty(x)){const b=e[x];let N,H,K=Ri.None;var l;Array.isArray(b)?(K=b[0],N=b[1],H=null!==(l=b[2])&&void 0!==l?l:N):(N=b,H=b),t?(i[N]=K!==Ri.None?[x,K]:x,t[N]=H):i[N]=x}return i}function ns(e){return ht(()=>{const t=rs(e);return is(t),t})}function Co(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function tr(e){return e[bt]||null}function Nr(e){return e[Kt]||null}function Or(e){return e[hn]||null}function si(e){const t=tr(e)||Nr(e)||Or(e);return null!==t&&t.standalone}function Kr(e,t){const i=e[Et]||null;if(!i&&!0===t)throw new Error(`Type ${In(e)} does not have '\u0275mod' property.`);return i}function rs(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Rn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Pn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ia(e.inputs,t),outputs:Ia(e.outputs),debugInfo:null}}function is(e){var t;null===(t=e.features)||void 0===t||t.forEach(i=>i(e))}function zi(e,t){if(!e)return null;const i=t?Or:Xl;return()=>("function"==typeof e?e():e).map(l=>i(l)).filter(Sa)}function Oo(e){return{\u0275providers:e}}function Bs(...e){return{\u0275providers:Ro(0,e),\u0275fromNgModule:!0}}function Ro(e,...t){const i=[],l=new Set;let x;const b=N=>{i.push(N)};return oi(t,N=>{const H=N;no(H,b,[],l)&&(x||(x=[]),x.push(H))}),void 0!==x&&Ss(x,b),i}function Ss(e,t){for(let i=0;i{t(b,l)})}}function no(e,t,i,l){if(!(e=He(e)))return!1;let x=null,b=Hn(e);const N=!b&&tr(e);if(b||N){if(N&&!N.standalone)return!1;x=e}else{const K=e.ngModule;if(b=Hn(K),!b)return!1;x=K}const H=l.has(x);if(N){if(H)return!1;if(l.add(x),N.dependencies){const K="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const he of K)no(he,t,i,l)}}else{if(!b)return!1;{if(null!=b.imports&&!H){let he;l.add(x);try{oi(b.imports,we=>{no(we,t,i,l)&&(he||(he=[]),he.push(we))})}finally{}void 0!==he&&Ss(he,t)}if(!H){const he=ei(x)||(()=>new x);t({provide:x,useFactory:he,deps:Pn},x),t({provide:qi,useValue:x,multi:!0},x),t({provide:Mr,useValue:()=>Ar(x),multi:!0},x)}const K=b.providers;if(null!=K&&!H){const he=e;Is(K,we=>{t(we,he)})}}}return x!==e&&void 0!==e.providers}function Is(e,t){for(let i of e)qe(i)&&(i=i.\u0275providers),Array.isArray(i)?Is(i,t):t(i)}const Zl=St({provide:String,useValue:St});function Ts(e){return null!==e&&"object"==typeof e&&Zl in e}function Wi(e){return"function"==typeof e}const No=new Lt(""),Fs={},Ra={};let Ps;function ko(){return void 0===Ps&&(Ps=new Hi),Ps}class di{}class ro extends di{get destroyed(){return this._destroyed}constructor(t,i,l,x){super(),this.parent=i,this.source=l,this.scopes=x,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lo(t,N=>this.processProvider(N)),this.records.set(qo,io(void 0,this)),x.has("environment")&&this.records.set(di,io(void 0,this));const b=this.records.get(No);null!=b&&"string"==typeof b.value&&this.scopes.add(b.value),this.injectorDefTypes=new Set(this.get(qi,Pn,tn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=C(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of i)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=zr(this),l=On(void 0);try{return t()}finally{zr(i),On(l)}}get(t,i=le,l=tn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(We))return t[We](this);l=vi(l);const b=zr(this),N=On(void 0);try{if(!(l&tn.SkipSelf)){let K=this.records.get(t);if(void 0===K){const he=function Do(e){return"function"==typeof e||"object"==typeof e&&e instanceof Lt}(t)&&Fn(t);K=he&&this.injectableDefInScope(he)?io(Os(t),Fs):null,this.records.set(t,K)}if(null!=K)return this.hydrate(t,K)}return(l&tn.Self?ko():this.parent).get(t,i=l&tn.Optional&&i===le?null:i)}catch(H){if("NullInjectorError"===H.name){if((H[Bt]=H[Bt]||[]).unshift(In(t)),b)throw H;return function Vi(e,t,i,l){const x=e[Bt];throw t[qr]&&x.unshift(t[qr]),e.message=function Ai(e,t,i,l=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let x=In(t);if(Array.isArray(t))x=t.map(In).join(" -> ");else if("object"==typeof t){let b=[];for(let N in t)if(t.hasOwnProperty(N)){let H=t[N];b.push(N+":"+("string"==typeof H?JSON.stringify(H):In(H)))}x=`{${b.join(", ")}}`}return`${i}${l?"("+l+")":""}[${x}]: ${e.replace(cr,"\n ")}`}("\n"+e.message,x,i,l),e.ngTokenPath=x,e[Bt]=null,e}(H,t,"R3InjectorError",this.source)}throw H}finally{On(N),zr(b)}}resolveInjectorInitializers(){const t=C(null),i=zr(this),l=On(void 0);try{const b=this.get(Mr,Pn,tn.Self);for(const N of b)N()}finally{zr(i),On(l),C(t)}}toString(){const t=[],i=this.records;for(const l of i.keys())t.push(In(l));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new G(205,!1)}processProvider(t){let i=Wi(t=He(t))?t:He(t&&t.provide);const l=function Jl(e){return Ts(e)?io(void 0,e.useValue):io(os(e),Fs)}(t);if(!Wi(t)&&!0===t.multi){let x=this.records.get(i);x||(x=io(void 0,Fs,!0),x.factory=()=>Ti(x.multi),this.records.set(i,x)),i=t,x.multi.push(t)}this.records.set(i,l)}hydrate(t,i){const l=C(null);try{return i.value===Fs&&(i.value=Ra,i.value=i.factory()),"object"==typeof i.value&&i.value&&function bo(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{C(l)}}injectableDefInScope(t){if(!t.providedIn)return!1;const i=He(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Os(e){const t=Fn(e),i=null!==t?t.factory:ei(e);if(null!==i)return i;if(e instanceof Lt)throw new G(204,!1);if(e instanceof Function)return function Ql(e){if(e.length>0)throw new G(204,!1);const i=function Yn(e){return e&&(e[$e]||e[Tt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new G(204,!1)}function os(e,t,i){let l;if(Wi(e)){const x=He(e);return ei(x)||Os(x)}if(Ts(e))l=()=>He(e.useValue);else if(function Pa(e){return!(!e||!e.useFactory)}(e))l=()=>e.useFactory(...Ti(e.deps||[]));else if(function Fa(e){return!(!e||!e.useExisting)}(e))l=()=>Ar(He(e.useExisting));else{const x=He(e&&(e.useClass||e.provide));if(!function ql(e){return!!e.deps}(e))return ei(x)||Os(x);l=()=>new x(...Ti(e.deps))}return l}function io(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Lo(e,t){for(const i of e)Array.isArray(i)?Lo(i,t):i&&qe(i)?Lo(i.\u0275providers,t):t(i)}function oo(e,t){e instanceof ro&&e.assertNotDestroyed();const l=zr(e),x=On(void 0);try{return t()}finally{zr(l),On(x)}}function Na(){return void 0!==Bn()||null!=function ii(){return Qr}()}const xr=0,mn=1,Nn=2,or=3,Lr=4,wr=5,Ir=6,Ni=7,Cr=8,Rr=9,Mi=10,Jn=11,ss=12,Rs=13,Ao=14,Tr=15,Uo=16,ti=17,ki=18,Ns=19,_c=20,Mo=21,Vo=22,so=23,qn=25,ka=1,Ki=7,jo=9,kr=10;var eu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(eu||{});function ni(e){return Array.isArray(e)&&"object"==typeof e[ka]}function Jr(e){return Array.isArray(e)&&!0===e[ka]}function La(e){return!!(4&e.flags)}function Ho(e){return e.componentOffset>-1}function us(e){return!(1&~e.flags)}function wi(e){return!!e.template}function $a(e){return!!(512&e[Nn])}class er{constructor(t,i,l){this.previousValue=t,this.currentValue=i,this.firstChange=l}isFirstChange(){return this.firstChange}}function _r(e,t,i,l){null!==t?t.applyValueToInputSignal(t,l):e[i]=l}function fr(){return Gr}function Gr(e){return e.type.prototype.ngOnChanges&&(e.setInput=cs),wo}function wo(){const e=Wo(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Rn)e.previous=t;else for(let l in t)i[l]=t[l];e.current=null,this.ngOnChanges(t)}}function cs(e,t,i,l,x){const b=this.declaredInputs[l],N=Wo(e)||function ds(e,t){return e[zo]=t}(e,{previous:Rn,current:null}),H=N.current||(N.current={}),K=N.previous,he=K[b];H[b]=new er(he&&he.currentValue,i,K===Rn),_r(e,t,x,i)}fr.ngInherit=!0;const zo="__ngSimpleChanges__";function Wo(e){return e[zo]||null}const ao=function(e,t,i){};let Ff=!1;function br(e){for(;Array.isArray(e);)e=e[xr];return e}function ja(e,t){return br(t[e])}function fi(e,t){return br(t[e.index])}function Ha(e,t){return e.data[t]}function _i(e,t){const i=t[e];return ni(i)?i:i[xr]}function Fc(e){return!(128&~e[Nn])}function lo(e,t){return null==t?null:e[t]}function Pf(e){e[ti]=0}function Y1(e){1024&e[Nn]||(e[Nn]|=1024,Fc(e)&&za(e))}function Pc(e){var t;return!!(9216&e[Nn]||null!==(t=e[so])&&void 0!==t&&t.dirty)}function Oc(e){var t;if(null===(t=e[Mi].changeDetectionScheduler)||void 0===t||t.notify(1),Pc(e))za(e);else if(64&e[Nn])if(function W1(){return Ff}())e[Nn]|=1024,za(e);else{var i;null===(i=e[Mi].changeDetectionScheduler)||void 0===i||i.notify()}}function za(e){var t;null===(t=e[Mi].changeDetectionScheduler)||void 0===t||t.notify();let i=hs(e);for(;null!==i&&!(8192&i[Nn])&&(i[Nn]|=8192,Fc(i));)i=hs(i)}function nu(e,t){if(!(256&~e[Nn]))throw new G(911,!1);null===e[Mo]&&(e[Mo]=[]),e[Mo].push(t)}function hs(e){const t=e[or];return Jr(t)?t[or]:t}const nr={lFrame:Wf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nf(){return nr.bindingsEnabled}function $s(){return null!==nr.skipHydrationRootTNode}function sn(){return nr.lFrame.lView}function ur(){return nr.lFrame.tView}function kf(e){return nr.lFrame.contextLView=e,e[Cr]}function Lf(e){return nr.lFrame.contextLView=null,e}function yr(){let e=$f();for(;null!==e&&64===e.type;)e=e.parent;return e}function $f(){return nr.lFrame.currentTNode}function uo(e,t){const i=nr.lFrame;i.currentTNode=e,i.isParent=t}function Nc(){return nr.lFrame.isParent}function kc(){nr.lFrame.isParent=!1}function hi(){const e=nr.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Gi(){return nr.lFrame.bindingIndex++}function Bo(e){const t=nr.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function sE(e,t){const i=nr.lFrame;i.bindingIndex=i.bindingRootIndex=e,Lc(t)}function Lc(e){nr.lFrame.currentDirectiveIndex=e}function Uc(){return nr.lFrame.currentQueryIndex}function ru(e){nr.lFrame.currentQueryIndex=e}function lE(e){const t=e[mn];return 2===t.type?t.declTNode:1===t.type?e[wr]:null}function Hf(e,t,i){if(i&tn.SkipSelf){let x=t,b=e;for(;!(x=x.parent,null!==x||i&tn.Host||(x=lE(b),null===x||(b=b[Ao],10&x.type))););if(null===x)return!1;t=x,e=b}const l=nr.lFrame=zf();return l.currentTNode=t,l.lView=e,!0}function Vc(e){const t=zf(),i=e[mn];nr.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function zf(){const e=nr.lFrame,t=null===e?null:e.child;return null===t?Wf(e):t}function Wf(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Kf(){const e=nr.lFrame;return nr.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gf=Kf;function jc(){const e=Kf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ai(){return nr.lFrame.selectedIndex}function ps(e){nr.lFrame.selectedIndex=e}function Sr(){const e=nr.lFrame;return Ha(e.tView,e.selectedIndex)}let Yf=!0;function Ka(){return Yf}function co(e){Yf=e}function iu(e,t){for(let he=t.directiveStart,we=t.directiveEnd;he=l)break}else t[K]<0&&(e[ti]+=65536),(H>14>16&&(3&e[Nn])===t&&(e[Nn]+=16384,Qf(H,b)):Qf(H,b)}const Us=-1;class Ga{constructor(t,i,l){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=l}}function Wc(e){return e!==Us}function Xa(e){return 32767&e}function Ya(e,t){let i=function yE(e){return e>>16}(e),l=t;for(;i>0;)l=l[Ao],i--;return l}let Kc=!0;function au(e){const t=Kc;return Kc=e,t}const Jf=255,qf=5;let CE=0;const fo={};function lu(e,t){const i=eh(e,t);if(-1!==i)return i;const l=t[mn];l.firstCreatePass&&(e.injectorIndex=t.length,Gc(l.data,e),Gc(t,null),Gc(l.blueprint,null));const x=uu(e,t),b=e.injectorIndex;if(Wc(x)){const N=Xa(x),H=Ya(x,t),K=H[mn].data;for(let he=0;he<8;he++)t[b+he]=H[N+he]|K[N+he]}return t[b+8]=x,b}function Gc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function eh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function uu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,l=null,x=t;for(;null!==x;){if(l=lh(x),null===l)return Us;if(i++,x=x[Ao],-1!==l.injectorIndex)return l.injectorIndex|i<<16}return Us}function Xc(e,t,i){!function bE(e,t,i){let l;"string"==typeof i?l=i.charCodeAt(0)||0:i.hasOwnProperty(ye)&&(l=i[ye]),null==l&&(l=i[ye]=CE++);const x=l&Jf;t.data[e+(x>>qf)]|=1<=0?t&Jf:wE:t}(i);if("function"==typeof b){if(!Hf(t,e,l))return l&tn.Host?th(x,0,l):nh(t,i,l,x);try{let N;if(N=b(l),null!=N||l&tn.Optional)return N;un()}finally{Gf()}}else if("number"==typeof b){let N=null,H=eh(e,t),K=Us,he=l&tn.Host?t[Tr][wr]:null;for((-1===H||l&tn.SkipSelf)&&(K=-1===H?uu(e,t):t[H+8],K!==Us&&sh(l,!1)?(N=t[mn],H=Xa(K),t=Ya(K,t)):H=-1);-1!==H;){const we=t[mn];if(oh(b,H,we.data)){const Re=AE(H,t,i,N,l,he);if(Re!==fo)return Re}K=t[H+8],K!==Us&&sh(l,t[mn].data[H+8]===he)&&oh(b,H,t)?(N=we,H=Xa(K),t=Ya(K,t)):H=-1}}return x}function AE(e,t,i,l,x,b){const N=t[mn],H=N.data[e+8],we=cu(H,N,i,null==l?Ho(H)&&Kc:l!=N&&!!(3&H.type),x&tn.Host&&b===H);return null!==we?xs(t,N,we,H):fo}function cu(e,t,i,l,x){const b=e.providerIndexes,N=t.data,H=1048575&b,K=e.directiveStart,we=b>>20,ct=x?H+we:e.directiveEnd;for(let At=l?H:H+we;At=K&&jt.type===i)return At}if(x){const At=N[K];if(At&&wi(At)&&At.type===i)return K}return null}function xs(e,t,i,l){let x=e[i];const b=t.data;if(function vE(e){return e instanceof Ga}(x)){const N=x;N.resolving&&function an(e,t){throw t&&t.join(" > "),new G(-200,e)}(function xt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():dt(e)}(b[i]));const H=au(N.canSeeViewProviders);N.resolving=!0;const he=N.injectImpl?On(N.injectImpl):null;Hf(e,l,tn.Default);try{x=e[i]=N.factory(void 0,b,e,l),t.firstCreatePass&&i>=l.directiveStart&&function pE(e,t,i){const{ngOnChanges:l,ngOnInit:x,ngDoCheck:b}=t.type.prototype;if(l){var N,H;const Re=Gr(t);(null!==(N=i.preOrderHooks)&&void 0!==N?N:i.preOrderHooks=[]).push(e,Re),(null!==(H=i.preOrderCheckHooks)&&void 0!==H?H:i.preOrderCheckHooks=[]).push(e,Re)}var K,he,we;x&&(null!==(K=i.preOrderHooks)&&void 0!==K?K:i.preOrderHooks=[]).push(0-e,x),b&&((null!==(he=i.preOrderHooks)&&void 0!==he?he:i.preOrderHooks=[]).push(e,b),(null!==(we=i.preOrderCheckHooks)&&void 0!==we?we:i.preOrderCheckHooks=[]).push(e,b))}(i,b[i],t)}finally{null!==he&&On(he),au(H),N.resolving=!1,Gf()}}return x}function oh(e,t,i){return!!(i[t+(e>>qf)]&1<{const t=e.prototype.constructor,i=t[zt]||Yc(t),l=Object.prototype;let x=Object.getPrototypeOf(e.prototype).constructor;for(;x&&x!==l;){const b=x[zt]||Yc(x);if(b&&b!==i)return b;x=Object.getPrototypeOf(x)}return b=>new b})}function Yc(e){return _e(e)?()=>{const t=Yc(He(e));return t&&t()}:ei(e)}function lh(e){const t=e[mn],i=t.type;return 2===i?t.declTNode:1===i?e[wr]:null}function du(e){return function DE(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const l=i.length;let x=0;for(;x{var e;class t{static create(l,x){if(Array.isArray(l))return hh({name:""},x,l,"");{var b;const N=null!==(b=l.name)&&void 0!==b?b:"";return hh({name:N},l.parent,l.providers,N)}}}return(e=t).THROW_IF_NOT_FOUND=le,e.NULL=new Hi,e.\u0275prov=Dn({token:e,providedIn:"any",factory:()=>Ar(qo)}),e.__NG_ELEMENT_ID__=-1,t})();function Qc(e){return e.ngOriginalError}class So{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Qc(t);for(;i&&Qc(i);)i=Qc(i);return i||null}}const vh=new Lt("",{providedIn:"root",factory:()=>jn(So).handleError.bind(void 0)});let Hs=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=NE,e.__NG_ENV_ID__=i=>i,t})();class RE extends Hs{constructor(t){super(),this._lView=t}onDestroy(t){return nu(this._lView,t),()=>function Rc(e,t){if(null===e[Mo])return;const i=e[Mo].indexOf(t);-1!==i&&e[Mo].splice(i,1)}(this._lView,t)}}function NE(){return new RE(sn())}function kE(){return zs(yr(),sn())}function zs(e,t){return new Za(fi(e,t))}let Za=(()=>{class t{constructor(l){this.nativeElement=l}}return t.__NG_ELEMENT_ID__=kE,t})();function gh(e){return e instanceof Za?e.nativeElement:e}function Jc(e){return t=>{setTimeout(e,void 0,t)}}const ho=class LE extends Oe.B{constructor(t=!1){var i;super(),this.destroyRef=void 0,this.__isAsync=t,Na()&&(this.destroyRef=null!==(i=jn(Hs,{optional:!0}))&&void 0!==i?i:void 0)}emit(t){const i=C(null);try{super.next(t)}finally{C(i)}}subscribe(t,i,l){let x=t,b=i||(()=>null),N=l;if(t&&"object"==typeof t){var H,K,he;const Re=t;x=null===(H=Re.next)||void 0===H?void 0:H.bind(Re),b=null===(K=Re.error)||void 0===K?void 0:K.bind(Re),N=null===(he=Re.complete)||void 0===he?void 0:he.bind(Re)}this.__isAsync&&(b=Jc(b),x&&(x=Jc(x)),N&&(N=Jc(N)));const we=super.subscribe({next:x,error:b,complete:N});return t instanceof pe.yU&&t.add(we),we}};function $E(){return this._results[Symbol.iterator]()}class qc{get changes(){var t;return null!==(t=this._changes)&&void 0!==t?t:this._changes=new ho}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=qc.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=$E)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){this.dirty=!1;const l=function Fr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ji(e,t,i){if(e.length!==t.length)return!1;for(let l=0;lay}),ay="ng",$h=new Lt(""),o0=new Lt("",{providedIn:"platform",factory:()=>"unknown"}),ly=new Lt("",{providedIn:"root",factory:()=>{var e;return(null===(e=function Ko(){if(void 0!==r0)return r0;if(typeof document<"u")return document;throw new G(210,!1)}().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let Uh=()=>null;function c0(e,t,i=!1){return Uh(e,t,i)}const Wh=new Lt("",{providedIn:"root",factory:()=>!1});let Du,Au;function Xs(e){var t;return(null===(t=function p0(){if(void 0===Du&&(Du=null,Dt.trustedTypes))try{Du=Dt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Du}())||void 0===t?void 0:t.createHTML(e))||e}function Yh(e){var t;return(null===(t=function x0(){if(void 0===Au&&(Au=null,Dt.trustedTypes))try{Au=Dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Au}())||void 0===t?void 0:t.createScriptURL(e))||e}class vs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ne})`}}class by extends vs{getTypeName(){return"HTML"}}class Dy extends vs{getTypeName(){return"Style"}}class Ay extends vs{getTypeName(){return"Script"}}class My extends vs{getTypeName(){return"URL"}}class wy extends vs{getTypeName(){return"ResourceURL"}}function Io(e){return e instanceof vs?e.changingThisBreaksApplicationSecurity:e}function Ys(e,t){const i=function _y(e){return e instanceof vs&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${ne})`)}return i===t}function By(e){return new by(e)}function Sy(e){return new Dy(e)}function Iy(e){return new Ay(e)}function Ty(e){return new My(e)}function Fy(e){return new wy(e)}class Py{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Xs(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class Oy{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Xs(t),i}}const Ny=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mu(e){return(e=String(e)).match(Ny)?e:"unsafe:"+e}function To(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function il(...e){const t={};for(const i of e)for(const l in i)i.hasOwnProperty(l)&&(t[l]=!0);return t}const Qh=To("area,br,col,hr,img,wbr"),Jh=To("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qh=To("rp,rt"),v0=il(Qh,il(Jh,To("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),il(qh,To("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),il(qh,Jh)),m0=To("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ep=il(m0,To("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),To("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ky=To("script,style,template");class Ly{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,l=!0,x=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?l=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,l&&i.firstChild)x.push(i),i=Vy(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let b=Uy(i);if(b){i=b;break}i=x.pop()}return this.buf.join("")}startElement(t){const i=tp(t).toLowerCase();if(!v0.hasOwnProperty(i))return this.sanitizedSomething=!0,!ky.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const l=t.attributes;for(let x=0;x"),!0}endElement(t){const i=tp(t).toLowerCase();v0.hasOwnProperty(i)&&!Qh.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(rp(t))}}function Uy(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw np(t);return t}function Vy(e){const t=e.firstChild;if(t&&function $y(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw np(t);return t}function tp(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function np(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const jy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Hy=/([^\#-~ |!])/g;function rp(e){return e.replace(/&/g,"&").replace(jy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Hy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let wu;function ip(e,t){let i=null;try{wu=wu||function Zh(e){const t=new Oy(e);return function Ry(){try{return!!(new window.DOMParser).parseFromString(Xs(""),"text/html")}catch{return!1}}()?new Py(t):t}(e);let l=t?String(t):"";i=wu.getInertBodyElement(l);let x=5,b=l;do{if(0===x)throw new Error("Failed to sanitize html because the input is unstable");x--,l=b,b=i.innerHTML,i=wu.getInertBodyElement(l)}while(l!==b);return Xs((new Ly).sanitizeChildren(g0(i)||i))}finally{if(i){const l=g0(i)||i;for(;l.firstChild;)l.removeChild(l.firstChild)}}}function g0(e){return"content"in e&&function zy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ms=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ms||{});function E0(e){const t=ol();return t?t.sanitize(ms.URL,e)||"":Ys(e,"URL")?Io(e):Mu(dt(e))}function y0(e){const t=ol();if(t)return Yh(t.sanitize(ms.RESOURCE_URL,e)||"");if(Ys(e,"ResourceURL"))return Yh(Io(e));throw new G(904,!1)}function op(e,t,i){return function Zy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?y0:E0}(t,i)(e)}function ol(){const e=sn();return e&&e[Mi].sanitizer}const Qy=/^>|^->||--!>|)/g,qy="\u200b$1\u200b";function Si(e){return e instanceof Function?e():e}var Su=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Su||{});let A0;function M0(e,t){return A0(e,t)}function Qs(e,t,i,l,x){if(null!=l){let b,N=!1;Jr(l)?b=l:ni(l)&&(N=!0,l=l[xr]);const H=br(l);0===e&&null!==i?null==x?mp(t,i,H):gs(t,i,H,x||null,!0):1===e&&null!==i?gs(t,i,H,x||null,!0):2===e?function ll(e,t,i){const l=Fu(e,t);l&&function g8(e,t,i,l){e.removeChild(t,i,l)}(e,l,t,i)}(t,H,N):3===e&&t.destroyNode(H),null!=b&&function C8(e,t,i,l,x){const b=i[Ki];b!==br(i)&&Qs(t,e,l,b,x);for(let H=kr;Ht.replace(Jy,qy))}(t))}function Iu(e,t,i){return e.createElement(t,i)}function pp(e,t){var i;null===(i=t[Mi].changeDetectionScheduler)||void 0===i||i.notify(1),Ou(e,t,t[Jn],2,null,null)}function xp(e,t){const i=e[jo],l=i.indexOf(t);i.splice(l,1)}function sl(e,t){if(e.length<=kr)return;const i=kr+t,l=e[i];if(l){const x=l[Uo];null!==x&&x!==e&&xp(x,l),t>0&&(e[i-1][Lr]=l[Lr]);const b=Oi(e,kr+t);!function d8(e,t){pp(e,t),t[xr]=null,t[wr]=null}(l[mn],l);const N=b[ki];null!==N&&N.detachView(b[mn]),l[or]=null,l[Lr]=null,l[Nn]&=-129}return l}function Tu(e,t){if(!(256&t[Nn])){const i=t[Jn];i.destroyNode&&Ou(e,t,i,3,null,null),function h8(e){let t=e[ss];if(!t)return B0(e[mn],e);for(;t;){let i=null;if(ni(t))i=t[ss];else{const l=t[kr];l&&(i=l)}if(!i){for(;t&&!t[Lr]&&t!==e;)ni(t)&&B0(t[mn],t),t=t[or];null===t&&(t=e),ni(t)&&B0(t[mn],t),i=t&&t[Lr]}t=i}}(t)}}function B0(e,t){if(256&t[Nn])return;const i=C(null);try{t[Nn]&=-129,t[Nn]|=256,t[so]&&function j(e){if(te(e),me(e))for(let t=0;t=0?l[N]():l[-N].unsubscribe(),b+=2}else i[b].call(l[i[b+1]]);null!==l&&(t[Ni]=null);const x=t[Mo];if(null!==x){t[Mo]=null;for(let b=0;b-1){const{encapsulation:b}=e.data[l.directiveStart+x];if(b===ui.None||b===ui.Emulated)return null}return fi(l,i)}}(e,t.parent,i)}function gs(e,t,i,l,x){e.insertBefore(t,i,l,x)}function mp(e,t,i){e.appendChild(t,i)}function gp(e,t,i,l,x){null!==l?gs(e,t,i,l,x):mp(e,t,i)}function Fu(e,t){return e.parentNode(t)}function Ep(e,t,i){return Cp(e,t,i)}let I0,Cp=function yp(e,t,i){return 40&e.type?fi(e,i):null};function Pu(e,t,i,l){const x=S0(e,l,t),b=t[Jn],H=Ep(l.parent||t[wr],l,t);if(null!=x)if(Array.isArray(i))for(let K=0;Kqn&&Sp(e,t,qn,!1),ao(N?2:0,x),i(l,x)}finally{ps(b),ao(N?3:1,x)}}function O0(e,t,i){if(La(t)){const l=C(null);try{const b=t.directiveEnd;for(let N=t.directiveStart;Nnull;function Rp(e,t,i,l,x){for(let N in t){var b;if(!t.hasOwnProperty(N))continue;const H=t[N];if(void 0===H)continue;null!==(b=l)&&void 0!==b||(l={});let K,he=Ri.None;Array.isArray(H)?(K=H[0],he=H[1]):K=H;let we=N;if(null!==x){if(!x.hasOwnProperty(N))continue;we=x[N]}0===e?Np(l,i,we,K,he):Np(l,i,we,K)}return l}function Np(e,t,i,l,x){let b;e.hasOwnProperty(i)?(b=e[i]).push(t,l):b=e[i]=[t,l],void 0!==x&&b.push(x)}function yi(e,t,i,l,x,b,N,H){const K=fi(t,i);let we,he=t.inputs;!H&&null!=he&&(we=he[l])?(j0(e,i,we,l,x),Ho(t)&&function O8(e,t){const i=_i(t,e);16&i[Nn]||(i[Nn]|=64)}(i,t.index)):3&t.type&&(l=function P8(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(l),x=null!=N?N(x,t.value||"",l):x,b.setProperty(K,l,x))}function L0(e,t,i,l){if(Nf()){const x=null===l?null:{"":-1},b=function U8(e,t){const i=e.directiveRegistry;let l=null,x=null;if(i)for(let N=0;N0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(N)!=H&&N.push(H),N.push(i,l,b)}}(e,t,l,ul(e,i,x.hostVars,ir),x)}function po(e,t,i,l,x,b){const N=fi(e,t);!function U0(e,t,i,l,x,b,N){if(null==b)e.removeAttribute(t,x,i);else{const H=null==N?dt(b):N(b,l||"",x);e.setAttribute(t,x,H,i)}}(t[Jn],N,b,e.value,i,l,x)}function K8(e,t,i,l,x,b){const N=b[t];if(null!==N)for(let H=0;H0&&(i[x-1][Lr]=t),l!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{za(e.lView)},consumerOnSignalRead(){this.lView[so]=this}},Gp=100;function Lu(e,t=!0,i=0){const l=e[Mi],x=l.rendererFactory;var N;null===(N=x.begin)||void 0===N||N.call(x);try{!function t9(e,t){W0(e,t);let i=0;for(;Pc(e);){if(i===Gp)throw new G(103,!1);i++,W0(e,1)}}(e,i)}catch(he){throw t&&ku(e,he),he}finally{var H,K;null===(H=x.end)||void 0===H||H.call(x),null===(K=l.inlineEffectRunner)||void 0===K||K.flush()}}function n9(e,t,i,l){var x;const b=t[Nn];if(!(256&~b))return;null===(x=t[Mi].inlineEffectRunner)||void 0===x||x.flush(),Vc(t);let H=null,K=null;(function r9(e){return 2!==e.type})(e)&&(K=function Q8(e){var t;return null!==(t=e[so])&&void 0!==t?t:function J8(e){var t;const i=null!==(t=Kp.pop())&&void 0!==t?t:Object.create(e9);return i.lView=e,i}(e)}(t),H=function M(e){return e&&(e.nextProducerIndex=0),C(e)}(K));try{Pf(t),function Vf(e){return nr.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==i&&Fp(e,t,i,2,l);const he=!(3&~b);if(he){const ct=e.preOrderCheckHooks;null!==ct&&ou(t,ct,null)}else{const ct=e.preOrderHooks;null!==ct&&su(t,ct,0,null),Hc(t,0)}if(function i9(e){for(let t=Bh(e);null!==t;t=Sh(t)){if(!(t[Nn]&eu.HasTransplantedViews))continue;const i=t[jo];for(let l=0;le.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(K,H),function q8(e){e.lView[so]!==e&&(e.lView=null,Kp.push(e))}(K)),jc()}}function Xp(e,t){for(let i=Bh(e);null!==i;i=Sh(i))for(let l=kr;l-1&&(sl(t,l),Oi(i,l))}this._attachedToViewContainer=!1}Tu(this._lView[mn],this._lView)}onDestroy(t){nu(this._lView,t)}markForCheck(){hl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Nn]&=-129}reattach(){Oc(this._lView),this._lView[Nn]|=128}detectChanges(){this._lView[Nn]|=1024,Lu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,pp(this._lView[mn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=t,Oc(this._lView)}}let xl=(()=>{class t{}return t.__NG_ELEMENT_ID__=l9,t})();const s9=xl,a9=class extends s9{constructor(t,i,l){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=l}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,l){const x=function cl(e,t,i,l){const x=C(null);try{var b,N,H;const K=t.tView,Re=Ru(e,K,i,4096&e[Nn]?4096:16,null,t,null,null,null!==(b=null==l?void 0:l.injector)&&void 0!==b?b:null,null!==(N=null==l?void 0:l.embeddedViewInjector)&&void 0!==N?N:null,null!==(H=null==l?void 0:l.dehydratedView)&&void 0!==H?H:null);Re[Uo]=e[t.index];const At=e[ki];return null!==At&&(Re[ki]=At.createEmbeddedView(K)),H0(K,Re,i),Re}finally{C(x)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:l});return new pl(x)}};function l9(){return $u(yr(),sn())}function $u(e,t){return 4&e.type?new a9(t,e,zs(e,t)):null}class Q0{}class F9{}class rx{}class O9{resolveComponentFactory(t){throw function P9(e){const t=Error(`No component factory found for ${In(e)}.`);return t.ngComponent=e,t}(t)}}let zu=(()=>{class t{}return t.NULL=new O9,t})();class ox{}let R9=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function N9(){const e=sn(),i=_i(yr().index,e);return(ni(i)?i:e)[Jn]}(),t})(),k9=(()=>{var e;class t{}return(e=t).\u0275prov=Dn({token:e,providedIn:"root",factory:()=>null}),t})();const J0={},sx=new Set;function xo(e){var t,i;sx.has(e)||(sx.add(e),null===(t=performance)||void 0===t||null===(i=t.mark)||void 0===i||i.call(t,"mark_feature_usage",{detail:{feature:e}}))}function ax(...e){}class Hr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:l=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ho(!1),this.onMicrotaskEmpty=new ho(!1),this.onStable=new ho(!1),this.onError=new ho(!1),typeof Zone>"u")throw new G(908,!1);Zone.assertZonePatched();const x=this;x._nesting=0,x._outer=x._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(x._inner=x._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(x._inner=x._inner.fork(Zone.longStackTraceZoneSpec)),x.shouldCoalesceEventChangeDetection=!l&&i,x.shouldCoalesceRunChangeDetection=l,x.lastRequestAnimationFrameId=-1,x.nativeRequestAnimationFrame=function L9(){const e="function"==typeof Dt.requestAnimationFrame;let t=Dt[e?"requestAnimationFrame":"setTimeout"],i=Dt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const l=t[Zone.__symbol__("OriginalDelegate")];l&&(t=l);const x=i[Zone.__symbol__("OriginalDelegate")];x&&(i=x)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function V9(e){const t=()=>{!function U9(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Dt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ed(e),e.isCheckStableRunning=!0,q0(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ed(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,l,x,b,N,H)=>{if(function j9(e){var t;return!(!Array.isArray(e)||1!==e.length)&&!0===(null===(t=e[0].data)||void 0===t?void 0:t.__ignore_ng_zone__)}(H))return i.invokeTask(x,b,N,H);try{return lx(e),i.invokeTask(x,b,N,H)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===b.type||e.shouldCoalesceRunChangeDetection)&&t(),ux(e)}},onInvoke:(i,l,x,b,N,H,K)=>{try{return lx(e),i.invoke(x,b,N,H,K)}finally{e.shouldCoalesceRunChangeDetection&&t(),ux(e)}},onHasTask:(i,l,x,b)=>{i.hasTask(x,b),l===x&&("microTask"==b.change?(e._hasPendingMicrotasks=b.microTask,ed(e),q0(e)):"macroTask"==b.change&&(e.hasPendingMacrotasks=b.macroTask))},onHandleError:(i,l,x,b)=>(i.handleError(x,b),e.runOutsideAngular(()=>e.onError.emit(b)),!1)})}(x)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Hr.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(Hr.isInAngularZone())throw new G(909,!1)}run(t,i,l){return this._inner.run(t,i,l)}runTask(t,i,l,x){const b=this._inner,N=b.scheduleEventTask("NgZoneEvent: "+x,t,$9,ax,ax);try{return b.runTask(N,i,l)}finally{b.cancelTask(N)}}runGuarded(t,i,l){return this._inner.runGuarded(t,i,l)}runOutsideAngular(t){return this._outer.run(t)}}const $9={};function q0(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 ed(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function lx(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ux(e){e._nesting--,q0(e)}class cx{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ho,this.onMicrotaskEmpty=new ho,this.onStable=new ho,this.onError=new ho}run(t,i,l){return t.apply(i,l)}runGuarded(t,i,l){return t.apply(i,l)}runOutsideAngular(t){return t()}runTask(t,i,l,x){return t.apply(i,l)}}var Es=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Es||{});const dx={destroy(){}};function fx(e,t){var i,l,x;!t&&function $o(e){if(!Na())throw new G(-203,!1)}();const b=null!==(i=null==t?void 0:t.injector)&&void 0!==i?i:jn(Bi);if(!function Xi(e){return"browser"===(null!=e?e:jn(Bi)).get(o0)}(b))return dx;xo("NgAfterNextRender");const N=b.get(yl),H=null!==(l=N.handler)&&void 0!==l?l:N.handler=new px,K=null!==(x=null==t?void 0:t.phase)&&void 0!==x?x:Es.MixedReadWrite,he=()=>{H.unregister(Re),we()},we=b.get(Hs).onDestroy(he),Re=oo(b,()=>new hx(K,()=>{he(),e()}));return H.register(Re),{destroy:he}}class hx{constructor(t,i){var l;this.phase=t,this.callbackFn=i,this.zone=jn(Hr),this.errorHandler=jn(So,{optional:!0}),null===(l=jn(Q0,{optional:!0}))||void 0===l||l.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(i){var t;null===(t=this.errorHandler)||void 0===t||t.handleError(i)}}}class px{constructor(){this.executingCallbacks=!1,this.buckets={[Es.EarlyRead]:new Set,[Es.Write]:new Set,[Es.MixedReadWrite]:new Set,[Es.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let yl=(()=>{var e;class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var l;this.executeInternalCallbacks(),null===(l=this.handler)||void 0===l||l.execute()}executeInternalCallbacks(){const l=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const x of l)x()}ngOnDestroy(){var l;null===(l=this.handler)||void 0===l||l.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=Dn({token:e,providedIn:"root",factory:()=>new e}),t})();function Go(e){return!!Kr(e)}function Ku(e,t,i){let l=i?e.styles:null,x=i?e.classes:null,b=0;if(null!==t)for(let N=0;N0&&wp(e,i,b.join(" "))}}(en,Qi,xn,l),void 0!==i&&function eC(e,t,i){const l=e.projection=[];for(let x=0;x{class t{}return t.__NG_ELEMENT_ID__=nC,t})();function nC(){return Cx(yr(),sn())}const rC=Xu,Ex=class extends rC{constructor(t,i,l){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=l}get element(){return zs(this._hostTNode,this._hostLView)}get injector(){return new Xr(this._hostTNode,this._hostLView)}get parentInjector(){const t=uu(this._hostTNode,this._hostLView);if(Wc(t)){const i=Ya(t,this._hostLView),l=Xa(t);return new Xr(i[mn].data[l+8],i)}return new Xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=yx(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-kr}createEmbeddedView(t,i,l){let x,b;"number"==typeof l?x=l:null!=l&&(x=l.index,b=l.injector);const H=t.createEmbeddedViewImpl(i||{},b,null);return this.insertImpl(H,x,ea(this._hostTNode,null)),H}createComponent(t,i,l,x,b){var N,K;const he=t&&!function Qt(e){return"function"==typeof e}(t);let we;if(he)we=i;else{const xn=i||{};we=xn.index,l=xn.injector,x=xn.projectableNodes,b=xn.environmentInjector||xn.ngModuleRef}const Re=he?t:new Dl(tr(t)),ct=l||this.parentInjector;if(!b&&null==Re.ngModule){const rn=(he?ct:this.parentInjector).get(di,null);rn&&(b=rn)}const At=tr(null!==(N=Re.componentType)&&void 0!==N?N:{}),jt=(null==At?void 0:At.id,null),en=null!==(K=null==jt?void 0:jt.firstChild)&&void 0!==K?K:null,dn=Re.create(ct,x,en,b);return this.insertImpl(dn.hostView,we,ea(this._hostTNode,jt)),dn}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,l){const x=t._lView;if(function X1(e){return Jr(e[or])}(x)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const K=x[or],he=new Ex(K,K[wr],K[or]);he.detach(he.indexOf(t))}}const b=this._adjustIndex(i),N=this._lContainer;return dl(N,x,b,l),t.attachToViewContainerRef(),Pi(id(N),b,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=yx(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),l=sl(this._lContainer,i);l&&(Oi(id(this._lContainer),i),Tu(l[mn],l))}detach(t){const i=this._adjustIndex(t,-1),l=sl(this._lContainer,i);return l&&null!=Oi(id(this._lContainer),i)?new pl(l):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function yx(e){return e[8]}function id(e){return e[8]||(e[8]=[])}function Cx(e,t){let i;const l=t[e.index];return Jr(l)?i=l:(i=$p(l,t,null,e),t[e.index]=i,Nu(t,i)),bx(i,t,e,l),new Ex(i,e,t)}let bx=function Ax(e,t,i,l){if(e[Ki])return;let x;x=8&i.type?br(l):function iC(e,t){const i=e[Jn],l=i.createComment(""),x=fi(t,e);return gs(i,Fu(i,x),l,function E8(e,t){return e.nextSibling(t)}(i,x),!1),l}(t,i),e[Ki]=x},od=()=>!1;class sd{constructor(t){this.queryList=t,this.matches=null}clone(){return new sd(this.queryList)}setDirty(){this.queryList.setDirty()}}class ad{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const l=null!==t.contentQueries?t.contentQueries[0]:i.length,x=[];for(let b=0;bt.trim())}(t):t}}class ld{constructor(t=[]){this.queries=t}elementStart(t,i){for(let l=0;l0)l.push(N[H/2]);else{const he=b[H+1],we=t[-K];for(let Re=kr;Re=0;l--){const x=e[l];x.hostVars=t+=x.hostVars,x.hostAttrs=Xe(x.hostAttrs,i=Xe(i,x.hostAttrs))}}(l)}function AC(e,t){for(const l in t.inputs){if(!t.inputs.hasOwnProperty(l)||e.inputs.hasOwnProperty(l))continue;const x=t.inputs[l];if(void 0!==x&&(e.inputs[l]=x,e.declaredInputs[l]=t.declaredInputs[l],null!==t.inputTransforms)){var i;const b=Array.isArray(x)?x[0]:x;if(!t.inputTransforms.hasOwnProperty(b))continue;null!==(i=e.inputTransforms)&&void 0!==i||(e.inputTransforms={}),e.inputTransforms[b]=t.inputTransforms[b]}}}function Zu(e){return e===Rn?{}:e===Pn?[]:e}function wC(e,t){const i=e.viewQuery;e.viewQuery=i?(l,x)=>{t(l,x),i(l,x)}:t}function _C(e,t){const i=e.contentQueries;e.contentQueries=i?(l,x,b)=>{t(l,x,b),i(l,x,b)}:t}function BC(e,t){const i=e.hostBindings;e.hostBindings=i?(l,x)=>{t(l,x),i(l,x)}:t}function Yx(e){const t=e.inputConfig,i={};for(const l in t)if(t.hasOwnProperty(l)){const x=t[l];Array.isArray(x)&&x[3]&&(i[l]=x[3])}e.inputTransforms=i}class ys{}class Zx{}function OC(e,t){return new xd(e,null!=t?t:null,[])}class xd extends ys{constructor(t,i,l){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new mx(this);const x=Kr(t);this._bootstrapComponents=Si(x.bootstrap),this._r3Injector=ph(t,i,[{provide:ys,useValue:this},{provide:zu,useValue:this.componentFactoryResolver},...l],In(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class vd extends Zx{constructor(t){super(),this.moduleType=t}create(t){return new xd(this.moduleType,t,[])}}class Qx extends ys{constructor(t){super(),this.componentFactoryResolver=new mx(this),this.instance=null;const i=new ro([...t.providers,{provide:ys,useValue:this},{provide:zu,useValue:this.componentFactoryResolver}],t.parent||ko(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function md(e,t,i=null){return new Qx({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let ra=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const l=this.taskId++;return this.pendingTasks.add(l),l}remove(l){this.pendingTasks.delete(l),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Ju(e){return!!gd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function gd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vo(e,t,i){return e[t]=i}function $r(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Cs(e,t,i,l){const x=$r(e,t,i);return $r(e,t+1,l)||x}function ia(e,t,i,l,x,b,N,H){const K=sn(),he=ur(),we=e+qn,Re=he.firstCreatePass?function VC(e,t,i,l,x,b,N,H,K){const he=t.consts,we=qs(t,e,4,N||null,lo(he,H));L0(t,i,we,lo(he,K)),iu(t,we);const Re=we.tView=k0(2,we,l,x,b,t.directiveRegistry,t.pipeRegistry,null,t.schemas,he,null);return null!==t.queries&&(t.queries.template(t,we),Re.queries=t.queries.embeddedTView(we)),we}(we,he,K,t,i,l,x,b,N):he.data[we];uo(Re,!1);const ct=Jx(he,K,Re,e);Ka()&&Pu(he,K,ct,Re),li(ct,K);const At=$p(ct,K,ct,Re);return K[we]=At,Nu(K,At),function Dx(e,t,i){return od(e,t,i)}(At,Re,K),us(Re)&&R0(he,K,Re),null!=N&&N0(K,Re,H),ia}let Jx=function qx(e,t,i,l){return co(!0),t[Jn].createComment("")};function Bd(e,t,i,l){const x=sn();return $r(x,Gi(),t)&&(ur(),po(Sr(),x,e,t,i,l)),Bd}function fa(e,t,i,l){return $r(e,Gi(),i)?t+dt(i)+l:ir}function ha(e,t,i,l,x,b){const H=Cs(e,function _o(){return nr.lFrame.bindingIndex}(),i,x);return Bo(2),H?t+dt(i)+l+dt(x)+b:ir}function oc(e,t){return e<<17|t<<2}function Zo(e){return e>>17&32767}function Sd(e){return 2|e}function Ds(e){return(131068&e)>>2}function Id(e,t){return-131069&e|t<<2}function Td(e){return 1|e}function Iv(e,t,i,l){const x=e[i+1],b=null===t;let N=l?Zo(x):Ds(x),H=!1;for(;0!==N&&(!1===H||b);){const he=e[N+1];_2(e[N],t)&&(H=!0,e[N+1]=l?Td(he):Sd(he)),N=l?Zo(he):Ds(he)}H&&(e[i+1]=l?Sd(x):Td(x))}function _2(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_n(e,t)>=0}const Yr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tv(e){return e.substring(Yr.key,Yr.keyEnd)}function B2(e){return e.substring(Yr.value,Yr.valueEnd)}function Fv(e,t){const i=Yr.textEnd;return i===t?-1:(t=Yr.keyEnd=function T2(e,t,i){for(;t32;)t++;return t}(e,Yr.key=t,i),ya(e,t,i))}function Pv(e,t){const i=Yr.textEnd;let l=Yr.key=ya(e,t,i);return i===l?-1:(l=Yr.keyEnd=function F2(e,t,i){let l;for(;t=65&&(-33&l)<=90||l>=48&&l<=57);)t++;return t}(e,l,i),l=Rv(e,l,i),l=Yr.value=ya(e,l,i),l=Yr.valueEnd=function P2(e,t,i){let l=-1,x=-1,b=-1,N=t,H=N;for(;N32&&(H=N),b=x,x=l,l=-33&K}return H}(e,l,i),Rv(e,l,i))}function Ov(e){Yr.key=0,Yr.keyEnd=0,Yr.value=0,Yr.valueEnd=0,Yr.textEnd=e.length}function ya(e,t,i){for(;t=0;i=Pv(t,i))Uv(e,Tv(t),B2(t))}function go(e,t){for(let i=function S2(e){return Ov(e),Fv(e,ya(e,0,Yr.textEnd))}(t);i>=0;i=Fv(t,i))Ut(e,Tv(t),!0)}function Zi(e,t,i,l){const x=ur(),b=Bo(2);x.firstUpdatePass&&$v(x,null,b,l);const N=sn();if(i!==ir&&$r(N,b,i)){const H=x.data[ai()];if(Hv(H,l)&&!Lv(x,b)){let K=l?H.classesWithoutHost:H.stylesWithoutHost;null!==K&&(i=kt(K,i||"")),Pd(x,H,N,i,l)}else!function j2(e,t,i,l,x,b,N,H){x===ir&&(x=Pn);let K=0,he=0,we=0=e.expandoStartIndex}function $v(e,t,i,l){const x=e.data;if(null===x[i+1]){const b=x[ai()],N=Lv(e,i);Hv(b,l)&&null===t&&!N&&(t=!1),t=function N2(e,t,i,l){const x=function $c(e){const t=nr.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let b=l?t.residualClasses:t.residualStyles;if(null===x)0===(l?t.classBindings:t.styleBindings)&&(i=Il(i=Rd(null,e,t,i,l),t.attrs,l),b=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==x)if(i=Rd(x,e,t,i,l),null===b){let K=function k2(e,t,i){const l=i?t.classBindings:t.styleBindings;if(0!==Ds(l))return e[Zo(l)]}(e,t,l);void 0!==K&&Array.isArray(K)&&(K=Rd(null,e,t,K[1],l),K=Il(K,t.attrs,l),function L2(e,t,i,l){e[Zo(i?t.classBindings:t.styleBindings)]=l}(e,t,l,K))}else b=function $2(e,t,i){let l;const x=t.directiveEnd;for(let b=1+t.directiveStylingLast;b0)&&(he=!0)):we=i,x)if(0!==K){const ct=Zo(e[H+1]);e[l+1]=oc(ct,H),0!==ct&&(e[ct+1]=Id(e[ct+1],l)),e[H+1]=function D2(e,t){return 131071&e|t<<17}(e[H+1],l)}else e[l+1]=oc(H,0),0!==H&&(e[H+1]=Id(e[H+1],l)),H=l;else e[l+1]=oc(K,0),0===H?H=l:e[K+1]=Id(e[K+1],l),K=l;he&&(e[l+1]=Sd(e[l+1])),Iv(e,we,l,!0),Iv(e,we,l,!1),function w2(e,t,i,l,x){const b=x?e.residualClasses:e.residualStyles;null!=b&&"string"==typeof t&&_n(b,t)>=0&&(i[l+1]=Td(i[l+1]))}(t,we,e,l,b),N=oc(H,K),b?t.classBindings=N:t.styleBindings=N}(x,b,t,i,N,l)}}function Rd(e,t,i,l,x){let b=null;const N=i.directiveEnd;let H=i.directiveStylingLast;for(-1===H?H=i.directiveStart:H++;H0;){const K=e[x],he=Array.isArray(K),we=he?K[1]:K,Re=null===we;let ct=i[x+1];ct===ir&&(ct=Re?Pn:void 0);let At=Re?gn(ct,l):we===l?ct:void 0;if(he&&!sc(At)&&(At=gn(K,l)),sc(At)&&(H=At,N))return H;const jt=e[x+1];x=N?Zo(jt):Ds(jt)}if(null!==t){let K=b?t.residualClasses:t.residualStyles;null!=K&&(H=gn(K,l))}return H}function sc(e){return void 0!==e}function Hv(e,t){return!!(e.flags&(t?8:16))}function zv(e,t,i){Zi(Ut,go,fa(sn(),e,t,i),!0)}function ac(e,t,i,l){const x=sn(),b=ur(),N=qn+e,H=x[Jn],K=b.firstCreatePass?function db(e,t,i,l,x,b){const N=t.consts,K=qs(t,e,2,l,lo(N,x));return L0(t,i,K,lo(N,b)),null!==K.attrs&&Ku(K,K.attrs,!1),null!==K.mergedAttrs&&Ku(K,K.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,K),K}(N,b,x,t,i,l):b.data[N],he=Xv(b,x,K,H,t,e);x[N]=he;const we=us(K);return uo(K,!0),_p(H,he,K),!function wl(e){return!(32&~e.flags)}(K)&&Ka()&&Pu(b,x,he,K),0===function Z1(){return nr.lFrame.elementDepthCount}()&&li(he,x),function Q1(){nr.lFrame.elementDepthCount++}(),we&&(R0(b,x,K),O0(b,K,x)),null!==l&&N0(x,K),ac}function lc(){let e=yr();Nc()?kc():(e=e.parent,uo(e,!1));const t=e;(function q1(e){return nr.skipHydrationRootTNode===e})(t)&&function rE(){nr.skipHydrationRootTNode=null}(),function J1(){nr.lFrame.elementDepthCount--}();const i=ur();return i.firstCreatePass&&(iu(i,e),La(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gE(e){return!!(8&e.flags)}(t)&&Pd(i,t,sn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function EE(e){return!!(16&e.flags)}(t)&&Pd(i,t,sn(),t.stylesWithoutHost,!1),lc}function Ud(e,t,i,l){return ac(e,t,i,l),lc(),Ud}let Xv=(e,t,i,l,x,b)=>(co(!0),Iu(l,x,function Xf(){return nr.lFrame.currentNamespace}()));function Vd(e,t,i){const l=sn(),x=ur(),b=e+qn,N=x.firstCreatePass?function pb(e,t,i,l,x){const b=t.consts,N=lo(b,l),H=qs(t,e,8,"ng-container",N);return null!==N&&Ku(H,N,!0),L0(t,i,H,lo(b,x)),null!==t.queries&&t.queries.elementStart(t,H),H}(b,x,l,t,i):x.data[b];uo(N,!0);const H=Yv(x,l,N,e);return l[b]=H,Ka()&&Pu(x,l,H,N),li(H,l),us(N)&&(R0(x,l,N),O0(x,N,l)),null!=i&&N0(l,N),Vd}function jd(){let e=yr();const t=ur();return Nc()?kc():(e=e.parent,uo(e,!1)),t.firstCreatePass&&(iu(t,e),La(e)&&t.queries.elementEnd(e)),jd}function Hd(e,t,i){return Vd(e,t,i),jd(),Hd}let Yv=(e,t,i,l)=>(co(!0),_0(t[Jn],""));function Zv(){return sn()}const As=void 0;var gb=["en",[["a","p"],["AM","PM"],As],[["AM","PM"],As,As],[["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"]],As,[["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"]],As,[["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}",As,"{1} 'at' {0}",As],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mb(e){const i=Math.floor(Math.abs(e)),l=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===l?1:5}];let Ca={};function zd(e){const t=function Eb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=em(t);if(i)return i;const l=t.split("-")[0];if(i=em(l),i)return i;if("en"===l)return gb;throw new G(701,!1)}function qv(e){return zd(e)[ba.PluralCase]}function em(e){return e in Ca||(Ca[e]=Dt.ng&&Dt.ng.common&&Dt.ng.common.locales&&Dt.ng.common.locales[e]),Ca[e]}var ba=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ba||{});const Da="en-US";let tm=Da;function Gd(e,t,i,l){const x=sn(),b=ur(),N=yr();return Xd(b,x,x[Jn],N,e,t,l),Gd}function Xd(e,t,i,l,x,b,N){const H=us(l),he=e.firstCreatePass&&jp(e),we=t[Cr],Re=Vp(t);let ct=!0;if(3&l.type||N){const en=fi(l,t),dn=N?N(en):en,xn=Re.length,rn=N?sr=>N(br(sr[l.index])):l.index;let Zn=null;if(!N&&H&&(Zn=function x6(e,t,i,l){const x=e.cleanup;if(null!=x)for(let b=0;bK?H[K]:null}"string"==typeof N&&(b+=2)}return null}(e,t,x,l.index)),null!==Zn)(Zn.__ngLastListenerFn__||Zn).__ngNextListenerFn__=b,Zn.__ngLastListenerFn__=b,ct=!1;else{b=Sm(l,t,we,b,!1);const sr=i.listen(dn,x,b);Re.push(b,sr),he&&he.push(x,rn,xn,xn+1)}}else b=Sm(l,t,we,b,!1);const At=l.outputs;let jt;if(ct&&null!==At&&(jt=At[x])){const en=jt.length;if(en)for(let dn=0;dn-1?_i(e.index,t):t);let K=Bm(t,i,l,N),he=b.__ngNextListenerFn__;for(;he;)K=Bm(t,i,he,N)&&K,he=he.__ngNextListenerFn__;return x&&!1===K&&N.preventDefault(),K}}function Im(e=1){return function uE(e){return(nr.lFrame.contextLView=function Of(e,t){for(;e>0;)t=t[Ao],e--;return t}(e,nr.lFrame.contextLView))[Cr]}(e)}function v6(e,t){let i=null;const l=function yo(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let x=0;x(co(!0),function w0(e,t){return e.createText(t)}(t[Jn],l));function Qd(e){return hc("",e,""),Qd}function hc(e,t,i){const l=sn(),x=fa(l,e,t,i);return x!==ir&&Fo(l,ai(),x),hc}function Jd(e,t,i,l,x){const b=sn(),N=ha(b,e,t,i,l,x);return N!==ir&&Fo(b,ai(),N),Jd}function qd(e,t,i){Ox(t)&&(t=t());const l=sn();return $r(l,Gi(),t)&&yi(ur(),Sr(),l,e,t,l[Jn],i,!1),qd}function cg(e,t){const i=Ox(e);return i&&e.set(t),i}function ef(e,t){const i=sn(),l=ur(),x=yr();return Xd(l,i,i[Jn],x,e,t),ef}function tf(e,t,i,l,x){if(e=He(e),Array.isArray(e))for(let b=0;b>20;if(Wi(e)||!e.multi){const At=new Ga(he,x,Js),jt=rf(K,t,x?we:we+ct,Re);-1===jt?(Xc(lu(H,N),b,K),nf(b,e,t.length),t.push(K),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(At),N.push(At)):(i[jt]=At,N[jt]=At)}else{const At=rf(K,t,we+ct,Re),jt=rf(K,t,we,we+ct),dn=jt>=0&&i[jt];if(x&&!dn||!x&&!(At>=0&&i[At])){Xc(lu(H,N),b,K);const xn=function R6(e,t,i,l,x){const b=new Ga(e,i,Js);return b.multi=[],b.index=t,b.componentProviders=0,dg(b,x,l&&!i),b}(x?O6:P6,i.length,x,l,he);!x&&dn&&(i[jt].providerFactory=xn),nf(b,e,t.length,0),t.push(K),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(xn),N.push(xn)}else nf(b,e,At>-1?At:jt,dg(i[x?jt:At],he,!x&&l));!x&&l&&dn&&i[jt].componentProviders++}}}function nf(e,t,i,l){const x=Wi(t),b=function Oa(e){return!!e.useClass}(t);if(x||b){const K=(b?He(t.useClass):t).prototype.ngOnDestroy;if(K){const he=e.destroyHooks||(e.destroyHooks=[]);if(!x&&t.multi){const we=he.indexOf(i);-1===we?he.push(i,[l,K]):he[we+1].push(l,K)}else he.push(i,K)}}}function dg(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function rf(e,t,i,l){for(let x=i;x{i.providersResolver=(l,x)=>function F6(e,t,i){const l=ur();if(l.firstCreatePass){const x=wi(e);tf(i,l.data,l.blueprint,x,!0),tf(t,l.data,l.blueprint,x,!1)}}(l,x?x(e):e,t)}}let N6=(()=>{var e;class t{constructor(l){this._injector=l,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(l){if(!l.standalone)return null;if(!this.cachedInjectors.has(l)){const x=Ro(0,l.type),b=x.length>0?md([x],this._injector,`Standalone[${l.type.name}]`):null;this.cachedInjectors.set(l,b)}return this.cachedInjectors.get(l)}ngOnDestroy(){try{for(const l of this.cachedInjectors.values())null!==l&&l.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Dn({token:e,providedIn:"environment",factory:()=>new e(Ar(di))}),t})();function hg(e){xo("NgStandalone"),e.getStandaloneInjector=t=>t.get(N6).getOrCreateStandaloneInjector(e)}function xg(e,t,i){const l=hi()+e,x=sn();return x[l]===ir?vo(x,l,i?t.call(i):t()):function Ml(e,t){return e[t]}(x,l)}function vg(e,t,i,l){return gg(sn(),hi(),e,t,i,l)}function mg(e,t,i,l,x){return function Eg(e,t,i,l,x,b,N){const H=t+i;return Cs(e,H,x,b)?vo(e,H+2,N?l.call(N,x,b):l(x,b)):kl(e,H+2)}(sn(),hi(),e,t,i,l,x)}function kl(e,t){const i=e[t];return i===ir?void 0:i}function gg(e,t,i,l,x,b){const N=t+i;return $r(e,N,x)?vo(e,N+1,b?l.call(b,x):l(x)):kl(e,N+1)}function Dg(e,t){const i=ur();let l;const x=e+qn;var b;i.firstCreatePass?(l=function K6(e,t){if(t)for(let i=t.length-1;i>=0;i--){const l=t[i];if(e===l.name)return l}}(t,i.pipeRegistry),i.data[x]=l,l.onDestroy&&(null!==(b=i.destroyHooks)&&void 0!==b?b:i.destroyHooks=[]).push(x,l.onDestroy)):l=i.data[x];const N=l.factory||(l.factory=ei(l.type)),K=On(Js);try{const he=au(!1),we=N();return au(he),function y6(e,t,i,l){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=l}(i,sn(),x,we),we}finally{On(K)}}function Ag(e,t,i){const l=e+qn,x=sn(),b=function Ls(e,t){return e[t]}(x,l);return function Ll(e,t){return e[mn].data[t].pure}(x,l)?gg(x,hi(),t,b.transform,i,b):b.transform(i)}class Ug{constructor(t){this.full=t;const i=t.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}let Vg=(()=>{var e;class t{log(l){console.log(l)}warn(l){console.warn(l)}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Wg=new Lt(""),Kg=new Lt("");let hf,zD=(()=>{var e;class t{constructor(l,x,b){this._ngZone=l,this.registry=x,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,hf||(function WD(e){hf=e}(b),b.addToWindow(x)),this._watchAngularEvents(),l.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Hr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let l=this._callbacks.pop();clearTimeout(l.timeoutId),l.doneCb()}});else{let l=this.getPendingTasks();this._callbacks=this._callbacks.filter(x=>!x.updateCb||!x.updateCb(l)||(clearTimeout(x.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(l=>({source:l.source,creationLocation:l.creationLocation,data:l.data})):[]}addCallback(l,x,b){let N=-1;x&&x>0&&(N=setTimeout(()=>{this._callbacks=this._callbacks.filter(H=>H.timeoutId!==N),l()},x)),this._callbacks.push({doneCb:l,timeoutId:N,updateCb:b})}whenStable(l,x,b){if(b&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(l,x,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(l){this.registry.registerApplication(l,this)}unregisterApplication(l){this.registry.unregisterApplication(l)}findProviders(l,x,b){return[]}}return(e=t).\u0275fac=function(l){return new(l||e)(Ar(Hr),Ar(Gg),Ar(Kg))},e.\u0275prov=Dn({token:e,factory:e.\u0275fac}),t})(),Gg=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(l,x){this._applications.set(l,x)}unregisterApplication(l){this._applications.delete(l)}unregisterAllApplications(){this._applications.clear()}getTestability(l){return this._applications.get(l)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(l,x=!0){var b,N;return null!==(b=null===(N=hf)||void 0===N?void 0:N.findTestabilityInTree(this,l,x))&&void 0!==b?b:null}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function pf(e){return!!e&&"function"==typeof e.then}function Xg(e){return!!e&&"function"==typeof e.subscribe}const Yg=new Lt("");let xf=(()=>{var e;class t{constructor(){var l;this.initialized=!1,this.done=!1,this.donePromise=new Promise((x,b)=>{this.resolve=x,this.reject=b}),this.appInits=null!==(l=jn(Yg,{optional:!0}))&&void 0!==l?l:[]}runInitializers(){if(this.initialized)return;const l=[];for(const b of this.appInits){const N=b();if(pf(N))l.push(N);else if(Xg(N)){const H=new Promise((K,he)=>{N.subscribe({complete:K,error:he})});l.push(H)}}const x=()=>{this.done=!0,this.resolve()};Promise.all(l).then(()=>{x()}).catch(b=>{this.reject(b)}),0===l.length&&x(),this.initialized=!0}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const vf=new Lt("");function Jg(e,t){return Array.isArray(t)?t.reduce(Jg,e):{...e,...t}}let Qo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=jn(vh),this.afterRenderEffectManager=jn(yl),this.externalTestViews=new Set,this.beforeRender=new Oe.B,this.afterTick=new Oe.B,this.componentTypes=[],this.components=[],this.isStable=jn(ra).hasPendingTasks.pipe((0,Se.T)(l=>!l)),this._injector=jn(di)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(l,x){const b=l instanceof rx;if(!this._injector.get(xf).done)throw!b&&si(l),new G(405,!1);let H;H=b?l:this._injector.get(zu).resolveComponentFactory(l),this.componentTypes.push(H.componentType);const K=function KD(e){return e.isBoundToModule}(H)?void 0:this._injector.get(ys),we=H.create(Bi.NULL,[],x||H.selector,K),Re=we.location.nativeElement,ct=we.injector.get(Wg,null);return null==ct||ct.registerApplication(Re),we.onDestroy(()=>{this.detachView(we.hostView),mc(this.components,we),null==ct||ct.unregisterApplication(Re)}),this._loadComponent(we),we}tick(){this._tick(!0)}_tick(l){if(this._runningTick)throw new G(101,!1);const x=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(l)}catch(b){this.internalErrorHandler(b)}finally{this.afterTick.next(),this._runningTick=!1,C(x)}}detectChangesInAttachedViews(l){let x=0;const b=this.afterRenderEffectManager;for(;;){if(x===Gp)throw new G(103,!1);if(l){const N=0===x;this.beforeRender.next(N);for(let{_lView:H,notifyErrorHandler:K}of this._views)XD(H,N,K)}if(x++,b.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:N})=>mf(N))&&(b.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:N})=>mf(N))))break}}attachView(l){const x=l;this._views.push(x),x.attachToAppRef(this)}detachView(l){const x=l;mc(this._views,x),x.detachFromAppRef()}_loadComponent(l){this.attachView(l.hostView),this.tick(),this.components.push(l);const x=this._injector.get(vf,[]);[...this._bootstrapListeners,...x].forEach(b=>b(l))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(l=>l()),this._views.slice().forEach(l=>l.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(l){return this._destroyListeners.push(l),()=>mc(this._destroyListeners,l)}destroy(){if(this._destroyed)throw new G(406,!1);const l=this._injector;l.destroy&&!l.destroyed&&l.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function mc(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function XD(e,t,i){!t&&!mf(e)||function YD(e,t,i){let l;i?(l=0,e[Nn]|=1024):l=64&e[Nn]?0:1,Lu(e,t,l)}(e,i,t)}function mf(e){return Pc(e)}class ZD{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let QD=(()=>{var e;class t{compileModuleSync(l){return new vd(l)}compileModuleAsync(l){return Promise.resolve(this.compileModuleSync(l))}compileModuleAndAllComponentsSync(l){const x=this.compileModuleSync(l),N=Si(Kr(l).declarations).reduce((H,K)=>{const he=tr(K);return he&&H.push(new Dl(he)),H},[]);return new ZD(x,N)}compileModuleAndAllComponentsAsync(l){return Promise.resolve(this.compileModuleAndAllComponentsSync(l))}clearCache(){}clearCacheFor(l){}getModuleId(l){}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),eA=(()=>{var e;class t{constructor(){this.zone=jn(Hr),this.applicationRef=jn(Qo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var l;null===(l=this._onMicrotaskEmptySubscription)||void 0===l||l.unsubscribe()}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function tA(){const e=jn(Hr),t=jn(So);return i=>e.runOutsideAngular(()=>t.handleError(i))}let rA=(()=>{var e;class t{constructor(){this.subscription=new pe.yU,this.initialized=!1,this.zone=jn(Hr),this.pendingTasks=jn(ra)}initialize(){if(this.initialized)return;this.initialized=!0;let l=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(l=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Hr.assertNotInAngularZone(),queueMicrotask(()=>{null!==l&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(l),l=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{var x;Hr.assertInAngularZone(),null!==(x=l)&&void 0!==x||(l=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const gc=new Lt("",{providedIn:"root",factory:()=>jn(gc,tn.Optional|tn.SkipSelf)||function iA(){return typeof $localize<"u"&&$localize.locale||Da}()}),oA=new Lt("",{providedIn:"root",factory:()=>"USD"}),gf=new Lt("");let n1=(()=>{var e;class t{constructor(l){this._injector=l,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(l,x){const b=function H9(e="zone.js",t){return"noop"===e?new cx:"zone.js"===e?new Hr(t):e}(null==x?void 0:x.ngZone,function t1(e){var t,i;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(i=null==e?void 0:e.runCoalescing)&&void 0!==i&&i}}({eventCoalescing:null==x?void 0:x.ngZoneEventCoalescing,runCoalescing:null==x?void 0:x.ngZoneRunCoalescing}));return b.run(()=>{const N=function RC(e,t,i){return new xd(e,t,i)}(l.moduleType,this.injector,function e1(e){return[{provide:Hr,useFactory:e},{provide:Mr,multi:!0,useFactory:()=>{const t=jn(eA,{optional:!0});return()=>t.initialize()}},{provide:Mr,multi:!0,useFactory:()=>{const t=jn(rA);return()=>{t.initialize()}}},{provide:vh,useFactory:tA}]}(()=>b)),H=N.injector.get(So,null);return b.runOutsideAngular(()=>{const K=b.onError.subscribe({next:he=>{H.handleError(he)}});N.onDestroy(()=>{mc(this._modules,N),K.unsubscribe()})}),function Qg(e,t,i){try{const l=i();return pf(l)?l.catch(x=>{throw t.runOutsideAngular(()=>e.handleError(x)),x}):l}catch(l){throw t.runOutsideAngular(()=>e.handleError(l)),l}}(H,b,()=>{const K=N.injector.get(xf);return K.runInitializers(),K.donePromise.then(()=>(function nm(e){"string"==typeof e&&(tm=e.toLowerCase().replace(/_/g,"-"))}(N.injector.get(gc,Da)||Da),this._moduleDoBootstrap(N),N))})})}bootstrapModule(l,x=[]){const b=Jg({},x);return function qD(e,t,i){const l=new vd(i);return Promise.resolve(l)}(0,0,l).then(N=>this.bootstrapModuleFactory(N,b))}_moduleDoBootstrap(l){const x=l.injector.get(Qo);if(l._bootstrapComponents.length>0)l._bootstrapComponents.forEach(b=>x.bootstrap(b));else{if(!l.instance.ngDoBootstrap)throw new G(-403,!1);l.instance.ngDoBootstrap(x)}this._modules.push(l)}onDestroy(l){this._destroyListeners.push(l)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new G(404,!1);this._modules.slice().forEach(x=>x.destroy()),this._destroyListeners.forEach(x=>x());const l=this._injector.get(gf,null);l&&(l.forEach(x=>x()),l.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(l){return new(l||e)(Ar(Bi))},e.\u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Jo=null;const r1=new Lt("");function i1(e,t,i=[]){const l=`Platform: ${t}`,x=new Lt(l);return(b=[])=>{let N=Ef();if(!N||N.injector.get(r1,!1)){const H=[...i,...b,{provide:x,useValue:!0}];e?e(H):function aA(e){if(Jo&&!Jo.get(r1,!1))throw new G(400,!1);(function Zg(){!function f(e){v=e}(()=>{throw new G(600,!1)})})(),Jo=e;const t=e.get(n1);(function s1(e){const t=e.get($h,null);null==t||t.forEach(i=>i())})(e)}(function o1(e=[],t){return Bi.create({name:t,providers:[{provide:No,useValue:"platform"},{provide:gf,useValue:new Set([()=>Jo=null])},...e]})}(H,l))}return function lA(e){const t=Ef();if(!t)throw new G(401,!1);return t}()}}function Ef(){var e,t;return null!==(e=null===(t=Jo)||void 0===t?void 0:t.get(n1))&&void 0!==e?e:null}function cA(){}let l1=(()=>{class t{}return t.__NG_ELEMENT_ID__=dA,t})();function dA(e){return function fA(e,t,i){if(Ho(e)&&!i){const l=_i(e.index,t);return new pl(l,l)}return 47&e.type?new pl(t[Tr],t):null}(yr(),sn(),!(16&~e))}class f1{constructor(){}supports(t){return Ju(t)}create(t){return new mA(t)}}const vA=(e,t)=>t;class mA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||vA}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,l=this._removalsHead,x=0,b=null;for(;i||l;){const N=!l||i&&i.currentIndex{N=this._trackByFn(x,H),null!==i&&Object.is(i.trackById,N)?(l&&(i=this._verifyReinsertion(i,H,N,x)),Object.is(i.item,H)||this._addIdentityChange(i,H)):(i=this._mismatch(i,H,N,x),l=!0),i=i._next,x++}),this.length=x;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,l,x){let b;return null===t?b=this._itTail:(b=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,b,x)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(l,x))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,b,x)):t=this._addAfter(new gA(i,l),b,x),t}_verifyReinsertion(t,i,l,x){let b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==b?t=this._reinsertAfter(b,t._prev,x):t.currentIndex!=x&&(t.currentIndex=x,this._addToMoves(t,x)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const x=t._prevRemoved,b=t._nextRemoved;return null===x?this._removalsHead=b:x._nextRemoved=b,null===b?this._removalsTail=x:b._prevRemoved=x,this._insertAfter(t,i,l),this._addToMoves(t,l),t}_moveAfter(t,i,l){return this._unlink(t),this._insertAfter(t,i,l),this._addToMoves(t,l),t}_addAfter(t,i,l){return this._insertAfter(t,i,l),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,l){const x=null===i?this._itHead:i._next;return t._next=x,t._prev=i,null===x?this._itTail=t:x._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new h1),this._linkedRecords.put(t),t.currentIndex=l,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,l=t._next;return null===i?this._itHead=l:i._next=l,null===l?this._itTail=i:l._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new h1),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gA{constructor(t,i){this.item=t,this.trackById=i,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 EA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===i||i<=l.currentIndex)&&Object.is(l.trackById,t))return l;return null}remove(t){const i=t._prevDup,l=t._nextDup;return null===i?this._head=l:i._nextDup=l,null===l?this._tail=i:l._prevDup=i,null===this._head}}class h1{constructor(){this.map=new Map}put(t){const i=t.trackById;let l=this.map.get(i);l||(l=new EA,this.map.set(i,l)),l.add(t)}get(t,i){const x=this.map.get(t);return x?x.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function p1(e,t,i){const l=e.previousIndex;if(null===l)return l;let x=0;return i&&l{if(i&&i.key===x)this._maybeAddToChanges(i,l),this._appendAfter=i,i=i._next;else{const b=this._getOrCreateRecordForKey(x,l);i=this._insertBeforeOrAppend(i,b)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let l=i;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const l=t._prev;return i._next=t,i._prev=l,t._prev=i,l&&(l._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const x=this._records.get(t);this._maybeAddToChanges(x,i);const b=x._prev,N=x._next;return b&&(b._next=N),N&&(N._prev=b),x._next=null,x._prev=null,x}const l=new CA(t);return this._records.set(t,l),l.currentValue=i,this._addToAdditions(l),l}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(l=>i(t[l],l))}}class CA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function v1(){return new Af([new f1])}let Af=(()=>{var e;class t{constructor(l){this.factories=l}static create(l,x){if(null!=x){const b=x.factories.slice();l=l.concat(b)}return new t(l)}static extend(l){return{provide:t,useFactory:x=>t.create(l,x||v1()),deps:[[t,new mi,new Wr]]}}find(l){const x=this.factories.find(b=>b.supports(l));if(null!=x)return x;throw new G(901,!1)}}return(e=t).\u0275prov=Dn({token:e,providedIn:"root",factory:v1}),t})();function m1(){return new Mf([new x1])}let Mf=(()=>{var e;class t{constructor(l){this.factories=l}static create(l,x){if(x){const b=x.factories.slice();l=l.concat(b)}return new t(l)}static extend(l){return{provide:t,useFactory:x=>t.create(l,x||m1()),deps:[[t,new mi,new Wr]]}}find(l){const x=this.factories.find(b=>b.supports(l));if(x)return x;throw new G(901,!1)}}return(e=t).\u0275prov=Dn({token:e,providedIn:"root",factory:m1}),t})();const AA=i1(null,"core",[]);let MA=(()=>{var e;class t{constructor(l){}}return(e=t).\u0275fac=function(l){return new(l||e)(Ar(Qo))},e.\u0275mod=ts({type:e}),e.\u0275inj=Vn({}),t})();function e3(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function n3(e){const t=C(null);try{return e()}finally{C(t)}}function l3(e,t){const i=tr(e),l=t.elementInjector||ko();return new Dl(i).create(l,t.projectableNodes,t.hostElement,t.environmentInjector)}function u3(e){const t=tr(e);if(!t)return null;const i=new Dl(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(Ce,ee,E)=>{"use strict";E.d(ee,{BC:()=>ne,VZ:()=>ei,X1:()=>gi,YN:()=>es,cz:()=>k,kq:()=>w,vO:()=>pe,vS:()=>xt,zX:()=>mi});var a=E(4438),S=E(177),p=E(6648),R=E(7468),c=E(6354);let D=(()=>{var be;class ce{constructor(ge,ot){this._renderer=ge,this._elementRef=ot,this.onChange=vn=>{},this.onTouched=()=>{}}setProperty(ge,ot){this._renderer.setProperty(this._elementRef.nativeElement,ge,ot)}registerOnTouched(ge){this.onTouched=ge}registerOnChange(ge){this.onChange=ge}setDisabledState(ge){this.setProperty("disabled",ge)}}return(be=ce).\u0275fac=function(ge){return new(ge||be)(a.rXU(a.sFG),a.rXU(a.aKT))},be.\u0275dir=a.FsC({type:be}),ce})(),C=(()=>{var be;class ce extends D{}return(be=ce).\u0275fac=(()=>{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,features:[a.Vt3]}),ce})();const w=new a.nKC(""),g={provide:w,useExisting:(0,a.Rfq)(()=>B),multi:!0},A=new a.nKC("");let B=(()=>{var be;class ce extends D{constructor(ge,ot,vn){super(ge,ot),this._compositionMode=vn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function F(){const be=(0,S.QT)()?(0,S.QT)().getUserAgent():"";return/android (\d+)/.test(be.toLowerCase())}())}writeValue(ge){this.setProperty("value",null==ge?"":ge)}_handleInput(ge){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ge)}_compositionStart(){this._composing=!0}_compositionEnd(ge){this._composing=!1,this._compositionMode&&this.onChange(ge)}}return(be=ce).\u0275fac=function(ge){return new(ge||be)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(A,8))},be.\u0275dir=a.FsC({type:be,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(ge,ot){1&ge&&a.bIt("input",function(zn){return ot._handleInput(zn.target.value)})("blur",function(){return ot.onTouched()})("compositionstart",function(){return ot._compositionStart()})("compositionend",function(zn){return ot._compositionEnd(zn.target.value)})},features:[a.Jv_([g]),a.Vt3]}),ce})();function P(be){return null==be||("string"==typeof be||Array.isArray(be))&&0===be.length}const k=new a.nKC(""),M=new a.nKC("");function o(be){return null}function u(be){return null!=be}function s(be){return(0,a.jNT)(be)?(0,p.H)(be):be}function h(be){let ce={};return be.forEach(Xe=>{ce=null!=Xe?{...ce,...Xe}:ce}),0===Object.keys(ce).length?null:ce}function v(be,ce){return ce.map(Xe=>Xe(be))}function f(be){return be.map(ce=>function y(be){return!be.validate}(ce)?ce:Xe=>ce.validate(Xe))}function d(be){return null!=be?function r(be){if(!be)return null;const ce=be.filter(u);return 0==ce.length?null:function(Xe){return h(v(Xe,ce))}}(f(be)):null}function I(be){return null!=be?function L(be){if(!be)return null;const ce=be.filter(u);return 0==ce.length?null:function(Xe){const ge=v(Xe,ce).map(s);return(0,R.p)(ge).pipe((0,c.T)(h))}}(f(be)):null}function V(be,ce){return null===be?[ce]:Array.isArray(be)?[...be,ce]:[be,ce]}function ve(be){return be?Array.isArray(be)?be:[be]:[]}function Ae(be,ce){return Array.isArray(be)?be.includes(ce):be===ce}function Q(be,ce){const Xe=ve(ce);return ve(be).forEach(ot=>{Ae(Xe,ot)||Xe.push(ot)}),Xe}function ae(be,ce){return ve(ce).filter(Xe=>!Ae(be,Xe))}class tt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ce){this._rawValidators=ce||[],this._composedValidatorFn=d(this._rawValidators)}_setAsyncValidators(ce){this._rawAsyncValidators=ce||[],this._composedAsyncValidatorFn=I(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ce){this._onDestroyCallbacks.push(ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ce=>ce()),this._onDestroyCallbacks=[]}reset(ce=void 0){this.control&&this.control.reset(ce)}hasError(ce,Xe){return!!this.control&&this.control.hasError(ce,Xe)}getError(ce,Xe){return this.control?this.control.getError(ce,Xe):null}}class Oe extends tt{get formDirective(){return null}get path(){return null}}class pe extends tt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ie{constructor(ce){this._cd=ce}get isTouched(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.touched)}get isUntouched(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.untouched)}get isPristine(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.pristine)}get isDirty(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.dirty)}get isValid(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.valid)}get isInvalid(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.invalid)}get isPending(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.pending)}get isSubmitted(){var ce;return!(null===(ce=this._cd)||void 0===ce||!ce.submitted)}}let ne=(()=>{var be;class ce extends Ie{constructor(ge){super(ge)}}return(be=ce).\u0275fac=function(ge){return new(ge||be)(a.rXU(pe,2))},be.\u0275dir=a.FsC({type:be,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ge,ot){2&ge&&a.AVh("ng-untouched",ot.isUntouched)("ng-touched",ot.isTouched)("ng-pristine",ot.isPristine)("ng-dirty",ot.isDirty)("ng-valid",ot.isValid)("ng-invalid",ot.isInvalid)("ng-pending",ot.isPending)},features:[a.Vt3]}),ce})();const St="VALID",ft="INVALID",In="PENDING",kt="DISABLED";function _e(be){return null!=be&&!Array.isArray(be)&&"object"==typeof be}class Ze{constructor(ce,Xe){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ce),this._assignAsyncValidators(Xe)}get validator(){return this._composedValidatorFn}set validator(ce){this._rawValidators=this._composedValidatorFn=ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=ce}get parent(){return this._parent}get valid(){return this.status===St}get invalid(){return this.status===ft}get pending(){return this.status==In}get disabled(){return this.status===kt}get enabled(){return this.status!==kt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ce){this._assignValidators(ce)}setAsyncValidators(ce){this._assignAsyncValidators(ce)}addValidators(ce){this.setValidators(Q(ce,this._rawValidators))}addAsyncValidators(ce){this.setAsyncValidators(Q(ce,this._rawAsyncValidators))}removeValidators(ce){this.setValidators(ae(ce,this._rawValidators))}removeAsyncValidators(ce){this.setAsyncValidators(ae(ce,this._rawAsyncValidators))}hasValidator(ce){return Ae(this._rawValidators,ce)}hasAsyncValidator(ce){return Ae(this._rawAsyncValidators,ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ce={}){this.touched=!0,this._parent&&!ce.onlySelf&&this._parent.markAsTouched(ce)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ce=>ce.markAllAsTouched())}markAsUntouched(ce={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Xe=>{Xe.markAsUntouched({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}markAsDirty(ce={}){this.pristine=!1,this._parent&&!ce.onlySelf&&this._parent.markAsDirty(ce)}markAsPristine(ce={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Xe=>{Xe.markAsPristine({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}markAsPending(ce={}){this.status=In,!1!==ce.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ce.onlySelf&&this._parent.markAsPending(ce)}disable(ce={}){const Xe=this._parentMarkedDirty(ce.onlySelf);this.status=kt,this.errors=null,this._forEachChild(ge=>{ge.disable({...ce,onlySelf:!0})}),this._updateValue(),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ce,skipPristineCheck:Xe}),this._onDisabledChange.forEach(ge=>ge(!0))}enable(ce={}){const Xe=this._parentMarkedDirty(ce.onlySelf);this.status=St,this._forEachChild(ge=>{ge.enable({...ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent}),this._updateAncestors({...ce,skipPristineCheck:Xe}),this._onDisabledChange.forEach(ge=>ge(!1))}_updateAncestors(ce){this._parent&&!ce.onlySelf&&(this._parent.updateValueAndValidity(ce),ce.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ce){this._parent=ce}getRawValue(){return this.value}updateValueAndValidity(ce={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===St||this.status===In)&&this._runAsyncValidator(ce.emitEvent)),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ce.onlySelf&&this._parent.updateValueAndValidity(ce)}_updateTreeValidity(ce={emitEvent:!0}){this._forEachChild(Xe=>Xe._updateTreeValidity(ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?kt:St}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ce){if(this.asyncValidator){this.status=In,this._hasOwnPendingAsyncValidator=!0;const Xe=s(this.asyncValidator(this));this._asyncValidationSubscription=Xe.subscribe(ge=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ge,{emitEvent:ce})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ce,Xe={}){this.errors=ce,this._updateControlsErrors(!1!==Xe.emitEvent)}get(ce){let Xe=ce;return null==Xe||(Array.isArray(Xe)||(Xe=Xe.split(".")),0===Xe.length)?null:Xe.reduce((ge,ot)=>ge&&ge._find(ot),this)}getError(ce,Xe){const ge=Xe?this.get(Xe):this;return ge&&ge.errors?ge.errors[ce]:null}hasError(ce,Xe){return!!this.getError(ce,Xe)}get root(){let ce=this;for(;ce._parent;)ce=ce._parent;return ce}_updateControlsErrors(ce){this.status=this._calculateStatus(),ce&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ce)}_initObservables(){this.valueChanges=new a.bkB,this.statusChanges=new a.bkB}_calculateStatus(){return this._allControlsDisabled()?kt:this.errors?ft:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(In)?In:this._anyControlsHaveStatus(ft)?ft:St}_anyControlsHaveStatus(ce){return this._anyControls(Xe=>Xe.status===ce)}_anyControlsDirty(){return this._anyControls(ce=>ce.dirty)}_anyControlsTouched(){return this._anyControls(ce=>ce.touched)}_updatePristine(ce={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}_updateTouched(ce={}){this.touched=this._anyControlsTouched(),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}_registerOnCollectionChange(ce){this._onCollectionChange=ce}_setUpdateStrategy(ce){_e(ce)&&null!=ce.updateOn&&(this._updateOn=ce.updateOn)}_parentMarkedDirty(ce){return!ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ce){return null}_assignValidators(ce){this._rawValidators=Array.isArray(ce)?ce.slice():ce,this._composedValidatorFn=function Un(be){return Array.isArray(be)?d(be):be||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function He(be){return Array.isArray(be)?I(be):be||null}(this._rawAsyncValidators)}}const Je=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>st}),st="always";function Ct(be,ce,Xe=st){var ge,ot;(function Rt(be,ce){const Xe=function q(be){return be._rawValidators}(be);null!==ce.validator?be.setValidators(V(Xe,ce.validator)):"function"==typeof Xe&&be.setValidators([Xe]);const ge=function oe(be){return be._rawAsyncValidators}(be);null!==ce.asyncValidator?be.setAsyncValidators(V(ge,ce.asyncValidator)):"function"==typeof ge&&be.setAsyncValidators([ge]);const ot=()=>be.updateValueAndValidity();Wt(ce._rawValidators,ot),Wt(ce._rawAsyncValidators,ot)})(be,ce),ce.valueAccessor.writeValue(be.value),(be.disabled||"always"===Xe)&&(null===(ge=(ot=ce.valueAccessor).setDisabledState)||void 0===ge||ge.call(ot,be.disabled)),function bn(be,ce){ce.valueAccessor.registerOnChange(Xe=>{be._pendingValue=Xe,be._pendingChange=!0,be._pendingDirty=!0,"change"===be.updateOn&&Dn(be,ce)})}(be,ce),function Wn(be,ce){const Xe=(ge,ot)=>{ce.valueAccessor.writeValue(ge),ot&&ce.viewToModelUpdate(ge)};be.registerOnChange(Xe),ce._registerOnDestroy(()=>{be._unregisterOnChange(Xe)})}(be,ce),function wn(be,ce){ce.valueAccessor.registerOnTouched(()=>{be._pendingTouched=!0,"blur"===be.updateOn&&be._pendingChange&&Dn(be,ce),"submit"!==be.updateOn&&be.markAsTouched()})}(be,ce),function Ot(be,ce){if(ce.valueAccessor.setDisabledState){const Xe=ge=>{ce.valueAccessor.setDisabledState(ge)};be.registerOnDisabledChange(Xe),ce._registerOnDestroy(()=>{be._unregisterOnDisabledChange(Xe)})}}(be,ce)}function Wt(be,ce){be.forEach(Xe=>{Xe.registerOnValidatorChange&&Xe.registerOnValidatorChange(ce)})}function Dn(be,ce){be._pendingDirty&&be.markAsDirty(),be.setValue(be._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(be._pendingValue),be._pendingChange=!1}function Kn(be,ce){const Xe=be.indexOf(ce);Xe>-1&&be.splice(Xe,1)}function hr(be){return"object"==typeof be&&null!==be&&2===Object.keys(be).length&&"value"in be&&"disabled"in be}Promise.resolve();const Ke=class extends Ze{constructor(ce=null,Xe,ge){super(function Nt(be){return(_e(be)?be.validators:be)||null}(Xe),function Vt(be,ce){return(_e(ce)?ce.asyncValidators:be)||null}(ge,Xe)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ce),this._setUpdateStrategy(Xe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_e(Xe)&&(Xe.nonNullable||Xe.initialValueIsDefault)&&(this.defaultValue=hr(ce)?ce.value:ce)}setValue(ce,Xe={}){this.value=this._pendingValue=ce,this._onChange.length&&!1!==Xe.emitModelToViewChange&&this._onChange.forEach(ge=>ge(this.value,!1!==Xe.emitViewToModelChange)),this.updateValueAndValidity(Xe)}patchValue(ce,Xe={}){this.setValue(ce,Xe)}reset(ce=this.defaultValue,Xe={}){this._applyFormState(ce),this.markAsPristine(Xe),this.markAsUntouched(Xe),this.setValue(this.value,Xe),this._pendingChange=!1}_updateValue(){}_anyControls(ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ce){this._onChange.push(ce)}_unregisterOnChange(ce){Kn(this._onChange,ce)}registerOnDisabledChange(ce){this._onDisabledChange.push(ce)}_unregisterOnDisabledChange(ce){Kn(this._onDisabledChange,ce)}_forEachChild(ce){}_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(ce){hr(ce)?(this.value=this._pendingValue=ce.value,ce.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ce}},We={provide:pe,useExisting:(0,a.Rfq)(()=>xt)},dt=Promise.resolve();let xt=(()=>{var be;class ce extends pe{constructor(ge,ot,vn,zn,Pr,ci){super(),this._changeDetectorRef=Pr,this.callSetDisabledState=ci,this.control=new Ke,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=ge,this._setValidators(ot),this._setAsyncValidators(vn),this.valueAccessor=function Lt(be,ce){if(!ce)return null;let Xe,ge,ot;return Array.isArray(ce),ce.forEach(vn=>{vn.constructor===B?Xe=vn:function Tt(be){return Object.getPrototypeOf(be.constructor)===C}(vn)?ge=vn:ot=vn}),ot||ge||Xe||null}(0,zn)}ngOnChanges(ge){if(this._checkForErrors(),!this._registered||"name"in ge){if(this._registered&&(this._checkName(),this.formDirective)){const ot=ge.name.previousValue;this.formDirective.removeControl({name:ot,path:this._getPath(ot)})}this._setUpControl()}"isDisabled"in ge&&this._updateDisabled(ge),function lt(be,ce){if(!be.hasOwnProperty("model"))return!1;const Xe=be.model;return!!Xe.isFirstChange()||!Object.is(ce,Xe.currentValue)}(ge,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}_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(){Ct(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ge){dt.then(()=>{var ot;this.control.setValue(ge,{emitViewToModelChange:!1}),null===(ot=this._changeDetectorRef)||void 0===ot||ot.markForCheck()})}_updateDisabled(ge){const ot=ge.isDisabled.currentValue,vn=0!==ot&&(0,a.L39)(ot);dt.then(()=>{var zn;vn&&!this.control.disabled?this.control.disable():!vn&&this.control.disabled&&this.control.enable(),null===(zn=this._changeDetectorRef)||void 0===zn||zn.markForCheck()})}_getPath(ge){return this._parent?function qt(be,ce){return[...ce.path,be]}(ge,this._parent):[ge]}}return(be=ce).\u0275fac=function(ge){return new(ge||be)(a.rXU(Oe,9),a.rXU(k,10),a.rXU(M,10),a.rXU(w,10),a.rXU(a.gRc,8),a.rXU(Je,8))},be.\u0275dir=a.FsC({type:be,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[a.Mj6.None,"disabled","isDisabled"],model:[a.Mj6.None,"ngModel","model"],options:[a.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.Jv_([We]),a.Vt3,a.OA$]}),ce})();const On=new a.nKC("");function ji(be){return"number"==typeof be?be:parseFloat(be)}let Wr=(()=>{var be;class ce{constructor(){this._validator=o}ngOnChanges(ge){if(this.inputName in ge){const ot=this.normalizeInput(ge[this.inputName].currentValue);this._enabled=this.enabled(ot),this._validator=this._enabled?this.createValidator(ot):o,this._onChange&&this._onChange()}}validate(ge){return this._validator(ge)}registerOnValidatorChange(ge){this._onChange=ge}enabled(ge){return null!=ge}}return(be=ce).\u0275fac=function(ge){return new(ge||be)},be.\u0275dir=a.FsC({type:be,features:[a.OA$]}),ce})();const Fi={provide:k,useExisting:(0,a.Rfq)(()=>mi),multi:!0};let mi=(()=>{var be;class ce extends Wr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ge=>ji(ge),this.createValidator=ge=>function W(be){return ce=>{if(P(ce.value)||P(be))return null;const Xe=parseFloat(ce.value);return!isNaN(Xe)&&Xe>be?{max:{max:be,actual:ce.value}}:null}}(ge)}}return(be=ce).\u0275fac=(()=>{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ge,ot){2&ge&&a.BMQ("max",ot._enabled?ot.max:null)},inputs:{max:"max"},features:[a.Jv_([Fi]),a.Vt3]}),ce})();const Po={provide:k,useExisting:(0,a.Rfq)(()=>ei),multi:!0};let ei=(()=>{var be;class ce extends Wr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ge=>ji(ge),this.createValidator=ge=>function j(be){return ce=>{if(P(ce.value)||P(be))return null;const Xe=parseFloat(ce.value);return!isNaN(Xe)&&Xe{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ge,ot){2&ge&&a.BMQ("min",ot._enabled?ot.min:null)},inputs:{min:"min"},features:[a.Jv_([Po]),a.Vt3]}),ce})(),Rn=(()=>{var be;class ce{}return(be=ce).\u0275fac=function(ge){return new(ge||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({}),ce})(),es=(()=>{var be;class ce{static withConfig(ge){var ot;return{ngModule:ce,providers:[{provide:Je,useValue:null!==(ot=ge.callSetDisabledState)&&void 0!==ot?ot:st}]}}}return(be=ce).\u0275fac=function(ge){return new(ge||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({imports:[Rn]}),ce})(),gi=(()=>{var be;class ce{static withConfig(ge){var ot,vn;return{ngModule:ce,providers:[{provide:On,useValue:null!==(ot=ge.warnOnNgModelWithFormControl)&&void 0!==ot?ot:"always"},{provide:Je,useValue:null!==(vn=ge.callSetDisabledState)&&void 0!==vn?vn:st}]}}}return(be=ce).\u0275fac=function(ge){return new(ge||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({imports:[Rn]}),ce})()},345:(Ce,ee,E)=>{"use strict";E.d(ee,{Bb:()=>Ie,hE:()=>ne,sG:()=>ae,up:()=>yn});var a=E(4438),S=E(177);class p extends S.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R extends p{static makeCurrent(){(0,S.ZD)(new R)}onAndCancel(_e,De,Me){return _e.addEventListener(De,Me),()=>{_e.removeEventListener(De,Me)}}dispatchEvent(_e,De){_e.dispatchEvent(De)}remove(_e){_e.parentNode&&_e.parentNode.removeChild(_e)}createElement(_e,De){return(De=De||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,De){return"window"===De?window:"document"===De?_e:"body"===De?_e.body:null}getBaseHref(_e){const De=function D(){return c=c||document.querySelector("base"),c?c.getAttribute("href"):null}();return null==De?null:function C(He){return new URL(He,document.baseURI).pathname}(De)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(_e){return(0,S._b)(document.cookie,_e)}}let c=null,T=(()=>{var He;class _e{build(){return new XMLHttpRequest}}return(He=_e).\u0275fac=function(Me){return new(Me||He)},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const _=new a.nKC("");let g=(()=>{var He;class _e{constructor(Me,Ze){this._zone=Ze,this._eventNameToPlugin=new Map,Me.forEach(Ve=>{Ve.manager=this}),this._plugins=Me.slice().reverse()}addEventListener(Me,Ze,Ve){return this._findPluginFor(Ze).addEventListener(Me,Ze,Ve)}getZone(){return this._zone}_findPluginFor(Me){let Ze=this._eventNameToPlugin.get(Me);if(Ze)return Ze;if(Ze=this._plugins.find(it=>it.supports(Me)),!Ze)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(Me,Ze),Ze}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(_),a.KVO(a.SKi))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();class F{constructor(_e){this._doc=_e}}const A="ng-app-id";let B=(()=>{var He;class _e{constructor(Me,Ze,Ve,it={}){this.doc=Me,this.appId=Ze,this.nonce=Ve,this.platformId=it,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,S.Vy)(it),this.resetHostNodes()}addStyles(Me){for(const Ze of Me)1===this.changeUsageCount(Ze,1)&&this.onStyleAdded(Ze)}removeStyles(Me){for(const Ze of Me)this.changeUsageCount(Ze,-1)<=0&&this.onStyleRemoved(Ze)}ngOnDestroy(){const Me=this.styleNodesInDOM;Me&&(Me.forEach(Ze=>Ze.remove()),Me.clear());for(const Ze of this.getAllStyles())this.onStyleRemoved(Ze);this.resetHostNodes()}addHost(Me){this.hostNodes.add(Me);for(const Ze of this.getAllStyles())this.addStyleToHost(Me,Ze)}removeHost(Me){this.hostNodes.delete(Me)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Me){for(const Ze of this.hostNodes)this.addStyleToHost(Ze,Me)}onStyleRemoved(Me){var Ze;const Ve=this.styleRef;null===(Ze=Ve.get(Me))||void 0===Ze||null===(Ze=Ze.elements)||void 0===Ze||Ze.forEach(it=>it.remove()),Ve.delete(Me)}collectServerRenderedStyles(){var Me;const Ze=null===(Me=this.doc.head)||void 0===Me?void 0:Me.querySelectorAll(`style[${A}="${this.appId}"]`);if(null!=Ze&&Ze.length){const Ve=new Map;return Ze.forEach(it=>{null!=it.textContent&&Ve.set(it.textContent,it)}),Ve}return null}changeUsageCount(Me,Ze){const Ve=this.styleRef;if(Ve.has(Me)){const it=Ve.get(Me);return it.usage+=Ze,it.usage}return Ve.set(Me,{usage:Ze,elements:[]}),Ze}getStyleElement(Me,Ze){const Ve=this.styleNodesInDOM,it=null==Ve?void 0:Ve.get(Ze);if((null==it?void 0:it.parentNode)===Me)return Ve.delete(Ze),it.removeAttribute(A),it;{const Pe=this.doc.createElement("style");return this.nonce&&Pe.setAttribute("nonce",this.nonce),Pe.textContent=Ze,this.platformIsServer&&Pe.setAttribute(A,this.appId),Me.appendChild(Pe),Pe}}addStyleToHost(Me,Ze){var Ve;const it=this.getStyleElement(Me,Ze),Pe=this.styleRef,Be=null===(Ve=Pe.get(Ze))||void 0===Ve?void 0:Ve.elements;Be?Be.push(it):Pe.set(Ze,{elements:[it],usage:1})}resetHostNodes(){const Me=this.hostNodes;Me.clear(),Me.add(this.doc.head)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const P={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/",math:"http://www.w3.org/1998/MathML/"},$=/%COMP%/g,k="%COMP%",M=`_nghost-${k}`,O=`_ngcontent-${k}`,j=new a.nKC("",{providedIn:"root",factory:()=>!0});function me(He,_e){return _e.map(De=>De.replace($,He))}let te=(()=>{var He;class _e{constructor(Me,Ze,Ve,it,Pe,Be,je,yt=null){this.eventManager=Me,this.sharedStylesHost=Ze,this.appId=Ve,this.removeStylesOnCompDestroy=it,this.doc=Pe,this.platformId=Be,this.ngZone=je,this.nonce=yt,this.rendererByCompId=new Map,this.platformIsServer=(0,S.Vy)(Be),this.defaultRenderer=new se(Me,Pe,je,this.platformIsServer)}createRenderer(Me,Ze){if(!Me||!Ze)return this.defaultRenderer;this.platformIsServer&&Ze.encapsulation===a.gXe.ShadowDom&&(Ze={...Ze,encapsulation:a.gXe.Emulated});const Ve=this.getOrCreateRenderer(Me,Ze);return Ve instanceof h?Ve.applyToHost(Me):Ve instanceof s&&Ve.applyStyles(),Ve}getOrCreateRenderer(Me,Ze){const Ve=this.rendererByCompId;let it=Ve.get(Ze.id);if(!it){const Pe=this.doc,Be=this.ngZone,je=this.eventManager,yt=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,st=this.platformIsServer;switch(Ze.encapsulation){case a.gXe.Emulated:it=new h(je,yt,Ze,this.appId,Je,Pe,Be,st);break;case a.gXe.ShadowDom:return new u(je,yt,Me,Ze,Pe,Be,this.nonce,st);default:it=new s(je,yt,Ze,Je,Pe,Be,st)}Ve.set(Ze.id,it)}return it}ngOnDestroy(){this.rendererByCompId.clear()}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(g),a.KVO(B),a.KVO(a.sZ2),a.KVO(j),a.KVO(S.qQ),a.KVO(a.Agw),a.KVO(a.SKi),a.KVO(a.BIS))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();class se{constructor(_e,De,Me,Ze){this.eventManager=_e,this.doc=De,this.ngZone=Me,this.platformIsServer=Ze,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(_e,De){return De?this.doc.createElementNS(P[De]||De,_e):this.doc.createElement(_e)}createComment(_e){return this.doc.createComment(_e)}createText(_e){return this.doc.createTextNode(_e)}appendChild(_e,De){(o(_e)?_e.content:_e).appendChild(De)}insertBefore(_e,De,Me){_e&&(o(_e)?_e.content:_e).insertBefore(De,Me)}removeChild(_e,De){_e&&_e.removeChild(De)}selectRootElement(_e,De){let Me="string"==typeof _e?this.doc.querySelector(_e):_e;if(!Me)throw new a.wOt(-5104,!1);return De||(Me.textContent=""),Me}parentNode(_e){return _e.parentNode}nextSibling(_e){return _e.nextSibling}setAttribute(_e,De,Me,Ze){if(Ze){De=Ze+":"+De;const Ve=P[Ze];Ve?_e.setAttributeNS(Ve,De,Me):_e.setAttribute(De,Me)}else _e.setAttribute(De,Me)}removeAttribute(_e,De,Me){if(Me){const Ze=P[Me];Ze?_e.removeAttributeNS(Ze,De):_e.removeAttribute(`${Me}:${De}`)}else _e.removeAttribute(De)}addClass(_e,De){_e.classList.add(De)}removeClass(_e,De){_e.classList.remove(De)}setStyle(_e,De,Me,Ze){Ze&(a.czy.DashCase|a.czy.Important)?_e.style.setProperty(De,Me,Ze&a.czy.Important?"important":""):_e.style[De]=Me}removeStyle(_e,De,Me){Me&a.czy.DashCase?_e.style.removeProperty(De):_e.style[De]=""}setProperty(_e,De,Me){null!=_e&&(_e[De]=Me)}setValue(_e,De){_e.nodeValue=De}listen(_e,De,Me){if("string"==typeof _e&&!(_e=(0,S.QT)().getGlobalEventTarget(this.doc,_e)))throw new Error(`Unsupported event target ${_e} for event ${De}`);return this.eventManager.addEventListener(_e,De,this.decoratePreventDefault(Me))}decoratePreventDefault(_e){return De=>{if("__ngUnwrap__"===De)return _e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>_e(De)):_e(De))&&De.preventDefault()}}}function o(He){return"TEMPLATE"===He.tagName&&void 0!==He.content}class u extends se{constructor(_e,De,Me,Ze,Ve,it,Pe,Be){super(_e,Ve,it,Be),this.sharedStylesHost=De,this.hostEl=Me,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const je=me(Ze.id,Ze.styles);for(const yt of je){const Je=document.createElement("style");Pe&&Je.setAttribute("nonce",Pe),Je.textContent=yt,this.shadowRoot.appendChild(Je)}}nodeOrShadowRoot(_e){return _e===this.hostEl?this.shadowRoot:_e}appendChild(_e,De){return super.appendChild(this.nodeOrShadowRoot(_e),De)}insertBefore(_e,De,Me){return super.insertBefore(this.nodeOrShadowRoot(_e),De,Me)}removeChild(_e,De){return super.removeChild(this.nodeOrShadowRoot(_e),De)}parentNode(_e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(_e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class s extends se{constructor(_e,De,Me,Ze,Ve,it,Pe,Be){super(_e,Ve,it,Pe),this.sharedStylesHost=De,this.removeStylesOnCompDestroy=Ze,this.styles=Be?me(Be,Me.styles):Me.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class h extends s{constructor(_e,De,Me,Ze,Ve,it,Pe,Be){const je=Ze+"-"+Me.id;super(_e,De,Me,Ve,it,Pe,Be,je),this.contentAttr=function W(He){return O.replace($,He)}(je),this.hostAttr=function ie(He){return M.replace($,He)}(je)}applyToHost(_e){this.applyStyles(),this.setAttribute(_e,this.hostAttr,"")}createElement(_e,De){const Me=super.createElement(_e,De);return super.setAttribute(Me,this.contentAttr,""),Me}}let v=(()=>{var He;class _e extends F{constructor(Me){super(Me)}supports(Me){return!0}addEventListener(Me,Ze,Ve){return Me.addEventListener(Ze,Ve,!1),()=>this.removeEventListener(Me,Ze,Ve)}removeEventListener(Me,Ze,Ve){return Me.removeEventListener(Ze,Ve)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const y=["alt","control","meta","shift"],f={"\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"},r={alt:He=>He.altKey,control:He=>He.ctrlKey,meta:He=>He.metaKey,shift:He=>He.shiftKey};let d=(()=>{var He;class _e extends F{constructor(Me){super(Me)}supports(Me){return null!=_e.parseEventName(Me)}addEventListener(Me,Ze,Ve){const it=_e.parseEventName(Ze),Pe=_e.eventCallback(it.fullKey,Ve,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,S.QT)().onAndCancel(Me,it.domEventName,Pe))}static parseEventName(Me){const Ze=Me.toLowerCase().split("."),Ve=Ze.shift();if(0===Ze.length||"keydown"!==Ve&&"keyup"!==Ve)return null;const it=_e._normalizeKey(Ze.pop());let Pe="",Be=Ze.indexOf("code");if(Be>-1&&(Ze.splice(Be,1),Pe="code."),y.forEach(yt=>{const Je=Ze.indexOf(yt);Je>-1&&(Ze.splice(Je,1),Pe+=yt+".")}),Pe+=it,0!=Ze.length||0===it.length)return null;const je={};return je.domEventName=Ve,je.fullKey=Pe,je}static matchEventFullKeyCode(Me,Ze){let Ve=f[Me.key]||Me.key,it="";return Ze.indexOf("code.")>-1&&(Ve=Me.code,it="code."),!(null==Ve||!Ve)&&(Ve=Ve.toLowerCase()," "===Ve?Ve="space":"."===Ve&&(Ve="dot"),y.forEach(Pe=>{Pe!==Ve&&(0,r[Pe])(Me)&&(it+=Pe+".")}),it+=Ve,it===Ze)}static eventCallback(Me,Ze,Ve){return it=>{_e.matchEventFullKeyCode(it,Me)&&Ve.runGuarded(()=>Ze(it))}}static _normalizeKey(Me){return"esc"===Me?"escape":Me}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const ae=(0,a.oH4)(a.fpN,"browser",[{provide:a.Agw,useValue:S.AJ},{provide:a.PLl,useValue:function oe(){R.makeCurrent()},multi:!0},{provide:S.qQ,useFactory:function Ae(){return(0,a.TL$)(document),document},deps:[]}]),tt=new a.nKC(""),Oe=[{provide:a.e01,useClass:class w{addToWindow(_e){a.JZv.getAngularTestability=(Me,Ze=!0)=>{const Ve=_e.findTestabilityInTree(Me,Ze);if(null==Ve)throw new a.wOt(5103,!1);return Ve},a.JZv.getAllAngularTestabilities=()=>_e.getAllTestabilities(),a.JZv.getAllAngularRootElements=()=>_e.getAllRootElements(),a.JZv.frameworkStabilizers||(a.JZv.frameworkStabilizers=[]),a.JZv.frameworkStabilizers.push(Me=>{const Ze=a.JZv.getAllAngularTestabilities();let Ve=Ze.length;const it=function(){Ve--,0==Ve&&Me()};Ze.forEach(Pe=>{Pe.whenStable(it)})})}findTestabilityInTree(_e,De,Me){if(null==De)return null;const Ze=_e.getTestability(De);return null!=Ze?Ze:Me?(0,S.QT)().isShadowRoot(De)?this.findTestabilityInTree(_e,De.host,!0):this.findTestabilityInTree(_e,De.parentElement,!0):null}},deps:[]},{provide:a.WHO,useClass:a.NYb,deps:[a.SKi,a.giA,a.e01]},{provide:a.NYb,useClass:a.NYb,deps:[a.SKi,a.giA,a.e01]}],pe=[{provide:a.H8p,useValue:"root"},{provide:a.zcH,useFactory:function ve(){return new a.zcH},deps:[]},{provide:_,useClass:v,multi:!0,deps:[S.qQ,a.SKi,a.Agw]},{provide:_,useClass:d,multi:!0,deps:[S.qQ]},te,B,g,{provide:a._9s,useExisting:te},{provide:S.N0,useClass:T,deps:[]},[]];let Ie=(()=>{var He;class _e{constructor(Me){}static withServerTransition(Me){return{ngModule:_e,providers:[{provide:a.sZ2,useValue:Me.appId}]}}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(tt,12))},He.\u0275mod=a.$C({type:He}),He.\u0275inj=a.G2t({providers:[...pe,...Oe],imports:[S.MD,a.Hbi]}),_e})(),ne=(()=>{var He;class _e{constructor(Me){this._doc=Me}getTitle(){return this._doc.title}setTitle(Me){this._doc.title=Me||""}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),_e})(),yn=(()=>{var He;class _e{}return(He=_e).\u0275fac=function(Me){return new(Me||He)},He.\u0275prov=a.jDH({token:He,factory:function(Me){let Ze=null;return Ze=Me?new(Me||He):a.KVO(Dt),Ze},providedIn:"root"}),_e})(),Dt=(()=>{var He;class _e extends yn{constructor(Me){super(),this._doc=Me}sanitize(Me,Ze){if(null==Ze)return null;switch(Me){case a.WPN.NONE:return Ze;case a.WPN.HTML:return(0,a.ZF7)(Ze,"HTML")?(0,a.rcV)(Ze):(0,a.h9k)(this._doc,String(Ze)).toString();case a.WPN.STYLE:return(0,a.ZF7)(Ze,"Style")?(0,a.rcV)(Ze):Ze;case a.WPN.SCRIPT:if((0,a.ZF7)(Ze,"Script"))return(0,a.rcV)(Ze);throw new a.wOt(5200,!1);case a.WPN.URL:return(0,a.ZF7)(Ze,"URL")?(0,a.rcV)(Ze):(0,a.$MX)(String(Ze));case a.WPN.RESOURCE_URL:if((0,a.ZF7)(Ze,"ResourceURL"))return(0,a.rcV)(Ze);throw new a.wOt(5201,!1);default:throw new a.wOt(5202,!1)}}bypassSecurityTrustHtml(Me){return(0,a.Kcf)(Me)}bypassSecurityTrustStyle(Me){return(0,a.cWb)(Me)}bypassSecurityTrustScript(Me){return(0,a.UyX)(Me)}bypassSecurityTrustUrl(Me){return(0,a.osQ)(Me)}bypassSecurityTrustResourceUrl(Me){return(0,a.e5t)(Me)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),_e})()},3021:(Ce,ee,E)=>{"use strict";E.d(ee,{nX:()=>ii,Zp:()=>Ue,Z:()=>Te,Xk:()=>tt,Kp:()=>Mi,b:()=>Qn,Ix:()=>or,Wk:()=>Ir,iI:()=>$a,Sd:()=>ft});var a=E(467),S=E(4438),p=E(4402),R=E(6648),c=E(7673),D=E(4412),C=E(4572),w=E(9350),T=E(8793),_=E(9030),g=E(1203),F=E(8810),A=E(983),B=E(17),P=E(1413),$=E(8359),k=E(177),M=E(6354),O=E(5558),U=E(6697),j=E(9326),W=E(9974),me=E(5964),te=E(3028),se=E(4360);function m(z){return(0,W.N)((J,ue)=>{let Z=!1;J.subscribe((0,se._)(ue,fe=>{Z=!0,ue.next(fe)},()=>{Z||ue.next(z),ue.complete()}))})}function n(z=o){return(0,W.N)((J,ue)=>{let Z=!1;J.subscribe((0,se._)(ue,fe=>{Z=!0,ue.next(fe)},()=>Z?ue.complete():ue.error(z())))})}function o(){return new w.G}var u=E(3669);function s(z,J){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,me.p)((fe,ke)=>z(fe,ke,Z)):u.D,(0,U.s)(1),ue?m(J):n(()=>new w.G))}var h=E(274),v=E(8141),y=E(9437),f=E(6649);function d(z){return z<=0?()=>A.w:(0,W.N)((J,ue)=>{let Z=[];J.subscribe((0,se._)(ue,fe=>{Z.push(fe),z{for(const fe of Z)ue.next(fe);ue.complete()},void 0,()=>{Z=null}))})}var I=E(3703),V=E(980),q=E(9898),oe=E(8750),ve=E(5343),Q=E(6365),ae=E(345);const tt="primary",Oe=Symbol("RouteTitle");class pe{constructor(J){this.params=J||{}}has(J){return Object.prototype.hasOwnProperty.call(this.params,J)}get(J){if(this.has(J)){const ue=this.params[J];return Array.isArray(ue)?ue[0]:ue}return null}getAll(J){if(this.has(J)){const ue=this.params[J];return Array.isArray(ue)?ue:[ue]}return[]}get keys(){return Object.keys(this.params)}}function Ie(z){return new pe(z)}function Se(z,J,ue){const Z=ue.path.split("/");if(Z.length>z.length||"full"===ue.pathMatch&&(J.hasChildren()||Z.lengthZ[ke]===fe)}return z===J}function vt(z){return z.length>0?z[z.length-1]:null}function Qe(z){return(0,p.A)(z)?z:(0,S.jNT)(z)?(0,R.H)(Promise.resolve(z)):(0,c.of)(z)}const rt={exact:function on(z,J,ue){if(!Cn(z.segments,J.segments)||!It(z.segments,J.segments,ue)||z.numberOfChildren!==J.numberOfChildren)return!1;for(const Z in J.children)if(!z.children[Z]||!on(z.children[Z],J.children[Z],ue))return!1;return!0},subset:Pt},nn={exact:function ht(z,J){return ne(z,J)},subset:function Mt(z,J){return Object.keys(J).length<=Object.keys(z).length&&Object.keys(J).every(ue=>Ee(z[ue],J[ue]))},ignored:()=>!0};function gt(z,J,ue){return rt[ue.paths](z.root,J.root,ue.matrixParams)&&nn[ue.queryParams](z.queryParams,J.queryParams)&&!("exact"===ue.fragment&&z.fragment!==J.fragment)}function Pt(z,J,ue){return En(z,J,J.segments,ue)}function En(z,J,ue,Z){if(z.segments.length>ue.length){const fe=z.segments.slice(0,ue.length);return!(!Cn(fe,ue)||J.hasChildren()||!It(fe,ue,Z))}if(z.segments.length===ue.length){if(!Cn(z.segments,ue)||!It(z.segments,ue,Z))return!1;for(const fe in J.children)if(!z.children[fe]||!Pt(z.children[fe],J.children[fe],Z))return!1;return!0}{const fe=ue.slice(0,z.segments.length),ke=ue.slice(z.segments.length);return!!(Cn(z.segments,fe)&&It(z.segments,fe,Z)&&z.children[tt])&&En(z.children[tt],J,ke,Z)}}function It(z,J,ue){return J.every((Z,fe)=>nn[ue](z[fe].parameters,Z.parameters))}class Ft{constructor(J=new yn([],{}),ue={},Z=null){this.root=J,this.queryParams=ue,this.fragment=Z}get queryParamMap(){var J;return null!==(J=this._queryParamMap)&&void 0!==J||(this._queryParamMap=Ie(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class yn{constructor(J,ue){this.segments=J,this.children=ue,this.parent=null,Object.values(ue).forEach(Z=>Z.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nt(this)}}class Dt{constructor(J,ue){this.path=J,this.parameters=ue}get parameterMap(){var J;return null!==(J=this._parameterMap)&&void 0!==J||(this._parameterMap=Ie(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function Cn(z,J){return z.length===J.length&&z.every((ue,Z)=>ue.path===J[Z].path)}let ft=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>new In,providedIn:"root"}),J})();class In{parse(J){const ue=new Wt(J);return new Ft(ue.parseRootSegment(),ue.parseQueryParams(),ue.parseFragment())}serialize(J){const ue=`/${Un(J.root,!0)}`,Z=function Pe(z){const J=Object.entries(z).map(([ue,Z])=>Array.isArray(Z)?Z.map(fe=>`${He(ue)}=${He(fe)}`).join("&"):`${He(ue)}=${He(Z)}`).filter(ue=>ue);return J.length?`?${J.join("&")}`:""}(J.queryParams);return`${ue}${Z}${"string"==typeof J.fragment?`#${function _e(z){return encodeURI(z)}(J.fragment)}`:""}`}}const kt=new In;function Nt(z){return z.segments.map(J=>Ve(J)).join("/")}function Un(z,J){if(!z.hasChildren())return Nt(z);if(J){const ue=z.children[tt]?Un(z.children[tt],!1):"",Z=[];return Object.entries(z.children).forEach(([fe,ke])=>{fe!==tt&&Z.push(`${fe}:${Un(ke,!1)}`)}),Z.length>0?`${ue}(${Z.join("//")})`:ue}{const ue=function St(z,J){let ue=[];return Object.entries(z.children).forEach(([Z,fe])=>{Z===tt&&(ue=ue.concat(J(fe,Z)))}),Object.entries(z.children).forEach(([Z,fe])=>{Z!==tt&&(ue=ue.concat(J(fe,Z)))}),ue}(z,(Z,fe)=>fe===tt?[Un(z.children[tt],!1)]:[`${fe}:${Un(Z,!1)}`]);return 1===Object.keys(z.children).length&&null!=z.children[tt]?`${Nt(z)}/${ue[0]}`:`${Nt(z)}/(${ue.join("//")})`}}function Vt(z){return encodeURIComponent(z).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function He(z){return Vt(z).replace(/%3B/gi,";")}function De(z){return Vt(z).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Me(z){return decodeURIComponent(z)}function Ze(z){return Me(z.replace(/\+/g,"%20"))}function Ve(z){return`${De(z.path)}${function it(z){return Object.entries(z).map(([J,ue])=>`;${De(J)}=${De(ue)}`).join("")}(z.parameters)}`}const Be=/^[^\/()?;#]+/;function je(z){const J=z.match(Be);return J?J[0]:""}const yt=/^[^\/()?;=#]+/,st=/^[^=?&#]+/,Ct=/^[^&#]+/;class Wt{constructor(J){this.url=J,this.remaining=J}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yn([],{}):new yn([],this.parseChildren())}parseQueryParams(){const J={};if(this.consumeOptional("?"))do{this.parseQueryParam(J)}while(this.consumeOptional("&"));return J}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const J=[];for(this.peekStartsWith("(")||J.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),J.push(this.parseSegment());let ue={};this.peekStartsWith("/(")&&(this.capture("/"),ue=this.parseParens(!0));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1)),(J.length>0||Object.keys(ue).length>0)&&(Z[tt]=new yn(J,ue)),Z}parseSegment(){const J=je(this.remaining);if(""===J&&this.peekStartsWith(";"))throw new S.wOt(4009,!1);return this.capture(J),new Dt(Me(J),this.parseMatrixParams())}parseMatrixParams(){const J={};for(;this.consumeOptional(";");)this.parseParam(J);return J}parseParam(J){const ue=function Je(z){const J=z.match(yt);return J?J[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const fe=je(this.remaining);fe&&(Z=fe,this.capture(Z))}J[Me(ue)]=Me(Z)}parseQueryParam(J){const ue=function qt(z){const J=z.match(st);return J?J[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const nt=function mt(z){const J=z.match(Ct);return J?J[0]:""}(this.remaining);nt&&(Z=nt,this.capture(Z))}const fe=Ze(ue),ke=Ze(Z);if(J.hasOwnProperty(fe)){let nt=J[fe];Array.isArray(nt)||(nt=[nt],J[fe]=nt),nt.push(ke)}else J[fe]=ke}parseParens(J){const ue={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=je(this.remaining),fe=this.remaining[Z.length];if("/"!==fe&&")"!==fe&&";"!==fe)throw new S.wOt(4010,!1);let ke;Z.indexOf(":")>-1?(ke=Z.slice(0,Z.indexOf(":")),this.capture(ke),this.capture(":")):J&&(ke=tt);const nt=this.parseChildren();ue[ke]=1===Object.keys(nt).length?nt[tt]:new yn([],nt),this.consumeOptional("//")}return ue}peekStartsWith(J){return this.remaining.startsWith(J)}consumeOptional(J){return!!this.peekStartsWith(J)&&(this.remaining=this.remaining.substring(J.length),!0)}capture(J){if(!this.consumeOptional(J))throw new S.wOt(4011,!1)}}function Ot(z){return z.segments.length>0?new yn([],{[tt]:z}):z}function Rt(z){const J={};for(const[Z,fe]of Object.entries(z.children)){const ke=Rt(fe);if(Z===tt&&0===ke.segments.length&&ke.hasChildren())for(const[nt,Ht]of Object.entries(ke.children))J[nt]=Ht;else(ke.segments.length>0||ke.hasChildren())&&(J[Z]=ke)}return function kn(z){if(1===z.numberOfChildren&&z.children[tt]){const J=z.children[tt];return new yn(z.segments.concat(J.segments),J.children)}return z}(new yn(z.segments,J))}function bn(z){return z instanceof Ft}function Dn(z){var J;let ue;const ke=Ot(function Z(nt){const Ht={};for(const Gt of nt.children){const Sn=Z(Gt);Ht[Gt.outlet]=Sn}const cn=new yn(nt.url,Ht);return nt===z&&(ue=cn),cn}(z.root));return null!==(J=ue)&&void 0!==J?J:ke}function Wn(z,J,ue,Z){let fe=z;for(;fe.parent;)fe=fe.parent;if(0===J.length)return $n(fe,fe,fe,ue,Z);const ke=function Hn(z){if("string"==typeof z[0]&&1===z.length&&"/"===z[0])return new Yn(!0,0,z);let J=0,ue=!1;const Z=z.reduce((fe,ke,nt)=>{if("object"==typeof ke&&null!=ke){if(ke.outlets){const Ht={};return Object.entries(ke.outlets).forEach(([cn,Gt])=>{Ht[cn]="string"==typeof Gt?Gt.split("/"):Gt}),[...fe,{outlets:Ht}]}if(ke.segmentPath)return[...fe,ke.segmentPath]}return"string"!=typeof ke?[...fe,ke]:0===nt?(ke.split("/").forEach((Ht,cn)=>{0==cn&&"."===Ht||(0==cn&&""===Ht?ue=!0:".."===Ht?J++:""!=Ht&&fe.push(Ht))}),fe):[...fe,ke]},[]);return new Yn(ue,J,Z)}(J);if(ke.toRoot())return $n(fe,fe,new yn([],{}),ue,Z);const nt=function lt(z,J,ue){if(z.isAbsolute)return new $e(J,!0,0);if(!ue)return new $e(J,!1,NaN);if(null===ue.parent)return new $e(ue,!0,0);const Z=Vn(z.commands[0])?0:1;return function Tt(z,J,ue){let Z=z,fe=J,ke=ue;for(;ke>fe;){if(ke-=fe,Z=Z.parent,!Z)throw new S.wOt(4005,!1);fe=Z.segments.length}return new $e(Z,!1,fe-ke)}(ue,ue.segments.length-1+Z,z.numberOfDoubleDots)}(ke,fe,z),Ht=nt.processChildren?Yt(nt.segmentGroup,nt.index,ke.commands):Lt(nt.segmentGroup,nt.index,ke.commands);return $n(fe,nt.segmentGroup,Ht,ue,Z)}function Vn(z){return"object"==typeof z&&null!=z&&!z.outlets&&!z.segmentPath}function Fn(z){return"object"==typeof z&&null!=z&&z.outlets}function $n(z,J,ue,Z,fe){let nt,ke={};Z&&Object.entries(Z).forEach(([cn,Gt])=>{ke[cn]=Array.isArray(Gt)?Gt.map(Sn=>`${Sn}`):`${Gt}`}),nt=z===J?ue:Xn(z,J,ue);const Ht=Ot(Rt(nt));return new Ft(Ht,ke,fe)}function Xn(z,J,ue){const Z={};return Object.entries(z.children).forEach(([fe,ke])=>{Z[fe]=ke===J?ue:Xn(ke,J,ue)}),new yn(z.segments,Z)}class Yn{constructor(J,ue,Z){if(this.isAbsolute=J,this.numberOfDoubleDots=ue,this.commands=Z,J&&Z.length>0&&Vn(Z[0]))throw new S.wOt(4003,!1);const fe=Z.find(Fn);if(fe&&fe!==vt(Z))throw new S.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $e{constructor(J,ue,Z){this.segmentGroup=J,this.processChildren=ue,this.index=Z}}function Lt(z,J,ue){var Z;if(null!==(Z=z)&&void 0!==Z||(z=new yn([],{})),0===z.segments.length&&z.hasChildren())return Yt(z,J,ue);const fe=function Jt(z,J,ue){let Z=0,fe=J;const ke={match:!1,pathIndex:0,commandIndex:0};for(;fe=ue.length)return ke;const nt=z.segments[fe],Ht=ue[Z];if(Fn(Ht))break;const cn=`${Ht}`,Gt=Z0&&void 0===cn)break;if(cn&&Gt&&"object"==typeof Gt&&void 0===Gt.outlets){if(!Kn(cn,Gt,nt))return ke;Z+=2}else{if(!Kn(cn,{},nt))return ke;Z++}fe++}return{match:!0,pathIndex:fe,commandIndex:Z}}(z,J,ue),ke=ue.slice(fe.commandIndex);if(fe.match&&fe.pathIndexke!==tt)&&z.children[tt]&&1===z.numberOfChildren&&0===z.children[tt].segments.length){const ke=Yt(z.children[tt],J,ue);return new yn(z.segments,ke.children)}return Object.entries(Z).forEach(([ke,nt])=>{"string"==typeof nt&&(nt=[nt]),null!==nt&&(fe[ke]=Lt(z.children[ke],J,nt))}),Object.entries(z.children).forEach(([ke,nt])=>{void 0===Z[ke]&&(fe[ke]=nt)}),new yn(z.segments,fe)}}function Zt(z,J,ue){const Z=z.segments.slice(0,J);let fe=0;for(;fe{"string"==typeof Z&&(Z=[Z]),null!==Z&&(J[ue]=Zt(new yn([],{}),0,Z))}),J}function An(z){const J={};return Object.entries(z).forEach(([ue,Z])=>J[ue]=`${Z}`),J}function Kn(z,J,ue){return z==ue.path&&ne(J,ue.parameters)}const hr="imperative";var Ke=function(z){return z[z.NavigationStart=0]="NavigationStart",z[z.NavigationEnd=1]="NavigationEnd",z[z.NavigationCancel=2]="NavigationCancel",z[z.NavigationError=3]="NavigationError",z[z.RoutesRecognized=4]="RoutesRecognized",z[z.ResolveStart=5]="ResolveStart",z[z.ResolveEnd=6]="ResolveEnd",z[z.GuardsCheckStart=7]="GuardsCheckStart",z[z.GuardsCheckEnd=8]="GuardsCheckEnd",z[z.RouteConfigLoadStart=9]="RouteConfigLoadStart",z[z.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",z[z.ChildActivationStart=11]="ChildActivationStart",z[z.ChildActivationEnd=12]="ChildActivationEnd",z[z.ActivationStart=13]="ActivationStart",z[z.ActivationEnd=14]="ActivationEnd",z[z.Scroll=15]="Scroll",z[z.NavigationSkipped=16]="NavigationSkipped",z}(Ke||{});class et{constructor(J,ue){this.id=J,this.url=ue}}class Te extends et{constructor(J,ue,Z="imperative",fe=null){super(J,ue),this.type=Ke.NavigationStart,this.navigationTrigger=Z,this.restoredState=fe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qe extends et{constructor(J,ue,Z){super(J,ue),this.urlAfterRedirects=Z,this.type=Ke.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var bt=function(z){return z[z.Redirect=0]="Redirect",z[z.SupersededByNewNavigation=1]="SupersededByNewNavigation",z[z.NoDataFromResolver=2]="NoDataFromResolver",z[z.GuardRejected=3]="GuardRejected",z}(bt||{}),Kt=function(z){return z[z.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",z[z.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",z}(Kt||{});class hn extends et{constructor(J,ue,Z,fe){super(J,ue),this.reason=Z,this.code=fe,this.type=Ke.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Et extends et{constructor(J,ue,Z,fe){super(J,ue),this.reason=Z,this.code=fe,this.type=Ke.NavigationSkipped}}class zt extends et{constructor(J,ue,Z,fe){super(J,ue),this.error=Z,this.target=fe,this.type=Ke.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ye extends et{constructor(J,ue,Z,fe){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ke.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class We extends et{constructor(J,ue,Z,fe){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ke.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt extends et{constructor(J,ue,Z,fe,ke){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.shouldActivate=ke,this.type=Ke.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xt extends et{constructor(J,ue,Z,fe){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ke.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xt extends et{constructor(J,ue,Z,fe){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ke.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $t{constructor(J){this.route=J,this.type=Ke.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class an{constructor(J){this.route=J,this.type=Ke.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ln{constructor(J){this.snapshot=J,this.type=Ke.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(J){this.snapshot=J,this.type=Ke.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class un{constructor(J){this.snapshot=J,this.type=Ke.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tn{constructor(J){this.snapshot=J,this.type=Ke.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mn{constructor(J,ue,Z){this.routerEvent=J,this.position=ue,this.anchor=Z,this.type=Ke.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Bn{}class On{constructor(J){this.url=J}}class X{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ue,this.attachRef=null}}let Ue=(()=>{var z;class J{constructor(){this.contexts=new Map}onChildOutletCreated(Z,fe){const ke=this.getOrCreateContext(Z);ke.outlet=fe,this.contexts.set(Z,ke)}onChildOutletDestroyed(Z){const fe=this.getContext(Z);fe&&(fe.outlet=null,fe.attachRef=null)}onOutletDeactivated(){const Z=this.contexts;return this.contexts=new Map,Z}onOutletReAttached(Z){this.contexts=Z}getOrCreateContext(Z){let fe=this.getContext(Z);return fe||(fe=new X,this.contexts.set(Z,fe)),fe}getContext(Z){return this.contexts.get(Z)||null}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();class le{constructor(J){this._root=J}get root(){return this._root.value}parent(J){const ue=this.pathFromRoot(J);return ue.length>1?ue[ue.length-2]:null}children(J){const ue=Ye(J,this._root);return ue?ue.children.map(Z=>Z.value):[]}firstChild(J){const ue=Ye(J,this._root);return ue&&ue.children.length>0?ue.children[0].value:null}siblings(J){const ue=Bt(J,this._root);return ue.length<2?[]:ue[ue.length-2].children.map(fe=>fe.value).filter(fe=>fe!==J)}pathFromRoot(J){return Bt(J,this._root).map(ue=>ue.value)}}function Ye(z,J){if(z===J.value)return J;for(const ue of J.children){const Z=Ye(z,ue);if(Z)return Z}return null}function Bt(z,J){if(z===J.value)return[J];for(const ue of J.children){const Z=Bt(z,ue);if(Z.length)return Z.unshift(J),Z}return[]}class Ln{constructor(J,ue){this.value=J,this.children=ue}toString(){return`TreeNode(${this.value})`}}function cr(z){const J={};return z&&z.children.forEach(ue=>J[ue.value.outlet]=ue),J}class Dr extends le{constructor(J,ue){super(J),this.snapshot=ue,xi(this,J)}toString(){return this.snapshot.toString()}}function qr(z){const J=function Qr(z){const ke=new Ui([],{},{},"",{},tt,z,null,{});return new Ar("",new Ln(ke,[]))}(z),ue=new D.t([new Dt("",{})]),Z=new D.t({}),fe=new D.t({}),ke=new D.t({}),nt=new D.t(""),Ht=new ii(ue,Z,ke,nt,fe,tt,z,J.root);return Ht.snapshot=J.root,new Dr(new Ln(Ht,[]),J)}class ii{constructor(J,ue,Z,fe,ke,nt,Ht,cn){var Gt,Sn;this.urlSubject=J,this.paramsSubject=ue,this.queryParamsSubject=Z,this.fragmentSubject=fe,this.dataSubject=ke,this.outlet=nt,this.component=Ht,this._futureSnapshot=cn,this.title=null!==(Gt=null===(Sn=this.dataSubject)||void 0===Sn?void 0:Sn.pipe((0,M.T)(er=>er[Oe])))&&void 0!==Gt?Gt:(0,c.of)(void 0),this.url=J,this.params=ue,this.queryParams=Z,this.fragment=fe,this.data=ke}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(){var J;return null!==(J=this._paramMap)&&void 0!==J||(this._paramMap=this.params.pipe((0,M.T)(ue=>Ie(ue)))),this._paramMap}get queryParamMap(){var J;return null!==(J=this._queryParamMap)&&void 0!==J||(this._queryParamMap=this.queryParams.pipe((0,M.T)(ue=>Ie(ue)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zr(z,J,ue="emptyOnly"){var Z;let fe;const{routeConfig:ke}=z;var nt;return fe=null===J||"always"!==ue&&""!==(null==ke?void 0:ke.path)&&(J.component||null!==(Z=J.routeConfig)&&void 0!==Z&&Z.loadComponent)?{params:{...z.params},data:{...z.data},resolve:{...z.data,...null!==(nt=z._resolvedData)&&void 0!==nt?nt:{}}}:{params:{...J.params,...z.params},data:{...J.data,...z.data},resolve:{...z.data,...J.data,...null==ke?void 0:ke.data,...z._resolvedData}},ke&&bi(ke)&&(fe.resolve[Oe]=ke.title),fe}class Ui{get title(){var J;return null===(J=this.data)||void 0===J?void 0:J[Oe]}constructor(J,ue,Z,fe,ke,nt,Ht,cn,Gt){this.url=J,this.params=ue,this.queryParams=Z,this.fragment=fe,this.data=ke,this.outlet=nt,this.component=Ht,this.routeConfig=cn,this._resolve=Gt}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(){var J;return null!==(J=this._paramMap)&&void 0!==J||(this._paramMap=Ie(this.params)),this._paramMap}get queryParamMap(){var J;return null!==(J=this._queryParamMap)&&void 0!==J||(this._queryParamMap=Ie(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Z=>Z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ar extends le{constructor(J,ue){super(ue),this.url=J,xi(this,ue)}toString(){return jn(this._root)}}function xi(z,J){J.value._routerState=z,J.children.forEach(ue=>xi(z,ue))}function jn(z){const J=z.children.length>0?` { ${z.children.map(jn).join(", ")} } `:"";return`${z.value}${J}`}function vi(z){if(z.snapshot){const J=z.snapshot,ue=z._futureSnapshot;z.snapshot=ue,ne(J.queryParams,ue.queryParams)||z.queryParamsSubject.next(ue.queryParams),J.fragment!==ue.fragment&&z.fragmentSubject.next(ue.fragment),ne(J.params,ue.params)||z.paramsSubject.next(ue.params),function re(z,J){if(z.length!==J.length)return!1;for(let ue=0;uene(ue.parameters,J[Z].parameters))}(z.url,J.url);return ue&&!(!z.parent!=!J.parent)&&(!z.parent||Ti(z.parent,J.parent))}function bi(z){return"string"==typeof z.title||null===z.title}let Di=(()=>{var z;class J{constructor(){this.activated=null,this._activatedRoute=null,this.name=tt,this.activateEvents=new S.bkB,this.deactivateEvents=new S.bkB,this.attachEvents=new S.bkB,this.detachEvents=new S.bkB,this.parentContexts=(0,S.WQX)(Ue),this.location=(0,S.WQX)(S.c1b),this.changeDetector=(0,S.WQX)(S.gRc),this.environmentInjector=(0,S.WQX)(S.uvJ),this.inputBinder=(0,S.WQX)(Ai,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Z){if(Z.name){const{firstChange:fe,previousValue:ke}=Z.name;if(fe)return;this.isTrackedInParentContexts(ke)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ke)),this.initializeOutletWithName()}}ngOnDestroy(){var Z;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(Z=this.inputBinder)||void 0===Z||Z.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Z){var fe;return(null===(fe=this.parentContexts.getContext(Z))||void 0===fe?void 0:fe.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Z=this.parentContexts.getContext(this.name);null!=Z&&Z.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S.wOt(4012,!1);this.location.detach();const Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,fe){var ke;this.activated=Z,this._activatedRoute=fe,this.location.insert(Z.hostView),null===(ke=this.inputBinder)||void 0===ke||ke.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,fe){var ke;if(this.isActivated)throw new S.wOt(4013,!1);this._activatedRoute=Z;const nt=this.location,cn=Z.snapshot.component,Gt=this.parentContexts.getOrCreateContext(this.name).children,Sn=new Vi(Z,Gt,nt.injector);this.activated=nt.createComponent(cn,{index:nt.length,injector:Sn,environmentInjector:null!=fe?fe:this.environmentInjector}),this.changeDetector.markForCheck(),null===(ke=this.inputBinder)||void 0===ke||ke.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275dir=S.FsC({type:z,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[S.OA$]}),J})();class Vi{__ngOutletInjector(J){return new Vi(this.route,this.childContexts,J)}constructor(J,ue,Z){this.route=J,this.childContexts=ue,this.parent=Z}get(J,ue){return J===ii?this.route:J===Ue?this.childContexts:this.parent.get(J,ue)}}const Ai=new S.nKC("");let ji=(()=>{var z;class J{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Z){this.unsubscribeFromRouteData(Z),this.subscribeToRouteData(Z)}unsubscribeFromRouteData(Z){var fe;null===(fe=this.outletDataSubscriptions.get(Z))||void 0===fe||fe.unsubscribe(),this.outletDataSubscriptions.delete(Z)}subscribeToRouteData(Z){const{activatedRoute:fe}=Z,ke=(0,C.z)([fe.queryParams,fe.params,fe.data]).pipe((0,O.n)(([nt,Ht,cn],Gt)=>(cn={...nt,...Ht,...cn},0===Gt?(0,c.of)(cn):Promise.resolve(cn)))).subscribe(nt=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==fe||null===fe.component)return void this.unsubscribeFromRouteData(Z);const Ht=(0,S.HJs)(fe.component);if(Ht)for(const{templateName:cn}of Ht.inputs)Z.activatedComponentRef.setInput(cn,nt[cn]);else this.unsubscribeFromRouteData(Z)});this.outletDataSubscriptions.set(Z,ke)}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac}),J})();function Fi(z,J,ue){if(ue&&z.shouldReuseRoute(J.value,ue.value.snapshot)){const Z=ue.value;Z._futureSnapshot=J.value;const fe=function mi(z,J,ue){return J.children.map(Z=>{for(const fe of ue.children)if(z.shouldReuseRoute(Z.value,fe.value.snapshot))return Fi(z,Z,fe);return Fi(z,Z)})}(z,J,ue);return new Ln(Z,fe)}{if(z.shouldAttach(J.value)){const ke=z.retrieve(J.value);if(null!==ke){const nt=ke.route;return nt.value._futureSnapshot=J.value,nt.children=J.children.map(Ht=>Fi(z,Ht)),nt}}const Z=function Po(z){return new ii(new D.t(z.url),new D.t(z.params),new D.t(z.queryParams),new D.t(z.fragment),new D.t(z.data),z.outlet,z.component,z)}(J.value),fe=J.children.map(ke=>Fi(z,ke));return new Ln(Z,fe)}}const ei="ngNavigationCancelingError";function Ji(z,J){const{redirectTo:ue,navigationBehaviorOptions:Z}=bn(J)?{redirectTo:J,navigationBehaviorOptions:void 0}:J,fe=Fr(!1,bt.Redirect);return fe.url=ue,fe.navigationBehaviorOptions=Z,fe}function Fr(z,J){const ue=new Error(`NavigationCancelingError: ${z||""}`);return ue[ei]=!0,ue.cancellationCode=J,ue}function Pi(z){return!!z&&z[ei]}let Oi=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275cmp=S.VBU({type:z,selectors:[["ng-component"]],standalone:!0,features:[S.aNF],decls:1,vars:0,template:function(Z,fe){1&Z&&S.nrm(0,"router-outlet")},dependencies:[Di],encapsulation:2}),J})();function mr(z){const J=z.children&&z.children.map(mr),ue=J?{...z,children:J}:{...z};return!ue.component&&!ue.loadComponent&&(J||ue.loadChildren)&&ue.outlet&&ue.outlet!==tt&&(ue.component=Oi),ue}function Rn(z){return z.outlet||tt}function Mr(z){var J;if(!z)return null;if(null!==(J=z.routeConfig)&&void 0!==J&&J._injector)return z.routeConfig._injector;for(let ue=z.parent;ue;ue=ue.parent){const Z=ue.routeConfig;if(null!=Z&&Z._loadedInjector)return Z._loadedInjector;if(null!=Z&&Z._injector)return Z._injector}return null}class Hi{constructor(J,ue,Z,fe,ke){this.routeReuseStrategy=J,this.futureState=ue,this.currState=Z,this.forwardEvent=fe,this.inputBindingEnabled=ke}activate(J){const ue=this.futureState._root,Z=this.currState?this.currState._root:null;this.deactivateChildRoutes(ue,Z,J),vi(this.futureState.root),this.activateChildRoutes(ue,Z,J)}deactivateChildRoutes(J,ue,Z){const fe=cr(ue);J.children.forEach(ke=>{const nt=ke.value.outlet;this.deactivateRoutes(ke,fe[nt],Z),delete fe[nt]}),Object.values(fe).forEach(ke=>{this.deactivateRouteAndItsChildren(ke,Z)})}deactivateRoutes(J,ue,Z){const fe=J.value,ke=ue?ue.value:null;if(fe===ke)if(fe.component){const nt=Z.getContext(fe.outlet);nt&&this.deactivateChildRoutes(J,ue,nt.children)}else this.deactivateChildRoutes(J,ue,Z);else ke&&this.deactivateRouteAndItsChildren(ue,Z)}deactivateRouteAndItsChildren(J,ue){J.value.component&&this.routeReuseStrategy.shouldDetach(J.value.snapshot)?this.detachAndStoreRouteSubtree(J,ue):this.deactivateRouteAndOutlet(J,ue)}detachAndStoreRouteSubtree(J,ue){const Z=ue.getContext(J.value.outlet),fe=Z&&J.value.component?Z.children:ue,ke=cr(J);for(const nt of Object.values(ke))this.deactivateRouteAndItsChildren(nt,fe);if(Z&&Z.outlet){const nt=Z.outlet.detach(),Ht=Z.children.onOutletDeactivated();this.routeReuseStrategy.store(J.value.snapshot,{componentRef:nt,route:J,contexts:Ht})}}deactivateRouteAndOutlet(J,ue){const Z=ue.getContext(J.value.outlet),fe=Z&&J.value.component?Z.children:ue,ke=cr(J);for(const nt of Object.values(ke))this.deactivateRouteAndItsChildren(nt,fe);Z&&(Z.outlet&&(Z.outlet.deactivate(),Z.children.onOutletDeactivated()),Z.attachRef=null,Z.route=null)}activateChildRoutes(J,ue,Z){const fe=cr(ue);J.children.forEach(ke=>{this.activateRoutes(ke,fe[ke.value.outlet],Z),this.forwardEvent(new tn(ke.value.snapshot))}),J.children.length&&this.forwardEvent(new fn(J.value.snapshot))}activateRoutes(J,ue,Z){const fe=J.value,ke=ue?ue.value:null;if(vi(fe),fe===ke)if(fe.component){const nt=Z.getOrCreateContext(fe.outlet);this.activateChildRoutes(J,ue,nt.children)}else this.activateChildRoutes(J,ue,Z);else if(fe.component){const nt=Z.getOrCreateContext(fe.outlet);if(this.routeReuseStrategy.shouldAttach(fe.snapshot)){const Ht=this.routeReuseStrategy.retrieve(fe.snapshot);this.routeReuseStrategy.store(fe.snapshot,null),nt.children.onOutletReAttached(Ht.contexts),nt.attachRef=Ht.componentRef,nt.route=Ht.route.value,nt.outlet&&nt.outlet.attach(Ht.componentRef,Ht.route.value),vi(Ht.route.value),this.activateChildRoutes(J,null,nt.children)}else{const Ht=Mr(fe.snapshot);nt.attachRef=null,nt.route=fe,nt.injector=Ht,nt.outlet&&nt.outlet.activateWith(fe,nt.injector),this.activateChildRoutes(J,null,nt.children)}}else this.activateChildRoutes(J,null,Z)}}class eo{constructor(J){this.path=J,this.route=this.path[this.path.length-1]}}class ui{constructor(J,ue){this.component=J,this.route=ue}}function Ri(z,J,ue){const Z=z._root;return be(Z,J?J._root:null,ue,[Z.value])}function gi(z,J){const ue=Symbol(),Z=J.get(z,ue);return Z===ue?"function"!=typeof z||(0,S.LfX)(z)?J.get(z):z:Z}function be(z,J,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=cr(J);return z.children.forEach(nt=>{(function ce(z,J,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=z.value,nt=J?J.value:null,Ht=ue?ue.getContext(z.value.outlet):null;if(nt&&ke.routeConfig===nt.routeConfig){const cn=function Xe(z,J,ue){if("function"==typeof ue)return ue(z,J);switch(ue){case"pathParamsChange":return!Cn(z.url,J.url);case"pathParamsOrQueryParamsChange":return!Cn(z.url,J.url)||!ne(z.queryParams,J.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ti(z,J)||!ne(z.queryParams,J.queryParams);default:return!Ti(z,J)}}(nt,ke,ke.routeConfig.runGuardsAndResolvers);cn?fe.canActivateChecks.push(new eo(Z)):(ke.data=nt.data,ke._resolvedData=nt._resolvedData),be(z,J,ke.component?Ht?Ht.children:null:ue,Z,fe),cn&&Ht&&Ht.outlet&&Ht.outlet.isActivated&&fe.canDeactivateChecks.push(new ui(Ht.outlet.component,nt))}else nt&&ge(J,Ht,fe),fe.canActivateChecks.push(new eo(Z)),be(z,null,ke.component?Ht?Ht.children:null:ue,Z,fe)})(nt,ke[nt.value.outlet],ue,Z.concat([nt.value]),fe),delete ke[nt.value.outlet]}),Object.entries(ke).forEach(([nt,Ht])=>ge(Ht,ue.getContext(nt),fe)),fe}function ge(z,J,ue){const Z=cr(z),fe=z.value;Object.entries(Z).forEach(([ke,nt])=>{ge(nt,fe.component?J?J.children.getContext(ke):null:J,ue)}),ue.canDeactivateChecks.push(new ui(fe.component&&J&&J.outlet&&J.outlet.isActivated?J.outlet.component:null,fe))}function ot(z){return"function"==typeof z}function _s(z){return z instanceof w.G||"EmptyError"===(null==z?void 0:z.name)}const yo=Symbol("INITIAL_VALUE");function to(){return(0,O.n)(z=>(0,C.z)(z.map(J=>J.pipe((0,U.s)(1),function ie(...z){const J=(0,j.lI)(z);return(0,W.N)((ue,Z)=>{(J?(0,T.x)(z,ue,J):(0,T.x)(z,ue)).subscribe(Z)})}(yo)))).pipe((0,M.T)(J=>{for(const ue of J)if(!0!==ue){if(ue===yo)return yo;if(!1===ue||ue instanceof Ft)return ue}return!0}),(0,me.p)(J=>J!==yo),(0,U.s)(1)))}function ts(z){return(0,g.F)((0,v.M)(J=>{if(bn(J))throw Ji(0,J)}),(0,M.T)(J=>!0===J))}class ns{constructor(J){this.segmentGroup=J||null}}class Co extends Error{constructor(J){super(),this.urlTree=J}}function tr(z){return(0,F.$)(new ns(z))}class Kr{constructor(J,ue){this.urlSerializer=J,this.urlTree=ue}lineralizeSegments(J,ue){let Z=[],fe=ue.root;for(;;){if(Z=Z.concat(fe.segments),0===fe.numberOfChildren)return(0,c.of)(Z);if(fe.numberOfChildren>1||!fe.children[tt])return(0,F.$)(new S.wOt(4e3,!1));fe=fe.children[tt]}}applyRedirectCommands(J,ue,Z){const fe=this.applyRedirectCreateUrlTree(ue,this.urlSerializer.parse(ue),J,Z);if(ue.startsWith("/"))throw new Co(fe);return fe}applyRedirectCreateUrlTree(J,ue,Z,fe){const ke=this.createSegmentGroup(J,ue.root,Z,fe);return new Ft(ke,this.createQueryParams(ue.queryParams,this.urlTree.queryParams),ue.fragment)}createQueryParams(J,ue){const Z={};return Object.entries(J).forEach(([fe,ke])=>{if("string"==typeof ke&&ke.startsWith(":")){const Ht=ke.substring(1);Z[fe]=ue[Ht]}else Z[fe]=ke}),Z}createSegmentGroup(J,ue,Z,fe){const ke=this.createSegments(J,ue.segments,Z,fe);let nt={};return Object.entries(ue.children).forEach(([Ht,cn])=>{nt[Ht]=this.createSegmentGroup(J,cn,Z,fe)}),new yn(ke,nt)}createSegments(J,ue,Z,fe){return ue.map(ke=>ke.path.startsWith(":")?this.findPosParam(J,ke,fe):this.findOrReturn(ke,Z))}findPosParam(J,ue,Z){const fe=Z[ue.path.substring(1)];if(!fe)throw new S.wOt(4001,!1);return fe}findOrReturn(J,ue){let Z=0;for(const fe of ue){if(fe.path===J.path)return ue.splice(Z),fe;Z++}return J}}const rs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function is(z,J,ue,Z,fe){const ke=zi(z,J,ue);return ke.matched?(Z=function Le(z,J){var ue;return z.providers&&!z._injector&&(z._injector=(0,S.Ol2)(z.providers,J,`Route: ${z.path}`)),null!==(ue=z._injector)&&void 0!==ue?ue:J}(J,Z),function Ia(z,J,ue,Z){const fe=J.canMatch;if(!fe||0===fe.length)return(0,c.of)(!0);const ke=fe.map(nt=>{const Ht=gi(nt,z);return Qe(function Eo(z){return z&&ot(z.canMatch)}(Ht)?Ht.canMatch(J,ue):(0,S.N4e)(z,()=>Ht(J,ue)))});return(0,c.of)(ke).pipe(to(),ts())}(Z,J,ue).pipe((0,M.T)(nt=>!0===nt?ke:{...rs}))):(0,c.of)(ke)}function zi(z,J,ue){var Z,fe;if("**"===J.path)return function Yl(z){return{matched:!0,parameters:z.length>0?vt(z).parameters:{},consumedSegments:z,remainingSegments:[],positionalParamSegments:{}}}(ue);if(""===J.path)return"full"===J.pathMatch&&(z.hasChildren()||ue.length>0)?{...rs}:{matched:!0,consumedSegments:[],remainingSegments:ue,parameters:{},positionalParamSegments:{}};const nt=(J.matcher||Se)(ue,z,J);if(!nt)return{...rs};const Ht={};Object.entries(null!==(Z=nt.posParams)&&void 0!==Z?Z:{}).forEach(([Gt,Sn])=>{Ht[Gt]=Sn.path});const cn=nt.consumed.length>0?{...Ht,...nt.consumed[nt.consumed.length-1].parameters}:Ht;return{matched:!0,consumedSegments:nt.consumed,remainingSegments:ue.slice(nt.consumed.length),parameters:cn,positionalParamSegments:null!==(fe=nt.posParams)&&void 0!==fe?fe:{}}}function Ta(z,J,ue,Z){return ue.length>0&&function Ro(z,J,ue){return ue.some(Z=>no(z,J,Z)&&Rn(Z)!==tt)}(z,ue,Z)?{segmentGroup:new yn(J,Bs(Z,new yn(ue,z.children))),slicedSegments:[]}:0===ue.length&&function Ss(z,J,ue){return ue.some(Z=>no(z,J,Z))}(z,ue,Z)?{segmentGroup:new yn(z.segments,Oo(z,ue,Z,z.children)),slicedSegments:ue}:{segmentGroup:new yn(z.segments,z.children),slicedSegments:ue}}function Oo(z,J,ue,Z){const fe={};for(const ke of ue)if(no(z,J,ke)&&!Z[Rn(ke)]){const nt=new yn([],{});fe[Rn(ke)]=nt}return{...Z,...fe}}function Bs(z,J){const ue={};ue[tt]=J;for(const Z of z)if(""===Z.path&&Rn(Z)!==tt){const fe=new yn([],{});ue[Rn(Z)]=fe}return ue}function no(z,J,ue){return(!(z.hasChildren()||J.length>0)||"full"!==ue.pathMatch)&&""===ue.path}class Zl{}class Pa{constructor(J,ue,Z,fe,ke,nt,Ht){this.injector=J,this.configLoader=ue,this.rootComponentType=Z,this.config=fe,this.urlTree=ke,this.paramsInheritanceStrategy=nt,this.urlSerializer=Ht,this.applyRedirects=new Kr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(J){return new S.wOt(4002,`'${J.segmentGroup}'`)}recognize(){const J=Ta(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(J).pipe((0,M.T)(ue=>{const Z=new Ui([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,{}),fe=new Ln(Z,ue),ke=new Ar("",fe),nt=function wn(z,J,ue=null,Z=null){return Wn(Dn(z),J,ue,Z)}(Z,[],this.urlTree.queryParams,this.urlTree.fragment);return nt.queryParams=this.urlTree.queryParams,ke.url=this.urlSerializer.serialize(nt),this.inheritParamsAndData(ke._root,null),{state:ke,tree:nt}}))}match(J){return this.processSegmentGroup(this.injector,this.config,J,tt).pipe((0,y.W)(Z=>{if(Z instanceof Co)return this.urlTree=Z.urlTree,this.match(Z.urlTree.root);throw Z instanceof ns?this.noMatchError(Z):Z}))}inheritParamsAndData(J,ue){const Z=J.value,fe=zr(Z,ue,this.paramsInheritanceStrategy);Z.params=Object.freeze(fe.params),Z.data=Object.freeze(fe.data),J.children.forEach(ke=>this.inheritParamsAndData(ke,Z))}processSegmentGroup(J,ue,Z,fe){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(J,ue,Z):this.processSegment(J,ue,Z,Z.segments,fe,!0).pipe((0,M.T)(ke=>ke instanceof Ln?[ke]:[]))}processChildren(J,ue,Z){const fe=[];for(const ke of Object.keys(Z.children))"primary"===ke?fe.unshift(ke):fe.push(ke);return(0,R.H)(fe).pipe((0,h.H)(ke=>{const nt=Z.children[ke],Ht=function Pn(z,J){const ue=z.filter(Z=>Rn(Z)===J);return ue.push(...z.filter(Z=>Rn(Z)!==J)),ue}(ue,ke);return this.processSegmentGroup(J,Ht,nt,ke)}),function r(z,J){return(0,W.N)((0,f.S)(z,J,arguments.length>=2,!0))}((ke,nt)=>(ke.push(...nt),ke)),m(null),function L(z,J){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,me.p)((fe,ke)=>z(fe,ke,Z)):u.D,d(1),ue?m(J):n(()=>new w.G))}(),(0,te.Z)(ke=>{if(null===ke)return tr(Z);const nt=No(ke);return function Wi(z){z.sort((J,ue)=>J.value.outlet===tt?-1:ue.value.outlet===tt?1:J.value.outlet.localeCompare(ue.value.outlet))}(nt),(0,c.of)(nt)}))}processSegment(J,ue,Z,fe,ke,nt){return(0,R.H)(ue).pipe((0,h.H)(Ht=>{var cn;return this.processSegmentAgainstRoute(null!==(cn=Ht._injector)&&void 0!==cn?cn:J,ue,Ht,Z,fe,ke,nt).pipe((0,y.W)(Gt=>{if(Gt instanceof ns)return(0,c.of)(null);throw Gt}))}),s(Ht=>!!Ht),(0,y.W)(Ht=>{if(_s(Ht))return function Is(z,J,ue){return 0===J.length&&!z.children[ue]}(Z,fe,ke)?(0,c.of)(new Zl):tr(Z);throw Ht}))}processSegmentAgainstRoute(J,ue,Z,fe,ke,nt,Ht){return function wc(z,J,ue,Z){return!!(Rn(z)===Z||Z!==tt&&no(J,ue,z))&&zi(J,z,ue).matched}(Z,fe,ke,nt)?void 0===Z.redirectTo?this.matchSegmentAgainstRoute(J,fe,Z,ke,nt):this.allowRedirects&&Ht?this.expandSegmentAgainstRouteUsingRedirect(J,fe,ue,Z,ke,nt):tr(fe):tr(fe)}expandSegmentAgainstRouteUsingRedirect(J,ue,Z,fe,ke,nt){const{matched:Ht,consumedSegments:cn,positionalParamSegments:Gt,remainingSegments:Sn}=zi(ue,fe,ke);if(!Ht)return tr(ue);fe.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const er=this.applyRedirects.applyRedirectCommands(cn,fe.redirectTo,Gt);return this.applyRedirects.lineralizeSegments(fe,er).pipe((0,te.Z)(_r=>this.processSegment(J,Z,ue,_r.concat(Sn),nt,!1)))}matchSegmentAgainstRoute(J,ue,Z,fe,ke){const nt=is(ue,Z,fe,J);return"**"===Z.path&&(ue.children={}),nt.pipe((0,O.n)(Ht=>{var cn;return Ht.matched?(J=null!==(cn=Z._injector)&&void 0!==cn?cn:J,this.getChildConfig(J,Z,fe).pipe((0,O.n)(({routes:Gt})=>{var Sn,er,_r;const fr=null!==(Sn=Z._loadedInjector)&&void 0!==Sn?Sn:J,{consumedSegments:Gr,remainingSegments:wo,parameters:cs}=Ht,zo=new Ui(Gr,cs,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ra(z){return z.data||{}}(Z),Rn(Z),null!==(er=null!==(_r=Z.component)&&void 0!==_r?_r:Z._loadedComponent)&&void 0!==er?er:null,Z,function Ps(z){return z.resolve||{}}(Z)),{segmentGroup:Wo,slicedSegments:ds}=Ta(ue,Gr,wo,Gt);if(0===ds.length&&Wo.hasChildren())return this.processChildren(fr,Gt,Wo).pipe((0,M.T)(fs=>null===fs?null:new Ln(zo,fs)));if(0===Gt.length&&0===ds.length)return(0,c.of)(new Ln(zo,[]));const Va=Rn(Z)===ke;return this.processSegment(fr,Gt,Wo,ds,Va?tt:ke,!0).pipe((0,M.T)(fs=>new Ln(zo,fs instanceof Ln?[fs]:[])))}))):tr(ue)}))}getChildConfig(J,ue,Z){return ue.children?(0,c.of)({routes:ue.children,injector:J}):ue.loadChildren?void 0!==ue._loadedRoutes?(0,c.of)({routes:ue._loadedRoutes,injector:ue._loadedInjector}):function Sa(z,J,ue,Z){const fe=J.canLoad;if(void 0===fe||0===fe.length)return(0,c.of)(!0);const ke=fe.map(nt=>{const Ht=gi(nt,z);return Qe(function zn(z){return z&&ot(z.canLoad)}(Ht)?Ht.canLoad(J,ue):(0,S.N4e)(z,()=>Ht(J,ue)))});return(0,c.of)(ke).pipe(to(),ts())}(J,ue,Z).pipe((0,te.Z)(fe=>fe?this.configLoader.loadChildren(J,ue).pipe((0,v.M)(ke=>{ue._loadedRoutes=ke.routes,ue._loadedInjector=ke.injector})):function si(z){return(0,F.$)(Fr(!1,bt.GuardRejected))}())):(0,c.of)({routes:[],injector:J})}}function Oa(z){const J=z.value.routeConfig;return J&&""===J.path}function No(z){const J=[],ue=new Set;for(const Z of z){if(!Oa(Z)){J.push(Z);continue}const fe=J.find(ke=>Z.value.routeConfig===ke.value.routeConfig);void 0!==fe?(fe.children.push(...Z.children),ue.add(fe)):J.push(Z)}for(const Z of ue){const fe=No(Z.children);J.push(new Ln(Z.value,fe))}return J.filter(Z=>!ue.has(Z))}function ro(z){const J=z.children.map(ue=>ro(ue)).flat();return[z,...J]}function os(z){return(0,O.n)(J=>{const ue=z(J);return ue?(0,R.H)(ue).pipe((0,M.T)(()=>J)):(0,c.of)(J)})}let io=(()=>{var z;class J{buildTitle(Z){let fe,ke=Z.root;for(;void 0!==ke;){var nt;fe=null!==(nt=this.getResolvedTitleForRoute(ke))&&void 0!==nt?nt:fe,ke=ke.children.find(Ht=>Ht.outlet===tt)}return fe}getResolvedTitleForRoute(Z){return Z.data[Oe]}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(ql),providedIn:"root"}),J})(),ql=(()=>{var z;class J extends io{constructor(Z){super(),this.title=Z}updateTitle(Z){const fe=this.buildTitle(Z);void 0!==fe&&this.title.setTitle(fe)}}return(z=J).\u0275fac=function(Z){return new(Z||z)(S.KVO(ae.hE))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();const bo=new S.nKC("",{providedIn:"root",factory:()=>({})}),Do=new S.nKC("");let Lo=(()=>{var z;class J{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,S.WQX)(S.Ql9)}loadComponent(Z){if(this.componentLoaders.get(Z))return this.componentLoaders.get(Z);if(Z._loadedComponent)return(0,c.of)(Z._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Z);const fe=Qe(Z.loadComponent()).pipe((0,M.T)($o),(0,v.M)(nt=>{this.onLoadEndListener&&this.onLoadEndListener(Z),Z._loadedComponent=nt}),(0,V.j)(()=>{this.componentLoaders.delete(Z)})),ke=new B.G(fe,()=>new P.B).pipe((0,q.B)());return this.componentLoaders.set(Z,ke),ke}loadChildren(Z,fe){if(this.childrenLoaders.get(fe))return this.childrenLoaders.get(fe);if(fe._loadedRoutes)return(0,c.of)({routes:fe._loadedRoutes,injector:fe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(fe);const nt=function oo(z,J,ue,Z){return Qe(z.loadChildren()).pipe((0,M.T)($o),(0,te.Z)(fe=>fe instanceof S.Co$||Array.isArray(fe)?(0,c.of)(fe):(0,R.H)(J.compileModuleAsync(fe))),(0,M.T)(fe=>{Z&&Z(z);let ke,nt,Ht=!1;return Array.isArray(fe)?(nt=fe,!0):(ke=fe.create(ue).injector,nt=ke.get(Do,[],{optional:!0,self:!0}).flat()),{routes:nt.map(mr),injector:ke}}))}(fe,this.compiler,Z,this.onLoadEndListener).pipe((0,V.j)(()=>{this.childrenLoaders.delete(fe)})),Ht=new B.G(nt,()=>new P.B).pipe((0,q.B)());return this.childrenLoaders.set(fe,Ht),Ht}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();function $o(z){return function Na(z){return z&&"object"==typeof z&&"default"in z}(z)?z.default:z}let Y=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(xe),providedIn:"root"}),J})(),xe=(()=>{var z;class J{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,fe){return Z}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();const at=new S.nKC(""),de=new S.nKC("");function ze(z,J,ue){const Z=z.get(de),fe=z.get(k.qQ);return z.get(S.SKi).runOutsideAngular(()=>{if(!fe.startViewTransition||Z.skipNextTransition)return Z.skipNextTransition=!1,new Promise(Gt=>setTimeout(Gt));let ke;const nt=new Promise(Gt=>{ke=Gt}),Ht=fe.startViewTransition(()=>(ke(),function pt(z){return new Promise(J=>{(0,S.mal)(J,{injector:z})})}(z))),{onViewTransitionCreated:cn}=Z;return cn&&(0,S.N4e)(z,()=>cn({transition:Ht,from:J,to:ue})),nt})}let Qt=(()=>{var z;class J{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new P.B,this.transitionAbortSubject=new P.B,this.configLoader=(0,S.WQX)(Lo),this.environmentInjector=(0,S.WQX)(S.uvJ),this.urlSerializer=(0,S.WQX)(ft),this.rootContexts=(0,S.WQX)(Ue),this.location=(0,S.WQX)(k.aZ),this.inputBindingEnabled=null!==(0,S.WQX)(Ai,{optional:!0}),this.titleStrategy=(0,S.WQX)(io),this.options=(0,S.WQX)(bo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,S.WQX)(Y),this.createViewTransition=(0,S.WQX)(at,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,c.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ke=>this.events.next(new an(ke)),this.configLoader.onLoadStartListener=ke=>this.events.next(new $t(ke))}complete(){var Z;null===(Z=this.transitions)||void 0===Z||Z.complete()}handleNavigationRequest(Z){var fe;const ke=++this.navigationId;null===(fe=this.transitions)||void 0===fe||fe.next({...this.transitions.value,...Z,id:ke})}setupNavigations(Z,fe,ke){return this.transitions=new D.t({id:0,currentUrlTree:fe,currentRawUrl:fe,extractedUrl:this.urlHandlingStrategy.extract(fe),urlAfterRedirects:this.urlHandlingStrategy.extract(fe),rawUrl:fe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:hr,restoredState:null,currentSnapshot:ke.snapshot,targetSnapshot:null,currentRouterState:ke,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,me.p)(nt=>0!==nt.id),(0,M.T)(nt=>({...nt,extractedUrl:this.urlHandlingStrategy.extract(nt.rawUrl)})),(0,O.n)(nt=>{let Ht=!1,cn=!1;return(0,c.of)(nt).pipe((0,O.n)(Gt=>{var Sn;if(this.navigationId>nt.id)return this.cancelNavigationTransition(nt,"",bt.SupersededByNewNavigation),A.w;this.currentTransition=nt,this.currentNavigation={id:Gt.id,initialUrl:Gt.rawUrl,extractedUrl:Gt.extractedUrl,trigger:Gt.source,extras:Gt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const er=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),_r=null!==(Sn=Gt.extras.onSameUrlNavigation)&&void 0!==Sn?Sn:Z.onSameUrlNavigation;if(!er&&"reload"!==_r){const fr="";return this.events.next(new Et(Gt.id,this.urlSerializer.serialize(Gt.rawUrl),fr,Kt.IgnoredSameUrlNavigation)),Gt.resolve(null),A.w}if(this.urlHandlingStrategy.shouldProcessUrl(Gt.rawUrl))return(0,c.of)(Gt).pipe((0,O.n)(fr=>{var Gr,wo;const cs=null===(Gr=this.transitions)||void 0===Gr?void 0:Gr.getValue();return this.events.next(new Te(fr.id,this.urlSerializer.serialize(fr.extractedUrl),fr.source,fr.restoredState)),cs!==(null===(wo=this.transitions)||void 0===wo?void 0:wo.getValue())?A.w:Promise.resolve(fr)}),function ko(z,J,ue,Z,fe,ke){return(0,te.Z)(nt=>function Ts(z,J,ue,Z,fe,ke,nt="emptyOnly"){return new Pa(z,J,ue,Z,fe,nt,ke).recognize()}(z,J,ue,Z,nt.extractedUrl,fe,ke).pipe((0,M.T)(({state:Ht,tree:cn})=>({...nt,targetSnapshot:Ht,urlAfterRedirects:cn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,v.M)(fr=>{nt.targetSnapshot=fr.targetSnapshot,nt.urlAfterRedirects=fr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:fr.urlAfterRedirects};const Gr=new ye(fr.id,this.urlSerializer.serialize(fr.extractedUrl),this.urlSerializer.serialize(fr.urlAfterRedirects),fr.targetSnapshot);this.events.next(Gr)}));if(er&&this.urlHandlingStrategy.shouldProcessUrl(Gt.currentRawUrl)){const{id:fr,extractedUrl:Gr,source:wo,restoredState:cs,extras:zo}=Gt,Wo=new Te(fr,this.urlSerializer.serialize(Gr),wo,cs);this.events.next(Wo);const ds=qr(this.rootComponentType).snapshot;return this.currentTransition=nt={...Gt,targetSnapshot:ds,urlAfterRedirects:Gr,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Gr,(0,c.of)(nt)}{const fr="";return this.events.next(new Et(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),fr,Kt.IgnoredByUrlHandlingStrategy)),Gt.resolve(null),A.w}}),(0,v.M)(Gt=>{const Sn=new We(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),this.urlSerializer.serialize(Gt.urlAfterRedirects),Gt.targetSnapshot);this.events.next(Sn)}),(0,M.T)(Gt=>(this.currentTransition=nt={...Gt,guards:Ri(Gt.targetSnapshot,Gt.currentSnapshot,this.rootContexts)},nt)),function Er(z,J){return(0,te.Z)(ue=>{const{targetSnapshot:Z,currentSnapshot:fe,guards:{canActivateChecks:ke,canDeactivateChecks:nt}}=ue;return 0===nt.length&&0===ke.length?(0,c.of)({...ue,guardsResult:!0}):function zl(z,J,ue,Z){return(0,R.H)(z).pipe((0,te.Z)(fe=>function Xl(z,J,ue,Z,fe){const ke=J&&J.routeConfig?J.routeConfig.canDeactivate:null;if(!ke||0===ke.length)return(0,c.of)(!0);const nt=ke.map(Ht=>{var cn;const Gt=null!==(cn=Mr(J))&&void 0!==cn?cn:fe,Sn=gi(Ht,Gt);return Qe(function jr(z){return z&&ot(z.canDeactivate)}(Sn)?Sn.canDeactivate(z,J,ue,Z):(0,S.N4e)(Gt,()=>Sn(z,J,ue,Z))).pipe(s())});return(0,c.of)(nt).pipe(to())}(fe.component,fe.route,ue,J,Z)),s(fe=>!0!==fe,!0))}(nt,Z,fe,z).pipe((0,te.Z)(Ht=>Ht&&function vn(z){return"boolean"==typeof z}(Ht)?function _a(z,J,ue,Z){return(0,R.H)(J).pipe((0,h.H)(fe=>(0,T.x)(function Kl(z,J){return null!==z&&J&&J(new ln(z)),(0,c.of)(!0)}(fe.route.parent,Z),function Wl(z,J){return null!==z&&J&&J(new un(z)),(0,c.of)(!0)}(fe.route,Z),function Ba(z,J,ue){const Z=J[J.length-1],ke=J.slice(0,J.length-1).reverse().map(nt=>function es(z){const J=z.routeConfig?z.routeConfig.canActivateChild:null;return J&&0!==J.length?{node:z,guards:J}:null}(nt)).filter(nt=>null!==nt).map(nt=>(0,_.v)(()=>{const Ht=nt.guards.map(cn=>{var Gt;const Sn=null!==(Gt=Mr(nt.node))&&void 0!==Gt?Gt:ue,er=gi(cn,Sn);return Qe(function ci(z){return z&&ot(z.canActivateChild)}(er)?er.canActivateChild(Z,z):(0,S.N4e)(Sn,()=>er(Z,z))).pipe(s())});return(0,c.of)(Ht).pipe(to())}));return(0,c.of)(ke).pipe(to())}(z,fe.path,ue),function Gl(z,J,ue){const Z=J.routeConfig?J.routeConfig.canActivate:null;if(!Z||0===Z.length)return(0,c.of)(!0);const fe=Z.map(ke=>(0,_.v)(()=>{var nt;const Ht=null!==(nt=Mr(J))&&void 0!==nt?nt:ue,cn=gi(ke,Ht);return Qe(function Pr(z){return z&&ot(z.canActivate)}(cn)?cn.canActivate(J,z):(0,S.N4e)(Ht,()=>cn(J,z))).pipe(s())}));return(0,c.of)(fe).pipe(to())}(z,fe.route,ue))),s(fe=>!0!==fe,!0))}(Z,ke,z,J):(0,c.of)(Ht)),(0,M.T)(Ht=>({...ue,guardsResult:Ht})))})}(this.environmentInjector,Gt=>this.events.next(Gt)),(0,v.M)(Gt=>{if(nt.guardsResult=Gt.guardsResult,bn(Gt.guardsResult))throw Ji(0,Gt.guardsResult);const Sn=new dt(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),this.urlSerializer.serialize(Gt.urlAfterRedirects),Gt.targetSnapshot,!!Gt.guardsResult);this.events.next(Sn)}),(0,me.p)(Gt=>!!Gt.guardsResult||(this.cancelNavigationTransition(Gt,"",bt.GuardRejected),!1)),os(Gt=>{if(Gt.guards.canActivateChecks.length)return(0,c.of)(Gt).pipe((0,v.M)(Sn=>{const er=new xt(Sn.id,this.urlSerializer.serialize(Sn.extractedUrl),this.urlSerializer.serialize(Sn.urlAfterRedirects),Sn.targetSnapshot);this.events.next(er)}),(0,O.n)(Sn=>{let er=!1;return(0,c.of)(Sn).pipe(function di(z,J){return(0,te.Z)(ue=>{const{targetSnapshot:Z,guards:{canActivateChecks:fe}}=ue;if(!fe.length)return(0,c.of)(ue);const ke=new Set(fe.map(cn=>cn.route)),nt=new Set;for(const cn of ke)if(!nt.has(cn))for(const Gt of ro(cn))nt.add(Gt);let Ht=0;return(0,R.H)(nt).pipe((0,h.H)(cn=>ke.has(cn)?function Os(z,J,ue,Z){const fe=z.routeConfig,ke=z._resolve;return void 0!==(null==fe?void 0:fe.title)&&!bi(fe)&&(ke[Oe]=fe.title),function Ql(z,J,ue,Z){const fe=G(z);if(0===fe.length)return(0,c.of)({});const ke={};return(0,R.H)(fe).pipe((0,te.Z)(nt=>function Jl(z,J,ue,Z){var fe;const ke=null!==(fe=Mr(J))&&void 0!==fe?fe:Z,nt=gi(z,ke);return Qe(nt.resolve?nt.resolve(J,ue):(0,S.N4e)(ke,()=>nt(J,ue)))}(z[nt],J,ue,Z).pipe(s(),(0,v.M)(Ht=>{ke[nt]=Ht}))),d(1),(0,I.u)(ke),(0,y.W)(nt=>_s(nt)?A.w:(0,F.$)(nt)))}(ke,z,J,Z).pipe((0,M.T)(nt=>(z._resolvedData=nt,z.data=zr(z,z.parent,ue).resolve,null)))}(cn,Z,z,J):(cn.data=zr(cn,cn.parent,z).resolve,(0,c.of)(void 0))),(0,v.M)(()=>Ht++),d(1),(0,te.Z)(cn=>Ht===nt.size?(0,c.of)(ue):A.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,v.M)({next:()=>er=!0,complete:()=>{er||this.cancelNavigationTransition(Sn,"",bt.NoDataFromResolver)}}))}),(0,v.M)(Sn=>{const er=new Xt(Sn.id,this.urlSerializer.serialize(Sn.extractedUrl),this.urlSerializer.serialize(Sn.urlAfterRedirects),Sn.targetSnapshot);this.events.next(er)}))}),os(Gt=>{const Sn=er=>{var _r;const fr=[];null!==(_r=er.routeConfig)&&void 0!==_r&&_r.loadComponent&&!er.routeConfig._loadedComponent&&fr.push(this.configLoader.loadComponent(er.routeConfig).pipe((0,v.M)(Gr=>{er.component=Gr}),(0,M.T)(()=>{})));for(const Gr of er.children)fr.push(...Sn(Gr));return fr};return(0,C.z)(Sn(Gt.targetSnapshot.root)).pipe(m(null),(0,U.s)(1))}),os(()=>this.afterPreactivation()),(0,O.n)(()=>{var Gt;const{currentSnapshot:Sn,targetSnapshot:er}=nt,_r=null===(Gt=this.createViewTransition)||void 0===Gt?void 0:Gt.call(this,this.environmentInjector,Sn.root,er.root);return _r?(0,R.H)(_r).pipe((0,M.T)(()=>nt)):(0,c.of)(nt)}),(0,M.T)(Gt=>{const Sn=function Wr(z,J,ue){const Z=Fi(z,J._root,ue?ue._root:void 0);return new Dr(Z,J)}(Z.routeReuseStrategy,Gt.targetSnapshot,Gt.currentRouterState);return this.currentTransition=nt={...Gt,targetRouterState:Sn},this.currentNavigation.targetRouterState=Sn,nt}),(0,v.M)(()=>{this.events.next(new Bn)}),((z,J,ue,Z)=>(0,M.T)(fe=>(new Hi(J,fe.targetRouterState,fe.currentRouterState,ue,Z).activate(z),fe)))(this.rootContexts,Z.routeReuseStrategy,Gt=>this.events.next(Gt),this.inputBindingEnabled),(0,U.s)(1),(0,v.M)({next:Gt=>{var Sn;Ht=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new qe(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),this.urlSerializer.serialize(Gt.urlAfterRedirects))),null===(Sn=this.titleStrategy)||void 0===Sn||Sn.updateTitle(Gt.targetRouterState.snapshot),Gt.resolve(!0)},complete:()=>{Ht=!0}}),function Ae(z){return(0,W.N)((J,ue)=>{(0,oe.Tg)(z).subscribe((0,se._)(ue,()=>ue.complete(),ve.l)),!ue.closed&&J.subscribe(ue)})}(this.transitionAbortSubject.pipe((0,v.M)(Gt=>{throw Gt}))),(0,V.j)(()=>{var Gt;!Ht&&!cn&&this.cancelNavigationTransition(nt,"",bt.SupersededByNewNavigation),(null===(Gt=this.currentTransition)||void 0===Gt?void 0:Gt.id)===nt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,y.W)(Gt=>{if(cn=!0,Pi(Gt))this.events.next(new hn(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Gt.message,Gt.cancellationCode)),function oi(z){return Pi(z)&&bn(z.url)}(Gt)?this.events.next(new On(Gt.url)):nt.resolve(!1);else{var Sn;this.events.next(new zt(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Gt,null!==(Sn=nt.targetSnapshot)&&void 0!==Sn?Sn:void 0));try{nt.resolve(Z.errorHandler(Gt))}catch(er){this.options.resolveNavigationPromiseOnError?nt.resolve(!1):nt.reject(er)}}return A.w}))}))}cancelNavigationTransition(Z,fe,ke){const nt=new hn(Z.id,this.urlSerializer.serialize(Z.extractedUrl),fe,ke);this.events.next(nt),Z.resolve(!1)}isUpdatingInternalState(){var Z,fe;return(null===(Z=this.currentTransition)||void 0===Z?void 0:Z.extractedUrl.toString())!==(null===(fe=this.currentTransition)||void 0===fe?void 0:fe.currentUrlTree.toString())}isUpdatedBrowserUrl(){var Z,fe;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==(null===(Z=this.currentTransition)||void 0===Z?void 0:Z.extractedUrl.toString())&&!(null!==(fe=this.currentTransition)&&void 0!==fe&&fe.extras.skipLocationChange)}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();function pn(z){return z!==hr}let Qn=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(dr),providedIn:"root"}),J})();class ar{shouldDetach(J){return!1}store(J,ue){}shouldAttach(J){return!1}retrieve(J){return null}shouldReuseRoute(J,ue){return J.routeConfig===ue.routeConfig}}let dr=(()=>{var z;class J extends ar{}return(z=J).\u0275fac=(()=>{let ue;return function(fe){return(ue||(ue=S.xGo(z)))(fe||z)}})(),z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})(),rr=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(gr),providedIn:"root"}),J})(),gr=(()=>{var z;class J extends rr{constructor(){super(...arguments),this.location=(0,S.WQX)(k.aZ),this.urlSerializer=(0,S.WQX)(ft),this.options=(0,S.WQX)(bo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,S.WQX)(Y),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ft,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var Z,fe;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(Z=null===(fe=this.restoredState())||void 0===fe?void 0:fe.\u0275routerPageId)&&void 0!==Z?Z:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Z){return this.location.subscribe(fe=>{"popstate"===fe.type&&Z(fe.url,fe.state)})}handleRouterEvent(Z,fe){if(Z instanceof Te)this.stateMemento=this.createStateMemento();else if(Z instanceof Et)this.rawUrlTree=fe.initialUrl;else if(Z instanceof ye){if("eager"===this.urlUpdateStrategy&&!fe.extras.skipLocationChange){const ke=this.urlHandlingStrategy.merge(fe.finalUrl,fe.initialUrl);this.setBrowserUrl(ke,fe)}}else Z instanceof Bn?(this.currentUrlTree=fe.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(fe.finalUrl,fe.initialUrl),this.routerState=fe.targetRouterState,"deferred"===this.urlUpdateStrategy&&(fe.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,fe))):Z instanceof hn&&(Z.code===bt.GuardRejected||Z.code===bt.NoDataFromResolver)?this.restoreHistory(fe):Z instanceof zt?this.restoreHistory(fe,!0):Z instanceof qe&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,fe){const ke=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(ke)||fe.extras.replaceUrl){const Ht={...fe.extras.state,...this.generateNgRouterState(fe.id,this.browserPageId)};this.location.replaceState(ke,"",Ht)}else{const nt={...fe.extras.state,...this.generateNgRouterState(fe.id,this.browserPageId+1)};this.location.go(ke,"",nt)}}restoreHistory(Z,fe=!1){if("computed"===this.canceledNavigationResolution){const nt=this.currentPageId-this.browserPageId;0!==nt?this.location.historyGo(nt):this.currentUrlTree===Z.finalUrl&&0===nt&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(fe&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){var fe;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(fe=Z.finalUrl)&&void 0!==fe?fe:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,fe){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:fe}:{navigationId:Z}}}return(z=J).\u0275fac=(()=>{let ue;return function(fe){return(ue||(ue=S.xGo(z)))(fe||z)}})(),z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();var lr=function(z){return z[z.COMPLETE=0]="COMPLETE",z[z.FAILED=1]="FAILED",z[z.REDIRECTING=2]="REDIRECTING",z}(lr||{});function Br(z,J){z.events.pipe((0,me.p)(ue=>ue instanceof qe||ue instanceof hn||ue instanceof zt||ue instanceof Et),(0,M.T)(ue=>ue instanceof qe||ue instanceof Et?lr.COMPLETE:ue instanceof hn&&(ue.code===bt.Redirect||ue.code===bt.SupersededByNewNavigation)?lr.REDIRECTING:lr.FAILED),(0,me.p)(ue=>ue!==lr.REDIRECTING),(0,U.s)(1)).subscribe(()=>{J()})}function xr(z){throw z}const mn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Nn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let or=(()=>{var z;class J{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var Z,fe;this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,S.WQX)(S.H3F),this.stateManager=(0,S.WQX)(rr),this.options=(0,S.WQX)(bo,{optional:!0})||{},this.pendingTasks=(0,S.WQX)(S.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,S.WQX)(Qt),this.urlSerializer=(0,S.WQX)(ft),this.location=(0,S.WQX)(k.aZ),this.urlHandlingStrategy=(0,S.WQX)(Y),this._events=new P.B,this.errorHandler=this.options.errorHandler||xr,this.navigated=!1,this.routeReuseStrategy=(0,S.WQX)(Qn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(Z=null===(fe=(0,S.WQX)(Do,{optional:!0}))||void 0===fe?void 0:fe.flat())&&void 0!==Z?Z:[],this.componentInputBindingEnabled=!!(0,S.WQX)(Ai,{optional:!0}),this.eventsSubscription=new $.yU,this.isNgZoneEnabled=(0,S.WQX)(S.SKi)instanceof S.SKi&&S.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:ke=>{this.console.warn(ke)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Z=this.navigationTransitions.events.subscribe(fe=>{try{const ke=this.navigationTransitions.currentTransition,nt=this.navigationTransitions.currentNavigation;if(null!==ke&&null!==nt)if(this.stateManager.handleRouterEvent(fe,nt),fe instanceof hn&&fe.code!==bt.Redirect&&fe.code!==bt.SupersededByNewNavigation)this.navigated=!0;else if(fe instanceof qe)this.navigated=!0;else if(fe instanceof On){const Ht=this.urlHandlingStrategy.merge(fe.url,ke.currentRawUrl),cn={info:ke.extras.info,skipLocationChange:ke.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||pn(ke.source)};this.scheduleNavigation(Ht,hr,null,cn,{resolve:ke.resolve,reject:ke.reject,promise:ke.promise})}(function wr(z){return!(z instanceof Bn||z instanceof On)})(fe)&&this._events.next(fe)}catch(ke){this.navigationTransitions.transitionAbortSubject.next(ke)}});this.eventsSubscription.add(Z)}resetRootComponentType(Z){this.routerState.root.component=Z,this.navigationTransitions.rootComponentType=Z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),hr,this.stateManager.restoredState())}setUpLocationChangeListener(){var Z;null!==(Z=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==Z||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((fe,ke)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(fe,"popstate",ke)},0)}))}navigateToSyncWithBrowser(Z,fe,ke){const nt={replaceUrl:!0},Ht=null!=ke&&ke.navigationId?ke:null;if(ke){const Gt={...ke};delete Gt.navigationId,delete Gt.\u0275routerPageId,0!==Object.keys(Gt).length&&(nt.state=Gt)}const cn=this.parseUrl(Z);this.scheduleNavigation(cn,fe,Ht,nt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(mr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Z,fe={}){const{relativeTo:ke,queryParams:nt,fragment:Ht,queryParamsHandling:cn,preserveFragment:Gt}=fe,Sn=Gt?this.currentUrlTree.fragment:Ht;let _r,er=null;switch(cn){case"merge":er={...this.currentUrlTree.queryParams,...nt};break;case"preserve":er=this.currentUrlTree.queryParams;break;default:er=nt||null}null!==er&&(er=this.removeEmptyProps(er));try{_r=Dn(ke?ke.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),_r=this.currentUrlTree.root}return Wn(_r,Z,er,null!=Sn?Sn:null)}navigateByUrl(Z,fe={skipLocationChange:!1}){const ke=bn(Z)?Z:this.parseUrl(Z),nt=this.urlHandlingStrategy.merge(ke,this.rawUrlTree);return this.scheduleNavigation(nt,hr,null,fe)}navigate(Z,fe={skipLocationChange:!1}){return function Lr(z){for(let J=0;J(null!=nt&&(fe[ke]=nt),fe),{})}scheduleNavigation(Z,fe,ke,nt,Ht){if(this.disposed)return Promise.resolve(!1);let cn,Gt,Sn;Ht?(cn=Ht.resolve,Gt=Ht.reject,Sn=Ht.promise):Sn=new Promise((_r,fr)=>{cn=_r,Gt=fr});const er=this.pendingTasks.add();return Br(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(er))}),this.navigationTransitions.handleNavigationRequest({source:fe,restoredState:ke,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:nt,resolve:cn,reject:Gt,promise:Sn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Sn.catch(_r=>Promise.reject(_r))}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})(),Ir=(()=>{var z;class J{constructor(Z,fe,ke,nt,Ht,cn){var Gt;this.router=Z,this.route=fe,this.tabIndexAttribute=ke,this.renderer=nt,this.el=Ht,this.locationStrategy=cn,this.href=null,this.commands=null,this.onChanges=new P.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Sn=null===(Gt=Ht.nativeElement.tagName)||void 0===Gt?void 0:Gt.toLowerCase();this.isAnchorElement="a"===Sn||"area"===Sn,this.isAnchorElement?this.subscription=Z.events.subscribe(er=>{er instanceof qe&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,fe,ke,nt,Ht){const cn=this.urlTree;return!!(null===cn||this.isAnchorElement&&(0!==Z||fe||ke||nt||Ht||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(cn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){var Z;null===(Z=this.subscription)||void 0===Z||Z.unsubscribe()}updateHref(){var Z;const fe=this.urlTree;this.href=null!==fe&&this.locationStrategy?null===(Z=this.locationStrategy)||void 0===Z?void 0:Z.prepareExternalUrl(this.router.serializeUrl(fe)):null;const ke=null===this.href?null:(0,S.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ke)}applyAttributeValue(Z,fe){const ke=this.renderer,nt=this.el.nativeElement;null!==fe?ke.setAttribute(nt,Z,fe):ke.removeAttribute(nt,Z)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(z=J).\u0275fac=function(Z){return new(Z||z)(S.rXU(or),S.rXU(ii),S.kS0("tabindex"),S.rXU(S.sFG),S.rXU(S.aKT),S.rXU(k.hb))},z.\u0275dir=S.FsC({type:z,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Z,fe){1&Z&&S.bIt("click",function(nt){return fe.onClick(nt.button,nt.ctrlKey,nt.shiftKey,nt.altKey,nt.metaKey)}),2&Z&&S.BMQ("target",fe.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[S.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",S.L39],skipLocationChange:[S.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",S.L39],replaceUrl:[S.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",S.L39],routerLink:"routerLink"},standalone:!0,features:[S.GFd,S.OA$]}),J})();class Rr{}let Mi=(()=>{var z;class J{preload(Z,fe){return fe().pipe((0,y.W)(()=>(0,c.of)(null)))}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})(),ss=(()=>{var z;class J{constructor(Z,fe,ke,nt,Ht){this.router=Z,this.injector=ke,this.preloadingStrategy=nt,this.loader=Ht}setUpPreloading(){this.subscription=this.router.events.pipe((0,me.p)(Z=>Z instanceof qe),(0,h.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,fe){const ke=[];for(const Gt of fe){var nt,Ht;Gt.providers&&!Gt._injector&&(Gt._injector=(0,S.Ol2)(Gt.providers,Z,`Route: ${Gt.path}`));const Sn=null!==(nt=Gt._injector)&&void 0!==nt?nt:Z,er=null!==(Ht=Gt._loadedInjector)&&void 0!==Ht?Ht:Sn;var cn;(Gt.loadChildren&&!Gt._loadedRoutes&&void 0===Gt.canLoad||Gt.loadComponent&&!Gt._loadedComponent)&&ke.push(this.preloadConfig(Sn,Gt)),(Gt.children||Gt._loadedRoutes)&&ke.push(this.processRoutes(er,null!==(cn=Gt.children)&&void 0!==cn?cn:Gt._loadedRoutes))}return(0,R.H)(ke).pipe((0,Q.U)())}preloadConfig(Z,fe){return this.preloadingStrategy.preload(fe,()=>{let ke;ke=fe.loadChildren&&void 0===fe.canLoad?this.loader.loadChildren(Z,fe):(0,c.of)(null);const nt=ke.pipe((0,te.Z)(Ht=>{var cn;return null===Ht?(0,c.of)(void 0):(fe._loadedRoutes=Ht.routes,fe._loadedInjector=Ht.injector,this.processRoutes(null!==(cn=Ht.injector)&&void 0!==cn?cn:Z,Ht.routes))}));if(fe.loadComponent&&!fe._loadedComponent){const Ht=this.loader.loadComponent(fe);return(0,R.H)([nt,Ht]).pipe((0,Q.U)())}return nt})}}return(z=J).\u0275fac=function(Z){return new(Z||z)(S.KVO(or),S.KVO(S.Ql9),S.KVO(S.uvJ),S.KVO(Rr),S.KVO(Lo))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();const Rs=new S.nKC("");let Ao=(()=>{var z;class J{constructor(Z,fe,ke,nt,Ht={}){this.urlSerializer=Z,this.transitions=fe,this.viewportScroller=ke,this.zone=nt,this.options=Ht,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,S.WQX)(S.uvJ),Ht.scrollPositionRestoration||(Ht.scrollPositionRestoration="disabled"),Ht.anchorScrolling||(Ht.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof Te?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof qe?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof Et&&Z.code===Kt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof Mn&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,fe){var ke=this;this.zone.runOutsideAngular((0,a.A)(function*(){yield new Promise(nt=>{setTimeout(()=>{nt()}),(0,S.mal)(()=>{nt()},{injector:ke.environmentInjector})}),ke.zone.run(()=>{ke.transitions.events.next(new Mn(Z,"popstate"===ke.lastSource?ke.store[ke.restoredId]:null,fe))})}))}ngOnDestroy(){var Z,fe;null===(Z=this.routerEventsSubscription)||void 0===Z||Z.unsubscribe(),null===(fe=this.scrollEventsSubscription)||void 0===fe||fe.unsubscribe()}}return(z=J).\u0275fac=function(Z){S.QTQ()},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac}),J})();function ti(z,J){return{\u0275kind:z,\u0275providers:J}}function Vo(){const z=(0,S.WQX)(S.zZn);return J=>{var ue,Z;const fe=z.get(S.o8S);if(J!==fe.components[0])return;const ke=z.get(or),nt=z.get(so);1===z.get(qn)&&ke.initialNavigation(),null===(ue=z.get(ls,null,S.$GK.Optional))||void 0===ue||ue.setUpPreloading(),null===(Z=z.get(Rs,null,S.$GK.Optional))||void 0===Z||Z.init(),ke.resetRootComponentType(fe.componentTypes[0]),nt.closed||(nt.next(),nt.complete(),nt.unsubscribe())}}const so=new S.nKC("",{factory:()=>new P.B}),qn=new S.nKC("",{providedIn:"root",factory:()=>1}),ls=new S.nKC("");function jo(z){return ti(0,[{provide:ls,useExisting:ss},{provide:Rr,useExisting:z}])}function La(z){return ti(9,[{provide:at,useValue:ze},{provide:de,useValue:{skipNextTransition:!(null==z||!z.skipInitialTransition),...z}}])}const us=new S.nKC("ROUTER_FORROOT_GUARD"),wi=[k.aZ,{provide:ft,useClass:In},or,Ue,{provide:ii,useFactory:function Uo(z){return z.routerState.root},deps:[or]},Lo,[]];let $a=(()=>{var z;class J{constructor(Z){}static forRoot(Z,fe){return{ngModule:J,providers:[wi,[],{provide:Do,multi:!0,useValue:Z},{provide:us,useFactory:tu,deps:[[or,new S.Xx1,new S.kdw]]},{provide:bo,useValue:fe||{}},null!=fe&&fe.useHash?{provide:k.hb,useClass:k.fw}:{provide:k.hb,useClass:k.Sm},{provide:Rs,useFactory:()=>{const z=(0,S.WQX)(k.Xr),J=(0,S.WQX)(S.SKi),ue=(0,S.WQX)(bo),Z=(0,S.WQX)(Qt),fe=(0,S.WQX)(ft);return ue.scrollOffset&&z.setOffset(ue.scrollOffset),new Ao(fe,Z,z,J,ue)}},null!=fe&&fe.preloadingStrategy?jo(fe.preloadingStrategy).\u0275providers:[],null!=fe&&fe.initialNavigation?Ic(fe):[],null!=fe&&fe.bindToComponentInputs?ti(8,[ji,{provide:Ai,useExisting:ji}]).\u0275providers:[],null!=fe&&fe.enableViewTransitions?La().\u0275providers:[],[{provide:ks,useFactory:Vo},{provide:S.iLQ,multi:!0,useExisting:ks}]]}}static forChild(Z){return{ngModule:J,providers:[{provide:Do,multi:!0,useValue:Z}]}}}return(z=J).\u0275fac=function(Z){return new(Z||z)(S.KVO(us,8))},z.\u0275mod=S.$C({type:z}),z.\u0275inj=S.G2t({}),J})();function tu(z){return"guarded"}function Ic(z){return["disabled"===z.initialNavigation?ti(3,[{provide:S.hnV,multi:!0,useFactory:()=>{const J=(0,S.WQX)(or);return()=>{J.setUpLocationChangeListener()}}},{provide:qn,useValue:2}]).\u0275providers:[],"enabledBlocking"===z.initialNavigation?ti(2,[{provide:qn,useValue:0},{provide:S.hnV,multi:!0,deps:[S.zZn],useFactory:J=>{const ue=J.get(k.hj,Promise.resolve());return()=>ue.then(()=>new Promise(Z=>{const fe=J.get(or),ke=J.get(so);Br(fe,()=>{Z(!0)}),J.get(Qt).afterPreactivation=()=>(Z(!0),ke.closed?(0,c.of)(void 0):ke),fe.initialNavigation()}))}}]).\u0275providers:[]]}const ks=new S.nKC("")},4517:(Ce,ee,E)=>{"use strict";E.d(ee,{Yq:()=>Dt,TS:()=>En,sR:()=>It,el:()=>Xn,Sb:()=>Pe,QE:()=>Tt,CF:()=>Ze,Rg:()=>bn,p4:()=>wt,jM:()=>Kn,_t:()=>Ee,q9:()=>ht,y8:()=>yn,Kb:()=>hr,OD:()=>rt,CE:()=>Yn,pF:()=>Hn,fL:()=>Yt,YV:()=>Vn,er:()=>Lt,z3:()=>Jt});var a=E(467),S=E(4438),p=E(3021),R=E(177);class c{constructor(){this.m=new Map}reset(et){this.m=new Map(Object.entries(et))}get(et,Te){const qe=this.m.get(et);return void 0!==qe?qe:Te}getBoolean(et,Te=!1){const qe=this.m.get(et);return void 0===qe?Te:"string"==typeof qe?"true"===qe:!!qe}getNumber(et,Te){const qe=parseFloat(this.m.get(et));return isNaN(qe)?void 0!==Te?Te:NaN:qe}set(et,Te){this.m.set(et,Te)}}const D=new c,A=Ke=>P(Ke),P=(Ke=window)=>{if(typeof Ke>"u")return[];Ke.Ionic=Ke.Ionic||{};let et=Ke.Ionic.platforms;return null==et&&(et=Ke.Ionic.platforms=$(Ke),et.forEach(Te=>Ke.document.documentElement.classList.add(`plt-${Te}`))),et},$=Ke=>{const et=D.get("platform");return Object.keys(y).filter(Te=>{const qe=null==et?void 0:et[Te];return"function"==typeof qe?qe(Ke):y[Te](Ke)})},M=Ke=>!!(h(Ke,/iPad/i)||h(Ke,/Macintosh/i)&&te(Ke)),j=Ke=>h(Ke,/android|sink/i),te=Ke=>v(Ke,"(any-pointer:coarse)"),m=Ke=>n(Ke)||o(Ke),n=Ke=>!!(Ke.cordova||Ke.phonegap||Ke.PhoneGap),o=Ke=>{const et=Ke.Capacitor;return!(null==et||!et.isNative)},h=(Ke,et)=>et.test(Ke.navigator.userAgent),v=(Ke,et)=>{var Te;return null===(Te=Ke.matchMedia)||void 0===Te?void 0:Te.call(Ke,et).matches},y={ipad:M,iphone:Ke=>h(Ke,/iPhone/i),ios:Ke=>h(Ke,/iPhone|iPod/i)||M(Ke),android:j,phablet:Ke=>{const et=Ke.innerWidth,Te=Ke.innerHeight,qe=Math.min(et,Te),bt=Math.max(et,Te);return qe>390&&qe<520&&bt>620&&bt<800},tablet:Ke=>{const et=Ke.innerWidth,Te=Ke.innerHeight,qe=Math.min(et,Te),bt=Math.max(et,Te);return M(Ke)||(Ke=>j(Ke)&&!h(Ke,/mobile/i))(Ke)||qe>460&&qe<820&&bt>780&&bt<1400},cordova:n,capacitor:o,electron:Ke=>h(Ke,/electron/i),pwa:Ke=>{var et;return!!(null!==(et=Ke.matchMedia)&&void 0!==et&&et.call(Ke,"(display-mode: standalone)").matches||Ke.navigator.standalone)},mobile:te,mobileweb:Ke=>te(Ke)&&!m(Ke),desktop:Ke=>!te(Ke),hybrid:m};var L=E(6031),I=E(1656),V=E(1413),q=E(3726),oe=E(4412),ve=E(4572),Ae=E(7673),Q=E(1635),ae=E(5964),tt=E(5558),Oe=E(3669),pe=E(9974),Ie=E(4360);function re(Ke,et){return Ke===et}var ne=E(9417);const G=["tabsInner"];class Ee{constructor(et){this.menuController=et}open(et){return this.menuController.open(et)}close(et){return this.menuController.close(et)}toggle(et){return this.menuController.toggle(et)}enable(et,Te){return this.menuController.enable(et,Te)}swipeGesture(et,Te){return this.menuController.swipeGesture(et,Te)}isOpen(et){return this.menuController.isOpen(et)}isEnabled(et){return this.menuController.isEnabled(et)}get(et){return this.menuController.get(et)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(et,Te){return this.menuController.registerAnimation(et,Te)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(et,Te){return this.menuController._createAnimation(et,Te)}_register(et){return this.menuController._register(et)}_unregister(et){return this.menuController._unregister(et)}_setOpen(et,Te,qe){return this.menuController._setOpen(et,Te,qe)}}let rt=(()=>{class Ke{constructor(Te,qe){this.doc=Te,this.backButton=new V.B,this.keyboardDidShow=new V.B,this.keyboardDidHide=new V.B,this.pause=new V.B,this.resume=new V.B,this.resize=new V.B,qe.run(()=>{var bt;let Kt;this.win=Te.defaultView,this.backButton.subscribeWithPriority=function(hn,Et){return this.subscribe(zt=>zt.register(hn,ye=>qe.run(()=>Et(ye))))},gt(this.pause,Te,"pause",qe),gt(this.resume,Te,"resume",qe),gt(this.backButton,Te,"ionBackButton",qe),gt(this.resize,this.win,"resize",qe),gt(this.keyboardDidShow,this.win,"ionKeyboardDidShow",qe),gt(this.keyboardDidHide,this.win,"ionKeyboardDidHide",qe),this._readyPromise=new Promise(hn=>{Kt=hn}),null!==(bt=this.win)&&void 0!==bt&&bt.cordova?Te.addEventListener("deviceready",()=>{Kt("cordova")},{once:!0}):Kt("dom")})}is(Te){return((Ke,et)=>("string"==typeof Ke&&(et=Ke,Ke=void 0),A(Ke).includes(et)))(this.win,Te)}platforms(){return A(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(Te){return nn(this.win.location.href,Te)}isLandscape(){return!this.isPortrait()}isPortrait(){var Te,qe;return null===(Te=(qe=this.win).matchMedia)||void 0===Te?void 0:Te.call(qe,"(orientation: portrait)").matches}testUserAgent(Te){const qe=this.win.navigator;return!!(null!=qe&&qe.userAgent&&qe.userAgent.indexOf(Te)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.KVO(R.qQ),S.KVO(S.SKi))},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const nn=(Ke,et)=>{et=et.replace(/[[\]\\]/g,"\\$&");const qe=new RegExp("[\\?&]"+et+"=([^&#]*)").exec(Ke);return qe?decodeURIComponent(qe[1].replace(/\+/g," ")):null},gt=(Ke,et,Te,qe)=>{et&&et.addEventListener(Te,bt=>{qe.run(()=>{Ke.next(null!=bt?bt.detail:void 0)})})};let ht=(()=>{class Ke{constructor(Te,qe,bt,Kt){this.location=qe,this.serializer=bt,this.router=Kt,this.direction=Mt,this.animated=Pt,this.guessDirection="forward",this.lastNavId=-1,Kt&&Kt.events.subscribe(hn=>{if(hn instanceof p.Z){const Et=hn.restoredState?hn.restoredState.navigationId:hn.id;this.guessDirection=Et{this.pop(),hn()})}navigateForward(Te,qe={}){return this.setDirection("forward",qe.animated,qe.animationDirection,qe.animation),this.navigate(Te,qe)}navigateBack(Te,qe={}){return this.setDirection("back",qe.animated,qe.animationDirection,qe.animation),this.navigate(Te,qe)}navigateRoot(Te,qe={}){return this.setDirection("root",qe.animated,qe.animationDirection,qe.animation),this.navigate(Te,qe)}back(Te={animated:!0,animationDirection:"back"}){return this.setDirection("back",Te.animated,Te.animationDirection,Te.animation),this.location.back()}pop(){var Te=this;return(0,a.A)(function*(){let qe=Te.topOutlet;for(;qe;){if(yield qe.pop())return!0;qe=qe.parentOutlet}return!1})()}setDirection(Te,qe,bt,Kt){this.direction=Te,this.animated=on(Te,qe,bt),this.animationBuilder=Kt}setTopOutlet(Te){this.topOutlet=Te}consumeTransition(){let qe,Te="root";const bt=this.animationBuilder;return"auto"===this.direction?(Te=this.guessDirection,qe=this.guessAnimation):(qe=this.animated,Te=this.direction),this.direction=Mt,this.animated=Pt,this.animationBuilder=void 0,{direction:Te,animation:qe,animationBuilder:bt}}navigate(Te,qe){if(Array.isArray(Te))return this.router.navigate(Te,qe);{const bt=this.serializer.parse(Te.toString());return void 0!==qe.queryParams&&(bt.queryParams={...qe.queryParams}),void 0!==qe.fragment&&(bt.fragment=qe.fragment),this.router.navigateByUrl(bt,qe)}}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.KVO(rt),S.KVO(R.aZ),S.KVO(p.Sd),S.KVO(p.Ix,8))},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const on=(Ke,et,Te)=>{if(!1!==et){if(void 0!==Te)return Te;if("forward"===Ke||"back"===Ke)return Ke;if("root"===Ke&&!0===et)return"forward"}},Mt="auto",Pt=void 0;let En=(()=>{class Ke{get(Te,qe){const bt=Ft();return bt?bt.get(Te,qe):null}getBoolean(Te,qe){const bt=Ft();return!!bt&&bt.getBoolean(Te,qe)}getNumber(Te,qe){const bt=Ft();return bt?bt.getNumber(Te,qe):0}}return Ke.\u0275fac=function(Te){return new(Te||Ke)},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const It=new S.nKC("USERCONFIG"),Ft=()=>{if(typeof window<"u"){const Ke=window.Ionic;if(null!=Ke&&Ke.config)return Ke.config}return null};class yn{constructor(et={}){this.data=et}get(et){return this.data[et]}}let Dt=(()=>{class Ke{constructor(){this.zone=(0,S.WQX)(S.SKi),this.applicationRef=(0,S.WQX)(S.o8S)}create(Te,qe,bt){return new _t(Te,qe,this.applicationRef,this.zone,bt)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac}),Ke})();class _t{constructor(et,Te,qe,bt,Kt){this.environmentInjector=et,this.injector=Te,this.applicationRef=qe,this.zone=bt,this.elementReferenceKey=Kt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(et,Te,qe,bt){return this.zone.run(()=>new Promise(Kt=>{const hn={...qe};void 0!==this.elementReferenceKey&&(hn[this.elementReferenceKey]=et),Kt(Cn(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,et,Te,hn,bt,this.elementReferenceKey))}))}removeViewFromDom(et,Te){return this.zone.run(()=>new Promise(qe=>{const bt=this.elRefMap.get(Te);if(bt){bt.destroy(),this.elRefMap.delete(Te);const Kt=this.elEventsMap.get(Te);Kt&&(Kt(),this.elEventsMap.delete(Te))}qe()}))}}const Cn=(Ke,et,Te,qe,bt,Kt,hn,Et,zt,ye,We)=>{const dt=S.zZn.create({providers:kt(zt),parent:Te}),xt=(0,S.a0P)(Et,{environmentInjector:et,elementInjector:dt}),Xt=xt.instance,$t=xt.location.nativeElement;if(zt&&(We&&void 0!==Xt[We]&&console.error(`[Ionic Error]: ${We} is a reserved property when using ${hn.tagName.toLowerCase()}. Rename or remove the "${We}" property from ${Et.name}.`),Object.assign(Xt,zt)),ye)for(const ln of ye)$t.classList.add(ln);const an=ft(Ke,Xt,$t);return hn.appendChild($t),qe.attachView(xt.hostView),bt.set($t,xt),Kt.set($t,an),$t},St=[L.L,L.a,L.b,L.c,L.d],ft=(Ke,et,Te)=>Ke.run(()=>{const qe=St.filter(bt=>"function"==typeof et[bt]).map(bt=>{const Kt=hn=>et[bt](hn.detail);return Te.addEventListener(bt,Kt),()=>Te.removeEventListener(bt,Kt)});return()=>qe.forEach(bt=>bt())}),In=new S.nKC("NavParamsToken"),kt=Ke=>[{provide:In,useValue:Ke},{provide:yn,useFactory:Nt,deps:[In]}],Nt=Ke=>new yn(Ke),Un=(Ke,et)=>{const Te=Ke.prototype;et.forEach(qe=>{Object.defineProperty(Te,qe,{get(){return this.el[qe]},set(bt){this.z.runOutsideAngular(()=>this.el[qe]=bt)}})})},Vt=(Ke,et)=>{const Te=Ke.prototype;et.forEach(qe=>{Te[qe]=function(){const bt=arguments;return this.z.runOutsideAngular(()=>this.el[qe].apply(this.el,bt))}})},He=(Ke,et,Te)=>{Te.forEach(qe=>Ke[qe]=(0,q.R)(et,qe))};function _e(Ke){return function(Te){const{defineCustomElementFn:qe,inputs:bt,methods:Kt}=Ke;return void 0!==qe&&qe(),bt&&Un(Te,bt),Kt&&Vt(Te,Kt),Te}}const De=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Me=["present","dismiss","onDidDismiss","onWillDismiss"];let Ze=(()=>{let Ke=class{constructor(Te,qe,bt){this.z=bt,this.isCmpOpen=!1,this.el=qe.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Te.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Te.detectChanges()}),He(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["ion-popover"]],contentQueries:function(Te,qe,bt){if(1&Te&&S.wni(bt,S.C4Q,5),2&Te){let Kt;S.mGM(Kt=S.lsd())&&(qe.template=Kt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),Ke=(0,Q.Cg)([_e({inputs:De,methods:Me})],Ke),Ke})();const Ve=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],it=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Pe=(()=>{let Ke=class{constructor(Te,qe,bt){this.z=bt,this.isCmpOpen=!1,this.el=qe.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Te.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Te.detectChanges()}),He(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["ion-modal"]],contentQueries:function(Te,qe,bt){if(1&Te&&S.wni(bt,S.C4Q,5),2&Te){let Kt;S.mGM(Kt=S.lsd())&&(qe.template=Kt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),Ke=(0,Q.Cg)([_e({inputs:Ve,methods:it})],Ke),Ke})();const je=(Ke,et)=>((Ke=Ke.filter(Te=>Te.stackId!==et.stackId)).push(et),Ke),st=(Ke,et)=>{const Te=Ke.createUrlTree(["."],{relativeTo:et});return Ke.serializeUrl(Te)},qt=(Ke,et)=>!et||Ke.stackId!==et.stackId,Ct=(Ke,et)=>{if(!Ke)return;const Te=mt(et);for(let qe=0;qe=Ke.length)return Te[qe];if(Te[qe]!==Ke[qe])return}},mt=Ke=>Ke.split("/").map(et=>et.trim()).filter(et=>""!==et),Wt=Ke=>{Ke&&(Ke.ref.destroy(),Ke.unlistenEvents())};class Ot{constructor(et,Te,qe,bt,Kt,hn){this.containerEl=Te,this.router=qe,this.navCtrl=bt,this.zone=Kt,this.location=hn,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==et?mt(et):void 0}createView(et,Te){var qe;const bt=st(this.router,Te),Kt=null==et||null===(qe=et.location)||void 0===qe?void 0:qe.nativeElement,hn=ft(this.zone,et.instance,Kt);return{id:this.nextId++,stackId:Ct(this.tabsPrefix,bt),unlistenEvents:hn,element:Kt,ref:et,url:bt}}getExistingView(et){const Te=st(this.router,et),qe=this.views.find(bt=>bt.url===Te);return qe&&qe.ref.changeDetectorRef.reattach(),qe}setActive(et){var Te,qe;const bt=this.navCtrl.consumeTransition();let{direction:Kt,animation:hn,animationBuilder:Et}=bt;const zt=this.activeView,ye=qt(et,zt);ye&&(Kt="back",hn=void 0);const We=this.views.slice();let dt;const xt=this.router;xt.getCurrentNavigation?dt=xt.getCurrentNavigation():null!==(Te=xt.navigations)&&void 0!==Te&&Te.value&&(dt=xt.navigations.value),null!==(qe=dt)&&void 0!==qe&&null!==(qe=qe.extras)&&void 0!==qe&&qe.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Xt=this.views.includes(et),$t=this.insertView(et,Kt);Xt||et.ref.changeDetectorRef.detectChanges();const an=et.animationBuilder;return void 0===Et&&"back"===Kt&&!ye&&void 0!==an&&(Et=an),zt&&(zt.animationBuilder=Et),this.zone.runOutsideAngular(()=>this.wait(()=>(zt&&zt.ref.changeDetectorRef.detach(),et.ref.changeDetectorRef.reattach(),this.transition(et,zt,hn,this.canGoBack(1),!1,Et).then(()=>Rt(et,$t,We,this.location,this.zone)).then(()=>({enteringView:et,direction:Kt,animation:hn,tabSwitch:ye})))))}canGoBack(et,Te=this.getActiveStackId()){return this.getStack(Te).length>et}pop(et,Te=this.getActiveStackId()){return this.zone.run(()=>{const qe=this.getStack(Te);if(qe.length<=et)return Promise.resolve(!1);const bt=qe[qe.length-et-1];let Kt=bt.url;const hn=bt.savedData;if(hn){var Et;const ye=hn.get("primary");null!=ye&&null!==(Et=ye.route)&&void 0!==Et&&null!==(Et=Et._routerState)&&void 0!==Et&&Et.snapshot.url&&(Kt=ye.route._routerState.snapshot.url)}const{animationBuilder:zt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Kt,{...bt.savedExtras,animation:zt}).then(()=>!0)})}startBackTransition(){const et=this.activeView;if(et){const Te=this.getStack(et.stackId),qe=Te[Te.length-2],bt=qe.animationBuilder;return this.wait(()=>this.transition(qe,et,"back",this.canGoBack(2),!0,bt))}return Promise.resolve()}endBackTransition(et){et?(this.skipTransition=!0,this.pop(1)):this.activeView&&kn(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(et){const Te=this.getStack(et);return Te.length>0?Te[Te.length-1]:void 0}getRootUrl(et){const Te=this.getStack(et);return Te.length>0?Te[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Wt),this.activeView=void 0,this.views=[]}getStack(et){return this.views.filter(Te=>Te.stackId===et)}insertView(et,Te){return this.activeView=et,this.views=((Ke,et,Te)=>"root"===Te?je(Ke,et):"forward"===Te?((Ke,et)=>(Ke.indexOf(et)>=0?Ke=Ke.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):Ke.push(et),Ke))(Ke,et):((Ke,et)=>Ke.indexOf(et)>=0?Ke.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):je(Ke,et))(Ke,et))(this.views,et,Te),this.views.slice()}transition(et,Te,qe,bt,Kt,hn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(Te===et)return Promise.resolve(!1);const Et=et?et.element:void 0,zt=Te?Te.element:void 0,ye=this.containerEl;return Et&&Et!==zt&&(Et.classList.add("ion-page"),Et.classList.add("ion-page-invisible"),Et.parentElement!==ye&&ye.appendChild(Et),ye.commit)?ye.commit(Et,zt,{duration:void 0===qe?0:void 0,direction:qe,showGoBack:bt,progressAnimation:Kt,animationBuilder:hn}):Promise.resolve(!1)}wait(et){var Te=this;return(0,a.A)(function*(){void 0!==Te.runningTask&&(yield Te.runningTask,Te.runningTask=void 0);const qe=Te.runningTask=et();return qe.finally(()=>Te.runningTask=void 0),qe})()}}const Rt=(Ke,et,Te,qe,bt)=>"function"==typeof requestAnimationFrame?new Promise(Kt=>{requestAnimationFrame(()=>{kn(Ke,et,Te,qe,bt),Kt()})}):Promise.resolve(),kn=(Ke,et,Te,qe,bt)=>{bt.run(()=>Te.filter(Kt=>!et.includes(Kt)).forEach(Wt)),et.forEach(Kt=>{const Et=qe.path().split("?")[0].split("#")[0];if(Kt!==Ke&&Kt.url!==Et){const zt=Kt.element;zt.setAttribute("aria-hidden","true"),zt.classList.add("ion-page-hidden"),Kt.ref.changeDetectorRef.detach()}})};let bn=(()=>{class Ke{constructor(Te,qe,bt,Kt,hn,Et,zt,ye){this.parentOutlet=ye,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new oe.t(null),this.activated=null,this._activatedRoute=null,this.name=p.Xk,this.stackWillChange=new S.bkB,this.stackDidChange=new S.bkB,this.activateEvents=new S.bkB,this.deactivateEvents=new S.bkB,this.parentContexts=(0,S.WQX)(p.Zp),this.location=(0,S.WQX)(S.c1b),this.environmentInjector=(0,S.WQX)(S.uvJ),this.inputBinder=(0,S.WQX)(Dn,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,S.WQX)(En),this.navCtrl=(0,S.WQX)(ht),this.nativeEl=Kt.nativeElement,this.name=Te||p.Xk,this.tabsPrefix="true"===qe?st(hn,zt):void 0,this.stackCtrl=new Ot(this.tabsPrefix,this.nativeEl,hn,this.navCtrl,Et,bt),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(Te){this.nativeEl.animation=Te}set animated(Te){this.nativeEl.animated=Te}set swipeGesture(Te){this._swipeGesture=Te,this.nativeEl.swipeHandler=Te?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:qe=>this.stackCtrl.endBackTransition(qe)}:void 0}ngOnDestroy(){var Te;this.stackCtrl.destroy(),null===(Te=this.inputBinder)||void 0===Te||Te.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const Te=this.getContext();null!=Te&&Te.route&&this.activateWith(Te.route,Te.injector)}new Promise(Te=>(0,I.c)(this.nativeEl,Te)).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(Te,qe){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const qe=this.getContext();this.activatedView.savedData=new Map(qe.children.contexts);const bt=this.activatedView.savedData.get("primary");if(bt&&qe.route&&(bt.route={...qe.route}),this.activatedView.savedExtras={},qe.route){const Kt=qe.route.snapshot;this.activatedView.savedExtras.queryParams=Kt.queryParams,this.activatedView.savedExtras.fragment=Kt.fragment}}const Te=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Te)}}activateWith(Te,qe){var bt;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=Te;let Kt,hn=this.stackCtrl.getExistingView(Te);if(hn){Kt=this.activated=hn.ref;const ye=hn.savedData;ye&&(this.getContext().children.contexts=ye),this.updateActivatedRouteProxy(Kt.instance,Te)}else{var Et;const ye=Te._futureSnapshot,We=this.parentContexts.getOrCreateContext(this.name).children,dt=new oe.t(null),xt=this.createActivatedRouteProxy(dt,Te),Xt=new wn(xt,We,this.location.injector),$t=null!==(Et=ye.routeConfig.component)&&void 0!==Et?Et:ye.component;Kt=this.activated=this.location.createComponent($t,{index:this.location.length,injector:Xt,environmentInjector:null!=qe?qe:this.environmentInjector}),dt.next(Kt.instance),hn=this.stackCtrl.createView(this.activated,Te),this.proxyMap.set(Kt.instance,xt),this.currentActivatedRoute$.next({component:Kt.instance,activatedRoute:Te})}null===(bt=this.inputBinder)||void 0===bt||bt.bindActivatedRouteToOutletComponent(this),this.activatedView=hn,this.navCtrl.setTopOutlet(this);const zt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:hn,tabSwitch:qt(hn,zt)}),this.stackCtrl.setActive(hn).then(ye=>{this.activateEvents.emit(Kt.instance),this.stackDidChange.emit(ye)})}canGoBack(Te=1,qe){return this.stackCtrl.canGoBack(Te,qe)}pop(Te=1,qe){return this.stackCtrl.pop(Te,qe)}getLastUrl(Te){const qe=this.stackCtrl.getLastUrl(Te);return qe?qe.url:void 0}getLastRouteView(Te){return this.stackCtrl.getLastUrl(Te)}getRootView(Te){return this.stackCtrl.getRootUrl(Te)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(Te,qe){const bt=new p.nX;return bt._futureSnapshot=qe._futureSnapshot,bt._routerState=qe._routerState,bt.snapshot=qe.snapshot,bt.outlet=qe.outlet,bt.component=qe.component,bt._paramMap=this.proxyObservable(Te,"paramMap"),bt._queryParamMap=this.proxyObservable(Te,"queryParamMap"),bt.url=this.proxyObservable(Te,"url"),bt.params=this.proxyObservable(Te,"params"),bt.queryParams=this.proxyObservable(Te,"queryParams"),bt.fragment=this.proxyObservable(Te,"fragment"),bt.data=this.proxyObservable(Te,"data"),bt}proxyObservable(Te,qe){return Te.pipe((0,ae.p)(bt=>!!bt),(0,tt.n)(bt=>this.currentActivatedRoute$.pipe((0,ae.p)(Kt=>null!==Kt&&Kt.component===bt),(0,tt.n)(Kt=>Kt&&Kt.activatedRoute[qe]),function Se(Ke,et=Oe.D){return Ke=null!=Ke?Ke:re,(0,pe.N)((Te,qe)=>{let bt,Kt=!0;Te.subscribe((0,Ie._)(qe,hn=>{const Et=et(hn);(Kt||!Ke(bt,Et))&&(Kt=!1,bt=Et,qe.next(hn))}))})}())))}updateActivatedRouteProxy(Te,qe){const bt=this.proxyMap.get(Te);if(!bt)throw new Error("Could not find activated route proxy for view");bt._futureSnapshot=qe._futureSnapshot,bt._routerState=qe._routerState,bt.snapshot=qe.snapshot,bt.outlet=qe.outlet,bt.component=qe.component,this.currentActivatedRoute$.next({component:Te,activatedRoute:qe})}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.kS0("name"),S.kS0("tabs"),S.rXU(R.aZ),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(S.SKi),S.rXU(p.nX),S.rXU(Ke,12))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),Ke})();class wn{constructor(et,Te,qe){this.route=et,this.childContexts=Te,this.parent=qe}get(et,Te){return et===p.nX?this.route:et===p.Zp?this.childContexts:this.parent.get(et,Te)}}const Dn=new S.nKC("");let Wn=(()=>{class Ke{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Te){this.unsubscribeFromRouteData(Te),this.subscribeToRouteData(Te)}unsubscribeFromRouteData(Te){var qe;null===(qe=this.outletDataSubscriptions.get(Te))||void 0===qe||qe.unsubscribe(),this.outletDataSubscriptions.delete(Te)}subscribeToRouteData(Te){const{activatedRoute:qe}=Te,bt=(0,ve.z)([qe.queryParams,qe.params,qe.data]).pipe((0,tt.n)(([Kt,hn,Et],zt)=>(Et={...Kt,...hn,...Et},0===zt?(0,Ae.of)(Et):Promise.resolve(Et)))).subscribe(Kt=>{if(!Te.isActivated||!Te.activatedComponentRef||Te.activatedRoute!==qe||null===qe.component)return void this.unsubscribeFromRouteData(Te);const hn=(0,S.HJs)(qe.component);if(hn)for(const{templateName:Et}of hn.inputs)Te.activatedComponentRef.setInput(Et,Kt[Et]);else this.unsubscribeFromRouteData(Te)});this.outletDataSubscriptions.set(Te,bt)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac}),Ke})();const Vn=()=>({provide:Dn,useFactory:Fn,deps:[p.Ix]});function Fn(Ke){return null!=Ke&&Ke.componentInputBindingEnabled?new Wn:null}const $n=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Xn=(()=>{let Ke=class{constructor(Te,qe,bt,Kt,hn,Et){this.routerOutlet=Te,this.navCtrl=qe,this.config=bt,this.r=Kt,this.z=hn,Et.detach(),this.el=this.r.nativeElement}onClick(Te){var qe;const bt=this.defaultHref||this.config.get("backButtonDefaultHref");null!==(qe=this.routerOutlet)&&void 0!==qe&&qe.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),Te.preventDefault()):null!=bt&&(this.navCtrl.navigateBack(bt,{animation:this.routerAnimation}),Te.preventDefault())}};return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(bn,8),S.rXU(ht),S.rXU(En),S.rXU(S.aKT),S.rXU(S.SKi),S.rXU(S.gRc))},Ke.\u0275dir=S.FsC({type:Ke,hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(Kt){return qe.onClick(Kt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),Ke=(0,Q.Cg)([_e({inputs:$n})],Ke),Ke})(),Yn=(()=>{class Ke{constructor(Te,qe,bt,Kt,hn){this.locationStrategy=Te,this.navCtrl=qe,this.elementRef=bt,this.router=Kt,this.routerLink=hn,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Te;if(null!==(Te=this.routerLink)&&void 0!==Te&&Te.urlTree){const qe=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=qe}}onClick(Te){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),Te.preventDefault()}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(R.hb),S.rXU(ht),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(Kt){return qe.onClick(Kt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),Ke})(),Hn=(()=>{class Ke{constructor(Te,qe,bt,Kt,hn){this.locationStrategy=Te,this.navCtrl=qe,this.elementRef=bt,this.router=Kt,this.routerLink=hn,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Te;if(null!==(Te=this.routerLink)&&void 0!==Te&&Te.urlTree){const qe=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=qe}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(R.hb),S.rXU(ht),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(){return qe.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),Ke})();const $e=["animated","animation","root","rootParams","swipeGesture"],lt=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let Tt=(()=>{let Ke=class{constructor(Te,qe,bt,Kt,hn,Et){this.z=hn,Et.detach(),this.el=Te.nativeElement,Te.nativeElement.delegate=Kt.create(qe,bt),He(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(S.aKT),S.rXU(S.uvJ),S.rXU(S.zZn),S.rXU(Dt),S.rXU(S.SKi),S.rXU(S.gRc))},Ke.\u0275dir=S.FsC({type:Ke,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),Ke=(0,Q.Cg)([_e({inputs:$e,methods:lt})],Ke),Ke})(),wt=(()=>{class Ke{constructor(Te){this.navCtrl=Te,this.ionTabsWillChange=new S.bkB,this.ionTabsDidChange=new S.bkB,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:Te,tabSwitch:qe}){const bt=Te.stackId;qe&&void 0!==bt&&this.ionTabsWillChange.emit({tab:bt})}onStackDidChange({enteringView:Te,tabSwitch:qe}){const bt=Te.stackId;qe&&void 0!==bt&&(this.tabBar&&(this.tabBar.selectedTab=bt),this.ionTabsDidChange.emit({tab:bt}))}select(Te){const qe="string"==typeof Te,bt=qe?Te:Te.detail.tab,Kt=this.outlet.getActiveStackId()===bt,hn=`${this.outlet.tabsPrefix}/${bt}`;if(qe||Te.stopPropagation(),Kt){const Et=this.outlet.getActiveStackId(),zt=this.outlet.getLastRouteView(Et);if((null==zt?void 0:zt.url)===hn)return;const ye=this.outlet.getRootView(bt);return this.navCtrl.navigateRoot(hn,{...ye&&hn===ye.url&&ye.savedExtras,animated:!0,animationDirection:"back"})}{const Et=this.outlet.getLastRouteView(bt);return this.navCtrl.navigateRoot((null==Et?void 0:Et.url)||hn,{...null==Et?void 0:Et.savedExtras,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(Te=>{const qe=Te.el.getAttribute("slot");qe!==this.tabBarSlot&&(this.tabBarSlot=qe,this.relocateTabBar())})}relocateTabBar(){const Te=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(Te):this.tabsInner.nativeElement.after(Te)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(ht))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["ion-tabs"]],viewQuery:function(Te,qe){if(1&Te&&S.GBs(G,7,S.aKT),2&Te){let bt;S.mGM(bt=S.lsd())&&(qe.tabsInner=bt.first)}},hostBindings:function(Te,qe){1&Te&&S.bIt("ionTabButtonClick",function(Kt){return qe.select(Kt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),Ke})();const Lt=Ke=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Ke):"function"==typeof requestAnimationFrame?requestAnimationFrame(Ke):setTimeout(Ke);let Yt=(()=>{class Ke{constructor(Te,qe){this.injector=Te,this.elementRef=qe,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(Te){this.elementRef.nativeElement.value=this.lastValue=Te,Jt(this.elementRef)}handleValueChange(Te,qe){Te===this.elementRef.nativeElement&&(qe!==this.lastValue&&(this.lastValue=qe,this.onChange(qe)),Jt(this.elementRef))}_handleBlurEvent(Te){Te===this.elementRef.nativeElement&&(this.onTouched(),Jt(this.elementRef))}registerOnChange(Te){this.onChange=Te}registerOnTouched(Te){this.onTouched=Te}setDisabledState(Te){this.elementRef.nativeElement.disabled=Te}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let Te;try{Te=this.injector.get(ne.vO)}catch{}if(!Te)return;Te.statusChanges&&(this.statusChanges=Te.statusChanges.subscribe(()=>Jt(this.elementRef)));const qe=Te.control;qe&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(Kt=>{if(typeof qe[Kt]<"u"){const hn=qe[Kt].bind(qe);qe[Kt]=(...Et)=>{hn(...Et),Jt(this.elementRef)}}})}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(S.zZn),S.rXU(S.aKT))},Ke.\u0275dir=S.FsC({type:Ke,hostBindings:function(Te,qe){1&Te&&S.bIt("ionBlur",function(Kt){return qe._handleBlurEvent(Kt.target)})}}),Ke})();const Jt=Ke=>{Lt(()=>{const et=Ke.nativeElement,Te=null!=et.value&&et.value.toString().length>0,qe=Zt(et);Tn(et,qe);const bt=et.closest("ion-item");bt&&Tn(bt,Te?[...qe,"item-has-value"]:qe)})},Zt=Ke=>{const et=Ke.classList,Te=[];for(let qe=0;qe{const Te=Ke.classList;Te.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),Te.add(...et)},An=(Ke,et)=>Ke.substring(0,et.length)===et;class Kn{shouldDetach(et){return!1}shouldAttach(et){return!1}store(et,Te){}retrieve(et){return null}shouldReuseRoute(et,Te){if(et.routeConfig!==Te.routeConfig)return!1;const qe=et.params,bt=Te.params,Kt=Object.keys(qe),hn=Object.keys(bt);if(Kt.length!==hn.length)return!1;for(const Et of Kt)if(bt[Et]!==qe[Et])return!1;return!0}}class hr{constructor(et){this.ctrl=et}create(et){return this.ctrl.create(et||{})}dismiss(et,Te,qe){return this.ctrl.dismiss(et,Te,qe)}getTop(){return this.ctrl.getTop()}}},8974:(Ce,ee,E)=>{"use strict";E.d(ee,{hG:()=>We,hB:()=>h,wH:()=>Xt,U1:()=>ae,Jm:()=>re,QW:()=>ne,b_:()=>G,I9:()=>Ee,ME:()=>vt,tN:()=>rt,eY:()=>nn,ZB:()=>gt,hU:()=>ht,W9:()=>on,Q8:()=>En,YW:()=>It,M0:()=>yn,eU:()=>_t,iq:()=>Cn,Ax:()=>ft,Hp:()=>In,$w:()=>kt,uz:()=>Nt,he:()=>Me,nf:()=>Ze,oS:()=>Pe,Sb:()=>bt,KO:()=>Ct,f0:()=>mt,To:()=>Ot,Ki:()=>Rt,Rg:()=>Kn,ln:()=>Dn,w2:()=>Hn,HP:()=>$e,Jq:()=>lt,qW:()=>Tt,p4:()=>hr,IO:()=>wt,BC:()=>Jt,ai:()=>An,bv:()=>pr,Xi:()=>$t,_t:()=>an,W3:()=>ln,IE:()=>un,uR:()=>y,Je:()=>f,Gw:()=>r,K_:()=>tn});var a=E(4438),S=E(9417),p=E(4517),R=E(1635),c=E(3726),D=E(177),C=E(3021),F=(E(3503),E(7555),E(4569),E(2942),E(405)),A=E(611),B=E(464),P=E(5384),$=E(5516),M=(E(8476),E(4363));E(8221),E(3113);var ie=E(467);const me=A.i,te=function(){var X=(0,ie.A)(function*(Ue,le){if(!(typeof window>"u"))return yield me(),(0,M.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"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]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"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]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"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]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"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]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocapitalize":[1],"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],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"lang":["onLangChanged"],"dir":["onDirChanged"],"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["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]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[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-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"formatOptions":[16],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"formatOptions":["formatOptionsChanged"],"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"presentation":["presentationChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"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]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),le)});return function(le,Ye){return X.apply(this,arguments)}}(),se=["*"],m=["outlet"],n=[[["","slot","top"]],"*"],o=["[slot=top]","*"];function u(X,Ue){if(1&X&&(a.j41(0,"div",1),a.eu8(1,2),a.k0s()),2&X){const le=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",le.template)}}let h=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}writeValue(le){this.elementRef.nativeElement.checked=this.lastValue=le,(0,p.z3)(this.elementRef)}_handleIonChange(le){this.handleValueChange(le,le.checked)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionChange",function(Ln){return Ye._handleIonChange(Ln.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),y=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleIonSelect(le){this.handleValueChange(le,le.checked)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-radio"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionSelect",function(Ln){return Ye._handleIonSelect(Ln.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),f=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleChangeEvent(le){this.handleValueChange(le,le.value)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionChange",function(Ln){return Ye._handleChangeEvent(Ln.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),r=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleInputEvent(le){this.handleValueChange(le,le.value)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionInput",function(Ln){return Ye._handleInputEvent(Ln.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})();const d=(X,Ue)=>{const le=X.prototype;Ue.forEach(Ye=>{Object.defineProperty(le,Ye,{get(){return this.el[Ye]},set(Bt){this.z.runOutsideAngular(()=>this.el[Ye]=Bt)},configurable:!0})})},L=(X,Ue)=>{const le=X.prototype;Ue.forEach(Ye=>{le[Ye]=function(){const Bt=arguments;return this.z.runOutsideAngular(()=>this.el[Ye].apply(this.el,Bt))}})},I=(X,Ue,le)=>{le.forEach(Ye=>X[Ye]=(0,c.R)(Ue,Ye))};function q(X){return function(le){const{defineCustomElementFn:Ye,inputs:Bt,methods:Ln}=X;return void 0!==Ye&&Ye(),Bt&&d(le,Bt),Ln&&L(le,Ln),le}}let ae=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-app"]],ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({})],X),X})(),re=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],X),X})(),ne=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["collapse"]})],X),X})(),G=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],X),X})(),Ee=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["mode"]})],X),X})(),vt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode","translucent"]})],X),X})(),rt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode"]})],X),X})(),nn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionChange","ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),gt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","disabled","mode","outline"]})],X),X})(),ht=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,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:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({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"]})],X),X})(),on=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],X),X})(),En=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],X),X})(),It=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],X),X})(),yn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["collapse","mode","translucent"]})],X),X})(),_t=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["collapse","mode","translucent"]})],X),X})(),Cn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],X),X})(),ft=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionInfinite"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["disabled","position","threshold"],methods:["complete"]})],X),X})(),In=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["loadingSpinner","loadingText"]})],X),X})(),kt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],X),X})(),Nt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],X),X})(),Me=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode","position"]})],X),X})(),Ze=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],X),X})(),Pe=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],X),X})(),Ct=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),mt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionChange"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["allowEmptySelection","compareWith","name","value"]})],X),X})(),Ot=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionRefresh","ionPull","ionStart"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],X),X})(),Rt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],X),X})(),Dn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-row"]],ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({})],X),X})(),Hn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","duration","name","paused"]})],X),X})(),$e=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionSplitPaneVisible"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["contentId","disabled","when"]})],X),X})(),lt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode","selectedTab","translucent"]})],X),X})(),Tt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],X),X})(),wt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode"]})],X),X})(),Jt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","size"]})],X),X})(),An=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode"]})],X),X})(),Kn=(()=>{class X extends p.Rg{constructor(le,Ye,Bt,Ln,cr,Dr,qr,Qr){super(le,Ye,Bt,Ln,cr,Dr,qr,Qr),this.parentOutlet=Qr}}return X.\u0275fac=function(le){return new(le||X)(a.kS0("name"),a.kS0("tabs"),a.rXU(D.aZ),a.rXU(a.aKT),a.rXU(C.Ix),a.rXU(a.SKi),a.rXU(C.nX),a.rXU(X,12))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-router-outlet"]],features:[a.Vt3]}),X})(),hr=(()=>{class X extends p.p4{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tabs"]],contentQueries:function(le,Ye,Bt){if(1&le&&(a.wni(Bt,lt,5),a.wni(Bt,lt,4)),2&le){let Ln;a.mGM(Ln=a.lsd())&&(Ye.tabBar=Ln.first),a.mGM(Ln=a.lsd())&&(Ye.tabBars=Ln)}},viewQuery:function(le,Ye){if(1&le&&a.GBs(m,5,Kn),2&le){let Bt;a.mGM(Bt=a.lsd())&&(Ye.outlet=Bt.first)}},features:[a.Vt3],ngContentSelectors:o,decls:6,vars:0,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(le,Ye){if(1&le){const Bt=a.RV6();a.NAR(n),a.SdG(0),a.j41(1,"div",2,0)(3,"ion-router-outlet",3,1),a.bIt("stackWillChange",function(cr){return a.eBV(Bt),a.Njj(Ye.onStackWillChange(cr))})("stackDidChange",function(cr){return a.eBV(Bt),a.Njj(Ye.onStackDidChange(cr))}),a.k0s()(),a.SdG(5,1)}},dependencies:[Kn],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),X})(),bt=(()=>{class X extends p.Sb{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-modal"]],features:[a.Vt3],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(le,Ye){1&le&&a.DNE(0,u,2,1,"div",0),2&le&&a.Y8G("ngIf",Ye.isCmpOpen||Ye.keepContentsMounted)},dependencies:[D.bT,D.T3],encapsulation:2,changeDetection:0}),X})();const hn={provide:S.cz,useExisting:(0,a.Rfq)(()=>Et),multi:!0};let Et=(()=>{class X extends S.zX{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275dir=a.FsC({type:X,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(le,Ye){2&le&&a.BMQ("max",Ye._enabled?Ye.max:null)},features:[a.Jv_([hn]),a.Vt3]}),X})();const zt={provide:S.cz,useExisting:(0,a.Rfq)(()=>ye),multi:!0};let ye=(()=>{class X extends S.VZ{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275dir=a.FsC({type:X,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(le,Ye){2&le&&a.BMQ("min",Ye._enabled?Ye.min:null)},features:[a.Jv_([zt]),a.Vt3]}),X})(),We=(()=>{class X extends p.Kb{constructor(){super($.a)}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),Xt=(()=>{class X{constructor(le){this.zone=le}create(le,Ye=!1){return Ye&&Object.getOwnPropertyNames(le).forEach(Bt=>{if("function"==typeof le[Bt]){const Ln=le[Bt];le[Bt]=(...cr)=>this.zone.run(()=>Ln(...cr))}}),(0,F.createGesture)(le)}}return X.\u0275fac=function(le){return new(le||X)(a.KVO(a.SKi))},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),$t=(()=>{class X extends p.Kb{constructor(){super($.l)}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),an=(()=>{class X extends p._t{constructor(){super(P.m)}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),ln=(()=>{class X extends p.Kb{constructor(){super($.m),this.angularDelegate=(0,a.WQX)(p.Yq),this.injector=(0,a.WQX)(a.zZn),this.environmentInjector=(0,a.WQX)(a.uvJ)}create(le){return super.create({...le,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac}),X})();class un extends p.Kb{constructor(){super($.c),this.angularDelegate=(0,a.WQX)(p.Yq),this.injector=(0,a.WQX)(a.zZn),this.environmentInjector=(0,a.WQX)(a.uvJ)}create(Ue){return super.create({...Ue,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let tn=(()=>{class X extends p.Kb{constructor(){super($.t)}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();const Mn=(X,Ue,le)=>()=>{const Ye=Ue.defaultView;if(Ye&&typeof window<"u"){(0,B.s)({...X,_zoneGate:Ln=>le.run(Ln)});const Bt="__zone_symbol__addEventListener"in Ue.body?"__zone_symbol__addEventListener":"addEventListener";return function W(){var X=[];if(typeof window<"u"){var Ue=window;(!Ue.customElements||Ue.Element&&(!Ue.Element.prototype.closest||!Ue.Element.prototype.matches||!Ue.Element.prototype.remove||!Ue.Element.prototype.getRootNode))&&X.push(E.e(7278).then(E.t.bind(E,2190,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||Ue.NodeList&&!Ue.NodeList.prototype.forEach||!Ue.fetch||!function(){try{var Ye=new URL("b","http://a");return Ye.pathname="c%20d","http://a/c%20d"===Ye.href&&Ye.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&X.push(E.e(9329).then(E.t.bind(E,7783,23)))}return Promise.all(X)}().then(()=>te(Ye,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:p.er,jmp:Ln=>le.runOutsideAngular(Ln),ael(Ln,cr,Dr,qr){Ln[Bt](cr,Dr,qr)},rel(Ln,cr,Dr,qr){Ln.removeEventListener(cr,Dr,qr)}}))}};let pr=(()=>{class X{static forRoot(le){return{ngModule:X,providers:[{provide:p.sR,useValue:le},{provide:a.hnV,useFactory:Mn,multi:!0,deps:[p.sR,D.qQ,a.SKi]},(0,p.YV)()]}}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275mod=a.$C({type:X}),X.\u0275inj=a.G2t({providers:[p.Yq,ln,un],imports:[D.MD]}),X})()},5402:(Ce,ee,E)=>{"use strict";E.d(ee,{Wr:()=>O,h:()=>I,D9:()=>L,c$:()=>r});var a=E(4438),S=E(7673),p=E(4402),R=E(7468),c=E(8793),D=E(9030),C=E(6697),w=E(2771),T=E(8750),_=E(1413),g=E(7707),F=E(9974);function B(V,q,...oe){if(!0===q)return void V();if(!1===q)return;const ve=new g.Ms({next:()=>{ve.unsubscribe(),V()}});return(0,T.Tg)(q(...oe)).subscribe(ve)}function P(V,q,oe){let ve,Ae=!1;return V&&"object"==typeof V?({bufferSize:ve=1/0,windowTime:q=1/0,refCount:Ae=!1,scheduler:oe}=V):ve=null!=V?V:1/0,function A(V={}){const{connector:q=(()=>new _.B),resetOnError:oe=!0,resetOnComplete:ve=!0,resetOnRefCountZero:Ae=!0}=V;return Q=>{let ae,tt,Oe,pe=0,Ie=!1,Se=!1;const re=()=>{null==tt||tt.unsubscribe(),tt=void 0},ne=()=>{re(),ae=Oe=void 0,Ie=Se=!1},G=()=>{const Ee=ae;ne(),null==Ee||Ee.unsubscribe()};return(0,F.N)((Ee,vt)=>{pe++,!Se&&!Ie&&re();const Qe=Oe=null!=Oe?Oe:q();vt.add(()=>{pe--,0===pe&&!Se&&!Ie&&(tt=B(G,Ae))}),Qe.subscribe(vt),!ae&&pe>0&&(ae=new g.Ms({next:rt=>Qe.next(rt),error:rt=>{Se=!0,re(),tt=B(ne,oe,rt),Qe.error(rt)},complete:()=>{Ie=!0,re(),tt=B(ne,ve),Qe.complete()}}),(0,T.Tg)(Ee).subscribe(ae))})(Q)}}({connector:()=>new w.m(ve,q,oe),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ae})}var $=E(6354),k=E(274),M=E(5558);class O{}let U=(()=>{class V extends O{getTranslation(oe){return(0,S.of)({})}}return V.\u0275fac=(()=>{let q;return function(ve){return(q||(q=a.xGo(V)))(ve||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class j{}let W=(()=>{class V{handle(oe){return oe.key}}return V.\u0275fac=function(oe){return new(oe||V)},V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();function ie(V,q){if(V===q)return!0;if(null===V||null===q)return!1;if(V!=V&&q!=q)return!0;let Ae,Q,ae,oe=typeof V;if(oe==typeof q&&"object"==oe){if(!Array.isArray(V)){if(Array.isArray(q))return!1;for(Q in ae=Object.create(null),V){if(!ie(V[Q],q[Q]))return!1;ae[Q]=!0}for(Q in q)if(!(Q in ae)&&typeof q[Q]<"u")return!1;return!0}if(!Array.isArray(q))return!1;if((Ae=V.length)==q.length){for(Q=0;Q{te(q[ve])?ve in V?oe[ve]=se(V[ve],q[ve]):Object.assign(oe,{[ve]:q[ve]}):Object.assign(oe,{[ve]:q[ve]})}),oe}class m{}let n=(()=>{class V extends m{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(oe,ve){let Ae;return Ae="string"==typeof oe?this.interpolateString(oe,ve):"function"==typeof oe?this.interpolateFunction(oe,ve):oe,Ae}getValue(oe,ve){let Ae="string"==typeof ve?ve.split("."):[ve];ve="";do{ve+=Ae.shift(),!me(oe)||!me(oe[ve])||"object"!=typeof oe[ve]&&Ae.length?Ae.length?ve+=".":oe=void 0:(oe=oe[ve],ve="")}while(Ae.length);return oe}interpolateFunction(oe,ve){return oe(ve)}interpolateString(oe,ve){return ve?oe.replace(this.templateMatcher,(Ae,Q)=>{let ae=this.getValue(ve,Q);return me(ae)?ae:Ae}):oe}}return V.\u0275fac=(()=>{let q;return function(ve){return(q||(q=a.xGo(V)))(ve||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class o{}let u=(()=>{class V extends o{compile(oe,ve){return oe}compileTranslations(oe,ve){return oe}}return V.\u0275fac=(()=>{let q;return function(ve){return(q||(q=a.xGo(V)))(ve||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class s{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new a.bkB,this.onLangChange=new a.bkB,this.onDefaultLangChange=new a.bkB}}const h=new a.nKC("USE_STORE"),v=new a.nKC("USE_DEFAULT_LANG"),y=new a.nKC("DEFAULT_LANGUAGE"),f=new a.nKC("USE_EXTEND");let r=(()=>{class V{constructor(oe,ve,Ae,Q,ae,tt=!0,Oe=!1,pe=!1,Ie){this.store=oe,this.currentLoader=ve,this.compiler=Ae,this.parser=Q,this.missingTranslationHandler=ae,this.useDefaultLang=tt,this.isolate=Oe,this.extend=pe,this.pending=!1,this._onTranslationChange=new a.bkB,this._onLangChange=new a.bkB,this._onDefaultLangChange=new a.bkB,this._langs=[],this._translations={},this._translationRequests={},Ie&&this.setDefaultLang(Ie)}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(oe){this.isolate?this._defaultLang=oe:this.store.defaultLang=oe}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(oe){this.isolate?this._currentLang=oe:this.store.currentLang=oe}get langs(){return this.isolate?this._langs:this.store.langs}set langs(oe){this.isolate?this._langs=oe:this.store.langs=oe}get translations(){return this.isolate?this._translations:this.store.translations}set translations(oe){this.isolate?this._translations=oe:this.store.translations=oe}setDefaultLang(oe){if(oe===this.defaultLang)return;let ve=this.retrieveTranslations(oe);typeof ve<"u"?(null==this.defaultLang&&(this.defaultLang=oe),ve.pipe((0,C.s)(1)).subscribe(Ae=>{this.changeDefaultLang(oe)})):this.changeDefaultLang(oe)}getDefaultLang(){return this.defaultLang}use(oe){if(oe===this.currentLang)return(0,S.of)(this.translations[oe]);let ve=this.retrieveTranslations(oe);return typeof ve<"u"?(this.currentLang||(this.currentLang=oe),ve.pipe((0,C.s)(1)).subscribe(Ae=>{this.changeLang(oe)}),ve):(this.changeLang(oe),(0,S.of)(this.translations[oe]))}retrieveTranslations(oe){let ve;return(typeof this.translations[oe]>"u"||this.extend)&&(this._translationRequests[oe]=this._translationRequests[oe]||this.getTranslation(oe),ve=this._translationRequests[oe]),ve}getTranslation(oe){this.pending=!0;const ve=this.currentLoader.getTranslation(oe).pipe(P(1),(0,C.s)(1));return this.loadingTranslations=ve.pipe((0,$.T)(Ae=>this.compiler.compileTranslations(Ae,oe)),P(1),(0,C.s)(1)),this.loadingTranslations.subscribe({next:Ae=>{this.translations[oe]=this.extend&&this.translations[oe]?{...Ae,...this.translations[oe]}:Ae,this.updateLangs(),this.pending=!1},error:Ae=>{this.pending=!1}}),ve}setTranslation(oe,ve,Ae=!1){ve=this.compiler.compileTranslations(ve,oe),this.translations[oe]=(Ae||this.extend)&&this.translations[oe]?se(this.translations[oe],ve):ve,this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}getLangs(){return this.langs}addLangs(oe){oe.forEach(ve=>{-1===this.langs.indexOf(ve)&&this.langs.push(ve)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(oe,ve,Ae){let Q;if(ve instanceof Array){let ae={},tt=!1;for(let Oe of ve)ae[Oe]=this.getParsedResult(oe,Oe,Ae),(0,p.A)(ae[Oe])&&(tt=!0);if(tt){const Oe=ve.map(pe=>(0,p.A)(ae[pe])?ae[pe]:(0,S.of)(ae[pe]));return(0,R.p)(Oe).pipe((0,$.T)(pe=>{let Ie={};return pe.forEach((Se,re)=>{Ie[ve[re]]=Se}),Ie}))}return ae}if(oe&&(Q=this.parser.interpolate(this.parser.getValue(oe,ve),Ae)),typeof Q>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Q=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ve),Ae)),typeof Q>"u"){let ae={key:ve,translateService:this};typeof Ae<"u"&&(ae.interpolateParams=Ae),Q=this.missingTranslationHandler.handle(ae)}return typeof Q<"u"?Q:ve}get(oe,ve){if(!me(oe)||!oe.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,k.H)(Ae=>(Ae=this.getParsedResult(Ae,oe,ve),(0,p.A)(Ae)?Ae:(0,S.of)(Ae))));{let Ae=this.getParsedResult(this.translations[this.currentLang],oe,ve);return(0,p.A)(Ae)?Ae:(0,S.of)(Ae)}}getStreamOnTranslationChange(oe,ve){if(!me(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(oe,ve)),this.onTranslationChange.pipe((0,M.n)(Ae=>{const Q=this.getParsedResult(Ae.translations,oe,ve);return"function"==typeof Q.subscribe?Q:(0,S.of)(Q)})))}stream(oe,ve){if(!me(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(oe,ve)),this.onLangChange.pipe((0,M.n)(Ae=>{const Q=this.getParsedResult(Ae.translations,oe,ve);return(0,p.A)(Q)?Q:(0,S.of)(Q)})))}instant(oe,ve){if(!me(oe)||!oe.length)throw new Error('Parameter "key" required');let Ae=this.getParsedResult(this.translations[this.currentLang],oe,ve);if((0,p.A)(Ae)){if(oe instanceof Array){let Q={};return oe.forEach((ae,tt)=>{Q[oe[tt]]=oe[tt]}),Q}return oe}return Ae}set(oe,ve,Ae=this.currentLang){this.translations[Ae][oe]=this.compiler.compile(ve,Ae),this.updateLangs(),this.onTranslationChange.emit({lang:Ae,translations:this.translations[Ae]})}changeLang(oe){this.currentLang=oe,this.onLangChange.emit({lang:oe,translations:this.translations[oe]}),null==this.defaultLang&&this.changeDefaultLang(oe)}changeDefaultLang(oe){this.defaultLang=oe,this.onDefaultLangChange.emit({lang:oe,translations:this.translations[oe]})}reloadLang(oe){return this.resetLang(oe),this.getTranslation(oe)}resetLang(oe){this._translationRequests[oe]=void 0,this.translations[oe]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let oe=window.navigator.languages?window.navigator.languages[0]:null;return oe=oe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof oe>"u"?void 0:(-1!==oe.indexOf("-")&&(oe=oe.split("-")[0]),-1!==oe.indexOf("_")&&(oe=oe.split("_")[0]),oe)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let oe=window.navigator.languages?window.navigator.languages[0]:null;return oe=oe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,oe}}return V.\u0275fac=function(oe){return new(oe||V)(a.KVO(s),a.KVO(O),a.KVO(o),a.KVO(m),a.KVO(j),a.KVO(v),a.KVO(h),a.KVO(f),a.KVO(y))},V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})(),L=(()=>{class V{constructor(oe,ve){this.translate=oe,this._ref=ve,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(oe,ve,Ae){let Q=ae=>{this.value=void 0!==ae?ae:oe,this.lastKey=oe,this._ref.markForCheck()};if(Ae){let ae=this.translate.getParsedResult(Ae,oe,ve);(0,p.A)(ae.subscribe)?ae.subscribe(Q):Q(ae)}this.translate.get(oe,ve).subscribe(Q)}transform(oe,...ve){if(!oe||!oe.length)return oe;if(ie(oe,this.lastKey)&&ie(ve,this.lastParams))return this.value;let Ae;if(me(ve[0])&&ve.length)if("string"==typeof ve[0]&&ve[0].length){let Q=ve[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Ae=JSON.parse(Q)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ve[0]}`)}}else"object"==typeof ve[0]&&!Array.isArray(ve[0])&&(Ae=ve[0]);return this.lastKey=oe,this.lastParams=ve,this.updateValue(oe,Ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Q=>{this.lastKey&&Q.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(oe,Ae,Q.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Q=>{this.lastKey&&(this.lastKey=null,this.updateValue(oe,Ae,Q.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(oe,Ae))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return V.\u0275fac=function(oe){return new(oe||V)(a.rXU(r,16),a.rXU(a.gRc,16))},V.\u0275pipe=a.EJ8({name:"translate",type:V,pure:!1}),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})(),I=(()=>{class V{static forRoot(oe={}){return{ngModule:V,providers:[oe.loader||{provide:O,useClass:U},oe.compiler||{provide:o,useClass:u},oe.parser||{provide:m,useClass:n},oe.missingTranslationHandler||{provide:j,useClass:W},s,{provide:h,useValue:oe.isolate},{provide:v,useValue:oe.useDefaultLang},{provide:f,useValue:oe.extend},{provide:y,useValue:oe.defaultLanguage},r]}}static forChild(oe={}){return{ngModule:V,providers:[oe.loader||{provide:O,useClass:U},oe.compiler||{provide:o,useClass:u},oe.parser||{provide:m,useClass:n},oe.missingTranslationHandler||{provide:j,useClass:W},{provide:h,useValue:oe.isolate},{provide:v,useValue:oe.useDefaultLang},{provide:f,useValue:oe.extend},{provide:y,useValue:oe.defaultLanguage},r]}}}return V.\u0275fac=function(oe){return new(oe||V)},V.\u0275mod=a.$C({type:V}),V.\u0275inj=a.G2t({}),V})()},467:(Ce,ee,E)=>{"use strict";function a(p,R,c,D,C,w,T){try{var _=p[w](T),g=_.value}catch(F){return void c(F)}_.done?R(g):Promise.resolve(g).then(D,C)}function S(p){return function(){var R=this,c=arguments;return new Promise(function(D,C){var w=p.apply(R,c);function T(g){a(w,D,C,T,_,"next",g)}function _(g){a(w,D,C,T,_,"throw",g)}T(void 0)})}}E.d(ee,{A:()=>S})},1635:(Ce,ee,E)=>{"use strict";E.d(ee,{AQ:()=>W,C6:()=>S,Cg:()=>c,N3:()=>j,sH:()=>F,xN:()=>me});var a=function(r,d){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,I){L.__proto__=I}||function(L,I){for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&(L[V]=I[V])})(r,d)};function S(r,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function L(){this.constructor=r}a(r,d),r.prototype=null===d?Object.create(d):(L.prototype=d.prototype,new L)}function c(r,d,L,I){var oe,V=arguments.length,q=V<3?d:null===I?I=Object.getOwnPropertyDescriptor(d,L):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)q=Reflect.decorate(r,d,L,I);else for(var ve=r.length-1;ve>=0;ve--)(oe=r[ve])&&(q=(V<3?oe(q):V>3?oe(d,L,q):oe(d,L))||q);return V>3&&q&&Object.defineProperty(d,L,q),q}function F(r,d,L,I){return new(L||(L=Promise))(function(q,oe){function ve(ae){try{Q(I.next(ae))}catch(tt){oe(tt)}}function Ae(ae){try{Q(I.throw(ae))}catch(tt){oe(tt)}}function Q(ae){ae.done?q(ae.value):function V(q){return q instanceof L?q:new L(function(oe){oe(q)})}(ae.value).then(ve,Ae)}Q((I=I.apply(r,d||[])).next())})}function j(r){return this instanceof j?(this.v=r,this):new j(r)}function W(r,d,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,I=L.apply(r,d||[]),q=[];return V={},oe("next"),oe("throw"),oe("return"),V[Symbol.asyncIterator]=function(){return this},V;function oe(Oe){I[Oe]&&(V[Oe]=function(pe){return new Promise(function(Ie,Se){q.push([Oe,pe,Ie,Se])>1||ve(Oe,pe)})})}function ve(Oe,pe){try{!function Ae(Oe){Oe.value instanceof j?Promise.resolve(Oe.value.v).then(Q,ae):tt(q[0][2],Oe)}(I[Oe](pe))}catch(Ie){tt(q[0][3],Ie)}}function Q(Oe){ve("next",Oe)}function ae(Oe){ve("throw",Oe)}function tt(Oe,pe){Oe(pe),q.shift(),q.length&&ve(q[0][0],q[0][1])}}function me(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,d=r[Symbol.asyncIterator];return d?d.call(r):(r=function $(r){var d="function"==typeof Symbol&&Symbol.iterator,L=d&&r[d],I=0;if(L)return L.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&I>=r.length&&(r=void 0),{value:r&&r[I++],done:!r}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),L={},I("next"),I("throw"),I("return"),L[Symbol.asyncIterator]=function(){return this},L);function I(q){L[q]=r[q]&&function(oe){return new Promise(function(ve,Ae){!function V(q,oe,ve,Ae){Promise.resolve(Ae).then(function(Q){q({value:Q,done:ve})},oe)}(ve,Ae,(oe=r[q](oe)).done,oe.value)})}}}"function"==typeof SuppressedError&&SuppressedError},3219:Ce=>{"use strict";Ce.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2951:Ce=>{"use strict";Ce.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},4589:Ce=>{"use strict";Ce.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3241:Ce=>{"use strict";Ce.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636:Ce=>{"use strict";Ce.exports={rE:"6.5.5"}},5579:Ce=>{"use strict";Ce.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},Ce=>{Ce(Ce.s=5344)}]); \ No newline at end of file diff --git a/www/main.2b9749cff5779d09.js b/www/main.2b9749cff5779d09.js new file mode 100644 index 00000000..78f0c3c6 --- /dev/null +++ b/www/main.2b9749cff5779d09.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{8941:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>S});const S=(0,E(5083).F3)("App",{web:()=>E.e(9303).then(E.bind(E,9303)).then(p=>new p.AppWeb)})},5083:(Ce,ee,E)=>{"use strict";E.d(ee,{EA:()=>se,E_:()=>k,F3:()=>B,Ii:()=>A,pX:()=>n});var a=E(467);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;var w=function(o){return o.Unimplemented="UNIMPLEMENTED",o.Unavailable="UNAVAILABLE",o}(w||{});class T extends Error{constructor(u,s,h){super(u),this.message=u,this.code=s,this.data=h}}const g=o=>{var u,s,h,v,y;const f=o.CapacitorCustomPlatform||null,r=o.Capacitor||{},d=r.Plugins=r.Plugins||{},L=o.CapacitorPlatforms,V=(null===(u=null==L?void 0:L.currentPlatform)||void 0===u?void 0:u.getPlatform)||(()=>null!==f?f.name:(o=>{var u,s;return null!=o&&o.androidBridge?"android":null!==(s=null===(u=null==o?void 0:o.webkit)||void 0===u?void 0:u.messageHandlers)&&void 0!==s&&s.bridge?"ios":"web"})(o)),oe=(null===(s=null==L?void 0:L.currentPlatform)||void 0===s?void 0:s.isNativePlatform)||(()=>"web"!==V()),Ae=(null===(h=null==L?void 0:L.currentPlatform)||void 0===h?void 0:h.isPluginAvailable)||(re=>{const ne=pe.get(re);return!!(null!=ne&&ne.platforms.has(V())||ae(re))}),ae=(null===(v=null==L?void 0:L.currentPlatform)||void 0===v?void 0:v.getPluginHeader)||(re=>{var ne;return null===(ne=r.PluginHeaders)||void 0===ne?void 0:ne.find(G=>G.name===re)}),pe=new Map,Se=(null===(y=null==L?void 0:L.currentPlatform)||void 0===y?void 0:y.registerPlugin)||((re,ne={})=>{const G=pe.get(re);if(G)return console.warn(`Capacitor plugin "${re}" already registered. Cannot register plugins twice.`),G.proxy;const Ee=V(),vt=ae(re);let Qe;const rt=function(){var En=(0,a.A)(function*(){return!Qe&&Ee in ne?Qe=Qe="function"==typeof ne[Ee]?yield ne[Ee]():ne[Ee]:null!==f&&!Qe&&"web"in ne&&(Qe=Qe="function"==typeof ne.web?yield ne.web():ne.web),Qe});return function(){return En.apply(this,arguments)}}(),gt=En=>{let It;const Ft=(...yn)=>{const Dt=rt().then(_t=>{const Cn=((En,It)=>{var Ft,yn;if(!vt){if(En)return null===(yn=En[It])||void 0===yn?void 0:yn.bind(En);throw new T(`"${re}" plugin is not implemented on ${Ee}`,w.Unimplemented)}{const Dt=null==vt?void 0:vt.methods.find(_t=>It===_t.name);if(Dt)return"promise"===Dt.rtype?_t=>r.nativePromise(re,It.toString(),_t):(_t,Cn)=>r.nativeCallback(re,It.toString(),_t,Cn);if(En)return null===(Ft=En[It])||void 0===Ft?void 0:Ft.bind(En)}})(_t,En);if(Cn){const St=Cn(...yn);return It=null==St?void 0:St.remove,St}throw new T(`"${re}.${En}()" is not implemented on ${Ee}`,w.Unimplemented)});return"addListener"===En&&(Dt.remove=(0,a.A)(function*(){return It()})),Dt};return Ft.toString=()=>`${En.toString()}() { [capacitor code] }`,Object.defineProperty(Ft,"name",{value:En,writable:!1,configurable:!1}),Ft},ht=gt("addListener"),on=gt("removeListener"),Mt=(En,It)=>{const Ft=ht({eventName:En},It),yn=function(){var _t=(0,a.A)(function*(){const Cn=yield Ft;on({eventName:En,callbackId:Cn},It)});return function(){return _t.apply(this,arguments)}}(),Dt=new Promise(_t=>Ft.then(()=>_t({remove:yn})));return Dt.remove=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield yn()}),Dt},Pt=new Proxy({},{get(En,It){switch(It){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return vt?Mt:ht;case"removeListener":return on;default:return gt(It)}}});return d[re]=Pt,pe.set(re,{name:re,proxy:Pt,platforms:new Set([...Object.keys(ne),...vt?[Ee]:[]])}),Pt});return r.convertFileSrc||(r.convertFileSrc=re=>re),r.getPlatform=V,r.handleError=re=>o.console.error(re),r.isNativePlatform=oe,r.isPluginAvailable=Ae,r.pluginMethodNoop=(re,ne,G)=>Promise.reject(`${G} does not have an implementation of "${ne}".`),r.registerPlugin=Se,r.Exception=T,r.DEBUG=!!r.DEBUG,r.isLoggingEnabled=!!r.isLoggingEnabled,r.platform=r.getPlatform(),r.isNative=r.isNativePlatform(),r},A=(o=>o.Capacitor=g(o))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),B=A.registerPlugin;class k{constructor(u){this.listeners={},this.windowListeners={},u&&(console.warn(`Capacitor WebPlugin "${u.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=u)}addListener(u,s){var h=this;this.listeners[u]||(this.listeners[u]=[]),this.listeners[u].push(s);const y=this.windowListeners[u];y&&!y.registered&&this.addWindowListener(y);const f=function(){var d=(0,a.A)(function*(){return h.removeListener(u,s)});return function(){return d.apply(this,arguments)}}(),r=Promise.resolve({remove:f});return Object.defineProperty(r,"remove",{value:(d=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield f()}),function(){return d.apply(this,arguments)})}),r;var d}removeAllListeners(){var u=this;return(0,a.A)(function*(){u.listeners={};for(const s in u.windowListeners)u.removeWindowListener(u.windowListeners[s]);u.windowListeners={}})()}notifyListeners(u,s){const h=this.listeners[u];h&&h.forEach(v=>v(s))}hasListeners(u){return!!this.listeners[u].length}registerWindowListener(u,s){this.windowListeners[s]={registered:!1,windowEventName:u,pluginEventName:s,handler:h=>{this.notifyListeners(s,h)}}}unimplemented(u="not implemented"){return new A.Exception(u,w.Unimplemented)}unavailable(u="not available"){return new A.Exception(u,w.Unavailable)}removeListener(u,s){var h=this;return(0,a.A)(function*(){const v=h.listeners[u];if(!v)return;const y=v.indexOf(s);h.listeners[u].splice(y,1),h.listeners[u].length||h.removeWindowListener(h.windowListeners[u])})()}addWindowListener(u){window.addEventListener(u.windowEventName,u.handler),u.registered=!0}removeWindowListener(u){u&&(window.removeEventListener(u.windowEventName,u.handler),u.registered=!1)}}const O=o=>encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),U=o=>o.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class j extends k{getCookies(){return(0,a.A)(function*(){const u=document.cookie,s={};return u.split(";").forEach(h=>{if(h.length<=0)return;let[v,y]=h.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");v=U(v).trim(),y=U(y).trim(),s[v]=y}),s})()}setCookie(u){return(0,a.A)(function*(){try{const s=O(u.key),h=O(u.value),v=`; expires=${(u.expires||"").replace("expires=","")}`,y=(u.path||"/").replace("path=",""),f=null!=u.url&&u.url.length>0?`domain=${u.url}`:"";document.cookie=`${s}=${h||""}${v}; path=${y}; ${f};`}catch(s){return Promise.reject(s)}})()}deleteCookie(u){return(0,a.A)(function*(){try{document.cookie=`${u.key}=; Max-Age=0`}catch(s){return Promise.reject(s)}})()}clearCookies(){return(0,a.A)(function*(){try{const u=document.cookie.split(";")||[];for(const s of u)document.cookie=s.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(u){return Promise.reject(u)}})()}clearAllCookies(){var u=this;return(0,a.A)(function*(){try{yield u.clearCookies()}catch(s){return Promise.reject(s)}})()}}B("CapacitorCookies",{web:()=>new j});const ie=function(){var o=(0,a.A)(function*(u){return new Promise((s,h)=>{const v=new FileReader;v.onload=()=>{const y=v.result;s(y.indexOf(",")>=0?y.split(",")[1]:y)},v.onerror=y=>h(y),v.readAsDataURL(u)})});return function(s){return o.apply(this,arguments)}}(),se=(o,u={})=>{const s=Object.assign({method:o.method||"GET",headers:o.headers},u),v=((o={})=>{const u=Object.keys(o);return Object.keys(o).map(v=>v.toLocaleLowerCase()).reduce((v,y,f)=>(v[y]=o[u[f]],v),{})})(o.headers)["content-type"]||"";if("string"==typeof o.data)s.body=o.data;else if(v.includes("application/x-www-form-urlencoded")){const y=new URLSearchParams;for(const[f,r]of Object.entries(o.data||{}))y.set(f,r);s.body=y.toString()}else if(v.includes("multipart/form-data")){const y=new FormData;if(o.data instanceof FormData)o.data.forEach((r,d)=>{y.append(d,r)});else for(const r of Object.keys(o.data))y.append(r,o.data[r]);s.body=y;const f=new Headers(s.headers);f.delete("content-type"),s.headers=f}else(v.includes("application/json")||"object"==typeof o.data)&&(s.body=JSON.stringify(o.data));return s};class m extends k{request(u){return(0,a.A)(function*(){const s=se(u,u.webFetchExtra),h=((o,u=!0)=>o?Object.entries(o).reduce((h,v)=>{const[y,f]=v;let r,d;return Array.isArray(f)?(d="",f.forEach(L=>{r=u?encodeURIComponent(L):L,d+=`${y}=${r}&`}),d.slice(0,-1)):(r=u?encodeURIComponent(f):f,d=`${y}=${r}`),`${h}&${d}`},"").substr(1):null)(u.params,u.shouldEncodeUrlParams),v=h?`${u.url}?${h}`:u.url,y=yield fetch(v,s),f=y.headers.get("content-type")||"";let d,L,{responseType:r="text"}=y.ok?u:{};switch(f.includes("application/json")&&(r="json"),r){case"arraybuffer":case"blob":L=yield y.blob(),d=yield ie(L);break;case"json":d=yield y.json();break;default:d=yield y.text()}const I={};return y.headers.forEach((V,q)=>{I[q]=V}),{data:d,headers:I,status:y.status,url:y.url}})()}get(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"GET"}))})()}post(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"POST"}))})()}put(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"PUT"}))})()}patch(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"PATCH"}))})()}delete(u){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},u),{method:"DELETE"}))})()}}const n=B("CapacitorHttp",{web:()=>new m})},9316:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>S});const S=(0,E(5083).F3)("Device",{web:()=>E.e(8622).then(E.bind(E,8622)).then(p=>new p.DeviceWeb)})},1889:(Ce,ee,E)=>{"use strict";E.d(ee,{Wi:()=>S,__:()=>a});var a=function(c){return c.Documents="DOCUMENTS",c.Data="DATA",c.Library="LIBRARY",c.Cache="CACHE",c.External="EXTERNAL",c.ExternalStorage="EXTERNAL_STORAGE",c}(a||{}),S=function(c){return c.UTF8="utf8",c.ASCII="ascii",c.UTF16="utf16",c}(S||{})},2739:(Ce,ee,E)=>{"use strict";E.d(ee,{YA:()=>p,__:()=>S.__});var a=E(5083),S=E(1889);const p=(0,a.F3)("Filesystem",{web:()=>E.e(2937).then(E.bind(E,2937)).then(R=>new R.FilesystemWeb)})},9182:(Ce,ee,E)=>{"use strict";E.d(ee,{_n:()=>S,kn:()=>a});var a=function(c){return c.Heavy="HEAVY",c.Medium="MEDIUM",c.Light="LIGHT",c}(a||{}),S=function(c){return c.Success="SUCCESS",c.Warning="WARNING",c.Error="ERROR",c}(S||{})},6598:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=(0,E(5083).F3)("Network",{web:()=>E.e(3780).then(E.bind(E,3780)).then(p=>new p.NetworkWeb)})},1656:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>p,r:()=>g});const p=(te,se)=>{te.componentOnReady?te.componentOnReady().then(m=>se(m)):g(()=>se(te))},g=te=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(te):"function"==typeof requestAnimationFrame?requestAnimationFrame(te):setTimeout(te)},6031:(Ce,ee,E)=>{"use strict";E.d(ee,{L:()=>a,a:()=>S,b:()=>p,c:()=>R,d:()=>c,g:()=>te});const a="ionViewWillEnter",S="ionViewDidEnter",p="ionViewWillLeave",R="ionViewDidLeave",c="ionViewWillUnload",te=se=>se.classList.contains("ion-page")?se:se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||se},3503:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>$});var a=E(8476),S=E(5638);let p;const c=k=>k.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),D=k=>(void 0===p&&(p=void 0===k.style.animationName&&void 0!==k.style.webkitAnimationName?"-webkit-":""),p),C=(k,M,O)=>{const U=M.startsWith("animation")?D(k):"";k.style.setProperty(U+M,O)},w=(k,M)=>{const O=M.startsWith("animation")?D(k):"";k.style.removeProperty(O+M)},g=[],P=(k=[],M)=>{if(void 0!==M){const O=Array.isArray(M)?M:[M];return[...k,...O]}return k},$=k=>{let M,O,U,j,W,ie,n,r,d,L,I,ve,Ae,me=[],te=[],se=[],m=!1,o={},u=[],s=[],h={},v=0,y=!1,f=!1,V=!0,q=!1,oe=!0,Q=!1;const ae=k,tt=[],Oe=[],pe=[],Ie=[],Se=[],re=[],ne=[],G=[],Ee=[],vt=[],Qe=[],rt="function"==typeof AnimationEffect||void 0!==a.w&&"function"==typeof a.w.AnimationEffect,nn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&rt,ht=()=>Qe,It=(Et,zt)=>{const ye=zt.findIndex(We=>We.c===Et);ye>-1&&zt.splice(ye,1)},yn=(Et,zt)=>((null!=zt&&zt.oneTimeCallback?Oe:tt).push({c:Et,o:zt}),Ae),_t=()=>{if(nn)Qe.forEach(Et=>{Et.cancel()}),Qe.length=0;else{const Et=Ie.slice();(0,S.r)(()=>{Et.forEach(zt=>{w(zt,"animation-name"),w(zt,"animation-duration"),w(zt,"animation-timing-function"),w(zt,"animation-iteration-count"),w(zt,"animation-delay"),w(zt,"animation-play-state"),w(zt,"animation-fill-mode"),w(zt,"animation-direction")})})}},Cn=()=>{re.forEach(Et=>{null!=Et&&Et.parentNode&&Et.parentNode.removeChild(Et)}),re.length=0},$e=()=>void 0!==W?W:n?n.getFill():"both",it=()=>void 0!==d?d:void 0!==ie?ie:n?n.getDirection():"normal",Pe=()=>y?"linear":void 0!==U?U:n?n.getEasing():"linear",Be=()=>f?0:void 0!==L?L:void 0!==O?O:n?n.getDuration():0,Ue=()=>void 0!==j?j:n?n.getIterations():1,Ct=()=>void 0!==I?I:void 0!==M?M:n?n.getDelay():0,Pn=()=>{0!==v&&(v--,0===v&&((()=>{Dn(),Ee.forEach(ct=>ct()),vt.forEach(ct=>ct());const Et=V?1:0,zt=u,ye=s,We=h;Ie.forEach(ct=>{const xt=ct.classList;zt.forEach(Xt=>xt.add(Xt)),ye.forEach(Xt=>xt.remove(Xt));for(const Xt in We)We.hasOwnProperty(Xt)&&C(ct,Xt,We[Xt])}),L=void 0,d=void 0,I=void 0,tt.forEach(ct=>ct.c(Et,Ae)),Oe.forEach(ct=>ct.c(Et,Ae)),Oe.length=0,oe=!0,V&&(q=!0),V=!0})(),n&&n.animationFinish()))},Ln=(Et=!0)=>{Cn();const zt=(k=>(k.forEach(M=>{for(const O in M)if(M.hasOwnProperty(O)){const U=M[O];if("easing"===O)M["animation-timing-function"]=U,delete M[O];else{const j=c(O);j!==O&&(M[j]=U,delete M[O])}}}),k))(me);Ie.forEach(ye=>{if(zt.length>0){const We=((k=[])=>k.map(M=>{const O=M.offset,U=[];for(const j in M)M.hasOwnProperty(j)&&"offset"!==j&&U.push(`${j}: ${M[j]};`);return`${100*O}% { ${U.join(" ")} }`}).join(" "))(zt);ve=void 0!==k?k:(k=>{let M=g.indexOf(k);return M<0&&(M=g.push(k)-1),`ion-animation-${M}`})(We);const ct=((k,M,O)=>{var U;const j=(k=>{const M=void 0!==k.getRootNode?k.getRootNode():k;return M.head||M})(O),W=D(O),ie=j.querySelector("#"+k);if(ie)return ie;const me=(null!==(U=O.ownerDocument)&&void 0!==U?U:document).createElement("style");return me.id=k,me.textContent=`@${W}keyframes ${k} { ${M} } @${W}keyframes ${k}-alt { ${M} }`,j.appendChild(me),me})(ve,We,ye);re.push(ct),C(ye,"animation-duration",`${Be()}ms`),C(ye,"animation-timing-function",Pe()),C(ye,"animation-delay",`${Ct()}ms`),C(ye,"animation-fill-mode",$e()),C(ye,"animation-direction",it());const xt=Ue()===1/0?"infinite":Ue().toString();C(ye,"animation-iteration-count",xt),C(ye,"animation-play-state","paused"),Et&&C(ye,"animation-name",`${ct.id}-alt`),(0,S.r)(()=>{C(ye,"animation-name",ct.id||null)})}})},Gn=(Et=!0)=>{(()=>{ne.forEach(We=>We()),G.forEach(We=>We());const Et=te,zt=se,ye=o;Ie.forEach(We=>{const ct=We.classList;Et.forEach(xt=>ct.add(xt)),zt.forEach(xt=>ct.remove(xt));for(const xt in ye)ye.hasOwnProperty(xt)&&C(We,xt,ye[xt])})})(),me.length>0&&(nn?(Ie.forEach(Et=>{const zt=Et.animate(me,{id:ae,delay:Ct(),duration:Be(),easing:Pe(),iterations:Ue(),fill:$e(),direction:it()});zt.pause(),Qe.push(zt)}),Qe.length>0&&(Qe[0].onfinish=()=>{Pn()})):Ln(Et)),m=!0},$n=Et=>{if(Et=Math.min(Math.max(Et,0),.9999),nn)Qe.forEach(zt=>{zt.currentTime=zt.effect.getComputedTiming().delay+Be()*Et,zt.pause()});else{const zt=`-${Be()*Et}ms`;Ie.forEach(ye=>{me.length>0&&(C(ye,"animation-delay",zt),C(ye,"animation-play-state","paused"))})}},je=Et=>{Qe.forEach(zt=>{zt.effect.updateTiming({delay:Ct(),duration:Be(),easing:Pe(),iterations:Ue(),fill:$e(),direction:it()})}),void 0!==Et&&$n(Et)},lt=(Et=!0,zt)=>{(0,S.r)(()=>{Ie.forEach(ye=>{C(ye,"animation-name",ve||null),C(ye,"animation-duration",`${Be()}ms`),C(ye,"animation-timing-function",Pe()),C(ye,"animation-delay",void 0!==zt?`-${zt*Be()}ms`:`${Ct()}ms`),C(ye,"animation-fill-mode",$e()||null),C(ye,"animation-direction",it()||null);const We=Ue()===1/0?"infinite":Ue().toString();C(ye,"animation-iteration-count",We),Et&&C(ye,"animation-name",`${ve}-alt`),(0,S.r)(()=>{C(ye,"animation-name",ve||null)})})})},Tt=(Et=!1,zt=!0,ye)=>(Et&&Se.forEach(We=>{We.update(Et,zt,ye)}),nn?je(ye):lt(zt,ye),Ae),qt=()=>{m&&(nn?Qe.forEach(Et=>{Et.pause()}):Ie.forEach(Et=>{C(Et,"animation-play-state","paused")}),Q=!0)},Tn=()=>{r=void 0,Pn()},Dn=()=>{r&&clearTimeout(r)},Te=Et=>new Promise(zt=>{null!=Et&&Et.sync&&(f=!0,yn(()=>f=!1,{oneTimeCallback:!0})),m||Gn(),q&&(nn?($n(0),je()):lt(),q=!1),oe&&(v=Se.length+1,oe=!1);const ye=()=>{It(We,Oe),zt()},We=()=>{It(ye,pe),zt()};yn(We,{oneTimeCallback:!0}),((Et,zt)=>{pe.push({c:Et,o:{oneTimeCallback:!0}})})(ye),Se.forEach(ct=>{ct.play()}),nn?(Qe.forEach(Et=>{Et.play()}),(0===me.length||0===Ie.length)&&Pn()):(()=>{if(Dn(),(0,S.r)(()=>{Ie.forEach(Et=>{me.length>0&&C(Et,"animation-play-state","running")})}),0===me.length||0===Ie.length)Pn();else{const Et=Ct()||0,zt=Be()||0,ye=Ue()||1;isFinite(ye)&&(r=setTimeout(Tn,Et+zt*ye+100)),((k,M)=>{let O;const U={passive:!0},W=ie=>{k===ie.target&&(O&&O(),Dn(),(0,S.r)(()=>{Ie.forEach(Et=>{w(Et,"animation-duration"),w(Et,"animation-delay"),w(Et,"animation-play-state")}),(0,S.r)(Pn)}))};k&&(k.addEventListener("webkitAnimationEnd",W,U),k.addEventListener("animationend",W,U),O=()=>{k.removeEventListener("webkitAnimationEnd",W,U),k.removeEventListener("animationend",W,U)})})(Ie[0])}})(),Q=!1}),bt=(Et,zt)=>{const ye=me[0];return void 0===ye||void 0!==ye.offset&&0!==ye.offset?me=[{offset:0,[Et]:zt},...me]:ye[Et]=zt,Ae};return Ae={parentAnimation:n,elements:Ie,childAnimations:Se,id:ae,animationFinish:Pn,from:bt,to:(Et,zt)=>{const ye=me[me.length-1];return void 0===ye||void 0!==ye.offset&&1!==ye.offset?me=[...me,{offset:1,[Et]:zt}]:ye[Et]=zt,Ae},fromTo:(Et,zt,ye)=>bt(Et,zt).to(Et,ye),parent:Et=>(n=Et,Ae),play:Te,pause:()=>(Se.forEach(Et=>{Et.pause()}),qt(),Ae),stop:()=>{Se.forEach(Et=>{Et.stop()}),m&&(_t(),m=!1),y=!1,f=!1,oe=!0,d=void 0,L=void 0,I=void 0,v=0,q=!1,V=!0,Q=!1,pe.forEach(Et=>Et.c(0,Ae)),pe.length=0},destroy:Et=>(Se.forEach(zt=>{zt.destroy(Et)}),(Et=>{_t(),Et&&Cn()})(Et),Ie.length=0,Se.length=0,me.length=0,tt.length=0,Oe.length=0,m=!1,oe=!0,Ae),keyframes:Et=>{const zt=me!==Et;return me=Et,zt&&(Et=>{nn?ht().forEach(zt=>{const ye=zt.effect;if(ye.setKeyframes)ye.setKeyframes(Et);else{const We=new KeyframeEffect(ye.target,Et,ye.getTiming());zt.effect=We}}):Ln()})(me),Ae},addAnimation:Et=>{if(null!=Et)if(Array.isArray(Et))for(const zt of Et)zt.parent(Ae),Se.push(zt);else Et.parent(Ae),Se.push(Et);return Ae},addElement:Et=>{if(null!=Et)if(1===Et.nodeType)Ie.push(Et);else if(Et.length>=0)for(let zt=0;zt(W=Et,Tt(!0),Ae),direction:Et=>(ie=Et,Tt(!0),Ae),iterations:Et=>(j=Et,Tt(!0),Ae),duration:Et=>(!nn&&0===Et&&(Et=1),O=Et,Tt(!0),Ae),easing:Et=>(U=Et,Tt(!0),Ae),delay:Et=>(M=Et,Tt(!0),Ae),getWebAnimations:ht,getKeyframes:()=>me,getFill:$e,getDirection:it,getDelay:Ct,getIterations:Ue,getEasing:Pe,getDuration:Be,afterAddRead:Et=>(Ee.push(Et),Ae),afterAddWrite:Et=>(vt.push(Et),Ae),afterClearStyles:(Et=[])=>{for(const zt of Et)h[zt]="";return Ae},afterStyles:(Et={})=>(h=Et,Ae),afterRemoveClass:Et=>(s=P(s,Et),Ae),afterAddClass:Et=>(u=P(u,Et),Ae),beforeAddRead:Et=>(ne.push(Et),Ae),beforeAddWrite:Et=>(G.push(Et),Ae),beforeClearStyles:(Et=[])=>{for(const zt of Et)o[zt]="";return Ae},beforeStyles:(Et={})=>(o=Et,Ae),beforeRemoveClass:Et=>(se=P(se,Et),Ae),beforeAddClass:Et=>(te=P(te,Et),Ae),onFinish:yn,isRunning:()=>0!==v&&!Q,progressStart:(Et=!1,zt)=>(Se.forEach(ye=>{ye.progressStart(Et,zt)}),qt(),y=Et,m||Gn(),Tt(!1,!0,zt),Ae),progressStep:Et=>(Se.forEach(zt=>{zt.progressStep(Et)}),$n(Et),Ae),progressEnd:(Et,zt,ye)=>(y=!1,Se.forEach(We=>{We.progressEnd(Et,zt,ye)}),void 0!==ye&&(L=ye),q=!1,V=!0,0===Et?(d="reverse"===it()?"normal":"reverse","reverse"===d&&(V=!1),nn?(Tt(),$n(1-zt)):(I=(1-zt)*Be()*-1,Tt(!1,!1))):1===Et&&(nn?(Tt(),$n(zt)):(I=zt*Be()*-1,Tt(!1,!1))),void 0!==Et&&!n&&Te(),Ae)}}},464:(Ce,ee,E)=>{"use strict";E.d(ee,{E:()=>_,a:()=>a,s:()=>w});const a=g=>{try{if(g instanceof C)return g.value;if(!R()||"string"!=typeof g||""===g)return g;if(g.includes("onload="))return"";const F=document.createDocumentFragment(),A=document.createElement("div");F.appendChild(A),A.innerHTML=g,D.forEach(k=>{const M=F.querySelectorAll(k);for(let O=M.length-1;O>=0;O--){const U=M[O];U.parentNode?U.parentNode.removeChild(U):F.removeChild(U);const j=p(U);for(let W=0;W{if(g.nodeType&&1!==g.nodeType)return;if(typeof NamedNodeMap<"u"&&!(g.attributes instanceof NamedNodeMap))return void g.remove();for(let A=g.attributes.length-1;A>=0;A--){const B=g.attributes.item(A),P=B.name;if(!c.includes(P.toLowerCase())){g.removeAttribute(P);continue}const $=B.value,k=g[P];(null!=$&&$.toLowerCase().includes("javascript:")||null!=k&&k.toLowerCase().includes("javascript:"))&&g.removeAttribute(P)}const F=p(g);for(let A=0;Anull!=g.children?g.children:g.childNodes,R=()=>{var g;const F=window,A=null===(g=null==F?void 0:F.Ionic)||void 0===g?void 0:g.config;return!A||(A.get?A.get("sanitizerEnabled",!0):!0===A.sanitizerEnabled||void 0===A.sanitizerEnabled)},c=["class","id","href","src","name","slot"],D=["script","style","iframe","meta","link","object","embed"];class C{constructor(F){this.value=F}}const w=g=>{const F=window,A=F.Ionic;if(!A||!A.config||"Object"===A.config.constructor.name)return F.Ionic=F.Ionic||{},F.Ionic.config=Object.assign(Object.assign({},F.Ionic.config),g),F.Ionic.config},_=!1},5938:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>c,a:()=>p,d:()=>R});var a=E(467),S=E(5638);const p=function(){var D=(0,a.A)(function*(C,w,T,_,g,F){var A;if(C)return C.attachViewToDom(w,T,g,_);if(!(F||"string"==typeof T||T instanceof HTMLElement))throw new Error("framework delegate is missing");const B="string"==typeof T?null===(A=w.ownerDocument)||void 0===A?void 0:A.createElement(T):T;return _&&_.forEach(P=>B.classList.add(P)),g&&Object.assign(B,g),w.appendChild(B),yield new Promise(P=>(0,S.c)(B,P)),B});return function(w,T,_,g,F,A){return D.apply(this,arguments)}}(),R=(D,C)=>{if(C){if(D)return D.removeViewFromDom(C.parentElement,C);C.remove()}return Promise.resolve()},c=()=>{let D,C;return{attachViewToDom:function(){var _=(0,a.A)(function*(g,F,A={},B=[]){var P,$;let k;if(D=g,F){const O="string"==typeof F?null===(P=D.ownerDocument)||void 0===P?void 0:P.createElement(F):F;B.forEach(U=>O.classList.add(U)),Object.assign(O,A),D.appendChild(O),k=O,yield new Promise(U=>(0,S.c)(O,U))}else if(D.children.length>0&&("ION-MODAL"===D.tagName||"ION-POPOVER"===D.tagName)&&!(k=D.children[0]).classList.contains("ion-delegate-host")){const U=null===($=D.ownerDocument)||void 0===$?void 0:$.createElement("div");U.classList.add("ion-delegate-host"),B.forEach(j=>U.classList.add(j)),U.append(...D.children),D.appendChild(U),k=U}const M=document.querySelector("ion-app")||document.body;return C=document.createComment("ionic teleport"),D.parentNode.insertBefore(C,D),M.appendChild(D),null!=k?k:D});return function(F,A){return _.apply(this,arguments)}}(),removeViewFromDom:()=>(D&&C&&(C.parentNode.insertBefore(D,C),C.remove()),Promise.resolve())}}},8221:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>c});class S{constructor(C,w,T,_,g){this.id=w,this.name=T,this.disableScroll=g,this.priority=1e6*_+w,this.ctrl=C}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const C=this.ctrl.capture(this.name,this.id,this.priority);return C&&this.disableScroll&&this.ctrl.disableScroll(this.id),C}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class p{constructor(C,w,T,_){this.id=w,this.disable=T,this.disableScroll=_,this.ctrl=C}block(){if(this.ctrl){if(this.disable)for(const C of this.disable)this.ctrl.disableGesture(C,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const C of this.disable)this.ctrl.enableGesture(C,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const R="backdrop-no-scroll",c=new class a{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(C){var w;return new S(this,this.newID(),C.name,null!==(w=C.priority)&&void 0!==w?w:0,!!C.disableScroll)}createBlocker(C={}){return new p(this,this.newID(),C.disable,!!C.disableScroll)}start(C,w,T){return this.canStart(C)?(this.requestedStart.set(w,T),!0):(this.requestedStart.delete(w),!1)}capture(C,w,T){if(!this.start(C,w,T))return!1;const _=this.requestedStart;let g=-1e4;if(_.forEach(F=>{g=Math.max(g,F)}),g===T){this.capturedId=w,_.clear();const F=new CustomEvent("ionGestureCaptured",{detail:{gestureName:C}});return document.dispatchEvent(F),!0}return _.delete(w),!1}release(C){this.requestedStart.delete(C),this.capturedId===C&&(this.capturedId=void 0)}disableGesture(C,w){let T=this.disabledGestures.get(C);void 0===T&&(T=new Set,this.disabledGestures.set(C,T)),T.add(w)}enableGesture(C,w){const T=this.disabledGestures.get(C);void 0!==T&&T.delete(w)}disableScroll(C){this.disabledScroll.add(C),1===this.disabledScroll.size&&document.body.classList.add(R)}enableScroll(C){this.disabledScroll.delete(C),0===this.disabledScroll.size&&document.body.classList.remove(R)}canStart(C){return!(void 0!==this.capturedId||this.isDisabled(C))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(C){const w=this.disabledGestures.get(C);return!!(w&&w.size>0)}newID(){return this.gestureId++,this.gestureId}}},3113:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{MENU_BACK_BUTTON_PRIORITY:()=>T,OVERLAY_BACK_BUTTON_PRIORITY:()=>w,blockHardwareBackButton:()=>D,shouldUseCloseWatcher:()=>c,startHardwareBackButton:()=>C});var a=E(467),S=E(8476),p=E(611);E(4363);const c=()=>p.c.get("experimentalCloseWatcher",!1)&&void 0!==S.w&&"CloseWatcher"in S.w,D=()=>{document.addEventListener("backbutton",()=>{})},C=()=>{const _=document;let g=!1;const F=()=>{if(g)return;let A=0,B=[];const P=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,O){B.push({priority:M,handler:O,id:A++})}}});_.dispatchEvent(P);const $=function(){var M=(0,a.A)(function*(O){try{if(null!=O&&O.handler){const U=O.handler(k);null!=U&&(yield U)}}catch(U){console.error(U)}});return function(U){return M.apply(this,arguments)}}(),k=()=>{if(B.length>0){let M={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};B.forEach(O=>{O.priority>=M.priority&&(M=O)}),g=!0,B=B.filter(O=>O.id!==M.id),$(M).then(()=>g=!1)}};k()};if(c()){let A;const B=()=>{null==A||A.destroy(),A=new S.w.CloseWatcher,A.onclose=()=>{F(),B()}};B()}else _.addEventListener("backbutton",F)},w=100,T=99},5638:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>w,b:()=>T,c:()=>p,d:()=>$,e:()=>P,f:()=>B,g:()=>_,h:()=>A,i:()=>C,j:()=>W,k:()=>c,l:()=>k,m:()=>R,n:()=>F,o:()=>M,p:()=>j,q:()=>ie,r:()=>g,s:()=>me,t:()=>a,u:()=>O,v:()=>U});const a=(te,se=0)=>new Promise(m=>{S(te,se,m)}),S=(te,se=0,m)=>{let n,o;const u={passive:!0},h=()=>{n&&n()},v=y=>{(void 0===y||te===y.target)&&(h(),m(y))};return te&&(te.addEventListener("webkitTransitionEnd",v,u),te.addEventListener("transitionend",v,u),o=setTimeout(v,se+500),n=()=>{void 0!==o&&(clearTimeout(o),o=void 0),te.removeEventListener("webkitTransitionEnd",v,u),te.removeEventListener("transitionend",v,u)}),h},p=(te,se)=>{te.componentOnReady?te.componentOnReady().then(m=>se(m)):g(()=>se(te))},R=te=>void 0!==te.componentOnReady,c=(te,se=[])=>{const m={};return se.forEach(n=>{te.hasAttribute(n)&&(null!==te.getAttribute(n)&&(m[n]=te.getAttribute(n)),te.removeAttribute(n))}),m},D=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],C=(te,se)=>{let m=D;return se&&se.length>0&&(m=m.filter(n=>!se.includes(n))),c(te,m)},w=(te,se,m,n)=>{var o;if(typeof window<"u"){const u=window,s=null===(o=null==u?void 0:u.Ionic)||void 0===o?void 0:o.config;if(s){const h=s.get("_ael");if(h)return h(te,se,m,n);if(s._ael)return s._ael(te,se,m,n)}}return te.addEventListener(se,m,n)},T=(te,se,m,n)=>{var o;if(typeof window<"u"){const u=window,s=null===(o=null==u?void 0:u.Ionic)||void 0===o?void 0:o.config;if(s){const h=s.get("_rel");if(h)return h(te,se,m,n);if(s._rel)return s._rel(te,se,m,n)}}return te.removeEventListener(se,m,n)},_=(te,se=te)=>te.shadowRoot||se,g=te=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(te):"function"==typeof requestAnimationFrame?requestAnimationFrame(te):setTimeout(te),F=te=>!!te.shadowRoot&&!!te.attachShadow,A=te=>{const se=te.closest("ion-item");return se?se.querySelector("ion-label"):null},B=te=>{if(te.focus(),te.classList.contains("ion-focusable")){const se=te.closest("ion-app");se&&se.setFocus([te])}},P=(te,se)=>{let m;const n=te.getAttribute("aria-labelledby"),o=te.id;let u=null!==n&&""!==n.trim()?n:se+"-lbl",s=null!==n&&""!==n.trim()?document.getElementById(n):A(te);return s?(null===n&&(s.id=u),m=s.textContent,s.setAttribute("aria-hidden","true")):""!==o.trim()&&(s=document.querySelector(`label[for="${o}"]`),s&&(""!==s.id?u=s.id:s.id=u=`${o}-lbl`,m=s.textContent)),{label:s,labelId:u,labelText:m}},$=(te,se,m,n,o)=>{if(te||F(se)){let u=se.querySelector("input.aux-input");u||(u=se.ownerDocument.createElement("input"),u.type="hidden",u.classList.add("aux-input"),se.appendChild(u)),u.disabled=o,u.name=m,u.value=n||""}},k=(te,se,m)=>Math.max(te,Math.min(se,m)),M=(te,se)=>{if(!te){const m="ASSERT: "+se;throw console.error(m),new Error(m)}},O=te=>te.timeStamp||Date.now(),U=te=>{if(te){const se=te.changedTouches;if(se&&se.length>0){const m=se[0];return{x:m.clientX,y:m.clientY}}if(void 0!==te.pageX)return{x:te.pageX,y:te.pageY}}return{x:0,y:0}},j=te=>{const se="rtl"===document.dir;switch(te){case"start":return se;case"end":return!se;default:throw new Error(`"${te}" is not a valid value for [side]. Use "start" or "end" instead.`)}},W=(te,se)=>{const m=te._original||te;return{_original:te,emit:ie(m.emit.bind(m),se)}},ie=(te,se=0)=>{let m;return(...n)=>{clearTimeout(m),m=setTimeout(te,se,...n)}},me=(te,se)=>{if(null!=te||(te={}),null!=se||(se={}),te===se)return!0;const m=Object.keys(te);if(m.length!==Object.keys(se).length)return!1;for(const n of m)if(!(n in se)||te[n]!==se[n])return!1;return!0}},405:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{GESTURE_CONTROLLER:()=>a.G,createGesture:()=>T});var a=E(8221);const S=(A,B,P,$)=>{const k=p(A)?{capture:!!$.capture,passive:!!$.passive}:!!$.capture;let M,O;return A.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",O="__zone_symbol__removeEventListener"):(M="addEventListener",O="removeEventListener"),A[M](B,P,k),()=>{A[O](B,P,k)}},p=A=>{if(void 0===R)try{const B=Object.defineProperty({},"passive",{get:()=>{R=!0}});A.addEventListener("optsTest",()=>{},B)}catch{R=!1}return!!R};let R;const C=A=>A instanceof Document?A:A.ownerDocument,T=A=>{let B=!1,P=!1,$=!0,k=!1;const M=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},A),O=M.canStart,U=M.onWillStart,j=M.onStart,W=M.onEnd,ie=M.notCaptured,me=M.onMove,te=M.threshold,se=M.passive,m=M.blurOnStart,n={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},o=((A,B,P)=>{const $=P*(Math.PI/180),k="x"===A,M=Math.cos($),O=B*B;let U=0,j=0,W=!1,ie=0;return{start(me,te){U=me,j=te,ie=0,W=!0},detect(me,te){if(!W)return!1;const se=me-U,m=te-j,n=se*se+m*m;if(nM?1:u<-M?-1:0,W=!1,!0},isGesture:()=>0!==ie,getDirection:()=>ie}})(M.direction,M.threshold,M.maxAngle),u=a.G.createGesture({name:A.gestureName,priority:A.gesturePriority,disableScroll:A.disableScroll}),v=()=>{B&&(k=!1,me&&me(n))},y=()=>!!u.capture()&&(B=!0,$=!1,n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime,U?U(n).then(r):r(),!0),r=()=>{m&&(()=>{if(typeof document<"u"){const q=document.activeElement;null!=q&&q.blur&&q.blur()}})(),j&&j(n),$=!0},d=()=>{B=!1,P=!1,k=!1,$=!0,u.release()},L=q=>{const oe=B,ve=$;if(d(),ve){if(_(n,q),oe)return void(W&&W(n));ie&&ie(n)}},I=((A,B,P,$,k)=>{let M,O,U,j,W,ie,me,te=0;const se=f=>{te=Date.now()+2e3,B(f)&&(!O&&P&&(O=S(A,"touchmove",P,k)),U||(U=S(f.target,"touchend",n,k)),j||(j=S(f.target,"touchcancel",n,k)))},m=f=>{te>Date.now()||B(f)&&(!ie&&P&&(ie=S(C(A),"mousemove",P,k)),me||(me=S(C(A),"mouseup",o,k)))},n=f=>{u(),$&&$(f)},o=f=>{s(),$&&$(f)},u=()=>{O&&O(),U&&U(),j&&j(),O=U=j=void 0},s=()=>{ie&&ie(),me&&me(),ie=me=void 0},h=()=>{u(),s()},v=(f=!0)=>{f?(M||(M=S(A,"touchstart",se,k)),W||(W=S(A,"mousedown",m,k))):(M&&M(),W&&W(),M=W=void 0,h())};return{enable:v,stop:h,destroy:()=>{v(!1),$=P=B=void 0}}})(M.el,q=>{const oe=F(q);return!(P||!$||(g(q,n),n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime=oe,n.velocityX=n.velocityY=n.deltaX=n.deltaY=0,n.event=q,O&&!1===O(n))||(u.release(),!u.start()))&&(P=!0,0===te?y():(o.start(n.startX,n.startY),!0))},q=>{B?!k&&$&&(k=!0,_(n,q),requestAnimationFrame(v)):(_(n,q),o.detect(n.currentX,n.currentY)&&(!o.isGesture()||!y())&&V())},L,{capture:!1,passive:se}),V=()=>{d(),I.stop(),ie&&ie(n)};return{enable(q=!0){q||(B&&L(void 0),d()),I.enable(q)},destroy(){u.destroy(),I.destroy()}}},_=(A,B)=>{if(!B)return;const P=A.currentX,$=A.currentY,k=A.currentTime;g(B,A);const M=A.currentX,O=A.currentY,j=(A.currentTime=F(B))-k;if(j>0&&j<100){const ie=(O-$)/j;A.velocityX=(M-P)/j*.7+.3*A.velocityX,A.velocityY=.7*ie+.3*A.velocityY}A.deltaX=M-A.startX,A.deltaY=O-A.startY,A.event=B},g=(A,B)=>{let P=0,$=0;if(A){const k=A.changedTouches;if(k&&k.length>0){const M=k[0];P=M.clientX,$=M.clientY}else void 0!==A.pageX&&(P=A.pageX,$=A.pageY)}B.currentX=P,B.currentY=$},F=A=>A.timeStamp||Date.now()},5384:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>A});var a=E(467),S=E(8476),p=E(3113),R=E(4929),c=E(5638),D=E(611),C=E(3503);const w=B=>(0,C.c)().duration(B?400:300),T=B=>{let P,$;const k=B.width+8,M=(0,C.c)(),O=(0,C.c)();B.isEndSide?(P=k+"px",$="0px"):(P=-k+"px",$="0px"),M.addElement(B.menuInnerEl).fromTo("transform",`translateX(${P})`,`translateX(${$})`);const j="ios"===(0,D.b)(B),W=j?.2:.25;return O.addElement(B.backdropEl).fromTo("opacity",.01,W),w(j).addAnimation([M,O])},_=B=>{let P,$;const k=(0,D.b)(B),M=B.width;B.isEndSide?(P=-M+"px",$=M+"px"):(P=M+"px",$=-M+"px");const O=(0,C.c)().addElement(B.menuInnerEl).fromTo("transform",`translateX(${$})`,"translateX(0px)"),U=(0,C.c)().addElement(B.contentEl).fromTo("transform","translateX(0px)",`translateX(${P})`),j=(0,C.c)().addElement(B.backdropEl).fromTo("opacity",.01,.32);return w("ios"===k).addAnimation([O,U,j])},g=B=>{const P=(0,D.b)(B),$=B.width*(B.isEndSide?-1:1)+"px",k=(0,C.c)().addElement(B.contentEl).fromTo("transform","translateX(0px)",`translateX(${$})`);return w("ios"===P).addAnimation(k)},A=(()=>{const B=new Map,P=[],$=function(){var d=(0,a.A)(function*(L){const I=yield ie(L,!0);return!!I&&I.open()});return function(I){return d.apply(this,arguments)}}(),k=function(){var d=(0,a.A)(function*(L){const I=yield void 0!==L?ie(L,!0):me();return void 0!==I&&I.close()});return function(I){return d.apply(this,arguments)}}(),M=function(){var d=(0,a.A)(function*(L){const I=yield ie(L,!0);return!!I&&I.toggle()});return function(I){return d.apply(this,arguments)}}(),O=function(){var d=(0,a.A)(function*(L,I){const V=yield ie(I);return V&&(V.disabled=!L),V});return function(I,V){return d.apply(this,arguments)}}(),U=function(){var d=(0,a.A)(function*(L,I){const V=yield ie(I);return V&&(V.swipeGesture=L),V});return function(I,V){return d.apply(this,arguments)}}(),j=function(){var d=(0,a.A)(function*(L){if(null!=L){const I=yield ie(L);return void 0!==I&&I.isOpen()}return void 0!==(yield me())});return function(I){return d.apply(this,arguments)}}(),W=function(){var d=(0,a.A)(function*(L){const I=yield ie(L);return!!I&&!I.disabled});return function(I){return d.apply(this,arguments)}}(),ie=function(){var d=(0,a.A)(function*(L,I=!1){if(yield r(),"start"===L||"end"===L){const q=P.filter(ve=>ve.side===L&&!ve.disabled);if(q.length>=1)return q.length>1&&I&&(0,R.p)(`menuController queried for a menu on the "${L}" side, but ${q.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,q.map(ve=>ve.el)),q[0].el;const oe=P.filter(ve=>ve.side===L);if(oe.length>=1)return oe.length>1&&I&&(0,R.p)(`menuController queried for a menu on the "${L}" side, but ${oe.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,oe.map(ve=>ve.el)),oe[0].el}else if(null!=L)return f(q=>q.menuId===L);return f(q=>!q.disabled)||(P.length>0?P[0].el:void 0)});return function(I){return d.apply(this,arguments)}}(),me=function(){var d=(0,a.A)(function*(){return yield r(),h()});return function(){return d.apply(this,arguments)}}(),te=function(){var d=(0,a.A)(function*(){return yield r(),v()});return function(){return d.apply(this,arguments)}}(),se=function(){var d=(0,a.A)(function*(){return yield r(),y()});return function(){return d.apply(this,arguments)}}(),m=(d,L)=>{B.set(d,L)},u=function(){var d=(0,a.A)(function*(L,I,V){if(y())return!1;if(I){const q=yield me();q&&L.el!==q&&(yield q.setOpen(!1,!1))}return L._setOpen(I,V)});return function(I,V,q){return d.apply(this,arguments)}}(),h=()=>f(d=>d._isOpen),v=()=>P.map(d=>d.el),y=()=>P.some(d=>d.isAnimating),f=d=>{const L=P.find(d);if(void 0!==L)return L.el},r=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(d=>new Promise(L=>(0,c.c)(d,L))));return m("reveal",g),m("push",_),m("overlay",T),null==S.d||S.d.addEventListener("ionBackButton",d=>{const L=h();L&&d.detail.register(p.MENU_BACK_BUTTON_PRIORITY,()=>L.close())}),{registerAnimation:m,get:ie,getMenus:te,getOpen:me,isEnabled:W,swipeGesture:U,isAnimating:se,isOpen:j,enable:O,toggle:M,close:k,open:$,_getOpenSync:h,_createAnimation:(d,L)=>{const I=B.get(d);if(!I)throw new Error("animation not registered");return I(L)},_register:d=>{P.indexOf(d)<0&&P.push(d)},_unregister:d=>{const L=P.indexOf(d);L>-1&&P.splice(L,1)},_setOpen:u}})()},4929:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S,b:()=>p,p:()=>a});const a=(R,...c)=>console.warn(`[Ionic Warning]: ${R}`,...c),S=(R,...c)=>console.error(`[Ionic Error]: ${R}`,...c),p=(R,...c)=>console.error(`<${R.tagName.toLowerCase()}> must be used inside ${c.join(" or ")}.`)},4363:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>F,H:()=>y,a:()=>Tn,b:()=>Fn,c:()=>ve,d:()=>tt,e:()=>Et,f:()=>ae,g:()=>Ae,h:()=>h,i:()=>it,j:()=>A,r:()=>Kn,w:()=>zt});var a=E(467);let R,c,D,C=!1,w=!1,T=!1,_=!1,g=!1;const F={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},A=ye=>{const We=new URL(ye,Zt.$resourcesUrl$);return We.origin!==Yt.location.origin?We.href:We.pathname},U="s-id",j="sty-id",W="c-id",me="slot-fb{display:contents}slot-fb[hidden]{display:none}",te="http://www.w3.org/1999/xlink",se={},u=ye=>"object"==(ye=typeof ye)||"function"===ye;function s(ye){var We,ct,xt;return null!==(xt=null===(ct=null===(We=ye.head)||void 0===We?void 0:We.querySelector('meta[name="csp-nonce"]'))||void 0===ct?void 0:ct.getAttribute("content"))&&void 0!==xt?xt:void 0}const h=(ye,We,...ct)=>{let xt=null,Xt=null,$t=null,an=!1,ln=!1;const fn=[],un=Mn=>{for(let _n=0;_nMn[_n]).join(" "))}}if("function"==typeof ye)return ye(null===We?{}:We,fn,r);const tn=v(ye,null);return tn.$attrs$=We,fn.length>0&&(tn.$children$=fn),tn.$key$=Xt,tn.$name$=$t,tn},v=(ye,We)=>({$flags$:0,$tag$:ye,$text$:We,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),y={},r={forEach:(ye,We)=>ye.map(d).forEach(We),map:(ye,We)=>ye.map(d).map(We).map(L)},d=ye=>({vattrs:ye.$attrs$,vchildren:ye.$children$,vkey:ye.$key$,vname:ye.$name$,vtag:ye.$tag$,vtext:ye.$text$}),L=ye=>{if("function"==typeof ye.vtag){const ct=Object.assign({},ye.vattrs);return ye.vkey&&(ct.key=ye.vkey),ye.vname&&(ct.name=ye.vname),h(ye.vtag,ct,...ye.vchildren||[])}const We=v(ye.vtag,ye.vtext);return We.$attrs$=ye.vattrs,We.$children$=ye.vchildren,We.$key$=ye.vkey,We.$name$=ye.vname,We},V=(ye,We,ct,xt,Xt,$t,an)=>{let ln,fn,un,tn;if(1===$t.nodeType){for(ln=$t.getAttribute(W),ln&&(fn=ln.split("."),(fn[0]===an||"0"===fn[0])&&(un={$flags$:0,$hostId$:fn[0],$nodeId$:fn[1],$depth$:fn[2],$index$:fn[3],$tag$:$t.tagName.toLowerCase(),$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},We.push(un),$t.removeAttribute(W),ye.$children$||(ye.$children$=[]),ye.$children$[un.$index$]=un,ye=un,xt&&"0"===un.$depth$&&(xt[un.$index$]=un.$elm$))),tn=$t.childNodes.length-1;tn>=0;tn--)V(ye,We,ct,xt,Xt,$t.childNodes[tn],an);if($t.shadowRoot)for(tn=$t.shadowRoot.childNodes.length-1;tn>=0;tn--)V(ye,We,ct,xt,Xt,$t.shadowRoot.childNodes[tn],an)}else if(8===$t.nodeType)fn=$t.nodeValue.split("."),(fn[1]===an||"0"===fn[1])&&(ln=fn[0],un={$flags$:0,$hostId$:fn[1],$nodeId$:fn[2],$depth$:fn[3],$index$:fn[4],$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===ln?(un.$elm$=$t.nextSibling,un.$elm$&&3===un.$elm$.nodeType&&(un.$text$=un.$elm$.textContent,We.push(un),$t.remove(),ye.$children$||(ye.$children$=[]),ye.$children$[un.$index$]=un,xt&&"0"===un.$depth$&&(xt[un.$index$]=un.$elm$))):un.$hostId$===an&&("s"===ln?(un.$tag$="slot",$t["s-sn"]=fn[5]?un.$name$=fn[5]:"",$t["s-sr"]=!0,xt&&(un.$elm$=qt.createElement(un.$tag$),un.$name$&&un.$elm$.setAttribute("name",un.$name$),$t.parentNode.insertBefore(un.$elm$,$t),$t.remove(),"0"===un.$depth$&&(xt[un.$index$]=un.$elm$)),ct.push(un),ye.$children$||(ye.$children$=[]),ye.$children$[un.$index$]=un):"r"===ln&&(xt?$t.remove():(Xt["s-cr"]=$t,$t["s-cn"]=!0))));else if(ye&&"style"===ye.$tag$){const Mn=v(null,$t.textContent);Mn.$elm$=$t,Mn.$index$="0",ye.$children$=[Mn]}},q=(ye,We)=>{if(1===ye.nodeType){let ct=0;for(;ctLt.push(ye),Ae=ye=>Ln(ye).$modeName$,ae=ye=>Ln(ye).$hostElement$,tt=(ye,We,ct)=>{const xt=ae(ye);return{emit:Xt=>Oe(xt,We,{bubbles:!!(4&ct),composed:!!(2&ct),cancelable:!!(1&ct),detail:Xt})}},Oe=(ye,We,ct)=>{const xt=Zt.ce(We,ct);return ye.dispatchEvent(xt),xt},pe=new WeakMap,Ie=(ye,We,ct)=>{let xt=wt.get(ye);Ke&&ct?(xt=xt||new CSSStyleSheet,"string"==typeof xt?xt=We:xt.replaceSync(We)):xt=We,wt.set(ye,xt)},Se=(ye,We,ct)=>{var xt;const Xt=ne(We,ct),$t=wt.get(Xt);if(ye=11===ye.nodeType?ye:qt,$t)if("string"==typeof $t){let ln,an=pe.get(ye=ye.head||ye);if(an||pe.set(ye,an=new Set),!an.has(Xt)){if(ye.host&&(ln=ye.querySelector(`[${j}="${Xt}"]`)))ln.innerHTML=$t;else{ln=qt.createElement("style"),ln.innerHTML=$t;const fn=null!==(xt=Zt.$nonce$)&&void 0!==xt?xt:s(qt);null!=fn&&ln.setAttribute("nonce",fn),ye.insertBefore(ln,ye.querySelector("link"))}4&We.$flags$&&(ln.innerHTML+=me),an&&an.add(Xt)}}else ye.adoptedStyleSheets.includes($t)||(ye.adoptedStyleSheets=[...ye.adoptedStyleSheets,$t]);return Xt},ne=(ye,We)=>"sc-"+(We&&32&ye.$flags$?ye.$tagName$+"-"+We:ye.$tagName$),G=ye=>ye.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ee=(ye,We,ct,xt,Xt,$t)=>{if(ct!==xt){let an=$n(ye,We),ln=We.toLowerCase();if("class"===We){const fn=ye.classList,un=Qe(ct),tn=Qe(xt);fn.remove(...un.filter(Mn=>Mn&&!tn.includes(Mn))),fn.add(...tn.filter(Mn=>Mn&&!un.includes(Mn)))}else if("style"===We){for(const fn in ct)(!xt||null==xt[fn])&&(fn.includes("-")?ye.style.removeProperty(fn):ye.style[fn]="");for(const fn in xt)(!ct||xt[fn]!==ct[fn])&&(fn.includes("-")?ye.style.setProperty(fn,xt[fn]):ye.style[fn]=xt[fn])}else if("key"!==We)if("ref"===We)xt&&xt(ye);else if(an||"o"!==We[0]||"n"!==We[1]){const fn=u(xt);if((an||fn&&null!==xt)&&!Xt)try{if(ye.tagName.includes("-"))ye[We]=xt;else{const tn=null==xt?"":xt;"list"===We?an=!1:(null==ct||ye[We]!=tn)&&(ye[We]=tn)}}catch{}let un=!1;ln!==(ln=ln.replace(/^xlink\:?/,""))&&(We=ln,un=!0),null==xt||!1===xt?(!1!==xt||""===ye.getAttribute(We))&&(un?ye.removeAttributeNS(te,We):ye.removeAttribute(We)):(!an||4&$t||Xt)&&!fn&&(xt=!0===xt?"":xt,un?ye.setAttributeNS(te,We,xt):ye.setAttribute(We,xt))}else if(We="-"===We[2]?We.slice(3):$n(Yt,ln)?ln.slice(2):ln[2]+We.slice(3),ct||xt){const fn=We.endsWith(rt);We=We.replace(nn,""),ct&&Zt.rel(ye,We,ct,fn),xt&&Zt.ael(ye,We,xt,fn)}}},vt=/\s/,Qe=ye=>ye?ye.split(vt):[],rt="Capture",nn=new RegExp(rt+"$"),gt=(ye,We,ct,xt)=>{const Xt=11===We.$elm$.nodeType&&We.$elm$.host?We.$elm$.host:We.$elm$,$t=ye&&ye.$attrs$||se,an=We.$attrs$||se;for(xt of ht(Object.keys($t)))xt in an||Ee(Xt,xt,$t[xt],void 0,ct,We.$flags$);for(xt of ht(Object.keys(an)))Ee(Xt,xt,$t[xt],an[xt],ct,We.$flags$)};function ht(ye){return ye.includes("ref")?[...ye.filter(We=>"ref"!==We),"ref"]:ye}const on=(ye,We,ct,xt)=>{var Xt;const $t=We.$children$[ct];let ln,fn,un,an=0;if(C||(T=!0,"slot"===$t.$tag$&&(R&&xt.classList.add(R+"-s"),$t.$flags$|=$t.$children$?2:1)),null!==$t.$text$)ln=$t.$elm$=qt.createTextNode($t.$text$);else if(1&$t.$flags$)ln=$t.$elm$=qt.createTextNode("");else{if(_||(_="svg"===$t.$tag$),ln=$t.$elm$=qt.createElementNS(_?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$t.$flags$?"slot-fb":$t.$tag$),_&&"foreignObject"===$t.$tag$&&(_=!1),gt(null,$t,_),(ye=>null!=ye)(R)&&ln["s-si"]!==R&&ln.classList.add(ln["s-si"]=R),$t.$children$)for(an=0;an<$t.$children$.length;++an)fn=on(ye,$t,an,ln),fn&&ln.appendChild(fn);"svg"===$t.$tag$?_=!1:"foreignObject"===ln.tagName&&(_=!0)}return ln["s-hn"]=D,3&$t.$flags$&&(ln["s-sr"]=!0,ln["s-cr"]=c,ln["s-sn"]=$t.$name$||"",ln["s-rf"]=null===(Xt=$t.$attrs$)||void 0===Xt?void 0:Xt.ref,un=ye&&ye.$children$&&ye.$children$[ct],un&&un.$tag$===$t.$tag$&&ye.$elm$&&Mt(ye.$elm$,!1)),ln},Mt=(ye,We)=>{Zt.$flags$|=1;const ct=Array.from(ye.childNodes);for(let xt=ct.length-1;xt>=0;xt--){const Xt=ct[xt];Xt["s-hn"]!==D&&Xt["s-ol"]&&(Dt(Xt).insertBefore(Xt,yn(Xt)),Xt["s-ol"].remove(),Xt["s-ol"]=void 0,Xt["s-sh"]=void 0,T=!0),We&&Mt(Xt,We)}Zt.$flags$&=-2},Pt=(ye,We,ct,xt,Xt,$t)=>{let ln,an=ye["s-cr"]&&ye["s-cr"].parentNode||ye;for(an.shadowRoot&&an.tagName===D&&(an=an.shadowRoot);Xt<=$t;++Xt)xt[Xt]&&(ln=on(null,ct,Xt,ye),ln&&(xt[Xt].$elm$=ln,an.insertBefore(ln,yn(We))))},En=(ye,We,ct)=>{for(let xt=We;xt<=ct;++xt){const Xt=ye[xt];if(Xt){const $t=Xt.$elm$;kt(Xt),$t&&(w=!0,$t["s-ol"]?$t["s-ol"].remove():Mt($t,!0),$t.remove())}}},Ft=(ye,We,ct=!1)=>ye.$tag$===We.$tag$&&("slot"===ye.$tag$?ye.$name$===We.$name$:!!ct||ye.$key$===We.$key$),yn=ye=>ye&&ye["s-ol"]||ye,Dt=ye=>(ye["s-ol"]?ye["s-ol"]:ye).parentNode,_t=(ye,We,ct=!1)=>{const xt=We.$elm$=ye.$elm$,Xt=ye.$children$,$t=We.$children$,an=We.$tag$,ln=We.$text$;let fn;null===ln?(_="svg"===an||"foreignObject"!==an&&_,"slot"===an&&!C||gt(ye,We,_),null!==Xt&&null!==$t?((ye,We,ct,xt,Xt=!1)=>{let X,Le,$t=0,an=0,ln=0,fn=0,un=We.length-1,tn=We[0],Mn=We[un],_n=xt.length-1,On=xt[0],pr=xt[_n];for(;$t<=un&&an<=_n;)if(null==tn)tn=We[++$t];else if(null==Mn)Mn=We[--un];else if(null==On)On=xt[++an];else if(null==pr)pr=xt[--_n];else if(Ft(tn,On,Xt))_t(tn,On,Xt),tn=We[++$t],On=xt[++an];else if(Ft(Mn,pr,Xt))_t(Mn,pr,Xt),Mn=We[--un],pr=xt[--_n];else if(Ft(tn,pr,Xt))("slot"===tn.$tag$||"slot"===pr.$tag$)&&Mt(tn.$elm$.parentNode,!1),_t(tn,pr,Xt),ye.insertBefore(tn.$elm$,Mn.$elm$.nextSibling),tn=We[++$t],pr=xt[--_n];else if(Ft(Mn,On,Xt))("slot"===tn.$tag$||"slot"===pr.$tag$)&&Mt(Mn.$elm$.parentNode,!1),_t(Mn,On,Xt),ye.insertBefore(Mn.$elm$,tn.$elm$),Mn=We[--un],On=xt[++an];else{for(ln=-1,fn=$t;fn<=un;++fn)if(We[fn]&&null!==We[fn].$key$&&We[fn].$key$===On.$key$){ln=fn;break}ln>=0?(Le=We[ln],Le.$tag$!==On.$tag$?X=on(We&&We[an],ct,ln,ye):(_t(Le,On,Xt),We[ln]=void 0,X=Le.$elm$),On=xt[++an]):(X=on(We&&We[an],ct,an,ye),On=xt[++an]),X&&Dt(tn.$elm$).insertBefore(X,yn(tn.$elm$))}$t>un?Pt(ye,null==xt[_n+1]?null:xt[_n+1].$elm$,ct,xt,an,_n):an>_n&&En(We,$t,un)})(xt,Xt,We,$t,ct):null!==$t?(null!==ye.$text$&&(xt.textContent=""),Pt(xt,null,We,$t,0,$t.length-1)):null!==Xt&&En(Xt,0,Xt.length-1),_&&"svg"===an&&(_=!1)):(fn=xt["s-cr"])?fn.parentNode.textContent=ln:ye.$text$!==ln&&(xt.data=ln)},Cn=ye=>{const We=ye.childNodes;for(const ct of We)if(1===ct.nodeType){if(ct["s-sr"]){const xt=ct["s-sn"];ct.hidden=!1;for(const Xt of We)if(Xt!==ct)if(Xt["s-hn"]!==ct["s-hn"]||""!==xt){if(1===Xt.nodeType&&(xt===Xt.getAttribute("slot")||xt===Xt["s-sn"])){ct.hidden=!0;break}}else if(1===Xt.nodeType||3===Xt.nodeType&&""!==Xt.textContent.trim()){ct.hidden=!0;break}}Cn(ct)}},St=[],dt=ye=>{let We,ct,xt;for(const Xt of ye.childNodes){if(Xt["s-sr"]&&(We=Xt["s-cr"])&&We.parentNode){ct=We.parentNode.childNodes;const $t=Xt["s-sn"];for(xt=ct.length-1;xt>=0;xt--)if(We=ct[xt],!We["s-cn"]&&!We["s-nr"]&&We["s-hn"]!==Xt["s-hn"])if(Sn(We,$t)){let an=St.find(ln=>ln.$nodeToRelocate$===We);w=!0,We["s-sn"]=We["s-sn"]||$t,an?(an.$nodeToRelocate$["s-sh"]=Xt["s-hn"],an.$slotRefNode$=Xt):(We["s-sh"]=Xt["s-hn"],St.push({$slotRefNode$:Xt,$nodeToRelocate$:We})),We["s-sr"]&&St.map(ln=>{Sn(ln.$nodeToRelocate$,We["s-sn"])&&(an=St.find(fn=>fn.$nodeToRelocate$===We),an&&!ln.$slotRefNode$&&(ln.$slotRefNode$=an.$slotRefNode$))})}else St.some(an=>an.$nodeToRelocate$===We)||St.push({$nodeToRelocate$:We})}1===Xt.nodeType&&dt(Xt)}},Sn=(ye,We)=>1===ye.nodeType?null===ye.getAttribute("slot")&&""===We||ye.getAttribute("slot")===We:ye["s-sn"]===We||""===We,kt=ye=>{ye.$attrs$&&ye.$attrs$.ref&&ye.$attrs$.ref(null),ye.$children$&&ye.$children$.map(kt)},Un=(ye,We)=>{We&&!ye.$onRenderResolve$&&We["s-p"]&&We["s-p"].push(new Promise(ct=>ye.$onRenderResolve$=ct))},Ut=(ye,We)=>{if(ye.$flags$|=16,!(4&ye.$flags$))return Un(ye,ye.$ancestorComponent$),zt(()=>Ve(ye,We));ye.$flags$|=512},Ve=(ye,We)=>{const xt=ye.$lazyInstance$;let Xt;return We&&(ye.$flags$|=256,ye.$queuedListeners$&&(ye.$queuedListeners$.map(([$t,an])=>Be(xt,$t,an)),ye.$queuedListeners$=void 0),Xt=Be(xt,"componentWillLoad")),Xt=_e(Xt,()=>Be(xt,"componentWillRender")),_e(Xt,()=>Me(ye,xt,We))},_e=(ye,We)=>De(ye)?ye.then(We):We(),De=ye=>ye instanceof Promise||ye&&ye.then&&"function"==typeof ye.then,Me=function(){var ye=(0,a.A)(function*(We,ct,xt){var Xt;const $t=We.$hostElement$,ln=$t["s-rc"];xt&&(ye=>{const We=ye.$cmpMeta$,ct=ye.$hostElement$,xt=We.$flags$,$t=Se(ct.shadowRoot?ct.shadowRoot:ct.getRootNode(),We,ye.$modeName$);10&xt&&(ct["s-sc"]=$t,ct.classList.add($t+"-h"),2&xt&&ct.classList.add($t+"-s"))})(We);Ze(We,ct,$t,xt),ln&&(ln.map(un=>un()),$t["s-rc"]=void 0);{const un=null!==(Xt=$t["s-p"])&&void 0!==Xt?Xt:[],tn=()=>$e(We);0===un.length?tn():(Promise.all(un).then(tn),We.$flags$|=4,un.length=0)}});return function(ct,xt,Xt){return ye.apply(this,arguments)}}(),Ze=(ye,We,ct,xt)=>{try{We=We.render&&We.render(),ye.$flags$&=-17,ye.$flags$|=2,((ye,We,ct=!1)=>{var xt,Xt,$t,an;const ln=ye.$hostElement$,fn=ye.$cmpMeta$,un=ye.$vnode$||v(null,null),tn=(ye=>ye&&ye.$tag$===y)(We)?We:h(null,null,We);if(D=ln.tagName,fn.$attrsToReflect$&&(tn.$attrs$=tn.$attrs$||{},fn.$attrsToReflect$.map(([Mn,_n])=>tn.$attrs$[_n]=ln[Mn])),ct&&tn.$attrs$)for(const Mn of Object.keys(tn.$attrs$))ln.hasAttribute(Mn)&&!["key","ref","style","class"].includes(Mn)&&(tn.$attrs$[Mn]=ln[Mn]);if(tn.$tag$=null,tn.$flags$|=4,ye.$vnode$=tn,tn.$elm$=un.$elm$=ln.shadowRoot||ln,R=ln["s-sc"],C=!!(1&fn.$flags$),c=ln["s-cr"],w=!1,_t(un,tn,ct),Zt.$flags$|=1,T){dt(tn.$elm$);for(const Mn of St){const _n=Mn.$nodeToRelocate$;if(!_n["s-ol"]){const On=qt.createTextNode("");On["s-nr"]=_n,_n.parentNode.insertBefore(_n["s-ol"]=On,_n)}}for(const Mn of St){const _n=Mn.$nodeToRelocate$,On=Mn.$slotRefNode$;if(On){const pr=On.parentNode;let X=On.nextSibling;{let Le=null===(xt=_n["s-ol"])||void 0===xt?void 0:xt.previousSibling;for(;Le;){let le=null!==(Xt=Le["s-nr"])&&void 0!==Xt?Xt:null;if(le&&le["s-sn"]===_n["s-sn"]&&pr===le.parentNode){for(le=le.nextSibling;le===_n||null!=le&&le["s-sr"];)le=null==le?void 0:le.nextSibling;if(!le||!le["s-nr"]){X=le;break}}Le=Le.previousSibling}}(!X&&pr!==_n.parentNode||_n.nextSibling!==X)&&_n!==X&&(!_n["s-hn"]&&_n["s-ol"]&&(_n["s-hn"]=_n["s-ol"].parentNode.nodeName),pr.insertBefore(_n,X),1===_n.nodeType&&(_n.hidden=null!==($t=_n["s-ih"])&&void 0!==$t&&$t)),_n&&"function"==typeof On["s-rf"]&&On["s-rf"](_n)}else 1===_n.nodeType&&(ct&&(_n["s-ih"]=null!==(an=_n.hidden)&&void 0!==an&&an),_n.hidden=!0)}}w&&Cn(tn.$elm$),Zt.$flags$&=-2,St.length=0,c=void 0})(ye,We,xt)}catch(Xt){je(Xt,ye.$hostElement$)}return null},$e=ye=>{const ct=ye.$hostElement$,Xt=ye.$lazyInstance$,$t=ye.$ancestorComponent$;Be(Xt,"componentDidRender"),64&ye.$flags$?Be(Xt,"componentDidUpdate"):(ye.$flags$|=64,Ue(ct),Be(Xt,"componentDidLoad"),ye.$onReadyResolve$(ct),$t||Pe()),ye.$onInstanceResolve$(ct),ye.$onRenderResolve$&&(ye.$onRenderResolve$(),ye.$onRenderResolve$=void 0),512&ye.$flags$&&hn(()=>Ut(ye,!1)),ye.$flags$&=-517},it=ye=>{{const We=Ln(ye),ct=We.$hostElement$.isConnected;return ct&&2==(18&We.$flags$)&&Ut(We,!1),ct}},Pe=ye=>{Ue(qt.documentElement),hn(()=>Oe(Yt,"appload",{detail:{namespace:"ionic"}}))},Be=(ye,We,ct)=>{if(ye&&ye[We])try{return ye[We](ct)}catch(xt){je(xt)}},Ue=ye=>ye.classList.add("hydrated"),at=(ye,We,ct)=>{var xt;const Xt=ye.prototype;if(We.$members$){ye.watchers&&(We.$watchers$=ye.watchers);const $t=Object.entries(We.$members$);if($t.map(([an,[ln]])=>{31&ln||2&ct&&32&ln?Object.defineProperty(Xt,an,{get(){return((ye,We)=>Ln(this).$instanceValues$.get(We))(0,an)},set(fn){((ye,We,ct,xt)=>{const Xt=Ln(ye),$t=Xt.$hostElement$,an=Xt.$instanceValues$.get(We),ln=Xt.$flags$,fn=Xt.$lazyInstance$;ct=((ye,We)=>null==ye||u(ye)?ye:4&We?"false"!==ye&&(""===ye||!!ye):2&We?parseFloat(ye):1&We?String(ye):ye)(ct,xt.$members$[We][0]);const un=Number.isNaN(an)&&Number.isNaN(ct);if((!(8&ln)||void 0===an)&&ct!==an&&!un&&(Xt.$instanceValues$.set(We,ct),fn)){if(xt.$watchers$&&128&ln){const Mn=xt.$watchers$[We];Mn&&Mn.map(_n=>{try{fn[_n](ct,an,We)}catch(On){je(On,$t)}})}2==(18&ln)&&Ut(Xt,!1)}})(this,an,fn,We)},configurable:!0,enumerable:!0}):1&ct&&64&ln&&Object.defineProperty(Xt,an,{value(...fn){var un;const tn=Ln(this);return null===(un=null==tn?void 0:tn.$onInstancePromise$)||void 0===un?void 0:un.then(()=>{var Mn;return null===(Mn=tn.$lazyInstance$)||void 0===Mn?void 0:Mn[an](...fn)})}})}),1&ct){const an=new Map;Xt.attributeChangedCallback=function(ln,fn,un){Zt.jmp(()=>{var tn;const Mn=an.get(ln);if(this.hasOwnProperty(Mn))un=this[Mn],delete this[Mn];else{if(Xt.hasOwnProperty(Mn)&&"number"==typeof this[Mn]&&this[Mn]==un)return;if(null==Mn){const _n=Ln(this),On=null==_n?void 0:_n.$flags$;if(On&&!(8&On)&&128&On&&un!==fn){const pr=_n.$lazyInstance$,X=null===(tn=We.$watchers$)||void 0===tn?void 0:tn[ln];null==X||X.forEach(Le=>{null!=pr[Le]&&pr[Le].call(pr,un,fn,ln)})}return}}this[Mn]=(null!==un||"boolean"!=typeof this[Mn])&&un})},ye.observedAttributes=Array.from(new Set([...Object.keys(null!==(xt=We.$watchers$)&&void 0!==xt?xt:{}),...$t.filter(([ln,fn])=>15&fn[0]).map(([ln,fn])=>{var un;const tn=fn[1]||ln;return an.set(tn,ln),512&fn[0]&&(null===(un=We.$attrsToReflect$)||void 0===un||un.push([ln,tn])),tn})]))}}return ye},Jt=function(){var ye=(0,a.A)(function*(We,ct,xt,Xt){let $t;if(!(32&ct.$flags$)){if(ct.$flags$|=32,xt.$lazyBundleId$){if($t=Tt(xt),$t.then){const tn=()=>{};$t=yield $t,tn()}$t.isProxied||(xt.$watchers$=$t.watchers,at($t,xt,2),$t.isProxied=!0);const un=()=>{};ct.$flags$|=8;try{new $t(ct)}catch(tn){je(tn)}ct.$flags$&=-9,ct.$flags$|=128,un(),yt(ct.$lazyInstance$)}else $t=We.constructor,customElements.whenDefined(xt.$tagName$).then(()=>ct.$flags$|=128);if($t.style){let un=$t.style;"string"!=typeof un&&(un=un[ct.$modeName$=(ye=>Lt.map(We=>We(ye)).find(We=>!!We))(We)]);const tn=ne(xt,ct.$modeName$);if(!wt.has(tn)){const Mn=()=>{};Ie(tn,un,!!(1&xt.$flags$)),Mn()}}}const an=ct.$ancestorComponent$,ln=()=>Ut(ct,!0);an&&an["s-rc"]?an["s-rc"].push(ln):ln()});return function(ct,xt,Xt,$t){return ye.apply(this,arguments)}}(),yt=ye=>{Be(ye,"connectedCallback")},Wt=ye=>{const We=ye["s-cr"]=qt.createComment("");We["s-cn"]=!0,ye.insertBefore(We,ye.firstChild)},Ot=ye=>{Be(ye,"disconnectedCallback")},Rt=function(){var ye=(0,a.A)(function*(We){if(!(1&Zt.$flags$)){const ct=Ln(We);ct.$rmListeners$&&(ct.$rmListeners$.map(xt=>xt()),ct.$rmListeners$=void 0),null!=ct&&ct.$lazyInstance$?Ot(ct.$lazyInstance$):null!=ct&&ct.$onReadyPromise$&&ct.$onReadyPromise$.then(()=>Ot(ct.$lazyInstance$))}});return function(ct){return ye.apply(this,arguments)}}(),Fn=(ye,We={})=>{var ct;const Xt=[],$t=We.exclude||[],an=Yt.customElements,ln=qt.head,fn=ln.querySelector("meta[charset]"),un=qt.createElement("style"),tn=[],Mn=qt.querySelectorAll(`[${j}]`);let _n,On=!0,pr=0;for(Object.assign(Zt,We),Zt.$resourcesUrl$=new URL(We.resourcesUrl||"./",qt.baseURI).href,Zt.$flags$|=2;pr{Le[1].map(le=>{var Ye;const Bt={$flags$:le[0],$tagName$:le[1],$members$:le[2],$listeners$:le[3]};4&Bt.$flags$&&(X=!0),Bt.$members$=le[2],Bt.$listeners$=le[3],Bt.$attrsToReflect$=[],Bt.$watchers$=null!==(Ye=le[4])&&void 0!==Ye?Ye:{};const Nn=Bt.$tagName$,dr=class extends HTMLElement{constructor(_r){super(_r),Gn(_r=this,Bt),1&Bt.$flags$&&_r.attachShadow({mode:"open",delegatesFocus:!!(16&Bt.$flags$)})}connectedCallback(){_n&&(clearTimeout(_n),_n=null),On?tn.push(this):Zt.jmp(()=>(ye=>{if(!(1&Zt.$flags$)){const We=Ln(ye),ct=We.$cmpMeta$,xt=()=>{};if(1&We.$flags$)An(ye,We,ct.$listeners$),null!=We&&We.$lazyInstance$?yt(We.$lazyInstance$):null!=We&&We.$onReadyPromise$&&We.$onReadyPromise$.then(()=>yt(We.$lazyInstance$));else{let Xt;if(We.$flags$|=1,Xt=ye.getAttribute(U),Xt){if(1&ct.$flags$){const $t=Se(ye.shadowRoot,ct,ye.getAttribute("s-mode"));ye.classList.remove($t+"-h",$t+"-s")}((ye,We,ct,xt)=>{const $t=ye.shadowRoot,an=[],fn=$t?[]:null,un=xt.$vnode$=v(We,null);Zt.$orgLocNodes$||q(qt.body,Zt.$orgLocNodes$=new Map),ye[U]=ct,ye.removeAttribute(U),V(un,an,[],fn,ye,ye,ct),an.map(tn=>{const Mn=tn.$hostId$+"."+tn.$nodeId$,_n=Zt.$orgLocNodes$.get(Mn),On=tn.$elm$;_n&&Dn&&""===_n["s-en"]&&_n.parentNode.insertBefore(On,_n.nextSibling),$t||(On["s-hn"]=We,_n&&(On["s-ol"]=_n,On["s-ol"]["s-nr"]=On)),Zt.$orgLocNodes$.delete(Mn)}),$t&&fn.map(tn=>{tn&&$t.appendChild(tn)})})(ye,ct.$tagName$,Xt,We)}Xt||12&ct.$flags$&&Wt(ye);{let $t=ye;for(;$t=$t.parentNode||$t.host;)if(1===$t.nodeType&&$t.hasAttribute("s-id")&&$t["s-p"]||$t["s-p"]){Un(We,We.$ancestorComponent$=$t);break}}ct.$members$&&Object.entries(ct.$members$).map(([$t,[an]])=>{if(31&an&&ye.hasOwnProperty($t)){const ln=ye[$t];delete ye[$t],ye[$t]=ln}}),Jt(ye,We,ct)}xt()}})(this))}disconnectedCallback(){Zt.jmp(()=>Rt(this))}componentOnReady(){return Ln(this).$onReadyPromise$}};Bt.$lazyBundleId$=Le[0],!$t.includes(Nn)&&!an.get(Nn)&&(Xt.push(Nn),an.define(Nn,at(dr,Bt,1)))})}),Xt.length>0&&(X&&(un.textContent+=me),un.textContent+=Xt+"{visibility:hidden}.hydrated{visibility:inherit}",un.innerHTML.length)){un.setAttribute("data-styles","");const Le=null!==(ct=Zt.$nonce$)&&void 0!==ct?ct:s(qt);null!=Le&&un.setAttribute("nonce",Le),ln.insertBefore(un,fn?fn.nextSibling:ln.firstChild)}On=!1,tn.length?tn.map(Le=>Le.connectedCallback()):Zt.jmp(()=>_n=setTimeout(Pe,30))},An=(ye,We,ct,xt)=>{ct&&ct.map(([Xt,$t,an])=>{const ln=bn(ye,Xt),fn=wn(We,an),un=Wn(Xt);Zt.ael(ln,$t,fn,un),(We.$rmListeners$=We.$rmListeners$||[]).push(()=>Zt.rel(ln,$t,fn,un))})},wn=(ye,We)=>ct=>{try{256&ye.$flags$?ye.$lazyInstance$[We](ct):(ye.$queuedListeners$=ye.$queuedListeners$||[]).push([We,ct])}catch(xt){je(xt)}},bn=(ye,We)=>4&We?qt:8&We?Yt:16&We?qt.body:ye,Wn=ye=>Xn?{passive:!!(1&ye),capture:!!(2&ye)}:!!(2&ye),Pn=new WeakMap,Ln=ye=>Pn.get(ye),Kn=(ye,We)=>Pn.set(We.$lazyInstance$=ye,We),Gn=(ye,We)=>{const ct={$flags$:0,$hostElement$:ye,$cmpMeta$:We,$instanceValues$:new Map};return ct.$onInstancePromise$=new Promise(xt=>ct.$onInstanceResolve$=xt),ct.$onReadyPromise$=new Promise(xt=>ct.$onReadyResolve$=xt),ye["s-p"]=[],ye["s-rc"]=[],An(ye,ct,We.$listeners$),Pn.set(ye,ct)},$n=(ye,We)=>We in ye,je=(ye,We)=>(0,console.error)(ye,We),lt=new Map,Tt=(ye,We,ct)=>{const xt=ye.$tagName$.replace(/-/g,"_"),Xt=ye.$lazyBundleId$,$t=lt.get(Xt);return $t?$t[xt]:E(8996)(`./${Xt}.entry.js`).then(an=>(lt.set(Xt,an),an[xt]),je)},wt=new Map,Lt=[],Yt=typeof window<"u"?window:{},qt=Yt.document||{head:{}},Zt={$flags$:0,$resourcesUrl$:"",jmp:ye=>ye(),raf:ye=>requestAnimationFrame(ye),ael:(ye,We,ct,xt)=>ye.addEventListener(We,ct,xt),rel:(ye,We,ct,xt)=>ye.removeEventListener(We,ct,xt),ce:(ye,We)=>new CustomEvent(ye,We)},Tn=ye=>{Object.assign(Zt,ye)},Dn=!0,Xn=(()=>{let ye=!1;try{qt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){ye=!0}}))}catch{}return ye})(),Ke=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),et=[],Te=[],qe=(ye,We)=>ct=>{ye.push(ct),g||(g=!0,We&&4&Zt.$flags$?hn(Kt):Zt.raf(Kt))},bt=ye=>{for(let We=0;We{bt(et),bt(Te),(g=et.length>0)&&Zt.raf(Kt)},hn=ye=>Promise.resolve(void 0).then(ye),Et=qe(et,!1),zt=qe(Te,!0)},8476:(Ce,ee,E)=>{"use strict";E.d(ee,{d:()=>S,w:()=>a});const a=typeof window<"u"?window:void 0,S=typeof document<"u"?document:void 0},7555:(Ce,ee,E)=>{"use strict";E.d(ee,{b:()=>D,c:()=>C,d:()=>w,e:()=>te,g:()=>n,l:()=>ie,s:()=>se,t:()=>g,w:()=>me});var a=E(467),S=E(4363),p=E(5638);const D="ionViewWillLeave",C="ionViewDidLeave",w="ionViewWillUnload",g=o=>new Promise((u,s)=>{(0,S.w)(()=>{F(o),A(o).then(h=>{h.animation&&h.animation.destroy(),B(o),u(h)},h=>{B(o),s(h)})})}),F=o=>{const u=o.enteringEl,s=o.leavingEl;m(u,s,o.direction),o.showGoBack?u.classList.add("can-go-back"):u.classList.remove("can-go-back"),se(u,!1),u.style.setProperty("pointer-events","none"),s&&(se(s,!1),s.style.setProperty("pointer-events","none"))},A=function(){var o=(0,a.A)(function*(u){const s=yield P(u);return s&&S.B.isBrowser?$(s,u):k(u)});return function(s){return o.apply(this,arguments)}}(),B=o=>{const u=o.enteringEl,s=o.leavingEl;u.classList.remove("ion-page-invisible"),u.style.removeProperty("pointer-events"),void 0!==s&&(s.classList.remove("ion-page-invisible"),s.style.removeProperty("pointer-events"))},P=function(){var o=(0,a.A)(function*(u){return u.leavingEl&&u.animated&&0!==u.duration?u.animationBuilder?u.animationBuilder:"ios"===u.mode?(yield Promise.resolve().then(E.bind(E,4569))).iosTransitionAnimation:(yield Promise.resolve().then(E.bind(E,2942))).mdTransitionAnimation:void 0});return function(s){return o.apply(this,arguments)}}(),$=function(){var o=(0,a.A)(function*(u,s){yield M(s,!0);const h=u(s.baseEl,s);j(s.enteringEl,s.leavingEl);const v=yield U(h,s);return s.progressCallback&&s.progressCallback(void 0),v&&W(s.enteringEl,s.leavingEl),{hasCompleted:v,animation:h}});return function(s,h){return o.apply(this,arguments)}}(),k=function(){var o=(0,a.A)(function*(u){const s=u.enteringEl,h=u.leavingEl;return yield M(u,!1),j(s,h),W(s,h),{hasCompleted:!0}});return function(s){return o.apply(this,arguments)}}(),M=function(){var o=(0,a.A)(function*(u,s){(void 0!==u.deepWait?u.deepWait:s)&&(yield Promise.all([te(u.enteringEl),te(u.leavingEl)])),yield O(u.viewIsReady,u.enteringEl)});return function(s,h){return o.apply(this,arguments)}}(),O=function(){var o=(0,a.A)(function*(u,s){u&&(yield u(s))});return function(s,h){return o.apply(this,arguments)}}(),U=(o,u)=>{const s=u.progressCallback,h=new Promise(v=>{o.onFinish(y=>v(1===y))});return s?(o.progressStart(!0),s(o)):o.play(),h},j=(o,u)=>{ie(u,D),ie(o,"ionViewWillEnter")},W=(o,u)=>{ie(o,"ionViewDidEnter"),ie(u,C)},ie=(o,u)=>{if(o){const s=new CustomEvent(u,{bubbles:!1,cancelable:!1});o.dispatchEvent(s)}},me=()=>new Promise(o=>(0,p.r)(()=>(0,p.r)(()=>o()))),te=function(){var o=(0,a.A)(function*(u){const s=u;if(s){if(null!=s.componentOnReady){if(null!=(yield s.componentOnReady()))return}else if(null!=s.__registerHost)return void(yield new Promise(v=>(0,p.r)(v)));yield Promise.all(Array.from(s.children).map(te))}});return function(s){return o.apply(this,arguments)}}(),se=(o,u)=>{u?(o.setAttribute("aria-hidden","true"),o.classList.add("ion-page-hidden")):(o.hidden=!1,o.removeAttribute("aria-hidden"),o.classList.remove("ion-page-hidden"))},m=(o,u,s)=>{void 0!==o&&(o.style.zIndex="back"===s?"99":"101"),void 0!==u&&(u.style.zIndex="100")},n=o=>o.classList.contains("ion-page")?o:o.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||o},611:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>g,b:()=>v,c:()=>p,i:()=>y});var a=E(4363);class S{constructor(){this.m=new Map}reset(r){this.m=new Map(Object.entries(r))}get(r,d){const L=this.m.get(r);return void 0!==L?L:d}getBoolean(r,d=!1){const L=this.m.get(r);return void 0===L?d:"string"==typeof L?"true"===L:!!L}getNumber(r,d){const L=parseFloat(this.m.get(r));return isNaN(L)?void 0!==d?d:NaN:L}set(r,d){this.m.set(r,d)}}const p=new S,w="ionic:",T="ionic-persist-config",g=(f,r)=>("string"==typeof f&&(r=f,f=void 0),(f=>F(f))(f).includes(r)),F=(f=window)=>{if(typeof f>"u")return[];f.Ionic=f.Ionic||{};let r=f.Ionic.platforms;return null==r&&(r=f.Ionic.platforms=A(f),r.forEach(d=>f.document.documentElement.classList.add(`plt-${d}`))),r},A=f=>{const r=p.get("platform");return Object.keys(s).filter(d=>{const L=null==r?void 0:r[d];return"function"==typeof L?L(f):s[d](f)})},P=f=>!!(o(f,/iPad/i)||o(f,/Macintosh/i)&&W(f)),M=f=>o(f,/android|sink/i),W=f=>u(f,"(any-pointer:coarse)"),me=f=>te(f)||se(f),te=f=>!!(f.cordova||f.phonegap||f.PhoneGap),se=f=>{const r=f.Capacitor;return!(null==r||!r.isNative)},o=(f,r)=>r.test(f.navigator.userAgent),u=(f,r)=>{var d;return null===(d=f.matchMedia)||void 0===d?void 0:d.call(f,r).matches},s={ipad:P,iphone:f=>o(f,/iPhone/i),ios:f=>o(f,/iPhone|iPod/i)||P(f),android:M,phablet:f=>{const r=f.innerWidth,d=f.innerHeight,L=Math.min(r,d),I=Math.max(r,d);return L>390&&L<520&&I>620&&I<800},tablet:f=>{const r=f.innerWidth,d=f.innerHeight,L=Math.min(r,d),I=Math.max(r,d);return P(f)||(f=>M(f)&&!o(f,/mobile/i))(f)||L>460&&L<820&&I>780&&I<1400},cordova:te,capacitor:se,electron:f=>o(f,/electron/i),pwa:f=>{var r;return!!(null!==(r=f.matchMedia)&&void 0!==r&&r.call(f,"(display-mode: standalone)").matches||f.navigator.standalone)},mobile:W,mobileweb:f=>W(f)&&!me(f),desktop:f=>!W(f),hybrid:me};let h;const v=f=>f&&(0,a.g)(f)||h,y=(f={})=>{if(typeof window>"u")return;const r=window.document,d=window,L=d.Ionic=d.Ionic||{},I={};f._ael&&(I.ael=f._ael),f._rel&&(I.rel=f._rel),f._ce&&(I.ce=f._ce),(0,a.a)(I);const V=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(f=>{try{const r=f.sessionStorage.getItem(T);return null!==r?JSON.parse(r):{}}catch{return{}}})(d)),{persistConfig:!1}),L.config),(f=>{const r={};return f.location.search.slice(1).split("&").map(d=>d.split("=")).map(([d,L])=>[decodeURIComponent(d),decodeURIComponent(L)]).filter(([d])=>((f,r)=>f.substr(0,r.length)===r)(d,w)).map(([d,L])=>[d.slice(6),L]).forEach(([d,L])=>{r[d]=L}),r})(d)),f);p.reset(V),p.getBoolean("persistConfig")&&((f,r)=>{try{f.sessionStorage.setItem(T,JSON.stringify(r))}catch{return}})(d,V),F(d),L.config=p,L.mode=h=p.get("mode",r.documentElement.getAttribute("mode")||(g(d,"ios")?"ios":"md")),p.set("mode",h),r.documentElement.setAttribute("mode",h),r.documentElement.classList.add(h),p.getBoolean("_testing")&&p.set("animated",!1);const q=ve=>{var Ae;return null===(Ae=ve.tagName)||void 0===Ae?void 0:Ae.startsWith("ION-")},oe=ve=>["ios","md"].includes(ve);(0,a.c)(ve=>{for(;ve;){const Ae=ve.mode||ve.getAttribute("mode");if(Ae){if(oe(Ae))return Ae;q(ve)&&console.warn('Invalid ionic mode: "'+Ae+'", expected: "ios" or "md"')}ve=ve.parentElement}return h})}},4569:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{iosTransitionAnimation:()=>A,shadow:()=>C});var a=E(3503),S=E(7555);E(8476),E(4363);const D=P=>document.querySelector(`${P}.ion-cloned-element`),C=P=>P.shadowRoot||P,w=P=>{const $="ION-TABS"===P.tagName?P:P.querySelector("ion-tabs"),k="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=$){const M=$.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=M?M.querySelector(k):null}return P.querySelector(k)},T=(P,$)=>{const k="ION-TABS"===P.tagName?P:P.querySelector("ion-tabs");let M=[];if(null!=k){const O=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=O&&(M=O.querySelectorAll("ion-buttons"))}else M=P.querySelectorAll("ion-buttons");for(const O of M){const U=O.closest("ion-header"),j=U&&!U.classList.contains("header-collapse-condense-inactive"),W=O.querySelector("ion-back-button"),ie=O.classList.contains("buttons-collapse");if(null!==W&&("start"===O.slot||""===O.slot)&&(ie&&j&&$||!ie))return W}return null},g=(P,$,k,M,O,U,j,W,ie)=>{var me,te;const se=$?`calc(100% - ${O.right+4}px)`:O.left-4+"px",m=$?"right":"left",n=$?"left":"right",o=$?"right":"left",u=(null===(me=U.textContent)||void 0===me?void 0:me.trim())===(null===(te=W.textContent)||void 0===te?void 0:te.trim()),h=(ie.height-B)/j.height,v=u?`scale(${ie.width/j.width}, ${h})`:`scale(${h})`,y="scale(1)",r=C(M).querySelector("ion-icon").getBoundingClientRect(),d=$?r.width/2-(r.right-O.right)+"px":O.left-r.width/2+"px",L=$?`-${window.innerWidth-O.right}px`:`${O.left}px`,I=`${ie.top}px`,V=`${O.top}px`,ve=k?[{offset:0,transform:`translate3d(${L}, ${V}, 0)`},{offset:1,transform:`translate3d(${d}, ${I}, 0)`}]:[{offset:0,transform:`translate3d(${d}, ${I}, 0)`},{offset:1,transform:`translate3d(${L}, ${V}, 0)`}],ae=k?[{offset:0,opacity:1,transform:y},{offset:1,opacity:0,transform:v}]:[{offset:0,opacity:0,transform:v},{offset:1,opacity:1,transform:y}],pe=k?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],Ie=(0,a.c)(),Se=(0,a.c)(),re=(0,a.c)(),ne=D("ion-back-button"),G=C(ne).querySelector(".button-text"),Ee=C(ne).querySelector("ion-icon");ne.text=M.text,ne.mode=M.mode,ne.icon=M.icon,ne.color=M.color,ne.disabled=M.disabled,ne.style.setProperty("display","block"),ne.style.setProperty("position","fixed"),Se.addElement(Ee),Ie.addElement(G),re.addElement(ne),re.beforeStyles({position:"absolute",top:"0px",[o]:"0px"}).keyframes(ve),Ie.beforeStyles({"transform-origin":`${m} top`}).beforeAddWrite(()=>{M.style.setProperty("display","none"),ne.style.setProperty(m,se)}).afterAddWrite(()=>{M.style.setProperty("display",""),ne.style.setProperty("display","none"),ne.style.removeProperty(m)}).keyframes(ae),Se.beforeStyles({"transform-origin":`${n} center`}).keyframes(pe),P.addAnimation([Ie,Se,re])},F=(P,$,k,M,O,U,j,W)=>{var ie,me;const te=$?"right":"left",se=$?`calc(100% - ${O.right}px)`:`${O.left}px`,n=`${O.top}px`,u=$?`-${window.innerWidth-W.right-8}px`:W.x-8+"px",h=W.y-2+"px",v=(null===(ie=j.textContent)||void 0===ie?void 0:ie.trim())===(null===(me=M.textContent)||void 0===me?void 0:me.trim()),f=W.height/(U.height-B),r="scale(1)",d=v?`scale(${W.width/U.width}, ${f})`:`scale(${f})`,V=k?[{offset:0,opacity:0,transform:`translate3d(${u}, ${h}, 0) ${d}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${n}, 0) ${r}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${n}, 0) ${r}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${u}, ${h}, 0) ${d}`}],q=D("ion-title"),oe=(0,a.c)();q.innerText=M.innerText,q.size=M.size,q.color=M.color,oe.addElement(q),oe.beforeStyles({"transform-origin":`${te} top`,height:`${O.height}px`,display:"",position:"relative",[te]:se}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),q.style.setProperty("display","none")}).keyframes(V),P.addAnimation(oe)},A=(P,$)=>{var k;try{const M="cubic-bezier(0.32,0.72,0,1)",O="opacity",U="transform",j="0%",ie="rtl"===P.ownerDocument.dir,me=ie?"-99.5%":"99.5%",te=ie?"33%":"-33%",se=$.enteringEl,m=$.leavingEl,n="back"===$.direction,o=se.querySelector(":scope > ion-content"),u=se.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),s=se.querySelectorAll(":scope > ion-header > ion-toolbar"),h=(0,a.c)(),v=(0,a.c)();if(h.addElement(se).duration((null!==(k=$.duration)&&void 0!==k?k:0)||540).easing($.easing||M).fill("both").beforeRemoveClass("ion-page-invisible"),m&&null!=P){const d=(0,a.c)();d.addElement(P),h.addAnimation(d)}if(o||0!==s.length||0!==u.length?(v.addElement(o),v.addElement(u)):v.addElement(se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(v),n?v.beforeClearStyles([O]).fromTo("transform",`translateX(${te})`,`translateX(${j})`).fromTo(O,.8,1):v.beforeClearStyles([O]).fromTo("transform",`translateX(${me})`,`translateX(${j})`),o){const d=C(o).querySelector(".transition-effect");if(d){const L=d.querySelector(".transition-cover"),I=d.querySelector(".transition-shadow"),V=(0,a.c)(),q=(0,a.c)(),oe=(0,a.c)();V.addElement(d).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),q.addElement(L).beforeClearStyles([O]).fromTo(O,0,.1),oe.addElement(I).beforeClearStyles([O]).fromTo(O,.03,.7),V.addAnimation([q,oe]),v.addAnimation([V])}}const y=se.querySelector("ion-header.header-collapse-condense"),{forward:f,backward:r}=((P,$,k,M,O)=>{const U=T(M,k),j=w(O),W=w(M),ie=T(O,k),me=null!==U&&null!==j&&!k,te=null!==W&&null!==ie&&k;if(me){const se=j.getBoundingClientRect(),m=U.getBoundingClientRect(),n=C(U).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(j).querySelector(".toolbar-title").getBoundingClientRect();F(P,$,k,j,se,s,n,o),g(P,$,k,U,m,n,o,j,s)}else if(te){const se=W.getBoundingClientRect(),m=ie.getBoundingClientRect(),n=C(ie).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(W).querySelector(".toolbar-title").getBoundingClientRect();F(P,$,k,W,se,s,n,o),g(P,$,k,ie,m,n,o,W,s)}return{forward:me,backward:te}})(h,ie,n,se,m);if(s.forEach(d=>{const L=(0,a.c)();L.addElement(d),h.addAnimation(L);const I=(0,a.c)();I.addElement(d.querySelector("ion-title"));const V=(0,a.c)(),q=Array.from(d.querySelectorAll("ion-buttons,[menuToggle]")),oe=d.closest("ion-header"),ve=null==oe?void 0:oe.classList.contains("header-collapse-condense-inactive");let Ae;Ae=q.filter(n?pe=>{const Ie=pe.classList.contains("buttons-collapse");return Ie&&!ve||!Ie}:pe=>!pe.classList.contains("buttons-collapse")),V.addElement(Ae);const Q=(0,a.c)();Q.addElement(d.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const ae=(0,a.c)();ae.addElement(C(d).querySelector(".toolbar-background"));const tt=(0,a.c)(),Oe=d.querySelector("ion-back-button");if(Oe&&tt.addElement(Oe),L.addAnimation([I,V,Q,ae,tt]),V.fromTo(O,.01,1),Q.fromTo(O,.01,1),n)ve||I.fromTo("transform",`translateX(${te})`,`translateX(${j})`).fromTo(O,.01,1),Q.fromTo("transform",`translateX(${te})`,`translateX(${j})`),tt.fromTo(O,.01,1);else if(y||I.fromTo("transform",`translateX(${me})`,`translateX(${j})`).fromTo(O,.01,1),Q.fromTo("transform",`translateX(${me})`,`translateX(${j})`),ae.beforeClearStyles([O,"transform"]),(null==oe?void 0:oe.translucent)?ae.fromTo("transform",ie?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ae.fromTo(O,.01,"var(--opacity)"),f||tt.fromTo(O,.01,1),Oe&&!f){const Ie=(0,a.c)();Ie.addElement(C(Oe).querySelector(".button-text")).fromTo("transform",ie?"translateX(-100px)":"translateX(100px)","translateX(0px)"),L.addAnimation(Ie)}}),m){const d=(0,a.c)(),L=m.querySelector(":scope > ion-content"),I=m.querySelectorAll(":scope > ion-header > ion-toolbar"),V=m.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(L||0!==I.length||0!==V.length?(d.addElement(L),d.addElement(V)):d.addElement(m.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(d),n){d.beforeClearStyles([O]).fromTo("transform",`translateX(${j})`,ie?"translateX(-100%)":"translateX(100%)");const q=(0,S.g)(m);h.afterAddWrite(()=>{"normal"===h.getDirection()&&q.style.setProperty("display","none")})}else d.fromTo("transform",`translateX(${j})`,`translateX(${te})`).fromTo(O,1,.8);if(L){const q=C(L).querySelector(".transition-effect");if(q){const oe=q.querySelector(".transition-cover"),ve=q.querySelector(".transition-shadow"),Ae=(0,a.c)(),Q=(0,a.c)(),ae=(0,a.c)();Ae.addElement(q).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Q.addElement(oe).beforeClearStyles([O]).fromTo(O,.1,0),ae.addElement(ve).beforeClearStyles([O]).fromTo(O,.7,.03),Ae.addAnimation([Q,ae]),d.addAnimation([Ae])}}I.forEach(q=>{const oe=(0,a.c)();oe.addElement(q);const ve=(0,a.c)();ve.addElement(q.querySelector("ion-title"));const Ae=(0,a.c)(),Q=q.querySelectorAll("ion-buttons,[menuToggle]"),ae=q.closest("ion-header"),tt=null==ae?void 0:ae.classList.contains("header-collapse-condense-inactive"),Oe=Array.from(Q).filter(G=>{const Ee=G.classList.contains("buttons-collapse");return Ee&&!tt||!Ee});Ae.addElement(Oe);const pe=(0,a.c)(),Ie=q.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Ie.length>0&&pe.addElement(Ie);const Se=(0,a.c)();Se.addElement(C(q).querySelector(".toolbar-background"));const re=(0,a.c)(),ne=q.querySelector("ion-back-button");if(ne&&re.addElement(ne),oe.addAnimation([ve,Ae,pe,re,Se]),h.addAnimation(oe),re.fromTo(O,.99,0),Ae.fromTo(O,.99,0),pe.fromTo(O,.99,0),n){if(tt||ve.fromTo("transform",`translateX(${j})`,ie?"translateX(-100%)":"translateX(100%)").fromTo(O,.99,0),pe.fromTo("transform",`translateX(${j})`,ie?"translateX(-100%)":"translateX(100%)"),Se.beforeClearStyles([O,"transform"]),(null==ae?void 0:ae.translucent)?Se.fromTo("transform","translateX(0px)",ie?"translateX(-100%)":"translateX(100%)"):Se.fromTo(O,"var(--opacity)",0),ne&&!r){const Ee=(0,a.c)();Ee.addElement(C(ne).querySelector(".button-text")).fromTo("transform",`translateX(${j})`,`translateX(${(ie?-124:124)+"px"})`),oe.addAnimation(Ee)}}else tt||ve.fromTo("transform",`translateX(${j})`,`translateX(${te})`).fromTo(O,.99,0).afterClearStyles([U,O]),pe.fromTo("transform",`translateX(${j})`,`translateX(${te})`).afterClearStyles([U,O]),re.afterClearStyles([O]),ve.afterClearStyles([O]),Ae.afterClearStyles([O])})}return h}catch(M){throw M}},B=10},2942:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{mdTransitionAnimation:()=>c});var a=E(3503),S=E(7555);E(8476),E(4363);const c=(D,C)=>{var w,T,_;const g="40px",A="back"===C.direction,P=C.leavingEl,$=(0,S.g)(C.enteringEl),k=$.querySelector("ion-toolbar"),M=(0,a.c)();if(M.addElement($).fill("both").beforeRemoveClass("ion-page-invisible"),A?M.duration((null!==(w=C.duration)&&void 0!==w?w:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):M.duration((null!==(T=C.duration)&&void 0!==T?T:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${g})`,"translateY(0px)").fromTo("opacity",.01,1),k){const O=(0,a.c)();O.addElement(k),M.addAnimation(O)}if(P&&A){M.duration((null!==(_=C.duration)&&void 0!==_?_:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const O=(0,a.c)();O.addElement((0,S.g)(P)).onFinish(U=>{1===U&&O.elements.length>0&&O.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${g})`).fromTo("opacity",1,0),M.addAnimation(O)}return M}},5516:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>Ae,G:()=>Q,O:()=>ae,a:()=>F,b:()=>A,c:()=>k,d:()=>tt,e:()=>Oe,f:()=>y,g:()=>r,h:()=>I,i:()=>q,j:()=>O,k:()=>U,l:()=>B,m:()=>P,n:()=>me,o:()=>h,s:()=>ve,t:()=>M});var a=E(467),S=E(8476),p=E(3113),R=E(611),c=E(5938),D=E(5638),C=E(4929);let w=0,T=0;const _=new WeakMap,g=Se=>({create:re=>j(Se,re),dismiss:(re,ne,G)=>o(document,re,ne,Se,G),getTop:()=>(0,a.A)(function*(){return h(document,Se)})()}),F=g("ion-alert"),A=g("ion-action-sheet"),B=g("ion-loading"),P=g("ion-modal"),k=g("ion-popover"),M=g("ion-toast"),O=Se=>{typeof document<"u"&&n(document);const re=w++;Se.overlayIndex=re},U=Se=>(Se.hasAttribute("id")||(Se.id="ion-overlay-"+ ++T),Se.id),j=(Se,re)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Se).then(()=>{const ne=document.createElement(Se);return ne.classList.add("overlay-hidden"),Object.assign(ne,Object.assign(Object.assign({},re),{hasController:!0})),d(document).appendChild(ne),new Promise(G=>(0,D.c)(ne,G))}):Promise.resolve(),W='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',me=(Se,re)=>{const ne=Se.querySelector(W);se(ne,re)},te=(Se,re)=>{const ne=Array.from(Se.querySelectorAll(W));se(ne.length>0?ne[ne.length-1]:null,re)},se=(Se,re)=>{let ne=Se;const G=null==Se?void 0:Se.shadowRoot;G&&(ne=G.querySelector(W)||Se),ne?(0,D.f)(ne):re.focus()},n=Se=>{0===w&&(w=1,Se.addEventListener("focus",re=>{((Se,re)=>{const ne=h(re,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),G=Se.target;ne&&G&&!ne.classList.contains("ion-disable-focus-trap")&&(ne.shadowRoot?(()=>{if(ne.contains(G))ne.lastFocus=G;else if("ION-TOAST"===G.tagName)se(ne.lastFocus,ne);else{const Qe=ne.lastFocus;me(ne,ne),Qe===re.activeElement&&te(ne,ne),ne.lastFocus=re.activeElement}})():(()=>{if(ne===G)ne.lastFocus=void 0;else if("ION-TOAST"===G.tagName)se(ne.lastFocus,ne);else{const Qe=(0,D.g)(ne);if(!Qe.contains(G))return;const rt=Qe.querySelector(".ion-overlay-wrapper");if(!rt)return;if(rt.contains(G)||G===Qe.querySelector("ion-backdrop"))ne.lastFocus=G;else{const nn=ne.lastFocus;me(rt,ne),nn===re.activeElement&&te(rt,ne),ne.lastFocus=re.activeElement}}})())})(re,Se)},!0),Se.addEventListener("ionBackButton",re=>{const ne=h(Se);null!=ne&&ne.backdropDismiss&&re.detail.register(p.OVERLAY_BACK_BUTTON_PRIORITY,()=>{ne.dismiss(void 0,Ae)})}),(0,p.shouldUseCloseWatcher)()||Se.addEventListener("keydown",re=>{if("Escape"===re.key){const ne=h(Se);null!=ne&&ne.backdropDismiss&&ne.dismiss(void 0,Ae)}}))},o=(Se,re,ne,G,Ee)=>{const vt=h(Se,G,Ee);return vt?vt.dismiss(re,ne):Promise.reject("overlay does not exist")},s=(Se,re)=>((Se,re)=>(void 0===re&&(re="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Se.querySelectorAll(re)).filter(ne=>ne.overlayIndex>0)))(Se,re).filter(ne=>!(Se=>Se.classList.contains("overlay-hidden"))(ne)),h=(Se,re,ne)=>{const G=s(Se,re);return void 0===ne?G[G.length-1]:G.find(Ee=>Ee.id===ne)},v=(Se=!1)=>{const ne=d(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");ne&&(Se?ne.setAttribute("aria-hidden","true"):ne.removeAttribute("aria-hidden"))},y=function(){var Se=(0,a.A)(function*(re,ne,G,Ee,vt){var Qe,rt;if(re.presented)return;v(!0),pe(re.el),re.presented=!0,re.willPresent.emit(),null===(Qe=re.willPresentShorthand)||void 0===Qe||Qe.emit();const nn=(0,R.b)(re),gt=re.enterAnimation?re.enterAnimation:R.c.get(ne,"ios"===nn?G:Ee);(yield L(re,gt,re.el,vt))&&(re.didPresent.emit(),null===(rt=re.didPresentShorthand)||void 0===rt||rt.emit()),"ION-TOAST"!==re.el.tagName&&f(re.el),re.keyboardClose&&(null===document.activeElement||!re.el.contains(document.activeElement))&&re.el.focus(),re.el.removeAttribute("aria-hidden")});return function(ne,G,Ee,vt,Qe){return Se.apply(this,arguments)}}(),f=function(){var Se=(0,a.A)(function*(re){let ne=document.activeElement;if(!ne)return;const G=null==ne?void 0:ne.shadowRoot;G&&(ne=G.querySelector(W)||ne),yield re.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&ne.focus()});return function(ne){return Se.apply(this,arguments)}}(),r=function(){var Se=(0,a.A)(function*(re,ne,G,Ee,vt,Qe,rt){var nn,gt;if(!re.presented)return!1;void 0!==S.d&&1===s(S.d).length&&v(!1),re.presented=!1;try{re.el.style.setProperty("pointer-events","none"),re.willDismiss.emit({data:ne,role:G}),null===(nn=re.willDismissShorthand)||void 0===nn||nn.emit({data:ne,role:G});const ht=(0,R.b)(re),on=re.leaveAnimation?re.leaveAnimation:R.c.get(Ee,"ios"===ht?vt:Qe);G!==Q&&(yield L(re,on,re.el,rt)),re.didDismiss.emit({data:ne,role:G}),null===(gt=re.didDismissShorthand)||void 0===gt||gt.emit({data:ne,role:G}),(_.get(re)||[]).forEach(Pt=>Pt.destroy()),_.delete(re),re.el.classList.add("overlay-hidden"),re.el.style.removeProperty("pointer-events"),void 0!==re.el.lastFocus&&(re.el.lastFocus=void 0)}catch(ht){console.error(ht)}return re.el.remove(),Ie(),!0});return function(ne,G,Ee,vt,Qe,rt,nn){return Se.apply(this,arguments)}}(),d=Se=>Se.querySelector("ion-app")||Se.body,L=function(){var Se=(0,a.A)(function*(re,ne,G,Ee){G.classList.remove("overlay-hidden");const Qe=ne(re.el,Ee);(!re.animated||!R.c.getBoolean("animated",!0))&&Qe.duration(0),re.keyboardClose&&Qe.beforeAddWrite(()=>{const nn=G.ownerDocument.activeElement;null!=nn&&nn.matches("input,ion-input, ion-textarea")&&nn.blur()});const rt=_.get(re)||[];return _.set(re,[...rt,Qe]),yield Qe.play(),!0});return function(ne,G,Ee,vt){return Se.apply(this,arguments)}}(),I=(Se,re)=>{let ne;const G=new Promise(Ee=>ne=Ee);return V(Se,re,Ee=>{ne(Ee.detail)}),G},V=(Se,re,ne)=>{const G=Ee=>{(0,D.b)(Se,re,G),ne(Ee)};(0,D.a)(Se,re,G)},q=Se=>"cancel"===Se||Se===Ae,oe=Se=>Se(),ve=(Se,re)=>{if("function"==typeof Se)return R.c.get("_zoneGate",oe)(()=>{try{return Se(re)}catch(G){throw G}})},Ae="backdrop",Q="gesture",ae=39,tt=Se=>{let ne,re=!1;const G=(0,c.C)(),Ee=(rt=!1)=>{if(ne&&!rt)return{delegate:ne,inline:re};const{el:nn,hasController:gt,delegate:ht}=Se;return re=null!==nn.parentNode&&!gt,ne=re?ht||G:ht,{inline:re,delegate:ne}};return{attachViewToDom:function(){var rt=(0,a.A)(function*(nn){const{delegate:gt}=Ee(!0);if(gt)return yield gt.attachViewToDom(Se.el,nn);const{hasController:ht}=Se;if(ht&&void 0!==nn)throw new Error("framework delegate is missing");return null});return function(gt){return rt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:rt}=Ee();rt&&void 0!==Se.el&&rt.removeViewFromDom(Se.el.parentElement,Se.el)}}},Oe=()=>{let Se;const re=()=>{Se&&(Se(),Se=void 0)};return{addClickListener:(G,Ee)=>{re();const vt=void 0!==Ee?document.getElementById(Ee):null;vt?Se=((rt,nn)=>{const gt=()=>{nn.present()};return rt.addEventListener("click",gt),()=>{rt.removeEventListener("click",gt)}})(vt,G):(0,C.p)(`A trigger element with the ID "${Ee}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,G)},removeClickListener:re}},pe=Se=>{var re;if(void 0===S.d)return;const ne=s(S.d);for(let G=ne.length-1;G>=0;G--){const Ee=ne[G],vt=null!==(re=ne[G+1])&&void 0!==re?re:Se;(vt.hasAttribute("aria-hidden")||"ION-TOAST"!==vt.tagName)&&Ee.setAttribute("aria-hidden","true")}},Ie=()=>{if(void 0===S.d)return;const Se=s(S.d);for(let re=Se.length-1;re>=0;re--){const ne=Se[re];if(ne.removeAttribute("aria-hidden"),"ION-TOAST"!==ne.tagName)break}}},1288:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>M,b:()=>nn,c:()=>W,f:()=>pe,g:()=>j,h:()=>$,p:()=>Un,r:()=>Ft});var a=E(467);let p,R,c=!1,D=!1;const _={},B=Pe=>"object"==(Pe=typeof Pe)||"function"===Pe;function P(Pe){var Be,Ue,Ct;return null!==(Ct=null===(Ue=null===(Be=Pe.head)||void 0===Be?void 0:Be.querySelector('meta[name="csp-nonce"]'))||void 0===Ue?void 0:Ue.getAttribute("content"))&&void 0!==Ct?Ct:void 0}const $=(Pe,Be,...Ue)=>{let Ct=null,Je=!1,at=!1;const Jt=[],yt=Wt=>{for(let Ot=0;OtWt[Ot]).join(" "))}const mt=k(Pe,null);return mt.$attrs$=Be,Jt.length>0&&(mt.$children$=Jt),mt},k=(Pe,Be)=>({$flags$:0,$tag$:Pe,$text$:Be,$elm$:null,$children$:null,$attrs$:null}),M={},j=Pe=>It(Pe).$hostElement$,W=(Pe,Be,Ue)=>{const Ct=j(Pe);return{emit:Je=>ie(Ct,Be,{bubbles:!!(4&Ue),composed:!!(2&Ue),cancelable:!!(1&Ue),detail:Je})}},ie=(Pe,Be,Ue)=>{const Ct=Nt.ce(Be,Ue);return Pe.dispatchEvent(Ct),Ct},me=new WeakMap,n=(Pe,Be)=>"sc-"+Pe.$tagName$,o=(Pe,Be,Ue,Ct,Je,at)=>{if(Ue!==Ct){let Jt=Dt(Pe,Be),yt=Be.toLowerCase();if("class"===Be){const mt=Pe.classList,Wt=s(Ue),Ot=s(Ct);mt.remove(...Wt.filter(Rt=>Rt&&!Ot.includes(Rt))),mt.add(...Ot.filter(Rt=>Rt&&!Wt.includes(Rt)))}else if("style"===Be){for(const mt in Ue)(!Ct||null==Ct[mt])&&(mt.includes("-")?Pe.style.removeProperty(mt):Pe.style[mt]="");for(const mt in Ct)(!Ue||Ct[mt]!==Ue[mt])&&(mt.includes("-")?Pe.style.setProperty(mt,Ct[mt]):Pe.style[mt]=Ct[mt])}else if("ref"===Be)Ct&&Ct(Pe);else if(Jt||"o"!==Be[0]||"n"!==Be[1]){const mt=B(Ct);if((Jt||mt&&null!==Ct)&&!Je)try{if(Pe.tagName.includes("-"))Pe[Be]=Ct;else{const Wt=null==Ct?"":Ct;"list"===Be?Jt=!1:(null==Ue||Pe[Be]!=Wt)&&(Pe[Be]=Wt)}}catch{}null==Ct||!1===Ct?(!1!==Ct||""===Pe.getAttribute(Be))&&Pe.removeAttribute(Be):(!Jt||4&at||Je)&&!mt&&Pe.setAttribute(Be,Ct=!0===Ct?"":Ct)}else Be="-"===Be[2]?Be.slice(3):Dt(Sn,yt)?yt.slice(2):yt[2]+Be.slice(3),Ue&&Nt.rel(Pe,Be,Ue,!1),Ct&&Nt.ael(Pe,Be,Ct,!1)}},u=/\s/,s=Pe=>Pe?Pe.split(u):[],h=(Pe,Be,Ue,Ct)=>{const Je=11===Be.$elm$.nodeType&&Be.$elm$.host?Be.$elm$.host:Be.$elm$,at=Pe&&Pe.$attrs$||_,Jt=Be.$attrs$||_;for(Ct in at)Ct in Jt||o(Je,Ct,at[Ct],void 0,Ue,Be.$flags$);for(Ct in Jt)o(Je,Ct,at[Ct],Jt[Ct],Ue,Be.$flags$)},v=(Pe,Be,Ue,Ct)=>{const Je=Be.$children$[Ue];let Jt,yt,at=0;if(null!==Je.$text$)Jt=Je.$elm$=kt.createTextNode(Je.$text$);else{if(c||(c="svg"===Je.$tag$),Jt=Je.$elm$=kt.createElementNS(c?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",Je.$tag$),c&&"foreignObject"===Je.$tag$&&(c=!1),h(null,Je,c),(Pe=>null!=Pe)(p)&&Jt["s-si"]!==p&&Jt.classList.add(Jt["s-si"]=p),Je.$children$)for(at=0;at{let yt,Jt=Pe;for(Jt.shadowRoot&&Jt.tagName===R&&(Jt=Jt.shadowRoot);Je<=at;++Je)Ct[Je]&&(yt=v(null,Ue,Je),yt&&(Ct[Je].$elm$=yt,Jt.insertBefore(yt,Be)))},f=(Pe,Be,Ue)=>{for(let Ct=Be;Ct<=Ue;++Ct){const Je=Pe[Ct];if(Je){const at=Je.$elm$;I(Je),at&&at.remove()}}},d=(Pe,Be)=>Pe.$tag$===Be.$tag$,L=(Pe,Be)=>{const Ue=Be.$elm$=Pe.$elm$,Ct=Pe.$children$,Je=Be.$children$,at=Be.$tag$,Jt=Be.$text$;null===Jt?(c="svg"===at||"foreignObject"!==at&&c,h(Pe,Be,c),null!==Ct&&null!==Je?((Pe,Be,Ue,Ct)=>{let Fn,Je=0,at=0,Jt=Be.length-1,yt=Be[0],mt=Be[Jt],Wt=Ct.length-1,Ot=Ct[0],Rt=Ct[Wt];for(;Je<=Jt&&at<=Wt;)null==yt?yt=Be[++Je]:null==mt?mt=Be[--Jt]:null==Ot?Ot=Ct[++at]:null==Rt?Rt=Ct[--Wt]:d(yt,Ot)?(L(yt,Ot),yt=Be[++Je],Ot=Ct[++at]):d(mt,Rt)?(L(mt,Rt),mt=Be[--Jt],Rt=Ct[--Wt]):d(yt,Rt)?(L(yt,Rt),Pe.insertBefore(yt.$elm$,mt.$elm$.nextSibling),yt=Be[++Je],Rt=Ct[--Wt]):d(mt,Ot)?(L(mt,Ot),Pe.insertBefore(mt.$elm$,yt.$elm$),mt=Be[--Jt],Ot=Ct[++at]):(Fn=v(Be&&Be[at],Ue,at),Ot=Ct[++at],Fn&&yt.$elm$.parentNode.insertBefore(Fn,yt.$elm$));Je>Jt?y(Pe,null==Ct[Wt+1]?null:Ct[Wt+1].$elm$,Ue,Ct,at,Wt):at>Wt&&f(Be,Je,Jt)})(Ue,Ct,Be,Je):null!==Je?(null!==Pe.$text$&&(Ue.textContent=""),y(Ue,null,Be,Je,0,Je.length-1)):null!==Ct&&f(Ct,0,Ct.length-1),c&&"svg"===at&&(c=!1)):Pe.$text$!==Jt&&(Ue.data=Jt)},I=Pe=>{Pe.$attrs$&&Pe.$attrs$.ref&&Pe.$attrs$.ref(null),Pe.$children$&&Pe.$children$.map(I)},q=(Pe,Be)=>{Be&&!Pe.$onRenderResolve$&&Be["s-p"]&&Be["s-p"].push(new Promise(Ue=>Pe.$onRenderResolve$=Ue))},oe=(Pe,Be)=>{if(Pe.$flags$|=16,!(4&Pe.$flags$))return q(Pe,Pe.$ancestorComponent$),it(()=>ve(Pe,Be));Pe.$flags$|=512},ve=(Pe,Be)=>{const Ct=Pe.$lazyInstance$;return Be&&(Pe.$flags$|=256,Pe.$queuedListeners$&&(Pe.$queuedListeners$.map(([at,Jt])=>Se(Ct,at,Jt)),Pe.$queuedListeners$=void 0)),Ae(void 0,()=>ae(Pe,Ct,Be))},Ae=(Pe,Be)=>Q(Pe)?Pe.then(Be):Be(),Q=Pe=>Pe instanceof Promise||Pe&&Pe.then&&"function"==typeof Pe.then,ae=function(){var Pe=(0,a.A)(function*(Be,Ue,Ct){var Je;const at=Be.$hostElement$,yt=at["s-rc"];Ct&&(Pe=>{const Be=Pe.$cmpMeta$,Ue=Pe.$hostElement$,Ct=Be.$flags$,at=((Pe,Be,Ue,Ct)=>{var Je;let at=n(Be);const Jt=dt.get(at);if(Pe=11===Pe.nodeType?Pe:kt,Jt)if("string"==typeof Jt){let mt,yt=me.get(Pe=Pe.head||Pe);if(yt||me.set(Pe,yt=new Set),!yt.has(at)){{mt=kt.createElement("style"),mt.innerHTML=Jt;const Wt=null!==(Je=Nt.$nonce$)&&void 0!==Je?Je:P(kt);null!=Wt&&mt.setAttribute("nonce",Wt),Pe.insertBefore(mt,Pe.querySelector("link"))}yt&&yt.add(at)}}else Pe.adoptedStyleSheets.includes(Jt)||(Pe.adoptedStyleSheets=[...Pe.adoptedStyleSheets,Jt]);return at})(Ue.shadowRoot?Ue.shadowRoot:Ue.getRootNode(),Be);10&Ct&&(Ue["s-sc"]=at,Ue.classList.add(at+"-h"))})(Be);tt(Be,Ue),yt&&(yt.map(Wt=>Wt()),at["s-rc"]=void 0);{const Wt=null!==(Je=at["s-p"])&&void 0!==Je?Je:[],Ot=()=>Oe(Be);0===Wt.length?Ot():(Promise.all(Wt).then(Ot),Be.$flags$|=4,Wt.length=0)}});return function(Ue,Ct,Je){return Pe.apply(this,arguments)}}(),tt=(Pe,Be,Ue)=>{try{Be=Be.render(),Pe.$flags$&=-17,Pe.$flags$|=2,((Pe,Be)=>{const Ue=Pe.$hostElement$,Ct=Pe.$vnode$||k(null,null),Je=(Pe=>Pe&&Pe.$tag$===M)(Be)?Be:$(null,null,Be);R=Ue.tagName,Je.$tag$=null,Je.$flags$|=4,Pe.$vnode$=Je,Je.$elm$=Ct.$elm$=Ue.shadowRoot||Ue,p=Ue["s-sc"],L(Ct,Je)})(Pe,Be)}catch(Ct){_t(Ct,Pe.$hostElement$)}return null},Oe=Pe=>{const Ue=Pe.$hostElement$,Je=Pe.$lazyInstance$,at=Pe.$ancestorComponent$;64&Pe.$flags$||(Pe.$flags$|=64,re(Ue),Se(Je,"componentDidLoad"),Pe.$onReadyResolve$(Ue),at||Ie()),Pe.$onInstanceResolve$(Ue),Pe.$onRenderResolve$&&(Pe.$onRenderResolve$(),Pe.$onRenderResolve$=void 0),512&Pe.$flags$&&$e(()=>oe(Pe,!1)),Pe.$flags$&=-517},pe=Pe=>{{const Be=It(Pe),Ue=Be.$hostElement$.isConnected;return Ue&&2==(18&Be.$flags$)&&oe(Be,!1),Ue}},Ie=Pe=>{re(kt.documentElement),$e(()=>ie(Sn,"appload",{detail:{namespace:"ionicpwaelements"}}))},Se=(Pe,Be,Ue)=>{if(Pe&&Pe[Be])try{return Pe[Be](Ue)}catch(Ct){_t(Ct)}},re=Pe=>Pe.classList.add("hydrated"),Ee=(Pe,Be,Ue)=>{if(Be.$members$){const Ct=Object.entries(Be.$members$),Je=Pe.prototype;if(Ct.map(([at,[Jt]])=>{31&Jt||2&Ue&&32&Jt?Object.defineProperty(Je,at,{get(){return((Pe,Be)=>It(this).$instanceValues$.get(Be))(0,at)},set(yt){((Pe,Be,Ue,Ct)=>{const Je=It(Pe),at=Je.$instanceValues$.get(Be),Jt=Je.$flags$,yt=Je.$lazyInstance$;Ue=((Pe,Be)=>null==Pe||B(Pe)?Pe:4&Be?"false"!==Pe&&(""===Pe||!!Pe):2&Be?parseFloat(Pe):1&Be?String(Pe):Pe)(Ue,Ct.$members$[Be][0]);const mt=Number.isNaN(at)&&Number.isNaN(Ue);(!(8&Jt)||void 0===at)&&Ue!==at&&!mt&&(Je.$instanceValues$.set(Be,Ue),yt&&2==(18&Jt)&&oe(Je,!1))})(this,at,yt,Be)},configurable:!0,enumerable:!0}):1&Ue&&64&Jt&&Object.defineProperty(Je,at,{value(...yt){const mt=It(this);return mt.$onInstancePromise$.then(()=>mt.$lazyInstance$[at](...yt))}})}),1&Ue){const at=new Map;Je.attributeChangedCallback=function(Jt,yt,mt){Nt.jmp(()=>{const Wt=at.get(Jt);if(this.hasOwnProperty(Wt))mt=this[Wt],delete this[Wt];else if(Je.hasOwnProperty(Wt)&&"number"==typeof this[Wt]&&this[Wt]==mt)return;this[Wt]=(null!==mt||"boolean"!=typeof this[Wt])&&mt})},Pe.observedAttributes=Ct.filter(([Jt,yt])=>15&yt[0]).map(([Jt,yt])=>{const mt=yt[1]||Jt;return at.set(mt,Jt),mt})}}return Pe},vt=function(){var Pe=(0,a.A)(function*(Be,Ue,Ct,Je,at){if(!(32&Ue.$flags$)){Ue.$flags$|=32;{if((at=St(Ct)).then){const Wt=()=>{};at=yield at,Wt()}at.isProxied||(Ee(at,Ct,2),at.isProxied=!0);const mt=()=>{};Ue.$flags$|=8;try{new at(Ue)}catch(Wt){_t(Wt)}Ue.$flags$&=-9,mt()}if(at.style){let mt=at.style;const Wt=n(Ct);if(!dt.has(Wt)){const Ot=()=>{};((Pe,Be,Ue)=>{let Ct=dt.get(Pe);Ut&&Ue?(Ct=Ct||new CSSStyleSheet,"string"==typeof Ct?Ct=Be:Ct.replaceSync(Be)):Ct=Be,dt.set(Pe,Ct)})(Wt,mt,!!(1&Ct.$flags$)),Ot()}}}const Jt=Ue.$ancestorComponent$,yt=()=>oe(Ue,!0);Jt&&Jt["s-rc"]?Jt["s-rc"].push(yt):yt()});return function(Ue,Ct,Je,at,Jt){return Pe.apply(this,arguments)}}(),nn=(Pe,Be={})=>{var Ue;const Je=[],at=Be.exclude||[],Jt=Sn.customElements,yt=kt.head,mt=yt.querySelector("meta[charset]"),Wt=kt.createElement("style"),Ot=[];let Rt,Fn=!0;Object.assign(Nt,Be),Nt.$resourcesUrl$=new URL(Be.resourcesUrl||"./",kt.baseURI).href,Pe.map(An=>{An[1].map(wn=>{const bn={$flags$:wn[0],$tagName$:wn[1],$members$:wn[2],$listeners$:wn[3]};bn.$members$=wn[2],bn.$listeners$=wn[3];const Wn=bn.$tagName$,Vn=class extends HTMLElement{constructor(Pn){super(Pn),yn(Pn=this,bn),1&bn.$flags$&&Pn.attachShadow({mode:"open"})}connectedCallback(){Rt&&(clearTimeout(Rt),Rt=null),Fn?Ot.push(this):Nt.jmp(()=>(Pe=>{if(!(1&Nt.$flags$)){const Be=It(Pe),Ue=Be.$cmpMeta$,Ct=()=>{};if(1&Be.$flags$)gt(Pe,Be,Ue.$listeners$);else{Be.$flags$|=1;{let Je=Pe;for(;Je=Je.parentNode||Je.host;)if(Je["s-p"]){q(Be,Be.$ancestorComponent$=Je);break}}Ue.$members$&&Object.entries(Ue.$members$).map(([Je,[at]])=>{if(31&at&&Pe.hasOwnProperty(Je)){const Jt=Pe[Je];delete Pe[Je],Pe[Je]=Jt}}),vt(Pe,Be,Ue)}Ct()}})(this))}disconnectedCallback(){Nt.jmp(()=>(Pe=>{if(!(1&Nt.$flags$)){const Be=It(this),Ue=Be.$lazyInstance$;Be.$rmListeners$&&(Be.$rmListeners$.map(Ct=>Ct()),Be.$rmListeners$=void 0),Se(Ue,"disconnectedCallback")}})())}componentOnReady(){return It(this).$onReadyPromise$}};bn.$lazyBundleId$=An[0],!at.includes(Wn)&&!Jt.get(Wn)&&(Je.push(Wn),Jt.define(Wn,Ee(Vn,bn,1)))})});{Wt.innerHTML=Je+"{visibility:hidden}.hydrated{visibility:inherit}",Wt.setAttribute("data-styles","");const An=null!==(Ue=Nt.$nonce$)&&void 0!==Ue?Ue:P(kt);null!=An&&Wt.setAttribute("nonce",An),yt.insertBefore(Wt,mt?mt.nextSibling:yt.firstChild)}Fn=!1,Ot.length?Ot.map(An=>An.connectedCallback()):Nt.jmp(()=>Rt=setTimeout(Ie,30))},gt=(Pe,Be,Ue,Ct)=>{Ue&&Ue.map(([Je,at,Jt])=>{const yt=on(Pe,Je),mt=ht(Be,Jt),Wt=Mt(Je);Nt.ael(yt,at,mt,Wt),(Be.$rmListeners$=Be.$rmListeners$||[]).push(()=>Nt.rel(yt,at,mt,Wt))})},ht=(Pe,Be)=>Ue=>{try{256&Pe.$flags$?Pe.$lazyInstance$[Be](Ue):(Pe.$queuedListeners$=Pe.$queuedListeners$||[]).push([Be,Ue])}catch(Ct){_t(Ct)}},on=(Pe,Be)=>16&Be?kt.body:Pe,Mt=Pe=>!!(2&Pe),En=new WeakMap,It=Pe=>En.get(Pe),Ft=(Pe,Be)=>En.set(Be.$lazyInstance$=Pe,Be),yn=(Pe,Be)=>{const Ue={$flags$:0,$hostElement$:Pe,$cmpMeta$:Be,$instanceValues$:new Map};return Ue.$onInstancePromise$=new Promise(Ct=>Ue.$onInstanceResolve$=Ct),Ue.$onReadyPromise$=new Promise(Ct=>Ue.$onReadyResolve$=Ct),Pe["s-p"]=[],Pe["s-rc"]=[],gt(Pe,Ue,Be.$listeners$),En.set(Pe,Ue)},Dt=(Pe,Be)=>Be in Pe,_t=(Pe,Be)=>(0,console.error)(Pe,Be),Cn=new Map,St=(Pe,Be,Ue)=>{const Ct=Pe.$tagName$.replace(/-/g,"_"),Je=Pe.$lazyBundleId$,at=Cn.get(Je);if(at)return at[Ct];if(!Ue||!BUILD.hotModuleReplacement){const Jt=yt=>(Cn.set(Je,yt),yt[Ct]);switch(Je){case"pwa-action-sheet":return E.e(6301).then(E.bind(E,6301)).then(Jt,_t);case"pwa-camera-modal":return E.e(2982).then(E.bind(E,2982)).then(Jt,_t);case"pwa-toast":return E.e(3574).then(E.bind(E,3574)).then(Jt,_t);case"pwa-camera-modal-instance":return E.e(5640).then(E.bind(E,5640)).then(Jt,_t);case"pwa-camera":return E.e(6086).then(E.bind(E,6086)).then(Jt,_t)}}return E(5235)(`./${Je}.entry.js`).then(Jt=>(Cn.set(Je,Jt),Jt[Ct]),_t)},dt=new Map,Sn=typeof window<"u"?window:{},kt=Sn.document||{head:{}},Nt={$flags$:0,$resourcesUrl$:"",jmp:Pe=>Pe(),raf:Pe=>requestAnimationFrame(Pe),ael:(Pe,Be,Ue,Ct)=>Pe.addEventListener(Be,Ue,Ct),rel:(Pe,Be,Ue,Ct)=>Pe.removeEventListener(Be,Ue,Ct),ce:(Pe,Be)=>new CustomEvent(Pe,Be)},Un=Pe=>Promise.resolve(Pe),Ut=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Ve=[],_e=[],De=(Pe,Be)=>Ue=>{Pe.push(Ue),D||(D=!0,Be&&4&Nt.$flags$?$e(Ze):Nt.raf(Ze))},Me=Pe=>{for(let Be=0;Be{Me(Ve),Me(_e),(D=Ve.length>0)&&Nt.raf(Ze)},$e=Pe=>Un().then(Pe),it=De(_e,!0)},3172:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>S,c:()=>a});const a={production:!0},S={api:{BASE_URL:"https://school-api-dev.tekdinext.com/",BASE_URL_BOT:"https://school-openai.tekdinext.com/",TELEMETRY_BASE_URL:"https://school-dev.tekdinext.com/",CONFIG:"seeker/configuration",PAGE_SEARCH_API:"content/search",CONTEXT_SEARCH:"api/aiutility/v1/context",CONTENT_SEARCH_API:"content/search",TELEMETRY_SYNC:"telemetry/v1/telemetry",BOT_QUERY_API:"v1/query",SEARCH_API:"content/search",CONFIRM_API:"confirm",BOT_SAKHI_API_PATH:"v1/query",BOT_ACTIVITY_API_PATH:"api/activitybot/v1/query",REGISTER_DEVICE_API_PATH:"api/registerMobileDevice",KEY:"myjp-0.1",SECRET:"7tVOEu0xj0zYQiYtCYbauEkNC3NBXCpM"},telmetry:{PRODUCER_ID:"dev.ejp.mobileapp",PRODUCER_PID:"mobileapp"}}},56:(Ce,ee,E)=>{"use strict";E.d(ee,{B$:()=>S,Cc:()=>a,Hs:()=>D,K:()=>R,Th:()=>C,Zm:()=>_,cM:()=>w,z5:()=>c});let a=(()=>{var g;class F{}return(g=F).PDF="application/pdf",g.MP4="video/mp4",g.YOUTUBE="video/x-youtube",g.AUDIO="audio/mp3",g.WEBM="video/webm",g.LINK="text/html",F})();const S={dbName:"digital_jaddu_pitara.db",version:3};let R=(()=>{var g;class F{}return(g=F).DATE_TYPE="DATE",g.TEXT_TYPE="TEXT",g.INT_TYPE="INTEGER",g.REAL_TYPE="REAL",g.COMMA_SEP=",",g.SPACE=" ",g.MAX_NUM_OF_EVENTS=1e3,g.MAX_NUM_OF_PROCESSED_EVENTS=1,g.ERROR="DB_ERROR",g.BLOB_TYPE="BLOB",g.NOT_NULL="NOT NULL",g.NULL="NULL",F})(),c=(()=>{var g;class F{}return(g=F).COLLECTION="application/vnd.ekstep.content-collection",g.VIDEO="video/mp4",g.VIDEOS=["video/mp4","video/webm","video/x-m4v","video/quicktime"],g.PDF="application/pdf",g.AUDIOS="audio/mp3",g.RECOEDED_AUDIO="audio/wav",g.AUDIO=["audio/mp3","audio/mp4","audio/mpeg","audio/ogg","audio/webm","audio/x-wav","audio/wav"],g.INTERACTION=["application/vnd.ekstep.ecml-archive","application/vnd.ekstep.html-archive","application/vnd.android.package-archive","application/vnd.ekstep.content-archive","application/vnd.ekstep.plugin-archive","application/vnd.ekstep.h5p-archive"],g.DOCS=["application/pdf","application/epub","application/msword"],g.ALL=["video/mp4","video/x-youtube","video/webm","application/pdf","application/epub","application/pdf","application/epub","application/vnd.ekstep.ecml-archive","application/vnd.ekstep.h5p-archive","application/vnd.ekstep.html-archive"],g.YOUTUBE="video/x-youtube",F})();const D=[{name:"content deatil",code:"contentDetail",pattern:"(?:/(?:resources/play/content|play/content|play/quiz)/(?\\w+))",route:"content-details"},{name:"Textbook content detail",code:"textbookContentDetail",pattern:"(?:/play/(?:collection)/(?\\w+)\\?(?=.*\\bcontentId\\b=(?([^&]*)).*))",route:"collection-detail-etb",priority:1},{name:"Course Detail",code:"courseDetail",pattern:"(?:/(?:explore-course|learn)/course/(?\\w+))",route:"enrolled-course-details",priority:3}];var C=function(g){return g.YES="Yes",g.NO="No",g}(C||{}),w=function(g){return g.COURSE="Course",g.COURSE_UNIT="CourseUnit",g.E_TEXTBOOK="eTextBook",g.EXPLANATION_RESOURCE="ExplanationResource",g.EXPLANATION_VIDEO="Explanation Video",g.TEXTBOOK="TextBook",g.TEXTBOOK_UNIT="TextBookUnit",g.COLLECTION="Collection",g.TV_LESSION="TVLesson",g.RESOURCE="Resource",g}(w||{});let _=(()=>{var g;class F{}return(g=F).TEACHER="teacher",g.STORY="story",g.PARENT="parent",F})()},319:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>R});var a=E(4438),S=E(8974),p=E(5402);let R=(()=>{var c;class D{constructor(w){this.modalCtrl=w}ngOnInit(){}confirm(w){switch(w){case"exit":this.modalCtrl.dismiss(!0);break;case"cancel":this.modalCtrl.dismiss(!1)}}}return(c=D).\u0275fac=function(w){return new(w||c)(a.rXU(S.W3))},c.\u0275cmp=a.VBU({type:c,selectors:[["app-app-exit"]],decls:13,vars:9,consts:[[1,"inner-content"],["slot","start"],[1,"buttons"],["slot","end","shape","round","fill","outline",1,"btn-info","exit",3,"click"],["slot","end","shape","round",1,"btn-info",3,"click"]],template:function(w,T){1&w&&(a.j41(0,"div",0)(1,"ion-toolbar")(2,"ion-buttons",1)(3,"ion-button"),a.EFF(4),a.nI1(5,"translate"),a.k0s()()(),a.j41(6,"ion-toolbar",2)(7,"ion-button",3),a.bIt("click",function(){return T.confirm("exit")}),a.EFF(8),a.nI1(9,"translate"),a.k0s(),a.j41(10,"ion-button",4),a.bIt("click",function(){return T.confirm("cancel")}),a.EFF(11),a.nI1(12,"translate"),a.k0s()()()),2&w&&(a.R7$(4),a.JRh(a.bMT(5,3,"Exit the app?")),a.R7$(4),a.JRh(a.bMT(9,5,"Exit")),a.R7$(3),a.JRh(a.bMT(12,7,"Cancel")))},dependencies:[S.Jm,S.QW,S.ai,p.D9],styles:[".buttons[_ngcontent-%COMP%]{padding:0 1rem}ion-button[_ngcontent-%COMP%]{text-wrap:wrap}.btn-info[_ngcontent-%COMP%]{width:40%;color:var(--ion-color-primary-contrast);--background: var(--ion-color-tertiary);font-size:.75rem;font-family:Noto Sans;font-weight:700;text-transform:uppercase;line-height:19.6px;word-wrap:break-word;padding:5px;text-wrap:wrap;text-align:center}.exit[_ngcontent-%COMP%]{--color: var(--ion-color-tertiary);--background: white}ion-modal[_ngcontent-%COMP%]{--height: 50%;--border-radius: 1rem;--box-shadow: 0 .625rem .938rem -.188rem rgb(0 0 0 / .1), 0 .25rem .375rem -.25rem rgb(0 0 0 / .1)}ion-modal[_ngcontent-%COMP%]::part(backdrop){background:#d1d5db;opacity:1}"]}),D})()},5553:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>C});var a=E(177),S=E(9417),p=E(8974),R=E(5402),c=E(2904),D=E(4438);let C=(()=>{var w;class T{}return(w=T).\u0275fac=function(g){return new(g||w)},w.\u0275mod=D.$C({type:w}),w.\u0275inj=D.G2t({providers:[c.a0,c.H0,c.n$],imports:[a.MD,S.YN,S.X1,p.bv,S.X1,R.h.forChild()]}),T})()},446:(Ce,ee,E)=>{"use strict";E.d(ee,{g:()=>D});const p=new URL(document.baseURI).hostname.split(".");console.log(p);const c="../assets/appConfig/"+p[0]+".json";console.log(`Fetching configuration from: ${c}`);const D=fetch(c).then(C=>{if(console.log({response:C}),!C.ok)throw new Error("Network response was not ok");return C.json()}).then(C=>(console.log("Fetched data:",C),C)).catch(C=>{console.error("There was a problem with the fetch operation:",C)})},3721:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>S});var a=E(4438);let S=(()=>{var p;class R{}return(p=R).\u0275fac=function(D){return new(D||p)},p.\u0275mod=a.$C({type:p}),p.\u0275inj=a.G2t({}),R})()},1984:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>S});var a=E(467);class S{constructor(){this._isInitialised=!1,this.config={},this.botMsg={}}static getInstance(){return S._instance||(S._instance=new S),S._instance}isInitialised(){return this._isInitialised}getConfig(){return this.config}init(R){var c=this;return(0,a.A)(function*(){c._isInitialised=!0,c.config={authentication:{bearerToken:""},deviceInfo:{did:R}}})()}getSakhiResponse(){return this.botMsg}setSakhiResponse(R){var c=this;return(0,a.A)(function*(){c.botMsg={storySakhi:R.story,teacherSakhi:R.teacher,paretSakhi:R.parent}})()}}},2700:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>o});var a=E(467),S=E(6648),p=E(3028),R=E(9437),c=E(7673),D=E(8810),C=E(1984),w=E(8141),T=E(985),_=E(7374),g=E(3172);let F=(()=>{var u;class s{constructor(v,y){this.apiService=v,this.utilService=y,this.getJWTToken=(f,r)=>new Promise((d,L)=>{window.FilePath.getJWTToken(f,r,d,I=>{console.error(`${f} could not be resolved by the plugin: ${I.message}`),L(I)})})}refreshAuthToken(){return(0,S.H)(this.getBearerTokenFromKong())}getMobileDeviceConsumerKey(){var v=this;return(0,a.A)(function*(){return yield v.utilService.getDeviceId()})()}buildGetMobileDeviceConsumerSecretAPIRequest(v){var y=this;return(0,a.A)(function*(){return Promise.resolve((new T._g.Builder).withHost(g.$.api.BASE_URL).withPath(v).withType(T.kr.POST).withHeaders({"Content-Encoding":"gzip",Authorization:`Bearer ${yield y.generateMobileAppConsumerBearerToken()}`}).withBody({id:s.ID,ver:s.VERSION,ts:_().format(),request:{key:`${g.$.telmetry.PRODUCER_ID}-${yield y.getMobileDeviceConsumerKey()}`}}).build())})()}getBearerTokenFromKong(){var v=this;return(0,a.A)(function*(){return v.apiService.fetch(yield v.buildGetMobileDeviceConsumerSecretAPIRequest(g.$.api.REGISTER_DEVICE_API_PATH)).toPromise().then(y=>y.body.result.token).catch(y=>{throw y})})()}generateMobileAppConsumerBearerToken(){var v=this;return(0,a.A)(function*(){return yield v.getJWTToken(g.$.api.KEY,g.$.api.SECRET)})()}}return(u=s).VERSION="1.0",u.ID="org.myjp.device.register",s})();class A{constructor(s,h,v){this.storageService=s,this.apiService=h,this.utilService=v,this.apiTokenHandler=new F(this.apiService,this.utilService)}interceptResponse(s,h){var v=this;return h.responseCode===T.xl.HTTP_UNAUTHORISED&&"Unauthorized"===h.body.message||h.responseCode===T.xl.HTTP_FORBIDDEN?this.apiTokenHandler.refreshAuthToken().pipe((0,w.M)(function(){var y=(0,a.A)(function*(f){yield v.storageService.setData("api_token",f)});return function(f){return y.apply(this,arguments)}}()),(0,p.Z)(()=>this.apiService.fetch(s))):(0,c.of)(h)}}var B=E(6598),P=E(4438),$=E(3207);class k{constructor(){}interceptRequest(s){var h;const v=null===(h=C.f.getInstance().getConfig().authentication)||void 0===h?void 0:h.bearerToken;return v&&(s.headers.Authorization=`Bearer ${v}`),(0,c.of)(s)}}class M{constructor(s,h){this._code=h}getCode(){return this._code}}let O=(()=>{class s extends M{constructor(v,y){super(v,s.code),this.response=y,Object.setPrototypeOf(this,s.prototype)}static isInstance(v){return v.code&&v.code===s.code}}return s.code="HTTP_CLIENT_ERROR",s})(),U=(()=>{class s extends M{constructor(v,y){super(v,s.code),this.response=y,Object.setPrototypeOf(this,s.prototype)}static isInstance(v){return v.code&&v.code===s.code}}return s.code="HTTP_SERVER_ERROR",s})();var j=E(6421),W=E(5083),ie=E(1413);let me=(()=>{var u;class s{constructor(){this.http=W.pX}get(v,y,f,r){return this.invokeRequest(T.kr.GET,v+y,r,f)}patch(v,y,f,r){return this.invokeRequest(T.kr.PATCH,v+y,r,f)}post(v,y,f,r){return this.invokeRequest(T.kr.POST,v+y,r,f)}checkMimieType(v){const y=v;return y.endsWith(".mp3")?"audio/mp3":y.endsWith(".pdf")?"application/pdf":y.includes("youtube.com")||y.includes("youtu.be")?"video/x-youtube":y.endsWith(".mp4")?"video/mp4":"text/html"}invokeRequest(v,y,f,r){const d=new ie.B,L={url:y,method:v.toLowerCase(),headers:r};return v===T.kr.POST||v===T.kr.PATCH?L.data=f:(v===T.kr.GET||v===T.kr.DELETE)&&(L.params=f),this.http.request(L).then(I=>{I.data=I.data;let V=I.data;const q=[];if(V.data&&null!=V.data.djp_contents&&V.data.djp_contents.forEach(ve=>{let Ae=this.checkMimieType(null==ve?void 0:ve.url);q.push({agegroup:ve.agegroup,audience:ve.audience,bpp_id:ve.bpp_id,bpp_uri:ve.bpp_uri,competency:ve.competencies,category:ve.category,createdon:ve.createdon,curriculargoal:ve.curriculargoal,id:ve.item_id,identifier:ve.identifier,provider_id:ve.provider_id,provider_name:ve.provider_name,name:ve.name,description:ve.description,thumbnail:ve.thumbnail,domain:ve.domain,unique_id:ve.unique_id,language:ve.language,url:ve.url,sourceOrganisation:ve.sourceorg,midea:ve.midea,keywords:ve.keywords,lastupdatedon:ve.lastupdatedon,learningOutcomes:ve.learningOutcomes,status:ve.status,content_type:ve.content_type,mimetype:Ae})}),q){let ve;var oe;ve=V.data&&null!=V.data.djp_contents?{body:{result:q,audioText:null==I||null===(oe=I.data)||void 0===oe?void 0:oe.audioText},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers}:{body:{result:I.data},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers},d.next(ve),d.complete()}}).catch(I=>{console.error("error",I);const V={body:{},responseCode:I.status,errorMesg:"SERVER_ERROR",headers:I.headers,requestHeaders:L.headers};try{try{I.body=JSON.parse(I.error)}catch(q){if(V.body=I.error,I.status<=0)throw q}d.error(new Error)}catch{d.error(new Error),d.complete()}}),d}}return(u=s).\u0275fac=function(v){return new(v||u)},u.\u0275prov=P.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),s})();var te=E(5402);let se=(()=>{var u;class s{constructor(v,y){this.http=v,this.translate=y,this.requestInterceptors=[],this.responseInterceptors=[]}getBearerTokenInjectRequestInterceptor(){return this.bearerTokenInjectRequestInterceptor||(this.bearerTokenInjectRequestInterceptor=new k),this.bearerTokenInjectRequestInterceptor}fetch(v){var y=this;v.headers={...v.getHeaders(),...this.addGlobalHeader(v.language)},this.buildInterceptorsFromRequest(v);const f=(0,a.A)(function*(){let r;v=yield y.interceptRequest(v);try{switch(v.getType()){case T.kr.GET:r=yield(0,$.s)(y.http.get(v.getHost()||"this.host",v.getPath(),v.headers,v.getParameters()));break;case T.kr.PATCH:r=yield(0,$.s)(y.http.patch(v.getHost()||"this.host",v.getPath(),v.headers,v.body));break;case T.kr.POST:r=yield(0,$.s)(y.http.post(v.getHost()||"this.host",v.getPath(),v.headers,v.getBody()));break;default:throw new Error("Unsupported type")}return yield y.interceptResponse(v,r)}catch(d){const L=I=>{if(I.responseCode>=400&&I.responseCode<=499)throw new O(`\n ${v.host+v.path} -\n ${I.errorMesg||""}\n `,I);if(I.responseCode>=500&&I.responseCode<=599)throw new U(`\n ${v.host+v.path} -\n ${I.errorMesg||""}\n `,I);return I};if(!O.isInstance(d)&&!U.isInstance(d))throw d;try{return r=yield y.interceptResponse(v,d.response),L(r)}catch(I){if(I.responseCode)return L(I);throw I}}})();return(0,S.H)(f)}addGlobalHeader(v){var y,f;let r=v||this.translate.currentLang;return{Accept:"application/json","Content-Type":"application/json","Access-Control-Allow-Origin":"*","X-device-id":null===(y=C.f.getInstance().getConfig().deviceInfo)||void 0===y?void 0:y.did,"X-Source":"mobileapp","X-Request-ID":(0,j.A)(),"X-CONSUMER-ID":null===(f=C.f.getInstance().getConfig().deviceInfo)||void 0===f?void 0:f.did,...r?{"x-preferred-language":r}:{}}}interceptRequest(v){var y=this;return(0,a.A)(function*(){const f=[];for(const r of y.requestInterceptors)f.push(r);for(const r of v.requestInterceptors)f.push(r);for(const r of f)v=yield(0,$.s)(r.interceptRequest(v));return v})()}interceptResponse(v,y){var f=this;return(0,a.A)(function*(){const r=[];for(const d of f.responseInterceptors)r.push(d);for(const d of v.getResponseInterceptors())r.push(d);for(const d of r)y=yield(0,$.s)(d.interceptResponse(v,y));if(y.responseCode!==T.xl.HTTP_SUCCESS)throw y;return y})()}buildInterceptorsFromRequest(v){v.withBearerToken&&-1===v.requestInterceptors.indexOf(this.bearerTokenInjectRequestInterceptor)&&v.requestInterceptors.push(this.getBearerTokenInjectRequestInterceptor())}}return(u=s).\u0275fac=function(v){return new(v||u)(P.KVO(me),P.KVO(te.c$))},u.\u0275prov=P.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),s})();var m=E(2904),n=E(8974);let o=(()=>{var u;class s{constructor(v,y,f,r){var d=this;this.httpService=v,this.storageService=y,this.utilService=f,this.toastController=r,this.connected=!0,this.language="",this.defaultRequestInterceptors=[],this.defaultResponseInterceptors=[],B.l.addListener("networkStatusChange",function(){var L=(0,a.A)(function*(I){d.connected=I.connected});return function(I){return L.apply(this,arguments)}}()),this.toastController.create({animated:!1}).then(L=>{L.present(),L.dismiss()}),this.storageService.getData("lang").then(L=>{this.language=L})}getBearerTokenRefreshInterceptor(){return this.bearerTokenRefreshInterceptor||(this.bearerTokenRefreshInterceptor=new A(this.storageService,this,this.utilService)),this.bearerTokenRefreshInterceptor}onInit(){return(0,S.H)(this.storageService.getData("api_token")).pipe((0,p.Z)(v=>v?(C.f.getInstance().getConfig().authentication.bearerToken=v,(0,c.of)(void 0)):new F(this,this.utilService).refreshAuthToken().pipe((0,p.Z)(y=>(C.f.getInstance().getConfig().authentication.bearerToken=y,(0,S.H)(this.storageService.setData("api_token",y)))),(0,R.W)(()=>(0,c.of)(void 0)))))}fetch(v){if(this.defaultRequestInterceptors.forEach(y=>{-1===v.getRequestInterceptors().indexOf(y)&&v.getRequestInterceptors().push(y)}),this.defaultResponseInterceptors.forEach(y=>{-1===v.getResponseInterceptors().indexOf(y)&&v.getResponseInterceptors().push(y)}),v.withBearerToken){const y=v.getResponseInterceptors().indexOf(this.getBearerTokenRefreshInterceptor());-1===y?v.getResponseInterceptors().push(this.bearerTokenRefreshInterceptor):v.getResponseInterceptors().splice(y,1)}return this.httpService.fetch(v).pipe((0,R.W)(y=>(0,D.$)(()=>y)))}setDefaultRequestInterceptors(v){this.defaultRequestInterceptors=v}setDefaultResponseInterceptors(v){this.defaultResponseInterceptors=v}}return(u=s).\u0275fac=function(v){return new(v||u)(P.KVO(se),P.KVO(m.n$),P.KVO(m.a0),P.KVO(n.K_))},u.\u0275prov=P.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),s})()},985:(Ce,ee,E)=>{"use strict";E.d(ee,{_g:()=>p,kr:()=>a,xl:()=>S});var a=function(R){return R.GET="GET",R.POST="POST",R.PATCH="PATCH",R.DELETE="DELETE",R.PUT="PUT",R}(a||{}),S=function(R){return R[R.HTTP_UNAUTHORISED=401]="HTTP_UNAUTHORISED",R[R.HTTP_FORBIDDEN=403]="HTTP_FORBIDDEN",R[R.HTTP_SUCCESS=200]="HTTP_SUCCESS",R[R.HTTP_BAD_REQUEST=400]="HTTP_BAD_REQUEST",R[R.HTTP_KONG_FAILURE=447]="HTTP_KONG_FAILURE",R[R.HTTP_INTERNAL_SERVER_ERROR=500]="HTTP_INTERNAL_SERVER_ERROR",R}(S||{});let p=(()=>{var R;class c{getWithBearerToken(){return this._withBearerToken}setWithBearerToken(C){this._withBearerToken=C}getBody(){return this._body}constructor(){this.requestInterceptors=[],this.responseInterceptors=[],this.withBearerToken=!1,this.withUserToken=!1,this.headers={},this.body={},this.parameters={},this._responseInterceptors=[],this._withBearerToken=!1,this._headers={},this._body={},this._parameters={},this._withUserToken=!1,this._requestInterceptors=[]}setPath(C){this._path=C}getType(){return this._type}setResponseInterceptors(C){this._responseInterceptors=C}setHeaders(C){this._headers=C}setBody(C){this._body=C}getPath(){return this._path}setType(C){this._type=C}getResponseInterceptors(){return this._responseInterceptors}getHeaders(){return this._headers}getParameters(){return this._parameters}setParameters(C){this._parameters=C}getWithUserToken(){return this._withUserToken}setWithUserToken(C){this._withUserToken=C}getRequestInterceptors(){return this._requestInterceptors}getHost(){return this._host}}return(R=c).Builder=class{constructor(){this.request=new R}withHost(C){return this.request._host=C,this}withLanguge(C){return this.request.language=C,this}withPath(C){return this.request._path=C,this}withType(C){return this.request._type=C,this}withResponseInterceptor(C){return this.request._responseInterceptors.push(C),this}withRequestInterceptor(C){return this.request._requestInterceptors.push(C),this}withHeaders(C){return this.request._headers=C,this}withBody(C){return this.request._body=C,this}withParameters(C){return this.request._parameters=C,this}withBearerToken(C){return this.request.withBearerToken=C,this}withUserToken(C){return this.request.withUserToken=C,this}build(){if(!this.request._path)throw new Error("withPath() is required");if(!this.request._type)throw new Error("withType() is required");return this.request}},c})()},3568:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>g});var a=E(467),S=E(5083),p=function(F){return F.Dark="DARK",F.Light="LIGHT",F.Default="DEFAULT",F}(p||{}),R=function(F){return F.None="NONE",F.Slide="SLIDE",F.Fade="FADE",F}(R||{});const C=(0,S.F3)("StatusBar");var w=E(1413),T=E(8941),_=E(4438);let g=(()=>{var F;class A{constructor(){this.appName="",this.headerEvent=new w.B,this.headerEventEmitted$=this.headerEvent.asObservable(),this.headerConfig=new w.B,this.headerConfigEmitted$=this.headerConfig.asObservable(),this.deviceBackbtnConfig=new w.B,this.deviceBackbtnEmitted$=this.deviceBackbtnConfig.asObservable(),this.filterConfig=new w.B,this.filterConfigEmitted$=this.filterConfig.asObservable(),this.sideMenuItemEvent=new w.B,this.sideMenuItemEventEmitted$=this.sideMenuItemEvent.asObservable(),T.q.getInfo().then(P=>{this.appName=P.name})}filterEvent(P){this.filterConfig.next(P)}sidebarEvent(P){this.headerEvent.next(P.name)}sideMenuItemEvents(P){this.sideMenuItemEvent.next(null==P?void 0:P.filter)}updatePageConfig(P){this.headerConfig.next(P)}deviceBackBtnEvent(P){this.deviceBackbtnConfig.next(P)}hideHeader(){var P=this;return(0,a.A)(function*(){const $=P.getDefaultPageConfig();$.showHeader=!1,P.updatePageConfig($)})()}getDefaultPageConfig(){return{showHeader:!0,pageTitle:this.appName,showbackButton:!1,actionButtons:[""]}}showHeader(P,$,k){var M=this;return(0,a.A)(function*(){const O=M.getDefaultPageConfig();O.pageTitle=null!=P?P:M.appName,O.showbackButton=null!=$&&$,O.actionButtons=null!=k?k:[""],M.updatePageConfig(O)})()}hideStatusBar(){C.hide()}showStatusBar(P,$){C.show({animation:R.None}),C.setStyle({style:$?p.Dark:p.Light}),C.setBackgroundColor({color:null!=$?$:"#FFFAEE"}),C.setOverlaysWebView({overlay:P})}}return(F=A).\u0275fac=function(P){return new(P||F)},F.\u0275prov=_.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),A})()},4447:(Ce,ee,E)=>{"use strict";E.d(ee,{i:()=>A});var a=E(467),S=E(5083),p=function(B){return B[B.UNKNOWN=0]="UNKNOWN",B[B.UPDATE_NOT_AVAILABLE=1]="UPDATE_NOT_AVAILABLE",B[B.UPDATE_AVAILABLE=2]="UPDATE_AVAILABLE",B[B.UPDATE_IN_PROGRESS=3]="UPDATE_IN_PROGRESS",B}(p||{});const D=(0,S.F3)("AppUpdate",{web:()=>E.e(5959).then(E.bind(E,5959)).then(B=>new B.AppUpdateWeb)});var C=E(4438),w=E(8974),T=E(5402);let _=(()=>{var B;class P{constructor(k){this.popoverCtrl=k}ngOnInit(){}handleButtonAction(k){this.popoverCtrl.dismiss(k)}}return(B=P).\u0275fac=function(k){return new(k||B)(C.rXU(w.IE))},B.\u0275cmp=C.VBU({type:B,selectors:[["app-app-update"]],decls:18,vars:12,consts:[["lines","none"],["slot","end"],[3,"click"]],template:function(k,M){1&k&&(C.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),C.EFF(3),C.nI1(4,"translate"),C.k0s()(),C.j41(5,"ion-content")(6,"ion-item",0)(7,"ion-label"),C.EFF(8),C.nI1(9,"translate"),C.k0s()()(),C.j41(10,"ion-toolbar")(11,"ion-buttons",1)(12,"ion-button",2),C.bIt("click",function(){return M.handleButtonAction("cancel")}),C.EFF(13),C.nI1(14,"translate"),C.k0s(),C.j41(15,"ion-button",2),C.bIt("click",function(){return M.handleButtonAction("restart")}),C.EFF(16),C.nI1(17,"translate"),C.k0s()()()()),2&k&&(C.R7$(3),C.JRh(C.bMT(4,4,"Update Downloaded")),C.R7$(5),C.SpI(" ",C.bMT(9,6,"The update has been downloaded. Would you like to restart the app to complete the update now?")," "),C.R7$(5),C.JRh(C.bMT(14,8,"Later")),C.R7$(3),C.JRh(C.bMT(17,10,"Restart Now")))},dependencies:[w.Jm,w.QW,w.W9,w.eU,w.uz,w.he,w.BC,w.ai,T.D9],styles:["ion-content[_ngcontent-%COMP%]{--padding-top: 0px !important}ion-button[_ngcontent-%COMP%]{color:var(--ion-color-primary)}"]}),P})();var g=E(3021),F=E(4517);let A=(()=>{var B;class P{constructor(k,M,O){this.router=k,this.platform=M,this.popoverController=O,this.forDeepLink=!1,this.showListPage=!1}checkForUpdate(){var k=this;return(0,a.A)(function*(){const M=yield D.getAppUpdateInfo();console.log("Update available:",M.updateAvailability===p.UPDATE_AVAILABLE),M.updateAvailability===p.UPDATE_AVAILABLE&&k.platform.is("android")&&(M.immediateUpdateAllowed?yield D.performImmediateUpdate():M.flexibleUpdateAllowed&&(yield D.startFlexibleUpdate(),D.addListener("onFlexibleUpdateStateChange",(0,a.A)(function*(){let O=yield k.popoverController.create({component:_,cssClass:"update-modal",translucent:!0,dismissOnSelect:!0});yield O.present(),O.onDidDismiss().then(U=>{"restart"==U.data&&D.completeFlexibleUpdate()})}))))})()}}return(B=P).\u0275fac=function(k){return new(k||B)(C.KVO(g.Ix),C.KVO(F.OD),C.KVO(w.IE))},B.\u0275prov=C.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),P})()},6011:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>c});var a=E(467),S=E(4438),p=E(4591),R=E(1765);let c=(()=>{var D;class C{constructor(T,_){this.dbService=T,this.telemetryService=_}initialize(){var T=this;return(0,a.A)(function*(){yield T.dbService.initializePlugin()})()}}return(D=C).\u0275fac=function(T){return new(T||D)(S.KVO(p.a),S.KVO(R.H))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},4999:(Ce,ee,E)=>{"use strict";E.d(ee,{O:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="chat",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_MESSAGE="message",p.COLUMN_NAME_BOT_TYPE="bot_type",p.COLUMN_NAME_FROM_ME="from_me",p.COLUMN_NAME_REACTIONS="reactions",p.COLUMN_NAME_REQUEST_ID="request_id",p.COLUMN_NAME_MEDIA_TYPE="media_type",p.COLUMN_NAME_MEDIA_DATA="media_data",p.COLUMN_NAME_MEDIA_PATH="media_path",p.COLUMN_NAME_DURATION="duration",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT"+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MESSAGE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_BOT_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_FROM_ME+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_REACTIONS+a.K.SPACE+a.K.INT_TYPE+" DEFAULT -1"+a.K.COMMA_SEP+p.COLUMN_NAME_REQUEST_ID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_DATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_PATH+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_DURATION+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_MESSAGE},\n ${p.COLUMN_NAME_BOT_TYPE},\n ${p.COLUMN_NAME_FROM_ME},\n ${p.COLUMN_NAME_MEDIA_TYPE},\n ${p.COLUMN_NAME_MEDIA_DATA},\n ${p.COLUMN_NAME_MEDIA_PATH},\n ${p.COLUMN_NAME_DURATION},\n ${p.COLUMN_NAME_TIME_STAMP},\n ${p.COLUMN_NAME_REACTIONS}) \n VALUES (?,?,?,?,?,?,?,?,?,?)`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p}(S||{})},3871:(Ce,ee,E)=>{"use strict";E.d(ee,{d:()=>c});var a=E(467),S=E(4438),p=E(3486);let c=(()=>{var D;class C{constructor(T){this.storageService=T}initStorage(){var T=this;return(0,a.A)(function*(){const _=(new Date).getTime()+36e5;(yield T.storageService.getData("firstTimeLoad"))||(yield T.storageService.setData("firstTimeLoad","true")),(yield T.storageService.getData("validTimeStamp"))||T.storageService.setData("validTimeStamp",JSON.stringify(_))})()}getCacheTimeout(){var T=this;return(0,a.A)(function*(){let _=yield T.storageService.getData("firstTimeLoad"),g=(new Date).getTime(),F=yield T.storageService.getData("validTimeStamp");return console.log("***** ",F,JSON.parse(F)),g>JSON.parse(F)?(T.storageService.removeData("validTimeStamp"),T.initStorage(),!0):"true"===_&&(yield T.storageService.setData("firstTimeLoad","false"),!0)})()}}return(D=C).\u0275fac=function(T){return new(T||D)(S.KVO(p.n))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3696:(Ce,ee,E)=>{"use strict";E.d(ee,{w:()=>T});var a=E(467),S=E(3172),p=E(985),R=E(3207),c=E(6354),D=E(9437),C=E(4438),w=E(2700);let T=(()=>{var _;class g{constructor(A){this.apiService=A}getConfigMeta(){var A=this;return(0,a.A)(function*(){const B=(new p._g.Builder).withHost(S.$.api.BASE_URL).withPath(S.$.api.CONFIG).withType(p.kr.GET).withBearerToken(!0).build();return(0,R.s)(A.apiService.fetch(B)).then(P=>{if(console.log("res in config file ",null==P?void 0:P.body.result),null!=P&&P.body.result)return null==P?void 0:P.body.result}).catch(P=>{console.log("err ",P)})})()}getAllContent(A,B){var P=this;return(0,a.A)(function*(){let $={language:B};const k=(new p._g.Builder).withHost(S.$.api.BASE_URL).withPath(S.$.api.PAGE_SEARCH_API).withType(p.kr.POST).withBearerToken(!0).withBody($).withLanguge(B).build();return(0,R.s)(P.apiService.fetch(k).pipe((0,c.T)(M=>M.body.result),(0,D.W)(M=>{throw M})))})()}}return(_=g).\u0275fac=function(A){return new(A||_)(C.KVO(w.G))},_.\u0275prov=C.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),g})()},444:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>P});var a=E(467),S=E(532),p=E(5396),R=E(4870);class c{static mapContentToRecentlyViewedContentEntry(k,M,O){return{[p.a.COLUMN_NAME_IDENTIFIER]:O,[p.a.COLUMN_NAME_CONTENT_IDENTIFIER]:k.metaData.identifier,[p.a.COLUMN_NAME_UID]:M,[p.a.COLUMN_NAME_CONTENT_METADATA]:JSON.stringify(k.metaData),[p.a.COLUMN_NAME_MIME_TYPE]:k.metaData.mimetype,[p.a.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(k,M){return[k.metaData.identifier,M,k.metaData.mimetype,Date.now()]}}class D{static mapContentRVCtoRecentlyViedContent(k,M){const O=JSON.parse(k.content_metadata);return O.isLiked=!!k.reaction_identifier,k.content_metadata=JSON.stringify(O),k.metadata=k.content_metadata,{uid:k.uid,rvIdentifier:M,contentIdentifier:k.identifier,source:k.source,sourceType:k.source_type,metaData:JSON.parse(k.content_metadata)}}}var C=E(6421),w=E(56),T=E(985),_=E(3207),g=E(742),F=E(4438),A=E(2904),B=E(2700);let P=(()=>{var $;class k{constructor(O,U){this.dbService=O,this.apiService=U,this.results=[]}deleteAllContents(){return this.dbService.remove(S.a.deleteQuery(),{source:"djp"})}saveContents(O){const U=[];return O.map(j=>{U.push({statement:S.a.insertQuery(),values:R.Z.mapContentToValues(j)})}),this.dbService.executeSet(U)}getRecentlyViewedContent(O){var U=this;return(0,a.A)(function*(){const j=`SELECT rvc.* ,c.*, cr.content_identifier as reaction_identifier\n FROM ${p.a.TABLE_NAME} rvc\n LEFT JOIN ${S.a.TABLE_NAME} c ON rvc.content_identifier=c.identifier \n LEFT JOIN ${g.S.TABLE_NAME} cr ON rvc.content_identifier = reaction_identifier \n where rvc.uid='${O}' ORDER BY rvc.ts DESC`,W=yield U.dbService.executeQuery(j),ie=[];return null==W||W.map(me=>{ie.push(D.mapContentRVCtoRecentlyViedContent(me,(0,C.A)()))}),Promise.resolve(ie)})()}getAllContent(){var O=this;return(0,a.A)(function*(){const j=[];return O.dbService.readDbData(`SELECT c.*, cr.content_identifier from ${S.a.TABLE_NAME} c LEFT JOIN ${g.S.TABLE_NAME} cr ON c.identifier = cr.content_identifier WHERE ${S.a.COLUMN_NAME_SOURCE} NOT IN ('local', 'dialcode') ORDER BY ${S.a.COLUMN_NAME_TIME_STAMP}`).then(W=>(W.map(ie=>{const me=JSON.parse(ie.metadata);ie.metaData=me,j.push(ie)}),Promise.resolve(j)))})()}likeContent(O,U,j){var W=this;return(0,a.A)(function*(){return j?W.dbService.readDbData(g.S.readQuery(),{content_identifier:O.metaData.identifier}).then(ie=>{const me=ie?g.S.updateQuery():g.S.insertQuery(),te=ie?{content_identifier:O.metaData.identifier,uid:U}:void 0;return W.dbService.save(me,R.Z.mapContentReactionEntry(O.metaData.identifier,"guest"),te)}):W.dbService.remove(g.S.deleteQuery(),{content_identifier:O.metaData.identifier,uid:U})})()}markContentAsViewed(O){var U=this;return(0,a.A)(function*(){return(yield U.dbService.readDbData(S.a.readQuery(),{identifier:O.metaData.identifier}))||(yield U.dbService.executeSet([{statement:S.a.insertQuery(),values:R.Z.mapContentToValues(O)}])),U.dbService.readDbData(p.a.readQuery(),{content_identifier:O.metaData.identifier}).then(W=>{const ie=W?p.a.updateQuery():p.a.insertQuery(),me=W?{identifier:O.metaData.identifier}:void 0;return U.dbService.save(ie,c.mapContentToRecentlyViewedContentEntry(O,"guest",(0,C.A)()),me)})})()}searchContentInDiksha(O){let U={request:{filters:{channel:"",primaryCategory:["Collection","Resource","Content Playlist","Course","Course Assessment","Digital Textbook","eTextbook","Explanation Content","Learning Resource","Practice Question Set","Teacher Resource","Textbook Unit","LessonPlan","FocusSpot","Learning Outcome Definition","Curiosity Questions","MarkingSchemeRubric","ExplanationResource","ExperientialResource","Practice Resource","TVLesson","Question paper"],visibility:["Default","Parent"]},limit:100,query:O,sort_by:{lastPublishedOn:"desc"},fields:["name","appIcon","mimeType","gradeLevel","identifier","medium","pkgVersion","board","subject","resourceType","primaryCategory","contentType","channel","organisation","trackable"],softConstraints:{badgeAssertions:98,channel:100},mode:"soft",facets:["se_boards","se_gradeLevels","se_subjects","se_mediums","primaryCategory"],offset:0}};const j=(new T._g.Builder).withHost("https://diksha.gov.in/").withPath("api/content/v1/search").withType(T.kr.POST).withBody(U).build();return(0,_.s)(this.apiService.fetch(j))}getCollectionHierarchy(O){const U=(new T._g.Builder).withHost("https://diksha.gov.in/action/content/v3/hierarchy/").withPath(`${O}`).withType(T.kr.GET).build();return(0,_.s)(this.apiService.fetch(U))}getContents(O){return this.searchContentInDiksha(O).then(U=>{var j;return null!==(j=U.body.result)&&void 0!==j&&null!==(j=j.content)&&void 0!==j&&j.length?this.getCollectionHierarchy(U.body.result.content[0].identifier):""}).then(U=>{this.results=[];const j=[];return U&&(this.showAllChild(U.body.result.content),this.results.map(W=>{j.push({source:"dialcode",sourceType:"Diksha",metaData:{identifier:null==W?void 0:W.identifier,name:null==W?void 0:W.name,thumbnail:null==W?void 0:W.posterImage,description:null==W?void 0:W.name,mimetype:(null==W?void 0:W.mimetype)||(null==W?void 0:W.mimeType),url:null==W?void 0:W.streamingUrl,focus:null==W?void 0:W.focus,keyword:null==W?void 0:W.keyword,domain:null==W?void 0:W.domain,curriculargoal:null==W?void 0:W.curriculargoal,competencies:null==W?void 0:W.competencies,language:null==W?void 0:W.language,category:null==W?void 0:W.category,audience:null==W?void 0:W.audience,status:null==W?void 0:W.status,createdon:null==W?void 0:W.createdOn,lastupdatedon:(null==W?void 0:W.lastupdatedon)||(null==W?void 0:W.lastUpdatedOn),artifactUrl:null==W?void 0:W.artifactUrl}})})),j}).catch(U=>{throw console.error(U),U})}showAllChild(O){let U=w.z5.VIDEOS;U.indexOf(w.z5.PDF)>-1||U.push(w.z5.PDF),void 0!==O.children&&O.children.length?(O.children.forEach(j=>{this.showAllChild(j)}),console.log("Results",this.results)):U.indexOf(O.mimeType)>-1&&this.results.push(O)}readDikshaContents(O){const U=(new T._g.Builder).withHost("https://diksha.gov.in/api/content/v1/read/").withPath(`${O}`).withType(T.kr.GET).build();return(0,_.s)(this.apiService.fetch(U))}}return($=k).\u0275fac=function(O){return new(O||$)(F.KVO(A.at),F.KVO(B.G))},$.\u0275prov=F.jDH({token:$,factory:$.\u0275fac,providedIn:"root"}),k})()},742:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="content_reactions",p._ID="_id",p.COLUMN_NAME_CONTENT_IDENTIFIER="content_identifier",p.COLUMN_NAME_REACTION_IDENTIFIER="reaction_identifier",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.insertQueryWithColoumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_CONTENT_IDENTIFIER},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?)`,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p}(S||{})},532:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_SOURCE="source",p.COLUMN_NAME_SOURCE_TYPE="source_type",p.COLUMN_NAME_METADATA="metadata",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+NaN+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_METADATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_SOURCE},\n ${p.COLUMN_NAME_SOURCE_TYPE},\n ${p.COLUMN_NAME_METADATA},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?,?,?)`,p}(S||{})},5396:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="recently_viewed_content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_CONTENT_IDENTIFIER="content_identifier",p.COLUMN_NAME_CONTENT_METADATA="content_metadata",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_MIME_TYPE="mime_type",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY"+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_METADATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MIME_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.deleteTable=()=>"DROP TABLE IF EXISTS"+p.TABLE_NAME,p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_CONTENT_IDENTIFIER},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_CONTENT_METADATA},\n ${p.COLUMN_NAME_MIME_TYPE},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?,?,?,?)`,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p}(S||{})},4870:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>p});var a=E(742),S=E(532);class p{static mapContentToContentEntry(c){return{[S.a.COLUMN_NAME_IDENTIFIER]:c.metaData.identifier,[S.a.COLUMN_NAME_SOURCE]:c.source,[S.a.COLUMN_NAME_SOURCE_TYPE]:c.sourceType,[S.a.COLUMN_NAME_METADATA]:JSON.stringify(c.metaData),[S.a.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(c){return[c.metaData.identifier,c.source,c.sourceType,JSON.stringify(c.metaData),Date.now()]}static mapContentReactionEntry(c,D){return{[a.S.COLUMN_NAME_CONTENT_IDENTIFIER]:c,[a.S.COLUMN_NAME_UID]:D,[a.S.COLUMN_NAME_TIME_STAMP]:Date.now()}}}},4591:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>$});var a=E(467),S=E(5083);class p{constructor(M){this.sqlite=M,this._connectionDict=new Map}initWebStore(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.initWebStore(),Promise.resolve()}catch(O){return Promise.reject(O)}})()}saveToStore(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.saveToStore({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}saveToLocalDisk(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.saveToLocalDisk({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getFromLocalDiskToStore(M){var O=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield O.sqlite.getFromLocalDiskToStore({overwrite:U}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}echo(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.echo({value:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isSecretStored(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isSecretStored();return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}setEncryptionSecret(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.setEncryptionSecret({passphrase:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}changeEncryptionSecret(M,O){var U=this;return(0,a.A)(function*(){try{return yield U.sqlite.changeEncryptionSecret({passphrase:M,oldpassphrase:O}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}clearEncryptionSecret(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.clearEncryptionSecret(),Promise.resolve()}catch(O){return Promise.reject(O)}})()}checkEncryptionSecret(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.checkEncryptionSecret({passphrase:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}addUpgradeStatement(M,O){var U=this;return(0,a.A)(function*(){try{return M.endsWith(".db")&&(M=M.slice(0,-3)),yield U.sqlite.addUpgradeStatement({database:M,upgrade:O}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}createConnection(M,O,U,j,W){var ie=this;return(0,a.A)(function*(){try{M.endsWith(".db")&&(M=M.slice(0,-3)),yield ie.sqlite.createConnection({database:M,encrypted:O,mode:U,version:j,readonly:W});const me=new R(M,W,ie.sqlite);return ie._connectionDict.set(W?`RO_${M}`:`RW_${M}`,me),Promise.resolve(me)}catch(me){return Promise.reject(me)}})()}closeConnection(M,O){var U=this;return(0,a.A)(function*(){try{return M.endsWith(".db")&&(M=M.slice(0,-3)),yield U.sqlite.closeConnection({database:M,readonly:O}),U._connectionDict.delete(O?`RO_${M}`:`RW_${M}`),Promise.resolve()}catch(j){return Promise.reject(j)}})()}isConnection(M,O){var U=this;return(0,a.A)(function*(){const j={};return M.endsWith(".db")&&(M=M.slice(0,-3)),j.result=U._connectionDict.has(O?`RO_${M}`:`RW_${M}`),Promise.resolve(j)})()}retrieveConnection(M,O){var U=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));const j=O?`RO_${M}`:`RW_${M}`;if(U._connectionDict.has(j)){const W=U._connectionDict.get(j);return typeof W<"u"?Promise.resolve(W):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}getNCDatabasePath(M,O){var U=this;return(0,a.A)(function*(){try{const j=yield U.sqlite.getNCDatabasePath({path:M,database:O});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}createNCConnection(M,O){var U=this;return(0,a.A)(function*(){try{yield U.sqlite.createNCConnection({databasePath:M,version:O});const j=new R(M,!0,U.sqlite);return U._connectionDict.set(`RO_${M})`,j),Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}closeNCConnection(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.closeNCConnection({databasePath:M}),O._connectionDict.delete(`RO_${M})`),Promise.resolve()}catch(U){return Promise.reject(U)}})()}isNCConnection(M){var O=this;return(0,a.A)(function*(){const U={};return U.result=O._connectionDict.has(`RO_${M})`),Promise.resolve(U)})()}retrieveNCConnection(M){var O=this;return(0,a.A)(function*(){if(O._connectionDict.has(M)){const j=O._connectionDict.get(`RO_${M})`);return typeof j<"u"?Promise.resolve(j):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}isNCDatabase(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.isNCDatabase({databasePath:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}retrieveAllConnections(){var M=this;return(0,a.A)(function*(){return M._connectionDict})()}closeAllConnections(){var M=this;return(0,a.A)(function*(){const O=new Map;try{for(const U of M._connectionDict.keys()){const j=U.substring(3),W="RO_"===U.substring(0,3);yield M.sqlite.closeConnection({database:j,readonly:W}),O.set(U,null)}for(const U of O.keys())M._connectionDict.delete(U);return Promise.resolve()}catch(U){return Promise.reject(U)}})()}checkConnectionsConsistency(){var M=this;return(0,a.A)(function*(){try{const O=[...M._connectionDict.keys()],U=[],j=[];for(const ie of O)U.push(ie.substring(0,2)),j.push(ie.substring(3));const W=yield M.sqlite.checkConnectionsConsistency({dbNames:j,openModes:U});return W.result||(M._connectionDict=new Map),Promise.resolve(W)}catch(O){return M._connectionDict=new Map,Promise.reject(O)}})()}importFromJson(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.importFromJson({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isJsonValid(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.isJsonValid({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}copyFromAssets(M){var O=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield O.sqlite.copyFromAssets({overwrite:U}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}getFromHTTPRequest(M,O){var U=this;return(0,a.A)(function*(){const j=null==O||O;try{return yield U.sqlite.getFromHTTPRequest({url:M,overwrite:j}),Promise.resolve()}catch(W){return Promise.reject(W)}})()}isDatabaseEncrypted(M){var O=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield O.sqlite.isDatabaseEncrypted({database:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isInConfigEncryption(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isInConfigEncryption();return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}isInConfigBiometricAuth(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isInConfigBiometricAuth();return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}isDatabase(M){var O=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield O.sqlite.isDatabase({database:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}getDatabaseList(){var M=this;return(0,a.A)(function*(){try{const U=(yield M.sqlite.getDatabaseList()).values;return U.sort(),Promise.resolve({values:U})}catch(O){return Promise.reject(O)}})()}getMigratableDbList(M){var O=this;return(0,a.A)(function*(){const U=M||"default";try{const j=yield O.sqlite.getMigratableDbList({folderPath:U});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}addSQLiteSuffix(M,O){var U=this;return(0,a.A)(function*(){const j=M||"default",W=O||[];try{const ie=yield U.sqlite.addSQLiteSuffix({folderPath:j,dbNameList:W});return Promise.resolve(ie)}catch(ie){return Promise.reject(ie)}})()}deleteOldDatabases(M,O){var U=this;return(0,a.A)(function*(){const j=M||"default",W=O||[];try{const ie=yield U.sqlite.deleteOldDatabases({folderPath:j,dbNameList:W});return Promise.resolve(ie)}catch(ie){return Promise.reject(ie)}})()}moveDatabasesAndAddSuffix(M,O){var U=this;return(0,a.A)(function*(){return U.sqlite.moveDatabasesAndAddSuffix({folderPath:M||"default",dbNameList:O||[]})})()}}class R{constructor(M,O,U){this.dbName=M,this.readonly=O,this.sqlite=U}getConnectionDBName(){return this.dbName}getConnectionReadOnly(){return this.readonly}open(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.open({database:M.dbName,readonly:M.readonly}),Promise.resolve()}catch(O){return Promise.reject(O)}})()}close(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.close({database:M.dbName,readonly:M.readonly}),Promise.resolve()}catch(O){return Promise.reject(O)}})()}beginTransaction(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.beginTransaction({database:M.dbName});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}commitTransaction(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.commitTransaction({database:M.dbName});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}rollbackTransaction(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.rollbackTransaction({database:M.dbName});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}isTransactionActive(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isTransactionActive({database:M.dbName});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}loadExtension(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.loadExtension({database:O.dbName,path:M,readonly:O.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}enableLoadExtension(M){var O=this;return(0,a.A)(function*(){try{return yield O.sqlite.enableLoadExtension({database:O.dbName,toggle:M,readonly:O.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getUrl(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.getUrl({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}getVersion(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.getVersion({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}getTableList(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.getTableList({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}execute(M,O=!0,U=!0){var j=this;return(0,a.A)(function*(){try{if(j.readonly)return Promise.reject("not allowed in read-only mode");{const W=yield j.sqlite.execute({database:j.dbName,statements:M,transaction:O,readonly:!1,isSQL92:U});return Promise.resolve(W)}}catch(W){return Promise.reject(W)}})()}query(M,O,U=!0){var j=this;return(0,a.A)(function*(){let W;try{return W=O&&O.length>0?yield j.sqlite.query({database:j.dbName,statement:M,values:O,readonly:j.readonly,isSQL92:!0}):yield j.sqlite.query({database:j.dbName,statement:M,values:[],readonly:j.readonly,isSQL92:U}),W=yield j.reorderRows(W),Promise.resolve(W)}catch(ie){return Promise.reject(ie)}})()}run(M,O,U=!0,j="no",W=!0){var ie=this;return(0,a.A)(function*(){let me;try{return ie.readonly?Promise.reject("not allowed in read-only mode"):(me=O&&O.length>0?yield ie.sqlite.run({database:ie.dbName,statement:M,values:O,transaction:U,readonly:!1,returnMode:j,isSQL92:!0}):yield ie.sqlite.run({database:ie.dbName,statement:M,values:[],transaction:U,readonly:!1,returnMode:j,isSQL92:W}),me.changes=yield ie.reorderRows(me.changes),Promise.resolve(me))}catch(te){return Promise.reject(te)}})()}executeSet(M,O=!0,U="no",j=!0){var W=this;return(0,a.A)(function*(){let ie;try{return W.readonly?Promise.reject("not allowed in read-only mode"):(ie=yield W.sqlite.executeSet({database:W.dbName,set:M,transaction:O,readonly:!1,returnMode:U,isSQL92:j}),ie.changes=yield W.reorderRows(ie.changes),Promise.resolve(ie))}catch(me){return Promise.reject(me)}})()}isExists(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isDBExists({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}isTable(M){var O=this;return(0,a.A)(function*(){try{const U=yield O.sqlite.isTableExists({database:O.dbName,table:M,readonly:O.readonly});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isDBOpen(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.isDBOpen({database:M.dbName,readonly:M.readonly});return Promise.resolve(O)}catch(O){return Promise.reject(O)}})()}delete(){var M=this;return(0,a.A)(function*(){try{return M.readonly?Promise.reject("not allowed in read-only mode"):(yield M.sqlite.deleteDatabase({database:M.dbName,readonly:!1}),Promise.resolve())}catch(O){return Promise.reject(O)}})()}createSyncTable(){var M=this;return(0,a.A)(function*(){try{if(M.readonly)return Promise.reject("not allowed in read-only mode");{const O=yield M.sqlite.createSyncTable({database:M.dbName,readonly:!1});return Promise.resolve(O)}}catch(O){return Promise.reject(O)}})()}setSyncDate(M){var O=this;return(0,a.A)(function*(){try{return O.readonly?Promise.reject("not allowed in read-only mode"):(yield O.sqlite.setSyncDate({database:O.dbName,syncdate:M,readonly:!1}),Promise.resolve())}catch(U){return Promise.reject(U)}})()}getSyncDate(){var M=this;return(0,a.A)(function*(){try{const O=yield M.sqlite.getSyncDate({database:M.dbName,readonly:M.readonly});let U="";return O.syncDate>0&&(U=new Date(1e3*O.syncDate).toISOString()),Promise.resolve(U)}catch(O){return Promise.reject(O)}})()}exportToJson(M,O=!1){var U=this;return(0,a.A)(function*(){try{const j=yield U.sqlite.exportToJson({database:U.dbName,jsonexportmode:M,readonly:U.readonly,encrypted:O});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}deleteExportedRows(){var M=this;return(0,a.A)(function*(){try{return M.readonly?Promise.reject("not allowed in read-only mode"):(yield M.sqlite.deleteExportedRows({database:M.dbName,readonly:!1}),Promise.resolve())}catch(O){return Promise.reject(O)}})()}executeTransaction(M,O=!0){var U=this;return(0,a.A)(function*(){let j=0,W=!1;if(U.readonly)return Promise.reject("not allowed in read-only mode");if(yield U.sqlite.beginTransaction({database:U.dbName}),W=yield U.sqlite.isTransactionActive({database:U.dbName}),!W)return Promise.reject("After Begin Transaction, no transaction active");try{for(const te of M){if("object"!=typeof te||!("statement"in te))throw new Error("Error a task.statement must be provided");if("values"in te&&te.values&&te.values.length>0){const se=te.statement.toUpperCase().includes("RETURNING")?"all":"no",m=yield U.sqlite.run({database:U.dbName,statement:te.statement,values:te.values,transaction:!1,readonly:!1,returnMode:se,isSQL92:O});if(m.changes.changes<=0)throw new Error("Error in transaction method run ");j+=m.changes.changes}else{const se=yield U.sqlite.execute({database:U.dbName,statements:te.statement,transaction:!1,readonly:!1});if(se.changes.changes<0)throw new Error("Error in transaction method execute ");j+=se.changes.changes}}return j+=(yield U.sqlite.commitTransaction({database:U.dbName})).changes.changes,Promise.resolve({changes:{changes:j}})}catch(ie){const me=ie.message?ie.message:ie;return yield U.sqlite.rollbackTransaction({database:U.dbName}),Promise.reject(me)}})()}reorderRows(M){return(0,a.A)(function*(){const O=M;if(null!=M&&M.values&&"object"==typeof M.values[0]&&Object.keys(M.values[0]).includes("ios_columns")){const U=M.values[0].ios_columns,j=[];for(let W=1;WE.e(4612).then(E.bind(E,4612)).then(k=>new k.CapacitorSQLiteWeb),electron:()=>window.CapacitorCustomPlatform.plugins.CapacitorSQLite});var D=E(56),C=E(1503),w=E(2798),T=E(5396),_=E(2814),g=E(532),F=E(5870),A=E(742),B=E(4999),P=E(4438);let $=(()=>{var k;class M{constructor(){}initializePlugin(){var U=this;return(0,a.A)(function*(){return U.platform=S.Ii.getPlatform(),U.sqlitePlugin=c,U.sqliteConnection=new p(U.sqlitePlugin),"web"===U.platform&&(yield U.initWebStore()),yield U.openDatabase(D.B$.dbName,!1,"no-encryption",D.B$.version,!1),yield U.createTable(_.C.getCreateEntry()),yield U.createTable(F.K.getCreateEntry()),yield U.createTable(g.a.getCreateEntry()),yield U.createTable(T.a.getCreateEntry()),yield U.createTable(w.J.getCreateEntry()),yield U.createTable(C.y.getCreateEntry()),yield U.createTable(A.S.getCreateEntry()),yield U.createTable(B.O.getCreateEntry()),!0})()}initWebStore(){var U=this;return(0,a.A)(function*(){try{yield U.sqliteConnection.initWebStore()}catch(j){return Promise.reject(`initWebStore: ${j}`)}})()}openDatabase(U,j,W,ie,me){var te=this;return(0,a.A)(function*(){let se;const m=(yield te.sqliteConnection.checkConnectionsConsistency()).result;let n=(yield te.sqliteConnection.isConnection(U,me)).result;return se=m&&n?yield te.sqliteConnection.retrieveConnection(U,me):yield te.sqliteConnection.createConnection(U,j,W,ie,me),yield se.open(),te.sqliteDBConnection=se,!0})()}closeConnection(U,j){var W=this;return(0,a.A)(function*(){const ie=j||!1;return yield W.sqliteConnection.closeConnection(U,ie)})()}createTable(U){var j=this;return(0,a.A)(function*(){try{const W=(yield j.sqliteDBConnection.query(U)).values;return W.length>0?W:null}catch(W){return Promise.reject(`create table err: ${W.message?W.message:W}`)}})()}executeQuery(U){var j=this;return(0,a.A)(function*(){try{const W=(yield j.sqliteDBConnection.query(U)).values;return W.length>0?W:null}catch(W){return Promise.reject(`select table err: ${W.message?W.message:W}`)}})()}executeSet(U){var j=this;return(0,a.A)(function*(){try{return yield j.sqliteDBConnection.executeSet(U)}catch(W){return Promise.reject(`create table err: ${W.message?W.message:W}`)}})()}readDbData(U,j,W){var ie=this;return(0,a.A)(function*(){try{if(j){const me=Object.keys(j)[0],te=`${U} WHERE ${me}='${j[me]}' ${W||""}`,se=(yield ie.sqliteDBConnection.query(te)).values;return se.length>0?se:null}{const me=(yield ie.sqliteDBConnection.query(U)).values;return me.length>0?me:null}}catch(me){return Promise.reject(`readDbData err: ${me.message?me.message:me}`)}})()}save(U,j,W){var ie=this;return(0,a.A)(function*(){const me=!!W,te=Object.keys(j);let n,se="",m=[];for(const o of te)m.push(j[o]);if(me){Object.keys(W);const u=yield ie.setNameForUpdate(te,m);if(0===u.length)return Promise.reject("save: update no SET");se=`${U} ${u} WHERE ${ie.getWhereStatement(W)}`;const s=yield ie.sqliteDBConnection.query(se);console.log("result",s)}else{const o=[];for(const u of te)o.push("?");if(se=`${U} (${te.toString()}) VALUES (${o.toString()});`,n=yield ie.sqliteDBConnection.run(se,m),console.log("ret",n),1!=n.changes.changes)return Promise.reject("save: insert changes != 1")}})()}remove(U,j){var W=this;return(0,a.A)(function*(){Object.keys(j);const me=`${U} WHERE ${W.getWhereStatement(j)};`;return(yield W.sqliteDBConnection.run(me)).changes})()}getWhereStatement(U){let j="";const W=Object.keys(U);for(let ie=0;ie1?(W=W.slice(0,-1),W):Promise.reject("SetNameForUpdate: length = 0")})()}}return(k=M).\u0275fac=function(U){return new(U||k)},k.\u0275prov=P.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),M})()},2814:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="telemtry",p._ID="_id",p.COLUMN_EVENT_TYPE="event_type",p.COLUMN_EVENT="event",p.COLUMN_TIMESTAMP="timestamp",p.COLUMN_PRIORITY="priority",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"+a.K.COMMA_SEP+p.COLUMN_EVENT_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_EVENT+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_TIMESTAMP+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_PRIORITY+a.K.SPACE+a.K.INT_TYPE+")",p.readDataEntries=()=>"SELECT * FROM "+p.TABLE_NAME,p.delteFromTable=()=>"DELETE FROM "+p.TABLE_NAME+" WHERE ",p.insertData=()=>"INSERT INTO "+p.TABLE_NAME,p.update=()=>"UPDATE "+p.TABLE_NAME+" SET ",p.deleteTable=()=>"DROP TABLE IF EXISTS "+p.TABLE_NAME,p}(S||{})},8402:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(467),S=E(2739),p=E(4438),R=E(8974),c=E(5402);let D=(()=>{var C;class w{constructor(_,g){this.toastController=_,this.translate=g}downlaodContent(_){var g=this;return(0,a.A)(function*(){var F;g.presentToast("Downloading ....");let A=_.metaData.artifactUrl?_.metaData.artifactUrl.split("/"):_.metaData.url.split("/");console.log(A,A[A.length-1]);let B=null!==(F=_.metaData.artifactUrl)&&void 0!==F?F:_.metaData.url;const $=yield(yield fetch(B)).blob();console.log("blob ",$);const k=yield g.convertBlobToBase64($);try{return yield S.YA.mkdir({path:"downloadedContents",directory:S.__.Data}),yield g.writeFileStorage(A,k)}catch{return yield g.writeFileStorage(A,k)}})()}writeFileStorage(_,g){var F=this;return(0,a.A)(function*(){try{let A=yield S.YA.writeFile({path:`downloadedContents/${_[_.length-1]}`,data:g,directory:S.__.Data});return yield F.toast.dismiss(),A.uri?yield F.presentToast("Downloaded successfully"):yield F.presentToast("Failed to download"),setTimeout((0,a.A)(function*(){yield F.toast.dismiss()}),100),A}catch(A){console.log("e ",A)}})()}presentToast(_){var g=this;return(0,a.A)(function*(){g.toast=yield g.toastController.create({message:g.translate.instant(_),position:"bottom",color:"dark"}),yield g.toast.present()})()}convertBlobToBase64(_){return new Promise((g,F)=>{const A=new FileReader;A.onerror=F,A.onload=()=>{g(A.result)},A.readAsDataURL(_)})}}return(C=w).\u0275fac=function(_){return new(_||C)(p.KVO(R.K_),p.KVO(c.c$))},C.\u0275prov=p.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}),w})()},2904:(Ce,ee,E)=>{"use strict";E.d(ee,{Gf:()=>C.G,Ux:()=>c.U,F_:()=>n,dk:()=>B.d,we:()=>w.w,at:()=>S.a,XU:()=>A,Ze:()=>o.Z,MK:()=>r,hs:()=>T.h,XI:()=>P.X,Sc:()=>$.S,n$:()=>a.n,q4:()=>_.q,H0:()=>R.H,a0:()=>D.a});var a=E(3486),S=E(4591),R=(E(6011),E(1765)),c=E(3568),D=E(2342),C=E(2700),w=E(3696),T=E(8014),_=E(7594),g=E(467),F=E(4438);let A=(()=>{var d;class L{constructor(V,q){this.apiService=V,this.preprocessService=q}process(V){return(0,g.A)(function*(){})()}}return(d=L).\u0275fac=function(V){return new(V||d)(F.KVO(C.G),F.KVO(T.h))},d.\u0275prov=F.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}),L})();var B=E(3871),P=E(9836),$=E(2186),k=E(3172),M=E(985),O=E(3207),U=E(6354),j=E(9437),W=E(56),ie=E(4999);class me{static mapChatToChatValues(L){return[L.identifier,L.message,L.botType,L.fromMe,L.mediaMimeType,L.mediaData,L.mediaUrl,L.duration,L.ts,L.reaction]}static mapChatToChatEntryToModel(L){return{identifier:L[ie.O.COLUMN_NAME_IDENTIFIER],message:L[ie.O.COLUMN_NAME_MESSAGE],messageType:L[ie.O.COLUMN_NAME_MEDIA_TYPE],botType:L[ie.O.COLUMN_NAME_BOT_TYPE],fromMe:L[ie.O.COLUMN_NAME_FROM_ME],mediaMimeType:L[ie.O.COLUMN_NAME_MEDIA_TYPE],mediaData:L[ie.O.COLUMN_NAME_MEDIA_DATA],mediaUrl:L[ie.O.COLUMN_NAME_MEDIA_PATH],duration:L[ie.O.COLUMN_NAME_DURATION],ts:L[ie.O.COLUMN_NAME_TIME_STAMP],reaction:L[ie.O.COLUMN_NAME_REACTIONS]}}}var te=E(2739),se=E(1626),m=E(5402);let n=(()=>{var d;class L{constructor(V,q,oe){this.apiService=V,this.translate=q,this.dbService=oe}getBotMessage(V,q,oe,ve){var Ae=this;return(0,g.A)(function*(){console.log("text ",V,""!==V),console.log("audio ",q,""!==q);let Q=Ae.getBotApiPath(oe),ae={input:{},output:{format:V?"text":"audio"}};""!==V?ae.input={language:ve,text:V,audio:"",context:oe}:""!==q&&(ae.input={language:ve,audio:q,text:"",context:oe});let tt=(new se.Lr).set("Authorization","Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtb2JpbGVfZGV2aWNlIn0.W9cvngZh0_Y6hcGCBqS8MZOejkUxU9ptnJFji6VBHtA").set("Content-Type","application/json");const Oe=tt.keys().reduce((Ie,Se)=>(Ie[Se]=tt.getAll(Se),Ie),{}),pe=(new M._g.Builder).withHost(k.$.api.BASE_URL_BOT).withPath(Q).withType(M.kr.POST).withHeaders(Oe).withBody(ae).withLanguge(ve).build();return(0,O.s)(Ae.apiService.fetch(pe).pipe((0,U.T)(Ie=>Ie),(0,j.W)(Ie=>{throw Ie})))})()}getBotApiPath(V){switch(V){case W.Zm.STORY:case W.Zm.PARENT:case W.Zm.TEACHER:return k.$.api.BOT_ACTIVITY_API_PATH;default:return""}}saveChatMessage(V){const q=[];return q.push({statement:ie.O.insertQueryWithColumns(),values:me.mapChatToChatValues(V)}),this.dbService.executeSet(q)}getAllChatMessages(V){return this.dbService.readDbData(ie.O.readQuery(),{bot_type:V}).then(q=>{const oe=[];return q&&q.length>0&&q.map(ve=>{oe.push(me.mapChatToChatEntryToModel(ve))}),oe})}updateMessageReactions(V,q){return this.dbService.executeQuery(`UPDATE ${ie.O.TABLE_NAME}\n SET ${ie.O.COLUMN_NAME_REACTIONS} = ${q}\n WHERE ${ie.O.COLUMN_NAME_IDENTIFIER} = '${V}';`)}deleteExpiredChatMessages(){var V=this;return(0,g.A)(function*(){const q=yield te.YA.readdir({path:"",directory:te.__.Data});for(let oe=0;oe864e5&&(yield te.YA.deleteFile({path:ve.uri,directory:te.__.Data})),V.dbService.executeQuery(`DELETE FROM ${ie.O.TABLE_NAME} WHERE ${ie.O.COLUMN_NAME_TIME_STAMP} <= strftime('%s', datetime('now', '-1 day'));`)}})()}}return(d=L).\u0275fac=function(V){return new(V||d)(F.KVO(C.G),F.KVO(m.c$),F.KVO(S.a))},d.\u0275prov=F.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}),L})();var o=E(8402);const h=(0,E(5083).F3)("LocalNotifications",{web:()=>E.e(4224).then(E.bind(E,4224)).then(d=>new d.LocalNotificationsWeb)});var v=E(1413),y=E(3021),f=E(1113);let r=(()=>{var d;class L{constructor(V,q){this.router=V,this.tabService=q,this.notifEvent=new v.B,this.notificationEventEmitted$=this.notifEvent.asObservable()}initializeLocalNotif(V){var q=this;return(0,g.A)(function*(){let oe=q;try{var ve,Ae,Q,ae;"granted"!==(yield h.checkPermissions()).display&&(yield h.requestPermissions());let pe={notifications:[{id:V.id,title:V.title,body:V.body,extra:V.extra,largeIcon:"res://drawable/ic_launcher",smallIcon:"res://drawable/ic_notification",schedule:{on:null===(ve=V.schedule)||void 0===ve?void 0:ve.on,repeats:null===(Ae=V.schedule)||void 0===Ae?void 0:Ae.repeats,every:null===(Q=V.schedule)||void 0===Q?void 0:Q.every,allowWhileIdle:null===(ae=V.schedule)||void 0===ae?void 0:ae.allowWhileIdle}}]};yield h.schedule(pe)}catch(tt){console.log("Error on local notification ",tt)}yield h.addListener("localNotificationActionPerformed",function(){var tt=(0,g.A)(function*(Oe){let pe=oe.router.location._locationStrategy._platformLocation._location;"/parent-sakhi"!==pe.pathname?(console.log("router page ",pe.pathname),oe.tabService.hide(),"/"===pe.pathname?setTimeout((0,g.A)(function*(){yield oe.router.navigate(["/parent-sakhi"],{state:{notif:Oe.notification}})}),3e3):yield oe.router.navigate(["/parent-sakhi"],{state:{notif:Oe.notification}})):q.notifEvent.next(Oe.notification)});return function(Oe){return tt.apply(this,arguments)}}())})()}cancelNotification(V){return(0,g.A)(function*(){try{yield h.cancel({notifications:[{id:V}]})}catch(q){console.log("Error on cancel local notification ",q)}})()}}return(d=L).\u0275fac=function(V){return new(V||d)(F.KVO(y.Ix),F.KVO(f.q))},d.\u0275prov=F.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}),L})()},1503:(Ce,ee,E)=>{"use strict";E.d(ee,{y:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="playlist_content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_PLAYLIST_IDENTIFIER="playlist_identifier",p.COLUMN_NAME_CONTENT_ID="content_id",p.COLUMN_NAME_CONTENT_METADATA="content_metadata",p.COLUMN_NAME_SOURCE_TYPE="type",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_PLAYLIST_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_ID+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_METADATA+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_PLAYLIST_IDENTIFIER},\n ${p.COLUMN_NAME_CONTENT_ID},\n ${p.COLUMN_NAME_CONTENT_METADATA},\n ${p.COLUMN_NAME_SOURCE_TYPE},\n ${p.COLUMN_NAME_TIME_STAMP}) \n VALUES (?,?,?,?,?,?)`,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.deleteQuery=()=>`DELETE FROM ${p.TABLE_NAME} WHERE \n ${p.COLUMN_NAME_IDENTIFIER} = ? AND \n ${p.COLUMN_NAME_PLAYLIST_IDENTIFIER} = ?`,p.deleteQueryOne=()=>`DELETE FROM ${p.TABLE_NAME}`,p.deleteTable=()=>"DROP TABLE IF EXISTS"+p.TABLE_NAME,p}(S||{})},2798:(Ce,ee,E)=>{"use strict";E.d(ee,{J:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="playlist",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_NAME="name",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_CONTENT_COUNT="content_count",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_NAME+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_COUNT+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_NAME},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_CONTENT_COUNT},\n ${p.COLUMN_NAME_TIME_STAMP}) \n VALUES (?,?,?,?,?)`,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p}(S||{})},7803:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>_});var a=E(467),S=E(2798);class p{static mapContentToPlayListEntry(F,A,B,P){return{[S.J.COLUMN_NAME_IDENTIFIER]:B,[S.J.COLUMN_NAME_NAME]:F,[S.J.COLUMN_NAME_UID]:A,[S.J.COLUMN_NAME_CONTENT_COUNT]:P,[S.J.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(F,A,B,P,$){return[F,A,B,$,P,Date.now()]}}var R=E(6421),c=E(1503),D=E(532),C=E(4870),w=E(4438),T=E(2904);let _=(()=>{var g;class F{constructor(B){this.dbService=B}createPlayList(B,P,$,k){const M=k?S.J.updateQuery():S.J.insertQuery(),O=k?{identifier:k}:void 0,U=!!k;return k||(k=(0,R.A)()),this.dbService.save(M,p.mapContentToPlayListEntry(B,P,k,$.length),O).then(()=>this.addContentToPlayList(k,$,U))}addContentToPlayList(B,P,$){var k=this;return(0,a.A)(function*(){const M=[];for(let j=0;jthis.getPlayListContents(B).then($=>Promise.resolve({identifier:P[0].identifier,name:P[0].name,uid:P[0].uid,playListcontentList:$})))}getPlayListContents(B){return this.dbService.executeQuery(`SELECT *\n FROM ${c.y.TABLE_NAME}\n WHERE ${c.y.COLUMN_NAME_PLAYLIST_IDENTIFIER} = '${B}'\n ORDER BY ts DESC`).then($=>{const k=[];return $&&$.length&&$.map(M=>{k.push({[c.y._ID]:M[c.y._ID],[c.y.COLUMN_NAME_IDENTIFIER]:M[c.y.COLUMN_NAME_IDENTIFIER],[c.y.COLUMN_NAME_PLAYLIST_IDENTIFIER]:M[c.y.COLUMN_NAME_PLAYLIST_IDENTIFIER],[c.y.COLUMN_NAME_CONTENT_ID]:M[c.y.COLUMN_NAME_CONTENT_ID],[c.y.COLUMN_NAME_CONTENT_METADATA]:M[c.y.COLUMN_NAME_CONTENT_METADATA],[c.y.COLUMN_NAME_SOURCE_TYPE]:M[c.y.COLUMN_NAME_SOURCE_TYPE],[c.y.COLUMN_NAME_TIME_STAMP]:M[c.y.COLUMN_NAME_TIME_STAMP]})}),k})}deletePlayList(B){return this.dbService.remove(S.J.deleteQuery(),{identifier:B}).then(()=>this.dbService.remove(c.y.deleteQueryOne(),{playlist_identifier:B}))}deleteContentFromPlayList(B,P){const $=[];return P.map(k=>{$.push({statement:c.y.deleteQuery(),values:[k,B]})}),this.dbService.executeSet($)}}return(g=F).\u0275fac=function(B){return new(B||g)(w.KVO(T.at))},g.\u0275prov=w.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),F})()},9836:(Ce,ee,E)=>{"use strict";E.d(ee,{X:()=>T});var a=E(467),S=E(5293),p=E(5083),R=E(9182);const c=(0,p.F3)("Haptics",{web:()=>E.e(3558).then(E.bind(E,3558)).then(_=>new _.HapticsWeb)});var D=E(1413),C=E(4438),w=E(8974);let T=(()=>{var _;class g{constructor(A){this.gestureCtrl=A,this.searchEvent=new D.B,this.searchEventRecorded$=this.searchEvent.asObservable(),this.botEvent=new D.B,this.botEventRecorded$=this.botEvent.asObservable(),this.recordEvent=new D.B,this.startEndEvent$=this.recordEvent.asObservable(),this.recording=!1,this.cancelRecording=!1,this.duration=0,this.durationDisplay=""}ngOnInit(){}gestureControl(A){this.gestureCtrl.create({el:A.nativeElement,threshold:250,gestureName:"swipe",direction:"x",onStart:P=>{console.log("swipe left start ",P),c.impact({style:R.kn.Light})},onMove:P=>{c.impact({style:R.kn.Light}),this.recordEvent.next(!1),this.cancelRecording=!0},onEnd:P=>{console.log("swipe left end ",P),c.impact({style:R.kn.Light}),this.recording=!1,this.recordEvent.next(!1)}},!0).enable()}startRecognition(A){var B=this;return(0,a.A)(function*(){B.cancelRecording=!1,S.R.startRecording(),c.impact({style:R.kn.Light}),!B.recording&&(B.recording=!0,B.calculation(A),B.recordEvent.next(!0))})()}calculation(A){if(!this.recording)return this.duration=0,void(this.durationDisplay="");this.duration+=1;const B=Math.floor(this.duration/60),P=(this.duration%60).toString().padStart(2,"0");this.durationDisplay=`${B}:${P}`,setTimeout(()=>{this.calculation(A)},1e3)}stopRecognition(A){var B=this;return(0,a.A)(function*(){if(c.impact({style:R.kn.Light}),B.recordEvent.next(!1),B.recording)return yield S.R.stopRecording().then(function(){var P=(0,a.A)(function*($){if(B.recording=!1,!B.cancelRecording)return"search"==A?$.value.recordDataBase64:$});return function($){return P.apply(this,arguments)}}())})()}}return(_=g).\u0275fac=function(A){return new(A||_)(C.KVO(w.wH))},_.\u0275prov=C.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),g})()},2186:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>T});var a=E(467),S=E(3207),p=E(6354),R=E(9437),c=E(3172),D=E(985),C=E(4438),w=E(2700);let T=(()=>{var _;class g{constructor(A){this.apiService=A}postSearchContext(A,B){var P=this;return(0,a.A)(function*(){let $={};$=B?{audio:A.text}:{name:A.text};let k=JSON.stringify($);console.log("body ",k);const M=(new D._g.Builder).withHost(c.$.api.BASE_URL).withPath(c.$.api.CONTENT_SEARCH_API).withType(D.kr.POST).withBody(k).withBearerToken(!0).withLanguge(A.currentLang).build();return(0,S.s)(P.apiService.fetch(M).pipe((0,p.T)(O=>O.body),(0,R.W)(O=>{throw O})))})()}postContentSearch(A,B){let P={};A.name&&(P.name=null==A?void 0:A.name),A.category&&(P.category=null==A?void 0:A.category);const $=(new D._g.Builder).withHost(c.$.api.BASE_URL).withPath(c.$.api.CONTENT_SEARCH_API).withType(D.kr.POST).withBody(P).withBearerToken(!0).withLanguge(B).build();return(0,S.s)(this.apiService.fetch($).pipe((0,p.T)(k=>k.body.result),(0,R.W)(k=>{throw k})))}}return(_=g).\u0275fac=function(A){return new(A||_)(C.KVO(w.G))},_.\u0275prov=C.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),g})()},8014:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>p});var a=E(1413),S=E(4438);let p=(()=>{var R;class c{constructor(){this.sourceEvent=new a.B,this.sourceProcessEmitted$=this.sourceEvent.asObservable()}sunbirdSrcProcess(C){this.contentConfig=[],C.forEach(w=>{this.contentConfig.push(w)}),console.log("contentconfig ",this.contentConfig),this.sourceEvent.next(this.contentConfig)}}return(R=c).\u0275fac=function(C){return new(C||R)},R.\u0275prov=S.jDH({token:R,factory:R.\u0275fac,providedIn:"root"}),c})()},7594:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>c});var a=E(467),S=E(4438),p=E(2700),R=E(8014);let c=(()=>{var D;class C{constructor(T,_){this.apiService=T,this.preprocessService=_}process(T,_){return(0,a.A)(function*(){})()}}return(D=C).\u0275fac=function(T){return new(T||D)(S.KVO(p.G),S.KVO(R.h))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3486:(Ce,ee,E)=>{"use strict";E.d(ee,{n:()=>c});var a=E(467);const p=(0,E(5083).F3)("Preferences",{web:()=>E.e(2924).then(E.bind(E,2924)).then(D=>new D.PreferencesWeb)});var R=E(4438);let c=(()=>{var D;class C{constructor(){}setData(T,_){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.set({key:T,value:_}).then(g=>!0).catch(g=>g)})()}getData(T){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.get({key:T}).then(_=>_.value).catch(_=>_)})()}removeData(T){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.remove({key:T}).then(_=>!0).catch(_=>_)})()}getStorageKeys(){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.keys().then(T=>T).catch(T=>T)})()}clearStorage(){return(0,a.A)(function*(){yield p.configure({group:C.groupPreferenceName}),yield p.clear().then(T=>!0).catch(T=>T)})()}}return(D=C).groupPreferenceName="DJPData",D.\u0275fac=function(T){return new(T||D)},D.\u0275prov=R.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},1113:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>S});var a=E(4438);let S=(()=>{var p;class R{constructor(){}hide(){let D=document.querySelectorAll(".tabbar"),C=document.querySelectorAll(".home-screen"),w=document.querySelectorAll(".scroll-content");null!==D&&null!==C&&(Object.keys(D).map(T=>{"translateY(5rem)"!==D[T].style.transform&&(D[T].style.transform="translateY(5rem)")}),Object.keys(C).map(T=>{"translateY(5.2rem)"!==C[T].style.transform&&(C[T].style.transform="translateY(5.2rem)")}),setTimeout(()=>{Object.keys(w).map(T=>{w[T].style.marginBottom="0"})}))}show(){let D=document.querySelectorAll(".tabbar"),C=document.querySelectorAll(".home-screen");null!==D&&null!==C&&(Object.keys(C).map(w=>{"rotate(-45deg)"!==C[w].style.transform&&(C[w].style.transform="rotate(-45deg)")}),Object.keys(D).map(w=>{"translateY(0px)"!==D[w].style.transform&&(D[w].style.transform="translateY(0px)")}))}}return(p=R).\u0275fac=function(D){return new(D||p)},p.\u0275prov=a.jDH({token:p,factory:p.\u0275fac}),R})()},5870:(Ce,ee,E)=>{"use strict";E.d(ee,{K:()=>S});var a=E(56),S=function(p){return p._ID="_id",p.TABLE_NAME="processed_telemetry",p.COLUMN_NAME_MSG_ID="msg_id",p.COLUMN_NAME_DATA="data",p.COLUMN_NAME_NUMBER_OF_EVENTS="event_count",p.COLUMN_NAME_PRIORITY="priority",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY,"+p.COLUMN_NAME_MSG_ID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_DATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_NUMBER_OF_EVENTS+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_PRIORITY+a.K.SPACE+a.K.INT_TYPE+" )",p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.getDeleteEntry=()=>"DROP TABLE IF EXISTS "+p.TABLE_NAME,p}(S||{})},2918:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>C});var a=E(8855),p=E(3172),R=E(3649),c=E(4438),D=E(2904);let C=(()=>{var w;class T{constructor(g){this.utilService=g}decorate(g,F,A,B,P,$,k){return g.mid||(g.mid=`${g.eid}:${a(JSON.stringify(g)).toString()}`),this.patchActor(g,A),this.patchContext(g,F,A,P,$,k),g.context.cdata&&(g.context.cdata=[...g.context.cdata,{id:F,type:"UserSession"}]),g}patchActor(g,F){g.actor||(g.actor=new R.Ag);const A=g.actor;A.id||(A.id=F),A.type||(A.type=R.Ag.TYPE_USER)}patchContext(g,F,A,B,P,$){g.context||(g.context=new R.ob),g.context=this.buildContext(F,A,P,g.context,B,$)}patchPData(g,F){g.pdata||(g.pdata=new R.zE);const A=g.pdata;A.id||(A.id=p.$.telmetry.PRODUCER_ID),A.pid=p.$.telmetry.PRODUCER_PID,A.ver||(A.ver=F)}prepare(g,F){return{event:JSON.stringify(g),event_type:g.eid,timestamp:Date.now(),priority:1}}buildContext(g,F,A,B,P,$){return B.channel=A,this.patchPData(B,P),B.env||(B.env="app"),B.sid=g,B.did=F,B.cdata=B.cdata?B.cdata.concat($||[]):$||[],B}}return(w=T).\u0275fac=function(g){return new(g||w)(c.KVO(D.a0))},w.\u0275prov=c.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),T})()},3649:(Ce,ee,E)=>{"use strict";E.d(ee,{$i:()=>C,Ag:()=>a,Q$:()=>w,ob:()=>S,zE:()=>c});let a=(()=>{var T;class _{constructor(){this.id="",this.type=_.TYPE_USER}}return(T=_).TYPE_SYSTEM="System",T.TYPE_USER="User",_})();class S{}class c{ProducerData(){this.id="",this.pid="",this.ver=""}}class C{constructor(_,g,F){this.id=_,this.type=g,this.version=F}setRollup(_){this.rollup=_}}var w;!function(T){let _=(()=>{class k{constructor(O){this.ver=k.TELEMETRY_VERSION,this.eid=O,this.ets=Date.now(),this.actor=new a,this.context=new S,this.edata={}}}return k.TELEMETRY_VERSION="3.0",k})();T.Telemetry=_,T.Interact=(()=>{class k extends _{constructor(O,U,j,W,ie,me,te,se="",m="",n="",o={},u=[]){super(k.EID),this.edata={type:O,subtype:U,...j?{id:j}:{},...W?{pageid:W}:{},extra:{...ie?{pos:ie}:{},...me?{values:[me]}:{}}},this.context.cdata=u,this.context.env=te,se&&m&&(this.object=new C(se,m,n),o&&(this.object.rollup=o||{}))}}return k.EID="INTERACT",k})(),T.End=(()=>{class k extends _{constructor(O,U,j,W,ie,me,te="",se="",m="",n={},o=[]){super(k.EID),this.edata={...O?{type:O}:{},...j?{duration:j}:{},...W?{pageid:W}:{},...U?{mode:U}:{},...ie?{summaryList:ie}:{}},this.context.cdata=o,this.context.env=me,this.object=new C(te,se,m),this.object.rollup=n}}return k.EID="END",k})(),T.Start=(()=>{class k extends _{constructor(O="",U,j,W,ie,me,te,se="",m="",n="",o={},u=[]){super(k.EID),this.edata={...O?{type:O}:{type:""},...U?{dspec:U}:{},...j?{loc:j}:{},...W?{mode:W}:{},...ie?{mode:W}:{},...me?{pageid:me}:{}},this.context.cdata=u,this.context.env=te,se&&m&&(this.object=new C(se,m,n),o&&(this.object.rollup=o||{}))}}return k.EID="START",k})(),T.Impression=(()=>{class k extends _{constructor(O,U,j,W,ie,me="",te="",se="",m={},n=[]){super(k.EID),this.edata={...O?{type:O}:{type:""},...U?{subtype:U}:{},...j?{pageid:j}:{},...j?{uri:j}:{},...W?{visits:W}:{}},this.context.cdata=n,this.context.env=ie,me&&te&&(this.object=new C(me,te,se),m&&(this.object.rollup=m||{}))}}return k.EID="IMPRESSION",k})(),T.Search=(()=>{class k extends _{constructor(O,U,j,W,ie,me,te=0,se=[]){super(k.EID),this.edata={...O?{type:O}:{type:""},...U?{query:U}:{},...j?{filters:j}:{},...W?{sort:W}:{},...me?{correlationid:me}:{},...te?{size:te}:{}},this.context.cdata=se,this.context.env=ie}}return k.EID="SEARCH",k})()}(w||(w={}))},5173:(Ce,ee,E)=>{"use strict";E.d(ee,{O:()=>w});class a{constructor(){this.pos=[]}}class S{constructor(){this.env=""}}class p{constructor(){this.env=""}}class R{constructor(){this.env=""}}class c{}var D=E(4438),C=E(2904);let w=(()=>{var T;class _{constructor(F){this.telemetryService=F}generateInteractTelemetry(F,A,B,P,$,k,M,O,U){const j=new a;j.type=F,j.subType=A,j.pageId=P,j.id=U||P,j.env=B,null!==k&&(j.valueMap=k),void 0!==M&&(j.rollup=M),void 0!==O&&(j.correlationData=O),$&&$.id&&(j.objId=$.id),$&&$.type&&(j.objType=$.type),$&&$.version&&(j.objVer=$.version+""),this.telemetryService.interact(j).subscribe()}generateImpressionTelemetry(F,A,B,P,$,k,M,O,U){const j=new S;j.type=F,j.subType=A,j.pageId=B,j.env=P,j.objId=$||"",j.objType=k||"",j.objVer=M?M+"":"",void 0!==O&&(j.rollup=O),void 0!==U&&(j.correlationData=U),this.telemetryService.impression(j).subscribe()}generateEndTelemetry(F,A,B,P,$,k,M,O,U){const j=new R;j.type=F,j.pageId=B,j.env=P,j.mode=A,O&&(j.duration=O),$&&$.id&&(j.objId=$.id),$&&$.type&&(j.objType=$.type),$&&$.version&&(j.objVer=$.version+""),k&&(j.rollup=k),M&&(j.correlationData=M),U&&(j.summaryList=U),this.telemetryService.end(j).subscribe()}generateStartTelemetry(F,A,B,P,$){const k=new p;k.type=F,k.pageId=A,k.mode="play",B&&B.id&&(k.objId=B.id),B&&B.type&&(k.objType=B.type),B&&B.version&&(k.objVer=B.version+""),void 0!==P&&(k.rollup=P),void 0!==$&&(k.correlationData=$),this.telemetryService.start(k).subscribe()}generateSearchTelemetry(F,A,B,P,$,k,M,O){const U=new c;U.type=F,U.query=A,U.env=P,U.size=B,$&&(U.filters=$),k&&(U.sort=k),void 0!==O&&(U.correlationData=O),M&&(U.correlationid=M),this.telemetryService.search(U).subscribe()}genererateAppStartTelemetry(F){const A=new p;A.type="app",A.env="home",A.deviceSpecification=F,this.telemetryService.start(A).subscribe()}}return(T=_).\u0275fac=function(F){return new(F||T)(D.KVO(C.H0))},T.\u0275prov=D.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),_})()},1765:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>d});var a=E(2814),S=E(1985),p=E(8750);const{isArray:R}=Array;var D=E(983),C=E(4360),w=E(9326);var _=E(6648),g=E(3028),F=E(9030),A=E(7673),B=E(9316),P=E(9974),$=E(5412);function k(L,I=1/0,V){return I=(I||0)<1?1/0:I,(0,P.N)((q,oe)=>(0,$.h)(q,oe,L,I,void 0,!0,V))}var M=E(6649);function O(L,I){return(0,P.N)((0,M.S)(L,I,arguments.length>=2,!1,!0))}var U=E(3703),j=E(6354),W=E(9437),ie=E(7374),me=E(5870),te=E(6421);class se{process(I){if("object"!=typeof I)throw new Error('TelemetryEntriesToStringPreprocessor expects input of type "object"');return JSON.stringify(I)}}var m=E(3172),n=E(985);class o{constructor(I,V){this.dbService=I,this.apiService=V,this.preprocessors=[],this.preprocessors=[new se]}handle(I){return this.hasTelemetryThresholdCrossed().pipe((0,g.Z)(V=>V?this.processEventsBatch(I).pipe(k(q=>q?this.processEventsBatch(I):D.w),O(()=>{},void 0),(0,g.Z)(()=>this.handleProcessedEventsBatch()),k(q=>q.syncedEventCount?this.handleProcessedEventsBatch():D.w),O((q,oe)=>({syncedEventCount:q.syncedEventCount+oe.syncedEventCount,syncTime:Date.now(),syncedFileSize:q.syncedFileSize+oe.syncedFileSize,error:oe.error?oe.error:q.error}),{syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})):(0,A.of)({syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})))}processEventsBatch(I){return this.fetchEvents().pipe((0,g.Z)(V=>V?this.processEvents(V,I).pipe((0,g.Z)(q=>this.persistProcessedEvents(q,q.processedEventsSize).pipe((0,g.Z)(()=>this.deleteEvents(V)),(0,U.u)(V.length)))):(0,A.of)(0)))}hasTelemetryThresholdCrossed(){return(0,_.H)(this.dbService.executeQuery(`\n SELECT count(*) as COUNT FROM ${a.C.TABLE_NAME}`)).pipe((0,j.T)(I=>!0))}fetchEvents(){return(0,_.H)(this.dbService.executeQuery(`\n SELECT * FROM ${a.C.TABLE_NAME}\n WHERE ${a.C.COLUMN_PRIORITY} = (SELECT MIN (${a.C.COLUMN_PRIORITY})\n FROM ${a.C.TABLE_NAME})\n ORDER BY ${a.C.COLUMN_TIMESTAMP}\n LIMIT 200`))}processEvents(I,V){if(!I)return(0,A.of)({processedEventsSize:0});const q=(0,te.A)();return(0,A.of)({processedEvents:this.preprocessors.reduce((oe,ve)=>ve.process(oe),{id:"ekstep.telemetry",ver:"1.0",ts:ie().format("YYYY-MM-DDTHH:mm:ss[Z]"),events:I.map(oe=>JSON.parse(oe[a.C.COLUMN_EVENT])),params:{did:V,msgid:q,key:"",requesterId:""}}),processedEventsSize:I.length,messageId:q})}persistProcessedEvents({processedEvents:I,messageId:V},q){return I?(0,_.H)(this.dbService.save(me.K.insertQuery(),{[me.K.COLUMN_NAME_MSG_ID]:V,[me.K.COLUMN_NAME_NUMBER_OF_EVENTS]:q,[me.K.COLUMN_NAME_PRIORITY]:1,[me.K.COLUMN_NAME_DATA]:I})).pipe((0,U.u)(void 0)):(0,A.of)(void 0)}deleteEvents(I){return I.length?(0,_.H)(this.dbService.executeQuery(`\n DELETE FROM ${a.C.TABLE_NAME}\n WHERE ${a.C._ID} IN (${I.map(V=>V[a.C._ID]).join(",")})\n `)):(0,A.of)(void 0)}handleProcessedEventsBatch(I){return this.fetchProcessedEventsBatch().pipe((0,g.Z)(V=>this.syncProcessedEvent(V).pipe((0,g.Z)(q=>this.deleteProcessedEvent(V).pipe((0,U.u)(q||{syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})))))).pipe()}fetchProcessedEventsBatch(){return(0,_.H)(this.dbService.executeQuery(`SELECT * FROM ${me.K.TABLE_NAME} LIMIT 1`)).pipe((0,j.T)(I=>I&&I[0]))}syncProcessedEvent(I){if(!I)return(0,A.of)(void 0);const V=(new n._g.Builder).withHost(m.$.api.TELEMETRY_BASE_URL).withPath(m.$.api.TELEMETRY_SYNC).withType(n.kr.POST).withBearerToken(!0).withBody(JSON.parse(I[me.K.COLUMN_NAME_DATA])).build();return this.apiService.fetch(V).pipe((0,j.T)(()=>({syncedEventCount:I[me.K.COLUMN_NAME_NUMBER_OF_EVENTS],syncTime:Date.now(),syncedFileSize:0})),(0,W.W)(q=>(0,A.of)({syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0,error:q})))}deleteProcessedEvent(I){return I?(0,_.H)(this.dbService.executeQuery(`DELETE FROM ${me.K.TABLE_NAME} WHERE ${me.K._ID}='${I[me.K._ID]}'`)):(0,A.of)(void 0)}}var u=E(3649),s=E(4438),h=E(4591),v=E(3486),y=E(2342),f=E(2700),r=E(2918);let d=(()=>{var L;class I{constructor(q,oe,ve,Ae,Q){this.dbService=q,this.storageService=oe,this.utilService=ve,this.apiService=Ae,this.decorator=Q,this.deviceId="",B.p.getId().then(ae=>(this.deviceId=ae.identifier,this.deviceId))}start({type:q,deviceSpecification:oe,loc:ve,mode:Ae,duration:Q,pageId:ae,env:tt,objId:Oe,objType:pe,objVer:Ie,rollup:Se,correlationData:re}){const ne=new u.Q$.Start(q,oe,ve,Ae,Q,ae,tt,Oe,pe,Ie,Se,re);return this.decorateAndPersist(ne)}end({type:q,mode:oe,duration:ve,pageId:Ae,summaryList:Q,env:ae,objId:tt,objType:Oe,objVer:pe,rollup:Ie,correlationData:Se}){const re=new u.Q$.End(q,oe,ve,Ae,Q,ae,tt,Oe,pe,Ie,Se);return this.decorateAndPersist(re)}interact({type:q,subType:oe,id:ve,pageId:Ae,pos:Q,env:ae,rollup:tt,valueMap:Oe,correlationData:pe,objId:Ie,objType:Se,objVer:re}){const ne=new u.Q$.Interact(q,oe,ve,Ae,Q,Oe,ae,Ie,Se,re,tt,pe);return this.decorateAndPersist(ne)}impression({type:q,subType:oe,pageId:ve,env:Ae,objId:Q,objType:ae,objVer:tt,rollup:Oe,correlationData:pe}){const Ie=new u.Q$.Impression(q,oe,ve,[],Ae,Q,ae,tt,Oe,pe);return this.decorateAndPersist(Ie)}search({type:q,query:oe,filters:ve,sort:Ae,correlationid:Q,size:ae,env:tt,correlationData:Oe}){const pe=new u.Q$.Search(q,oe,ve,Ae,tt,Q,ae,Oe);return this.decorateAndPersist(pe)}decorateAndPersist(q){let oe="";const ve=localStorage.getItem("subDomain");return oe=null!=ve?ve:new URL(document.baseURI).hostname,function T(...L){const I=(0,w.ms)(L),V=function c(L){return 1===L.length&&R(L[0])?L[0]:L}(L);return V.length?new S.c(q=>{let oe=V.map(()=>[]),ve=V.map(()=>!1);q.add(()=>{oe=ve=null});for(let Ae=0;!q.closed&&Ae{if(oe[Ae].push(Q),oe.every(ae=>ae.length)){const ae=oe.map(tt=>tt.shift());q.next(I?I(...ae):ae),oe.some((tt,Oe)=>!tt.length&&ve[Oe])&&q.complete()}},()=>{ve[Ae]=!0,!oe[Ae].length&&q.complete()}));return()=>{oe=ve=null}}):D.w}((0,_.H)(this.utilService.getAppInfo()),(0,_.H)(this.utilService.getDeviceId())).pipe((0,g.Z)(Ae=>{const Q=Ae[0].version,ae=Ae[1];return(0,_.H)(this.storageService.getData("sid")).pipe((0,g.Z)(tt=>{const Oe=this.decorator.prepare(this.decorator.decorate(q,null!=tt?tt:"",ae,(0,te.A)(),Q,oe,[]),1);return console.log("Telemetry Generated",q),this.dbService.save(a.C.insertData(),Oe)}))}))}saveTelemetry(q){return(0,F.v)(()=>{try{const oe=JSON.parse(q);return this.decorateAndPersist(oe)}catch(oe){return console.error(oe),(0,A.of)(!1)}})}sync(){return new o(this.dbService,this.apiService).handle(this.deviceId)}}return(L=I).\u0275fac=function(q){return new(q||L)(s.KVO(h.a),s.KVO(v.n),s.KVO(y.a),s.KVO(f.G),s.KVO(r.B))},L.\u0275prov=s.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})()},2342:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>_});var a=E(467),S=E(8941),p=E(9316),R=E(9986),D=E(5083),C=E(4438),w=E(5402),T=E(8974);let _=(()=>{var g;class F{constructor(B,P){this.translate=B,this.loadingCtrl=P}getDeviceSpec(){var B=this;return(0,a.A)(function*(){const P=yield p.p.getInfo(),$=yield B.getDeviceId();return{os:`${P.operatingSystem} ${P.osVersion}`,make:P.manufacturer,id:$}})()}getDeviceId(){return(0,a.A)(function*(){const B=yield p.p.getId();return R(B.identifier).toString()})()}getAppInfo(){return(0,a.A)(function*(){return"web"===D.Ii.getPlatform()?{name:"Web App",build:"1.0.0"}:yield S.q.getInfo()})()}translateMessage(B,P){let $="",k="";return k="object"==typeof P?P:{"%s":P},this.translate.get(B,k).subscribe(M=>{$=M}),$}getLoader(B,P){return this.loadingCtrl.create({message:P,duration:B||3e4,cssClass:P?"custom-loader-message-class":"custom-loader-class"})}}return(g=F).\u0275fac=function(B){return new(B||g)(C.KVO(w.c$),C.KVO(T.Xi))},g.\u0275prov=C.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),F})()},6313:(Ce,ee,E)=>{"use strict";var a=E(467),S=E(345),p=E(4438),R=E(3021),c=E(4517),D=E(8974),C=E(8941),w=E(5402),T=E(2904),_=E(177),g=E(9417);function F(He,Ne){if(1&He&&(p.j41(0,"ion-item")(1,"ion-label"),p.EFF(2),p.k0s(),p.nrm(3,"ion-radio",3),p.k0s()),2&He){const Xe=Ne.$implicit;p.R7$(2),p.JRh(Xe.label),p.R7$(),p.FS9("value",Xe.id)}}let A=(()=>{var He;class Ne{constructor(Fe,ft,Ht,pn){this.translateService=Fe,this.navParams=ft,this.modalCtrl=Ht,this.storage=pn,this.selectedLanguage=""}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.languages=[],Fe.languages=Fe.navParams.get("languages");let ft=yield Fe.storage.getData("lang");console.log("current lang ",ft),Fe.selectedLanguage=ft})()}languageSelected(Fe){let ft=Fe.detail.value;console.log("Current value:",JSON.stringify(ft)),this.storage.setData("lang",ft),this.translateService.use(ft),this.selectedLanguage=ft,this.dismissModal()}dismissModal(){this.modalCtrl.dismiss()}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.rXU(w.c$),p.rXU(c.y8),p.rXU(D.W3),p.rXU(T.n$))},He.\u0275cmp=p.VBU({type:He,selectors:[["app-langauge-select"]],decls:9,vars:5,consts:[[1,"lang-content"],[3,"ngModelChange","ionChange","ngModel"],[4,"ngFor","ngForOf"],["slot","start",3,"value"]],template:function(Fe,ft){1&Fe&&(p.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),p.EFF(3),p.nI1(4,"translate"),p.k0s()()(),p.j41(5,"ion-content",0)(6,"ion-radio-group",1),p.mxI("ngModelChange",function(pn){return p.DH7(ft.selectedLanguage,pn)||(ft.selectedLanguage=pn),pn}),p.bIt("ionChange",function(pn){return ft.languageSelected(pn)}),p.j41(7,"ion-list"),p.DNE(8,F,4,2,"ion-item",2),p.k0s()()()),2&Fe&&(p.R7$(3),p.JRh(p.bMT(4,3,"Select Language")),p.R7$(3),p.R50("ngModel",ft.selectedLanguage),p.R7$(2),p.Y8G("ngForOf",ft.languages))},dependencies:[_.Sq,g.BC,g.vS,D.W9,D.eU,D.uz,D.he,D.nf,D.KO,D.f0,D.BC,D.ai,D.uR,D.Je,w.D9],styles:[".lang-content[_ngcontent-%COMP%]{--background: var(--ion-color-primary-contrast);--padding-top: 0}ion-list[_ngcontent-%COMP%]{overflow-y:auto}ion-title[_ngcontent-%COMP%]{color:var(--ion-color-primary);font-size:1rem}"]}),Ne})();var B=E(4801),P=E.n(B);const $=["video"],k=["canvas"],M=["fileinput"];function O(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"ion-button",13),p.bIt("click",function(){p.eBV(Xe);const ft=p.XpG();return p.Njj(ft.reset())}),p.nrm(1,"ion-icon",14),p.EFF(2," Reset "),p.k0s()}}function U(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"ion-button",15),p.bIt("click",function(){p.eBV(Xe);const ft=p.XpG();return p.Njj(ft.stopScan())}),p.nrm(1,"ion-icon",16),p.EFF(2," Stop scan "),p.k0s()}}function j(He,Ne){if(1&He&&(p.j41(0,"ion-card")(1,"ion-card-header")(2,"ion-card-title"),p.EFF(3,"QR Code"),p.k0s()(),p.j41(4,"ion-card-content"),p.EFF(5),p.k0s()()),2&He){const Xe=p.XpG();p.R7$(5),p.SpI(" ",Xe.scanResult," ")}}function W(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Xe);const ft=p.XpG();return p.Njj(ft.openLink())}),p.EFF(2),p.nI1(3,"translate"),p.k0s(),p.j41(4,"ion-button",18),p.bIt("click",function(){p.eBV(Xe);const ft=p.XpG();return p.Njj(ft.close())}),p.EFF(5,"Close"),p.k0s()()}2&He&&(p.R7$(2),p.JRh(p.bMT(3,1,"OPEN_IN_BROWSER")))}function ie(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Xe);const ft=p.XpG();return p.Njj(ft.close())}),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}2&He&&(p.R7$(2),p.JRh(p.bMT(3,1,"CLOSE")))}let me=(()=>{var He;class Ne{constructor(Fe,ft,Ht,pn,In){this.navParams=Fe,this.modalCtrl=ft,this.toastCtrl=Ht,this.loadingCtrl=pn,this.plt=In,this.scanText="",this.isValidURL=!1,this.scanActive=!1,this.scanResult=null,this.loading=null,this.plt.is("ios")&&"standalone"in window.navigator&&window.navigator.standalone&&console.log("I am a an iOS PWA!")}ngOnInit(){this.scanText=this.navParams.get("scannedData"),this.isValidURL=this.isValidUrl()}openLink(){this.close(),window.open(this.scanText)}close(){this.modalCtrl.dismiss()}isValidUrl(){try{const Fe=new URL(this.scanText);return"http:"===Fe.protocol||"https:"===Fe.protocol}catch{return!1}}ngAfterViewInit(){this.canvasElement=this.canvas.nativeElement,this.canvasContext=this.canvasElement.getContext("2d"),this.videoElement=this.video.nativeElement}showQrToast(){var Fe=this;return(0,a.A)(function*(){(yield Fe.toastCtrl.create({message:`Open ${Fe.scanResult}?`,position:"top",buttons:[{text:"Open",handler:()=>{Fe.scanResult&&window.open(Fe.scanResult,"_system","location=yes")}}]})).present()})()}reset(){this.scanResult=null}startScan(){var Fe=this;return(0,a.A)(function*(){const ft=yield navigator.mediaDevices.getUserMedia({video:{facingMode:"environment"}});Fe.videoElement.srcObject=ft,Fe.videoElement.setAttribute("playsinline",!0),Fe.loading=yield Fe.loadingCtrl.create({}),yield Fe.loading.present(),Fe.videoElement.play(),requestAnimationFrame(Fe.scan.bind(Fe))})()}stopScan(){this.scanActive=!1;const Fe=this.videoElement.srcObject;Fe&&(Fe.getTracks().forEach(function(Ht){Ht.stop(),console.log("Track stopped:",Ht.readyState)}),this.videoElement.srcObject=null)}scan(){var Fe=this;return(0,a.A)(function*(){try{if(yield navigator.mediaDevices.getUserMedia({video:!0}),Fe.videoElement.readyState===Fe.videoElement.HAVE_ENOUGH_DATA){Fe.loading&&(yield Fe.loading.dismiss(),Fe.loading=null,Fe.scanActive=!0),Fe.canvasElement.height=Fe.videoElement.videoHeight,Fe.canvasElement.width=Fe.videoElement.videoWidth,Fe.canvasContext.drawImage(Fe.videoElement,0,0,Fe.canvasElement.width,Fe.canvasElement.height);const Ht=Fe.canvasContext.getImageData(0,0,Fe.canvasElement.width,Fe.canvasElement.height),pn=P()(Ht.data,Ht.width,Ht.height,{inversionAttempts:"dontInvert"});null!=pn&&pn.data?(Fe.scanActive=!1,Fe.scanResult=pn.data,Fe.stopScan(),Fe.showQrToast()):Fe.scanActive&&requestAnimationFrame(Fe.scan.bind(Fe))}else requestAnimationFrame(Fe.scan.bind(Fe))}catch(ft){console.error("Error accessing camera:",ft)}})()}captureImage(){this.fileinput.nativeElement.click()}handleFile(Fe){const ft=Fe.target;if(ft instanceof HTMLInputElement&&ft.files&&ft.files.length>0){const pn=ft.files[0];var Ht=new Image;Ht.onload=()=>{this.canvasContext.drawImage(Ht,0,0,this.canvasElement.width,this.canvasElement.height);const In=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),kn=P()(In.data,In.width,In.height,{inversionAttempts:"dontInvert"});kn&&(this.scanResult=kn.data,this.showQrToast())},Ht.src=URL.createObjectURL(pn)}}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.rXU(c.y8),p.rXU(D.W3),p.rXU(D.K_),p.rXU(D.Xi),p.rXU(c.OD))},He.\u0275cmp=p.VBU({type:He,selectors:[["app-qrcode-popup"]],viewQuery:function(Fe,ft){if(1&Fe&&(p.GBs($,5),p.GBs(k,5),p.GBs(M,5)),2&Fe){let Ht;p.mGM(Ht=p.lsd())&&(ft.video=Ht.first),p.mGM(Ht=p.lsd())&&(ft.canvas=Ht.first),p.mGM(Ht=p.lsd())&&(ft.fileinput=Ht.first)}},decls:20,vars:7,consts:[["fileinput",""],["video",""],["canvas",""],[1,"inner-content"],["type","file","accept","image/*;capture=camera","hidden",""],["expand","full",3,"click"],["slot","start","name","camera"],["slot","start","name","qr-scanner"],["expand","full","color","warning",3,"click",4,"ngIf"],["width","100%",3,"hidden"],["hidden",""],["expand","full","color","danger",3,"click",4,"ngIf"],[4,"ngIf"],["expand","full","color","warning",3,"click"],["slot","start","name","refresh"],["expand","full","color","danger",3,"click"],["slot","start","name","close"],["expand","block",3,"click"],["fill","clear","expand","full",3,"click"]],template:function(Fe,ft){if(1&Fe){const Ht=p.RV6();p.j41(0,"div",3)(1,"h4"),p.EFF(2),p.k0s(),p.nrm(3,"input",4,0),p.j41(5,"ion-button",5),p.bIt("click",function(){return p.eBV(Ht),p.Njj(ft.captureImage())}),p.nrm(6,"ion-icon",6),p.EFF(7," Capture Image "),p.k0s(),p.j41(8,"ion-button",5),p.bIt("click",function(){return p.eBV(Ht),p.Njj(ft.startScan())}),p.nrm(9,"ion-icon",7),p.EFF(10," Start scan "),p.k0s(),p.DNE(11,O,3,0,"ion-button",8),p.nrm(12,"video",9,1)(14,"canvas",10,2),p.DNE(16,U,3,0,"ion-button",11)(17,j,6,1,"ion-card",12)(18,W,6,3,"div",12)(19,ie,4,3,"div",12),p.k0s()}2&Fe&&(p.R7$(2),p.JRh(ft.scanText),p.R7$(9),p.Y8G("ngIf",ft.scanResult),p.R7$(),p.Y8G("hidden",!ft.scanActive),p.R7$(4),p.Y8G("ngIf",ft.scanActive),p.R7$(),p.Y8G("ngIf",ft.scanResult),p.R7$(),p.Y8G("ngIf",ft.isValidURL),p.R7$(),p.Y8G("ngIf",!ft.isValidURL))},dependencies:[_.bT,D.Jm,D.b_,D.I9,D.ME,D.tN,D.iq,w.D9],styles:["h4[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);padding:.75rem 0;-webkit-user-select:auto;user-select:auto}ion-button[_ngcontent-%COMP%]{padding:0 .75rem .75rem;--border-radius: 2rem}"]}),Ne})();var te=E(319),se=E(3568),m=E(8359);class n extends m.yU{constructor(Ne,Xe){super()}schedule(Ne,Xe=0){return this}}const o={setInterval(He,Ne,...Xe){const{delegate:Fe}=o;return null!=Fe&&Fe.setInterval?Fe.setInterval(He,Ne,...Xe):setInterval(He,Ne,...Xe)},clearInterval(He){const{delegate:Ne}=o;return((null==Ne?void 0:Ne.clearInterval)||clearInterval)(He)},delegate:void 0};var u=E(7908),h=E(6129);class v{constructor(Ne,Xe=v.now){this.schedulerActionCtor=Ne,this.now=Xe}schedule(Ne,Xe=0,Fe){return new this.schedulerActionCtor(this,Ne).schedule(Fe,Xe)}}v.now=h.U.now;const f=new class y extends v{constructor(Ne,Xe=v.now){super(Ne,Xe),this.actions=[],this._active=!1}flush(Ne){const{actions:Xe}=this;if(this._active)return void Xe.push(Ne);let Fe;this._active=!0;do{if(Fe=Ne.execute(Ne.state,Ne.delay))break}while(Ne=Xe.shift());if(this._active=!1,Fe){for(;Ne=Xe.shift();)Ne.unsubscribe();throw Fe}}}(class s extends n{constructor(Ne,Xe){super(Ne,Xe),this.scheduler=Ne,this.work=Xe,this.pending=!1}schedule(Ne,Xe=0){var Fe;if(this.closed)return this;this.state=Ne;const ft=this.id,Ht=this.scheduler;return null!=ft&&(this.id=this.recycleAsyncId(Ht,ft,Xe)),this.pending=!0,this.delay=Xe,this.id=null!==(Fe=this.id)&&void 0!==Fe?Fe:this.requestAsyncId(Ht,this.id,Xe),this}requestAsyncId(Ne,Xe,Fe=0){return o.setInterval(Ne.flush.bind(Ne,this),Fe)}recycleAsyncId(Ne,Xe,Fe=0){if(null!=Fe&&this.delay===Fe&&!1===this.pending)return Xe;null!=Xe&&o.clearInterval(Xe)}execute(Ne,Xe){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Fe=this._execute(Ne,Xe);if(Fe)return Fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Ne,Xe){let ft,Fe=!1;try{this.work(Ne)}catch(Ht){Fe=!0,ft=Ht||new Error("Scheduled action threw falsy error")}if(Fe)return this.unsubscribe(),ft}unsubscribe(){if(!this.closed){const{id:Ne,scheduler:Xe}=this,{actions:Fe}=Xe;this.work=this.state=this.scheduler=null,this.pending=!1,(0,u.o)(Fe,this),null!=Ne&&(this.id=this.recycleAsyncId(Xe,Ne,null)),this.delay=null,super.unsubscribe()}}}),r=f;var d=E(1985),L=E(9470);function V(He=0,Ne,Xe=r){let Fe=-1;return null!=Ne&&((0,L.m)(Ne)?Xe=Ne:Fe=Ne),new d.c(ft=>{let Ht=function I(He){return He instanceof Date&&!isNaN(He)}(He)?+He-Xe.now():He;Ht<0&&(Ht=0);let pn=0;return Xe.schedule(function(){ft.closed||(ft.next(pn++),0<=Fe?this.schedule(void 0,Fe):ft.complete())},Ht)})}var oe=E(7673),ve=E(8141),Ae=E(5964),Q=E(9437),ae=E(3703);let tt=(()=>{var He;class Ne{constructor(Fe){this.telemetryService=Fe,this.shouldSync=!1}start(Fe){return this.shouldSync=!0,function q(He=0,Ne=f){return He<0&&(He=0),V(He,He,Ne)}(Fe).pipe((0,ve.M)(ft=>{}),(0,Ae.p)(()=>this.shouldSync),(0,ve.M)(()=>this.telemetryService.sync().pipe((0,ve.M)(ft=>{}),(0,Q.W)(ft=>(console.error(ft),(0,oe.of)(void 0)))).toPromise()),(0,ae.u)(void 0))}pause(){this.shouldSync=!1}continue(){this.shouldSync=!0}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.KVO(T.H0))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),Ne})();var Oe=E(2771),pe=E(1635),Se=E(3726),re={error:"cordova_not_available"},ne={error:"plugin_not_installed"};function G(He){if(typeof window<"u"&&window.angular){var Xe=window.document,Fe=window.angular.element(Xe.querySelector("[ng-app]")||Xe.body).injector();if(Fe)return Fe.get("$q")(function(Ht,pn){He(Ht,pn)});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(Ht,pn){He(Ht,pn)});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 nn(He,Ne,Xe){var Fe,ft;"string"==typeof He?Fe=He:(Fe=He.constructor.getPluginRef(),Xe=He.constructor.getPluginName(),ft=He.constructor.getPluginInstallName());var Ht=Pt(Fe);return!(!Ht||Ne&&typeof Ht[Ne]>"u")||(typeof window>"u"||!window.cordova?(function Ft(He,Ne){typeof process>"u"&&console.warn(Ne?"Native: tried calling "+He+"."+Ne+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+He+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}(Xe,Ne),re):(function It(He,Ne,Xe){console.warn(Xe?"Native: tried calling "+He+"."+Xe+", but the "+He+" plugin is not installed.":"Native: tried accessing the "+He+" plugin but it's not installed."),Ne&&console.warn("Install the "+He+" plugin: 'ionic cordova plugin add "+Ne+"'")}(Xe,ft,Ne),ne))}function on(He,Ne,Xe,Fe,ft,Ht){void 0===Fe&&(Fe={}),Xe=function ht(He,Ne,Xe,Fe){if(void 0===Ne&&(Ne={}),Ne.sync)return He;if("reverse"===Ne.callbackOrder)He.unshift(Fe),He.unshift(Xe);else if("node"===Ne.callbackStyle)He.push(function(In,kn){In?Fe(In):Xe(kn)});else if("object"===Ne.callbackStyle&&Ne.successName&&Ne.errorName){var ft={};ft[Ne.successName]=Xe,ft[Ne.errorName]=Fe,He.push(ft)}else if(typeof Ne.successIndex<"u"||typeof Ne.errorIndex<"u"){var Ht=function(){Ne.successIndex>He.length?He[Ne.successIndex]=Xe:He.splice(Ne.successIndex,0,Xe)},pn=function(){Ne.errorIndex>He.length?He[Ne.errorIndex]=Fe:He.splice(Ne.errorIndex,0,Fe)};Ne.successIndex>Ne.errorIndex?(pn(),Ht()):(Ht(),pn())}else He.push(Xe),He.push(Fe);return He}(Xe,Fe,ft,Ht);var pn=nn(He,Ne);if(!0===pn){var In=Pt(He.constructor.getPluginRef());return In[Ne].apply(In,Xe)}return pn}function Pt(He){return typeof window<"u"?En(window,He):null}function En(He,Ne){for(var Xe=Ne.split("."),Fe=He,ft=0;ft"u"){var He=typeof window<"u"?window:{},Xe=Date.now(),Fe=!1;He.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-Xe)+" ms"),Fe=!0}),setTimeout(function(){!Fe&&He.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)}}();var Ve=function(He){function Ne(){var Xe=null!==He&&He.apply(this,arguments)||this;return Xe.permission={ACCEPT_HANDOVER:"ACCEPT_HANDOVER",ACCESS_BACKGROUND_LOCATION:"ACCESS_BACKGROUND_LOCATION",ACCESS_COARSE_LOCATION:"ACCESS_COARSE_LOCATION",ACCESS_FINE_LOCATION:"ACCESS_FINE_LOCATION",ACCESS_MEDIA_LOCATION:"ACCESS_MEDIA_LOCATION",ACTIVITY_RECOGNITION:"ACTIVITY_RECOGNITION",ADD_VOICEMAIL:"ADD_VOICEMAIL",ANSWER_PHONE_CALLS:"ANSWER_PHONE_CALLS",BLUETOOTH_ADVERTISE:"BLUETOOTH_ADVERTISE",BLUETOOTH_CONNECT:"BLUETOOTH_CONNECT",BLUETOOTH_SCAN:"BLUETOOTH_SCAN",BODY_SENSORS:"BODY_SENSORS",BODY_SENSORS_BACKGROUND:"BODY_SENSORS_BACKGROUND",CALL_PHONE:"CALL_PHONE",CAMERA:"CAMERA",GET_ACCOUNTS:"GET_ACCOUNTS",NEARBY_WIFI_DEVICES:"NEARBY_WIFI_DEVICES",POST_NOTIFICATIONS:"POST_NOTIFICATIONS",PROCESS_OUTGOING_CALLS:"PROCESS_OUTGOING_CALLS",READ_CALENDAR:"READ_CALENDAR",READ_CALL_LOG:"READ_CALL_LOG",READ_CONTACTS:"READ_CONTACTS",READ_EXTERNAL_STORAGE:"READ_EXTERNAL_STORAGE",READ_MEDIA_AUDIO:"READ_MEDIA_AUDIO",READ_MEDIA_IMAGES:"READ_MEDIA_IMAGES",READ_MEDIA_VIDEO:"READ_MEDIA_VIDEO",READ_PHONE_NUMBERS:"READ_PHONE_NUMBERS",READ_PHONE_STATE:"READ_PHONE_STATE",READ_SMS:"READ_SMS",RECEIVE_MMS:"RECEIVE_MMS",RECEIVE_SMS:"RECEIVE_SMS",RECEIVE_WAP_PUSH:"RECEIVE_WAP_PUSH",RECORD_AUDIO:"RECORD_AUDIO",SEND_SMS:"SEND_SMS",USE_SIP:"USE_SIP",UWB_RANGING:"UWB_RANGING",WRITE_CALENDAR:"WRITE_CALENDAR",WRITE_CALL_LOG:"WRITE_CALL_LOG",WRITE_CONTACTS:"WRITE_CONTACTS",WRITE_EXTERNAL_STORAGE:"WRITE_EXTERNAL_STORAGE"},Xe.locationAuthorizationMode={ALWAYS:"always",WHEN_IN_USE:"when_in_use"},Xe.locationAccuracyAuthorization={FULL:"full",REDUCED:"reduced"},Xe.permissionGroups={CALENDAR:["READ_CALENDAR","WRITE_CALENDAR"],CAMERA:["CAMERA"],CONTACTS:["READ_CONTACTS","WRITE_CONTACTS","GET_ACCOUNTS"],LOCATION:["ACCESS_FINE_LOCATION","ACCESS_COARSE_LOCATION"],MICROPHONE:["RECORD_AUDIO"],PHONE:["READ_PHONE_STATE","CALL_PHONE","ADD_VOICEMAIL","USE_SIP","PROCESS_OUTGOING_CALLS","READ_CALL_LOG","WRITE_CALL_LOG"],SENSORS:["BODY_SENSORS"],SMS:["SEND_SMS","RECEIVE_SMS","READ_SMS","RECEIVE_WAP_PUSH","RECEIVE_MMS"],STORAGE:["READ_EXTERNAL_STORAGE","WRITE_EXTERNAL_STORAGE"],NEARBY_DEVICES:["BLUETOOTH_ADVERTISE","BLUETOOTH_SCAN","BLUETOOTH_CONNECT"]},Xe.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},Xe.bluetoothState={UNKNOWN:"unknown",RESETTING:"resetting",UNSUPPORTED:"unsupported",UNAUTHORIZED:"unauthorized",POWERED_OFF:"powered_off",POWERED_ON:"powered_on",POWERING_OFF:"powering_off",POWERING_ON:"powering_on"},Xe.photoLibraryAccessLevel={ADD_ONLY:"add_only",READ_WRITE:"read_write"},Xe}return(0,pe.C6)(Ne,He),Ne.prototype.isLocationAvailable=function(){return dt(this,"isLocationAvailable",{},arguments)},Ne.prototype.isWifiAvailable=function(){return dt(this,"isWifiAvailable",{},arguments)},Ne.prototype.isCameraAvailable=function(Xe){return dt(this,"isCameraAvailable",{callbackOrder:"reverse"},arguments)},Ne.prototype.isBluetoothAvailable=function(){return dt(this,"isBluetoothAvailable",{},arguments)},Ne.prototype.switchToLocationSettings=function(){return dt(this,"switchToLocationSettings",{sync:!0,platforms:["Android","Windows 10","iOS"]},arguments)},Ne.prototype.switchToMobileDataSettings=function(){return dt(this,"switchToMobileDataSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.switchToBluetoothSettings=function(){return dt(this,"switchToBluetoothSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.switchToWifiSettings=function(){return dt(this,"switchToWifiSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.isWifiEnabled=function(){return dt(this,"isWifiEnabled",{platforms:["Android","Windows 10"]},arguments)},Ne.prototype.setWifiState=function(Xe){return dt(this,"setWifiState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Ne.prototype.setBluetoothState=function(Xe){return dt(this,"setBluetoothState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Ne.prototype.enableDebug=function(){return dt(this,"enableDebug",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isLocationEnabled=function(){return dt(this,"isLocationEnabled",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isLocationAuthorized=function(){return dt(this,"isLocationAuthorized",{},arguments)},Ne.prototype.getLocationAuthorizationStatus=function(){return dt(this,"getLocationAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getLocationAuthorizationStatuses=function(){return dt(this,"getLocationAuthorizationStatuses",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestLocationAuthorization=function(Xe,Fe){return dt(this,"requestLocationAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.isCameraPresent=function(){return dt(this,"isCameraPresent",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isCameraAuthorized=function(Xe){return dt(this,"isCameraAuthorized",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.getCameraAuthorizationStatus=function(Xe){return dt(this,"getCameraAuthorizationStatus",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestCameraAuthorization=function(Xe){return dt(this,"requestCameraAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.isMicrophoneAuthorized=function(){return dt(this,"isMicrophoneAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getMicrophoneAuthorizationStatus=function(){return dt(this,"getMicrophoneAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestMicrophoneAuthorization=function(){return dt(this,"requestMicrophoneAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isContactsAuthorized=function(){return dt(this,"isContactsAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getContactsAuthorizationStatus=function(){return dt(this,"getContactsAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestContactsAuthorization=function(){return dt(this,"requestContactsAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isCalendarAuthorized=function(){return dt(this,"isCalendarAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getCalendarAuthorizationStatus=function(){return dt(this,"getCalendarAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestCalendarAuthorization=function(){return dt(this,"requestCalendarAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.switchToSettings=function(){return dt(this,"switchToSettings",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getBluetoothState=function(){return dt(this,"getBluetoothState",{platforms:["Android","iOS"]},arguments)},Ne.prototype.registerBluetoothStateChangeHandler=function(Xe){return dt(this,"registerBluetoothStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Ne.prototype.registerLocationStateChangeHandler=function(Xe){return dt(this,"registerLocationStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Ne.prototype.getArchitecture=function(){return dt(this,"getArchitecture",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getCurrentBatteryLevel=function(){return dt(this,"getCurrentBatteryLevel",{platforms:["Android","iOS"]},arguments)},Ne.prototype.restart=function(Xe){return dt(this,"restart",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.isGpsLocationAvailable=function(){return dt(this,"isGpsLocationAvailable",{platforms:["Android"]},arguments)},Ne.prototype.isGpsLocationEnabled=function(){return dt(this,"isGpsLocationEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isNetworkLocationAvailable=function(){return dt(this,"isNetworkLocationAvailable",{platforms:["Android"]},arguments)},Ne.prototype.isNetworkLocationEnabled=function(){return dt(this,"isNetworkLocationEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isAirplaneModeEnabled=function(){return dt(this,"isAirplaneModeEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isMobileDataEnabled=function(){return dt(this,"isMobileDataEnabled",{platforms:["Android"]},arguments)},Ne.prototype.getLocationMode=function(){return dt(this,"getLocationMode",{platforms:["Android"]},arguments)},Ne.prototype.getDeviceOSVersion=function(){return dt(this,"getDeviceOSVersion",{platforms:["Android"]},arguments)},Ne.prototype.getBuildOSVersion=function(){return dt(this,"getBuildOSVersion",{platforms:["Android"]},arguments)},Ne.prototype.getPermissionAuthorizationStatus=function(Xe){return dt(this,"getPermissionAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.getPermissionsAuthorizationStatus=function(Xe){return dt(this,"getPermissionsAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestRuntimePermission=function(Xe){return dt(this,"requestRuntimePermission",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestRuntimePermissions=function(Xe){return dt(this,"requestRuntimePermissions",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.isRequestingPermission=function(){return dt(this,"isRequestingPermission",{sync:!0},arguments)},Ne.prototype.registerPermissionRequestCompleteHandler=function(Xe){return dt(this,"registerPermissionRequestCompleteHandler",{sync:!0},arguments)},Ne.prototype.isBluetoothEnabled=function(){return dt(this,"isBluetoothEnabled",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothSupport=function(){return dt(this,"hasBluetoothSupport",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothLESupport=function(){return dt(this,"hasBluetoothLESupport",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothLEPeripheralSupport=function(){return dt(this,"hasBluetoothLEPeripheralSupport",{platforms:["Android"]},arguments)},Ne.prototype.getBluetoothAuthorizationStatus=function(){return dt(this,"getBluetoothAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getBluetoothAuthorizationStatuses=function(){return dt(this,"getBluetoothAuthorizationStatuses",{platforms:["Android"]},arguments)},Ne.prototype.isExternalStorageAuthorized=function(){return dt(this,"isExternalStorageAuthorized",{platforms:["Android"]},arguments)},Ne.prototype.getExternalStorageAuthorizationStatus=function(){return dt(this,"getExternalStorageAuthorizationStatus",{platforms:["Android"]},arguments)},Ne.prototype.requestExternalStorageAuthorization=function(){return dt(this,"requestExternalStorageAuthorization",{platforms:["Android"]},arguments)},Ne.prototype.getExternalSdCardDetails=function(){return dt(this,"getExternalSdCardDetails",{platforms:["Android"]},arguments)},Ne.prototype.switchToWirelessSettings=function(){return dt(this,"switchToWirelessSettings",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.switchToNFCSettings=function(){return dt(this,"switchToNFCSettings",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.isNFCPresent=function(){return dt(this,"isNFCPresent",{platforms:["Android"]},arguments)},Ne.prototype.isNFCEnabled=function(){return dt(this,"isNFCEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isNFCAvailable=function(){return dt(this,"isNFCAvailable",{platforms:["Android"]},arguments)},Ne.prototype.registerNFCStateChangeHandler=function(Xe){return dt(this,"registerNFCStateChangeHandler",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.isDataRoamingEnabled=function(){return dt(this,"isDataRoamingEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isADBModeEnabled=function(){return dt(this,"isADBModeEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isDeviceRooted=function(){return dt(this,"isDeviceRooted",{platforms:["Android"]},arguments)},Ne.prototype.isCameraRollAuthorized=function(Xe){return dt(this,"isCameraRollAuthorized",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.getCameraRollAuthorizationStatus=function(Xe){return dt(this,"getCameraRollAuthorizationStatus",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestCameraRollAuthorization=function(Xe){return dt(this,"requestCameraRollAuthorization",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.presentLimitedLibraryPicker=function(){return dt(this,"presentLimitedLibraryPicker",{platforms:["iOS"]},arguments)},Ne.prototype.isRemoteNotificationsEnabled=function(){return dt(this,"isRemoteNotificationsEnabled",{platforms:["iOS","Android"]},arguments)},Ne.prototype.isRegisteredForRemoteNotifications=function(){return dt(this,"isRegisteredForRemoteNotifications",{platforms:["iOS"]},arguments)},Ne.prototype.getRemoteNotificationsAuthorizationStatus=function(){return dt(this,"getRemoteNotificationsAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestRemoteNotificationsAuthorization=function(Xe,Fe){return dt(this,"requestRemoteNotificationsAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.getRemoteNotificationTypes=function(){return dt(this,"getRemoteNotificationTypes",{platforms:["iOS"]},arguments)},Ne.prototype.isRemindersAuthorized=function(){return dt(this,"isRemindersAuthorized",{platforms:["iOS"]},arguments)},Ne.prototype.getRemindersAuthorizationStatus=function(){return dt(this,"getRemindersAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestRemindersAuthorization=function(){return dt(this,"requestRemindersAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.isBackgroundRefreshAuthorized=function(){return dt(this,"isBackgroundRefreshAuthorized",{platforms:["iOS"]},arguments)},Ne.prototype.getBackgroundRefreshStatus=function(){return dt(this,"getBackgroundRefreshStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestBluetoothAuthorization=function(){return dt(this,"requestBluetoothAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.isMotionAvailable=function(){return dt(this,"isMotionAvailable",{platforms:["iOS"]},arguments)},Ne.prototype.isMotionRequestOutcomeAvailable=function(){return dt(this,"isMotionRequestOutcomeAvailable",{platforms:["iOS"]},arguments)},Ne.prototype.requestMotionAuthorization=function(){return dt(this,"requestMotionAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.getMotionAuthorizationStatus=function(){return dt(this,"getMotionAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.getLocationAccuracyAuthorization=function(){return dt(this,"getLocationAccuracyAuthorization",{platforms:["iOS","Android"]},arguments)},Ne.prototype.requestTemporaryFullAccuracyAuthorization=function(Xe){return dt(this,"requestTemporaryFullAccuracyAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.registerLocationAccuracyAuthorizationChangeHandler=function(Xe){return dt(this,"registerLocationAccuracyAuthorizationChangeHandler",{platforms:["iOS"],sync:!0},arguments)},Object.defineProperty(Ne.prototype,"permissionStatus",{get:function(){return Un(this,"permissionStatus")},set:function(Xe){Ut(this,"permissionStatus",Xe)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"NFCState",{get:function(){return Un(this,"NFCState")},set:function(Xe){Ut(this,"NFCState",Xe)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"cpuArchitecture",{get:function(){return Un(this,"cpuArchitecture")},set:function(Xe){Ut(this,"cpuArchitecture",Xe)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"remoteNotificationType",{get:function(){return Un(this,"remoteNotificationType")},set:function(Xe){Ut(this,"remoteNotificationType",Xe)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"motionStatus",{get:function(){return Un(this,"motionStatus")},set:function(Xe){Ut(this,"motionStatus",Xe)},enumerable:!1,configurable:!0}),Ne.\u0275fac=(()=>{let Xe;return function(ft){return(Xe||(Xe=p.xGo(Ne)))(ft||Ne)}})(),Ne.\u0275prov=p.jDH({token:Ne,factory:Ne.\u0275fac}),Ne.pluginName="Diagnostic",Ne.plugin="cordova.plugins.diagnostic",Ne.pluginRef="cordova.plugins.diagnostic",Ne.repo="https://github.com/dpa99c/cordova-diagnostic-plugin",Ne.platforms=["Android","iOS","Windows"],Ne=(0,pe.Cg)([],Ne)}(St),_e=function(He){return He.GRANTED="GRANTED",He.NOT_REQUESTED="NOT_REQUESTED",He.DENIED_ALWAYS="DENIED_ALWAYS",He.DENIED="DENIED",He.UNKNOWN="UNKNOWN",He}(_e||{}),De=function(He){return He.CAMERA="CAMERA",He.MICROPHONE="MICROPHONE",He}(De||{});let Me=(()=>{var He;class Ne{constructor(Fe,ft){this.platform=Fe,this.diagnostic=ft}hasCameraPermission(){var Fe=this;return(0,a.A)(function*(){const ft=yield Fe.diagnostic.getCameraAuthorizationStatus(!1);return Fe.getPermissionStatus(ft)})()}hasMicrophonePermission(){var Fe=this;return(0,a.A)(function*(){const ft=yield Fe.diagnostic.getMicrophoneAuthorizationStatus();return Fe.getPermissionStatus(ft)})()}requestPermissions(Fe){var ft=this;return(0,a.A)(function*(){if(ft.platform.is("android")){const Ht=[];Fe.indexOf(De.CAMERA)>=0&&Ht.push(ft.diagnostic.permission.CAMERA),Fe.indexOf(De.MICROPHONE)>=0&&Ht.push(ft.diagnostic.permission.RECORD_AUDIO),yield ft.diagnostic.requestRuntimePermissions(Ht)}else ft.platform.is("ios")?(Fe.indexOf(De.CAMERA)>=0&&(yield ft.diagnostic.requestCameraAuthorization(!1)),Fe.indexOf(De.MICROPHONE)>=0&&(yield ft.diagnostic.requestMicrophoneAuthorization())):console.warn("requesting permission in browser")})()}userRequestsPermissions(Fe){var ft=this;return(0,a.A)(function*(){let Ht=!1;for(const pn of Fe)Ht=(yield ft.canAskForPermission(pn))||Ht;Ht&&(yield ft.requestPermissions(Fe))})()}canAskForPermission(Fe){var ft=this;return(0,a.A)(function*(){let Ht=!0;return ft.platform.is("android")?Fe===De.CAMERA?Ht=(yield ft.hasCameraPermission())!==_e.DENIED_ALWAYS:Fe===De.MICROPHONE&&(Ht=(yield ft.hasMicrophonePermission())!==_e.DENIED_ALWAYS):ft.platform.is("ios")&&(Fe===De.CAMERA?Ht=(yield ft.hasCameraPermission())!==_e.DENIED:Fe===De.MICROPHONE&&(Ht=(yield ft.hasMicrophonePermission())!==_e.DENIED)),Ht})()}getPermissionStatus(Fe){var ft=this;return(0,a.A)(function*(){return ft.isGranted(Fe)?_e.GRANTED:ft.isNotRequested(Fe)?_e.NOT_REQUESTED:ft.isDeniedAlways(Fe)?_e.DENIED_ALWAYS:ft.isDenied(Fe)?_e.DENIED:_e.UNKNOWN})()}isGranted(Fe){return Fe===this.diagnostic.permissionStatus.GRANTED||Fe===this.diagnostic.permissionStatus.GRANTED_WHEN_IN_USE}isNotRequested(Fe){return Fe===this.diagnostic.permissionStatus.NOT_REQUESTED}isDeniedAlways(Fe){return Fe===this.diagnostic.permissionStatus.DENIED_ALWAYS||Fe===this.diagnostic.permissionStatus.RESTRICTED}isDenied(Fe){return!(this.isGranted(Fe)||this.isNotRequested(Fe))}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.KVO(c.OD),p.KVO(Ve))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),Ne})();var Ze=E(2342);let $e=(()=>{var He;class Ne{constructor(Fe,ft,Ht){this.platform=Fe,this.utilService=ft,this.permissionsService=Ht,this.hasCameras=!1,this.isActive=!1,this._hasCameraPermission=new Oe.m,this.hasCameraPermission=this._hasCameraPermission.asObservable()}requestPermission(Fe,ft){var Ht=this;return(0,a.A)(function*(){yield Ht.permissionsService.userRequestsPermissions([De.CAMERA]),yield Ht.checkCameraPermissionsAndActivate(Fe,ft)})()}checkCameraPermissionsAndActivate(Fe,ft){var Ht=this;return(0,a.A)(function*(){(yield Ht.permissionsService.hasCameraPermission())===_e.GRANTED?(document.body.style.backgroundColor="transparent",Ht._hasCameraPermission.next(!0),Ht.startScan(Fe,ft)):Ht._hasCameraPermission.next(!1)})()}startScan(Fe,ft=null){this.scan(Fe,ft)}checkScan(Fe){console.error(`The checkScan method needs to be overwritten. Ignoring text ${Fe}`)}scan(Fe,ft=null){var Ht=this;this.isActive=!0;let pn=this.utilService.translateMessage("SCAN_QR_INSTRUCTION");window.qrScanner.startScanner("Scan",pn,"#0b0b0b",pn,!1,this.platform.isRTL,function(){var In=(0,a.A)(function*(kn){Fe(kn),Ht.stopScanner()});return function(kn){return In.apply(this,arguments)}}(),In=>{this.stopScanner()})}stopScanner(){this.isActive&&setTimeout(()=>{window.qrScanner.stopScanner(),this.isActive=!1},100)}destroy(){window.qrScanner.stopScanner()}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.KVO(c.OD),p.KVO(Ze.a),p.KVO(Me))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),Ne})();var it=E(9030),Pe=E(8810),Be=E(8793),Ue=E(1413),Ct=E(5343);const Je=new d.c(Ct.l);var Jt=E(6365),yt=E(8750),mt=E(983),Wt=E(9326),Ot=E(6648);function Rt(...He){const Ne=(0,Wt.lI)(He),Xe=(0,Wt.R0)(He,1/0),Fe=He;return Fe.length?1===Fe.length?(0,yt.Tg)(Fe[0]):(0,Jt.U)(Xe)((0,Ot.H)(Fe,Ne)):mt.w}var Fn=E(6354),An=E(5558),wn=E(17),bn=E(8071),Wn=E(9974);const Pn={connector:()=>new Ue.B};function Ln(He,Ne=Pn){const{connector:Xe}=Ne;return(0,Wn.N)((Fe,ft)=>{const Ht=Xe();(0,yt.Tg)(He(function Vn(He){return new d.c(Ne=>He.subscribe(Ne))}(Ht))).subscribe(ft),ft.add(Fe.subscribe(Ht))})}var $n=E(6697),je=E(4360),Tt=E(3028);function wt(He,Ne){return Ne?Xe=>(0,Be.x)(Ne.pipe((0,$n.s)(1),function lt(){return(0,Wn.N)((He,Ne)=>{He.subscribe((0,je._)(Ne,Ct.l))})}()),Xe.pipe(wt(He))):(0,Tt.Z)((Xe,Fe)=>(0,yt.Tg)(He(Xe,Fe)).pipe((0,$n.s)(1),(0,ae.u)(Xe)))}const Yt="Service workers are disabled or not supported by this browser";class Zt{constructor(Ne){if(this.serviceWorker=Ne,Ne){const Fe=(0,Se.R)(Ne,"controllerchange").pipe((0,Fn.T)(()=>Ne.controller)),ft=(0,it.v)(()=>(0,oe.of)(Ne.controller)),Ht=(0,Be.x)(ft,Fe);this.worker=Ht.pipe((0,Ae.p)(rr=>!!rr)),this.registration=this.worker.pipe((0,An.n)(()=>Ne.getRegistration()));const gr=(0,Se.R)(Ne,"message").pipe((0,Fn.T)(rr=>rr.data)).pipe((0,Ae.p)(rr=>rr&&rr.type)).pipe(function Gn(He){return He?Ne=>Ln(He)(Ne):Ne=>function Kn(He,Ne){const Xe=(0,bn.T)(He)?He:()=>He;return(0,bn.T)(Ne)?Ln(Ne,{connector:Xe}):Fe=>new wn.G(Fe,Xe)}(new Ue.B)(Ne)}());gr.connect(),this.events=gr}else this.worker=this.events=this.registration=function qt(He){return(0,it.v)(()=>(0,Pe.$)(new Error(He)))}(Yt)}postMessage(Ne,Xe){return this.worker.pipe((0,$n.s)(1),(0,ve.M)(Fe=>{Fe.postMessage({action:Ne,...Xe})})).toPromise().then(()=>{})}postMessageWithOperation(Ne,Xe,Fe){const ft=this.waitForOperationCompleted(Fe),Ht=this.postMessage(Ne,Xe);return Promise.all([Ht,ft]).then(([,pn])=>pn)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Ne){let Xe;return Xe="string"==typeof Ne?Fe=>Fe.type===Ne:Fe=>Ne.includes(Fe.type),this.events.pipe((0,Ae.p)(Xe))}nextEventOfType(Ne){return this.eventsOfType(Ne).pipe((0,$n.s)(1))}waitForOperationCompleted(Ne){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Ae.p)(Xe=>Xe.nonce===Ne),(0,$n.s)(1),(0,Fn.T)(Xe=>{if(void 0!==Xe.result)return Xe.result;throw new Error(Xe.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Tn=(()=>{var He;class Ne{get isEnabled(){return this.sw.isEnabled}constructor(Fe){if(this.sw=Fe,this.pushManager=null,this.subscriptionChanges=new Ue.B,!Fe.isEnabled)return this.messages=Je,this.notificationClicks=Je,void(this.subscription=Je);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Fn.T)(Ht=>Ht.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Fn.T)(Ht=>Ht.data)),this.pushManager=this.sw.registration.pipe((0,Fn.T)(Ht=>Ht.pushManager));const ft=this.pushManager.pipe((0,An.n)(Ht=>Ht.getSubscription()));this.subscription=Rt(ft,this.subscriptionChanges)}requestSubscription(Fe){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Yt));const ft={userVisibleOnly:!0};let Ht=this.decodeBase64(Fe.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),pn=new Uint8Array(new ArrayBuffer(Ht.length));for(let In=0;InIn.subscribe(ft)),(0,$n.s)(1)).toPromise().then(In=>(this.subscriptionChanges.next(In),In))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,$n.s)(1),(0,An.n)(ft=>{if(null===ft)throw new Error("Not subscribed to push notifications.");return ft.unsubscribe().then(Ht=>{if(!Ht)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Yt))}decodeBase64(Fe){return atob(Fe)}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.KVO(Zt))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac}),Ne})(),Dn=(()=>{var He;class Ne{get isEnabled(){return this.sw.isEnabled}constructor(Fe){if(this.sw=Fe,!Fe.isEnabled)return this.versionUpdates=Je,void(this.unrecoverable=Je);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Yt));const Fe=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:Fe},Fe)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Yt));const Fe=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:Fe},Fe)}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.KVO(Zt))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac}),Ne})();const Xn=new p.nKC("");function mr(He,Ne,Xe,Fe){return()=>{if(!(0,_.UE)(Fe)||!("serviceWorker"in navigator)||!1===Xe.enabled)return;let ft;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof Xe.registrationStrategy)ft=Xe.registrationStrategy();else{const[pn,...In]=(Xe.registrationStrategy||"registerWhenStable:30000").split(":");switch(pn){case"registerImmediately":ft=(0,oe.of)(null);break;case"registerWithDelay":ft=Ke(+In[0]||0);break;case"registerWhenStable":ft=In[0]?Rt(et(He),Ke(+In[0])):et(He);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${Xe.registrationStrategy}`)}}He.get(p.SKi).runOutsideAngular(()=>ft.pipe((0,$n.s)(1)).subscribe(()=>navigator.serviceWorker.register(Ne,{scope:Xe.scope}).catch(pn=>console.error("Service worker registration failed with:",pn))))}}function Ke(He){return(0,oe.of)(null).pipe(function Lt(He,Ne=f){const Xe=V(He,Ne);return wt(()=>Xe)}(He))}function et(He){return He.get(p.o8S).isStable.pipe((0,Ae.p)(Xe=>Xe))}function Te(He,Ne){return new Zt((0,_.UE)(Ne)&&!1!==He.enabled?navigator.serviceWorker:void 0)}class qe{}function bt(He,Ne={}){return(0,p.EmA)([Tn,Dn,{provide:Xn,useValue:He},{provide:qe,useValue:Ne},{provide:Zt,useFactory:Te,deps:[qe,p.Agw]},{provide:p.hnV,useFactory:mr,deps:[p.zZn,Xn,qe,p.Agw],multi:!0}])}let Kt=(()=>{var He;class Ne{static register(Fe,ft={}){return{ngModule:Ne,providers:[bt(Fe,ft)]}}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)},He.\u0275mod=p.$C({type:He}),He.\u0275inj=p.G2t({providers:[Tn,Dn]}),Ne})();var hn=E(446),Et=E(5173);const zt=(He,Ne)=>({title_bb:He,animate_title:Ne});function ye(He,Ne){if(1&He&&(p.j41(0,"ion-title",27),p.EFF(1),p.k0s()),2&He){const Xe=p.XpG(2);p.Y8G("ngClass",p.l_i(2,zt,null==Xe.headerConfig?null:Xe.headerConfig.showbackButton,(null==Xe.headerConfig?null:Xe.headerConfig.pageTitle)==Xe.appName)),p.R7$(),p.JRh(null==Xe.configVariables?null:Xe.configVariables.siteName)}}function We(He,Ne){if(1&He&&(p.j41(0,"ion-title",28),p.EFF(1),p.k0s()),2&He){const Xe=p.XpG(2);p.R7$(),p.JRh(null==Xe.headerConfig?null:Xe.headerConfig.pageTitle)}}function ct(He,Ne){1&He&&(p.nrm(0,"ion-input",29,0),p.nI1(2,"translate")),2&He&&p.Y8G("placeholder",p.bMT(2,1,"SEARCH_HINT"))}function xt(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"ion-button",23),p.bIt("click",function(ft){p.eBV(Xe);const Ht=p.XpG(2);return p.Njj(Ht.emitEvent(ft,"edit"))}),p.nrm(1,"ion-icon",30),p.k0s()}}function Xt(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"div",14)(1,"ion-buttons",15)(2,"ion-button",1),p.nrm(3,"ion-icon",16),p.k0s(),p.j41(4,"ion-button",17),p.bIt("click",function(ft){p.eBV(Xe);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ft,"back"))}),p.nrm(5,"ion-icon",18),p.k0s()(),p.DNE(6,ye,2,5,"ion-title",19)(7,We,2,1,"ion-title",20)(8,ct,3,3,"ion-input",21),p.j41(9,"ion-buttons",22)(10,"ion-button",23),p.bIt("click",function(ft){p.eBV(Xe);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ft,"search"))}),p.nrm(11,"ion-icon",24),p.k0s(),p.j41(12,"ion-button",23),p.bIt("click",function(ft){p.eBV(Xe);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ft,"profile"))}),p.nrm(13,"ion-icon",25),p.k0s()(),p.j41(14,"ion-buttons",22),p.DNE(15,xt,2,0,"ion-button",26),p.k0s()()}if(2&He){const Xe=p.XpG();p.R7$(2),p.Y8G("hidden",null==Xe.headerConfig?null:Xe.headerConfig.showbackButton),p.R7$(),p.FS9("src",null==Xe.configVariables?null:Xe.configVariables.tenantLogo),p.R7$(),p.Y8G("hidden",!(null!=Xe.headerConfig&&Xe.headerConfig.showbackButton)),p.R7$(2),p.Y8G("ngIf",!(null!=Xe.headerConfig&&Xe.headerConfig.showbackButton&&((null==Xe.headerConfig||null==Xe.headerConfig.actionButtons?null:Xe.headerConfig.actionButtons.indexOf("search"))>=0||(null==Xe.headerConfig||null==Xe.headerConfig.actionButtons?null:Xe.headerConfig.actionButtons.indexOf("edit"))>=0))),p.R7$(),p.Y8G("ngIf",(null==Xe.headerConfig||null==Xe.headerConfig.actionButtons?null:Xe.headerConfig.actionButtons.indexOf("edit"))>=0),p.R7$(),p.Y8G("ngIf",(null==Xe.headerConfig?null:Xe.headerConfig.showbackButton)&&(null==Xe.headerConfig||null==Xe.headerConfig.actionButtons?null:Xe.headerConfig.actionButtons.indexOf("search"))>=0),p.R7$(),p.Y8G("hidden",null==Xe.headerConfig?null:Xe.headerConfig.showbackButton),p.R7$(5),p.Y8G("hidden",!(null!=Xe.headerConfig&&Xe.headerConfig.showbackButton)),p.R7$(),p.Y8G("ngIf",(null==Xe.headerConfig||null==Xe.headerConfig.actionButtons?null:Xe.headerConfig.actionButtons.indexOf("edit"))>=0)}}function $t(He,Ne){1&He&&p.nrm(0,"img",39)}function an(He,Ne){1&He&&p.nrm(0,"img",40)}function ln(He,Ne){1&He&&p.nrm(0,"img",41)}function fn(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"div",31)(1,"div",32),p.bIt("click",function(ft){p.eBV(Xe);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ft,"back"))}),p.nrm(2,"ion-icon",33),p.j41(3,"div",34),p.EFF(4),p.nI1(5,"translate"),p.k0s(),p.j41(6,"div",35),p.DNE(7,$t,1,0,"img",36)(8,an,1,0,"img",37)(9,ln,1,0,"img",38),p.k0s()()()}if(2&He){const Xe=p.XpG();p.R7$(),p.Y8G("ngClass","Parent Tara"===(null==Xe.headerConfig?null:Xe.headerConfig.pageTitle)||"Teacher Tara"===(null==Xe.headerConfig?null:Xe.headerConfig.pageTitle)?"question-bot":""),p.R7$(3),p.JRh(p.bMT(5,5,null==Xe.headerConfig?null:Xe.headerConfig.pageTitle)),p.R7$(3),p.Y8G("ngIf","Katha Sakhi"===(null==Xe.headerConfig?null:Xe.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf","Parent Tara"===(null==Xe.headerConfig?null:Xe.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf","Teacher Tara"===(null==Xe.headerConfig?null:Xe.headerConfig.pageTitle))}}function un(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"div",23),p.bIt("click",function(){const ft=p.eBV(Xe).$implicit,Ht=p.XpG(2);return p.Njj(Ht.handleFilter(ft))}),p.j41(1,"ion-chip",46),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&He){const Xe=Ne.$implicit,Fe=p.XpG(2);p.R7$(),p.Y8G("ngClass",(null==Xe?null:Xe.label)==(null==Fe.defaultFilter?null:Fe.defaultFilter.label)?"active":""),p.R7$(),p.JRh(p.bMT(3,2,Xe.label))}}function tn(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"div",42)(1,"ion-chip",43),p.bIt("click",function(){p.eBV(Xe);const ft=p.XpG();return p.Njj(ft.toggleMenu())}),p.nrm(2,"ion-icon",44),p.k0s(),p.DNE(3,un,4,4,"div",45),p.k0s()}if(2&He){const Xe=p.XpG();p.R7$(3),p.Y8G("ngForOf",Xe.filters)}}function Mn(He,Ne){if(1&He){const Xe=p.RV6();p.j41(0,"ion-item",47),p.bIt("click",function(ft){const Ht=p.eBV(Xe).$implicit,pn=p.XpG();return p.Njj(pn.emitSideMenuItemEvent(ft,Ht))}),p.j41(1,"ion-label",48),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&He){const Xe=Ne.$implicit,Fe=p.XpG();p.R7$(),p.Y8G("ngClass",(null==Xe?null:Xe.label)==(null==Fe.defaultFilter?null:Fe.defaultFilter.label)?"active-label":""),p.R7$(),p.JRh(p.bMT(3,2,Xe.label))}}let _n=(()=>{var He;class Ne{constructor(Fe,ft,Ht,pn,In){this.utilService=Fe,this.telemetryGeneratorService=ft,this.menuCtrl=Ht,this.headerService=pn,this.modalCtrl=In,this.headerConfig=!1,this.headerEvents=new p.bkB,this.sideMenuItemEvent=new p.bkB,this.isMenuOpen=!1,this.filters=[],this.appVersion="",this.appName="",C.q.getInfo().then(kn=>{this.appVersion=`v${kn.version}.${kn.build}`,this.appName=kn.name}),hn.g.then(kn=>{console.log("Configuration:",kn),this.configVariables=kn}).catch(kn=>{console.error("Failed to load configuration:",kn)})}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.defaultFilter={},Fe.headerService.filterConfigEmitted$.subscribe(ft=>{Fe.filters=[],Fe.defaultFilter=ft.defaultFilter,Fe.filters.push(ft.defaultFilter),ft.filter.forEach(Ht=>{Fe.filters.push(Ht)})}),Fe.appInfo=yield Fe.utilService.getAppInfo()})()}scan(){var Fe=this;return(0,a.A)(function*(){Fe.telemetryGeneratorService.generateInteractTelemetry("TOUCH","qrscanner-clicked","home","home")})()}handleSearch(Fe){var ft=this;return(0,a.A)(function*(){ft.emitEvent(Fe,"search")})()}emitEvent(Fe,ft){"scan"==ft&&this.scan(),this.headerEvents.emit({event:Fe,name:ft})}toggleMenu(){var Fe=this;return(0,a.A)(function*(){yield Fe.menuCtrl.toggle(),Fe.isMenuOpen=yield Fe.menuCtrl.isEnabled()})()}emitSideMenuItemEvent(Fe,ft){this.menuCtrl.close().then(()=>{this.handleFilter(ft)}).catch(Ht=>{this.handleFilter(ft)})}handleFilter(Fe){this.defaultFilter=Fe,this.sideMenuItemEvent.emit({filter:Fe})}navigateToQRScreen(){var Fe=this;return(0,a.A)(function*(){const ft=yield Fe.modalCtrl.create({component:me,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield ft.present(),ft.onDidDismiss()})()}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.rXU(T.a0),p.rXU(Et.O),p.rXU(D._t),p.rXU(T.Ux),p.rXU(D.W3))},He.\u0275cmp=p.VBU({type:He,selectors:[["app-application-header"]],inputs:{headerConfig:"headerConfig"},outputs:{headerEvents:"headerEvents",sideMenuItemEvent:"sideMenuItemEvent"},decls:22,vars:14,consts:[["searchInput",""],[3,"hidden"],[1,"custom-header"],["class","header-content",4,"ngIf"],["class","bot-back-panel",4,"ngIf"],["class","pills-container",4,"ngIf"],["contentId","mainContent","side","start","persistent","true",1,"sb-side-menu",3,"swipeGesture"],[1,"filter_title"],[1,"ion-padding"],[1,"sb-menu-list"],["lines","none",3,"click",4,"ngFor","ngForOf"],[1,"footer_menu"],["role","button","menuClose","",1,"sb-menu-item"],["role","button","menuClose",""],[1,"header-content"],["slot","start",1,"start-icon"],["aria-hidden","true",1,"pitara-icon",3,"src"],[3,"click","hidden"],["aria-hidden","true","src","assets/icon/back.svg",1,"back-btn"],["role","heading","aria-level","1",3,"ngClass",4,"ngIf"],["role","heading","aria-level","1",4,"ngIf"],["type","search",3,"placeholder",4,"ngIf"],["slot","end",3,"hidden"],[3,"click"],["aria-hidden","true","src","assets/icon/search.svg"],["aria-hidden","true","src","assets/icon/language-icon.svg"],[3,"click",4,"ngIf"],["role","heading","aria-level","1",3,"ngClass"],["role","heading","aria-level","1"],["type","search",3,"placeholder"],["aria-hidden","true","src","assets/icon/edit.svg",1,"edit-icon"],[1,"bot-back-panel"],[1,"bot-back-panel-container",3,"click","ngClass"],["aria-hidden","true","src","assets/icon/bot-back-icon.svg"],[1,"bot-back-panel__title"],[1,"logo"],["src","../../../assets/images/story_sakhi.png","alt","",4,"ngIf"],["src","../../../assets/images/parent_sakhi.png","alt","",4,"ngIf"],["src","../../../assets/images/teacher_sakhi.png","alt","",4,"ngIf"],["src","../../../assets/images/story_sakhi.png","alt",""],["src","../../../assets/images/parent_sakhi.png","alt",""],["src","../../../assets/images/teacher_sakhi.png","alt",""],[1,"pills-container"],[1,"pills",3,"click"],["aria-hidden","true","src","assets/icon/list.svg"],[3,"click",4,"ngFor","ngForOf"],[1,"pills",3,"ngClass"],["lines","none",3,"click"],["role","button","menuClose","",1,"sb-menu-item",3,"ngClass"]],template:function(Fe,ft){1&Fe&&(p.j41(0,"ion-header",1)(1,"ion-toolbar",2),p.DNE(2,Xt,16,9,"div",3)(3,fn,10,7,"div",4)(4,tn,4,1,"div",5),p.k0s()(),p.j41(5,"ion-menu",6)(6,"ion-header")(7,"ion-toolbar")(8,"ion-title",7),p.EFF(9),p.nI1(10,"translate"),p.k0s()()(),p.j41(11,"ion-content",8)(12,"ion-list",9),p.DNE(13,Mn,4,4,"ion-item",10),p.k0s()(),p.j41(14,"ion-footer")(15,"div",11)(16,"ion-label",12),p.EFF(17),p.nI1(18,"translate"),p.k0s(),p.j41(19,"ion-label",13)(20,"span"),p.EFF(21),p.k0s()()()()()),2&Fe&&(p.Y8G("hidden",!(null!=ft.headerConfig&&ft.headerConfig.showHeader)),p.R7$(2),p.Y8G("ngIf","bot"!==(null==ft.headerConfig?null:ft.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf","bot"===(null==ft.headerConfig?null:ft.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf",!(null!=ft.headerConfig&&ft.headerConfig.showbackButton)&&"My Jaadui Pitara"!==(null==ft.headerConfig?null:ft.headerConfig.pageTitle)),p.R7$(),p.Y8G("swipeGesture",!1),p.R7$(4),p.JRh(p.bMT(10,10,"All Categories")),p.R7$(4),p.Y8G("ngForOf",ft.filters),p.R7$(4),p.Lme("",p.bMT(18,12,"Version: ")," ",ft.appVersion,""),p.R7$(4),p.JRh(null==ft.configVariables?null:ft.configVariables.siteName))},dependencies:[_.YU,_.Sq,_.bT,D.Jm,D.QW,D.ZB,D.W9,D.M0,D.eU,D.iq,D.$w,D.uz,D.he,D.nf,D.oS,D.BC,D.ai,D.Gw,w.D9],styles:["ion-header[_ngcontent-%COMP%]{box-shadow:none} .toolbar-container{padding:0!important;min-height:auto}.active-label[_ngcontent-%COMP%]{color:var(--ion-color-primary)}ion-icon[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;margin-left:0}.start-icon[_ngcontent-%COMP%] ion-icon.pitara-icon[_ngcontent-%COMP%]{width:2.5rem;height:2.5rem}.header-content[_ngcontent-%COMP%]{display:flex}.pills-container[_ngcontent-%COMP%]{display:grid;gap:.25rem;overflow-y:auto;overflow-x:auto;grid-auto-flow:column;padding:1rem .5rem;grid-auto-columns:max-content}.pills-container[_ngcontent-%COMP%] .pills[_ngcontent-%COMP%]{padding:.375rem .75rem;text-transform:capitalize;border-radius:.625rem;font-size:.75rem;width:max-content}.pills-container[_ngcontent-%COMP%] .pills.active[_ngcontent-%COMP%]{background-color:var(--ion-color-secondary-contrast);color:var(--ion-color-primary-contrast)}.pills-container[_ngcontent-%COMP%] .pills[_ngcontent-%COMP%] icon-icon[_ngcontent-%COMP%]{margin-left:0}.sb-side-menu[_ngcontent-%COMP%]{--max-width: 68%}.sb-side-menu[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%]{--background: var(--ion-color-primary-contrast);--color: var(--ion-color-secondary-contrast);margin:0 0 0 1.5rem}.sb-side-menu[_ngcontent-%COMP%] ion-toolbar[_ngcontent-%COMP%] .filter_title[_ngcontent-%COMP%]{width:100%!important}.sb-side-menu[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{display:flex;align-items:center}.sb-side-menu[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block}.sb-side-menu[_ngcontent-%COMP%] .sb-menu-list[_ngcontent-%COMP%]{padding:0!important}span[_ngcontent-%COMP%]{font-size:12px}.custom-header[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%]{color:#cf4147}.custom-header[_ngcontent-%COMP%] .title_bb[_ngcontent-%COMP%]{color:#000}.bot-back-panel[_ngcontent-%COMP%]{padding-bottom:2rem;background:url(Doodles.5521a3972f72a279.svg) center center/cover no-repeat;background-color:#fffaee}.bot-back-panel[_ngcontent-%COMP%] .bot-back-panel-container[_ngcontent-%COMP%]{background:var(--ion-color-primary);height:4rem;padding:1rem;display:flex;align-items:center}.bot-back-panel[_ngcontent-%COMP%] .bot-back-panel-container.question-bot[_ngcontent-%COMP%]{background:var(--ion-color-tertiary)}.bot-back-panel[_ngcontent-%COMP%] .bot-back-panel-container[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:var(--ion-color-primary-contrast)}.bot-back-panel__title[_ngcontent-%COMP%]{font-size:1rem;font-style:normal;font-weight:700;color:var(--ion-color-primary-contrast);padding:0 .5rem}.edit-icon[_ngcontent-%COMP%]{width:1.2rem;height:1.2rem}.back-btn[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.logo[_ngcontent-%COMP%]{position:absolute;right:0;top:-.5rem;width:7rem}ion-title[_ngcontent-%COMP%]{font-weight:700;padding:0 .5rem 0 0;font-size:1rem;width:48%}.animate_title[_ngcontent-%COMP%]{background-image:linear-gradient(-225deg,#fcb915 5%,#cf4147 29%,#b6393e 67%,#ec5050);background-size:auto auto;background-clip:border-box;background-size:200% auto;background-clip:text;text-fill-color:transparent;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:_ngcontent-%COMP%_textclip 2s linear infinite;font-weight:700;padding:0 .5rem 0 0;font-size:.8rem}@keyframes _ngcontent-%COMP%_textclip{to{background-position:200% center}}.footer_menu[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:column;margin:.5rem 1.5rem}"]}),Ne})();const On=["mainContent"];let pr=(()=>{var He;class Ne{constructor(Fe,ft,Ht,pn,In,kn,gr,rr,Hn,Yn,ti){this.headerService=Fe,this.telemetryAutoSyncService=ft,this.scannerService=Ht,this.popoverCtrl=pn,this.modalCtrl=In,this.router=kn,this.alertController=gr,this.location=rr,this.route=Hn,this.platform=Yn,this.swUpdate=ti,this.langModalOpen=!1,this.count=0,this.optModalOpen=!1,this.languages=[],this.exitModalPresented=!1,this.environmentInjector=(0,p.WQX)(p.uvJ),this.initializeApp(),this.initialize()}initializeApp(){history.pushState(null,"",location.href),this.swUpdate.versionUpdates.subscribe(Fe=>{switch(Fe.type){case"VERSION_DETECTED":console.log(`Downloading new app version: ${Fe.version.hash}`),this.presentUpdateAlert();break;case"VERSION_READY":console.log(`Current app version: ${Fe.currentVersion.hash}`),console.log(`New app version ready for use: ${Fe.latestVersion.hash}`);break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${Fe.version.hash}': ${Fe.error}`)}})}initialize(){var Fe=this;return(0,a.A)(function*(){window.onpopstate=(0,a.A)(function*(){history.pushState(null,"",location.href);const ft=yield Fe.modalCtrl.getTop();ft&&ft.dismiss()})})()}presentExitConfirmationModal(){var Fe=this;return(0,a.A)(function*(){let ft;Fe.exitModalPresented=!0,setTimeout(()=>{Fe.exitModalPresented=!1},4e3),Fe.optModalOpen=!0,ft=yield Fe.modalCtrl.create({component:te.Z,cssClass:"sheet-modal",breakpoints:[.2],showBackdrop:!1,backdropDismiss:!1,initialBreakpoint:.2,handle:!1,handleBehavior:"none"}),yield ft.present(),ft.onDidDismiss().then(Ht=>{Fe.optModalOpen=!1,Ht.data&&Ht.data&&(window.close(),C.q.exitApp())})})()}presentUpdateAlert(){var Fe=this;return(0,a.A)(function*(){yield(yield Fe.alertController.create({header:"Update Available",message:"A new version of the application is available. Load it?",buttons:[{text:"Yes",handler:()=>{window.location.reload()}}]})).present()})()}ngOnInit(){var Fe=this;return(0,a.A)(function*(){history.pushState(null,document.title,window.location.href),Fe.findSiteSubDomain(),Fe.headerService.headerConfigEmitted$.subscribe(ft=>{Fe.headerConfig=ft}),Fe.headerService.filterConfigEmitted$.subscribe(ft=>{Fe.languages=ft.languages}),Fe.autoSyncTelemetry(),C.q.addListener("pause",()=>Fe.telemetryAutoSyncService.pause()),C.q.addListener("resume",()=>Fe.telemetryAutoSyncService.continue())})()}findSiteSubDomain(){const Ht=new URL(document.baseURI).hostname.split(".");localStorage.setItem("subDomain",Ht[0])}handleHeaderEvents(Fe){var ft=this;return(0,a.A)(function*(){console.log("events",Fe),"scan"==Fe.name?ft.scannerService.requestPermission(Ht=>{if("cancel"===Ht||"cancel_hw_back"===Ht||"cancel_nav_back"===Ht)return;console.log("Scan Result",Ht);let pn="";const In=new RegExp("(/dial/(?[a-zA-Z0-9]+)|(/QR/\\?id=(?[a-zA-Z0-9]+)))").exec(Ht);In&&In.length>1&&(pn=null==In?void 0:In.groups[Object.keys(null==In?void 0:In.groups).find(kn=>!(null==In||!In.groups[kn]))]),console.log("Scanned Value",pn),pn?ft.router.navigate(["/qr-scan-result"],{state:{scannedData:pn}}):ft.handleInvalidQRcode(Ht)},Ht=>{console.warn(Ht)}):"profile"==Fe.name?ft.langModalOpen||(ft.presentModal(Fe),ft.langModalOpen=!0):"search"==Fe.name&&ft.router.navigate(["/search"]),ft.headerService.sidebarEvent(Fe)})()}presentModal(Fe){var ft=this;return(0,a.A)(function*(){const Ht=yield ft.popoverCtrl.create({component:A,componentProps:{languages:ft.languages},cssClass:"lang-modal",event:Fe,translucent:!0,dismissOnSelect:!0});yield Ht.present(),Ht.onDidDismiss().then(pn=>{console.log("dismiss"),ft.langModalOpen=!1,ft.headerService.sidebarEvent({name:"language"})})})()}menuItemAction(Fe){var ft=this;return(0,a.A)(function*(){ft.headerService.sideMenuItemEvents(Fe)})()}autoSyncTelemetry(){this.telemetryAutoSyncService.start(3e4).subscribe()}handleInvalidQRcode(Fe){var ft=this;return(0,a.A)(function*(){const Ht=yield ft.modalCtrl.create({component:me,componentProps:{scannedData:Fe},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield Ht.present(),Ht.onDidDismiss()})()}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.rXU(se.U),p.rXU(tt),p.rXU($e),p.rXU(D.IE),p.rXU(D.W3),p.rXU(R.Ix),p.rXU(D.hG),p.rXU(_.aZ),p.rXU(R.nX),p.rXU(c.OD),p.rXU(Dn))},He.\u0275cmp=p.VBU({type:He,selectors:[["app-root"]],viewQuery:function(Fe,ft){if(1&Fe&&p.GBs(On,5,D.Rg),2&Fe){let Ht;p.mGM(Ht=p.lsd())&&(ft.routerOutlet=Ht.first)}},decls:8,vars:2,consts:[["ionRouterOutlet",""],[2,"z-index","1"],[3,"headerEvents","sideMenuItemEvent","headerConfig"],["contentId","mainContent"],["id","mainContent","main","",3,"swipeGesture"]],template:function(Fe,ft){if(1&Fe){const Ht=p.RV6();p.j41(0,"ion-app")(1,"div",1)(2,"app-application-header",2),p.bIt("headerEvents",function(In){return p.eBV(Ht),p.Njj(ft.handleHeaderEvents(In))})("sideMenuItemEvent",function(In){return p.eBV(Ht),p.Njj(ft.menuItemAction(In))}),p.k0s()(),p.j41(3,"ion-split-pane",3),p.nrm(4,"ion-router-outlet",4,0),p.k0s(),p.nrm(6,"ion-router-outlet")(7,"app-tabs"),p.k0s()}2&Fe&&(p.R7$(2),p.Y8G("headerConfig",ft.headerConfig),p.R7$(2),p.Y8G("swipeGesture",!1))},dependencies:[D.U1,D.HP,D.Rg,_n]}),Ne})();const X=[{path:"",loadChildren:()=>E.e(786).then(E.bind(E,786)).then(He=>He.SplashPageModule),pathMatch:"full"},{path:"tabs",loadChildren:()=>E.e(5695).then(E.bind(E,5695)).then(He=>He.TabsPageModule)},{path:"home",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(4392)]).then(E.bind(E,4392)).then(He=>He.HomePageModule)},{path:"my-pitara",loadChildren:()=>Promise.all([E.e(2076),E.e(4567)]).then(E.bind(E,4567)).then(He=>He.MyPitaraPageModule)},{path:"story",loadChildren:()=>Promise.all([E.e(4503),E.e(2648)]).then(E.bind(E,2648)).then(He=>He.StoryPageModule)},{path:"player",loadChildren:()=>E.e(7916).then(E.bind(E,7916)).then(He=>He.PlayerPageModule)},{path:"teacher-sakhi",loadChildren:()=>Promise.all([E.e(4503),E.e(1177)]).then(E.bind(E,1177)).then(He=>He.TeacherSakhiPageModule)},{path:"view-all",loadChildren:()=>Promise.all([E.e(5006),E.e(6674),E.e(3119)]).then(E.bind(E,3119)).then(He=>He.ViewAllPageModule)},{path:"create-playlist",loadChildren:()=>Promise.all([E.e(6674),E.e(3066)]).then(E.bind(E,3066)).then(He=>He.CreatePlaylistPageModule)},{path:"search",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(1983)]).then(E.bind(E,1983)).then(He=>He.SearchPageModule)},{path:"qr-scan-result",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(8592)]).then(E.bind(E,8592)).then(He=>He.QrScanResultPageModule)},{path:"parent-sakhi",loadChildren:()=>Promise.all([E.e(4503),E.e(101)]).then(E.bind(E,101)).then(He=>He.ParentSakhiPageModule)},{path:"playlist-details",loadChildren:()=>Promise.all([E.e(2076),E.e(4294)]).then(E.bind(E,4294)).then(He=>He.PlaylistDetailsPageModule)}];let Le=(()=>{var He;class Ne{}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)},He.\u0275mod=p.$C({type:He}),He.\u0275inj=p.G2t({imports:[R.iI.forRoot(X,{preloadingStrategy:R.Kp}),R.iI]}),Ne})();var le=E(5553);class Ye{constructor(Ne,Xe="/assets/i18n/",Fe=".json"){this.http=Ne,this.prefix=Xe,this.suffix=Fe}getTranslation(Ne){return this.http.get(`${this.prefix}${Ne}${this.suffix}`)}}var Bt=E(1626),Nn=E(3486),dr=E(4591),_r=E(6011),qr=E(1765),Zr=E(444),oi=E(7803),zr=E(3696),$i=E(3871),Ar=E(2918),vi=E(1113),jn=E(3721),mi=E(8402),Pi=E(4447),Di=E(3172);function Ai(He){return new Ye(He,"./assets/i18n/",".json")}function Ui(He){return()=>He.initializePlugin()}let Mi=(()=>{var He;class Ne{constructor(Fe,ft){this.translate=Fe,this.storage=ft,this.storage.getData("lang").then(Ht=>{Ht||this.setDefaultLanguage()})}setDefaultLanguage(){this.storage.setData("lang","hi"),this.translate.setDefaultLang("hi"),this.translate.use("hi")}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.KVO(w.c$),p.KVO(Nn.n))},He.\u0275mod=p.$C({type:He,bootstrap:[pr]}),He.\u0275inj=p.G2t({providers:[{provide:R.b,useClass:c.jM},Nn.n,dr.a,_r.H,qr.H,tt,se.U,Ze.a,Zr.f,oi.q,T.Gf,zr.w,T.hs,T.q4,T.XU,$i.d,T.XI,Ar.B,Et.O,$e,Me,Ve,T.Sc,vi.q,T.F_,mi.Z,T.MK,Pi.i,Dn,{provide:p.hnV,useFactory:Ui,deps:[dr.a],multi:!0}],imports:[S.Bb,D.bv.forRoot(),Le,Bt.q1,w.h.forRoot({loader:{provide:w.Wr,useFactory:Ai,deps:[Bt.Qq]}}),le.h,jn.h,Kt.register("ngsw-worker.js",{enabled:Di.c.production})]}),Ne})();var gi=E(1288),ei=E(9657);const Fr=function(){var He=(0,a.A)(function*(Ne,Xe){if(!(typeof window>"u"))return yield,(0,ei.b)([["jeep-sqlite",[[1,"jeep-sqlite",{autoSave:[516,"autosave"],typeOrm:[516,"typeorm"],wasmPath:[513,"wasmpath"],pickText:[513,"picktext"],saveText:[513,"savetext"],buttonOptions:[513,"buttonoptions"],innerAutoSave:[32],innerTypeOrm:[32],innerWasmPath:[32],innerPickText:[32],innerSaveText:[32],innerButtonOptions:[32],echo:[64],createConnection:[64],isConnection:[64],closeConnection:[64],open:[64],close:[64],getVersion:[64],beginTransaction:[64],commitTransaction:[64],rollbackTransaction:[64],isTransactionActive:[64],execute:[64],executeSet:[64],run:[64],query:[64],getTableList:[64],isDBExists:[64],isDBOpen:[64],deleteDatabase:[64],isStoreOpen:[64],copyFromAssets:[64],isTableExists:[64],createSyncTable:[64],getSyncDate:[64],setSyncDate:[64],isJsonValid:[64],importFromJson:[64],exportToJson:[64],deleteExportedRows:[64],addUpgradeStatement:[64],isDatabase:[64],getDatabaseList:[64],checkConnectionsConsistency:[64],saveToStore:[64],saveToLocalDisk:[64],getFromLocalDiskToStore:[64],getFromHTTPRequest:[64]},null,{autoSave:["parseAutoSave"],typeOrm:["parseTypeOrm"],wasmPath:["parseWasmPath"],pickText:["parsePickText"],saveText:["parseSaveText"],buttonOptions:["parseButtonOptions"]}]]]],Xe)});return function(Xe,Fe){return He.apply(this,arguments)}}();var si=E(5083);(0,p.SmG)(),"web"===si.Ii.getPlatform()&&(window,typeof window>"u"?Promise.resolve():(0,gi.p)().then(()=>(0,gi.b)([["pwa-camera-modal",[[1,"pwa-camera-modal",{facingMode:[1,"facing-mode"],hidePicker:[4,"hide-picker"],present:[64],dismiss:[64]}]]],["pwa-action-sheet",[[1,"pwa-action-sheet",{header:[1],cancelable:[4],options:[16],open:[32]}]]],["pwa-toast",[[1,"pwa-toast",{message:[1],duration:[2],closing:[32]}]]],["pwa-camera",[[1,"pwa-camera",{facingMode:[1,"facing-mode"],handlePhoto:[16],hidePicker:[4,"hide-picker"],handleNoDeviceError:[16],noDevicesText:[1,"no-devices-text"],noDevicesButtonText:[1,"no-devices-button-text"],photo:[32],photoSrc:[32],showShutterOverlay:[32],flashIndex:[32],hasCamera:[32],rotation:[32],deviceError:[32]}]]],["pwa-camera-modal-instance",[[1,"pwa-camera-modal-instance",{facingMode:[1,"facing-mode"],hidePicker:[4,"hide-picker"],noDevicesText:[1,"no-devices-text"],noDevicesButtonText:[1,"no-devices-button-text"]},[[16,"keyup","handleBackdropKeyUp"]]]]]],undefined)),Fr(window),window.addEventListener("DOMContentLoaded",(0,a.A)(function*(){const He=document.createElement("jeep-sqlite");document.body.appendChild(He),yield customElements.whenDefined("jeep-sqlite"),He.autoSave=!0}))),S.sG().bootstrapModule(Mi).catch(He=>console.log(He))},1990:(Ce,ee,E)=>{var a=ee;a.bignum=E(6867),a.define=E(6626).define,a.base=E(5066),a.constants=E(7740),a.decoders=E(1558),a.encoders=E(2714)},6626:(Ce,ee,E)=>{var a=E(1990),S=E(1993);function R(c,D){this.name=c,this.body=D,this.decoders={},this.encoders={}}ee.define=function(D,C){return new R(D,C)},R.prototype._createNamed=function(D){var C;try{C=E(8326).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch{C=function(T){this._initNamed(T)}}return S(C,D),C.prototype._initNamed=function(T){D.call(this,T)},new C(this)},R.prototype._getDecoder=function(D){return this.decoders.hasOwnProperty(D=D||"der")||(this.decoders[D]=this._createNamed(a.decoders[D])),this.decoders[D]},R.prototype.decode=function(D,C,w){return this._getDecoder(C).decode(D,w)},R.prototype._getEncoder=function(D){return this.encoders.hasOwnProperty(D=D||"der")||(this.encoders[D]=this._createNamed(a.encoders[D])),this.encoders[D]},R.prototype.encode=function(D,C,w){return this._getEncoder(C).encode(D,w)}},7290:(Ce,ee,E)=>{var a=E(1993),S=E(5066).Reporter,p=E(3838).Buffer;function R(D,C){S.call(this,C),p.isBuffer(D)?(this.base=D,this.offset=0,this.length=D.length):this.error("Input not Buffer")}function c(D,C){if(Array.isArray(D))this.length=0,this.value=D.map(function(w){return w instanceof c||(w=new c(w,C)),this.length+=w.length,w},this);else if("number"==typeof D){if(!(0<=D&&D<=255))return C.error("non-byte EncoderBuffer value");this.value=D,this.length=1}else if("string"==typeof D)this.value=D,this.length=p.byteLength(D);else{if(!p.isBuffer(D))return C.error("Unsupported type: "+typeof D);this.value=D,this.length=D.length}}a(R,S),ee.t=R,R.prototype.save=function(){return{offset:this.offset,reporter:S.prototype.save.call(this)}},R.prototype.restore=function(C){var w=new R(this.base);return w.offset=C.offset,w.length=this.offset,this.offset=C.offset,S.prototype.restore.call(this,C.reporter),w},R.prototype.isEmpty=function(){return this.offset===this.length},R.prototype.readUInt8=function(C){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(C||"DecoderBuffer overrun")},R.prototype.skip=function(C,w){if(!(this.offset+C<=this.length))return this.error(w||"DecoderBuffer overrun");var T=new R(this.base);return T._reporterState=this._reporterState,T.offset=this.offset,T.length=this.offset+C,this.offset+=C,T},R.prototype.raw=function(C){return this.base.slice(C?C.offset:this.offset,this.length)},ee.d=c,c.prototype.join=function(C,w){return C||(C=new p(this.length)),w||(w=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(T){T.join(C,w),w+=T.length}):("number"==typeof this.value?C[w]=this.value:"string"==typeof this.value?C.write(this.value,w):p.isBuffer(this.value)&&this.value.copy(C,w),w+=this.length)),C}},5066:(Ce,ee,E)=>{var a=ee;a.Reporter=E(5697).a,a.DecoderBuffer=E(7290).t,a.EncoderBuffer=E(7290).d,a.Node=E(4320)},4320:(Ce,ee,E)=>{var a=E(5066).Reporter,S=E(5066).EncoderBuffer,p=E(5066).DecoderBuffer,R=E(9210),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],D=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);function w(_,g){var F={};this._baseState=F,F.enc=_,F.parent=g||null,F.children=null,F.tag=null,F.args=null,F.reverseArgs=null,F.choice=null,F.optional=!1,F.any=!1,F.obj=!1,F.use=null,F.useDecoder=null,F.key=null,F.default=null,F.explicit=null,F.implicit=null,F.contains=null,F.parent||(F.children=[],this._wrap())}Ce.exports=w;var T=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];w.prototype.clone=function(){var g=this._baseState,F={};T.forEach(function(B){F[B]=g[B]});var A=new this.constructor(F.parent);return A._baseState=F,A},w.prototype._wrap=function(){var g=this._baseState;D.forEach(function(F){this[F]=function(){var B=new this.constructor(this);return g.children.push(B),B[F].apply(B,arguments)}},this)},w.prototype._init=function(g){var F=this._baseState;R(null===F.parent),g.call(this),F.children=F.children.filter(function(A){return A._baseState.parent===this},this),R.equal(F.children.length,1,"Root node can have only one child")},w.prototype._useArgs=function(g){var F=this._baseState,A=g.filter(function(B){return B instanceof this.constructor},this);g=g.filter(function(B){return!(B instanceof this.constructor)},this),0!==A.length&&(R(null===F.children),F.children=A,A.forEach(function(B){B._baseState.parent=this},this)),0!==g.length&&(R(null===F.args),F.args=g,F.reverseArgs=g.map(function(B){if("object"!=typeof B||B.constructor!==Object)return B;var P={};return Object.keys(B).forEach(function($){$==(0|$)&&($|=0),P[B[$]]=$}),P}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(_){w.prototype[_]=function(){throw new Error(_+" not implemented for encoding: "+this._baseState.enc)}}),c.forEach(function(_){w.prototype[_]=function(){var F=this._baseState,A=Array.prototype.slice.call(arguments);return R(null===F.tag),F.tag=_,this._useArgs(A),this}}),w.prototype.use=function(g){R(g);var F=this._baseState;return R(null===F.use),F.use=g,this},w.prototype.optional=function(){return this._baseState.optional=!0,this},w.prototype.def=function(g){var F=this._baseState;return R(null===F.default),F.default=g,F.optional=!0,this},w.prototype.explicit=function(g){var F=this._baseState;return R(null===F.explicit&&null===F.implicit),F.explicit=g,this},w.prototype.implicit=function(g){var F=this._baseState;return R(null===F.explicit&&null===F.implicit),F.implicit=g,this},w.prototype.obj=function(){var g=this._baseState,F=Array.prototype.slice.call(arguments);return g.obj=!0,0!==F.length&&this._useArgs(F),this},w.prototype.key=function(g){var F=this._baseState;return R(null===F.key),F.key=g,this},w.prototype.any=function(){return this._baseState.any=!0,this},w.prototype.choice=function(g){var F=this._baseState;return R(null===F.choice),F.choice=g,this._useArgs(Object.keys(g).map(function(A){return g[A]})),this},w.prototype.contains=function(g){var F=this._baseState;return R(null===F.use),F.contains=g,this},w.prototype._decode=function(g,F){var A=this._baseState;if(null===A.parent)return g.wrapResult(A.children[0]._decode(g,F));var O,B=A.default,P=!0,$=null;if(null!==A.key&&($=g.enterKey(A.key)),A.optional){var k=null;if(null!==A.explicit?k=A.explicit:null!==A.implicit?k=A.implicit:null!==A.tag&&(k=A.tag),null!==k||A.any){if(P=this._peekTag(g,k,A.any),g.isError(P))return P}else{var M=g.save();try{null===A.choice?this._decodeGeneric(A.tag,g,F):this._decodeChoice(g,F),P=!0}catch{P=!1}g.restore(M)}}if(A.obj&&P&&(O=g.enterObject()),P){if(null!==A.explicit){var U=this._decodeTag(g,A.explicit);if(g.isError(U))return U;g=U}var j=g.offset;if(null===A.use&&null===A.choice){A.any&&(M=g.save());var W=this._decodeTag(g,null!==A.implicit?A.implicit:A.tag,A.any);if(g.isError(W))return W;A.any?B=g.raw(M):g=W}if(F&&F.track&&null!==A.tag&&F.track(g.path(),j,g.length,"tagged"),F&&F.track&&null!==A.tag&&F.track(g.path(),g.offset,g.length,"content"),A.any||(B=null===A.choice?this._decodeGeneric(A.tag,g,F):this._decodeChoice(g,F)),g.isError(B))return B;if(!A.any&&null===A.choice&&null!==A.children&&A.children.forEach(function(te){te._decode(g,F)}),A.contains&&("octstr"===A.tag||"bitstr"===A.tag)){var ie=new p(B);B=this._getUse(A.contains,g._reporterState.obj)._decode(ie,F)}}return A.obj&&P&&(B=g.leaveObject(O)),null===A.key||null===B&&!0!==P?null!==$&&g.exitKey($):g.leaveKey($,A.key,B),B},w.prototype._decodeGeneric=function(g,F,A){var B=this._baseState;return"seq"===g||"set"===g?null:"seqof"===g||"setof"===g?this._decodeList(F,g,B.args[0],A):/str$/.test(g)?this._decodeStr(F,g,A):"objid"===g&&B.args?this._decodeObjid(F,B.args[0],B.args[1],A):"objid"===g?this._decodeObjid(F,null,null,A):"gentime"===g||"utctime"===g?this._decodeTime(F,g,A):"null_"===g?this._decodeNull(F,A):"bool"===g?this._decodeBool(F,A):"objDesc"===g?this._decodeStr(F,g,A):"int"===g||"enum"===g?this._decodeInt(F,B.args&&B.args[0],A):null!==B.use?this._getUse(B.use,F._reporterState.obj)._decode(F,A):F.error("unknown tag: "+g)},w.prototype._getUse=function(g,F){var A=this._baseState;return A.useDecoder=this._use(g,F),R(null===A.useDecoder._baseState.parent),A.useDecoder=A.useDecoder._baseState.children[0],A.implicit!==A.useDecoder._baseState.implicit&&(A.useDecoder=A.useDecoder.clone(),A.useDecoder._baseState.implicit=A.implicit),A.useDecoder},w.prototype._decodeChoice=function(g,F){var A=this._baseState,B=null,P=!1;return Object.keys(A.choice).some(function($){var k=g.save(),M=A.choice[$];try{var O=M._decode(g,F);if(g.isError(O))return!1;B={type:$,value:O},P=!0}catch{return g.restore(k),!1}return!0},this),P?B:g.error("Choice not matched")},w.prototype._createEncoderBuffer=function(g){return new S(g,this.reporter)},w.prototype._encode=function(g,F,A){var B=this._baseState;if(null===B.default||B.default!==g){var P=this._encodeValue(g,F,A);if(void 0!==P&&!this._skipDefault(P,F,A))return P}},w.prototype._encodeValue=function(g,F,A){var B=this._baseState;if(null===B.parent)return B.children[0]._encode(g,F||new a);var M=null;if(this.reporter=F,B.optional&&void 0===g){if(null===B.default)return;g=B.default}var P=null,$=!1;if(B.any)M=this._createEncoderBuffer(g);else if(B.choice)M=this._encodeChoice(g,F);else if(B.contains)P=this._getUse(B.contains,A)._encode(g,F),$=!0;else if(B.children)P=B.children.map(function(j){if("null_"===j._baseState.tag)return j._encode(null,F,g);if(null===j._baseState.key)return F.error("Child should have a key");var W=F.enterKey(j._baseState.key);if("object"!=typeof g)return F.error("Child expected, but input is not object");var ie=j._encode(g[j._baseState.key],F,g);return F.leaveKey(W),ie},this).filter(function(j){return j}),P=this._createEncoderBuffer(P);else if("seqof"===B.tag||"setof"===B.tag){if(!B.args||1!==B.args.length)return F.error("Too many args for : "+B.tag);if(!Array.isArray(g))return F.error("seqof/setof, but data is not Array");var k=this.clone();k._baseState.implicit=null,P=this._createEncoderBuffer(g.map(function(j){return this._getUse(this._baseState.args[0],g)._encode(j,F)},k))}else null!==B.use?M=this._getUse(B.use,A)._encode(g,F):(P=this._encodePrimitive(B.tag,g),$=!0);if(!B.any&&null===B.choice){var O=null!==B.implicit?B.implicit:B.tag,U=null===B.implicit?"universal":"context";null===O?null===B.use&&F.error("Tag could be omitted only for .use()"):null===B.use&&(M=this._encodeComposite(O,$,U,P))}return null!==B.explicit&&(M=this._encodeComposite(B.explicit,!1,"context",M)),M},w.prototype._encodeChoice=function(g,F){var A=this._baseState,B=A.choice[g.type];return B||R(!1,g.type+" not found in "+JSON.stringify(Object.keys(A.choice))),B._encode(g.value,F)},w.prototype._encodePrimitive=function(g,F){var A=this._baseState;if(/str$/.test(g))return this._encodeStr(F,g);if("objid"===g&&A.args)return this._encodeObjid(F,A.reverseArgs[0],A.args[1]);if("objid"===g)return this._encodeObjid(F,null,null);if("gentime"===g||"utctime"===g)return this._encodeTime(F,g);if("null_"===g)return this._encodeNull();if("int"===g||"enum"===g)return this._encodeInt(F,A.args&&A.reverseArgs[0]);if("bool"===g)return this._encodeBool(F);if("objDesc"===g)return this._encodeStr(F,g);throw new Error("Unsupported tag: "+g)},w.prototype._isNumstr=function(g){return/^[0-9 ]*$/.test(g)},w.prototype._isPrintstr=function(g){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(g)}},5697:(Ce,ee,E)=>{var a=E(1993);function S(R){this._reporterState={obj:null,path:[],options:R||{},errors:[]}}function p(R,c){this.path=R,this.rethrow(c)}ee.a=S,S.prototype.isError=function(c){return c instanceof p},S.prototype.save=function(){var c=this._reporterState;return{obj:c.obj,pathLen:c.path.length}},S.prototype.restore=function(c){var D=this._reporterState;D.obj=c.obj,D.path=D.path.slice(0,c.pathLen)},S.prototype.enterKey=function(c){return this._reporterState.path.push(c)},S.prototype.exitKey=function(c){var D=this._reporterState;D.path=D.path.slice(0,c-1)},S.prototype.leaveKey=function(c,D,C){var w=this._reporterState;this.exitKey(c),null!==w.obj&&(w.obj[D]=C)},S.prototype.path=function(){return this._reporterState.path.join("/")},S.prototype.enterObject=function(){var c=this._reporterState,D=c.obj;return c.obj={},D},S.prototype.leaveObject=function(c){var D=this._reporterState,C=D.obj;return D.obj=c,C},S.prototype.error=function(c){var D,C=this._reporterState,w=c instanceof p;if(D=w?c:new p(C.path.map(function(T){return"["+JSON.stringify(T)+"]"}).join(""),c.message||c,c.stack),!C.options.partial)throw D;return w||C.errors.push(D),D},S.prototype.wrapResult=function(c){var D=this._reporterState;return D.options.partial?{result:this.isError(c)?null:c,errors:D.errors}:c},a(p,Error),p.prototype.rethrow=function(c){if(this.message=c+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,p),!this.stack)try{throw new Error(this.message)}catch(D){this.stack=D.stack}return this}},6283:(Ce,ee,E)=>{var a=E(7740);ee.tagClass={0:"universal",1:"application",2:"context",3:"private"},ee.tagClassByName=a._reverse(ee.tagClass),ee.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},ee.tagByName=a._reverse(ee.tag)},7740:(Ce,ee,E)=>{var a=ee;a._reverse=function(p){var R={};return Object.keys(p).forEach(function(c){(0|c)==c&&(c|=0),R[p[c]]=c}),R},a.der=E(6283)},5941:(Ce,ee,E)=>{var a=E(1993),S=E(1990),p=S.base,R=S.bignum,c=S.constants.der;function D(_){this.enc="der",this.name=_.name,this.entity=_,this.tree=new C,this.tree._init(_.body)}function C(_){p.Node.call(this,"der",_)}function w(_,g){var F=_.readUInt8(g);if(_.isError(F))return F;var A=c.tagClass[F>>6],B=!(32&F);if(31&~F)F&=31;else{var P=F;for(F=0;!(128&~P);){if(P=_.readUInt8(g),_.isError(P))return P;F<<=7,F|=127&P}}return{cls:A,primitive:B,tag:F,tagStr:c.tag[F]}}function T(_,g,F){var A=_.readUInt8(F);if(_.isError(A))return A;if(!g&&128===A)return null;if(!(128&A))return A;var B=127&A;if(B>4)return _.error("length octect is too long");A=0;for(var P=0;P{var a=ee;a.der=E(5941),a.pem=E(6935)},6935:(Ce,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(5941);function R(c){p.call(this,c),this.enc="pem"}a(R,p),Ce.exports=R,R.prototype.decode=function(D,C){for(var w=D.toString().split(/[\r\n]+/g),T=C.label.toUpperCase(),_=/^-----(BEGIN|END) ([^-]+)-----$/,g=-1,F=-1,A=0;A{var a=E(1993),S=E(3838).Buffer,p=E(1990),R=p.base,c=p.constants.der;function D(_){this.enc="der",this.name=_.name,this.entity=_,this.tree=new C,this.tree._init(_.body)}function C(_){R.Node.call(this,"der",_)}function w(_){return _<10?"0"+_:_}Ce.exports=D,D.prototype.encode=function(g,F){return this.tree._encode(g,F).join()},a(C,R.Node),C.prototype._encodeComposite=function(g,F,A,B){var M,P=function T(_,g,F,A){var B;if("seqof"===_?_="seq":"setof"===_&&(_="set"),c.tagByName.hasOwnProperty(_))B=c.tagByName[_];else{if("number"!=typeof _||(0|_)!==_)return A.error("Unknown tag: "+_);B=_}return B>=31?A.error("Multi-octet tag encoding unsupported"):(g||(B|=32),B|=c.tagClassByName[F||"universal"]<<6)}(g,F,A,this.reporter);if(B.length<128)return(M=new S(2))[0]=P,M[1]=B.length,this._createEncoderBuffer([M,B]);for(var $=1,k=B.length;k>=256;k>>=8)$++;(M=new S(2+$))[0]=P,M[1]=128|$,k=1+$;for(var O=B.length;O>0;k--,O>>=8)M[k]=255&O;return this._createEncoderBuffer([M,B])},C.prototype._encodeStr=function(g,F){if("bitstr"===F)return this._createEncoderBuffer([0|g.unused,g.data]);if("bmpstr"===F){for(var A=new S(2*g.length),B=0;B=40)return this.reporter.error("Second objid identifier OOB");g.splice(0,2,40*g[0]+g[1])}var P=0;for(B=0;B=128;$>>=7)P++}var k=new S(P),M=k.length-1;for(B=g.length-1;B>=0;B--)for(k[M--]=127&($=g[B]);($>>=7)>0;)k[M--]=128|127&$;return this._createEncoderBuffer(k)},C.prototype._encodeTime=function(g,F){var A,B=new Date(g);return"gentime"===F?A=[w(B.getFullYear()),w(B.getUTCMonth()+1),w(B.getUTCDate()),w(B.getUTCHours()),w(B.getUTCMinutes()),w(B.getUTCSeconds()),"Z"].join(""):"utctime"===F?A=[w(B.getFullYear()%100),w(B.getUTCMonth()+1),w(B.getUTCDate()),w(B.getUTCHours()),w(B.getUTCMinutes()),w(B.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+F+" time is not supported yet"),this._encodeStr(A,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(g,F){if("string"==typeof g){if(!F)return this.reporter.error("String int or enum given, but no values map");if(!F.hasOwnProperty(g))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(g));g=F[g]}if("number"!=typeof g&&!S.isBuffer(g)){var A=g.toArray();!g.sign&&128&A[0]&&A.unshift(0),g=new S(A)}if(S.isBuffer(g)){var B=g.length;0===g.length&&B++;var $=new S(B);return g.copy($),0===g.length&&($[0]=0),this._createEncoderBuffer($)}if(g<128)return this._createEncoderBuffer(g);if(g<256)return this._createEncoderBuffer([0,g]);B=1;for(var P=g;P>=256;P>>=8)B++;for(P=($=new Array(B)).length-1;P>=0;P--)$[P]=255&g,g>>=8;return 128&$[0]&&$.unshift(0),this._createEncoderBuffer(new S($))},C.prototype._encodeBool=function(g){return this._createEncoderBuffer(g?255:0)},C.prototype._use=function(g,F){return"function"==typeof g&&(g=g(F)),g._getEncoder("der").tree},C.prototype._skipDefault=function(g,F,A){var P,B=this._baseState;if(null===B.default)return!1;var $=g.join();if(void 0===B.defaultBuffer&&(B.defaultBuffer=this._encodeValue(B.default,F,A).join()),$.length!==B.defaultBuffer.length)return!1;for(P=0;P<$.length;P++)if($[P]!==B.defaultBuffer[P])return!1;return!0}},2714:(Ce,ee,E)=>{var a=ee;a.der=E(2193),a.pem=E(4816)},4816:(Ce,ee,E)=>{var a=E(1993),S=E(2193);function p(R){S.call(this,R),this.enc="pem"}a(p,S),Ce.exports=p,p.prototype.encode=function(c,D){for(var w=S.prototype.encode.call(this,c).toString("base64"),T=["-----BEGIN "+D.label+"-----"],_=0;_=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,dt=Cn>>>13,Sn=0|h[2],kt=8191&Sn,Nt=Sn>>>13,Un=0|h[3],Ut=8191&Un,Ve=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],$e=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ue=Pe>>>13,Ct=0|h[7],Je=8191&Ct,at=Ct>>>13,Jt=0|h[8],yt=8191&Jt,mt=Jt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var Fn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var An=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,dt)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,dt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,dt)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,dt)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,dt)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,dt)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,dt)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,dt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Ut)|0,r=(r=r+Math.imul(oe,Ve)|0)+Math.imul(ve,Ut)|0,d=d+Math.imul(ve,Ve)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,dt)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,dt)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,$e)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,dt)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,dt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,Ve)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,$e)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,$e)|0,d=d+Math.imul(ve,it)|0;var Pn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ue)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ue)|0)+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,dt)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,dt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(re,Ut)|0,d=d+Math.imul(re,Ve)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,$e)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,$e)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,Ue)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,Ue)|0;var Ln=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,at)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,at)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,dt)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,dt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,$e)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ue)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ue)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,at)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,at)|0;var Kn=(y+(f=f+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,yt)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,dt)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,dt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,$e)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,$e)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,Ue)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ue)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,at)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,at)|0,f=f+Math.imul(oe,yt)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,yt)|0,d=d+Math.imul(ve,mt)|0;var Gn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,dt))+Math.imul(Ft,St)|0,d=Math.imul(Ft,dt),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ht,Ut)|0,d=d+Math.imul(ht,Ve)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,$e)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,$e)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ue)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,Ue)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,at)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,at)|0,f=f+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,yt)|0,d=d+Math.imul(ae,mt)|0;var $n=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Ut)|0,r=(r=r+Math.imul(Mt,Ve)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,$e)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,$e)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ue)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ue)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,at)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,at)|0,f=f+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,yt)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(It,Ut),r=(r=Math.imul(It,Ve))+Math.imul(Ft,Ut)|0,d=Math.imul(Ft,Ve),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,$e)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,$e)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ue)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ue)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,at)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,at)|0,f=f+Math.imul(Se,yt)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,yt)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,$e)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,$e)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ue)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,Ue)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,at)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,at)|0,f=f+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,yt)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,$e),r=(r=Math.imul(It,it))+Math.imul(Ft,$e)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,Ue)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ue)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,at)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,at)|0,f=f+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,yt)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,Ue))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,Ue),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,at)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,at)|0,f=f+Math.imul(gt,yt)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,yt)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,at))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,at),f=f+Math.imul(Mt,yt)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,yt)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,yt),r=(r=Math.imul(It,mt))+Math.imul(Ft,yt)|0,d=Math.imul(Ft,mt);var qt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=Fn,v[1]=An,v[2]=wn,v[3]=bn,v[4]=Wn,v[5]=Vn,v[6]=Pn,v[7]=Ln,v[8]=Kn,v[9]=Gn,v[10]=$n,v[11]=je,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=qt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},3981:(Ce,ee)=>{"use strict";ee.byteLength=function C(A){var B=D(A),$=B[1];return 3*(B[0]+$)/4-$},ee.toByteArray=function T(A){var B,j,P=D(A),$=P[0],k=P[1],M=new S(function w(A,B,P){return 3*(B+P)/4-P}(0,$,k)),O=0,U=k>0?$-4:$;for(j=0;j>16&255,M[O++]=B>>8&255,M[O++]=255&B;return 2===k&&(B=a[A.charCodeAt(j)]<<2|a[A.charCodeAt(j+1)]>>4,M[O++]=255&B),1===k&&(B=a[A.charCodeAt(j)]<<10|a[A.charCodeAt(j+1)]<<4|a[A.charCodeAt(j+2)]>>2,M[O++]=B>>8&255,M[O++]=255&B),M},ee.fromByteArray=function F(A){for(var B,P=A.length,$=P%3,k=[],M=16383,O=0,U=P-$;OU?U:O+M));return 1===$?k.push(E[(B=A[P-1])>>2]+E[B<<4&63]+"=="):2===$&&k.push(E[(B=(A[P-2]<<8)+A[P-1])>>10]+E[B>>4&63]+E[B<<2&63]+"="),k.join("")};for(var E=[],a=[],S=typeof Uint8Array<"u"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R=0;R<64;++R)E[R]=p[R],a[p.charCodeAt(R)]=R;function D(A){var B=A.length;if(B%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var P=A.indexOf("=");return-1===P&&(P=B),[P,P===B?0:4-P%4]}function _(A){return E[A>>18&63]+E[A>>12&63]+E[A>>6&63]+E[63&A]}function g(A,B,P){for(var k=[],M=B;M=48&&h<=57?h-48:h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:void p(!1,"Invalid character in "+u)}function w(u,s,h){var v=C(u,h);return h-1>=s&&(v|=C(u,h-1)<<4),v}function T(u,s,h,v){for(var y=0,f=0,r=Math.min(u.length,h),d=s;d=49?L-49+10:L>=17?L-17+10:L,p(L>=0&&f0?s:h},c.min=function(s,h){return s.cmp(h)<0?s:h},c.prototype._init=function(s,h,v){if("number"==typeof s)return this._initNumber(s,h,v);if("object"==typeof s)return this._initArray(s,h,v);"hex"===h&&(h=16),p(h===(0|h)&&h>=2&&h<=36);var y=0;"-"===(s=s.toString().replace(/\s+/g,""))[0]&&(y++,this.negative=1),y=0;y-=3)this.words[f]|=(r=s[y]|s[y-1]<<8|s[y-2]<<16)<>>26-d&67108863,(d+=24)>=26&&(d-=26,f++);else if("le"===v)for(y=0,f=0;y>>26-d&67108863,(d+=24)>=26&&(d-=26,f++);return this._strip()},c.prototype._parseHex=function(s,h,v){this.length=Math.ceil((s.length-h)/6),this.words=new Array(this.length);for(var y=0;y=h;y-=2)d=w(s,h,y)<=18?(f-=18,this.words[r+=1]|=d>>>26):f+=8;else for(y=(s.length-h)%2==0?h+1:h;y=18?(f-=18,this.words[r+=1]|=d>>>26):f+=8;this._strip()},c.prototype._parseBase=function(s,h,v){this.words=[0],this.length=1;for(var y=0,f=1;f<=67108863;f*=h)y++;y--,f=f/h|0;for(var r=s.length-v,d=r%y,L=Math.min(r,r-d)+v,I=0,V=v;V1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{c.prototype[Symbol.for("nodejs.util.inspect.custom")]=g}catch{c.prototype.inspect=g}else c.prototype.inspect=g;function g(){return(this.red?""}var F=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],A=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function k(u,s,h){h.negative=s.negative^u.negative;var v=u.length+s.length|0;h.length=v,v=v-1|0;var y=0|u.words[0],f=0|s.words[0],r=y*f,L=r/67108864|0;h.words[0]=67108863&r;for(var I=1;I>>26,q=67108863&L,oe=Math.min(I,s.length-1),ve=Math.max(0,I-u.length+1);ve<=oe;ve++)V+=(r=(y=0|u.words[I-ve|0])*(f=0|s.words[ve])+q)/67108864|0,q=67108863&r;h.words[I]=0|q,L=0|V}return 0!==L?h.words[I]=0|L:h.length--,h._strip()}c.prototype.toString=function(s,h){var v;if(h=0|h||1,16===(s=s||10)||"hex"===s){v="";for(var y=0,f=0,r=0;r>>24-y&16777215,(y+=2)>=26&&(y-=26,r--),v=0!==f||r!==this.length-1?F[6-L.length]+L+v:L+v}for(0!==f&&(v=f.toString(16)+v);v.length%h!=0;)v="0"+v;return 0!==this.negative&&(v="-"+v),v}if(s===(0|s)&&s>=2&&s<=36){var I=A[s],V=B[s];v="";var q=this.clone();for(q.negative=0;!q.isZero();){var oe=q.modrn(V).toString(s);v=(q=q.idivn(V)).isZero()?oe+v:F[I-oe.length]+oe+v}for(this.isZero()&&(v="0"+v);v.length%h!=0;)v="0"+v;return 0!==this.negative&&(v="-"+v),v}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var s=this.words[0];return 2===this.length?s+=67108864*this.words[1]:3===this.length&&1===this.words[2]?s+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-s:s},c.prototype.toJSON=function(){return this.toString(16,2)},D&&(c.prototype.toBuffer=function(s,h){return this.toArrayLike(D,s,h)}),c.prototype.toArray=function(s,h){return this.toArrayLike(Array,s,h)},c.prototype.toArrayLike=function(s,h,v){this._strip();var y=this.byteLength(),f=v||Math.max(1,y);p(y<=f,"byte array longer than desired length"),p(f>0,"Requested array length <= 0");var r=function(s,h){return s.allocUnsafe?s.allocUnsafe(h):new s(h)}(s,f);return this["_toArrayLike"+("le"===h?"LE":"BE")](r,y),r},c.prototype._toArrayLikeLE=function(s,h){for(var v=0,y=0,f=0,r=0;f>8&255),v>16&255),6===r?(v>24&255),y=0,r=0):(y=d>>>24,r+=2)}if(v=0&&(s[v--]=d>>8&255),v>=0&&(s[v--]=d>>16&255),6===r?(v>=0&&(s[v--]=d>>24&255),y=0,r=0):(y=d>>>24,r+=2)}if(v>=0)for(s[v--]=y;v>=0;)s[v--]=0},c.prototype._countBits=Math.clz32?function(s){return 32-Math.clz32(s)}:function(s){var h=s,v=0;return h>=4096&&(v+=13,h>>>=13),h>=64&&(v+=7,h>>>=7),h>=8&&(v+=4,h>>>=4),h>=2&&(v+=2,h>>>=2),v+h},c.prototype._zeroBits=function(s){if(0===s)return 26;var h=s,v=0;return 8191&h||(v+=13,h>>>=13),127&h||(v+=7,h>>>=7),15&h||(v+=4,h>>>=4),3&h||(v+=2,h>>>=2),1&h||v++,v},c.prototype.bitLength=function(){var h=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+h},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var s=0,h=0;hs.length?this.clone().ior(s):s.clone().ior(this)},c.prototype.uor=function(s){return this.length>s.length?this.clone().iuor(s):s.clone().iuor(this)},c.prototype.iuand=function(s){var h;h=this.length>s.length?s:this;for(var v=0;vs.length?this.clone().iand(s):s.clone().iand(this)},c.prototype.uand=function(s){return this.length>s.length?this.clone().iuand(s):s.clone().iuand(this)},c.prototype.iuxor=function(s){var h,v;this.length>s.length?(h=this,v=s):(h=s,v=this);for(var y=0;ys.length?this.clone().ixor(s):s.clone().ixor(this)},c.prototype.uxor=function(s){return this.length>s.length?this.clone().iuxor(s):s.clone().iuxor(this)},c.prototype.inotn=function(s){p("number"==typeof s&&s>=0);var h=0|Math.ceil(s/26),v=s%26;this._expand(h),v>0&&h--;for(var y=0;y0&&(this.words[y]=~this.words[y]&67108863>>26-v),this._strip()},c.prototype.notn=function(s){return this.clone().inotn(s)},c.prototype.setn=function(s,h){p("number"==typeof s&&s>=0);var v=s/26|0,y=s%26;return this._expand(v+1),this.words[v]=h?this.words[v]|1<s.length?(v=this,y=s):(v=s,y=this);for(var f=0,r=0;r>>26;for(;0!==f&&r>>26;if(this.length=v.length,0!==f)this.words[this.length]=f,this.length++;else if(v!==this)for(;rs.length?this.clone().iadd(s):s.clone().iadd(this)},c.prototype.isub=function(s){if(0!==s.negative){s.negative=0;var h=this.iadd(s);return s.negative=1,h._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(s),this.negative=1,this._normSign();var y,f,v=this.cmp(s);if(0===v)return this.negative=0,this.length=1,this.words[0]=0,this;v>0?(y=this,f=s):(y=s,f=this);for(var r=0,d=0;d>26,this.words[d]=67108863&h;for(;0!==r&&d>26,this.words[d]=67108863&h;if(0===r&&d>>13,Ae=0|y[1],Q=8191&Ae,ae=Ae>>>13,tt=0|y[2],Oe=8191&tt,pe=tt>>>13,Ie=0|y[3],Se=8191&Ie,re=Ie>>>13,ne=0|y[4],G=8191&ne,Ee=ne>>>13,vt=0|y[5],Qe=8191&vt,rt=vt>>>13,nn=0|y[6],gt=8191&nn,ht=nn>>>13,on=0|y[7],Mt=8191&on,Pt=on>>>13,En=0|y[8],It=8191&En,Ft=En>>>13,yn=0|y[9],Dt=8191&yn,_t=yn>>>13,Cn=0|f[0],St=8191&Cn,dt=Cn>>>13,Sn=0|f[1],kt=8191&Sn,Nt=Sn>>>13,Un=0|f[2],Ut=8191&Un,Ve=Un>>>13,_e=0|f[3],De=8191&_e,Me=_e>>>13,Ze=0|f[4],$e=8191&Ze,it=Ze>>>13,Pe=0|f[5],Be=8191&Pe,Ue=Pe>>>13,Ct=0|f[6],Je=8191&Ct,at=Ct>>>13,Jt=0|f[7],yt=8191&Jt,mt=Jt>>>13,Wt=0|f[8],Ot=8191&Wt,Rt=Wt>>>13,Fn=0|f[9],An=8191&Fn,wn=Fn>>>13;v.negative=s.negative^h.negative,v.length=19;var bn=(d+(L=Math.imul(oe,St))|0)+((8191&(I=(I=Math.imul(oe,dt))+Math.imul(ve,St)|0))<<13)|0;d=((V=Math.imul(ve,dt))+(I>>>13)|0)+(bn>>>26)|0,bn&=67108863,L=Math.imul(Q,St),I=(I=Math.imul(Q,dt))+Math.imul(ae,St)|0,V=Math.imul(ae,dt);var Wn=(d+(L=L+Math.imul(oe,kt)|0)|0)+((8191&(I=(I=I+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0))<<13)|0;d=((V=V+Math.imul(ve,Nt)|0)+(I>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,L=Math.imul(Oe,St),I=(I=Math.imul(Oe,dt))+Math.imul(pe,St)|0,V=Math.imul(pe,dt),L=L+Math.imul(Q,kt)|0,I=(I=I+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,V=V+Math.imul(ae,Nt)|0;var Vn=(d+(L=L+Math.imul(oe,Ut)|0)|0)+((8191&(I=(I=I+Math.imul(oe,Ve)|0)+Math.imul(ve,Ut)|0))<<13)|0;d=((V=V+Math.imul(ve,Ve)|0)+(I>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,L=Math.imul(Se,St),I=(I=Math.imul(Se,dt))+Math.imul(re,St)|0,V=Math.imul(re,dt),L=L+Math.imul(Oe,kt)|0,I=(I=I+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,V=V+Math.imul(pe,Nt)|0,L=L+Math.imul(Q,Ut)|0,I=(I=I+Math.imul(Q,Ve)|0)+Math.imul(ae,Ut)|0,V=V+Math.imul(ae,Ve)|0;var Pn=(d+(L=L+Math.imul(oe,De)|0)|0)+((8191&(I=(I=I+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0))<<13)|0;d=((V=V+Math.imul(ve,Me)|0)+(I>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,L=Math.imul(G,St),I=(I=Math.imul(G,dt))+Math.imul(Ee,St)|0,V=Math.imul(Ee,dt),L=L+Math.imul(Se,kt)|0,I=(I=I+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,V=V+Math.imul(re,Nt)|0,L=L+Math.imul(Oe,Ut)|0,I=(I=I+Math.imul(Oe,Ve)|0)+Math.imul(pe,Ut)|0,V=V+Math.imul(pe,Ve)|0,L=L+Math.imul(Q,De)|0,I=(I=I+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,V=V+Math.imul(ae,Me)|0;var Ln=(d+(L=L+Math.imul(oe,$e)|0)|0)+((8191&(I=(I=I+Math.imul(oe,it)|0)+Math.imul(ve,$e)|0))<<13)|0;d=((V=V+Math.imul(ve,it)|0)+(I>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,L=Math.imul(Qe,St),I=(I=Math.imul(Qe,dt))+Math.imul(rt,St)|0,V=Math.imul(rt,dt),L=L+Math.imul(G,kt)|0,I=(I=I+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,V=V+Math.imul(Ee,Nt)|0,L=L+Math.imul(Se,Ut)|0,I=(I=I+Math.imul(Se,Ve)|0)+Math.imul(re,Ut)|0,V=V+Math.imul(re,Ve)|0,L=L+Math.imul(Oe,De)|0,I=(I=I+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,V=V+Math.imul(pe,Me)|0,L=L+Math.imul(Q,$e)|0,I=(I=I+Math.imul(Q,it)|0)+Math.imul(ae,$e)|0,V=V+Math.imul(ae,it)|0;var Kn=(d+(L=L+Math.imul(oe,Be)|0)|0)+((8191&(I=(I=I+Math.imul(oe,Ue)|0)+Math.imul(ve,Be)|0))<<13)|0;d=((V=V+Math.imul(ve,Ue)|0)+(I>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,L=Math.imul(gt,St),I=(I=Math.imul(gt,dt))+Math.imul(ht,St)|0,V=Math.imul(ht,dt),L=L+Math.imul(Qe,kt)|0,I=(I=I+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,V=V+Math.imul(rt,Nt)|0,L=L+Math.imul(G,Ut)|0,I=(I=I+Math.imul(G,Ve)|0)+Math.imul(Ee,Ut)|0,V=V+Math.imul(Ee,Ve)|0,L=L+Math.imul(Se,De)|0,I=(I=I+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,V=V+Math.imul(re,Me)|0,L=L+Math.imul(Oe,$e)|0,I=(I=I+Math.imul(Oe,it)|0)+Math.imul(pe,$e)|0,V=V+Math.imul(pe,it)|0,L=L+Math.imul(Q,Be)|0,I=(I=I+Math.imul(Q,Ue)|0)+Math.imul(ae,Be)|0,V=V+Math.imul(ae,Ue)|0;var Gn=(d+(L=L+Math.imul(oe,Je)|0)|0)+((8191&(I=(I=I+Math.imul(oe,at)|0)+Math.imul(ve,Je)|0))<<13)|0;d=((V=V+Math.imul(ve,at)|0)+(I>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,L=Math.imul(Mt,St),I=(I=Math.imul(Mt,dt))+Math.imul(Pt,St)|0,V=Math.imul(Pt,dt),L=L+Math.imul(gt,kt)|0,I=(I=I+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,V=V+Math.imul(ht,Nt)|0,L=L+Math.imul(Qe,Ut)|0,I=(I=I+Math.imul(Qe,Ve)|0)+Math.imul(rt,Ut)|0,V=V+Math.imul(rt,Ve)|0,L=L+Math.imul(G,De)|0,I=(I=I+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,V=V+Math.imul(Ee,Me)|0,L=L+Math.imul(Se,$e)|0,I=(I=I+Math.imul(Se,it)|0)+Math.imul(re,$e)|0,V=V+Math.imul(re,it)|0,L=L+Math.imul(Oe,Be)|0,I=(I=I+Math.imul(Oe,Ue)|0)+Math.imul(pe,Be)|0,V=V+Math.imul(pe,Ue)|0,L=L+Math.imul(Q,Je)|0,I=(I=I+Math.imul(Q,at)|0)+Math.imul(ae,Je)|0,V=V+Math.imul(ae,at)|0;var $n=(d+(L=L+Math.imul(oe,yt)|0)|0)+((8191&(I=(I=I+Math.imul(oe,mt)|0)+Math.imul(ve,yt)|0))<<13)|0;d=((V=V+Math.imul(ve,mt)|0)+(I>>>13)|0)+($n>>>26)|0,$n&=67108863,L=Math.imul(It,St),I=(I=Math.imul(It,dt))+Math.imul(Ft,St)|0,V=Math.imul(Ft,dt),L=L+Math.imul(Mt,kt)|0,I=(I=I+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,V=V+Math.imul(Pt,Nt)|0,L=L+Math.imul(gt,Ut)|0,I=(I=I+Math.imul(gt,Ve)|0)+Math.imul(ht,Ut)|0,V=V+Math.imul(ht,Ve)|0,L=L+Math.imul(Qe,De)|0,I=(I=I+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,V=V+Math.imul(rt,Me)|0,L=L+Math.imul(G,$e)|0,I=(I=I+Math.imul(G,it)|0)+Math.imul(Ee,$e)|0,V=V+Math.imul(Ee,it)|0,L=L+Math.imul(Se,Be)|0,I=(I=I+Math.imul(Se,Ue)|0)+Math.imul(re,Be)|0,V=V+Math.imul(re,Ue)|0,L=L+Math.imul(Oe,Je)|0,I=(I=I+Math.imul(Oe,at)|0)+Math.imul(pe,Je)|0,V=V+Math.imul(pe,at)|0,L=L+Math.imul(Q,yt)|0,I=(I=I+Math.imul(Q,mt)|0)+Math.imul(ae,yt)|0,V=V+Math.imul(ae,mt)|0;var je=(d+(L=L+Math.imul(oe,Ot)|0)|0)+((8191&(I=(I=I+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;d=((V=V+Math.imul(ve,Rt)|0)+(I>>>13)|0)+(je>>>26)|0,je&=67108863,L=Math.imul(Dt,St),I=(I=Math.imul(Dt,dt))+Math.imul(_t,St)|0,V=Math.imul(_t,dt),L=L+Math.imul(It,kt)|0,I=(I=I+Math.imul(It,Nt)|0)+Math.imul(Ft,kt)|0,V=V+Math.imul(Ft,Nt)|0,L=L+Math.imul(Mt,Ut)|0,I=(I=I+Math.imul(Mt,Ve)|0)+Math.imul(Pt,Ut)|0,V=V+Math.imul(Pt,Ve)|0,L=L+Math.imul(gt,De)|0,I=(I=I+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,V=V+Math.imul(ht,Me)|0,L=L+Math.imul(Qe,$e)|0,I=(I=I+Math.imul(Qe,it)|0)+Math.imul(rt,$e)|0,V=V+Math.imul(rt,it)|0,L=L+Math.imul(G,Be)|0,I=(I=I+Math.imul(G,Ue)|0)+Math.imul(Ee,Be)|0,V=V+Math.imul(Ee,Ue)|0,L=L+Math.imul(Se,Je)|0,I=(I=I+Math.imul(Se,at)|0)+Math.imul(re,Je)|0,V=V+Math.imul(re,at)|0,L=L+Math.imul(Oe,yt)|0,I=(I=I+Math.imul(Oe,mt)|0)+Math.imul(pe,yt)|0,V=V+Math.imul(pe,mt)|0,L=L+Math.imul(Q,Ot)|0,I=(I=I+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0,V=V+Math.imul(ae,Rt)|0;var lt=(d+(L=L+Math.imul(oe,An)|0)|0)+((8191&(I=(I=I+Math.imul(oe,wn)|0)+Math.imul(ve,An)|0))<<13)|0;d=((V=V+Math.imul(ve,wn)|0)+(I>>>13)|0)+(lt>>>26)|0,lt&=67108863,L=Math.imul(Dt,kt),I=(I=Math.imul(Dt,Nt))+Math.imul(_t,kt)|0,V=Math.imul(_t,Nt),L=L+Math.imul(It,Ut)|0,I=(I=I+Math.imul(It,Ve)|0)+Math.imul(Ft,Ut)|0,V=V+Math.imul(Ft,Ve)|0,L=L+Math.imul(Mt,De)|0,I=(I=I+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,V=V+Math.imul(Pt,Me)|0,L=L+Math.imul(gt,$e)|0,I=(I=I+Math.imul(gt,it)|0)+Math.imul(ht,$e)|0,V=V+Math.imul(ht,it)|0,L=L+Math.imul(Qe,Be)|0,I=(I=I+Math.imul(Qe,Ue)|0)+Math.imul(rt,Be)|0,V=V+Math.imul(rt,Ue)|0,L=L+Math.imul(G,Je)|0,I=(I=I+Math.imul(G,at)|0)+Math.imul(Ee,Je)|0,V=V+Math.imul(Ee,at)|0,L=L+Math.imul(Se,yt)|0,I=(I=I+Math.imul(Se,mt)|0)+Math.imul(re,yt)|0,V=V+Math.imul(re,mt)|0,L=L+Math.imul(Oe,Ot)|0,I=(I=I+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0,V=V+Math.imul(pe,Rt)|0;var Tt=(d+(L=L+Math.imul(Q,An)|0)|0)+((8191&(I=(I=I+Math.imul(Q,wn)|0)+Math.imul(ae,An)|0))<<13)|0;d=((V=V+Math.imul(ae,wn)|0)+(I>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,L=Math.imul(Dt,Ut),I=(I=Math.imul(Dt,Ve))+Math.imul(_t,Ut)|0,V=Math.imul(_t,Ve),L=L+Math.imul(It,De)|0,I=(I=I+Math.imul(It,Me)|0)+Math.imul(Ft,De)|0,V=V+Math.imul(Ft,Me)|0,L=L+Math.imul(Mt,$e)|0,I=(I=I+Math.imul(Mt,it)|0)+Math.imul(Pt,$e)|0,V=V+Math.imul(Pt,it)|0,L=L+Math.imul(gt,Be)|0,I=(I=I+Math.imul(gt,Ue)|0)+Math.imul(ht,Be)|0,V=V+Math.imul(ht,Ue)|0,L=L+Math.imul(Qe,Je)|0,I=(I=I+Math.imul(Qe,at)|0)+Math.imul(rt,Je)|0,V=V+Math.imul(rt,at)|0,L=L+Math.imul(G,yt)|0,I=(I=I+Math.imul(G,mt)|0)+Math.imul(Ee,yt)|0,V=V+Math.imul(Ee,mt)|0,L=L+Math.imul(Se,Ot)|0,I=(I=I+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0,V=V+Math.imul(re,Rt)|0;var wt=(d+(L=L+Math.imul(Oe,An)|0)|0)+((8191&(I=(I=I+Math.imul(Oe,wn)|0)+Math.imul(pe,An)|0))<<13)|0;d=((V=V+Math.imul(pe,wn)|0)+(I>>>13)|0)+(wt>>>26)|0,wt&=67108863,L=Math.imul(Dt,De),I=(I=Math.imul(Dt,Me))+Math.imul(_t,De)|0,V=Math.imul(_t,Me),L=L+Math.imul(It,$e)|0,I=(I=I+Math.imul(It,it)|0)+Math.imul(Ft,$e)|0,V=V+Math.imul(Ft,it)|0,L=L+Math.imul(Mt,Be)|0,I=(I=I+Math.imul(Mt,Ue)|0)+Math.imul(Pt,Be)|0,V=V+Math.imul(Pt,Ue)|0,L=L+Math.imul(gt,Je)|0,I=(I=I+Math.imul(gt,at)|0)+Math.imul(ht,Je)|0,V=V+Math.imul(ht,at)|0,L=L+Math.imul(Qe,yt)|0,I=(I=I+Math.imul(Qe,mt)|0)+Math.imul(rt,yt)|0,V=V+Math.imul(rt,mt)|0,L=L+Math.imul(G,Ot)|0,I=(I=I+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0,V=V+Math.imul(Ee,Rt)|0;var Lt=(d+(L=L+Math.imul(Se,An)|0)|0)+((8191&(I=(I=I+Math.imul(Se,wn)|0)+Math.imul(re,An)|0))<<13)|0;d=((V=V+Math.imul(re,wn)|0)+(I>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,L=Math.imul(Dt,$e),I=(I=Math.imul(Dt,it))+Math.imul(_t,$e)|0,V=Math.imul(_t,it),L=L+Math.imul(It,Be)|0,I=(I=I+Math.imul(It,Ue)|0)+Math.imul(Ft,Be)|0,V=V+Math.imul(Ft,Ue)|0,L=L+Math.imul(Mt,Je)|0,I=(I=I+Math.imul(Mt,at)|0)+Math.imul(Pt,Je)|0,V=V+Math.imul(Pt,at)|0,L=L+Math.imul(gt,yt)|0,I=(I=I+Math.imul(gt,mt)|0)+Math.imul(ht,yt)|0,V=V+Math.imul(ht,mt)|0,L=L+Math.imul(Qe,Ot)|0,I=(I=I+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0,V=V+Math.imul(rt,Rt)|0;var Yt=(d+(L=L+Math.imul(G,An)|0)|0)+((8191&(I=(I=I+Math.imul(G,wn)|0)+Math.imul(Ee,An)|0))<<13)|0;d=((V=V+Math.imul(Ee,wn)|0)+(I>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,L=Math.imul(Dt,Be),I=(I=Math.imul(Dt,Ue))+Math.imul(_t,Be)|0,V=Math.imul(_t,Ue),L=L+Math.imul(It,Je)|0,I=(I=I+Math.imul(It,at)|0)+Math.imul(Ft,Je)|0,V=V+Math.imul(Ft,at)|0,L=L+Math.imul(Mt,yt)|0,I=(I=I+Math.imul(Mt,mt)|0)+Math.imul(Pt,yt)|0,V=V+Math.imul(Pt,mt)|0,L=L+Math.imul(gt,Ot)|0,I=(I=I+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0,V=V+Math.imul(ht,Rt)|0;var qt=(d+(L=L+Math.imul(Qe,An)|0)|0)+((8191&(I=(I=I+Math.imul(Qe,wn)|0)+Math.imul(rt,An)|0))<<13)|0;d=((V=V+Math.imul(rt,wn)|0)+(I>>>13)|0)+(qt>>>26)|0,qt&=67108863,L=Math.imul(Dt,Je),I=(I=Math.imul(Dt,at))+Math.imul(_t,Je)|0,V=Math.imul(_t,at),L=L+Math.imul(It,yt)|0,I=(I=I+Math.imul(It,mt)|0)+Math.imul(Ft,yt)|0,V=V+Math.imul(Ft,mt)|0,L=L+Math.imul(Mt,Ot)|0,I=(I=I+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0,V=V+Math.imul(Pt,Rt)|0;var Zt=(d+(L=L+Math.imul(gt,An)|0)|0)+((8191&(I=(I=I+Math.imul(gt,wn)|0)+Math.imul(ht,An)|0))<<13)|0;d=((V=V+Math.imul(ht,wn)|0)+(I>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,L=Math.imul(Dt,yt),I=(I=Math.imul(Dt,mt))+Math.imul(_t,yt)|0,V=Math.imul(_t,mt),L=L+Math.imul(It,Ot)|0,I=(I=I+Math.imul(It,Rt)|0)+Math.imul(Ft,Ot)|0,V=V+Math.imul(Ft,Rt)|0;var Tn=(d+(L=L+Math.imul(Mt,An)|0)|0)+((8191&(I=(I=I+Math.imul(Mt,wn)|0)+Math.imul(Pt,An)|0))<<13)|0;d=((V=V+Math.imul(Pt,wn)|0)+(I>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,L=Math.imul(Dt,Ot),I=(I=Math.imul(Dt,Rt))+Math.imul(_t,Ot)|0,V=Math.imul(_t,Rt);var Dn=(d+(L=L+Math.imul(It,An)|0)|0)+((8191&(I=(I=I+Math.imul(It,wn)|0)+Math.imul(Ft,An)|0))<<13)|0;d=((V=V+Math.imul(Ft,wn)|0)+(I>>>13)|0)+(Dn>>>26)|0,Dn&=67108863;var Xn=(d+(L=Math.imul(Dt,An))|0)+((8191&(I=(I=Math.imul(Dt,wn))+Math.imul(_t,An)|0))<<13)|0;return d=((V=Math.imul(_t,wn))+(I>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,r[0]=bn,r[1]=Wn,r[2]=Vn,r[3]=Pn,r[4]=Ln,r[5]=Kn,r[6]=Gn,r[7]=$n,r[8]=je,r[9]=lt,r[10]=Tt,r[11]=wt,r[12]=Lt,r[13]=Yt,r[14]=qt,r[15]=Zt,r[16]=Tn,r[17]=Dn,r[18]=Xn,0!==d&&(r[19]=d,v.length++),v};function O(u,s,h){h.negative=s.negative^u.negative,h.length=u.length+s.length;for(var v=0,y=0,f=0;f>>26)|0)>>>26,r&=67108863}h.words[f]=d,v=r,r=y}return 0!==v?h.words[f]=v:h.length--,h._strip()}function U(u,s,h){return O(u,s,h)}function j(u,s){this.x=u,this.y=s}Math.imul||(M=k),c.prototype.mulTo=function(s,h){var y=this.length+s.length;return 10===this.length&&10===s.length?M(this,s,h):y<63?k(this,s,h):y<1024?O(this,s,h):U(this,s,h)},j.prototype.makeRBT=function(s){for(var h=new Array(s),v=c.prototype._countBits(s)-1,y=0;y>=1;return y},j.prototype.permute=function(s,h,v,y,f,r){for(var d=0;d>>=1)f++;return 1<>>=13),f>>>=13;for(r=2*h;r>=26,v+=f/67108864|0,v+=r>>>26,this.words[y]=67108863&r}return 0!==v&&(this.words[y]=v,this.length++),h?this.ineg():this},c.prototype.muln=function(s){return this.clone().imuln(s)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(s){var h=function $(u){for(var s=new Array(u.bitLength()),h=0;h>>h%26&1;return s}(s);if(0===h.length)return new c(1);for(var v=this,y=0;y=0);var f,h=s%26,v=(s-h)/26,y=67108863>>>26-h<<26-h;if(0!==h){var r=0;for(f=0;f>>26-h}r&&(this.words[f]=r,this.length++)}if(0!==v){for(f=this.length-1;f>=0;f--)this.words[f+v]=this.words[f];for(f=0;f=0),y=h?(h-h%26)/26:0;var f=s%26,r=Math.min((s-f)/26,this.length),d=67108863^67108863>>>f<r)for(this.length-=r,I=0;I=0&&(0!==V||I>=y);I--){var q=0|this.words[I];this.words[I]=V<<26-f|q>>>f,V=q&d}return L&&0!==V&&(L.words[L.length++]=V),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},c.prototype.ishrn=function(s,h,v){return p(0===this.negative),this.iushrn(s,h,v)},c.prototype.shln=function(s){return this.clone().ishln(s)},c.prototype.ushln=function(s){return this.clone().iushln(s)},c.prototype.shrn=function(s){return this.clone().ishrn(s)},c.prototype.ushrn=function(s){return this.clone().iushrn(s)},c.prototype.testn=function(s){p("number"==typeof s&&s>=0);var h=s%26,v=(s-h)/26;return!(this.length<=v||!(this.words[v]&1<=0);var h=s%26,v=(s-h)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=v?this:(0!==h&&v++,this.length=Math.min(v,this.length),0!==h&&(this.words[this.length-1]&=67108863^67108863>>>h<=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},c.prototype.isubn=function(s){if(p("number"==typeof s),p(s<67108864),s<0)return this.iaddn(-s);if(0!==this.negative)return this.negative=0,this.iaddn(s),this.negative=1,this;if(this.words[0]-=s,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h>26)-(L/67108864|0),this.words[f+v]=67108863&r}for(;f>26,this.words[f+v]=67108863&r;if(0===d)return this._strip();for(p(-1===d),d=0,f=0;f>26,this.words[f]=67108863&r;return this.negative=1,this._strip()},c.prototype._wordDiv=function(s,h){var v,y=this.clone(),f=s,r=0|f.words[f.length-1];0!=(v=26-this._countBits(r))&&(f=f.ushln(v),y.iushln(v),r=0|f.words[f.length-1]);var I,L=y.length-f.length;if("mod"!==h){(I=new c(null)).length=L+1,I.words=new Array(I.length);for(var V=0;V=0;oe--){var ve=67108864*(0|y.words[f.length+oe])+(0|y.words[f.length+oe-1]);for(ve=Math.min(ve/r|0,67108863),y._ishlnsubmul(f,ve,oe);0!==y.negative;)ve--,y.negative=0,y._ishlnsubmul(f,1,oe),y.isZero()||(y.negative^=1);I&&(I.words[oe]=ve)}return I&&I._strip(),y._strip(),"div"!==h&&0!==v&&y.iushrn(v),{div:I||null,mod:y}},c.prototype.divmod=function(s,h,v){return p(!s.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===s.negative?(r=this.neg().divmod(s,h),"mod"!==h&&(y=r.div.neg()),"div"!==h&&(f=r.mod.neg(),v&&0!==f.negative&&f.iadd(s)),{div:y,mod:f}):0===this.negative&&0!==s.negative?(r=this.divmod(s.neg(),h),"mod"!==h&&(y=r.div.neg()),{div:y,mod:r.mod}):this.negative&s.negative?(r=this.neg().divmod(s.neg(),h),"div"!==h&&(f=r.mod.neg(),v&&0!==f.negative&&f.isub(s)),{div:r.div,mod:f}):s.length>this.length||this.cmp(s)<0?{div:new c(0),mod:this}:1===s.length?"div"===h?{div:this.divn(s.words[0]),mod:null}:"mod"===h?{div:null,mod:new c(this.modrn(s.words[0]))}:{div:this.divn(s.words[0]),mod:new c(this.modrn(s.words[0]))}:this._wordDiv(s,h);var y,f,r},c.prototype.div=function(s){return this.divmod(s,"div",!1).div},c.prototype.mod=function(s){return this.divmod(s,"mod",!1).mod},c.prototype.umod=function(s){return this.divmod(s,"mod",!0).mod},c.prototype.divRound=function(s){var h=this.divmod(s);if(h.mod.isZero())return h.div;var v=0!==h.div.negative?h.mod.isub(s):h.mod,y=s.ushrn(1),f=s.andln(1),r=v.cmp(y);return r<0||1===f&&0===r?h.div:0!==h.div.negative?h.div.isubn(1):h.div.iaddn(1)},c.prototype.modrn=function(s){var h=s<0;h&&(s=-s),p(s<=67108863);for(var v=(1<<26)%s,y=0,f=this.length-1;f>=0;f--)y=(v*y+(0|this.words[f]))%s;return h?-y:y},c.prototype.modn=function(s){return this.modrn(s)},c.prototype.idivn=function(s){var h=s<0;h&&(s=-s),p(s<=67108863);for(var v=0,y=this.length-1;y>=0;y--){var f=(0|this.words[y])+67108864*v;this.words[y]=f/s|0,v=f%s}return this._strip(),h?this.ineg():this},c.prototype.divn=function(s){return this.clone().idivn(s)},c.prototype.egcd=function(s){p(0===s.negative),p(!s.isZero());var h=this,v=s.clone();h=0!==h.negative?h.umod(s):h.clone();for(var y=new c(1),f=new c(0),r=new c(0),d=new c(1),L=0;h.isEven()&&v.isEven();)h.iushrn(1),v.iushrn(1),++L;for(var I=v.clone(),V=h.clone();!h.isZero();){for(var q=0,oe=1;!(h.words[0]&oe)&&q<26;++q,oe<<=1);if(q>0)for(h.iushrn(q);q-- >0;)(y.isOdd()||f.isOdd())&&(y.iadd(I),f.isub(V)),y.iushrn(1),f.iushrn(1);for(var ve=0,Ae=1;!(v.words[0]&Ae)&&ve<26;++ve,Ae<<=1);if(ve>0)for(v.iushrn(ve);ve-- >0;)(r.isOdd()||d.isOdd())&&(r.iadd(I),d.isub(V)),r.iushrn(1),d.iushrn(1);h.cmp(v)>=0?(h.isub(v),y.isub(r),f.isub(d)):(v.isub(h),r.isub(y),d.isub(f))}return{a:r,b:d,gcd:v.iushln(L)}},c.prototype._invmp=function(s){p(0===s.negative),p(!s.isZero());var q,h=this,v=s.clone();h=0!==h.negative?h.umod(s):h.clone();for(var y=new c(1),f=new c(0),r=v.clone();h.cmpn(1)>0&&v.cmpn(1)>0;){for(var d=0,L=1;!(h.words[0]&L)&&d<26;++d,L<<=1);if(d>0)for(h.iushrn(d);d-- >0;)y.isOdd()&&y.iadd(r),y.iushrn(1);for(var I=0,V=1;!(v.words[0]&V)&&I<26;++I,V<<=1);if(I>0)for(v.iushrn(I);I-- >0;)f.isOdd()&&f.iadd(r),f.iushrn(1);h.cmp(v)>=0?(h.isub(v),y.isub(f)):(v.isub(h),f.isub(y))}return(q=0===h.cmpn(1)?y:f).cmpn(0)<0&&q.iadd(s),q},c.prototype.gcd=function(s){if(this.isZero())return s.abs();if(s.isZero())return this.abs();var h=this.clone(),v=s.clone();h.negative=0,v.negative=0;for(var y=0;h.isEven()&&v.isEven();y++)h.iushrn(1),v.iushrn(1);for(;;){for(;h.isEven();)h.iushrn(1);for(;v.isEven();)v.iushrn(1);var f=h.cmp(v);if(f<0){var r=h;h=v,v=r}else if(0===f||0===v.cmpn(1))break;h.isub(v)}return v.iushln(y)},c.prototype.invm=function(s){return this.egcd(s).a.umod(s)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(s){return this.words[0]&s},c.prototype.bincn=function(s){p("number"==typeof s);var h=s%26,v=(s-h)/26,y=1<>>26,this.words[r]=d&=67108863}return 0!==f&&(this.words[r]=f,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(s){var v,h=s<0;if(0!==this.negative&&!h)return-1;if(0===this.negative&&h)return 1;if(this._strip(),this.length>1)v=1;else{h&&(s=-s),p(s<=67108863,"Number is too big");var y=0|this.words[0];v=y===s?0:ys.length)return 1;if(this.length=0;v--){var y=0|this.words[v],f=0|s.words[v];if(y!==f){yf&&(h=1);break}}return h},c.prototype.gtn=function(s){return 1===this.cmpn(s)},c.prototype.gt=function(s){return 1===this.cmp(s)},c.prototype.gten=function(s){return this.cmpn(s)>=0},c.prototype.gte=function(s){return this.cmp(s)>=0},c.prototype.ltn=function(s){return-1===this.cmpn(s)},c.prototype.lt=function(s){return-1===this.cmp(s)},c.prototype.lten=function(s){return this.cmpn(s)<=0},c.prototype.lte=function(s){return this.cmp(s)<=0},c.prototype.eqn=function(s){return 0===this.cmpn(s)},c.prototype.eq=function(s){return 0===this.cmp(s)},c.red=function(s){return new n(s)},c.prototype.toRed=function(s){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),s.convertTo(this)._forceRed(s)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(s){return this.red=s,this},c.prototype.forceRed=function(s){return p(!this.red,"Already a number in reduction context"),this._forceRed(s)},c.prototype.redAdd=function(s){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,s)},c.prototype.redIAdd=function(s){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,s)},c.prototype.redSub=function(s){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,s)},c.prototype.redISub=function(s){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,s)},c.prototype.redShl=function(s){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,s)},c.prototype.redMul=function(s){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.mul(this,s)},c.prototype.redIMul=function(s){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.imul(this,s)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(s){return p(this.red&&!s.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,s)};var W={k256:null,p224:null,p192:null,p25519:null};function ie(u,s){this.name=u,this.p=new c(s,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function me(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function te(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function m(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(u){if("string"==typeof u){var s=c._prime(u);this.m=s.p,this.prime=s}else p(u.gtn(1),"modulus must be greater than 1"),this.m=u,this.prime=null}function o(u){n.call(this,u),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var s=new c(null);return s.words=new Array(Math.ceil(this.n/13)),s},ie.prototype.ireduce=function(s){var v,h=s;do{this.split(h,this.tmp),v=(h=(h=this.imulK(h)).iadd(this.tmp)).bitLength()}while(v>this.n);var y=v0?h.isub(this.p):void 0!==h.strip?h.strip():h._strip(),h},ie.prototype.split=function(s,h){s.iushrn(this.n,0,h)},ie.prototype.imulK=function(s){return s.imul(this.k)},R(me,ie),me.prototype.split=function(s,h){for(var v=4194303,y=Math.min(s.length,9),f=0;f>>22,r=d}s.words[f-10]=r>>>=22,s.length-=0===r&&s.length>10?10:9},me.prototype.imulK=function(s){s.words[s.length]=0,s.words[s.length+1]=0,s.length+=2;for(var h=0,v=0;v>>=26,s.words[v]=f,h=y}return 0!==h&&(s.words[s.length++]=h),s},c._prime=function(s){if(W[s])return W[s];var h;if("k256"===s)h=new me;else if("p224"===s)h=new te;else if("p192"===s)h=new se;else{if("p25519"!==s)throw new Error("Unknown prime "+s);h=new m}return W[s]=h,h},n.prototype._verify1=function(s){p(0===s.negative,"red works only with positives"),p(s.red,"red works only with red numbers")},n.prototype._verify2=function(s,h){p(!(s.negative|h.negative),"red works only with positives"),p(s.red&&s.red===h.red,"red works only with red numbers")},n.prototype.imod=function(s){return this.prime?this.prime.ireduce(s)._forceRed(this):(_(s,s.umod(this.m)._forceRed(this)),s)},n.prototype.neg=function(s){return s.isZero()?s.clone():this.m.sub(s)._forceRed(this)},n.prototype.add=function(s,h){this._verify2(s,h);var v=s.add(h);return v.cmp(this.m)>=0&&v.isub(this.m),v._forceRed(this)},n.prototype.iadd=function(s,h){this._verify2(s,h);var v=s.iadd(h);return v.cmp(this.m)>=0&&v.isub(this.m),v},n.prototype.sub=function(s,h){this._verify2(s,h);var v=s.sub(h);return v.cmpn(0)<0&&v.iadd(this.m),v._forceRed(this)},n.prototype.isub=function(s,h){this._verify2(s,h);var v=s.isub(h);return v.cmpn(0)<0&&v.iadd(this.m),v},n.prototype.shl=function(s,h){return this._verify1(s),this.imod(s.ushln(h))},n.prototype.imul=function(s,h){return this._verify2(s,h),this.imod(s.imul(h))},n.prototype.mul=function(s,h){return this._verify2(s,h),this.imod(s.mul(h))},n.prototype.isqr=function(s){return this.imul(s,s.clone())},n.prototype.sqr=function(s){return this.mul(s,s)},n.prototype.sqrt=function(s){if(s.isZero())return s.clone();var h=this.m.andln(3);if(p(h%2==1),3===h){var v=this.m.add(new c(1)).iushrn(2);return this.pow(s,v)}for(var y=this.m.subn(1),f=0;!y.isZero()&&0===y.andln(1);)f++,y.iushrn(1);p(!y.isZero());var r=new c(1).toRed(this),d=r.redNeg(),L=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new c(2*I*I).toRed(this);0!==this.pow(I,L).cmp(d);)I.redIAdd(d);for(var V=this.pow(I,y),q=this.pow(s,y.addn(1).iushrn(1)),oe=this.pow(s,y),ve=f;0!==oe.cmp(r);){for(var Ae=oe,Q=0;0!==Ae.cmp(r);Q++)Ae=Ae.redSqr();p(Q=0;f--){for(var V=h.words[f],q=I-1;q>=0;q--){var oe=V>>q&1;r!==y[0]&&(r=this.sqr(r)),0!==oe||0!==d?(d<<=1,d|=oe,(4==++L||0===f&&0===q)&&(r=this.mul(r,y[d]),L=0,d=0)):L=0}I=26}return r},n.prototype.convertTo=function(s){var h=s.umod(this.m);return h===s?h.clone():h},n.prototype.convertFrom=function(s){var h=s.clone();return h.red=null,h},c.mont=function(s){return new o(s)},R(o,n),o.prototype.convertTo=function(s){return this.imod(s.ushln(this.shift))},o.prototype.convertFrom=function(s){var h=this.imod(s.mul(this.rinv));return h.red=null,h},o.prototype.imul=function(s,h){if(s.isZero()||h.isZero())return s.words[0]=0,s.length=1,s;var v=s.imul(h),y=v.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),f=v.isub(y).iushrn(this.shift),r=f;return f.cmp(this.m)>=0?r=f.isub(this.m):f.cmpn(0)<0&&(r=f.iadd(this.m)),r._forceRed(this)},o.prototype.mul=function(s,h){if(s.isZero()||h.isZero())return new c(0)._forceRed(this);var v=s.mul(h),y=v.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),f=v.isub(y).iushrn(this.shift),r=f;return f.cmp(this.m)>=0?r=f.isub(this.m):f.cmpn(0)<0&&(r=f.iadd(this.m)),r._forceRed(this)},o.prototype.invm=function(s){return this.imod(s._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},5294:(Ce,ee,E)=>{var a;function S(R){this.rand=R}if(Ce.exports=function(c){return a||(a=new S(null)),a.generate(c)},Ce.exports.Rand=S,S.prototype.generate=function(c){return this._rand(c)},S.prototype._rand=function(c){if(this.rand.getBytes)return this.rand.getBytes(c);for(var D=new Uint8Array(c),C=0;C{var a=E(7054).Buffer;function S(w){a.isBuffer(w)||(w=a.from(w));for(var T=w.length/4|0,_=new Array(T),g=0;g>>24]^B[M>>>16&255]^P[O>>>8&255]^$[255&U]^T[te++],W=A[M>>>24]^B[O>>>16&255]^P[U>>>8&255]^$[255&k]^T[te++],ie=A[O>>>24]^B[U>>>16&255]^P[k>>>8&255]^$[255&M]^T[te++],me=A[U>>>24]^B[k>>>16&255]^P[M>>>8&255]^$[255&O]^T[te++],k=j,M=W,O=ie,U=me;return j=(g[k>>>24]<<24|g[M>>>16&255]<<16|g[O>>>8&255]<<8|g[255&U])^T[te++],W=(g[M>>>24]<<24|g[O>>>16&255]<<16|g[U>>>8&255]<<8|g[255&k])^T[te++],ie=(g[O>>>24]<<24|g[U>>>16&255]<<16|g[k>>>8&255]<<8|g[255&M])^T[te++],me=(g[U>>>24]<<24|g[k>>>16&255]<<16|g[M>>>8&255]<<8|g[255&O])^T[te++],[j>>>=0,W>>>=0,ie>>>=0,me>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],D=function(){for(var w=new Array(256),T=0;T<256;T++)w[T]=T<128?T<<1:T<<1^283;for(var _=[],g=[],F=[[],[],[],[]],A=[[],[],[],[]],B=0,P=0,$=0;$<256;++$){var k=P^P<<1^P<<2^P<<3^P<<4;_[B]=k=k>>>8^255&k^99,g[k]=B;var M=w[B],O=w[M],U=w[O],j=257*w[k]^16843008*k;F[0][B]=j<<24|j>>>8,F[1][B]=j<<16|j>>>16,F[2][B]=j<<8|j>>>24,F[3][B]=j,A[0][k]=(j=16843009*U^65537*O^257*M^16843008*B)<<24|j>>>8,A[1][k]=j<<16|j>>>16,A[2][k]=j<<8|j>>>24,A[3][k]=j,0===B?B=P=1:(B=M^w[w[w[U^M]]],P^=w[w[P]])}return{SBOX:_,INV_SBOX:g,SUB_MIX:F,INV_SUB_MIX:A}}();function C(w){this._key=S(w),this._reset()}C.blockSize=16,C.keySize=32,C.prototype.blockSize=C.blockSize,C.prototype.keySize=C.keySize,C.prototype._reset=function(){for(var w=this._key,T=w.length,_=T+6,g=4*(_+1),F=[],A=0;A>>24)>>>24]<<24|D.SBOX[B>>>16&255]<<16|D.SBOX[B>>>8&255]<<8|D.SBOX[255&B],B^=c[A/T|0]<<24):T>6&&A%T==4&&(B=D.SBOX[B>>>24]<<24|D.SBOX[B>>>16&255]<<16|D.SBOX[B>>>8&255]<<8|D.SBOX[255&B]),F[A]=F[A-T]^B}for(var P=[],$=0;$>>24]]^D.INV_SUB_MIX[1][D.SBOX[M>>>16&255]]^D.INV_SUB_MIX[2][D.SBOX[M>>>8&255]]^D.INV_SUB_MIX[3][D.SBOX[255&M]]}this._nRounds=_,this._keySchedule=F,this._invKeySchedule=P},C.prototype.encryptBlockRaw=function(w){return R(w=S(w),this._keySchedule,D.SUB_MIX,D.SBOX,this._nRounds)},C.prototype.encryptBlock=function(w){var T=this.encryptBlockRaw(w),_=a.allocUnsafe(16);return _.writeUInt32BE(T[0],0),_.writeUInt32BE(T[1],4),_.writeUInt32BE(T[2],8),_.writeUInt32BE(T[3],12),_},C.prototype.decryptBlock=function(w){var T=(w=S(w))[1];w[1]=w[3],w[3]=T;var _=R(w,this._invKeySchedule,D.INV_SUB_MIX,D.INV_SBOX,this._nRounds),g=a.allocUnsafe(16);return g.writeUInt32BE(_[0],0),g.writeUInt32BE(_[3],4),g.writeUInt32BE(_[2],8),g.writeUInt32BE(_[1],12),g},C.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},Ce.exports.AES=C},9307:(Ce,ee,E)=>{var a=E(2375),S=E(7054).Buffer,p=E(3247),R=E(1993),c=E(5917),D=E(3546),C=E(5725);function _(g,F,A,B){p.call(this);var P=S.alloc(4,0);this._cipher=new a.AES(F);var $=this._cipher.encryptBlock(P);this._ghash=new c($),A=function T(g,F,A){if(12===F.length)return g._finID=S.concat([F,S.from([0,0,0,1])]),S.concat([F,S.from([0,0,0,2])]);var B=new c(A),P=F.length,$=P%16;B.update(F),$&&B.update(S.alloc($=16-$,0)),B.update(S.alloc(8,0));var k=8*P,M=S.alloc(8);M.writeUIntBE(k,0,8),B.update(M),g._finID=B.state;var O=S.from(g._finID);return C(O),O}(this,A,$),this._prev=S.from(A),this._cache=S.allocUnsafe(0),this._secCache=S.allocUnsafe(0),this._decrypt=B,this._alen=0,this._len=0,this._mode=g,this._authTag=null,this._called=!1}R(_,p),_.prototype._update=function(g){if(!this._called&&this._alen){var F=16-this._alen%16;F<16&&(F=S.alloc(F,0),this._ghash.update(F))}this._called=!0;var A=this._mode.encrypt(this,g);return this._ghash.update(this._decrypt?g:A),this._len+=g.length,A},_.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var g=D(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function w(g,F){var A=0;g.length!==F.length&&A++;for(var B=Math.min(g.length,F.length),P=0;P{var a=E(350),S=E(102),p=E(3219);ee.createCipher=ee.Cipher=a.createCipher,ee.createCipheriv=ee.Cipheriv=a.createCipheriv,ee.createDecipher=ee.Decipher=S.createDecipher,ee.createDecipheriv=ee.Decipheriv=S.createDecipheriv,ee.listCiphers=ee.getCiphers=function R(){return Object.keys(p)}},102:(Ce,ee,E)=>{var a=E(9307),S=E(7054).Buffer,p=E(503),R=E(1821),c=E(3247),D=E(2375),C=E(8211);function T(B,P,$){c.call(this),this._cache=new _,this._last=void 0,this._cipher=new D.AES(P),this._prev=S.from($),this._mode=B,this._autopadding=!0}function _(){this.cache=S.allocUnsafe(0)}function F(B,P,$){var k=p[B.toLowerCase()];if(!k)throw new TypeError("invalid suite type");if("string"==typeof $&&($=S.from($)),"GCM"!==k.mode&&$.length!==k.iv)throw new TypeError("invalid iv length "+$.length);if("string"==typeof P&&(P=S.from(P)),P.length!==k.key/8)throw new TypeError("invalid key length "+P.length);return"stream"===k.type?new R(k.module,P,$,!0):"auth"===k.type?new a(k.module,P,$,!0):new T(k.module,P,$)}E(1993)(T,c),T.prototype._update=function(B){this._cache.add(B);for(var P,$,k=[];P=this._cache.get(this._autopadding);)$=this._mode.decrypt(this,P),k.push($);return S.concat(k)},T.prototype._final=function(){var B=this._cache.flush();if(this._autopadding)return function g(B){var P=B[15];if(P<1||P>16)throw new Error("unable to decrypt data");for(var $=-1;++$16)return P=this.cache.slice(0,16),this.cache=this.cache.slice(16),P}else if(this.cache.length>=16)return P=this.cache.slice(0,16),this.cache=this.cache.slice(16),P;return null},_.prototype.flush=function(){if(this.cache.length)return this.cache},ee.createDecipher=function A(B,P){var $=p[B.toLowerCase()];if(!$)throw new TypeError("invalid suite type");var k=C(P,!1,$.key,$.iv);return F(B,k.key,k.iv)},ee.createDecipheriv=F},350:(Ce,ee,E)=>{var a=E(503),S=E(9307),p=E(7054).Buffer,R=E(1821),c=E(3247),D=E(2375),C=E(8211);function T(B,P,$){c.call(this),this._cache=new g,this._cipher=new D.AES(P),this._prev=p.from($),this._mode=B,this._autopadding=!0}E(1993)(T,c),T.prototype._update=function(B){this._cache.add(B);for(var P,$,k=[];P=this._cache.get();)$=this._mode.encrypt(this,P),k.push($);return p.concat(k)};var _=p.alloc(16,16);function g(){this.cache=p.allocUnsafe(0)}function F(B,P,$){var k=a[B.toLowerCase()];if(!k)throw new TypeError("invalid suite type");if("string"==typeof P&&(P=p.from(P)),P.length!==k.key/8)throw new TypeError("invalid key length "+P.length);if("string"==typeof $&&($=p.from($)),"GCM"!==k.mode&&$.length!==k.iv)throw new TypeError("invalid iv length "+$.length);return"stream"===k.type?new R(k.module,P,$):"auth"===k.type?new S(k.module,P,$):new T(k.module,P,$)}T.prototype._final=function(){var B=this._cache.flush();if(this._autopadding)return B=this._mode.encrypt(this,B),this._cipher.scrub(),B;if(!B.equals(_))throw this._cipher.scrub(),new Error("data not multiple of block length")},T.prototype.setAutoPadding=function(B){return this._autopadding=!!B,this},g.prototype.add=function(B){this.cache=p.concat([this.cache,B])},g.prototype.get=function(){if(this.cache.length>15){var B=this.cache.slice(0,16);return this.cache=this.cache.slice(16),B}return null},g.prototype.flush=function(){for(var B=16-this.cache.length,P=p.allocUnsafe(B),$=-1;++${var a=E(7054).Buffer,S=a.alloc(16,0);function R(D){var C=a.allocUnsafe(16);return C.writeUInt32BE(D[0]>>>0,0),C.writeUInt32BE(D[1]>>>0,4),C.writeUInt32BE(D[2]>>>0,8),C.writeUInt32BE(D[3]>>>0,12),C}function c(D){this.h=D,this.state=a.alloc(16,0),this.cache=a.allocUnsafe(0)}c.prototype.ghash=function(D){for(var C=-1;++C0;w--)D[w]=D[w]>>>1|(1&D[w-1])<<31;D[0]=D[0]>>>1,_&&(D[0]=D[0]^225<<24)}this.state=R(C)},c.prototype.update=function(D){this.cache=a.concat([this.cache,D]);for(var C;this.cache.length>=16;)C=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(C)},c.prototype.final=function(D,C){return this.cache.length&&this.ghash(a.concat([this.cache,S],16)),this.ghash(R([0,D,0,C])),this.state},Ce.exports=c},5725:Ce=>{Ce.exports=function ee(E){for(var S,a=E.length;a--;){if(255!==(S=E.readUInt8(a))){S++,E.writeUInt8(S,a);break}E.writeUInt8(0,a)}}},4133:(Ce,ee,E)=>{var a=E(3546);ee.encrypt=function(S,p){var R=a(p,S._prev);return S._prev=S._cipher.encryptBlock(R),S._prev},ee.decrypt=function(S,p){var R=S._prev;S._prev=p;var c=S._cipher.decryptBlock(p);return a(c,R)}},7090:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(3546);function p(R,c,D){var C=c.length,w=S(c,R._cache);return R._cache=R._cache.slice(C),R._prev=a.concat([R._prev,D?c:w]),w}ee.encrypt=function(R,c,D){for(var w,C=a.allocUnsafe(0);c.length;){if(0===R._cache.length&&(R._cache=R._cipher.encryptBlock(R._prev),R._prev=a.allocUnsafe(0)),!(R._cache.length<=c.length)){C=a.concat([C,p(R,c,D)]);break}C=a.concat([C,p(R,c.slice(0,w=R._cache.length),D)]),c=c.slice(w)}return C}},1039:(Ce,ee,E)=>{var a=E(7054).Buffer;function S(R,c,D){for(var g,F,w=-1,_=0;++w<8;)_+=(128&(F=R._cipher.encryptBlock(R._prev)[0]^(g=c&1<<7-w?128:0)))>>w%8,R._prev=p(R._prev,D?g:F);return _}function p(R,c){var D=R.length,C=-1,w=a.allocUnsafe(R.length);for(R=a.concat([R,a.from([c])]);++C>7;return w}ee.encrypt=function(R,c,D){for(var C=c.length,w=a.allocUnsafe(C),T=-1;++T{var a=E(7054).Buffer;function S(p,R,c){var C=p._cipher.encryptBlock(p._prev)[0]^R;return p._prev=a.concat([p._prev.slice(1),a.from([c?R:C])]),C}ee.encrypt=function(p,R,c){for(var D=R.length,C=a.allocUnsafe(D),w=-1;++w{var a=E(3546),S=E(7054).Buffer,p=E(5725);function R(D){var C=D._cipher.encryptBlockRaw(D._prev);return p(D._prev),C}ee.encrypt=function(D,C){var w=Math.ceil(C.length/16),T=D._cache.length;D._cache=S.concat([D._cache,S.allocUnsafe(16*w)]);for(var _=0;_{ee.encrypt=function(E,a){return E._cipher.encryptBlock(a)},ee.decrypt=function(E,a){return E._cipher.decryptBlock(a)}},503:(Ce,ee,E)=>{var a={ECB:E(7513),CBC:E(4133),CFB:E(7090),CFB8:E(2576),CFB1:E(1039),OFB:E(6854),CTR:E(336),GCM:E(336)},S=E(3219);for(var p in S)S[p].module=a[S[p].mode];Ce.exports=S},6854:(Ce,ee,E)=>{var a=E(3546);function S(p){return p._prev=p._cipher.encryptBlock(p._prev),p._prev}ee.encrypt=function(p,R){for(;p._cache.length{var a=E(2375),S=E(7054).Buffer,p=E(3247);function c(D,C,w,T){p.call(this),this._cipher=new a.AES(C),this._prev=S.from(w),this._cache=S.allocUnsafe(0),this._secCache=S.allocUnsafe(0),this._decrypt=T,this._mode=D}E(1993)(c,p),c.prototype._update=function(D){return this._mode.encrypt(this,D,this._decrypt)},c.prototype._final=function(){this._cipher.scrub()},Ce.exports=c},8862:(Ce,ee,E)=>{var a=E(9799),S=E(3388),p=E(503),R=E(9571),c=E(8211);function w(g,F,A){if(g=g.toLowerCase(),p[g])return S.createCipheriv(g,F,A);if(R[g])return new a({key:F,iv:A,mode:g});throw new TypeError("invalid suite type")}function T(g,F,A){if(g=g.toLowerCase(),p[g])return S.createDecipheriv(g,F,A);if(R[g])return new a({key:F,iv:A,mode:g,decrypt:!0});throw new TypeError("invalid suite type")}ee.createCipher=ee.Cipher=function D(g,F){var A,B;if(g=g.toLowerCase(),p[g])A=p[g].key,B=p[g].iv;else{if(!R[g])throw new TypeError("invalid suite type");A=8*R[g].key,B=R[g].iv}var P=c(F,!1,A,B);return w(g,P.key,P.iv)},ee.createCipheriv=ee.Cipheriv=w,ee.createDecipher=ee.Decipher=function C(g,F){var A,B;if(g=g.toLowerCase(),p[g])A=p[g].key,B=p[g].iv;else{if(!R[g])throw new TypeError("invalid suite type");A=8*R[g].key,B=R[g].iv}var P=c(F,!1,A,B);return T(g,P.key,P.iv)},ee.createDecipheriv=ee.Decipheriv=T,ee.listCiphers=ee.getCiphers=function _(){return Object.keys(R).concat(S.getCiphers())}},9799:(Ce,ee,E)=>{var a=E(3247),S=E(1549),p=E(1993),R=E(7054).Buffer,c={"des-ede3-cbc":S.CBC.instantiate(S.EDE),"des-ede3":S.EDE,"des-ede-cbc":S.CBC.instantiate(S.EDE),"des-ede":S.EDE,"des-cbc":S.CBC.instantiate(S.DES),"des-ecb":S.DES};function D(C){a.call(this);var _,w=C.mode.toLowerCase(),T=c[w];_=C.decrypt?"decrypt":"encrypt";var g=C.key;R.isBuffer(g)||(g=R.from(g)),("des-ede"===w||"des-ede-cbc"===w)&&(g=R.concat([g,g.slice(0,8)]));var F=C.iv;R.isBuffer(F)||(F=R.from(F)),this._des=T.create({key:g,iv:F,type:_})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],Ce.exports=D,p(D,a),D.prototype._update=function(C){return R.from(this._des.update(C))},D.prototype._final=function(){return R.from(this._des.final())}},9571:(Ce,ee)=>{ee["des-ecb"]={key:8,iv:0},ee["des-cbc"]=ee.des={key:8,iv:8},ee["des-ede3-cbc"]=ee.des3={key:24,iv:8},ee["des-ede3"]={key:24,iv:0},ee["des-ede-cbc"]={key:16,iv:8},ee["des-ede"]={key:16,iv:0}},4105:(Ce,ee,E)=>{var a=E(917),S=E(3342);function R(D){var w,C=D.modulus.byteLength();do{w=new a(S(C))}while(w.cmp(D.modulus)>=0||!w.umod(D.prime1)||!w.umod(D.prime2));return w}function c(D,C){var w=function p(D){var C=R(D);return{blinder:C.toRed(a.mont(D.modulus)).redPow(new a(D.publicExponent)).fromRed(),unblinder:C.invm(D.modulus)}}(C),T=C.modulus.byteLength(),_=new a(D).mul(w.blinder).umod(C.modulus),g=_.toRed(a.mont(C.prime1)),F=_.toRed(a.mont(C.prime2)),A=C.coefficient,B=C.prime1,P=C.prime2,$=g.redPow(C.exponent1).fromRed(),k=F.redPow(C.exponent2).fromRed(),M=$.isub(k).imul(A).umod(B).imul(P);return k.iadd(M).imul(w.unblinder).umod(C.modulus).toArrayLike(Buffer,"be",T)}c.getr=R,Ce.exports=c},9560:(Ce,ee,E)=>{"use strict";Ce.exports=E(2951)},9143:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7211),p=E(5942),R=E(1993),c=E(3150),D=E(4754),C=E(2951);function w(F){p.Writable.call(this);var A=C[F];if(!A)throw new Error("Unknown message digest");this._hashType=A.hash,this._hash=S(A.hash),this._tag=A.id,this._signType=A.sign}function T(F){p.Writable.call(this);var A=C[F];if(!A)throw new Error("Unknown message digest");this._hash=S(A.hash),this._tag=A.id,this._signType=A.sign}function _(F){return new w(F)}function g(F){return new T(F)}Object.keys(C).forEach(function(F){C[F].id=a.from(C[F].id,"hex"),C[F.toLowerCase()]=C[F]}),R(w,p.Writable),w.prototype._write=function(A,B,P){this._hash.update(A),P()},w.prototype.update=function(A,B){return this._hash.update("string"==typeof A?a.from(A,B):A),this},w.prototype.sign=function(A,B){this.end();var P=this._hash.digest(),$=c(P,A,this._hashType,this._signType,this._tag);return B?$.toString(B):$},R(T,p.Writable),T.prototype._write=function(A,B,P){this._hash.update(A),P()},T.prototype.update=function(A,B){return this._hash.update("string"==typeof A?a.from(A,B):A),this},T.prototype.verify=function(A,B,P){var $="string"==typeof B?a.from(B,P):B;this.end();var k=this._hash.digest();return D($,k,A,this._signType,this._tag)},Ce.exports={Sign:_,Verify:g,createSign:_,createVerify:g}},3150:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(6432),p=E(4105),R=E(518).ec,c=E(917),D=E(5667),C=E(4589);function A(M,O,U,j){if((M=a.from(M.toArray())).length0&&U.ishrn(j),U}function $(M,O,U){var j,W;do{for(j=a.alloc(0);8*j.length{"use strict";var a=E(7054).Buffer,S=E(917),p=E(518).ec,R=E(5667),c=E(4589);function T(_,g){if(_.cmpn(0)<=0)throw new Error("invalid sig");if(_.cmp(g)>=0)throw new Error("invalid sig")}Ce.exports=function D(_,g,F,A,B){var P=R(F);if("ec"===P.type){if("ecdsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");return function C(_,g,F){var A=c[F.data.algorithm.curve.join(".")];if(!A)throw new Error("unknown curve "+F.data.algorithm.curve.join("."));return new p(A).verify(g,_,F.data.subjectPrivateKey.data)}(_,g,P)}if("dsa"===P.type){if("dsa"!==A)throw new Error("wrong public key type");return function w(_,g,F){var A=F.data.p,B=F.data.q,P=F.data.g,$=F.data.pub_key,k=R.signature.decode(_,"der"),M=k.s,O=k.r;T(M,B),T(O,B);var U=S.mont(A),j=M.invm(B);return 0===P.toRed(U).redPow(new S(g).mul(j).mod(B)).fromRed().mul($.toRed(U).redPow(O.mul(j).mod(B)).fromRed()).mod(A).mod(B).cmp(O)}(_,g,P)}if("rsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");g=a.concat([B,g]);for(var $=P.modulus.byteLength(),k=[1],M=0;g.length+k.length+2<$;)k.push(255),M+=1;k.push(0);for(var O=-1;++O{Ce.exports=function(E,a){for(var S=Math.min(E.length,a.length),p=new Buffer(S),R=0;R{"use strict";var a=E(3981),S=E(2020),p="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;ee.Buffer=C,ee.SlowBuffer=function M(re){return+re!=re&&(re=0),C.alloc(+re)},ee.INSPECT_MAX_BYTES=50;var R=2147483647;function D(re){if(re>R)throw new RangeError('The value "'+re+'" is invalid for option "size"');var ne=new Uint8Array(re);return Object.setPrototypeOf(ne,C.prototype),ne}function C(re,ne,G){if("number"==typeof re){if("string"==typeof ne)throw new TypeError('The "string" argument must be of type string. Received type number');return g(re)}return w(re,ne,G)}function w(re,ne,G){if("string"==typeof re)return function F(re,ne){if(("string"!=typeof ne||""===ne)&&(ne="utf8"),!C.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);var G=0|O(re,ne),Ee=D(G),vt=Ee.write(re,ne);return vt!==G&&(Ee=Ee.slice(0,vt)),Ee}(re,ne);if(ArrayBuffer.isView(re))return function B(re){if(pe(re,Uint8Array)){var ne=new Uint8Array(re);return P(ne.buffer,ne.byteOffset,ne.byteLength)}return A(re)}(re);if(null==re)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re);if(pe(re,ArrayBuffer)||re&&pe(re.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(re,SharedArrayBuffer)||re&&pe(re.buffer,SharedArrayBuffer)))return P(re,ne,G);if("number"==typeof re)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ee=re.valueOf&&re.valueOf();if(null!=Ee&&Ee!==re)return C.from(Ee,ne,G);var vt=function $(re){if(C.isBuffer(re)){var ne=0|k(re.length),G=D(ne);return 0===G.length||re.copy(G,0,0,ne),G}return void 0!==re.length?"number"!=typeof re.length||Ie(re.length)?D(0):A(re):"Buffer"===re.type&&Array.isArray(re.data)?A(re.data):void 0}(re);if(vt)return vt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof re[Symbol.toPrimitive])return C.from(re[Symbol.toPrimitive]("string"),ne,G);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re)}function T(re){if("number"!=typeof re)throw new TypeError('"size" argument must be of type number');if(re<0)throw new RangeError('The value "'+re+'" is invalid for option "size"')}function g(re){return T(re),D(re<0?0:0|k(re))}function A(re){for(var ne=re.length<0?0:0|k(re.length),G=D(ne),Ee=0;Ee=R)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+R.toString(16)+" bytes");return 0|re}function O(re,ne){if(C.isBuffer(re))return re.length;if(ArrayBuffer.isView(re)||pe(re,ArrayBuffer))return re.byteLength;if("string"!=typeof re)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof re);var G=re.length,Ee=arguments.length>2&&!0===arguments[2];if(!Ee&&0===G)return 0;for(var vt=!1;;)switch(ne){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":return Ae(re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*G;case"hex":return G>>>1;case"base64":return tt(re).length;default:if(vt)return Ee?-1:Ae(re).length;ne=(""+ne).toLowerCase(),vt=!0}}function U(re,ne,G){var Ee=!1;if((void 0===ne||ne<0)&&(ne=0),ne>this.length||((void 0===G||G>this.length)&&(G=this.length),G<=0)||(G>>>=0)<=(ne>>>=0))return"";for(re||(re="utf8");;)switch(re){case"hex":return f(this,ne,G);case"utf8":case"utf-8":return u(this,ne,G);case"ascii":return v(this,ne,G);case"latin1":case"binary":return y(this,ne,G);case"base64":return o(this,ne,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,ne,G);default:if(Ee)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),Ee=!0}}function j(re,ne,G){var Ee=re[ne];re[ne]=re[G],re[G]=Ee}function W(re,ne,G,Ee,vt){if(0===re.length)return-1;if("string"==typeof G?(Ee=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),Ie(G=+G)&&(G=vt?0:re.length-1),G<0&&(G=re.length+G),G>=re.length){if(vt)return-1;G=re.length-1}else if(G<0){if(!vt)return-1;G=0}if("string"==typeof ne&&(ne=C.from(ne,Ee)),C.isBuffer(ne))return 0===ne.length?-1:ie(re,ne,G,Ee,vt);if("number"==typeof ne)return ne&=255,"function"==typeof Uint8Array.prototype.indexOf?vt?Uint8Array.prototype.indexOf.call(re,ne,G):Uint8Array.prototype.lastIndexOf.call(re,ne,G):ie(re,[ne],G,Ee,vt);throw new TypeError("val must be string, number or Buffer")}function ie(re,ne,G,Ee,vt){var ht,Qe=1,rt=re.length,nn=ne.length;if(void 0!==Ee&&("ucs2"===(Ee=String(Ee).toLowerCase())||"ucs-2"===Ee||"utf16le"===Ee||"utf-16le"===Ee)){if(re.length<2||ne.length<2)return-1;Qe=2,rt/=2,nn/=2,G/=2}function gt(En,It){return 1===Qe?En[It]:En.readUInt16BE(It*Qe)}if(vt){var on=-1;for(ht=G;htrt&&(G=rt-nn),ht=G;ht>=0;ht--){for(var Mt=!0,Pt=0;Ptvt&&(Ee=vt):Ee=vt;var Qe=ne.length;Ee>Qe/2&&(Ee=Qe/2);for(var rt=0;rt>8,Qe.push(G%256),Qe.push(Ee);return Qe}(ne,re.length-G),re,G,Ee)}function o(re,ne,G){return a.fromByteArray(0===ne&&G===re.length?re:re.slice(ne,G))}function u(re,ne,G){G=Math.min(re.length,G);for(var Ee=[],vt=ne;vt239?4:Qe>223?3:Qe>191?2:1;if(vt+nn<=G)switch(nn){case 1:Qe<128&&(rt=Qe);break;case 2:128==(192&(gt=re[vt+1]))&&(Mt=(31&Qe)<<6|63>)>127&&(rt=Mt);break;case 3:ht=re[vt+2],128==(192&(gt=re[vt+1]))&&128==(192&ht)&&(Mt=(15&Qe)<<12|(63>)<<6|63&ht)>2047&&(Mt<55296||Mt>57343)&&(rt=Mt);break;case 4:ht=re[vt+2],on=re[vt+3],128==(192&(gt=re[vt+1]))&&128==(192&ht)&&128==(192&on)&&(Mt=(15&Qe)<<18|(63>)<<12|(63&ht)<<6|63&on)>65535&&Mt<1114112&&(rt=Mt)}null===rt?(rt=65533,nn=1):rt>65535&&(Ee.push((rt-=65536)>>>10&1023|55296),rt=56320|1023&rt),Ee.push(rt),vt+=nn}return function h(re){var ne=re.length;if(ne<=s)return String.fromCharCode.apply(String,re);for(var G="",Ee=0;Eevt.length?C.from(rt).copy(vt,Qe):Uint8Array.prototype.set.call(vt,rt,Qe);else{if(!C.isBuffer(rt))throw new TypeError('"list" argument must be an Array of Buffers');rt.copy(vt,Qe)}Qe+=rt.length}return vt},C.byteLength=O,C.prototype._isBuffer=!0,C.prototype.swap16=function(){var ne=this.length;if(ne%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var G=0;GG&&(ne+=" ... "),""},p&&(C.prototype[p]=C.prototype.inspect),C.prototype.compare=function(ne,G,Ee,vt,Qe){if(pe(ne,Uint8Array)&&(ne=C.from(ne,ne.offset,ne.byteLength)),!C.isBuffer(ne))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ne);if(void 0===G&&(G=0),void 0===Ee&&(Ee=ne?ne.length:0),void 0===vt&&(vt=0),void 0===Qe&&(Qe=this.length),G<0||Ee>ne.length||vt<0||Qe>this.length)throw new RangeError("out of range index");if(vt>=Qe&&G>=Ee)return 0;if(vt>=Qe)return-1;if(G>=Ee)return 1;if(this===ne)return 0;for(var rt=(Qe>>>=0)-(vt>>>=0),nn=(Ee>>>=0)-(G>>>=0),gt=Math.min(rt,nn),ht=this.slice(vt,Qe),on=ne.slice(G,Ee),Mt=0;Mt>>=0,isFinite(Ee)?(Ee>>>=0,void 0===vt&&(vt="utf8")):(vt=Ee,Ee=void 0)}var Qe=this.length-G;if((void 0===Ee||Ee>Qe)&&(Ee=Qe),ne.length>0&&(Ee<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");vt||(vt="utf8");for(var rt=!1;;)switch(vt){case"hex":return me(this,ne,G,Ee);case"utf8":case"utf-8":return te(this,ne,G,Ee);case"ascii":case"latin1":case"binary":return se(this,ne,G,Ee);case"base64":return m(this,ne,G,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ne,G,Ee);default:if(rt)throw new TypeError("Unknown encoding: "+vt);vt=(""+vt).toLowerCase(),rt=!0}},C.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var s=4096;function v(re,ne,G){var Ee="";G=Math.min(re.length,G);for(var vt=ne;vtEe)&&(G=Ee);for(var vt="",Qe=ne;QeG)throw new RangeError("Trying to access beyond buffer length")}function L(re,ne,G,Ee,vt,Qe){if(!C.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(ne>vt||nere.length)throw new RangeError("Index out of range")}function I(re,ne,G,Ee,vt,Qe){if(G+Ee>re.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function V(re,ne,G,Ee,vt){return ne=+ne,G>>>=0,vt||I(re,0,G,4),S.write(re,ne,G,Ee,23,4),G+4}function q(re,ne,G,Ee,vt){return ne=+ne,G>>>=0,vt||I(re,0,G,8),S.write(re,ne,G,Ee,52,8),G+8}C.prototype.slice=function(ne,G){var Ee=this.length;(ne=~~ne)<0?(ne+=Ee)<0&&(ne=0):ne>Ee&&(ne=Ee),(G=void 0===G?Ee:~~G)<0?(G+=Ee)<0&&(G=0):G>Ee&&(G=Ee),G>>=0,G>>>=0,Ee||d(ne,G,this.length);for(var vt=this[ne],Qe=1,rt=0;++rt>>=0,G>>>=0,Ee||d(ne,G,this.length);for(var vt=this[ne+--G],Qe=1;G>0&&(Qe*=256);)vt+=this[ne+--G]*Qe;return vt},C.prototype.readUint8=C.prototype.readUInt8=function(ne,G){return ne>>>=0,G||d(ne,1,this.length),this[ne]},C.prototype.readUint16LE=C.prototype.readUInt16LE=function(ne,G){return ne>>>=0,G||d(ne,2,this.length),this[ne]|this[ne+1]<<8},C.prototype.readUint16BE=C.prototype.readUInt16BE=function(ne,G){return ne>>>=0,G||d(ne,2,this.length),this[ne]<<8|this[ne+1]},C.prototype.readUint32LE=C.prototype.readUInt32LE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),(this[ne]|this[ne+1]<<8|this[ne+2]<<16)+16777216*this[ne+3]},C.prototype.readUint32BE=C.prototype.readUInt32BE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),16777216*this[ne]+(this[ne+1]<<16|this[ne+2]<<8|this[ne+3])},C.prototype.readIntLE=function(ne,G,Ee){ne>>>=0,G>>>=0,Ee||d(ne,G,this.length);for(var vt=this[ne],Qe=1,rt=0;++rt=(Qe*=128)&&(vt-=Math.pow(2,8*G)),vt},C.prototype.readIntBE=function(ne,G,Ee){ne>>>=0,G>>>=0,Ee||d(ne,G,this.length);for(var vt=G,Qe=1,rt=this[ne+--vt];vt>0&&(Qe*=256);)rt+=this[ne+--vt]*Qe;return rt>=(Qe*=128)&&(rt-=Math.pow(2,8*G)),rt},C.prototype.readInt8=function(ne,G){return ne>>>=0,G||d(ne,1,this.length),128&this[ne]?-1*(255-this[ne]+1):this[ne]},C.prototype.readInt16LE=function(ne,G){ne>>>=0,G||d(ne,2,this.length);var Ee=this[ne]|this[ne+1]<<8;return 32768&Ee?4294901760|Ee:Ee},C.prototype.readInt16BE=function(ne,G){ne>>>=0,G||d(ne,2,this.length);var Ee=this[ne+1]|this[ne]<<8;return 32768&Ee?4294901760|Ee:Ee},C.prototype.readInt32LE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),this[ne]|this[ne+1]<<8|this[ne+2]<<16|this[ne+3]<<24},C.prototype.readInt32BE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),this[ne]<<24|this[ne+1]<<16|this[ne+2]<<8|this[ne+3]},C.prototype.readFloatLE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),S.read(this,ne,!0,23,4)},C.prototype.readFloatBE=function(ne,G){return ne>>>=0,G||d(ne,4,this.length),S.read(this,ne,!1,23,4)},C.prototype.readDoubleLE=function(ne,G){return ne>>>=0,G||d(ne,8,this.length),S.read(this,ne,!0,52,8)},C.prototype.readDoubleBE=function(ne,G){return ne>>>=0,G||d(ne,8,this.length),S.read(this,ne,!1,52,8)},C.prototype.writeUintLE=C.prototype.writeUIntLE=function(ne,G,Ee,vt){ne=+ne,G>>>=0,Ee>>>=0,vt||L(this,ne,G,Ee,Math.pow(2,8*Ee)-1,0);var rt=1,nn=0;for(this[G]=255≠++nn>>=0,Ee>>>=0,vt||L(this,ne,G,Ee,Math.pow(2,8*Ee)-1,0);var rt=Ee-1,nn=1;for(this[G+rt]=255≠--rt>=0&&(nn*=256);)this[G+rt]=ne/nn&255;return G+Ee},C.prototype.writeUint8=C.prototype.writeUInt8=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,1,255,0),this[G]=255&ne,G+1},C.prototype.writeUint16LE=C.prototype.writeUInt16LE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,2,65535,0),this[G]=255&ne,this[G+1]=ne>>>8,G+2},C.prototype.writeUint16BE=C.prototype.writeUInt16BE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,2,65535,0),this[G]=ne>>>8,this[G+1]=255&ne,G+2},C.prototype.writeUint32LE=C.prototype.writeUInt32LE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,4,4294967295,0),this[G+3]=ne>>>24,this[G+2]=ne>>>16,this[G+1]=ne>>>8,this[G]=255&ne,G+4},C.prototype.writeUint32BE=C.prototype.writeUInt32BE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,4,4294967295,0),this[G]=ne>>>24,this[G+1]=ne>>>16,this[G+2]=ne>>>8,this[G+3]=255&ne,G+4},C.prototype.writeIntLE=function(ne,G,Ee,vt){if(ne=+ne,G>>>=0,!vt){var Qe=Math.pow(2,8*Ee-1);L(this,ne,G,Ee,Qe-1,-Qe)}var rt=0,nn=1,gt=0;for(this[G]=255≠++rt>>=0,!vt){var Qe=Math.pow(2,8*Ee-1);L(this,ne,G,Ee,Qe-1,-Qe)}var rt=Ee-1,nn=1,gt=0;for(this[G+rt]=255≠--rt>=0&&(nn*=256);)ne<0&&0===gt&&0!==this[G+rt+1]&&(gt=1),this[G+rt]=(ne/nn|0)-gt&255;return G+Ee},C.prototype.writeInt8=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,1,127,-128),ne<0&&(ne=255+ne+1),this[G]=255&ne,G+1},C.prototype.writeInt16LE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,2,32767,-32768),this[G]=255&ne,this[G+1]=ne>>>8,G+2},C.prototype.writeInt16BE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,2,32767,-32768),this[G]=ne>>>8,this[G+1]=255&ne,G+2},C.prototype.writeInt32LE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,4,2147483647,-2147483648),this[G]=255&ne,this[G+1]=ne>>>8,this[G+2]=ne>>>16,this[G+3]=ne>>>24,G+4},C.prototype.writeInt32BE=function(ne,G,Ee){return ne=+ne,G>>>=0,Ee||L(this,ne,G,4,2147483647,-2147483648),ne<0&&(ne=4294967295+ne+1),this[G]=ne>>>24,this[G+1]=ne>>>16,this[G+2]=ne>>>8,this[G+3]=255&ne,G+4},C.prototype.writeFloatLE=function(ne,G,Ee){return V(this,ne,G,!0,Ee)},C.prototype.writeFloatBE=function(ne,G,Ee){return V(this,ne,G,!1,Ee)},C.prototype.writeDoubleLE=function(ne,G,Ee){return q(this,ne,G,!0,Ee)},C.prototype.writeDoubleBE=function(ne,G,Ee){return q(this,ne,G,!1,Ee)},C.prototype.copy=function(ne,G,Ee,vt){if(!C.isBuffer(ne))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),!vt&&0!==vt&&(vt=this.length),G>=ne.length&&(G=ne.length),G||(G=0),vt>0&&vt=this.length)throw new RangeError("Index out of range");if(vt<0)throw new RangeError("sourceEnd out of bounds");vt>this.length&&(vt=this.length),ne.length-G>>=0,Ee=void 0===Ee?this.length:Ee>>>0,ne||(ne=0),"number"==typeof ne)for(rt=G;rt55295&&G<57344){if(!vt){if(G>56319){(ne-=3)>-1&&Qe.push(239,191,189);continue}if(rt+1===Ee){(ne-=3)>-1&&Qe.push(239,191,189);continue}vt=G;continue}if(G<56320){(ne-=3)>-1&&Qe.push(239,191,189),vt=G;continue}G=65536+(vt-55296<<10|G-56320)}else vt&&(ne-=3)>-1&&Qe.push(239,191,189);if(vt=null,G<128){if((ne-=1)<0)break;Qe.push(G)}else if(G<2048){if((ne-=2)<0)break;Qe.push(G>>6|192,63&G|128)}else if(G<65536){if((ne-=3)<0)break;Qe.push(G>>12|224,G>>6&63|128,63&G|128)}else{if(!(G<1114112))throw new Error("Invalid code point");if((ne-=4)<0)break;Qe.push(G>>18|240,G>>12&63|128,G>>6&63|128,63&G|128)}}return Qe}function tt(re){return a.toByteArray(function ve(re){if((re=(re=re.split("=")[0]).trim().replace(oe,"")).length<2)return"";for(;re.length%4!=0;)re+="=";return re}(re))}function Oe(re,ne,G,Ee){for(var vt=0;vt=ne.length||vt>=re.length);++vt)ne[vt+G]=re[vt];return vt}function pe(re,ne){return re instanceof ne||null!=re&&null!=re.constructor&&null!=re.constructor.name&&re.constructor.name===ne.name}function Ie(re){return re!=re}var Se=function(){for(var re="0123456789abcdef",ne=new Array(256),G=0;G<16;++G)for(var Ee=16*G,vt=0;vt<16;++vt)ne[Ee+vt]=re[G]+re[vt];return ne}()},5293:(Ce,ee,E)=>{"use strict";E.d(ee,{R:()=>S});const S=(0,E(5083).F3)("VoiceRecorder",{web:()=>E.e(5120).then(E.bind(E,5120)).then(p=>new p.VoiceRecorderWeb)})},3247:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(7045).Transform,p=E(8454).I;function c(D){S.call(this),this.hashMode="string"==typeof D,this.hashMode?this[D]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}E(1993)(c,S),c.prototype.update=function(D,C,w){"string"==typeof D&&(D=a.from(D,C));var T=this._update(D);return this.hashMode?this:(w&&(T=this._toString(T,w)),T)},c.prototype.setAutoPadding=function(){},c.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},c.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},c.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},c.prototype._transform=function(D,C,w){var T;try{this.hashMode?this._update(D):this.push(this._update(D))}catch(_){T=_}finally{w(T)}},c.prototype._flush=function(D){var C;try{this.push(this.__final())}catch(w){C=w}D(C)},c.prototype._finalOrDigest=function(D){var C=this.__final()||a.alloc(0);return D&&(C=this._toString(C,D,!0)),C},c.prototype._toString=function(D,C,w){if(this._decoder||(this._decoder=new p(C),this._encoding=C),this._encoding!==C)throw new Error("can't switch encodings");var T=this._decoder.write(D);return w&&(T+=this._decoder.end()),T},Ce.exports=c},7637:(Ce,ee,E)=>{function P($){return Object.prototype.toString.call($)}ee.isArray=function a($){return Array.isArray?Array.isArray($):"[object Array]"===P($)},ee.isBoolean=function S($){return"boolean"==typeof $},ee.isNull=function p($){return null===$},ee.isNullOrUndefined=function R($){return null==$},ee.isNumber=function c($){return"number"==typeof $},ee.isString=function D($){return"string"==typeof $},ee.isSymbol=function C($){return"symbol"==typeof $},ee.isUndefined=function w($){return void 0===$},ee.isRegExp=function T($){return"[object RegExp]"===P($)},ee.isObject=function _($){return"object"==typeof $&&null!==$},ee.isDate=function g($){return"[object Date]"===P($)},ee.isError=function F($){return"[object Error]"===P($)||$ instanceof Error},ee.isFunction=function A($){return"function"==typeof $},ee.isPrimitive=function B($){return null===$||"boolean"==typeof $||"number"==typeof $||"string"==typeof $||"symbol"==typeof $||typeof $>"u"},ee.isBuffer=E(3838).Buffer.isBuffer},7303:(Ce,ee,E)=>{var a=E(518),S=E(9606);Ce.exports=function(C){return new R(C)};var p={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function R(D){this.curveType=p[D],this.curveType||(this.curveType={name:D}),this.curve=new a.ec(this.curveType.name),this.keys=void 0}function c(D,C,w){Array.isArray(D)||(D=D.toArray());var T=new Buffer(D);if(w&&T.length=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,dt=Cn>>>13,Sn=0|h[2],kt=8191&Sn,Nt=Sn>>>13,Un=0|h[3],Ut=8191&Un,Ve=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],$e=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ue=Pe>>>13,Ct=0|h[7],Je=8191&Ct,at=Ct>>>13,Jt=0|h[8],yt=8191&Jt,mt=Jt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var Fn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var An=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,dt)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,dt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,dt)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,dt)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,dt)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,dt)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,dt)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,dt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Ut)|0,r=(r=r+Math.imul(oe,Ve)|0)+Math.imul(ve,Ut)|0,d=d+Math.imul(ve,Ve)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,dt)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,dt)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,$e)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,dt)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,dt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,Ve)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,$e)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,$e)|0,d=d+Math.imul(ve,it)|0;var Pn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ue)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ue)|0)+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,dt)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,dt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(re,Ut)|0,d=d+Math.imul(re,Ve)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,$e)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,$e)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,Ue)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,Ue)|0;var Ln=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,at)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,at)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,dt)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,dt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,$e)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ue)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ue)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,at)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,at)|0;var Kn=(y+(f=f+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,yt)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,dt)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,dt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,$e)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,$e)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,Ue)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ue)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,at)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,at)|0,f=f+Math.imul(oe,yt)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,yt)|0,d=d+Math.imul(ve,mt)|0;var Gn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,dt))+Math.imul(Ft,St)|0,d=Math.imul(Ft,dt),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ht,Ut)|0,d=d+Math.imul(ht,Ve)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,$e)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,$e)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ue)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,Ue)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,at)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,at)|0,f=f+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,yt)|0,d=d+Math.imul(ae,mt)|0;var $n=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Ut)|0,r=(r=r+Math.imul(Mt,Ve)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,$e)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,$e)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ue)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ue)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,at)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,at)|0,f=f+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,yt)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(It,Ut),r=(r=Math.imul(It,Ve))+Math.imul(Ft,Ut)|0,d=Math.imul(Ft,Ve),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,$e)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,$e)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ue)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ue)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,at)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,at)|0,f=f+Math.imul(Se,yt)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,yt)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,$e)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,$e)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ue)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,Ue)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,at)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,at)|0,f=f+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,yt)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,$e),r=(r=Math.imul(It,it))+Math.imul(Ft,$e)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,Ue)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ue)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,at)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,at)|0,f=f+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,yt)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,Ue))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,Ue),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,at)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,at)|0,f=f+Math.imul(gt,yt)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,yt)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,at))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,at),f=f+Math.imul(Mt,yt)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,yt)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,yt),r=(r=Math.imul(It,mt))+Math.imul(Ft,yt)|0,d=Math.imul(Ft,mt);var qt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=Fn,v[1]=An,v[2]=wn,v[3]=bn,v[4]=Wn,v[5]=Vn,v[6]=Pn,v[7]=Ln,v[8]=Kn,v[9]=Gn,v[10]=$n,v[11]=je,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=qt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},7211:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(4725),p=E(6636),R=E(5443),c=E(3247);function D(C){c.call(this,"digest"),this._hash=C}a(D,c),D.prototype._update=function(C){this._hash.update(C)},D.prototype._final=function(){return this._hash.digest()},Ce.exports=function(w){return"md5"===(w=w.toLowerCase())?new S:"rmd160"===w||"ripemd160"===w?new p:new D(R(w))}},3407:(Ce,ee,E)=>{var a=E(4725);Ce.exports=function(S){return(new a).update(S).digest()}},6432:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(509),p=E(3247),R=E(7054).Buffer,c=E(3407),D=E(6636),C=E(5443),w=R.alloc(128);function T(_,g){p.call(this,"digest"),"string"==typeof g&&(g=R.from(g));var F="sha512"===_||"sha384"===_?128:64;this._alg=_,this._key=g,g.length>F?g=("rmd160"===_?new D:C(_)).update(g).digest():g.length{"use strict";var a=E(1993),S=E(7054).Buffer,p=E(3247),R=S.alloc(128),c=64;function D(C,w){p.call(this,"digest"),"string"==typeof w&&(w=S.from(w)),this._alg=C,this._key=w,w.length>c?w=C(w):w.length{"use strict";ee.randomBytes=ee.rng=ee.pseudoRandomBytes=ee.prng=E(3342),ee.createHash=ee.Hash=E(7211),ee.createHmac=ee.Hmac=E(6432);var a=E(9560),S=Object.keys(a),p=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(S);ee.getHashes=function(){return p};var R=E(3397);ee.pbkdf2=R.pbkdf2,ee.pbkdf2Sync=R.pbkdf2Sync;var c=E(8862);ee.Cipher=c.Cipher,ee.createCipher=c.createCipher,ee.Cipheriv=c.Cipheriv,ee.createCipheriv=c.createCipheriv,ee.Decipher=c.Decipher,ee.createDecipher=c.createDecipher,ee.Decipheriv=c.Decipheriv,ee.createDecipheriv=c.createDecipheriv,ee.getCiphers=c.getCiphers,ee.listCiphers=c.listCiphers;var D=E(4377);ee.DiffieHellmanGroup=D.DiffieHellmanGroup,ee.createDiffieHellmanGroup=D.createDiffieHellmanGroup,ee.getDiffieHellman=D.getDiffieHellman,ee.createDiffieHellman=D.createDiffieHellman,ee.DiffieHellman=D.DiffieHellman;var C=E(9143);ee.createSign=C.createSign,ee.Sign=C.Sign,ee.createVerify=C.createVerify,ee.Verify=C.Verify,ee.createECDH=E(7303);var w=E(2965);ee.publicEncrypt=w.publicEncrypt,ee.privateEncrypt=w.privateEncrypt,ee.publicDecrypt=w.publicDecrypt,ee.privateDecrypt=w.privateDecrypt;var T=E(9682);ee.randomFill=T.randomFill,ee.randomFillSync=T.randomFillSync,ee.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},ee.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},7656:function(Ce,ee,E){var a;Ce.exports=(a=a||function(S,p){var R;if(typeof window<"u"&&window.crypto&&(R=window.crypto),typeof self<"u"&&self.crypto&&(R=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(R=globalThis.crypto),!R&&typeof window<"u"&&window.msCrypto&&(R=window.msCrypto),!R&&typeof global<"u"&&global.crypto&&(R=global.crypto),!R)try{R=E(1426)}catch{}var c=function(){if(R){if("function"==typeof R.getRandomValues)try{return R.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof R.randomBytes)try{return R.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},D=Object.create||function(){function M(){}return function(O){var U;return M.prototype=O,U=new M,M.prototype=null,U}}(),C={},w=C.lib={},T=w.Base=function(){return{extend:function(M){var O=D(this);return M&&O.mixIn(M),(!O.hasOwnProperty("init")||this.init===O.init)&&(O.init=function(){O.$super.init.apply(this,arguments)}),O.init.prototype=O,O.$super=this,O},create:function(){var M=this.extend();return M.init.apply(M,arguments),M},init:function(){},mixIn:function(M){for(var O in M)M.hasOwnProperty(O)&&(this[O]=M[O]);M.hasOwnProperty("toString")&&(this.toString=M.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),_=w.WordArray=T.extend({init:function(M,O){M=this.words=M||[],this.sigBytes=null!=O?O:4*M.length},toString:function(M){return(M||F).stringify(this)},concat:function(M){var O=this.words,U=M.words,j=this.sigBytes,W=M.sigBytes;if(this.clamp(),j%4)for(var ie=0;ie>>2]|=(U[ie>>>2]>>>24-ie%4*8&255)<<24-(j+ie)%4*8;else for(var te=0;te>>2]=U[te>>>2];return this.sigBytes+=W,this},clamp:function(){var M=this.words,O=this.sigBytes;M[O>>>2]&=4294967295<<32-O%4*8,M.length=S.ceil(O/4)},clone:function(){var M=T.clone.call(this);return M.words=this.words.slice(0),M},random:function(M){for(var O=[],U=0;U>>2]>>>24-W%4*8&255;j.push((ie>>>4).toString(16)),j.push((15&ie).toString(16))}return j.join("")},parse:function(M){for(var O=M.length,U=[],j=0;j>>3]|=parseInt(M.substr(j,2),16)<<24-j%8*4;return new _.init(U,O/2)}},A=g.Latin1={stringify:function(M){for(var O=M.words,U=M.sigBytes,j=[],W=0;W>>2]>>>24-W%4*8&255));return j.join("")},parse:function(M){for(var O=M.length,U=[],j=0;j>>2]|=(255&M.charCodeAt(j))<<24-j%4*8;return new _.init(U,O)}},B=g.Utf8={stringify:function(M){try{return decodeURIComponent(escape(A.stringify(M)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(M){return A.parse(unescape(encodeURIComponent(M)))}},P=w.BufferedBlockAlgorithm=T.extend({reset:function(){this._data=new _.init,this._nDataBytes=0},_append:function(M){"string"==typeof M&&(M=B.parse(M)),this._data.concat(M),this._nDataBytes+=M.sigBytes},_process:function(M){var O,U=this._data,j=U.words,W=U.sigBytes,ie=this.blockSize,te=W/(4*ie),se=(te=M?S.ceil(te):S.max((0|te)-this._minBufferSize,0))*ie,m=S.min(4*se,W);if(se){for(var n=0;n>>24)|4278255360&(M<<24|M>>>8)}var O=this._hash.words,U=B[P+0],j=B[P+1],W=B[P+2],ie=B[P+3],me=B[P+4],te=B[P+5],se=B[P+6],m=B[P+7],n=B[P+8],o=B[P+9],u=B[P+10],s=B[P+11],h=B[P+12],v=B[P+13],y=B[P+14],f=B[P+15],r=O[0],d=O[1],L=O[2],I=O[3];r=_(r,d,L,I,U,7,w[0]),I=_(I,r,d,L,j,12,w[1]),L=_(L,I,r,d,W,17,w[2]),d=_(d,L,I,r,ie,22,w[3]),r=_(r,d,L,I,me,7,w[4]),I=_(I,r,d,L,te,12,w[5]),L=_(L,I,r,d,se,17,w[6]),d=_(d,L,I,r,m,22,w[7]),r=_(r,d,L,I,n,7,w[8]),I=_(I,r,d,L,o,12,w[9]),L=_(L,I,r,d,u,17,w[10]),d=_(d,L,I,r,s,22,w[11]),r=_(r,d,L,I,h,7,w[12]),I=_(I,r,d,L,v,12,w[13]),L=_(L,I,r,d,y,17,w[14]),r=g(r,d=_(d,L,I,r,f,22,w[15]),L,I,j,5,w[16]),I=g(I,r,d,L,se,9,w[17]),L=g(L,I,r,d,s,14,w[18]),d=g(d,L,I,r,U,20,w[19]),r=g(r,d,L,I,te,5,w[20]),I=g(I,r,d,L,u,9,w[21]),L=g(L,I,r,d,f,14,w[22]),d=g(d,L,I,r,me,20,w[23]),r=g(r,d,L,I,o,5,w[24]),I=g(I,r,d,L,y,9,w[25]),L=g(L,I,r,d,ie,14,w[26]),d=g(d,L,I,r,n,20,w[27]),r=g(r,d,L,I,v,5,w[28]),I=g(I,r,d,L,W,9,w[29]),L=g(L,I,r,d,m,14,w[30]),r=F(r,d=g(d,L,I,r,h,20,w[31]),L,I,te,4,w[32]),I=F(I,r,d,L,n,11,w[33]),L=F(L,I,r,d,s,16,w[34]),d=F(d,L,I,r,y,23,w[35]),r=F(r,d,L,I,j,4,w[36]),I=F(I,r,d,L,me,11,w[37]),L=F(L,I,r,d,m,16,w[38]),d=F(d,L,I,r,u,23,w[39]),r=F(r,d,L,I,v,4,w[40]),I=F(I,r,d,L,U,11,w[41]),L=F(L,I,r,d,ie,16,w[42]),d=F(d,L,I,r,se,23,w[43]),r=F(r,d,L,I,o,4,w[44]),I=F(I,r,d,L,h,11,w[45]),L=F(L,I,r,d,f,16,w[46]),r=A(r,d=F(d,L,I,r,W,23,w[47]),L,I,U,6,w[48]),I=A(I,r,d,L,m,10,w[49]),L=A(L,I,r,d,y,15,w[50]),d=A(d,L,I,r,te,21,w[51]),r=A(r,d,L,I,h,6,w[52]),I=A(I,r,d,L,ie,10,w[53]),L=A(L,I,r,d,u,15,w[54]),d=A(d,L,I,r,j,21,w[55]),r=A(r,d,L,I,n,6,w[56]),I=A(I,r,d,L,f,10,w[57]),L=A(L,I,r,d,se,15,w[58]),d=A(d,L,I,r,v,21,w[59]),r=A(r,d,L,I,me,6,w[60]),I=A(I,r,d,L,s,10,w[61]),L=A(L,I,r,d,W,15,w[62]),d=A(d,L,I,r,o,21,w[63]),O[0]=O[0]+r|0,O[1]=O[1]+d|0,O[2]=O[2]+L|0,O[3]=O[3]+I|0},_doFinalize:function(){var B=this._data,P=B.words,$=8*this._nDataBytes,k=8*B.sigBytes;P[k>>>5]|=128<<24-k%32;var M=S.floor($/4294967296),O=$;P[15+(k+64>>>9<<4)]=16711935&(M<<8|M>>>24)|4278255360&(M<<24|M>>>8),P[14+(k+64>>>9<<4)]=16711935&(O<<8|O>>>24)|4278255360&(O<<24|O>>>8),B.sigBytes=4*(P.length+1),this._process();for(var U=this._hash,j=U.words,W=0;W<4;W++){var ie=j[W];j[W]=16711935&(ie<<8|ie>>>24)|4278255360&(ie<<24|ie>>>8)}return U},clone:function(){var B=D.clone.call(this);return B._hash=this._hash.clone(),B}});function _(B,P,$,k,M,O,U){var j=B+(P&$|~P&k)+M+U;return(j<>>32-O)+P}function g(B,P,$,k,M,O,U){var j=B+(P&k|$&~k)+M+U;return(j<>>32-O)+P}function F(B,P,$,k,M,O,U){var j=B+(P^$^k)+M+U;return(j<>>32-O)+P}function A(B,P,$,k,M,O,U){var j=B+($^(P|~k))+M+U;return(j<>>32-O)+P}p.MD5=D._createHelper(T),p.HmacMD5=D._createHmacHelper(T)}(Math),a.MD5)},9986:function(Ce,ee,E){var S,p,R,c,C,w,a;Ce.exports=(a=E(7656),R=(p=(S=a).lib).WordArray,C=[],w=S.algo.SHA1=(c=p.Hasher).extend({_doReset:function(){this._hash=new R.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,_){for(var g=this._hash.words,F=g[0],A=g[1],B=g[2],P=g[3],$=g[4],k=0;k<80;k++){if(k<16)C[k]=0|T[_+k];else{var M=C[k-3]^C[k-8]^C[k-14]^C[k-16];C[k]=M<<1|M>>>31}var O=(F<<5|F>>>27)+$+C[k];O+=k<20?1518500249+(A&B|~A&P):k<40?1859775393+(A^B^P):k<60?(A&B|A&P|B&P)-1894007588:(A^B^P)-899497514,$=P,P=B,B=A<<30|A>>>2,A=F,F=O}g[0]=g[0]+F|0,g[1]=g[1]+A|0,g[2]=g[2]+B|0,g[3]=g[3]+P|0,g[4]=g[4]+$|0},_doFinalize:function(){var T=this._data,_=T.words,g=8*this._nDataBytes,F=8*T.sigBytes;return _[F>>>5]|=128<<24-F%32,_[14+(F+64>>>9<<4)]=Math.floor(g/4294967296),_[15+(F+64>>>9<<4)]=g,T.sigBytes=4*_.length,this._process(),this._hash},clone:function(){var T=c.clone.call(this);return T._hash=this._hash.clone(),T}}),S.SHA1=c._createHelper(w),S.HmacSHA1=c._createHmacHelper(w),a.SHA1)},7374:function(Ce){Ce.exports=function(){"use strict";var E=6e4,a=36e5,S="millisecond",p="second",R="minute",c="hour",D="day",C="week",w="month",T="quarter",_="year",g="date",F="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,B=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,P={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var n=["th","st","nd","rd"],o=m%100;return"["+m+(n[(o-20)%10]||n[o]||n[0])+"]"}},$=function(m,n,o){var u=String(m);return!u||u.length>=n?m:""+Array(n+1-u.length).join(o)+m},k={s:$,z:function(m){var n=-m.utcOffset(),o=Math.abs(n),u=Math.floor(o/60),s=o%60;return(n<=0?"+":"-")+$(u,2,"0")+":"+$(s,2,"0")},m:function m(n,o){if(n.date()1)return m(v[0])}else{var y=n.name;O[y]=n,s=y}return!u&&s&&(M=s),s||!u&&M},ie=function(m,n){if(j(m))return m.clone();var o="object"==typeof n?n:{};return o.date=m,o.args=arguments,new te(o)},me=k;me.l=W,me.i=j,me.w=function(m,n){return ie(m,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var te=function(){function m(o){this.$L=W(o.locale,null,!0),this.parse(o),this.$x=this.$x||o.x||{},this[U]=!0}var n=m.prototype;return n.parse=function(o){this.$d=function(u){var s=u.date,h=u.utc;if(null===s)return new Date(NaN);if(me.u(s))return new Date;if(s instanceof Date)return new Date(s);if("string"==typeof s&&!/Z$/i.test(s)){var v=s.match(A);if(v){var y=v[2]-1||0,f=(v[7]||"0").substring(0,3);return h?new Date(Date.UTC(v[1],y,v[3]||1,v[4]||0,v[5]||0,v[6]||0,f)):new Date(v[1],y,v[3]||1,v[4]||0,v[5]||0,v[6]||0,f)}}return new Date(s)}(o),this.init()},n.init=function(){var o=this.$d;this.$y=o.getFullYear(),this.$M=o.getMonth(),this.$D=o.getDate(),this.$W=o.getDay(),this.$H=o.getHours(),this.$m=o.getMinutes(),this.$s=o.getSeconds(),this.$ms=o.getMilliseconds()},n.$utils=function(){return me},n.isValid=function(){return this.$d.toString()!==F},n.isSame=function(o,u){var s=ie(o);return this.startOf(u)<=s&&s<=this.endOf(u)},n.isAfter=function(o,u){return ie(o){"use strict";ee.utils=E(5671),ee.Cipher=E(219),ee.DES=E(4166),ee.CBC=E(8800),ee.EDE=E(2122)},8800:(Ce,ee,E)=>{"use strict";var a=E(9210),S=E(1993),p={};function R(D){a.equal(D.length,8,"Invalid IV length"),this.iv=new Array(8);for(var C=0;C{"use strict";var a=E(9210);function S(p){this.options=p,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==p.padding}Ce.exports=S,S.prototype._init=function(){},S.prototype.update=function(R){return 0===R.length?[]:"decrypt"===this.type?this._updateDecrypt(R):this._updateEncrypt(R)},S.prototype._buffer=function(R,c){for(var D=Math.min(this.buffer.length-this.bufferOff,R.length-c),C=0;C0;C--)c+=this._buffer(R,c),D+=this._flushBuffer(w,D);return c+=this._buffer(R,c),w},S.prototype.final=function(R){var c,D;return R&&(c=this.update(R)),D="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),c?c.concat(D):D},S.prototype._pad=function(R,c){if(0===c)return!1;for(;c{"use strict";var a=E(9210),S=E(1993),p=E(5671),R=E(219);function c(){this.tmp=new Array(2),this.keys=null}function D(w){R.call(this,w);var T=new c;this._desState=T,this.deriveKeys(T,w.key)}S(D,R),Ce.exports=D,D.create=function(T){return new D(T)};var C=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];D.prototype.deriveKeys=function(T,_){T.keys=new Array(32),a.equal(_.length,this.blockSize,"Invalid key length");var g=p.readUInt32BE(_,0),F=p.readUInt32BE(_,4);p.pc1(g,F,T.tmp,0),g=T.tmp[0],F=T.tmp[1];for(var A=0;A>>1];g=p.r28shl(g,B),F=p.r28shl(F,B),p.pc2(g,F,T.keys,A)}},D.prototype._update=function(T,_,g,F){var A=this._desState,B=p.readUInt32BE(T,_),P=p.readUInt32BE(T,_+4);p.ip(B,P,A.tmp,0),B=A.tmp[0],P=A.tmp[1],"encrypt"===this.type?this._encrypt(A,B,P,A.tmp,0):this._decrypt(A,B,P,A.tmp,0),P=A.tmp[1],p.writeUInt32BE(g,B=A.tmp[0],F),p.writeUInt32BE(g,P,F+4)},D.prototype._pad=function(T,_){if(!1===this.padding)return!1;for(var g=T.length-_,F=_;F>>0,B=j}p.rip(P,B,F,A)},D.prototype._decrypt=function(T,_,g,F,A){for(var B=g,P=_,$=T.keys.length-2;$>=0;$-=2){var k=T.keys[$],M=T.keys[$+1];p.expand(B,T.tmp,0);var O=p.substitute(k^=T.tmp[0],M^=T.tmp[1]),j=B;B=(P^p.permute(O))>>>0,P=j}p.rip(B,P,F,A)}},2122:(Ce,ee,E)=>{"use strict";var a=E(9210),S=E(1993),p=E(219),R=E(4166);function c(C,w){a.equal(w.length,24,"Invalid key length");var T=w.slice(0,8),_=w.slice(8,16),g=w.slice(16,24);this.ciphers="encrypt"===C?[R.create({type:"encrypt",key:T}),R.create({type:"decrypt",key:_}),R.create({type:"encrypt",key:g})]:[R.create({type:"decrypt",key:g}),R.create({type:"encrypt",key:_}),R.create({type:"decrypt",key:T})]}function D(C){p.call(this,C);var w=new c(this.type,this.options.key);this._edeState=w}S(D,p),Ce.exports=D,D.create=function(w){return new D(w)},D.prototype._update=function(w,T,_,g){var F=this._edeState;F.ciphers[0]._update(w,T,_,g),F.ciphers[1]._update(_,g,_,g),F.ciphers[2]._update(_,g,_,g)},D.prototype._pad=R.prototype._pad,D.prototype._unpad=R.prototype._unpad},5671:(Ce,ee)=>{"use strict";ee.readUInt32BE=function(R,c){return(R[0+c]<<24|R[1+c]<<16|R[2+c]<<8|R[3+c])>>>0},ee.writeUInt32BE=function(R,c,D){R[0+D]=c>>>24,R[1+D]=c>>>16&255,R[2+D]=c>>>8&255,R[3+D]=255&c},ee.ip=function(R,c,D,C){for(var w=0,T=0,_=6;_>=0;_-=2){for(var g=0;g<=24;g+=8)w<<=1,w|=c>>>g+_&1;for(g=0;g<=24;g+=8)w<<=1,w|=R>>>g+_&1}for(_=6;_>=0;_-=2){for(g=1;g<=25;g+=8)T<<=1,T|=c>>>g+_&1;for(g=1;g<=25;g+=8)T<<=1,T|=R>>>g+_&1}D[C+0]=w>>>0,D[C+1]=T>>>0},ee.rip=function(R,c,D,C){for(var w=0,T=0,_=0;_<4;_++)for(var g=24;g>=0;g-=8)w<<=1,w|=c>>>g+_&1,w<<=1,w|=R>>>g+_&1;for(_=4;_<8;_++)for(g=24;g>=0;g-=8)T<<=1,T|=c>>>g+_&1,T<<=1,T|=R>>>g+_&1;D[C+0]=w>>>0,D[C+1]=T>>>0},ee.pc1=function(R,c,D,C){for(var w=0,T=0,_=7;_>=5;_--){for(var g=0;g<=24;g+=8)w<<=1,w|=c>>g+_&1;for(g=0;g<=24;g+=8)w<<=1,w|=R>>g+_&1}for(g=0;g<=24;g+=8)w<<=1,w|=c>>g+_&1;for(_=1;_<=3;_++){for(g=0;g<=24;g+=8)T<<=1,T|=c>>g+_&1;for(g=0;g<=24;g+=8)T<<=1,T|=R>>g+_&1}for(g=0;g<=24;g+=8)T<<=1,T|=R>>g+_&1;D[C+0]=w>>>0,D[C+1]=T>>>0},ee.r28shl=function(R,c){return R<>>28-c};var E=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];ee.pc2=function(R,c,D,C){for(var w=0,T=0,_=E.length>>>1,g=0;g<_;g++)w<<=1,w|=R>>>E[g]&1;for(g=_;g>>E[g]&1;D[C+0]=w>>>0,D[C+1]=T>>>0},ee.expand=function(R,c,D){var C=0,w=0;C=(1&R)<<5|R>>>27;for(var T=23;T>=15;T-=4)C<<=6,C|=R>>>T&63;for(T=11;T>=3;T-=4)w|=R>>>T&63,w<<=6;w|=(31&R)<<1|R>>>31,c[D+0]=C>>>0,c[D+1]=w>>>0};var a=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];ee.substitute=function(R,c){for(var D=0,C=0;C<4;C++)D<<=4,D|=a[64*C+(R>>>18-6*C&63)];for(C=0;C<4;C++)D<<=4,D|=a[256+64*C+(c>>>18-6*C&63)];return D>>>0};var S=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];ee.permute=function(R){for(var c=0,D=0;D>>S[D]&1;return c>>>0},ee.padSplit=function(R,c,D){for(var C=R.toString(2);C.length{var a=E(2727),S=E(3241),p=E(4593),c={binary:!0,hex:!0,base64:!0};ee.DiffieHellmanGroup=ee.createDiffieHellmanGroup=ee.getDiffieHellman=function R(C){var w=new Buffer(S[C].prime,"hex"),T=new Buffer(S[C].gen,"hex");return new p(w,T)},ee.createDiffieHellman=ee.DiffieHellman=function D(C,w,T,_){return Buffer.isBuffer(w)||void 0===c[w]?D(C,"binary",w,T):(w=w||"binary",_=_||"binary",T=T||new Buffer([2]),Buffer.isBuffer(T)||(T=new Buffer(T,_)),"number"==typeof C?new p(a(C,T),T,!0):(Buffer.isBuffer(C)||(C=new Buffer(C,w)),new p(C,T,!0)))}},4593:(Ce,ee,E)=>{var a=E(8280),p=new(E(3459)),R=new a(24),c=new a(11),D=new a(10),C=new a(3),w=new a(7),T=E(2727),_=E(3342);function g(k,M){return M=M||"utf8",Buffer.isBuffer(k)||(k=new Buffer(k,M)),this._pub=new a(k),this}function F(k,M){return M=M||"utf8",Buffer.isBuffer(k)||(k=new Buffer(k,M)),this._priv=new a(k),this}Ce.exports=P;var A={};function P(k,M,O){this.setGenerator(M),this.__prime=new a(k),this._prime=a.mont(this.__prime),this._primeLen=k.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,O?(this.setPublicKey=g,this.setPrivateKey=F):this._primeCode=8}function $(k,M){var O=new Buffer(k.toArray());return M?O.toString(M):O}Object.defineProperty(P.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function B(k,M){var O=M.toString("hex"),U=[O,k.toString(16)].join("_");if(U in A)return A[U];var W,j=0;if(k.isEven()||!T.simpleSieve||!T.fermatTest(k)||!p.test(k))return j+=1,A[U]=j+="02"===O||"05"===O?8:4,j;switch(p.test(k.shrn(1))||(j+=2),O){case"02":k.mod(R).cmp(c)&&(j+=8);break;case"05":(W=k.mod(D)).cmp(C)&&W.cmp(w)&&(j+=8);break;default:j+=4}return A[U]=j,j}(this.__prime,this.__gen)),this._primeCode}}),P.prototype.generateKeys=function(){return this._priv||(this._priv=new a(_(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},P.prototype.computeSecret=function(k){var M=(k=(k=new a(k)).toRed(this._prime)).redPow(this._priv).fromRed(),O=new Buffer(M.toArray()),U=this.getPrime();if(O.length{var a=E(3342);Ce.exports=j,j.simpleSieve=O,j.fermatTest=U;var S=E(8280),p=new S(24),c=new(E(3459)),D=new S(1),C=new S(2),w=new S(5),g=(new S(16),new S(8),new S(10)),F=new S(3),B=(new S(7),new S(11)),P=new S(4),k=(new S(12),null);function O(W){for(var ie=function M(){if(null!==k)return k;var ie=[];ie[0]=2;for(var me=1,te=3;te<1048576;te+=2){for(var se=Math.ceil(Math.sqrt(te)),m=0;mW;)me.ishrn(1);if(me.isEven()&&me.iadd(D),me.testn(1)||me.iadd(C),ie.cmp(C)){if(!ie.cmp(w))for(;me.mod(g).cmp(F);)me.iadd(P)}else for(;me.mod(p).cmp(B);)me.iadd(P);if(O(te=me.shrn(1))&&O(me)&&U(te)&&U(me)&&c.test(te)&&c.test(me))return me}}},8280:function(Ce,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function R(m,n){m.super_=n;var o=function(){};o.prototype=n.prototype,m.prototype=new o,m.prototype.constructor=m}function c(m,n,o){if(c.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,null!==m&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(m||0,n||10,o||"be"))}var D;"object"==typeof a?a.exports=c:S.BN=c,c.BN=c,c.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:E(6089).Buffer}catch{}function C(m,n){var o=m.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,dt=Cn>>>13,Sn=0|h[2],kt=8191&Sn,Nt=Sn>>>13,Un=0|h[3],Ut=8191&Un,Ve=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],$e=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ue=Pe>>>13,Ct=0|h[7],Je=8191&Ct,at=Ct>>>13,Jt=0|h[8],yt=8191&Jt,mt=Jt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var Fn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var An=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,dt)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,dt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,dt)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,dt)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,dt)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,dt)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,dt)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,dt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Ut)|0,r=(r=r+Math.imul(oe,Ve)|0)+Math.imul(ve,Ut)|0,d=d+Math.imul(ve,Ve)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,dt)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,dt)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,$e)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,dt)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,dt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,Ve)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,$e)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,$e)|0,d=d+Math.imul(ve,it)|0;var Pn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ue)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ue)|0)+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,dt)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,dt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(re,Ut)|0,d=d+Math.imul(re,Ve)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,$e)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,$e)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,Ue)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,Ue)|0;var Ln=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,at)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,at)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,dt)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,dt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,$e)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ue)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ue)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,at)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,at)|0;var Kn=(y+(f=f+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,yt)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,dt)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,dt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,$e)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,$e)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,Ue)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ue)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,at)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,at)|0,f=f+Math.imul(oe,yt)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,yt)|0,d=d+Math.imul(ve,mt)|0;var Gn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,dt))+Math.imul(Ft,St)|0,d=Math.imul(Ft,dt),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ht,Ut)|0,d=d+Math.imul(ht,Ve)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,$e)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,$e)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ue)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,Ue)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,at)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,at)|0,f=f+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,yt)|0,d=d+Math.imul(ae,mt)|0;var $n=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Ut)|0,r=(r=r+Math.imul(Mt,Ve)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,$e)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,$e)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ue)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ue)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,at)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,at)|0,f=f+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,yt)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(It,Ut),r=(r=Math.imul(It,Ve))+Math.imul(Ft,Ut)|0,d=Math.imul(Ft,Ve),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,$e)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,$e)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ue)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ue)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,at)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,at)|0,f=f+Math.imul(Se,yt)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,yt)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,$e)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,$e)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ue)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,Ue)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,at)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,at)|0,f=f+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,yt)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,$e),r=(r=Math.imul(It,it))+Math.imul(Ft,$e)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,Ue)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ue)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,at)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,at)|0,f=f+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,yt)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,Ue))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,Ue),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,at)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,at)|0,f=f+Math.imul(gt,yt)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,yt)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,at))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,at),f=f+Math.imul(Mt,yt)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,yt)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,yt),r=(r=Math.imul(It,mt))+Math.imul(Ft,yt)|0,d=Math.imul(Ft,mt);var qt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=Fn,v[1]=An,v[2]=wn,v[3]=bn,v[4]=Wn,v[5]=Vn,v[6]=Pn,v[7]=Ln,v[8]=Kn,v[9]=Gn,v[10]=$n,v[11]=je,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=qt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},518:(Ce,ee,E)=>{"use strict";var a=ee;a.version=E(1636).rE,a.utils=E(3136),a.rand=E(5294),a.curve=E(8729),a.curves=E(3401),a.ec=E(9042),a.eddsa=E(3045)},8828:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.getNAF,R=S.getJSF,c=S.assert;function D(w,T){this.type=w,this.p=new a(T.p,16),this.red=T.prime?a.red(T.prime):a.mont(this.p),this.zero=new a(0).toRed(this.red),this.one=new a(1).toRed(this.red),this.two=new a(2).toRed(this.red),this.n=T.n&&new a(T.n,16),this.g=T.g&&this.pointFromJSON(T.g,T.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var _=this.n&&this.p.div(this.n);!_||_.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function C(w,T){this.curve=w,this.type=T,this.precomputed=null}Ce.exports=D,D.prototype.point=function(){throw new Error("Not implemented")},D.prototype.validate=function(){throw new Error("Not implemented")},D.prototype._fixedNafMul=function(T,_){c(T.precomputed);var g=T._getDoubles(),F=p(_,1,this._bitLength),A=(1<=P;k--)$=($<<1)+F[k];B.push($)}for(var M=this.jpoint(null,null,null),O=this.jpoint(null,null,null),U=A;U>0;U--){for(P=0;P=0;$--){for(var k=0;$>=0&&0===B[$];$--)k++;if($>=0&&k++,P=P.dblp(k),$<0)break;var M=B[$];c(0!==M),P="affine"===T.type?P.mixedAdd(M>0?A[M-1>>1]:A[-M-1>>1].neg()):P.add(M>0?A[M-1>>1]:A[-M-1>>1].neg())}return"affine"===T.type?P.toP():P},D.prototype._wnafMulAdd=function(T,_,g,F,A){var M,O,U,B=this._wnafT1,P=this._wnafT2,$=this._wnafT3,k=0;for(M=0;M=1;M-=2){var W=M-1,ie=M;if(1===B[W]&&1===B[ie]){var me=[_[W],null,null,_[ie]];0===_[W].y.cmp(_[ie].y)?(me[1]=_[W].add(_[ie]),me[2]=_[W].toJ().mixedAdd(_[ie].neg())):0===_[W].y.cmp(_[ie].y.redNeg())?(me[1]=_[W].toJ().mixedAdd(_[ie]),me[2]=_[W].add(_[ie].neg())):(me[1]=_[W].toJ().mixedAdd(_[ie]),me[2]=_[W].toJ().mixedAdd(_[ie].neg()));var te=[-3,-1,-5,-7,0,7,5,1,3],se=R(g[W],g[ie]);for(k=Math.max(se[0].length,k),$[W]=new Array(k),$[ie]=new Array(k),O=0;O=0;M--){for(var s=0;M>=0;){var h=!0;for(O=0;O=0&&s++,o=o.dblp(s),M<0)break;for(O=0;O0?U=P[O][v-1>>1]:v<0&&(U=P[O][-v-1>>1].neg()),o="affine"===U.type?o.mixedAdd(U):o.add(U))}}for(M=0;M=Math.ceil((T.bitLength()+1)/_.step)},C.prototype._getDoubles=function(T,_){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var g=[this],F=this,A=0;A<_;A+=T){for(var B=0;B{"use strict";var a=E(3136),S=E(8723),p=E(1993),R=E(8828),c=a.assert;function D(w){this.twisted=1!=(0|w.a),this.mOneA=this.twisted&&-1==(0|w.a),this.extended=this.mOneA,R.call(this,"edwards",w),this.a=new S(w.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new S(w.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new S(w.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),c(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|w.c)}function C(w,T,_,g,F){R.BasePoint.call(this,w,"projective"),null===T&&null===_&&null===g?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new S(T,16),this.y=new S(_,16),this.z=g?new S(g,16):this.curve.one,this.t=F&&new S(F,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}p(D,R),Ce.exports=D,D.prototype._mulA=function(T){return this.mOneA?T.redNeg():this.a.redMul(T)},D.prototype._mulC=function(T){return this.oneC?T:this.c.redMul(T)},D.prototype.jpoint=function(T,_,g,F){return this.point(T,_,g,F)},D.prototype.pointFromX=function(T,_){(T=new S(T,16)).red||(T=T.toRed(this.red));var g=T.redSqr(),F=this.c2.redSub(this.a.redMul(g)),A=this.one.redSub(this.c2.redMul(this.d).redMul(g)),B=F.redMul(A.redInvm()),P=B.redSqrt();if(0!==P.redSqr().redSub(B).cmp(this.zero))throw new Error("invalid point");var $=P.fromRed().isOdd();return(_&&!$||!_&&$)&&(P=P.redNeg()),this.point(T,P)},D.prototype.pointFromY=function(T,_){(T=new S(T,16)).red||(T=T.toRed(this.red));var g=T.redSqr(),F=g.redSub(this.c2),A=g.redMul(this.d).redMul(this.c2).redSub(this.a),B=F.redMul(A.redInvm());if(0===B.cmp(this.zero)){if(_)throw new Error("invalid point");return this.point(this.zero,T)}var P=B.redSqrt();if(0!==P.redSqr().redSub(B).cmp(this.zero))throw new Error("invalid point");return P.fromRed().isOdd()!==_&&(P=P.redNeg()),this.point(P,T)},D.prototype.validate=function(T){if(T.isInfinity())return!0;T.normalize();var _=T.x.redSqr(),g=T.y.redSqr(),F=_.redMul(this.a).redAdd(g),A=this.c2.redMul(this.one.redAdd(this.d.redMul(_).redMul(g)));return 0===F.cmp(A)},p(C,R.BasePoint),D.prototype.pointFromJSON=function(T){return C.fromJSON(this,T)},D.prototype.point=function(T,_,g,F){return new C(this,T,_,g,F)},C.fromJSON=function(T,_){return new C(T,_[0],_[1],_[2])},C.prototype.inspect=function(){return this.isInfinity()?"":""},C.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},C.prototype._extDbl=function(){var T=this.x.redSqr(),_=this.y.redSqr(),g=this.z.redSqr();g=g.redIAdd(g);var F=this.curve._mulA(T),A=this.x.redAdd(this.y).redSqr().redISub(T).redISub(_),B=F.redAdd(_),P=B.redSub(g),$=F.redSub(_),k=A.redMul(P),M=B.redMul($),O=A.redMul($),U=P.redMul(B);return this.curve.point(k,M,U,O)},C.prototype._projDbl=function(){var F,A,B,P,$,k,T=this.x.redAdd(this.y).redSqr(),_=this.x.redSqr(),g=this.y.redSqr();if(this.curve.twisted){var M=(P=this.curve._mulA(_)).redAdd(g);this.zOne?(F=T.redSub(_).redSub(g).redMul(M.redSub(this.curve.two)),A=M.redMul(P.redSub(g)),B=M.redSqr().redSub(M).redSub(M)):($=this.z.redSqr(),k=M.redSub($).redISub($),F=T.redSub(_).redISub(g).redMul(k),A=M.redMul(P.redSub(g)),B=M.redMul(k))}else P=_.redAdd(g),$=this.curve._mulC(this.z).redSqr(),k=P.redSub($).redSub($),F=this.curve._mulC(T.redISub(P)).redMul(k),A=this.curve._mulC(P).redMul(_.redISub(g)),B=P.redMul(k);return this.curve.point(F,A,B)},C.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},C.prototype._extAdd=function(T){var _=this.y.redSub(this.x).redMul(T.y.redSub(T.x)),g=this.y.redAdd(this.x).redMul(T.y.redAdd(T.x)),F=this.t.redMul(this.curve.dd).redMul(T.t),A=this.z.redMul(T.z.redAdd(T.z)),B=g.redSub(_),P=A.redSub(F),$=A.redAdd(F),k=g.redAdd(_),M=B.redMul(P),O=$.redMul(k),U=B.redMul(k),j=P.redMul($);return this.curve.point(M,O,j,U)},C.prototype._projAdd=function(T){var O,U,_=this.z.redMul(T.z),g=_.redSqr(),F=this.x.redMul(T.x),A=this.y.redMul(T.y),B=this.curve.d.redMul(F).redMul(A),P=g.redSub(B),$=g.redAdd(B),k=this.x.redAdd(this.y).redMul(T.x.redAdd(T.y)).redISub(F).redISub(A),M=_.redMul(P).redMul(k);return this.curve.twisted?(O=_.redMul($).redMul(A.redSub(this.curve._mulA(F))),U=P.redMul($)):(O=_.redMul($).redMul(A.redSub(F)),U=this.curve._mulC(P).redMul($)),this.curve.point(M,O,U)},C.prototype.add=function(T){return this.isInfinity()?T:T.isInfinity()?this:this.curve.extended?this._extAdd(T):this._projAdd(T)},C.prototype.mul=function(T){return this._hasDoubles(T)?this.curve._fixedNafMul(this,T):this.curve._wnafMul(this,T)},C.prototype.mulAdd=function(T,_,g){return this.curve._wnafMulAdd(1,[this,_],[T,g],2,!1)},C.prototype.jmulAdd=function(T,_,g){return this.curve._wnafMulAdd(1,[this,_],[T,g],2,!0)},C.prototype.normalize=function(){if(this.zOne)return this;var T=this.z.redInvm();return this.x=this.x.redMul(T),this.y=this.y.redMul(T),this.t&&(this.t=this.t.redMul(T)),this.z=this.curve.one,this.zOne=!0,this},C.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},C.prototype.getX=function(){return this.normalize(),this.x.fromRed()},C.prototype.getY=function(){return this.normalize(),this.y.fromRed()},C.prototype.eq=function(T){return this===T||0===this.getX().cmp(T.getX())&&0===this.getY().cmp(T.getY())},C.prototype.eqXToP=function(T){var _=T.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(_))return!0;for(var g=T.clone(),F=this.curve.redN.redMul(this.z);;){if(g.iadd(this.curve.n),g.cmp(this.curve.p)>=0)return!1;if(_.redIAdd(F),0===this.x.cmp(_))return!0}},C.prototype.toP=C.prototype.normalize,C.prototype.mixedAdd=C.prototype.add},8729:(Ce,ee,E)=>{"use strict";var a=ee;a.base=E(8828),a.short=E(8075),a.mont=E(4947),a.edwards=E(5537)},4947:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(1993),p=E(8828),R=E(3136);function c(C){p.call(this,"mont",C),this.a=new a(C.a,16).toRed(this.red),this.b=new a(C.b,16).toRed(this.red),this.i4=new a(4).toRed(this.red).redInvm(),this.two=new a(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function D(C,w,T){p.BasePoint.call(this,C,"projective"),null===w&&null===T?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a(w,16),this.z=new a(T,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}S(c,p),Ce.exports=c,c.prototype.validate=function(w){var T=w.normalize().x,_=T.redSqr(),g=_.redMul(T).redAdd(_.redMul(this.a)).redAdd(T);return 0===g.redSqrt().redSqr().cmp(g)},S(D,p.BasePoint),c.prototype.decodePoint=function(w,T){return this.point(R.toArray(w,T),1)},c.prototype.point=function(w,T){return new D(this,w,T)},c.prototype.pointFromJSON=function(w){return D.fromJSON(this,w)},D.prototype.precompute=function(){},D.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},D.fromJSON=function(w,T){return new D(w,T[0],T[1]||w.one)},D.prototype.inspect=function(){return this.isInfinity()?"":""},D.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},D.prototype.dbl=function(){var T=this.x.redAdd(this.z).redSqr(),g=this.x.redSub(this.z).redSqr(),F=T.redSub(g),A=T.redMul(g),B=F.redMul(g.redAdd(this.curve.a24.redMul(F)));return this.curve.point(A,B)},D.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.diffAdd=function(w,T){var _=this.x.redAdd(this.z),g=this.x.redSub(this.z),F=w.x.redAdd(w.z),B=w.x.redSub(w.z).redMul(_),P=F.redMul(g),$=T.z.redMul(B.redAdd(P).redSqr()),k=T.x.redMul(B.redISub(P).redSqr());return this.curve.point($,k)},D.prototype.mul=function(w){for(var T=w.clone(),_=this,g=this.curve.point(null,null),A=[];0!==T.cmpn(0);T.iushrn(1))A.push(T.andln(1));for(var B=A.length-1;B>=0;B--)0===A[B]?(_=_.diffAdd(g,this),g=g.dbl()):(g=_.diffAdd(g,this),_=_.dbl());return g},D.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.eq=function(w){return 0===this.getX().cmp(w.getX())},D.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},D.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},8075:(Ce,ee,E)=>{"use strict";var a=E(3136),S=E(8723),p=E(1993),R=E(8828),c=a.assert;function D(T){R.call(this,"short",T),this.a=new S(T.a,16).toRed(this.red),this.b=new S(T.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(T),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function C(T,_,g,F){R.BasePoint.call(this,T,"affine"),null===_&&null===g?(this.x=null,this.y=null,this.inf=!0):(this.x=new S(_,16),this.y=new S(g,16),F&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function w(T,_,g,F){R.BasePoint.call(this,T,"jacobian"),null===_&&null===g&&null===F?(this.x=this.curve.one,this.y=this.curve.one,this.z=new S(0)):(this.x=new S(_,16),this.y=new S(g,16),this.z=new S(F,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}p(D,R),Ce.exports=D,D.prototype._getEndomorphism=function(_){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var g,F;if(_.beta)g=new S(_.beta,16).toRed(this.red);else{var A=this._getEndoRoots(this.p);g=(g=A[0].cmp(A[1])<0?A[0]:A[1]).toRed(this.red)}if(_.lambda)F=new S(_.lambda,16);else{var B=this._getEndoRoots(this.n);0===this.g.mul(B[0]).x.cmp(this.g.x.redMul(g))?F=B[0]:c(0===this.g.mul(F=B[1]).x.cmp(this.g.x.redMul(g)))}return{beta:g,lambda:F,basis:_.basis?_.basis.map(function($){return{a:new S($.a,16),b:new S($.b,16)}}):this._getEndoBasis(F)}}},D.prototype._getEndoRoots=function(_){var g=_===this.p?this.red:S.mont(_),F=new S(2).toRed(g).redInvm(),A=F.redNeg(),B=new S(3).toRed(g).redNeg().redSqrt().redMul(F);return[A.redAdd(B).fromRed(),A.redSub(B).fromRed()]},D.prototype._getEndoBasis=function(_){for(var M,O,U,j,W,ie,me,se,m,g=this.n.ushrn(Math.floor(this.n.bitLength()/2)),F=_,A=this.n.clone(),B=new S(1),P=new S(0),$=new S(0),k=new S(1),te=0;0!==F.cmpn(0);){var n=A.div(F);se=A.sub(n.mul(F)),m=$.sub(n.mul(B));var o=k.sub(n.mul(P));if(!U&&se.cmp(g)<0)M=me.neg(),O=B,U=se.neg(),j=m;else if(U&&2==++te)break;me=se,A=F,F=se,$=B,B=m,k=P,P=o}W=se.neg(),ie=m;var u=U.sqr().add(j.sqr());return W.sqr().add(ie.sqr()).cmp(u)>=0&&(W=M,ie=O),U.negative&&(U=U.neg(),j=j.neg()),W.negative&&(W=W.neg(),ie=ie.neg()),[{a:U,b:j},{a:W,b:ie}]},D.prototype._endoSplit=function(_){var g=this.endo.basis,F=g[0],A=g[1],B=A.b.mul(_).divRound(this.n),P=F.b.neg().mul(_).divRound(this.n),$=B.mul(F.a),k=P.mul(A.a),M=B.mul(F.b),O=P.mul(A.b);return{k1:_.sub($).sub(k),k2:M.add(O).neg()}},D.prototype.pointFromX=function(_,g){(_=new S(_,16)).red||(_=_.toRed(this.red));var F=_.redSqr().redMul(_).redIAdd(_.redMul(this.a)).redIAdd(this.b),A=F.redSqrt();if(0!==A.redSqr().redSub(F).cmp(this.zero))throw new Error("invalid point");var B=A.fromRed().isOdd();return(g&&!B||!g&&B)&&(A=A.redNeg()),this.point(_,A)},D.prototype.validate=function(_){if(_.inf)return!0;var g=_.x,F=_.y,A=this.a.redMul(g),B=g.redSqr().redMul(g).redIAdd(A).redIAdd(this.b);return 0===F.redSqr().redISub(B).cmpn(0)},D.prototype._endoWnafMulAdd=function(_,g,F){for(var A=this._endoWnafT1,B=this._endoWnafT2,P=0;P<_.length;P++){var $=this._endoSplit(g[P]),k=_[P],M=k._getBeta();$.k1.negative&&($.k1.ineg(),k=k.neg(!0)),$.k2.negative&&($.k2.ineg(),M=M.neg(!0)),A[2*P]=k,A[2*P+1]=M,B[2*P]=$.k1,B[2*P+1]=$.k2}for(var O=this._wnafMulAdd(1,A,B,2*P,F),U=0;U<2*P;U++)A[U]=null,B[U]=null;return O},p(C,R.BasePoint),D.prototype.point=function(_,g,F){return new C(this,_,g,F)},D.prototype.pointFromJSON=function(_,g){return C.fromJSON(this,_,g)},C.prototype._getBeta=function(){if(this.curve.endo){var _=this.precomputed;if(_&&_.beta)return _.beta;var g=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(_){var F=this.curve,A=function(B){return F.point(B.x.redMul(F.endo.beta),B.y)};_.beta=g,g.precomputed={beta:null,naf:_.naf&&{wnd:_.naf.wnd,points:_.naf.points.map(A)},doubles:_.doubles&&{step:_.doubles.step,points:_.doubles.points.map(A)}}}return g}},C.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},C.fromJSON=function(_,g,F){"string"==typeof g&&(g=JSON.parse(g));var A=_.point(g[0],g[1],F);if(!g[2])return A;function B($){return _.point($[0],$[1],F)}var P=g[2];return A.precomputed={beta:null,doubles:P.doubles&&{step:P.doubles.step,points:[A].concat(P.doubles.points.map(B))},naf:P.naf&&{wnd:P.naf.wnd,points:[A].concat(P.naf.points.map(B))}},A},C.prototype.inspect=function(){return this.isInfinity()?"":""},C.prototype.isInfinity=function(){return this.inf},C.prototype.add=function(_){if(this.inf)return _;if(_.inf)return this;if(this.eq(_))return this.dbl();if(this.neg().eq(_))return this.curve.point(null,null);if(0===this.x.cmp(_.x))return this.curve.point(null,null);var g=this.y.redSub(_.y);0!==g.cmpn(0)&&(g=g.redMul(this.x.redSub(_.x).redInvm()));var F=g.redSqr().redISub(this.x).redISub(_.x),A=g.redMul(this.x.redSub(F)).redISub(this.y);return this.curve.point(F,A)},C.prototype.dbl=function(){if(this.inf)return this;var _=this.y.redAdd(this.y);if(0===_.cmpn(0))return this.curve.point(null,null);var g=this.curve.a,F=this.x.redSqr(),A=_.redInvm(),B=F.redAdd(F).redIAdd(F).redIAdd(g).redMul(A),P=B.redSqr().redISub(this.x.redAdd(this.x)),$=B.redMul(this.x.redSub(P)).redISub(this.y);return this.curve.point(P,$)},C.prototype.getX=function(){return this.x.fromRed()},C.prototype.getY=function(){return this.y.fromRed()},C.prototype.mul=function(_){return _=new S(_,16),this.isInfinity()?this:this._hasDoubles(_)?this.curve._fixedNafMul(this,_):this.curve.endo?this.curve._endoWnafMulAdd([this],[_]):this.curve._wnafMul(this,_)},C.prototype.mulAdd=function(_,g,F){var A=[this,g],B=[_,F];return this.curve.endo?this.curve._endoWnafMulAdd(A,B):this.curve._wnafMulAdd(1,A,B,2)},C.prototype.jmulAdd=function(_,g,F){var A=[this,g],B=[_,F];return this.curve.endo?this.curve._endoWnafMulAdd(A,B,!0):this.curve._wnafMulAdd(1,A,B,2,!0)},C.prototype.eq=function(_){return this===_||this.inf===_.inf&&(this.inf||0===this.x.cmp(_.x)&&0===this.y.cmp(_.y))},C.prototype.neg=function(_){if(this.inf)return this;var g=this.curve.point(this.x,this.y.redNeg());if(_&&this.precomputed){var F=this.precomputed,A=function(B){return B.neg()};g.precomputed={naf:F.naf&&{wnd:F.naf.wnd,points:F.naf.points.map(A)},doubles:F.doubles&&{step:F.doubles.step,points:F.doubles.points.map(A)}}}return g},C.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},p(w,R.BasePoint),D.prototype.jpoint=function(_,g,F){return new w(this,_,g,F)},w.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var _=this.z.redInvm(),g=_.redSqr(),F=this.x.redMul(g),A=this.y.redMul(g).redMul(_);return this.curve.point(F,A)},w.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},w.prototype.add=function(_){if(this.isInfinity())return _;if(_.isInfinity())return this;var g=_.z.redSqr(),F=this.z.redSqr(),A=this.x.redMul(g),B=_.x.redMul(F),P=this.y.redMul(g.redMul(_.z)),$=_.y.redMul(F.redMul(this.z)),k=A.redSub(B),M=P.redSub($);if(0===k.cmpn(0))return 0!==M.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var O=k.redSqr(),U=O.redMul(k),j=A.redMul(O),W=M.redSqr().redIAdd(U).redISub(j).redISub(j),ie=M.redMul(j.redISub(W)).redISub(P.redMul(U)),me=this.z.redMul(_.z).redMul(k);return this.curve.jpoint(W,ie,me)},w.prototype.mixedAdd=function(_){if(this.isInfinity())return _.toJ();if(_.isInfinity())return this;var g=this.z.redSqr(),F=this.x,A=_.x.redMul(g),B=this.y,P=_.y.redMul(g).redMul(this.z),$=F.redSub(A),k=B.redSub(P);if(0===$.cmpn(0))return 0!==k.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var M=$.redSqr(),O=M.redMul($),U=F.redMul(M),j=k.redSqr().redIAdd(O).redISub(U).redISub(U),W=k.redMul(U.redISub(j)).redISub(B.redMul(O)),ie=this.z.redMul($);return this.curve.jpoint(j,W,ie)},w.prototype.dblp=function(_){if(0===_)return this;if(this.isInfinity())return this;if(!_)return this.dbl();var g;if(this.curve.zeroA||this.curve.threeA){var F=this;for(g=0;g<_;g++)F=F.dbl();return F}var A=this.curve.a,B=this.curve.tinv,P=this.x,$=this.y,k=this.z,M=k.redSqr().redSqr(),O=$.redAdd($);for(g=0;g<_;g++){var U=P.redSqr(),j=O.redSqr(),W=j.redSqr(),ie=U.redAdd(U).redIAdd(U).redIAdd(A.redMul(M)),me=P.redMul(j),te=ie.redSqr().redISub(me.redAdd(me)),se=me.redISub(te),m=ie.redMul(se);m=m.redIAdd(m).redISub(W);var n=O.redMul(k);g+1<_&&(M=M.redMul(W)),P=te,k=n,O=m}return this.curve.jpoint(P,O.redMul(B),k)},w.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},w.prototype._zeroDbl=function(){var _,g,F;if(this.zOne){var A=this.x.redSqr(),B=this.y.redSqr(),P=B.redSqr(),$=this.x.redAdd(B).redSqr().redISub(A).redISub(P);$=$.redIAdd($);var k=A.redAdd(A).redIAdd(A),M=k.redSqr().redISub($).redISub($),O=P.redIAdd(P);O=(O=O.redIAdd(O)).redIAdd(O),_=M,g=k.redMul($.redISub(M)).redISub(O),F=this.y.redAdd(this.y)}else{var U=this.x.redSqr(),j=this.y.redSqr(),W=j.redSqr(),ie=this.x.redAdd(j).redSqr().redISub(U).redISub(W);ie=ie.redIAdd(ie);var me=U.redAdd(U).redIAdd(U),te=me.redSqr(),se=W.redIAdd(W);se=(se=se.redIAdd(se)).redIAdd(se),_=te.redISub(ie).redISub(ie),g=me.redMul(ie.redISub(_)).redISub(se),F=(F=this.y.redMul(this.z)).redIAdd(F)}return this.curve.jpoint(_,g,F)},w.prototype._threeDbl=function(){var _,g,F;if(this.zOne){var A=this.x.redSqr(),B=this.y.redSqr(),P=B.redSqr(),$=this.x.redAdd(B).redSqr().redISub(A).redISub(P);$=$.redIAdd($);var k=A.redAdd(A).redIAdd(A).redIAdd(this.curve.a),M=k.redSqr().redISub($).redISub($);_=M;var O=P.redIAdd(P);O=(O=O.redIAdd(O)).redIAdd(O),g=k.redMul($.redISub(M)).redISub(O),F=this.y.redAdd(this.y)}else{var U=this.z.redSqr(),j=this.y.redSqr(),W=this.x.redMul(j),ie=this.x.redSub(U).redMul(this.x.redAdd(U));ie=ie.redAdd(ie).redIAdd(ie);var me=W.redIAdd(W),te=(me=me.redIAdd(me)).redAdd(me);_=ie.redSqr().redISub(te),F=this.y.redAdd(this.z).redSqr().redISub(j).redISub(U);var se=j.redSqr();se=(se=(se=se.redIAdd(se)).redIAdd(se)).redIAdd(se),g=ie.redMul(me.redISub(_)).redISub(se)}return this.curve.jpoint(_,g,F)},w.prototype._dbl=function(){var _=this.curve.a,g=this.x,F=this.y,A=this.z,B=A.redSqr().redSqr(),P=g.redSqr(),$=F.redSqr(),k=P.redAdd(P).redIAdd(P).redIAdd(_.redMul(B)),M=g.redAdd(g),O=(M=M.redIAdd(M)).redMul($),U=k.redSqr().redISub(O.redAdd(O)),j=O.redISub(U),W=$.redSqr();W=(W=(W=W.redIAdd(W)).redIAdd(W)).redIAdd(W);var ie=k.redMul(j).redISub(W),me=F.redAdd(F).redMul(A);return this.curve.jpoint(U,ie,me)},w.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var _=this.x.redSqr(),g=this.y.redSqr(),F=this.z.redSqr(),A=g.redSqr(),B=_.redAdd(_).redIAdd(_),P=B.redSqr(),$=this.x.redAdd(g).redSqr().redISub(_).redISub(A),k=($=($=($=$.redIAdd($)).redAdd($).redIAdd($)).redISub(P)).redSqr(),M=A.redIAdd(A);M=(M=(M=M.redIAdd(M)).redIAdd(M)).redIAdd(M);var O=B.redIAdd($).redSqr().redISub(P).redISub(k).redISub(M),U=g.redMul(O);U=(U=U.redIAdd(U)).redIAdd(U);var j=this.x.redMul(k).redISub(U);j=(j=j.redIAdd(j)).redIAdd(j);var W=this.y.redMul(O.redMul(M.redISub(O)).redISub($.redMul(k)));W=(W=(W=W.redIAdd(W)).redIAdd(W)).redIAdd(W);var ie=this.z.redAdd($).redSqr().redISub(F).redISub(k);return this.curve.jpoint(j,W,ie)},w.prototype.mul=function(_,g){return _=new S(_,g),this.curve._wnafMul(this,_)},w.prototype.eq=function(_){if("affine"===_.type)return this.eq(_.toJ());if(this===_)return!0;var g=this.z.redSqr(),F=_.z.redSqr();if(0!==this.x.redMul(F).redISub(_.x.redMul(g)).cmpn(0))return!1;var A=g.redMul(this.z),B=F.redMul(_.z);return 0===this.y.redMul(B).redISub(_.y.redMul(A)).cmpn(0)},w.prototype.eqXToP=function(_){var g=this.z.redSqr(),F=_.toRed(this.curve.red).redMul(g);if(0===this.x.cmp(F))return!0;for(var A=_.clone(),B=this.curve.redN.redMul(g);;){if(A.iadd(this.curve.n),A.cmp(this.curve.p)>=0)return!1;if(F.redIAdd(B),0===this.x.cmp(F))return!0}},w.prototype.inspect=function(){return this.isInfinity()?"":""},w.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(Ce,ee,E)=>{"use strict";var w,a=ee,S=E(2529),p=E(8729),c=E(3136).assert;function D(T){this.curve="short"===T.type?new p.short(T):"edwards"===T.type?new p.edwards(T):new p.mont(T),this.g=this.curve.g,this.n=this.curve.n,this.hash=T.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function C(T,_){Object.defineProperty(a,T,{configurable:!0,enumerable:!0,get:function(){var g=new D(_);return Object.defineProperty(a,T,{configurable:!0,enumerable:!0,value:g}),g}})}a.PresetCurve=D,C("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:S.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),C("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:S.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),C("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:S.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),C("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:S.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),C("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:S.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),C("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:S.sha256,gRed:!1,g:["9"]}),C("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:S.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{w=E(1416)}catch{w=void 0}C("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:S.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",w]})},9042:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3556),p=E(3136),R=E(3401),c=E(5294),D=p.assert,C=E(541),w=E(484);function T(_){if(!(this instanceof T))return new T(_);"string"==typeof _&&(D(Object.prototype.hasOwnProperty.call(R,_),"Unknown curve "+_),_=R[_]),_ instanceof R.PresetCurve&&(_={curve:_}),this.curve=_.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=_.curve.g,this.g.precompute(_.curve.n.bitLength()+1),this.hash=_.hash||_.curve.hash}Ce.exports=T,T.prototype.keyPair=function(g){return new C(this,g)},T.prototype.keyFromPrivate=function(g,F){return C.fromPrivate(this,g,F)},T.prototype.keyFromPublic=function(g,F){return C.fromPublic(this,g,F)},T.prototype.genKeyPair=function(g){g||(g={});for(var F=new S({hash:this.hash,pers:g.pers,persEnc:g.persEnc||"utf8",entropy:g.entropy||c(this.hash.hmacStrength),entropyEnc:g.entropy&&g.entropyEnc||"utf8",nonce:this.n.toArray()}),A=this.n.byteLength(),B=this.n.sub(new a(2));;){var P=new a(F.generate(A));if(!(P.cmp(B)>0))return P.iaddn(1),this.keyFromPrivate(P)}},T.prototype._truncateToN=function(g,F){var A=8*g.byteLength()-this.n.bitLength();return A>0&&(g=g.ushrn(A)),!F&&g.cmp(this.n)>=0?g.sub(this.n):g},T.prototype.sign=function(g,F,A,B){"object"==typeof A&&(B=A,A=null),B||(B={}),F=this.keyFromPrivate(F,A),g=this._truncateToN(new a(g,16));for(var P=this.n.byteLength(),$=F.getPrivate().toArray("be",P),k=g.toArray("be",P),M=new S({hash:this.hash,entropy:$,nonce:k,pers:B.pers,persEnc:B.persEnc||"utf8"}),O=this.n.sub(new a(1)),U=0;;U++){var j=B.k?B.k(U):new a(M.generate(this.n.byteLength()));if(!((j=this._truncateToN(j,!0)).cmpn(1)<=0||j.cmp(O)>=0)){var W=this.g.mul(j);if(!W.isInfinity()){var ie=W.getX(),me=ie.umod(this.n);if(0!==me.cmpn(0)){var te=j.invm(this.n).mul(me.mul(F.getPrivate()).iadd(g));if(0!==(te=te.umod(this.n)).cmpn(0)){var se=(W.getY().isOdd()?1:0)|(0!==ie.cmp(me)?2:0);return B.canonical&&te.cmp(this.nh)>0&&(te=this.n.sub(te),se^=1),new w({r:me,s:te,recoveryParam:se})}}}}}},T.prototype.verify=function(g,F,A,B){g=this._truncateToN(new a(g,16)),A=this.keyFromPublic(A,B);var P=(F=new w(F,"hex")).r,$=F.s;if(P.cmpn(1)<0||P.cmp(this.n)>=0||$.cmpn(1)<0||$.cmp(this.n)>=0)return!1;var U,k=$.invm(this.n),M=k.mul(g).umod(this.n),O=k.mul(P).umod(this.n);return this.curve._maxwellTrick?!(U=this.g.jmulAdd(M,A.getPublic(),O)).isInfinity()&&U.eqXToP(P):!(U=this.g.mulAdd(M,A.getPublic(),O)).isInfinity()&&0===U.getX().umod(this.n).cmp(P)},T.prototype.recoverPubKey=function(_,g,F,A){D((3&F)===F,"The recovery param is more than two bits"),g=new w(g,A);var B=this.n,P=new a(_),$=g.r,k=g.s,M=1&F,O=F>>1;if($.cmp(this.curve.p.umod(this.curve.n))>=0&&O)throw new Error("Unable to find sencond key candinate");$=this.curve.pointFromX(O?$.add(this.curve.n):$,M);var U=g.r.invm(B),j=B.sub(P).mul(U).umod(B),W=k.mul(U).umod(B);return this.g.mulAdd(j,$,W)},T.prototype.getKeyRecoveryParam=function(_,g,F,A){if(null!==(g=new w(g,A)).recoveryParam)return g.recoveryParam;for(var B=0;B<4;B++){var P;try{P=this.recoverPubKey(_,g,B)}catch{continue}if(P.eq(F))return B}throw new Error("Unable to find valid recovery factor")}},541:(Ce,ee,E)=>{"use strict";var a=E(8723),p=E(3136).assert;function R(c,D){this.ec=c,this.priv=null,this.pub=null,D.priv&&this._importPrivate(D.priv,D.privEnc),D.pub&&this._importPublic(D.pub,D.pubEnc)}Ce.exports=R,R.fromPublic=function(D,C,w){return C instanceof R?C:new R(D,{pub:C,pubEnc:w})},R.fromPrivate=function(D,C,w){return C instanceof R?C:new R(D,{priv:C,privEnc:w})},R.prototype.validate=function(){var D=this.getPublic();return D.isInfinity()?{result:!1,reason:"Invalid public key"}:D.validate()?D.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},R.prototype.getPublic=function(D,C){return"string"==typeof D&&(C=D,D=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),C?this.pub.encode(C,D):this.pub},R.prototype.getPrivate=function(D){return"hex"===D?this.priv.toString(16,2):this.priv},R.prototype._importPrivate=function(D,C){this.priv=new a(D,C||16),this.priv=this.priv.umod(this.ec.curve.n)},R.prototype._importPublic=function(D,C){if(D.x||D.y)return"mont"===this.ec.curve.type?p(D.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&p(D.x&&D.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(D.x,D.y));this.pub=this.ec.curve.decodePoint(D,C)},R.prototype.derive=function(D){return D.validate()||p(D.validate(),"public point not validated"),D.mul(this.priv).getX()},R.prototype.sign=function(D,C,w){return this.ec.sign(D,this,C,w)},R.prototype.verify=function(D,C){return this.ec.verify(D,C,this)},R.prototype.inspect=function(){return""}},484:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert;function R(T,_){if(T instanceof R)return T;this._importDER(T,_)||(p(T.r&&T.s,"Signature without r or s"),this.r=new a(T.r,16),this.s=new a(T.s,16),this.recoveryParam=void 0===T.recoveryParam?null:T.recoveryParam)}function c(){this.place=0}function D(T,_){var g=T[_.place++];if(!(128&g))return g;var F=15&g;if(0===F||F>4)return!1;for(var A=0,B=0,P=_.place;B>>=0;return!(A<=127)&&(_.place=P,A)}function C(T){for(var _=0,g=T.length-1;!T[_]&&!(128&T[_+1])&&_>>3);for(T.push(128|g);--g;)T.push(_>>>(g<<3)&255);T.push(_)}}Ce.exports=R,R.prototype._importDER=function(_,g){_=S.toArray(_,g);var F=new c;if(48!==_[F.place++])return!1;var A=D(_,F);if(!1===A||A+F.place!==_.length||2!==_[F.place++])return!1;var B=D(_,F);if(!1===B)return!1;var P=_.slice(F.place,B+F.place);if(F.place+=B,2!==_[F.place++])return!1;var $=D(_,F);if(!1===$||_.length!==$+F.place)return!1;var k=_.slice(F.place,$+F.place);if(0===P[0]){if(!(128&P[1]))return!1;P=P.slice(1)}if(0===k[0]){if(!(128&k[1]))return!1;k=k.slice(1)}return this.r=new a(P),this.s=new a(k),this.recoveryParam=null,!0},R.prototype.toDER=function(_){var g=this.r.toArray(),F=this.s.toArray();for(128&g[0]&&(g=[0].concat(g)),128&F[0]&&(F=[0].concat(F)),g=C(g),F=C(F);!(F[0]||128&F[1]);)F=F.slice(1);var A=[2];w(A,g.length),(A=A.concat(g)).push(2),w(A,F.length);var B=A.concat(F),P=[48];return w(P,B.length),P=P.concat(B),S.encode(P,_)}},3045:(Ce,ee,E)=>{"use strict";var a=E(2529),S=E(3401),p=E(3136),R=p.assert,c=p.parseBytes,D=E(7222),C=E(5451);function w(T){if(R("ed25519"===T,"only tested with ed25519 so far"),!(this instanceof w))return new w(T);this.curve=T=S[T].curve,this.g=T.g,this.g.precompute(T.n.bitLength()+1),this.pointClass=T.point().constructor,this.encodingLength=Math.ceil(T.n.bitLength()/8),this.hash=a.sha512}Ce.exports=w,w.prototype.sign=function(_,g){_=c(_);var F=this.keyFromSecret(g),A=this.hashInt(F.messagePrefix(),_),B=this.g.mul(A),P=this.encodePoint(B),$=this.hashInt(P,F.pubBytes(),_).mul(F.priv()),k=A.add($).umod(this.curve.n);return this.makeSignature({R:B,S:k,Rencoded:P})},w.prototype.verify=function(_,g,F){_=c(_),g=this.makeSignature(g);var A=this.keyFromPublic(F),B=this.hashInt(g.Rencoded(),A.pubBytes(),_),P=this.g.mul(g.S());return g.R().add(A.pub().mul(B)).eq(P)},w.prototype.hashInt=function(){for(var _=this.hash(),g=0;g{"use strict";var a=E(3136),S=a.assert,p=a.parseBytes,R=a.cachedProperty;function c(D,C){this.eddsa=D,this._secret=p(C.secret),D.isPoint(C.pub)?this._pub=C.pub:this._pubBytes=p(C.pub)}c.fromPublic=function(C,w){return w instanceof c?w:new c(C,{pub:w})},c.fromSecret=function(C,w){return w instanceof c?w:new c(C,{secret:w})},c.prototype.secret=function(){return this._secret},R(c,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),R(c,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),R(c,"privBytes",function(){var C=this.eddsa,w=this.hash(),T=C.encodingLength-1,_=w.slice(0,C.encodingLength);return _[0]&=248,_[T]&=127,_[T]|=64,_}),R(c,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),R(c,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),R(c,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),c.prototype.sign=function(C){return S(this._secret,"KeyPair can only verify"),this.eddsa.sign(C,this)},c.prototype.verify=function(C,w){return this.eddsa.verify(C,w,this)},c.prototype.getSecret=function(C){return S(this._secret,"KeyPair is public only"),a.encode(this.secret(),C)},c.prototype.getPublic=function(C){return a.encode(this.pubBytes(),C)},Ce.exports=c},5451:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert,R=S.cachedProperty,c=S.parseBytes;function D(C,w){this.eddsa=C,"object"!=typeof w&&(w=c(w)),Array.isArray(w)&&(w={R:w.slice(0,C.encodingLength),S:w.slice(C.encodingLength)}),p(w.R&&w.S,"Signature without R or S"),C.isPoint(w.R)&&(this._R=w.R),w.S instanceof a&&(this._S=w.S),this._Rencoded=Array.isArray(w.R)?w.R:w.Rencoded,this._Sencoded=Array.isArray(w.S)?w.S:w.Sencoded}R(D,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),R(D,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),R(D,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),R(D,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),D.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},D.prototype.toHex=function(){return S.encode(this.toBytes(),"hex").toUpperCase()},Ce.exports=D},1416:Ce=>{Ce.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},3136:(Ce,ee,E)=>{"use strict";var a=ee,S=E(8723),p=E(9210),R=E(1832);a.assert=p,a.toArray=R.toArray,a.zero2=R.zero2,a.toHex=R.toHex,a.encode=R.encode,a.getNAF=function c(_,g,F){var B,A=new Array(Math.max(_.bitLength(),F)+1);for(B=0;B(P>>1)-1?(P>>1)-M:M):k=0,A[B]=k,$.iushrn(1)}return A},a.getJSF=function D(_,g){var F=[[],[]];_=_.clone(),g=g.clone();for(var P,A=0,B=0;_.cmpn(-A)>0||g.cmpn(-B)>0;){var M,O,$=_.andln(3)+A&3,k=g.andln(3)+B&3;3===$&&($=-1),3===k&&(k=-1),M=1&$?3!=(P=_.andln(7)+A&7)&&5!==P||2!==k?$:-$:0,F[0].push(M),O=1&k?3!=(P=g.andln(7)+B&7)&&5!==P||2!==$?k:-k:0,F[1].push(O),2*A===M+1&&(A=1-A),2*B===O+1&&(B=1-B),_.iushrn(1),g.iushrn(1)}return F},a.cachedProperty=function C(_,g,F){var A="_"+g;_.prototype[g]=function(){return void 0!==this[A]?this[A]:this[A]=F.call(this)}},a.parseBytes=function w(_){return"string"==typeof _?a.toArray(_,"hex"):_},a.intFromLE=function T(_){return new S(_,"hex","le")}},8723:function(Ce,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function R(m,n){m.super_=n;var o=function(){};o.prototype=n.prototype,m.prototype=new o,m.prototype.constructor=m}function c(m,n,o){if(c.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,null!==m&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(m||0,n||10,o||"be"))}var D;"object"==typeof a?a.exports=c:S.BN=c,c.BN=c,c.wordSize=26;try{D=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:E(9368).Buffer}catch{}function C(m,n){var o=m.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,dt=Cn>>>13,Sn=0|h[2],kt=8191&Sn,Nt=Sn>>>13,Un=0|h[3],Ut=8191&Un,Ve=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],$e=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ue=Pe>>>13,Ct=0|h[7],Je=8191&Ct,at=Ct>>>13,Jt=0|h[8],yt=8191&Jt,mt=Jt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var Fn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var An=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,dt)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,dt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,dt)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,dt)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,dt)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,dt)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,dt)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,dt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Ut)|0,r=(r=r+Math.imul(oe,Ve)|0)+Math.imul(ve,Ut)|0,d=d+Math.imul(ve,Ve)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,dt)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,dt)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,$e)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,dt)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,dt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,Ve)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,$e)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,$e)|0,d=d+Math.imul(ve,it)|0;var Pn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ue)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ue)|0)+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,dt)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,dt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(re,Ut)|0,d=d+Math.imul(re,Ve)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,$e)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,$e)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,Ue)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,Ue)|0;var Ln=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,at)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,at)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,dt)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,dt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,$e)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ue)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ue)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,at)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,at)|0;var Kn=(y+(f=f+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,yt)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,dt)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,dt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,$e)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,$e)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,Ue)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ue)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,at)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,at)|0,f=f+Math.imul(oe,yt)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,yt)|0,d=d+Math.imul(ve,mt)|0;var Gn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,dt))+Math.imul(Ft,St)|0,d=Math.imul(Ft,dt),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ht,Ut)|0,d=d+Math.imul(ht,Ve)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,$e)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,$e)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ue)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,Ue)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,at)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,at)|0,f=f+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,yt)|0,d=d+Math.imul(ae,mt)|0;var $n=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Ut)|0,r=(r=r+Math.imul(Mt,Ve)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,$e)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,$e)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ue)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ue)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,at)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,at)|0,f=f+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,yt)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(It,Ut),r=(r=Math.imul(It,Ve))+Math.imul(Ft,Ut)|0,d=Math.imul(Ft,Ve),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,$e)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,$e)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ue)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ue)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,at)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,at)|0,f=f+Math.imul(Se,yt)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,yt)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,$e)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,$e)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ue)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,Ue)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,at)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,at)|0,f=f+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,yt)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,$e),r=(r=Math.imul(It,it))+Math.imul(Ft,$e)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,Ue)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ue)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,at)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,at)|0,f=f+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,yt)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,Ue))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,Ue),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,at)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,at)|0,f=f+Math.imul(gt,yt)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,yt)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,at))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,at),f=f+Math.imul(Mt,yt)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,yt)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,yt),r=(r=Math.imul(It,mt))+Math.imul(Ft,yt)|0,d=Math.imul(Ft,mt);var qt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=Fn,v[1]=An,v[2]=wn,v[3]=bn,v[4]=Wn,v[5]=Vn,v[6]=Pn,v[7]=Ln,v[8]=Kn,v[9]=Gn,v[10]=$n,v[11]=je,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=qt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},4356:Ce=>{"use strict";var a,ee="object"==typeof Reflect?Reflect:null,E=ee&&"function"==typeof ee.apply?ee.apply:function(U,j,W){return Function.prototype.apply.call(U,j,W)};a=ee&&"function"==typeof ee.ownKeys?ee.ownKeys:Object.getOwnPropertySymbols?function(U){return Object.getOwnPropertyNames(U).concat(Object.getOwnPropertySymbols(U))}:function(U){return Object.getOwnPropertyNames(U)};var p=Number.isNaN||function(U){return U!=U};function R(){R.init.call(this)}Ce.exports=R,Ce.exports.once=function $(O,U){return new Promise(function(j,W){function ie(te){O.removeListener(U,me),W(te)}function me(){"function"==typeof O.removeListener&&O.removeListener("error",ie),j([].slice.call(arguments))}M(O,U,me,{once:!0}),"error"!==U&&function k(O,U,j){"function"==typeof O.on&&M(O,"error",U,j)}(O,ie,{once:!0})})},R.EventEmitter=R,R.prototype._events=void 0,R.prototype._eventsCount=0,R.prototype._maxListeners=void 0;var c=10;function D(O){if("function"!=typeof O)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof O)}function C(O){return void 0===O._maxListeners?R.defaultMaxListeners:O._maxListeners}function w(O,U,j,W){var ie,me,te;if(D(j),void 0===(me=O._events)?(me=O._events=Object.create(null),O._eventsCount=0):(void 0!==me.newListener&&(O.emit("newListener",U,j.listener?j.listener:j),me=O._events),te=me[U]),void 0===te)te=me[U]=j,++O._eventsCount;else if("function"==typeof te?te=me[U]=W?[j,te]:[te,j]:W?te.unshift(j):te.push(j),(ie=C(O))>0&&te.length>ie&&!te.warned){te.warned=!0;var se=new Error("Possible EventEmitter memory leak detected. "+te.length+" "+String(U)+" listeners added. Use emitter.setMaxListeners() to increase limit");se.name="MaxListenersExceededWarning",se.emitter=O,se.type=U,se.count=te.length,function S(O){console&&console.warn&&console.warn(O)}(se)}return O}function T(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _(O,U,j){var W={fired:!1,wrapFn:void 0,target:O,type:U,listener:j},ie=T.bind(W);return ie.listener=j,W.wrapFn=ie,ie}function g(O,U,j){var W=O._events;if(void 0===W)return[];var ie=W[U];return void 0===ie?[]:"function"==typeof ie?j?[ie.listener||ie]:[ie]:j?function P(O){for(var U=new Array(O.length),j=0;j0&&(te=j[0]),te instanceof Error)throw te;var se=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw se.context=te,se}var m=me[U];if(void 0===m)return!1;if("function"==typeof m)E(m,this,j);else{var n=m.length,o=A(m,n);for(W=0;W=0;te--)if(W[te]===j||W[te].listener===j){se=W[te].listener,me=te;break}if(me<0)return this;0===me?W.shift():function B(O,U){for(;U+1=0;ie--)this.removeListener(U,j[ie]);return this},R.prototype.listeners=function(U){return g(this,U,!0)},R.prototype.rawListeners=function(U){return g(this,U,!1)},R.listenerCount=function(O,U){return"function"==typeof O.listenerCount?O.listenerCount(U):F.call(O,U)},R.prototype.listenerCount=F,R.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},8211:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(4725);Ce.exports=function p(R,c,D,C){if(a.isBuffer(R)||(R=a.from(R,"binary")),c&&(a.isBuffer(c)||(c=a.from(c,"binary")),8!==c.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var w=D/8,T=a.alloc(w),_=a.alloc(C||0),g=a.alloc(0);w>0||C>0;){var F=new S;F.update(g),F.update(R),c&&F.update(c),g=F.digest();var A=0;if(w>0){var B=T.length-w;A=Math.min(w,g.length),g.copy(T,B,0,A),w-=A}if(A0){var P=_.length-C,$=Math.min(C,g.length-A);g.copy(_,P,A,A+$),C-=$}}return g.fill(0),{key:T,iv:_}}},3686:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7045).Transform;function c(D){S.call(this),this._block=a.allocUnsafe(D),this._blockSize=D,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}E(1993)(c,S),c.prototype._transform=function(D,C,w){var T=null;try{this.update(D,C)}catch(_){T=_}w(T)},c.prototype._flush=function(D){var C=null;try{this.push(this.digest())}catch(w){C=w}D(C)},c.prototype.update=function(D,C){if(function R(D,C){if(!a.isBuffer(D)&&"string"!=typeof D)throw new TypeError(C+" must be a string or a buffer")}(D,"Data"),this._finalized)throw new Error("Digest already called");a.isBuffer(D)||(D=a.from(D,C));for(var w=this._block,T=0;this._blockOffset+D.length-T>=this._blockSize;){for(var _=this._blockOffset;_0;++g)this._length[g]+=F,(F=this._length[g]/4294967296|0)>0&&(this._length[g]-=4294967296*F);return this},c.prototype._update=function(){throw new Error("_update is not implemented")},c.prototype.digest=function(D){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var C=this._digest();void 0!==D&&(C=C.toString(D)),this._block.fill(0),this._blockOffset=0;for(var w=0;w<4;++w)this._length[w]=0;return C},c.prototype._digest=function(){throw new Error("_digest is not implemented")},Ce.exports=c},2529:(Ce,ee,E)=>{var a=ee;a.utils=E(8283),a.common=E(2901),a.sha=E(8528),a.ripemd=E(5283),a.hmac=E(7163),a.sha1=a.sha.sha1,a.sha256=a.sha.sha256,a.sha224=a.sha.sha224,a.sha384=a.sha.sha384,a.sha512=a.sha.sha512,a.ripemd160=a.ripemd.ripemd160},2901:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(9210);function p(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}ee.BlockHash=p,p.prototype.update=function(c,D){if(c=a.toArray(c,D),this.pending=this.pending?this.pending.concat(c):c,this.pendingTotal+=c.length,this.pending.length>=this._delta8){var C=(c=this.pending).length%this._delta8;this.pending=c.slice(c.length-C,c.length),0===this.pending.length&&(this.pending=null),c=a.join32(c,0,c.length-C,this.endian);for(var w=0;w>>24&255,w[T++]=c>>>16&255,w[T++]=c>>>8&255,w[T++]=255&c}else for(w[T++]=255&c,w[T++]=c>>>8&255,w[T++]=c>>>16&255,w[T++]=c>>>24&255,w[T++]=0,w[T++]=0,w[T++]=0,w[T++]=0,_=8;_{"use strict";var a=E(8283),S=E(9210);function p(R,c,D){if(!(this instanceof p))return new p(R,c,D);this.Hash=R,this.blockSize=R.blockSize/8,this.outSize=R.outSize/8,this.inner=null,this.outer=null,this._init(a.toArray(c,D))}Ce.exports=p,p.prototype._init=function(c){c.length>this.blockSize&&(c=(new this.Hash).update(c).digest()),S(c.length<=this.blockSize);for(var D=c.length;D{"use strict";var a=E(8283),S=E(2901),p=a.rotl32,R=a.sum32,c=a.sum32_3,D=a.sum32_4,C=S.BlockHash;function w(){if(!(this instanceof w))return new w;C.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function T($,k,M,O){return $<=15?k^M^O:$<=31?k&M|~k&O:$<=47?(k|~M)^O:$<=63?k&O|M&~O:k^(M|~O)}function g($){return $<=15?1352829926:$<=31?1548603684:$<=47?1836072691:$<=63?2053994217:0}a.inherits(w,C),ee.ripemd160=w,w.blockSize=512,w.outSize=160,w.hmacStrength=192,w.padLength=64,w.prototype._update=function(k,M){for(var O=this.h[0],U=this.h[1],j=this.h[2],W=this.h[3],ie=this.h[4],me=O,te=U,se=j,m=W,n=ie,o=0;o<80;o++){var u=R(p(D(O,T(o,U,j,W),k[F[o]+M],($=o)<=15?0:$<=31?1518500249:$<=47?1859775393:$<=63?2400959708:2840853838),B[o]),ie);O=ie,ie=W,W=p(j,10),j=U,U=u,u=R(p(D(me,T(79-o,te,se,m),k[A[o]+M],g(o)),P[o]),n),me=n,n=m,m=p(se,10),se=te,te=u}var $;u=c(this.h[1],j,m),this.h[1]=c(this.h[2],W,n),this.h[2]=c(this.h[3],ie,me),this.h[3]=c(this.h[4],O,te),this.h[4]=c(this.h[0],U,se),this.h[0]=u},w.prototype._digest=function(k){return"hex"===k?a.toHex32(this.h,"little"):a.split32(this.h,"little")};var F=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],A=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],B=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],P=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},8528:(Ce,ee,E)=>{"use strict";ee.sha1=E(3468),ee.sha224=E(5563),ee.sha256=E(7138),ee.sha384=E(3898),ee.sha512=E(827)},3468:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),R=a.rotl32,c=a.sum32,D=a.sum32_5,C=p.ft_1,w=S.BlockHash,T=[1518500249,1859775393,2400959708,3395469782];function _(){if(!(this instanceof _))return new _;w.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}a.inherits(_,w),Ce.exports=_,_.blockSize=512,_.outSize=160,_.hmacStrength=80,_.padLength=64,_.prototype._update=function(F,A){for(var B=this.W,P=0;P<16;P++)B[P]=F[A+P];for(;P{"use strict";var a=E(8283),S=E(7138);function p(){if(!(this instanceof p))return new p;S.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}a.inherits(p,S),Ce.exports=p,p.blockSize=512,p.outSize=224,p.hmacStrength=192,p.padLength=64,p.prototype._digest=function(c){return"hex"===c?a.toHex32(this.h.slice(0,7),"big"):a.split32(this.h.slice(0,7),"big")}},7138:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),R=E(9210),c=a.sum32,D=a.sum32_4,C=a.sum32_5,w=p.ch32,T=p.maj32,_=p.s0_256,g=p.s1_256,F=p.g0_256,A=p.g1_256,B=S.BlockHash,P=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function $(){if(!(this instanceof $))return new $;B.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=P,this.W=new Array(64)}a.inherits($,B),Ce.exports=$,$.blockSize=512,$.outSize=256,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(M,O){for(var U=this.W,j=0;j<16;j++)U[j]=M[O+j];for(;j{"use strict";var a=E(8283),S=E(827);function p(){if(!(this instanceof p))return new p;S.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}a.inherits(p,S),Ce.exports=p,p.blockSize=1024,p.outSize=384,p.hmacStrength=192,p.padLength=128,p.prototype._digest=function(c){return"hex"===c?a.toHex32(this.h.slice(0,12),"big"):a.split32(this.h.slice(0,12),"big")}},827:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(9210),R=a.rotr64_hi,c=a.rotr64_lo,D=a.shr64_hi,C=a.shr64_lo,w=a.sum64,T=a.sum64_hi,_=a.sum64_lo,g=a.sum64_4_hi,F=a.sum64_4_lo,A=a.sum64_5_hi,B=a.sum64_5_lo,P=S.BlockHash,$=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function k(){if(!(this instanceof k))return new k;P.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=$,this.W=new Array(160)}function M(u,s,h,v,y){var f=u&h^~u&y;return f<0&&(f+=4294967296),f}function O(u,s,h,v,y,f){var r=s&v^~s&f;return r<0&&(r+=4294967296),r}function U(u,s,h,v,y){var f=u&h^u&y^h&y;return f<0&&(f+=4294967296),f}function j(u,s,h,v,y,f){var r=s&v^s&f^v&f;return r<0&&(r+=4294967296),r}function W(u,s){var f=R(u,s,28)^R(s,u,2)^R(s,u,7);return f<0&&(f+=4294967296),f}function ie(u,s){var f=c(u,s,28)^c(s,u,2)^c(s,u,7);return f<0&&(f+=4294967296),f}function me(u,s){var f=R(u,s,14)^R(u,s,18)^R(s,u,9);return f<0&&(f+=4294967296),f}function te(u,s){var f=c(u,s,14)^c(u,s,18)^c(s,u,9);return f<0&&(f+=4294967296),f}function se(u,s){var f=R(u,s,1)^R(u,s,8)^D(u,s,7);return f<0&&(f+=4294967296),f}function m(u,s){var f=c(u,s,1)^c(u,s,8)^C(u,s,7);return f<0&&(f+=4294967296),f}function n(u,s){var f=R(u,s,19)^R(s,u,29)^D(u,s,6);return f<0&&(f+=4294967296),f}function o(u,s){var f=c(u,s,19)^c(s,u,29)^C(u,s,6);return f<0&&(f+=4294967296),f}a.inherits(k,P),Ce.exports=k,k.blockSize=1024,k.outSize=512,k.hmacStrength=192,k.padLength=128,k.prototype._prepareBlock=function(s,h){for(var v=this.W,y=0;y<32;y++)v[y]=s[h+y];for(;y{"use strict";var S=E(8283).rotr32;function R(g,F,A){return g&F^~g&A}function c(g,F,A){return g&F^g&A^F&A}function D(g,F,A){return g^F^A}ee.ft_1=function p(g,F,A,B){return 0===g?R(F,A,B):1===g||3===g?D(F,A,B):2===g?c(F,A,B):void 0},ee.ch32=R,ee.maj32=c,ee.p32=D,ee.s0_256=function C(g){return S(g,2)^S(g,13)^S(g,22)},ee.s1_256=function w(g){return S(g,6)^S(g,11)^S(g,25)},ee.g0_256=function T(g){return S(g,7)^S(g,18)^g>>>3},ee.g1_256=function _(g){return S(g,17)^S(g,19)^g>>>10}},8283:(Ce,ee,E)=>{"use strict";var a=E(9210),S=E(1993);function p(o,u){return!(55296!=(64512&o.charCodeAt(u))||u<0||u+1>=o.length)&&56320==(64512&o.charCodeAt(u+1))}function D(o){return(o>>>24|o>>>8&65280|o<<8&16711680|(255&o)<<24)>>>0}function w(o){return 1===o.length?"0"+o:o}function T(o){return 7===o.length?"0"+o:6===o.length?"00"+o:5===o.length?"000"+o:4===o.length?"0000"+o:3===o.length?"00000"+o:2===o.length?"000000"+o:1===o.length?"0000000"+o:o}ee.inherits=S,ee.toArray=function R(o,u){if(Array.isArray(o))return o.slice();if(!o)return[];var s=[];if("string"==typeof o)if(u){if("hex"===u)for((o=o.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(o="0"+o),v=0;v>6|192,s[h++]=63&y|128):p(o,v)?(y=65536+((1023&y)<<10)+(1023&o.charCodeAt(++v)),s[h++]=y>>18|240,s[h++]=y>>12&63|128,s[h++]=y>>6&63|128,s[h++]=63&y|128):(s[h++]=y>>12|224,s[h++]=y>>6&63|128,s[h++]=63&y|128)}else for(v=0;v>>0;return y},ee.split32=function g(o,u){for(var s=new Array(4*o.length),h=0,v=0;h>>24,s[v+1]=y>>>16&255,s[v+2]=y>>>8&255,s[v+3]=255&y):(s[v+3]=y>>>24,s[v+2]=y>>>16&255,s[v+1]=y>>>8&255,s[v]=255&y)}return s},ee.rotr32=function F(o,u){return o>>>u|o<<32-u},ee.rotl32=function A(o,u){return o<>>32-u},ee.sum32=function B(o,u){return o+u>>>0},ee.sum32_3=function P(o,u,s){return o+u+s>>>0},ee.sum32_4=function $(o,u,s,h){return o+u+s+h>>>0},ee.sum32_5=function k(o,u,s,h,v){return o+u+s+h+v>>>0},ee.sum64=function M(o,u,s,h){var f=h+o[u+1]>>>0;o[u]=(f>>0,o[u+1]=f},ee.sum64_hi=function O(o,u,s,h){return(u+h>>>0>>0},ee.sum64_lo=function U(o,u,s,h){return u+h>>>0},ee.sum64_4_hi=function j(o,u,s,h,v,y,f,r){var d=0,L=u;return d+=(L=L+h>>>0)>>0)>>0)>>0},ee.sum64_4_lo=function W(o,u,s,h,v,y,f,r){return u+h+y+r>>>0},ee.sum64_5_hi=function ie(o,u,s,h,v,y,f,r,d,L){var I=0,V=u;return I+=(V=V+h>>>0)>>0)>>0)>>0)>>0},ee.sum64_5_lo=function me(o,u,s,h,v,y,f,r,d,L){return u+h+y+r+L>>>0},ee.rotr64_hi=function te(o,u,s){return(u<<32-s|o>>>s)>>>0},ee.rotr64_lo=function se(o,u,s){return(o<<32-s|u>>>s)>>>0},ee.shr64_hi=function m(o,u,s){return o>>>s},ee.shr64_lo=function n(o,u,s){return(o<<32-s|u>>>s)>>>0}},3556:(Ce,ee,E)=>{"use strict";var a=E(2529),S=E(1832),p=E(9210);function R(c){if(!(this instanceof R))return new R(c);this.hash=c.hash,this.predResist=!!c.predResist,this.outLen=this.hash.outSize,this.minEntropy=c.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var D=S.toArray(c.entropy,c.entropyEnc||"hex"),C=S.toArray(c.nonce,c.nonceEnc||"hex"),w=S.toArray(c.pers,c.persEnc||"hex");p(D.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(D,C,w)}Ce.exports=R,R.prototype._init=function(D,C,w){var T=D.concat(C).concat(w);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var _=0;_=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(D.concat(w||[])),this._reseed=1},R.prototype.generate=function(D,C,w,T){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof C&&(T=w,w=C,C=null),w&&(w=S.toArray(w,T||"hex"),this._update(w));for(var _=[];_.length{ee.read=function(E,a,S,p,R){var c,D,C=8*R-p-1,w=(1<>1,_=-7,g=S?R-1:0,F=S?-1:1,A=E[a+g];for(g+=F,c=A&(1<<-_)-1,A>>=-_,_+=C;_>0;c=256*c+E[a+g],g+=F,_-=8);for(D=c&(1<<-_)-1,c>>=-_,_+=p;_>0;D=256*D+E[a+g],g+=F,_-=8);if(0===c)c=1-T;else{if(c===w)return D?NaN:1/0*(A?-1:1);D+=Math.pow(2,p),c-=T}return(A?-1:1)*D*Math.pow(2,c-p)},ee.write=function(E,a,S,p,R,c){var D,C,w,T=8*c-R-1,_=(1<>1,F=23===R?Math.pow(2,-24)-Math.pow(2,-77):0,A=p?0:c-1,B=p?1:-1,P=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(C=isNaN(a)?1:0,D=_):(D=Math.floor(Math.log(a)/Math.LN2),a*(w=Math.pow(2,-D))<1&&(D--,w*=2),(a+=D+g>=1?F/w:F*Math.pow(2,1-g))*w>=2&&(D++,w/=2),D+g>=_?(C=0,D=_):D+g>=1?(C=(a*w-1)*Math.pow(2,R),D+=g):(C=a*Math.pow(2,g-1)*Math.pow(2,R),D=0));R>=8;E[S+A]=255&C,A+=B,C/=256,R-=8);for(D=D<0;E[S+A]=255&D,A+=B,D/=256,T-=8);E[S+A-B]|=128*P}},1993:Ce=>{Ce.exports="function"==typeof Object.create?function(E,a){a&&(E.super_=a,E.prototype=Object.create(a.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}))}:function(E,a){if(a){E.super_=a;var S=function(){};S.prototype=a.prototype,E.prototype=new S,E.prototype.constructor=E}}},53:Ce=>{var ee={}.toString;Ce.exports=Array.isArray||function(E){return"[object Array]"==ee.call(E)}},9657:(Ce,ee,E)=>{"use strict";E.d(ee,{b:()=>Qe,c:()=>j,g:()=>U,r:()=>ht});var a=E(467);let p,R,D=!1;const _="slot-fb{display:contents}slot-fb[hidden]{display:none}",g={},A=_e=>"object"==(_e=typeof _e)||"function"===_e;function B(_e){var De,Me,Ze;return null!==(Ze=null===(Me=null===(De=_e.head)||void 0===De?void 0:De.querySelector('meta[name="csp-nonce"]'))||void 0===Me?void 0:Me.getAttribute("content"))&&void 0!==Ze?Ze:void 0}const $=(_e,De)=>({$flags$:0,$tag$:_e,$text$:De,$elm$:null,$children$:null,$attrs$:null}),k={},U=_e=>gt(_e).$hostElement$,j=(_e,De,Me)=>{const Ze=U(_e);return{emit:$e=>W(Ze,De,{bubbles:!!(4&Me),composed:!!(2&Me),cancelable:!!(1&Me),detail:$e})}},W=(_e,De,Me)=>{const Ze=_t.ce(De,Me);return _e.dispatchEvent(Ze),Ze},ie=new WeakMap,m=(_e,De)=>"sc-"+_e.$tagName$,n=(_e,De,Me,Ze,$e,it)=>{if(Me!==Ze){let Pe=Mt(_e,De);De.toLowerCase();{const Be=A(Ze);if((Pe||Be&&null!==Ze)&&!$e)try{if(_e.tagName.includes("-"))_e[De]=Ze;else{const Ue=null==Ze?"":Ze;"list"===De?Pe=!1:(null==Me||_e[De]!=Ue)&&(_e[De]=Ue)}}catch{}null==Ze||!1===Ze?(!1!==Ze||""===_e.getAttribute(De))&&_e.removeAttribute(De):(!Pe||4&it||$e)&&!Be&&_e.setAttribute(De,Ze=!0===Ze?"":Ze)}}},o=(_e,De,Me,Ze)=>{const $e=11===De.$elm$.nodeType&&De.$elm$.host?De.$elm$.host:De.$elm$,it=_e&&_e.$attrs$||g,Pe=De.$attrs$||g;for(Ze of u(Object.keys(it)))Ze in Pe||n($e,Ze,it[Ze],void 0,Me,De.$flags$);for(Ze of u(Object.keys(Pe)))n($e,Ze,it[Ze],Pe[Ze],Me,De.$flags$)};function u(_e){return _e.includes("ref")?[..._e.filter(De=>"ref"!==De),"ref"]:_e}const s=(_e,De,Me,Ze)=>{const $e=De.$children$[Me];let Pe,Be,it=0;if(Pe=$e.$elm$=Dt.createElement($e.$tag$),o(null,$e,!1),(_e=>null!=_e)(p)&&Pe["s-si"]!==p&&Pe.classList.add(Pe["s-si"]=p),$e.$children$)for(it=0;it<$e.$children$.length;++it)Be=s(_e,$e,it),Be&&Pe.appendChild(Be);return Pe["s-hn"]=R,Pe},h=(_e,De,Me,Ze,$e,it)=>{let Be,Pe=_e;for(Pe.shadowRoot&&Pe.tagName===R&&(Pe=Pe.shadowRoot);$e<=it;++$e)Ze[$e]&&(Be=s(null,Me,$e),Be&&(Ze[$e].$elm$=Be,Pe.insertBefore(Be,De)))},v=(_e,De,Me)=>{for(let Ze=De;Ze<=Me;++Ze){const $e=_e[Ze];if($e){const it=$e.$elm$;it&&it.remove()}}},f=(_e,De,Me=!1)=>_e.$tag$===De.$tag$,r=(_e,De,Me=!1)=>{const Ze=De.$elm$=_e.$elm$,$e=_e.$children$,it=De.$children$;o(_e,De,!1),null!==$e&&null!==it?((_e,De,Me,Ze,$e=!1)=>{let yt,it=0,Pe=0,Be=De.length-1,Ue=De[0],Ct=De[Be],Je=Ze.length-1,at=Ze[0],Jt=Ze[Je];for(;it<=Be&&Pe<=Je;)null==Ue?Ue=De[++it]:null==Ct?Ct=De[--Be]:null==at?at=Ze[++Pe]:null==Jt?Jt=Ze[--Je]:f(Ue,at,$e)?(r(Ue,at,$e),Ue=De[++it],at=Ze[++Pe]):f(Ct,Jt,$e)?(r(Ct,Jt,$e),Ct=De[--Be],Jt=Ze[--Je]):f(Ue,Jt,$e)?(r(Ue,Jt,$e),_e.insertBefore(Ue.$elm$,Ct.$elm$.nextSibling),Ue=De[++it],Jt=Ze[--Je]):f(Ct,at,$e)?(r(Ct,at,$e),_e.insertBefore(Ct.$elm$,Ue.$elm$),Ct=De[--Be],at=Ze[++Pe]):(yt=s(De&&De[Pe],Me,Pe),at=Ze[++Pe],yt&&Ue.$elm$.parentNode.insertBefore(yt,Ue.$elm$));it>Be?h(_e,null==Ze[Je+1]?null:Ze[Je+1].$elm$,Me,Ze,Pe,Je):Pe>Je&&v(De,it,Be)})(Ze,$e,De,it,Me):null!==it?h(Ze,null,De,it,0,it.length-1):null!==$e&&v($e,0,$e.length-1)},L=(_e,De)=>{De&&!_e.$onRenderResolve$&&De["s-p"]&&De["s-p"].push(new Promise(Me=>_e.$onRenderResolve$=Me))},I=(_e,De)=>{if(_e.$flags$|=16,!(4&_e.$flags$))return L(_e,_e.$ancestorComponent$),Ve(()=>V(_e,De));_e.$flags$|=512},V=(_e,De)=>{const Ze=_e.$lazyInstance$;let $e;return De&&($e=tt(Ze,"componentWillLoad")),q($e,()=>ve(_e,Ze,De))},q=(_e,De)=>oe(_e)?_e.then(De):De(),oe=_e=>_e instanceof Promise||_e&&_e.then&&"function"==typeof _e.then,ve=function(){var _e=(0,a.A)(function*(De,Me,Ze){var $e;const it=De.$hostElement$,Be=it["s-rc"];Ze&&(_e=>{const De=_e.$cmpMeta$,Me=_e.$hostElement$,Ze=De.$flags$,it=((_e,De,Me)=>{var Ze;const $e=m(De),it=Ft.get($e);if(_e=11===_e.nodeType?_e:Dt,it)if("string"==typeof it){let Be,Pe=ie.get(_e=_e.head||_e);if(Pe||ie.set(_e,Pe=new Set),!Pe.has($e)){{Be=Dt.createElement("style"),Be.innerHTML=it;const Ue=null!==(Ze=_t.$nonce$)&&void 0!==Ze?Ze:B(Dt);null!=Ue&&Be.setAttribute("nonce",Ue),_e.insertBefore(Be,_e.querySelector("link"))}4&De.$flags$&&(Be.innerHTML+=_),Pe&&Pe.add($e)}}else _e.adoptedStyleSheets.includes(it)||(_e.adoptedStyleSheets=[..._e.adoptedStyleSheets,it]);return $e})(Me.shadowRoot?Me.shadowRoot:Me.getRootNode(),De);10&Ze&&(Me["s-sc"]=it,Me.classList.add(it+"-h"))})(De);Ae(De,Me,it,Ze),Be&&(Be.map(Ct=>Ct()),it["s-rc"]=void 0);{const Ct=null!==($e=it["s-p"])&&void 0!==$e?$e:[],Je=()=>Q(De);0===Ct.length?Je():(Promise.all(Ct).then(Je),De.$flags$|=4,Ct.length=0)}});return function(Me,Ze,$e){return _e.apply(this,arguments)}}(),Ae=(_e,De,Me,Ze)=>{try{De=De.render(),_e.$flags$&=-17,_e.$flags$|=2,((_e,De,Me=!1)=>{const Ze=_e.$hostElement$,$e=_e.$cmpMeta$,it=_e.$vnode$||$(null,null),Pe=(_e=>_e&&_e.$tag$===k)(De)?De:((_e,De,...Me)=>{let Ze=null,$e=!1,it=!1;const Pe=[],Be=Ct=>{for(let Je=0;Je0&&(Ue.$children$=Pe),Ue})(null,null,De);if(R=Ze.tagName,$e.$attrsToReflect$&&(Pe.$attrs$=Pe.$attrs$||{},$e.$attrsToReflect$.map(([Be,Ue])=>Pe.$attrs$[Ue]=Ze[Be])),Me&&Pe.$attrs$)for(const Be of Object.keys(Pe.$attrs$))Ze.hasAttribute(Be)&&!["key","ref","style","class"].includes(Be)&&(Pe.$attrs$[Be]=Ze[Be]);Pe.$tag$=null,Pe.$flags$|=4,_e.$vnode$=Pe,Pe.$elm$=it.$elm$=Ze.shadowRoot||Ze,p=Ze["s-sc"],r(it,Pe,Me)})(_e,De,Ze)}catch($e){Pt($e,_e.$hostElement$)}return null},Q=_e=>{const Me=_e.$hostElement$,$e=_e.$lazyInstance$,it=_e.$ancestorComponent$;64&_e.$flags$||(_e.$flags$|=64,Oe(Me),tt($e,"componentDidLoad"),_e.$onReadyResolve$(Me),it||ae()),_e.$onInstanceResolve$(Me),_e.$onRenderResolve$&&(_e.$onRenderResolve$(),_e.$onRenderResolve$=void 0),512&_e.$flags$&&Ut(()=>I(_e,!1)),_e.$flags$&=-517},ae=_e=>{Oe(Dt.documentElement),Ut(()=>W(yn,"appload",{detail:{namespace:"jeep-sqlite"}}))},tt=(_e,De,Me)=>{if(_e&&_e[De])try{return _e[De](Me)}catch(Ze){Pt(Ze)}},Oe=_e=>_e.classList.add("hydrated"),Se=(_e,De,Me)=>{var Ze;const $e=_e.prototype;if(De.$members$){_e.watchers&&(De.$watchers$=_e.watchers);const it=Object.entries(De.$members$);if(it.map(([Pe,[Be]])=>{31&Be||2&Me&&32&Be?Object.defineProperty($e,Pe,{get(){return((_e,De)=>gt(this).$instanceValues$.get(De))(0,Pe)},set(Ue){((_e,De,Me,Ze)=>{const $e=gt(_e),it=$e.$hostElement$,Pe=$e.$instanceValues$.get(De),Be=$e.$flags$,Ue=$e.$lazyInstance$;Me=((_e,De)=>null==_e||A(_e)?_e:4&De?"false"!==_e&&(""===_e||!!_e):1&De?String(_e):_e)(Me,Ze.$members$[De][0]);const Ct=Number.isNaN(Pe)&&Number.isNaN(Me);if((!(8&Be)||void 0===Pe)&&Me!==Pe&&!Ct&&($e.$instanceValues$.set(De,Me),Ue)){if(Ze.$watchers$&&128&Be){const at=Ze.$watchers$[De];at&&at.map(Jt=>{try{Ue[Jt](Me,Pe,De)}catch(yt){Pt(yt,it)}})}2==(18&Be)&&I($e,!1)}})(this,Pe,Ue,De)},configurable:!0,enumerable:!0}):1&Me&&64&Be&&Object.defineProperty($e,Pe,{value(...Ue){var Ct;const Je=gt(this);return null===(Ct=null==Je?void 0:Je.$onInstancePromise$)||void 0===Ct?void 0:Ct.then(()=>{var at;return null===(at=Je.$lazyInstance$)||void 0===at?void 0:at[Pe](...Ue)})}})}),1&Me){const Pe=new Map;$e.attributeChangedCallback=function(Be,Ue,Ct){_t.jmp(()=>{var Je;const at=Pe.get(Be);if(this.hasOwnProperty(at))Ct=this[at],delete this[at];else{if($e.hasOwnProperty(at)&&"number"==typeof this[at]&&this[at]==Ct)return;if(null==at){const Jt=gt(this),yt=null==Jt?void 0:Jt.$flags$;if(yt&&!(8&yt)&&128&yt&&Ct!==Ue){const mt=Jt.$lazyInstance$,Wt=null===(Je=De.$watchers$)||void 0===Je?void 0:Je[Be];null==Wt||Wt.forEach(Ot=>{null!=mt[Ot]&&mt[Ot].call(mt,Ct,Ue,Be)})}return}}this[at]=(null!==Ct||"boolean"!=typeof this[at])&&Ct})},_e.observedAttributes=Array.from(new Set([...Object.keys(null!==(Ze=De.$watchers$)&&void 0!==Ze?Ze:{}),...it.filter(([Be,Ue])=>15&Ue[0]).map(([Be,Ue])=>{var Ct;const Je=Ue[1]||Be;return Pe.set(Je,Be),512&Ue[0]&&(null===(Ct=De.$attrsToReflect$)||void 0===Ct||Ct.push([Be,Je])),Je})]))}}return _e},re=function(){var _e=(0,a.A)(function*(De,Me,Ze,$e){let it;if(!(32&Me.$flags$)){if(Me.$flags$|=32,Ze.$lazyBundleId$){if(it=It(Ze),it.then){const Je=()=>{};it=yield it,Je()}it.isProxied||(Ze.$watchers$=it.watchers,Se(it,Ze,2),it.isProxied=!0);const Ct=()=>{};Me.$flags$|=8;try{new it(Me)}catch(Je){Pt(Je)}Me.$flags$&=-9,Me.$flags$|=128,Ct(),ne(Me.$lazyInstance$)}else it=De.constructor,customElements.whenDefined(Ze.$tagName$).then(()=>Me.$flags$|=128);if(it.style){let Ct=it.style;const Je=m(Ze);if(!Ft.has(Je)){const at=()=>{};((_e,De,Me)=>{let Ze=Ft.get(_e);St&&Me?(Ze=Ze||new CSSStyleSheet,"string"==typeof Ze?Ze=De:Ze.replaceSync(De)):Ze=De,Ft.set(_e,Ze)})(Je,Ct,!!(1&Ze.$flags$)),at()}}}const Pe=Me.$ancestorComponent$,Be=()=>I(Me,!0);Pe&&Pe["s-rc"]?Pe["s-rc"].push(Be):Be()});return function(Me,Ze,$e,it){return _e.apply(this,arguments)}}(),ne=_e=>{tt(_e,"connectedCallback")},vt=function(){var _e=(0,a.A)(function*(De){if(!(1&_t.$flags$)){const Me=gt(De);null!=Me&&Me.$lazyInstance$||null!=Me&&Me.$onReadyPromise$&&Me.$onReadyPromise$.then(()=>{})}});return function(Me){return _e.apply(this,arguments)}}(),Qe=(_e,De={})=>{var Me;const $e=[],it=De.exclude||[],Pe=yn.customElements,Be=Dt.head,Ue=Be.querySelector("meta[charset]"),Ct=Dt.createElement("style"),Je=[];let at,Jt=!0;Object.assign(_t,De),_t.$resourcesUrl$=new URL(De.resourcesUrl||"./",Dt.baseURI).href;let yt=!1;if(_e.map(mt=>{mt[1].map(Wt=>{var Ot;const Rt={$flags$:Wt[0],$tagName$:Wt[1],$members$:Wt[2],$listeners$:Wt[3]};4&Rt.$flags$&&(yt=!0),Rt.$members$=Wt[2],Rt.$attrsToReflect$=[],Rt.$watchers$=null!==(Ot=Wt[4])&&void 0!==Ot?Ot:{};const Fn=Rt.$tagName$,An=class extends HTMLElement{constructor(wn){super(wn),on(wn=this,Rt),1&Rt.$flags$&&wn.attachShadow({mode:"open"})}connectedCallback(){at&&(clearTimeout(at),at=null),Jt?Je.push(this):_t.jmp(()=>(_e=>{if(!(1&_t.$flags$)){const De=gt(_e),Me=De.$cmpMeta$,Ze=()=>{};if(1&De.$flags$)null!=De&&De.$lazyInstance$?ne(De.$lazyInstance$):null!=De&&De.$onReadyPromise$&&De.$onReadyPromise$.then(()=>ne(De.$lazyInstance$));else{De.$flags$|=1;{let $e=_e;for(;$e=$e.parentNode||$e.host;)if($e["s-p"]){L(De,De.$ancestorComponent$=$e);break}}Me.$members$&&Object.entries(Me.$members$).map(([$e,[it]])=>{if(31&it&&_e.hasOwnProperty($e)){const Pe=_e[$e];delete _e[$e],_e[$e]=Pe}}),re(_e,De,Me)}Ze()}})(this))}disconnectedCallback(){_t.jmp(()=>vt(this))}componentOnReady(){return gt(this).$onReadyPromise$}};Rt.$lazyBundleId$=mt[0],!it.includes(Fn)&&!Pe.get(Fn)&&($e.push(Fn),Pe.define(Fn,Se(An,Rt,1)))})}),$e.length>0&&(yt&&(Ct.textContent+=_),Ct.textContent+=$e+"{visibility:hidden}.hydrated{visibility:inherit}",Ct.innerHTML.length)){Ct.setAttribute("data-styles","");const mt=null!==(Me=_t.$nonce$)&&void 0!==Me?Me:B(Dt);null!=mt&&Ct.setAttribute("nonce",mt),Be.insertBefore(Ct,Ue?Ue.nextSibling:Be.firstChild)}Jt=!1,Je.length?Je.map(mt=>mt.connectedCallback()):_t.jmp(()=>at=setTimeout(ae,30))},nn=new WeakMap,gt=_e=>nn.get(_e),ht=(_e,De)=>nn.set(De.$lazyInstance$=_e,De),on=(_e,De)=>{const Me={$flags$:0,$hostElement$:_e,$cmpMeta$:De,$instanceValues$:new Map};return Me.$onInstancePromise$=new Promise(Ze=>Me.$onInstanceResolve$=Ze),Me.$onReadyPromise$=new Promise(Ze=>Me.$onReadyResolve$=Ze),_e["s-p"]=[],_e["s-rc"]=[],nn.set(_e,Me)},Mt=(_e,De)=>De in _e,Pt=(_e,De)=>(0,console.error)(_e,De),En=new Map,It=(_e,De,Me)=>{const Ze=_e.$tagName$.replace(/-/g,"_"),$e=_e.$lazyBundleId$,it=En.get($e);return it?it[Ze]:E(7321)(`./${$e}.entry.js`).then(Pe=>(En.set($e,Pe),Pe[Ze]),Pt)},Ft=new Map,yn=typeof window<"u"?window:{},Dt=yn.document||{head:{}},_t={$flags$:0,$resourcesUrl$:"",jmp:_e=>_e(),raf:_e=>requestAnimationFrame(_e),ael:(_e,De,Me,Ze)=>_e.addEventListener(De,Me,Ze),rel:(_e,De,Me,Ze)=>_e.removeEventListener(De,Me,Ze),ce:(_e,De)=>new CustomEvent(_e,De)},St=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),dt=[],Sn=[],kt=(_e,De)=>Me=>{_e.push(Me),D||(D=!0,De&&4&_t.$flags$?Ut(Un):_t.raf(Un))},Nt=_e=>{for(let De=0;De<_e.length;De++)try{_e[De](performance.now())}catch(Me){Pt(Me)}_e.length=0},Un=()=>{Nt(dt),Nt(Sn),(D=dt.length>0)&&_t.raf(Un)},Ut=_e=>Promise.resolve(void 0).then(_e),Ve=kt(Sn,!0)},4801:function(Ce){typeof self<"u"&&self,Ce.exports=function(ee){var E={};function a(S){if(E[S])return E[S].exports;var p=E[S]={i:S,l:!1,exports:{}};return ee[S].call(p.exports,p,p.exports,a),p.l=!0,p.exports}return a.m=ee,a.c=E,a.d=function(S,p,R){a.o(S,p)||Object.defineProperty(S,p,{configurable:!1,enumerable:!0,get:R})},a.n=function(S){var p=S&&S.__esModule?function(){return S.default}:function(){return S};return a.d(p,"a",p),p},a.o=function(S,p){return Object.prototype.hasOwnProperty.call(S,p)},a.p="",a(a.s=3)}([function(ee,E,a){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var S=function(){function p(R,c){this.width=c,this.height=R.length/c,this.data=R}return p.createEmpty=function(R,c){return new p(new Uint8ClampedArray(R*c),R)},p.prototype.get=function(R,c){return!(R<0||R>=this.width||c<0||c>=this.height||!this.data[c*this.width+R])},p.prototype.set=function(R,c,D){this.data[c*this.width+R]=D?1:0},p.prototype.setRegion=function(R,c,D,C,w){for(var T=c;T=this.size&&(T=(T^this.primitive)&this.size-1);for(_=0;_1&&0===D[0]){for(var w=1;ww.length&&(C=(D=[w,C])[0],w=D[1]);for(var T=new Uint8ClampedArray(w.length),_=w.length-C.length,g=0;g<_;g++)T[g]=w[g];for(g=_;g_?_:w}var D=function(){function w(T,_){this.width=T,this.data=new Uint8ClampedArray(T*_)}return w.prototype.get=function(T,_){return this.data[_*this.width+T]},w.prototype.set=function(T,_,g){this.data[_*this.width+T]=g},w}();E.binarize=function C(w,T,_,g){if(w.length!==T*_*4)throw new Error("Malformed data passed to binarizer.");for(var F=new D(T,_),A=0;A0&&W>0)){var n=(U.get(W,j-1)+2*U.get(W-1,j)+U.get(W-1,j-1))/4;me6&&(O.setRegion(M-11,0,3,6,!0),O.setRegion(0,M-11,6,3,!0)),O}(M),ie=[],me=0,te=0,se=!0,m=j-1;m>0;m-=2){6===m&&m--;for(var n=0;n=0;j--)for(var W=M-9;W>=M-11;W--)U=C(k.get(W,j),U);var ie=0;for(W=5;W>=0;W--)for(j=M-9;j>=M-11;j--)ie=C(k.get(W,j),ie);for(var te,me=1/0,se=0,m=c.VERSIONS;se=0;U--)6!==U&&(M=C(k.get(8,U),M));var j=k.height,W=0;for(U=j-1;U>=j-7;U--)W=C(k.get(8,U),W);for(O=j-8;O1){var n=U.ecBlocks[0].numBlocks,o=U.ecBlocks[1].numBlocks;for(me=0;me0;)for(var u=0,s=j;u=3;){if((M=F.readBits(10))>=1e3)throw new Error("Invalid numeric value above 999");var O=Math.floor(M/100),U=Math.floor(M/10)%10,j=M%10;B.push(48+O,48+U,48+j),P+=O.toString()+U.toString()+j.toString(),k-=3}if(2===k){if((M=F.readBits(7))>=100)throw new Error("Invalid numeric value above 99");O=Math.floor(M/10),B.push(48+O,48+(U=M%10)),P+=O.toString()+U.toString()}else if(1===k){var M;if((M=F.readBits(4))>=10)throw new Error("Invalid numeric value above 9");B.push(48+M),P+=M.toString()}return{bytes:B,text:P}}var C=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function w(F,A){for(var B=[],P="",k=F.readBits([9,11,13][A]);k>=2;){var M=F.readBits(11),O=Math.floor(M/45),U=M%45;B.push(C[O].charCodeAt(0),C[U].charCodeAt(0)),P+=C[O]+C[U],k-=2}return 1===k&&(O=F.readBits(6),B.push(C[O].charCodeAt(0)),P+=C[O]),{bytes:B,text:P}}function T(F,A){for(var B=[],P="",k=F.readBits([8,16,16][A]),M=0;M>8,255&U),P+=String.fromCharCode(p.shiftJISTable[U])}return{bytes:B,text:P}}E.decode=function g(F,A){for(var B,P,$,k,M=new S.BitStream(F),O=A<=9?0:A<=26?1:2,U={text:"",bytes:[],chunks:[],version:A};M.available()>=4;){var j=M.readBits(4);if(j===c.Terminator)return U;if(j===c.ECI)0===M.readBits(1)?U.chunks.push({type:R.ECI,assignmentNumber:M.readBits(7)}):0===M.readBits(1)?U.chunks.push({type:R.ECI,assignmentNumber:M.readBits(14)}):0===M.readBits(1)?U.chunks.push({type:R.ECI,assignmentNumber:M.readBits(21)}):U.chunks.push({type:R.ECI,assignmentNumber:-1});else if(j===c.Numeric){var W=D(M,O);U.text+=W.text,(B=U.bytes).push.apply(B,W.bytes),U.chunks.push({type:R.Numeric,text:W.text})}else if(j===c.Alphanumeric){var ie=w(M,O);U.text+=ie.text,(P=U.bytes).push.apply(P,ie.bytes),U.chunks.push({type:R.Alphanumeric,text:ie.text})}else if(j===c.Byte){var me=T(M,O);U.text+=me.text,($=U.bytes).push.apply($,me.bytes),U.chunks.push({type:R.Byte,bytes:me.bytes,text:me.text})}else if(j===c.Kanji){var te=_(M,O);U.text+=te.text,(k=U.bytes).push.apply(k,te.bytes),U.chunks.push({type:R.Kanji,bytes:te.bytes,text:te.text})}}if(0===M.available()||0===M.readBits(M.available()))return U}},function(ee,E,a){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var S=function(){function p(R){this.byteOffset=0,this.bitOffset=0,this.bytes=R}return p.prototype.readBits=function(R){if(R<1||R>32||R>this.available())throw new Error("Cannot read "+R.toString()+" bits");var c=0;if(this.bitOffset>0){var D=8-this.bitOffset,C=R>8-C<<(w=D-C))>>w,R-=C,this.bitOffset+=C,8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(R>0){for(;R>=8;)c=c<<8|255&this.bytes[this.byteOffset],this.byteOffset++,R-=8;var w;R>0&&(c=c<>(w=8-R)<>w,this.bitOffset+=R)}return c},p.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},p}();E.BitStream=S},function(ee,E,a){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}},function(ee,E,a){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var S=a(1),p=a(2);E.decode=function C(w,T){var _=new Uint8ClampedArray(w.length);_.set(w);for(var g=new S.default(285,256,0),F=new p.default(g,_),A=new Uint8ClampedArray(T),B=!1,P=0;P=g/2;){var k=A,M=P;if(P=$,(A=B).isZero())return null;B=k;for(var O=w.zero,U=A.getCoefficient(A.degree()),j=w.inverse(U);B.degree()>=A.degree()&&!B.isZero();){var W=B.degree()-A.degree(),ie=w.multiply(B.getCoefficient(B.degree()),j);O=O.addOrSubtract(w.buildMonomial(W,ie)),B=B.addOrSubtract(A.multiplyByMonomial(W,ie))}if($=O.multiplyPoly(P).addOrSubtract(M),B.degree()>=A.degree())return null}var me=$.getCoefficient(0);if(0===me)return null;var te=w.inverse(me);return[$.multiply(te),B.multiply(te)]}(g,g.buildMonomial(T,1),k,T);if(null===M)return null;var O=function c(w,T){var _=T.degree();if(1===_)return[T.getCoefficient(1)];for(var g=new Array(_),F=0,A=1;AMath.abs(k.x-$.x);j?(W=Math.floor($.y),ie=Math.floor($.x),me=Math.floor(k.y),te=Math.floor(k.x)):(W=Math.floor($.x),ie=Math.floor($.y),me=Math.floor(k.x),te=Math.floor(k.y));for(var se=Math.abs(me-W),m=Math.abs(te-ie),n=Math.floor(-se/2),o=W0){if(v===te)break;v+=u,n-=se}}for(var r=[],d=0;d=15&&n.length?n[0]:m,dimension:W}}E.locate=function B($){for(var k=[],M=[],O=[],U=[],j=function(y){for(var f=0,r=!1,d=[0,0,0,0,0],L=function(V){var q=$.get(V,y);if(q===r)f++;else{d=[d[1],d[2],d[3],d[4],f],f=1,r=q;var oe=D(d)/7,ve=Math.abs(d[0]-oe)=re.bottom.startX&&tt<=re.bottom.endX||ae>=re.bottom.startX&&tt<=re.bottom.endX||tt<=re.bottom.startX&&ae>=re.bottom.endX&&d[2]/(re.bottom.endX-re.bottom.startX)<1.5&&d[2]/(re.bottom.endX-re.bottom.startX)>.5})).length>0?pe[0].bottom=Oe:M.push({top:Oe,bottom:Oe})}if(Q){var pe,Ie=V-d[4],Se=Ie-d[3];Oe={startX:Se,y,endX:Ie},(pe=U.filter(function(G){return Se>=G.bottom.startX&&Se<=G.bottom.endX||Ie>=G.bottom.startX&&Se<=G.bottom.endX||Se<=G.bottom.startX&&Ie>=G.bottom.endX&&d[2]/(G.bottom.endX-G.bottom.startX)<1.5&&d[2]/(G.bottom.endX-G.bottom.startX)>.5})).length>0?pe[0].bottom=Oe:U.push({top:Oe,bottom:Oe})}}},I=-1;I<=$.width;I++)L(I);k.push.apply(k,M.filter(function(V){return V.bottom.y!==y&&V.bottom.y-V.top.y>=2})),M=M.filter(function(V){return V.bottom.y===y}),O.push.apply(O,U.filter(function(V){return V.bottom.y!==y})),U=U.filter(function(V){return V.bottom.y===y})},W=0;W<=$.height;W++)j(W);k.push.apply(k,M.filter(function(y){return y.bottom.y-y.top.y>=2})),O.push.apply(O,U);var ie=k.filter(function(y){return y.bottom.y-y.top.y>=2}).map(function(y){var f=(y.top.startX+y.top.endX+y.bottom.startX+y.bottom.endX)/4,r=(y.top.y+y.bottom.y+1)/2;if($.get(Math.round(f),Math.round(r))){var d=[y.top.endX-y.top.startX,y.bottom.endX-y.bottom.startX,y.bottom.y-y.top.y+1],L=D(d)/d.length;return{score:F({x:Math.round(f),y:Math.round(r)},[1,1,3,1,1],$),x:f,y:r,size:L}}}).filter(function(y){return!!y}).sort(function(y,f){return y.score-f.score}).map(function(y,f,r){if(f>4)return null;var d=r.filter(function(I,V){return f!==V}).map(function(I){return{x:I.x,y:I.y,score:I.score+Math.pow(I.size-y.size,2)/y.size,size:I.size}}).sort(function(I,V){return I.score-V.score});if(d.length<2)return null;var L=y.score+d[0].score+d[1].score;return{points:[y].concat(d.slice(0,2)),score:L}}).filter(function(y){return!!y}).sort(function(y,f){return y.score-f.score});if(0===ie.length)return null;var me=function C($,k,M){var O,U,j,W,se,m,n,ie=c($,k),me=c(k,M),te=c($,M);return me>=ie&&me>=te?(se=(O=[k,$,M])[0],m=O[1],n=O[2]):te>=me&&te>=ie?(se=(U=[$,k,M])[0],m=U[1],n=U[2]):(se=(j=[$,M,k])[0],m=j[1],n=j[2]),(n.x-m.x)*(se.y-m.y)-(n.y-m.y)*(se.x-m.x)<0&&(se=(W=[n,se])[0],n=W[1]),{bottomLeft:se,topLeft:m,topRight:n}}(ie[0].points[0],ie[0].points[1],ie[0].points[2]),te=me.topRight,se=me.topLeft,m=me.bottomLeft,n=P($,O,te,se,m),o=[];n&&o.push({alignmentPattern:{x:n.alignmentPattern.x,y:n.alignmentPattern.y},bottomLeft:{x:m.x,y:m.y},dimension:n.dimension,topLeft:{x:se.x,y:se.y},topRight:{x:te.x,y:te.y}});var u=A($,te),s=A($,se),h=A($,m),v=P($,O,u,s,h);return v&&o.push({alignmentPattern:{x:v.alignmentPattern.x,y:v.alignmentPattern.y},bottomLeft:{x:h.x,y:h.y},topLeft:{x:s.x,y:s.y},topRight:{x:u.x,y:u.y},dimension:v.dimension}),0===o.length?null:o}}]).default},4725:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(3686),p=E(7054).Buffer,R=new Array(16);function c(){S.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function D(g,F){return g<>>32-F}function C(g,F,A,B,P,$,k){return D(g+(F&A|~F&B)+P+$|0,k)+F|0}function w(g,F,A,B,P,$,k){return D(g+(F&B|A&~B)+P+$|0,k)+F|0}function T(g,F,A,B,P,$,k){return D(g+(F^A^B)+P+$|0,k)+F|0}function _(g,F,A,B,P,$,k){return D(g+(A^(F|~B))+P+$|0,k)+F|0}a(c,S),c.prototype._update=function(){for(var g=R,F=0;F<16;++F)g[F]=this._block.readInt32LE(4*F);var A=this._a,B=this._b,P=this._c,$=this._d;A=C(A,B,P,$,g[0],3614090360,7),$=C($,A,B,P,g[1],3905402710,12),P=C(P,$,A,B,g[2],606105819,17),B=C(B,P,$,A,g[3],3250441966,22),A=C(A,B,P,$,g[4],4118548399,7),$=C($,A,B,P,g[5],1200080426,12),P=C(P,$,A,B,g[6],2821735955,17),B=C(B,P,$,A,g[7],4249261313,22),A=C(A,B,P,$,g[8],1770035416,7),$=C($,A,B,P,g[9],2336552879,12),P=C(P,$,A,B,g[10],4294925233,17),B=C(B,P,$,A,g[11],2304563134,22),A=C(A,B,P,$,g[12],1804603682,7),$=C($,A,B,P,g[13],4254626195,12),P=C(P,$,A,B,g[14],2792965006,17),A=w(A,B=C(B,P,$,A,g[15],1236535329,22),P,$,g[1],4129170786,5),$=w($,A,B,P,g[6],3225465664,9),P=w(P,$,A,B,g[11],643717713,14),B=w(B,P,$,A,g[0],3921069994,20),A=w(A,B,P,$,g[5],3593408605,5),$=w($,A,B,P,g[10],38016083,9),P=w(P,$,A,B,g[15],3634488961,14),B=w(B,P,$,A,g[4],3889429448,20),A=w(A,B,P,$,g[9],568446438,5),$=w($,A,B,P,g[14],3275163606,9),P=w(P,$,A,B,g[3],4107603335,14),B=w(B,P,$,A,g[8],1163531501,20),A=w(A,B,P,$,g[13],2850285829,5),$=w($,A,B,P,g[2],4243563512,9),P=w(P,$,A,B,g[7],1735328473,14),A=T(A,B=w(B,P,$,A,g[12],2368359562,20),P,$,g[5],4294588738,4),$=T($,A,B,P,g[8],2272392833,11),P=T(P,$,A,B,g[11],1839030562,16),B=T(B,P,$,A,g[14],4259657740,23),A=T(A,B,P,$,g[1],2763975236,4),$=T($,A,B,P,g[4],1272893353,11),P=T(P,$,A,B,g[7],4139469664,16),B=T(B,P,$,A,g[10],3200236656,23),A=T(A,B,P,$,g[13],681279174,4),$=T($,A,B,P,g[0],3936430074,11),P=T(P,$,A,B,g[3],3572445317,16),B=T(B,P,$,A,g[6],76029189,23),A=T(A,B,P,$,g[9],3654602809,4),$=T($,A,B,P,g[12],3873151461,11),P=T(P,$,A,B,g[15],530742520,16),A=_(A,B=T(B,P,$,A,g[2],3299628645,23),P,$,g[0],4096336452,6),$=_($,A,B,P,g[7],1126891415,10),P=_(P,$,A,B,g[14],2878612391,15),B=_(B,P,$,A,g[5],4237533241,21),A=_(A,B,P,$,g[12],1700485571,6),$=_($,A,B,P,g[3],2399980690,10),P=_(P,$,A,B,g[10],4293915773,15),B=_(B,P,$,A,g[1],2240044497,21),A=_(A,B,P,$,g[8],1873313359,6),$=_($,A,B,P,g[15],4264355552,10),P=_(P,$,A,B,g[6],2734768916,15),B=_(B,P,$,A,g[13],1309151649,21),A=_(A,B,P,$,g[4],4149444226,6),$=_($,A,B,P,g[11],3174756917,10),P=_(P,$,A,B,g[2],718787259,15),B=_(B,P,$,A,g[9],3951481745,21),this._a=this._a+A|0,this._b=this._b+B|0,this._c=this._c+P|0,this._d=this._d+$|0},c.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=p.allocUnsafe(16);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g},Ce.exports=c},3459:(Ce,ee,E)=>{var a=E(7223),S=E(5294);function p(R){this.rand=R||new S.Rand}Ce.exports=p,p.create=function(c){return new p(c)},p.prototype._randbelow=function(c){var D=c.bitLength(),C=Math.ceil(D/8);do{var w=new a(this.rand.generate(C))}while(w.cmp(c)>=0);return w},p.prototype._randrange=function(c,D){var C=D.sub(c);return c.add(this._randbelow(C))},p.prototype.test=function(c,D,C){var w=c.bitLength(),T=a.mont(c),_=new a(1).toRed(T);D||(D=Math.max(1,w/48|0));for(var g=c.subn(1),F=0;!g.testn(F);F++);for(var A=c.shrn(F),B=g.toRed(T);D>0;D--){var $=this._randrange(new a(2),g);C&&C($);var k=$.toRed(T).redPow(A);if(0!==k.cmp(_)&&0!==k.cmp(B)){for(var M=1;M0;D--){var B=this._randrange(new a(2),_),P=c.gcd(B);if(0!==P.cmpn(1))return P;var $=B.toRed(w).redPow(F);if(0!==$.cmp(T)&&0!==$.cmp(A)){for(var k=1;k=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,dt=Cn>>>13,Sn=0|h[2],kt=8191&Sn,Nt=Sn>>>13,Un=0|h[3],Ut=8191&Un,Ve=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],$e=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ue=Pe>>>13,Ct=0|h[7],Je=8191&Ct,at=Ct>>>13,Jt=0|h[8],yt=8191&Jt,mt=Jt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var Fn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var An=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,dt)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,dt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,dt)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,dt)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,dt)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,dt)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,dt)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,dt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Ut)|0,r=(r=r+Math.imul(oe,Ve)|0)+Math.imul(ve,Ut)|0,d=d+Math.imul(ve,Ve)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,dt)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,dt)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,$e)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,dt)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,dt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,Ve)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,$e)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,$e)|0,d=d+Math.imul(ve,it)|0;var Pn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ue)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ue)|0)+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,dt)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,dt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(re,Ut)|0,d=d+Math.imul(re,Ve)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,$e)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,$e)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,Ue)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,Ue)|0;var Ln=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,at)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,at)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,dt)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,dt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,$e)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ue)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ue)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,at)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,at)|0;var Kn=(y+(f=f+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,yt)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,dt)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,dt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,$e)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,$e)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,Ue)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ue)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,at)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,at)|0,f=f+Math.imul(oe,yt)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,yt)|0,d=d+Math.imul(ve,mt)|0;var Gn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,dt))+Math.imul(Ft,St)|0,d=Math.imul(Ft,dt),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ht,Ut)|0,d=d+Math.imul(ht,Ve)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,$e)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,$e)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ue)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,Ue)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,at)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,at)|0,f=f+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,yt)|0,d=d+Math.imul(ae,mt)|0;var $n=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Ut)|0,r=(r=r+Math.imul(Mt,Ve)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,$e)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,$e)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ue)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ue)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,at)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,at)|0,f=f+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,yt)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(It,Ut),r=(r=Math.imul(It,Ve))+Math.imul(Ft,Ut)|0,d=Math.imul(Ft,Ve),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,$e)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,$e)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ue)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ue)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,at)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,at)|0,f=f+Math.imul(Se,yt)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,yt)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,$e)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,$e)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ue)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,Ue)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,at)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,at)|0,f=f+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,yt)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,$e),r=(r=Math.imul(It,it))+Math.imul(Ft,$e)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,Ue)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ue)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,at)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,at)|0,f=f+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,yt)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,Ue))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,Ue),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,at)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,at)|0,f=f+Math.imul(gt,yt)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,yt)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,at))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,at),f=f+Math.imul(Mt,yt)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,yt)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,yt),r=(r=Math.imul(It,mt))+Math.imul(Ft,yt)|0,d=Math.imul(Ft,mt);var qt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=Fn,v[1]=An,v[2]=wn,v[3]=bn,v[4]=Wn,v[5]=Vn,v[6]=Pn,v[7]=Ln,v[8]=Kn,v[9]=Gn,v[10]=$n,v[11]=je,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=qt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},9210:Ce=>{function ee(E,a){if(!E)throw new Error(a||"Assertion failed")}Ce.exports=ee,ee.equal=function(a,S,p){if(a!=S)throw new Error(p||"Assertion failed: "+a+" != "+S)}},1832:(Ce,ee)=>{"use strict";var E=ee;function S(R){return 1===R.length?"0"+R:R}function p(R){for(var c="",D=0;D>8,_=255&w;T?D.push(T,_):D.push(_)}return D},E.zero2=S,E.toHex=p,E.encode=function(c,D){return"hex"===D?p(c):c}},3138:(Ce,ee,E)=>{"use strict";var a=E(1990);ee.certificate=E(4772);var S=a.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});ee.RSAPrivateKey=S;var p=a.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ee.RSAPublicKey=p;var R=a.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=a.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(R),this.key("subjectPublicKey").bitstr())});ee.PublicKey=c;var D=a.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(R),this.key("subjectPrivateKey").octstr())});ee.PrivateKey=D;var C=a.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});ee.EncryptedPrivateKey=C;var w=a.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});ee.DSAPrivateKey=w,ee.DSAparam=a.define("DSAparam",function(){this.int()});var T=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),_=a.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(T),this.key("publicKey").optional().explicit(1).bitstr())});ee.ECPrivateKey=_,ee.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(Ce,ee,E)=>{"use strict";var a=E(1990),S=a.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),p=a.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),R=a.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),c=a.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(R),this.key("subjectPublicKey").bitstr())}),D=a.define("RelativeDistinguishedName",function(){this.setof(p)}),C=a.define("RDNSequence",function(){this.seqof(D)}),w=a.define("Name",function(){this.choice({rdnSequence:this.use(C)})}),T=a.define("Validity",function(){this.seq().obj(this.key("notBefore").use(S),this.key("notAfter").use(S))}),_=a.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),g=a.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(R),this.key("issuer").use(w),this.key("validity").use(T),this.key("subject").use(w),this.key("subjectPublicKeyInfo").use(c),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(_).optional())}),F=a.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(g),this.key("signatureAlgorithm").use(R),this.key("signatureValue").bitstr())});Ce.exports=F},9472:(Ce,ee,E)=>{"use strict";var a=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,S=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,p=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,R=E(8211),c=E(3388),D=E(7054).Buffer;Ce.exports=function(C,w){var g,T=C.toString(),_=T.match(a);if(_){var A="aes"+_[1],B=D.from(_[2],"hex"),P=D.from(_[3].replace(/[\r\n]/g,""),"base64"),$=R(w,B.slice(0,8),parseInt(_[1],10)).key,k=[],M=c.createDecipheriv(A,$,B);k.push(M.update(P)),k.push(M.final()),g=D.concat(k)}else{var F=T.match(p);g=D.from(F[2].replace(/[\r\n]/g,""),"base64")}return{tag:T.match(S)[1],data:g}}},5667:(Ce,ee,E)=>{"use strict";var a=E(3138),S=E(5579),p=E(9472),R=E(3388),c=E(3397),D=E(7054).Buffer;function w(T){var _;"object"==typeof T&&!D.isBuffer(T)&&(_=T.passphrase,T=T.key),"string"==typeof T&&(T=D.from(T));var B,P,g=p(T,_),F=g.tag,A=g.data;switch(F){case"CERTIFICATE":P=a.certificate.decode(A,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(P||(P=a.PublicKey.decode(A,"der")),B=P.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPublicKey.decode(P.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return P.subjectPrivateKey=P.subjectPublicKey,{type:"ec",data:P};case"1.2.840.10040.4.1":return P.algorithm.params.pub_key=a.DSAparam.decode(P.subjectPublicKey.data,"der"),{type:"dsa",data:P.algorithm.params};default:throw new Error("unknown key id "+B)}case"ENCRYPTED PRIVATE KEY":A=function C(T,_){var g=T.algorithm.decrypt.kde.kdeparams.salt,F=parseInt(T.algorithm.decrypt.kde.kdeparams.iters.toString(),10),A=S[T.algorithm.decrypt.cipher.algo.join(".")],B=T.algorithm.decrypt.cipher.iv,P=T.subjectPrivateKey,$=parseInt(A.split("-")[1],10)/8,k=c.pbkdf2Sync(_,g,F,$,"sha1"),M=R.createDecipheriv(A,k,B),O=[];return O.push(M.update(P)),O.push(M.final()),D.concat(O)}(A=a.EncryptedPrivateKey.decode(A,"der"),_);case"PRIVATE KEY":switch(B=(P=a.PrivateKey.decode(A,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPrivateKey.decode(P.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:P.algorithm.curve,privateKey:a.ECPrivateKey.decode(P.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return P.algorithm.params.priv_key=a.DSAparam.decode(P.subjectPrivateKey,"der"),{type:"dsa",params:P.algorithm.params};default:throw new Error("unknown key id "+B)}case"RSA PUBLIC KEY":return a.RSAPublicKey.decode(A,"der");case"RSA PRIVATE KEY":return a.RSAPrivateKey.decode(A,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:a.DSAPrivateKey.decode(A,"der")};case"EC PRIVATE KEY":return{curve:(A=a.ECPrivateKey.decode(A,"der")).parameters.value,privateKey:A.privateKey};default:throw new Error("unknown key type "+F)}}w.signature=a.signature,Ce.exports=w},3397:(Ce,ee,E)=>{ee.pbkdf2=E(2685),ee.pbkdf2Sync=E(9111)},2685:(Ce,ee,E)=>{var D,g,a=E(7054).Buffer,S=E(6111),p=E(5392),R=E(9111),c=E(6643),C=global.crypto&&global.crypto.subtle,w={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},T=[];function F(){return g||(g=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function A(P,$,k,M,O){return C.importKey("raw",P,{name:"PBKDF2"},!1,["deriveBits"]).then(function(U){return C.deriveBits({name:"PBKDF2",salt:$,iterations:k,hash:{name:O}},U,M<<3)}).then(function(U){return a.from(U)})}Ce.exports=function(P,$,k,M,O,U){"function"==typeof O&&(U=O,O=void 0);var j=w[(O=O||"sha1").toLowerCase()];if(j&&"function"==typeof global.Promise){if(S(k,M),P=c(P,p,"Password"),$=c($,p,"Salt"),"function"!=typeof U)throw new Error("No callback provided to pbkdf2");!function B(P,$){P.then(function(k){F()(function(){$(null,k)})},function(k){F()(function(){$(k)})})}(function _(P){if(global.process&&!global.process.browser||!C||!C.importKey||!C.deriveBits)return Promise.resolve(!1);if(void 0!==T[P])return T[P];var $=A(D=D||a.alloc(8),D,10,128,P).then(function(){return!0}).catch(function(){return!1});return T[P]=$,$}(j).then(function(W){return W?A(P,$,k,M,j):R(P,$,k,M,O)}),U)}else F()(function(){var W;try{W=R(P,$,k,M,O)}catch(ie){return U(ie)}U(null,W)})}},5392:Ce=>{var ee;ee=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",Ce.exports=ee},6111:Ce=>{var ee=Math.pow(2,30)-1;Ce.exports=function(E,a){if("number"!=typeof E)throw new TypeError("Iterations not a number");if(E<0)throw new TypeError("Bad iterations");if("number"!=typeof a)throw new TypeError("Key length not a number");if(a<0||a>ee||a!=a)throw new TypeError("Bad key length")}},9111:(Ce,ee,E)=>{var a=E(3407),S=E(6636),p=E(5443),R=E(7054).Buffer,c=E(6111),D=E(5392),C=E(6643),w=R.alloc(128),T={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function _(A,B,P){var $=function g(A){return"rmd160"===A||"ripemd160"===A?function P($){return(new S).update($).digest()}:"md5"===A?a:function B($){return p(A).update($).digest()}}(A),k="sha512"===A||"sha384"===A?128:64;B.length>k?B=$(B):B.length{var a=E(7054).Buffer;Ce.exports=function(S,p,R){if(a.isBuffer(S))return S;if("string"==typeof S)return a.from(S,p);if(ArrayBuffer.isView(S))return a.from(S.buffer);throw new TypeError(R+" must be a string, a Buffer, a typed array or a DataView")}},9656:Ce=>{"use strict";Ce.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function ee(E,a,S,p){if("function"!=typeof E)throw new TypeError('"callback" argument must be a function');var c,D,R=arguments.length;switch(R){case 0:case 1:return process.nextTick(E);case 2:return process.nextTick(function(){E.call(null,a)});case 3:return process.nextTick(function(){E.call(null,a,S)});case 4:return process.nextTick(function(){E.call(null,a,S,p)});default:for(c=new Array(R-1),D=0;D{ee.publicEncrypt=E(7267),ee.privateDecrypt=E(8613),ee.privateEncrypt=function(S,p){return ee.publicEncrypt(S,p,!0)},ee.publicDecrypt=function(S,p){return ee.privateDecrypt(S,p,!0)}},715:(Ce,ee,E)=>{var a=E(7211),S=E(7054).Buffer;function p(R){var c=S.allocUnsafe(4);return c.writeUInt32BE(R,0),c}Ce.exports=function(R,c){for(var w,D=S.alloc(0),C=0;D.length=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function w(m,n,o){var u=C(m,o);return o-1>=n&&(u|=C(m,o-1)<<4),u}function T(m,n,o,u){for(var s=0,h=Math.min(m.length,o),v=n;v=49?y-49+10:y>=17?y-17+10:y}return s}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,u){if("number"==typeof n)return this._initNumber(n,o,u);if("object"==typeof n)return this._initArray(n,o,u);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var s=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(s++,this.negative=1),s=0;s-=3)this.words[h]|=(v=n[s]|n[s-1]<<8|n[s-2]<<16)<>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);else if("le"===u)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,u){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var s=0;s=o;s-=2)y=w(n,o,s)<=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;else for(s=(n.length-o)%2==0?o+1:o;s=18?(h-=18,this.words[v+=1]|=y>>>26):h+=8;this.strip()},c.prototype._parseBase=function(n,o,u){this.words=[0],this.length=1;for(var s=0,h=1;h<=67108863;h*=o)s++;s--,h=h/o|0;for(var v=n.length-u,y=v%s,f=Math.min(v,v-y)+u,r=0,d=u;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],F=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(m,n,o){o.negative=n.negative^m.negative;var u=m.length+n.length|0;o.length=u,u=u-1|0;var s=0|m.words[0],h=0|n.words[0],v=s*h,f=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&f,I=Math.min(r,n.length-1),V=Math.max(0,r-m.length+1);V<=I;V++)d+=(v=(s=0|m.words[r-V|0])*(h=0|n.words[V])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,f=0|d}return 0!==f?o.words[r]=0|f:o.length--,o.strip()}c.prototype.toString=function(n,o){var u;if(o=0|o||1,16===(n=n||10)||"hex"===n){u="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?_[6-f.length]+f+u:f+u,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(u=h.toString(16)+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(n===(0|n)&&n>=2&&n<=36){var r=g[n],d=F[n];u="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(d).toString(n);u=(L=L.idivn(d)).isZero()?I+u:_[r-I.length]+I+u}for(this.isZero()&&(u="0"+u);u.length%o!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof D<"u"),this.toArrayLike(D,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,u){var s=this.byteLength(),h=u||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var f,r,v="le"===o,y=new n(h),d=this.clone();if(v){for(r=0;!d.isZero();r++)f=d.andln(255),d.iushrn(8),y[r]=f;for(;r=4096&&(u+=13,o>>>=13),o>=64&&(u+=7,o>>>=7),o>=8&&(u+=4,o>>>=4),o>=2&&(u+=2,o>>>=2),u+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,u=0;return 8191&o||(u+=13,o>>>=13),127&o||(u+=7,o>>>=7),15&o||(u+=4,o>>>=4),3&o||(u+=2,o>>>=2),1&o||u++,u},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;on.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var u=0;un.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,u;this.length>n.length?(o=this,u=n):(o=n,u=this);for(var s=0;sn.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),u=n%26;this._expand(o),u>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-u),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var u=n/26|0,s=n%26;return this._expand(u+1),this.words[u]=o?this.words[u]|1<n.length?(u=this,s=n):(u=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=u.length,0!==h)this.words[this.length]=h,this.length++;else if(u!==this)for(;vn.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var s,h,u=this.cmp(n);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(s=this,h=n):(s=n,h=this);for(var v=0,y=0;y>26,this.words[y]=67108863&o;for(;0!==v&&y>26,this.words[y]=67108863&o;if(0===v&&y>>13,q=0|s[1],oe=8191&q,ve=q>>>13,Ae=0|s[2],Q=8191&Ae,ae=Ae>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,re=Ie>>>13,ne=0|s[5],G=8191&ne,Ee=ne>>>13,vt=0|s[6],Qe=8191&vt,rt=vt>>>13,nn=0|s[7],gt=8191&nn,ht=nn>>>13,on=0|s[8],Mt=8191&on,Pt=on>>>13,En=0|s[9],It=8191&En,Ft=En>>>13,yn=0|h[0],Dt=8191&yn,_t=yn>>>13,Cn=0|h[1],St=8191&Cn,dt=Cn>>>13,Sn=0|h[2],kt=8191&Sn,Nt=Sn>>>13,Un=0|h[3],Ut=8191&Un,Ve=Un>>>13,_e=0|h[4],De=8191&_e,Me=_e>>>13,Ze=0|h[5],$e=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ue=Pe>>>13,Ct=0|h[7],Je=8191&Ct,at=Ct>>>13,Jt=0|h[8],yt=8191&Jt,mt=Jt>>>13,Wt=0|h[9],Ot=8191&Wt,Rt=Wt>>>13;u.negative=n.negative^o.negative,u.length=19;var Fn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,_t))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,_t))+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(oe,Dt),r=(r=Math.imul(oe,_t))+Math.imul(ve,Dt)|0,d=Math.imul(ve,_t);var An=(y+(f=f+Math.imul(I,St)|0)|0)+((8191&(r=(r=r+Math.imul(I,dt)|0)+Math.imul(V,St)|0))<<13)|0;y=((d=d+Math.imul(V,dt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,_t))+Math.imul(ae,Dt)|0,d=Math.imul(ae,_t),f=f+Math.imul(oe,St)|0,r=(r=r+Math.imul(oe,dt)|0)+Math.imul(ve,St)|0,d=d+Math.imul(ve,dt)|0;var wn=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Nt)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Nt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Oe,Dt),r=(r=Math.imul(Oe,_t))+Math.imul(pe,Dt)|0,d=Math.imul(pe,_t),f=f+Math.imul(Q,St)|0,r=(r=r+Math.imul(Q,dt)|0)+Math.imul(ae,St)|0,d=d+Math.imul(ae,dt)|0,f=f+Math.imul(oe,kt)|0,r=(r=r+Math.imul(oe,Nt)|0)+Math.imul(ve,kt)|0,d=d+Math.imul(ve,Nt)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,_t))+Math.imul(re,Dt)|0,d=Math.imul(re,_t),f=f+Math.imul(Oe,St)|0,r=(r=r+Math.imul(Oe,dt)|0)+Math.imul(pe,St)|0,d=d+Math.imul(pe,dt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Nt)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Nt)|0,f=f+Math.imul(oe,Ut)|0,r=(r=r+Math.imul(oe,Ve)|0)+Math.imul(ve,Ut)|0,d=d+Math.imul(ve,Ve)|0;var Wn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,_t))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,_t),f=f+Math.imul(Se,St)|0,r=(r=r+Math.imul(Se,dt)|0)+Math.imul(re,St)|0,d=d+Math.imul(re,dt)|0,f=f+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Nt)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(oe,De)|0,r=(r=r+Math.imul(oe,Me)|0)+Math.imul(ve,De)|0,d=d+Math.imul(ve,Me)|0;var Vn=(y+(f=f+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,$e)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Vn>>>26)|0,Vn&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,_t))+Math.imul(rt,Dt)|0,d=Math.imul(rt,_t),f=f+Math.imul(G,St)|0,r=(r=r+Math.imul(G,dt)|0)+Math.imul(Ee,St)|0,d=d+Math.imul(Ee,dt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Nt)|0)+Math.imul(re,kt)|0,d=d+Math.imul(re,Nt)|0,f=f+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,Ve)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Me)|0,f=f+Math.imul(oe,$e)|0,r=(r=r+Math.imul(oe,it)|0)+Math.imul(ve,$e)|0,d=d+Math.imul(ve,it)|0;var Pn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ue)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ue)|0)+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,_t))+Math.imul(ht,Dt)|0,d=Math.imul(ht,_t),f=f+Math.imul(Qe,St)|0,r=(r=r+Math.imul(Qe,dt)|0)+Math.imul(rt,St)|0,d=d+Math.imul(rt,dt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Nt)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Nt)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(re,Ut)|0,d=d+Math.imul(re,Ve)|0,f=f+Math.imul(Oe,De)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Me)|0,f=f+Math.imul(Q,$e)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,$e)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(oe,Be)|0,r=(r=r+Math.imul(oe,Ue)|0)+Math.imul(ve,Be)|0,d=d+Math.imul(ve,Ue)|0;var Ln=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,at)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,at)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,f=Math.imul(Mt,Dt),r=(r=Math.imul(Mt,_t))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,_t),f=f+Math.imul(gt,St)|0,r=(r=r+Math.imul(gt,dt)|0)+Math.imul(ht,St)|0,d=d+Math.imul(ht,dt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Nt)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Nt)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Me)|0)+Math.imul(re,De)|0,d=d+Math.imul(re,Me)|0,f=f+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,$e)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ue)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ue)|0,f=f+Math.imul(oe,Je)|0,r=(r=r+Math.imul(oe,at)|0)+Math.imul(ve,Je)|0,d=d+Math.imul(ve,at)|0;var Kn=(y+(f=f+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,mt)|0)+Math.imul(V,yt)|0))<<13)|0;y=((d=d+Math.imul(V,mt)|0)+(r>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(It,Dt),r=(r=Math.imul(It,_t))+Math.imul(Ft,Dt)|0,d=Math.imul(Ft,_t),f=f+Math.imul(Mt,St)|0,r=(r=r+Math.imul(Mt,dt)|0)+Math.imul(Pt,St)|0,d=d+Math.imul(Pt,dt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Nt)|0)+Math.imul(ht,kt)|0,d=d+Math.imul(ht,Nt)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Me)|0,f=f+Math.imul(Se,$e)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(re,$e)|0,d=d+Math.imul(re,it)|0,f=f+Math.imul(Oe,Be)|0,r=(r=r+Math.imul(Oe,Ue)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ue)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,at)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,at)|0,f=f+Math.imul(oe,yt)|0,r=(r=r+Math.imul(oe,mt)|0)+Math.imul(ve,yt)|0,d=d+Math.imul(ve,mt)|0;var Gn=(y+(f=f+Math.imul(I,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(V,Ot)|0))<<13)|0;y=((d=d+Math.imul(V,Rt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,f=Math.imul(It,St),r=(r=Math.imul(It,dt))+Math.imul(Ft,St)|0,d=Math.imul(Ft,dt),f=f+Math.imul(Mt,kt)|0,r=(r=r+Math.imul(Mt,Nt)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Nt)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ht,Ut)|0,d=d+Math.imul(ht,Ve)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Me)|0,f=f+Math.imul(G,$e)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,$e)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ue)|0)+Math.imul(re,Be)|0,d=d+Math.imul(re,Ue)|0,f=f+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,at)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,at)|0,f=f+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,mt)|0)+Math.imul(ae,yt)|0,d=d+Math.imul(ae,mt)|0;var $n=(y+(f=f+Math.imul(oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(oe,Rt)|0)+Math.imul(ve,Ot)|0))<<13)|0;y=((d=d+Math.imul(ve,Rt)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(It,kt),r=(r=Math.imul(It,Nt))+Math.imul(Ft,kt)|0,d=Math.imul(Ft,Nt),f=f+Math.imul(Mt,Ut)|0,r=(r=r+Math.imul(Mt,Ve)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Me)|0)+Math.imul(ht,De)|0,d=d+Math.imul(ht,Me)|0,f=f+Math.imul(Qe,$e)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,$e)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ue)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ue)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,at)|0)+Math.imul(re,Je)|0,d=d+Math.imul(re,at)|0,f=f+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,mt)|0)+Math.imul(pe,yt)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Ot)|0))<<13)|0;y=((d=d+Math.imul(ae,Rt)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(It,Ut),r=(r=Math.imul(It,Ve))+Math.imul(Ft,Ut)|0,d=Math.imul(Ft,Ve),f=f+Math.imul(Mt,De)|0,r=(r=r+Math.imul(Mt,Me)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Me)|0,f=f+Math.imul(gt,$e)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ht,$e)|0,d=d+Math.imul(ht,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ue)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ue)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,at)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,at)|0,f=f+Math.imul(Se,yt)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(re,yt)|0,d=d+Math.imul(re,mt)|0;var lt=(y+(f=f+Math.imul(Oe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Ot)|0))<<13)|0;y=((d=d+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,f=Math.imul(It,De),r=(r=Math.imul(It,Me))+Math.imul(Ft,De)|0,d=Math.imul(Ft,Me),f=f+Math.imul(Mt,$e)|0,r=(r=r+Math.imul(Mt,it)|0)+Math.imul(Pt,$e)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ue)|0)+Math.imul(ht,Be)|0,d=d+Math.imul(ht,Ue)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,at)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,at)|0,f=f+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,mt)|0)+Math.imul(Ee,yt)|0,d=d+Math.imul(Ee,mt)|0;var Tt=(y+(f=f+Math.imul(Se,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Rt)|0)+Math.imul(re,Ot)|0))<<13)|0;y=((d=d+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,f=Math.imul(It,$e),r=(r=Math.imul(It,it))+Math.imul(Ft,$e)|0,d=Math.imul(Ft,it),f=f+Math.imul(Mt,Be)|0,r=(r=r+Math.imul(Mt,Ue)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ue)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,at)|0)+Math.imul(ht,Je)|0,d=d+Math.imul(ht,at)|0,f=f+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,mt)|0)+Math.imul(rt,yt)|0,d=d+Math.imul(rt,mt)|0;var wt=(y+(f=f+Math.imul(G,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;y=((d=d+Math.imul(Ee,Rt)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,f=Math.imul(It,Be),r=(r=Math.imul(It,Ue))+Math.imul(Ft,Be)|0,d=Math.imul(Ft,Ue),f=f+Math.imul(Mt,Je)|0,r=(r=r+Math.imul(Mt,at)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,at)|0,f=f+Math.imul(gt,yt)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ht,yt)|0,d=d+Math.imul(ht,mt)|0;var Lt=(y+(f=f+Math.imul(Qe,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Ot)|0))<<13)|0;y=((d=d+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,f=Math.imul(It,Je),r=(r=Math.imul(It,at))+Math.imul(Ft,Je)|0,d=Math.imul(Ft,at),f=f+Math.imul(Mt,yt)|0,r=(r=r+Math.imul(Mt,mt)|0)+Math.imul(Pt,yt)|0,d=d+Math.imul(Pt,mt)|0;var Yt=(y+(f=f+Math.imul(gt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Rt)|0)+Math.imul(ht,Ot)|0))<<13)|0;y=((d=d+Math.imul(ht,Rt)|0)+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,f=Math.imul(It,yt),r=(r=Math.imul(It,mt))+Math.imul(Ft,yt)|0,d=Math.imul(Ft,mt);var qt=(y+(f=f+Math.imul(Mt,Ot)|0)|0)+((8191&(r=(r=r+Math.imul(Mt,Rt)|0)+Math.imul(Pt,Ot)|0))<<13)|0;y=((d=d+Math.imul(Pt,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Zt=(y+(f=Math.imul(It,Ot))|0)+((8191&(r=(r=Math.imul(It,Rt))+Math.imul(Ft,Ot)|0))<<13)|0;return y=((d=Math.imul(Ft,Rt))+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v[0]=Fn,v[1]=An,v[2]=wn,v[3]=bn,v[4]=Wn,v[5]=Vn,v[6]=Pn,v[7]=Ln,v[8]=Kn,v[9]=Gn,v[10]=$n,v[11]=je,v[12]=lt,v[13]=Tt,v[14]=wt,v[15]=Lt,v[16]=Yt,v[17]=qt,v[18]=Zt,0!==y&&(v[19]=y,u.length++),u};function k(m,n,o){return(new M).mulp(m,n,o)}function M(m,n){this.x=m,this.y=n}Math.imul||(P=B),c.prototype.mulTo=function(n,o){var u,s=this.length+n.length;return u=10===this.length&&10===n.length?P(this,n,o):s<63?B(this,n,o):s<1024?function $(m,n,o){o.negative=n.negative^m.negative,o.length=m.length+n.length;for(var u=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,u=v,v=s}return 0!==u?o.words[h]=u:o.length--,o.strip()}(this,n,o):k(this,n,o),u},M.prototype.makeRBT=function(n){for(var o=new Array(n),u=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,u,s,h,v){for(var y=0;y>>=1)h++;return 1<>>=13),h>>>=13;for(v=2*o;v>=26,o+=s/67108864|0,o+=h>>>26,this.words[u]=67108863&h}return 0!==o&&(this.words[u]=o,this.length++),this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function A(m){for(var n=new Array(m.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var u=this,s=0;s=0);var h,o=n%26,u=(n-o)/26,s=67108863>>>26-o<<26-o;if(0!==o){var v=0;for(h=0;h>>26-o}v&&(this.words[h]=v,this.length++)}if(0!==u){for(h=this.length-1;h>=0;h--)this.words[h+u]=this.words[h];for(h=0;h=0),s=o?(o-o%26)/26:0;var h=n%26,v=Math.min((n-h)/26,this.length),y=67108863^67108863>>>h<v)for(this.length-=v,r=0;r=0&&(0!==d||r>=s);r--){var L=0|this.words[r];this.words[r]=d<<26-h|L>>>h,d=L&y}return f&&0!==d&&(f.words[f.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,u){return p(0===this.negative),this.iushrn(n,o,u)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,u=(n-o)/26;return!(this.length<=u||!(this.words[u]&1<=0);var o=n%26,u=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==o&&u++,this.length=Math.min(u,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var o=0;o>26)-(f/67108864|0),this.words[h+u]=67108863&v}for(;h>26,this.words[h+u]=67108863&v;if(0===y)return this.strip();for(p(-1===y),y=0,h=0;h>26,this.words[h]=67108863&v;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var u,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(u=26-this._countBits(v))&&(h=h.ushln(u),s.iushln(u),v=0|h.words[h.length-1]);var r,f=s.length-h.length;if("mod"!==o){(r=new c(null)).length=f+1,r.words=new Array(r.length);for(var d=0;d=0;I--){var V=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(V=Math.min(V/v|0,67108863),s._ishlnsubmul(h,V,I);0!==s.negative;)V--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=V)}return r&&r.strip(),s.strip(),"div"!==o&&0!==u&&s.iushrn(u),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,u){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(v=this.neg().divmod(n,o),"mod"!==o&&(s=v.div.neg()),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.iadd(n)),{div:s,mod:h}):0===this.negative&&0!==n.negative?(v=this.divmod(n.neg(),o),"mod"!==o&&(s=v.div.neg()),{div:s,mod:v.mod}):this.negative&n.negative?(v=this.neg().divmod(n.neg(),o),"div"!==o&&(h=v.mod.neg(),u&&0!==h.negative&&h.isub(n)),{div:v.div,mod:h}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var s,h,v},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var u=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=u.cmp(s);return v<0||1===h&&0===v?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,u=0,s=this.length-1;s>=0;s--)u=(o*u+(0|this.words[s]))%n;return u},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,u=this.length-1;u>=0;u--){var s=(0|this.words[u])+67108864*o;this.words[u]=s/n|0,o=s%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=new c(0),y=new c(1),f=0;o.isEven()&&u.isEven();)o.iushrn(1),u.iushrn(1),++f;for(var r=u.clone(),d=o.clone();!o.isZero();){for(var L=0,I=1;!(o.words[0]&I)&&L<26;++L,I<<=1);if(L>0)for(o.iushrn(L);L-- >0;)(s.isOdd()||h.isOdd())&&(s.iadd(r),h.isub(d)),s.iushrn(1),h.iushrn(1);for(var V=0,q=1;!(u.words[0]&q)&&V<26;++V,q<<=1);if(V>0)for(u.iushrn(V);V-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(d)),v.iushrn(1),y.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(v),h.isub(y)):(u.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:u.iushln(f)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,u=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=u.clone();o.cmpn(1)>0&&u.cmpn(1)>0;){for(var y=0,f=1;!(o.words[0]&f)&&y<26;++y,f<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,d=1;!(u.words[0]&d)&&r<26;++r,d<<=1);if(r>0)for(u.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(u)>=0?(o.isub(u),s.isub(h)):(u.isub(o),h.isub(s))}return(L=0===o.cmpn(1)?s:h).cmpn(0)<0&&L.iadd(n),L},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),u=n.clone();o.negative=0,u.negative=0;for(var s=0;o.isEven()&&u.isEven();s++)o.iushrn(1),u.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;u.isEven();)u.iushrn(1);var h=o.cmp(u);if(h<0){var v=o;o=u,u=v}else if(0===h||0===u.cmpn(1))break;o.isub(u)}return u.iushln(s)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,u=(n-o)/26,s=1<>>26,this.words[v]=y&=67108863}return 0!==h&&(this.words[v]=h,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var u,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)u=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];u=s===n?0:sn.length)return 1;if(this.length=0;u--){var s=0|this.words[u],h=0|n.words[u];if(s!==h){sh&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new te(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var O={k256:null,p224:null,p192:null,p25519:null};function U(m,n){this.name=m,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(m){if("string"==typeof m){var n=c._prime(m);this.m=n.p,this.prime=n}else p(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function se(m){te.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}U.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},U.prototype.ireduce=function(n){var u,o=n;do{this.split(o,this.tmp),u=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(u>this.n);var s=u0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},U.prototype.split=function(n,o){n.iushrn(this.n,0,o)},U.prototype.imulK=function(n){return n.imul(this.k)},R(j,U),j.prototype.split=function(n,o){for(var u=4194303,s=Math.min(n.length,9),h=0;h>>22,v=y}n.words[h-10]=v>>>=22,n.length-=0===v&&n.length>10?10:9},j.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,u=0;u>>=26,n.words[u]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(O[n])return O[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new W;else if("p192"===n)o=new ie;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return O[n]=o,o},te.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},te.prototype._verify2=function(n,o){p(!(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},te.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},te.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},te.prototype.add=function(n,o){this._verify2(n,o);var u=n.add(o);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var u=n.iadd(o);return u.cmp(this.m)>=0&&u.isub(this.m),u},te.prototype.sub=function(n,o){this._verify2(n,o);var u=n.sub(o);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var u=n.isub(o);return u.cmpn(0)<0&&u.iadd(this.m),u},te.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},te.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},te.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},te.prototype.isqr=function(n){return this.imul(n,n.clone())},te.prototype.sqr=function(n){return this.mul(n,n)},te.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var u=this.m.add(new c(1)).iushrn(2);return this.pow(n,u)}for(var s=this.m.subn(1),h=0;!s.isZero()&&0===s.andln(1);)h++,s.iushrn(1);p(!s.isZero());var v=new c(1).toRed(this),y=v.redNeg(),f=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,f).cmp(y);)r.redIAdd(y);for(var d=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),V=h;0!==I.cmp(v);){for(var q=I,oe=0;0!==q.cmp(v);oe++)q=q.redSqr();p(oe=0;h--){for(var d=o.words[h],L=r-1;L>=0;L--){var I=d>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++f||0===h&&0===L)&&(v=this.mul(v,s[y]),f=0,y=0)):f=0}r=26}return v},te.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},te.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new se(n)},R(se,te),se.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},se.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},se.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var u=n.imul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var u=n.mul(o),s=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=u.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},8613:(Ce,ee,E)=>{var a=E(5667),S=E(715),p=E(7196),R=E(6508),c=E(4105),D=E(7211),C=E(568),w=E(7054).Buffer;Ce.exports=function(A,B,P){var $;$=A.padding?A.padding:P?1:4;var O,k=a(A),M=k.modulus.byteLength();if(B.length>M||new R(B).cmp(k.modulus)>=0)throw new Error("decryption error");O=P?C(new R(B),k):c(B,k);var U=w.alloc(M-O.length);if(O=w.concat([U,O],M),4===$)return function T(F,A){var B=F.modulus.byteLength(),P=D("sha1").update(w.alloc(0)).digest(),$=P.length;if(0!==A[0])throw new Error("decryption error");var k=A.slice(1,$+1),M=A.slice($+1),O=p(k,S(M,$)),U=p(M,S(O,B-$-1));if(function g(F,A){F=w.from(F),A=w.from(A);var B=0,P=F.length;F.length!==A.length&&(B++,P=Math.min(F.length,A.length));for(var $=-1;++$=A.length){k++;break}var M=A.slice(2,$-1);if(("0002"!==P.toString("hex")&&!B||"0001"!==P.toString("hex")&&B)&&k++,M.length<8&&k++,k)throw new Error("decryption error");return A.slice($)}(0,O,P);if(3===$)return O;throw new Error("unknown padding")}},7267:(Ce,ee,E)=>{var a=E(5667),S=E(3342),p=E(7211),R=E(715),c=E(7196),D=E(6508),C=E(568),w=E(4105),T=E(7054).Buffer;Ce.exports=function(B,P,$){var k;k=B.padding?B.padding:$?1:4;var O,M=a(B);if(4===k)O=function _(A,B){var P=A.modulus.byteLength(),$=B.length,k=p("sha1").update(T.alloc(0)).digest(),M=k.length,O=2*M;if($>P-O-2)throw new Error("message too long");var U=T.alloc(P-$-O-2),j=P-M-1,W=S(M),ie=c(T.concat([k,U,T.alloc(1,1),B],j),R(W,j)),me=c(W,R(ie,M));return new D(T.concat([T.alloc(1),me,ie],P))}(M,P);else if(1===k)O=function g(A,B,P){var M,$=B.length,k=A.modulus.byteLength();if($>k-11)throw new Error("message too long");return M=P?T.alloc(k-$-3,255):function F(A){for(var M,B=T.allocUnsafe(A),P=0,$=S(2*A),k=0;P=0)throw new Error("data too long for modulus")}return $?w(O,M):C(O,M)}},568:(Ce,ee,E)=>{var a=E(6508),S=E(7054).Buffer;Ce.exports=function p(R,c){return S.from(R.toRed(a.mont(c.modulus)).redPow(new a(c.publicExponent)).fromRed().toArray())}},7196:Ce=>{Ce.exports=function(E,a){for(var S=E.length,p=-1;++p{"use strict";var a=65536,R=E(7054).Buffer,c=global.crypto||global.msCrypto;Ce.exports=c&&c.getRandomValues?function D(C,w){if(C>4294967295)throw new RangeError("requested too many random bytes");var T=R.allocUnsafe(C);if(C>0)if(C>a)for(var _=0;_{"use strict";function a(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var S=E(7054),p=E(3342),R=S.Buffer,c=S.kMaxLength,D=global.crypto||global.msCrypto,C=Math.pow(2,32)-1;function w(A,B){if("number"!=typeof A||A!=A)throw new TypeError("offset must be a number");if(A>C||A<0)throw new TypeError("offset must be a uint32");if(A>c||A>B)throw new RangeError("offset out of range")}function T(A,B,P){if("number"!=typeof A||A!=A)throw new TypeError("size must be a number");if(A>C||A<0)throw new TypeError("size must be a uint32");if(A+B>P||A>c)throw new RangeError("buffer too small")}function g(A,B,P,$){if(process.browser){var M=new Uint8Array(A.buffer,B,P);return D.getRandomValues(M),$?void process.nextTick(function(){$(null,A)}):A}if(!$)return p(P).copy(A,B),A;p(P,function(U,j){if(U)return $(U);j.copy(A,B),$(null,A)})}D&&D.getRandomValues||!process.browser?(ee.randomFill=function _(A,B,P,$){if(!(R.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof B)$=B,B=0,P=A.length;else if("function"==typeof P)$=P,P=A.length-B;else if("function"!=typeof $)throw new TypeError('"cb" argument must be a function');return w(B,A.length),T(P,B,A.length),g(A,B,P,$)},ee.randomFillSync=function F(A,B,P){if(typeof B>"u"&&(B=0),!(R.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return w(B,A.length),void 0===P&&(P=A.length-B),T(P,B,A.length),g(A,B,P)}):(ee.randomFill=a,ee.randomFillSync=a)},4075:(Ce,ee,E)=>{"use strict";var a=E(9656),S=Object.keys||function(F){var A=[];for(var B in F)A.push(B);return A};Ce.exports=T;var p=Object.create(E(7637));p.inherits=E(1993);var R=E(9609),c=E(7849);p.inherits(T,R);for(var D=S(c.prototype),C=0;C{"use strict";Ce.exports=p;var a=E(2909),S=Object.create(E(7637));function p(R){if(!(this instanceof p))return new p(R);a.call(this,R)}S.inherits=E(1993),S.inherits(p,a),p.prototype._transform=function(R,c,D){D(null,R)}},9609:(Ce,ee,E)=>{"use strict";var a=E(9656);Ce.exports=U;var p,S=E(53);U.ReadableState=O,E(4356);var c=function(Q,ae){return Q.listeners(ae).length},D=E(8342),C=E(2655).Buffer,w=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},g=Object.create(E(7637));g.inherits=E(1993);var F=E(9838),A=void 0;A=F&&F.debuglog?F.debuglog("stream"):function(){};var $,B=E(7809),P=E(1509);g.inherits(U,D);var k=["error","close","destroy","pause","resume"];function O(Q,ae){var tt=ae instanceof(p=p||E(4075));this.objectMode=!!(Q=Q||{}).objectMode,tt&&(this.objectMode=this.objectMode||!!Q.readableObjectMode);var Oe=Q.highWaterMark,pe=Q.readableHighWaterMark;this.highWaterMark=Oe||0===Oe?Oe:tt&&(pe||0===pe)?pe:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new B,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=Q.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Q.encoding&&($||($=E(8454).I),this.decoder=new $(Q.encoding),this.encoding=Q.encoding)}function U(Q){if(p=p||E(4075),!(this instanceof U))return new U(Q);this._readableState=new O(Q,this),this.readable=!0,Q&&("function"==typeof Q.read&&(this._read=Q.read),"function"==typeof Q.destroy&&(this._destroy=Q.destroy)),D.call(this)}function j(Q,ae,tt,Oe,pe){var Se,Ie=Q._readableState;return null===ae?(Ie.reading=!1,function n(Q,ae){if(!ae.ended){if(ae.decoder){var tt=ae.decoder.end();tt&&tt.length&&(ae.buffer.push(tt),ae.length+=ae.objectMode?1:tt.length)}ae.ended=!0,o(Q)}}(Q,Ie)):(pe||(Se=function ie(Q,ae){var tt;return!function _(Q){return C.isBuffer(Q)||Q instanceof w}(ae)&&"string"!=typeof ae&&void 0!==ae&&!Q.objectMode&&(tt=new TypeError("Invalid non-string/buffer chunk")),tt}(Ie,ae)),Se?Q.emit("error",Se):Ie.objectMode||ae&&ae.length>0?("string"!=typeof ae&&!Ie.objectMode&&Object.getPrototypeOf(ae)!==C.prototype&&(ae=function T(Q){return C.from(Q)}(ae)),Oe?Ie.endEmitted?Q.emit("error",new Error("stream.unshift() after end event")):W(Q,Ie,ae,!0):Ie.ended?Q.emit("error",new Error("stream.push() after EOF")):(Ie.reading=!1,Ie.decoder&&!tt?(ae=Ie.decoder.write(ae),Ie.objectMode||0!==ae.length?W(Q,Ie,ae,!1):s(Q,Ie)):W(Q,Ie,ae,!1))):Oe||(Ie.reading=!1)),function me(Q){return!Q.ended&&(Q.needReadable||Q.lengthae.highWaterMark&&(ae.highWaterMark=function se(Q){return Q>=8388608?Q=8388608:(Q--,Q|=Q>>>1,Q|=Q>>>2,Q|=Q>>>4,Q|=Q>>>8,Q|=Q>>>16,Q++),Q}(Q)),Q<=ae.length?Q:ae.ended?ae.length:(ae.needReadable=!0,0))}function o(Q){var ae=Q._readableState;ae.needReadable=!1,ae.emittedReadable||(A("emitReadable",ae.flowing),ae.emittedReadable=!0,ae.sync?a.nextTick(u,Q):u(Q))}function u(Q){A("emit readable"),Q.emit("readable"),d(Q)}function s(Q,ae){ae.readingMore||(ae.readingMore=!0,a.nextTick(h,Q,ae))}function h(Q,ae){for(var tt=ae.length;!ae.reading&&!ae.flowing&&!ae.ended&&ae.length=ae.length?(tt=ae.decoder?ae.buffer.join(""):1===ae.buffer.length?ae.buffer.head.data:ae.buffer.concat(ae.length),ae.buffer.clear()):tt=function I(Q,ae,tt){var Oe;return QIe.length?Ie.length:Q;if(pe+=Se===Ie.length?Ie:Ie.slice(0,Q),0==(Q-=Se)){Se===Ie.length?(++Oe,ae.head=tt.next?tt.next:ae.tail=null):(ae.head=tt,tt.data=Ie.slice(Se));break}++Oe}return ae.length-=Oe,pe}(Q,ae):function q(Q,ae){var tt=C.allocUnsafe(Q),Oe=ae.head,pe=1;for(Oe.data.copy(tt),Q-=Oe.data.length;Oe=Oe.next;){var Ie=Oe.data,Se=Q>Ie.length?Ie.length:Q;if(Ie.copy(tt,tt.length-Q,0,Se),0==(Q-=Se)){Se===Ie.length?(++pe,ae.head=Oe.next?Oe.next:ae.tail=null):(ae.head=Oe,Oe.data=Ie.slice(Se));break}++pe}return ae.length-=pe,tt}(Q,ae),Oe}(Q,ae.buffer,ae.decoder),tt);var tt}function oe(Q){var ae=Q._readableState;if(ae.length>0)throw new Error('"endReadable()" called on non-empty stream');ae.endEmitted||(ae.ended=!0,a.nextTick(ve,ae,Q))}function ve(Q,ae){!Q.endEmitted&&0===Q.length&&(Q.endEmitted=!0,ae.readable=!1,ae.emit("end"))}function Ae(Q,ae){for(var tt=0,Oe=Q.length;tt=ae.highWaterMark||ae.ended))return A("read: emitReadable",ae.length,ae.ended),0===ae.length&&ae.ended?oe(this):o(this),null;if(0===(Q=m(Q,ae))&&ae.ended)return 0===ae.length&&oe(this),null;var pe,Oe=ae.needReadable;return A("need readable",Oe),(0===ae.length||ae.length-Q0?L(Q,ae):null)?(ae.needReadable=!0,Q=0):ae.length-=Q,0===ae.length&&(ae.ended||(ae.needReadable=!0),tt!==Q&&ae.ended&&oe(this)),null!==pe&&this.emit("data",pe),pe},U.prototype._read=function(Q){this.emit("error",new Error("_read() is not implemented"))},U.prototype.pipe=function(Q,ae){var tt=this,Oe=this._readableState;switch(Oe.pipesCount){case 0:Oe.pipes=Q;break;case 1:Oe.pipes=[Oe.pipes,Q];break;default:Oe.pipes.push(Q)}Oe.pipesCount+=1,A("pipe count=%d opts=%j",Oe.pipesCount,ae);var Ie=ae&&!1===ae.end||Q===process.stdout||Q===process.stderr?ht:re;function re(){A("onend"),Q.end()}Oe.endEmitted?a.nextTick(Ie):tt.once("end",Ie),Q.on("unpipe",function Se(on,Mt){A("onunpipe"),on===tt&&Mt&&!1===Mt.hasUnpiped&&(Mt.hasUnpiped=!0,function Ee(){A("cleanup"),Q.removeListener("close",nn),Q.removeListener("finish",gt),Q.removeListener("drain",ne),Q.removeListener("error",rt),Q.removeListener("unpipe",Se),tt.removeListener("end",re),tt.removeListener("end",ht),tt.removeListener("data",Qe),G=!0,Oe.awaitDrain&&(!Q._writableState||Q._writableState.needDrain)&&ne()}())});var ne=function v(Q){return function(){var ae=Q._readableState;A("pipeOnDrain",ae.awaitDrain),ae.awaitDrain&&ae.awaitDrain--,0===ae.awaitDrain&&c(Q,"data")&&(ae.flowing=!0,d(Q))}}(tt);Q.on("drain",ne);var G=!1,vt=!1;function Qe(on){A("ondata"),vt=!1,!1===Q.write(on)&&!vt&&((1===Oe.pipesCount&&Oe.pipes===Q||Oe.pipesCount>1&&-1!==Ae(Oe.pipes,Q))&&!G&&(A("false write response, pause",Oe.awaitDrain),Oe.awaitDrain++,vt=!0),tt.pause())}function rt(on){A("onerror",on),ht(),Q.removeListener("error",rt),0===c(Q,"error")&&Q.emit("error",on)}function nn(){Q.removeListener("finish",gt),ht()}function gt(){A("onfinish"),Q.removeListener("close",nn),ht()}function ht(){A("unpipe"),tt.unpipe(Q)}return tt.on("data",Qe),function M(Q,ae,tt){if("function"==typeof Q.prependListener)return Q.prependListener(ae,tt);Q._events&&Q._events[ae]?S(Q._events[ae])?Q._events[ae].unshift(tt):Q._events[ae]=[tt,Q._events[ae]]:Q.on(ae,tt)}(Q,"error",rt),Q.once("close",nn),Q.once("finish",gt),Q.emit("pipe",tt),Oe.flowing||(A("pipe resume"),tt.resume()),Q},U.prototype.unpipe=function(Q){var ae=this._readableState,tt={hasUnpiped:!1};if(0===ae.pipesCount)return this;if(1===ae.pipesCount)return Q&&Q!==ae.pipes||(Q||(Q=ae.pipes),ae.pipes=null,ae.pipesCount=0,ae.flowing=!1,Q&&Q.emit("unpipe",this,tt)),this;if(!Q){var Oe=ae.pipes,pe=ae.pipesCount;ae.pipes=null,ae.pipesCount=0,ae.flowing=!1;for(var Ie=0;Ie{"use strict";Ce.exports=R;var a=E(4075),S=Object.create(E(7637));function p(C,w){var T=this._transformState;T.transforming=!1;var _=T.writecb;if(!_)return this.emit("error",new Error("write callback called multiple times"));T.writechunk=null,T.writecb=null,null!=w&&this.push(w),_(C);var g=this._readableState;g.reading=!1,(g.needReadable||g.length{"use strict";var a=E(9656);function p(f){var r=this;this.next=null,this.entry=null,this.finish=function(){!function y(f,r,d){var L=f.entry;for(f.entry=null;L;){var I=L.callback;r.pendingcb--,I(d),L=L.next}r.corkedRequestsFree.next=f}(r,f)}}Ce.exports=k;var c,R=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;k.WritableState=P;var D=Object.create(E(7637));D.inherits=E(1993);var $,C={deprecate:E(3398)},w=E(8342),T=E(2655).Buffer,_=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},A=E(1509);function B(){}function P(f,r){c=c||E(4075);var d=r instanceof c;this.objectMode=!!(f=f||{}).objectMode,d&&(this.objectMode=this.objectMode||!!f.writableObjectMode);var L=f.highWaterMark,I=f.writableHighWaterMark;this.highWaterMark=L||0===L?L:d&&(I||0===I)?I:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===f.decodeStrings),this.defaultEncoding=f.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(oe){!function te(f,r){var d=f._writableState,L=d.sync,I=d.writecb;if(function me(f){f.writing=!1,f.writecb=null,f.length-=f.writelen,f.writelen=0}(d),r)!function ie(f,r,d,L,I){--r.pendingcb,d?(a.nextTick(I,L),a.nextTick(h,f,r),f._writableState.errorEmitted=!0,f.emit("error",L)):(I(L),f._writableState.errorEmitted=!0,f.emit("error",L),h(f,r))}(f,d,L,r,I);else{var V=o(d);!V&&!d.corked&&!d.bufferProcessing&&d.bufferedRequest&&n(f,d),L?R(se,f,d,V,I):se(f,d,V,I)}}(r,oe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new p(this)}function k(f){if(c=c||E(4075),!($.call(k,this)||this instanceof c))return new k(f);this._writableState=new P(f,this),this.writable=!0,f&&("function"==typeof f.write&&(this._write=f.write),"function"==typeof f.writev&&(this._writev=f.writev),"function"==typeof f.destroy&&(this._destroy=f.destroy),"function"==typeof f.final&&(this._final=f.final)),w.call(this)}function W(f,r,d,L,I,V,q){r.writelen=L,r.writecb=q,r.writing=!0,r.sync=!0,d?f._writev(I,r.onwrite):f._write(I,V,r.onwrite),r.sync=!1}function se(f,r,d,L){d||function m(f,r){0===r.length&&r.needDrain&&(r.needDrain=!1,f.emit("drain"))}(f,r),r.pendingcb--,L(),h(f,r)}function n(f,r){r.bufferProcessing=!0;var d=r.bufferedRequest;if(f._writev&&d&&d.next){var I=new Array(r.bufferedRequestCount),V=r.corkedRequestsFree;V.entry=d;for(var q=0,oe=!0;d;)I[q]=d,d.isBuf||(oe=!1),d=d.next,q+=1;I.allBuffers=oe,W(f,r,!0,r.length,I,"",V.finish),r.pendingcb++,r.lastBufferedRequest=null,V.next?(r.corkedRequestsFree=V.next,V.next=null):r.corkedRequestsFree=new p(r),r.bufferedRequestCount=0}else{for(;d;){var ve=d.chunk;if(W(f,r,!1,r.objectMode?1:ve.length,ve,d.encoding,d.callback),d=d.next,r.bufferedRequestCount--,r.writing)break}null===d&&(r.lastBufferedRequest=null)}r.bufferedRequest=d,r.bufferProcessing=!1}function o(f){return f.ending&&0===f.length&&null===f.bufferedRequest&&!f.finished&&!f.writing}function u(f,r){f._final(function(d){r.pendingcb--,d&&f.emit("error",d),r.prefinished=!0,f.emit("prefinish"),h(f,r)})}function h(f,r){var d=o(r);return d&&(function s(f,r){!r.prefinished&&!r.finalCalled&&("function"==typeof f._final?(r.pendingcb++,r.finalCalled=!0,a.nextTick(u,f,r)):(r.prefinished=!0,f.emit("prefinish")))}(f,r),0===r.pendingcb&&(r.finished=!0,f.emit("finish"))),d}D.inherits(k,w),P.prototype.getBuffer=function(){for(var r=this.bufferedRequest,d=[];r;)d.push(r),r=r.next;return d},function(){try{Object.defineProperty(P.prototype,"buffer",{get:C.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?($=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(f){return!!$.call(this,f)||this===k&&f&&f._writableState instanceof P}})):$=function(f){return f instanceof this},k.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},k.prototype.write=function(f,r,d){var L=this._writableState,I=!1,V=!L.objectMode&&function F(f){return T.isBuffer(f)||f instanceof _}(f);return V&&!T.isBuffer(f)&&(f=function g(f){return T.from(f)}(f)),"function"==typeof r&&(d=r,r=null),V?r="buffer":r||(r=L.defaultEncoding),"function"!=typeof d&&(d=B),L.ended?function M(f,r){var d=new Error("write after end");f.emit("error",d),a.nextTick(r,d)}(this,d):(V||function O(f,r,d,L){var I=!0,V=!1;return null===d?V=new TypeError("May not write null values to stream"):"string"!=typeof d&&void 0!==d&&!r.objectMode&&(V=new TypeError("Invalid non-string/buffer chunk")),V&&(f.emit("error",V),a.nextTick(L,V),I=!1),I}(this,L,f,d))&&(L.pendingcb++,I=function j(f,r,d,L,I,V){if(!d){var q=function U(f,r,d){return!f.objectMode&&!1!==f.decodeStrings&&"string"==typeof r&&(r=T.from(r,d)),r}(r,L,I);L!==q&&(d=!0,I="buffer",L=q)}var oe=r.objectMode?1:L.length;r.length+=oe;var ve=r.length-1))throw new TypeError("Unknown encoding: "+r);return this._writableState.defaultEncoding=r,this},Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(f,r,d){d(new Error("_write() is not implemented"))},k.prototype._writev=null,k.prototype.end=function(f,r,d){var L=this._writableState;"function"==typeof f?(d=f,f=null,r=null):"function"==typeof r&&(d=r,r=null),null!=f&&this.write(f,r),L.corked&&(L.corked=1,this.uncork()),L.ending||function v(f,r,d){r.ending=!0,h(f,r),d&&(r.finished?a.nextTick(d):f.once("finish",d)),r.ended=!0,f.writable=!1}(this,L,d)},Object.defineProperty(k.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(f){this._writableState&&(this._writableState.destroyed=f)}}),k.prototype.destroy=A.destroy,k.prototype._undestroy=A.undestroy,k.prototype._destroy=function(f,r){this.end(),r(f)}},7809:(Ce,ee,E)=>{"use strict";var S=E(2655).Buffer,p=E(5340);function R(c,D,C){c.copy(D,C)}Ce.exports=function(){function c(){(function a(c,D){if(!(c instanceof D))throw new TypeError("Cannot call a class as a function")})(this,c),this.head=null,this.tail=null,this.length=0}return c.prototype.push=function(C){var w={data:C,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length},c.prototype.unshift=function(C){var w={data:C,next:this.head};0===this.length&&(this.tail=w),this.head=w,++this.length},c.prototype.shift=function(){if(0!==this.length){var C=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,C}},c.prototype.clear=function(){this.head=this.tail=null,this.length=0},c.prototype.join=function(C){if(0===this.length)return"";for(var w=this.head,T=""+w.data;w=w.next;)T+=C+w.data;return T},c.prototype.concat=function(C){if(0===this.length)return S.alloc(0);for(var w=S.allocUnsafe(C>>>0),T=this.head,_=0;T;)R(T.data,w,_),_+=T.data.length,T=T.next;return w},c}(),p&&p.inspect&&p.inspect.custom&&(Ce.exports.prototype[p.inspect.custom]=function(){var c=p.inspect({length:this.length});return this.constructor.name+" "+c})},1509:(Ce,ee,E)=>{"use strict";var a=E(9656);function R(c,D){c.emit("error",D)}Ce.exports={destroy:function S(c,D){var C=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(D?D(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,a.nextTick(R,this,c)):a.nextTick(R,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(_){!D&&_?C._writableState?C._writableState.errorEmitted||(C._writableState.errorEmitted=!0,a.nextTick(R,C,_)):a.nextTick(R,C,_):D&&D(_)}),this)},undestroy:function p(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},8342:(Ce,ee,E)=>{Ce.exports=E(4356).EventEmitter},2655:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function R(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.exports=a:(p(a,ee),ee.Buffer=R),p(S,R),R.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},R.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var w=S(c);return void 0!==D?"string"==typeof C?w.fill(D,C):w.fill(D):w.fill(0),w},R.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},R.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},5942:(Ce,ee,E)=>{(ee=Ce.exports=E(9609)).Stream=ee,ee.Readable=ee,ee.Writable=E(7849),ee.Duplex=E(4075),ee.Transform=E(2909),ee.PassThrough=E(8823)},6636:(Ce,ee,E)=>{"use strict";var a=E(3838).Buffer,S=E(1993),p=E(3686),R=new Array(16),c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],D=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],C=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],w=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],T=[0,1518500249,1859775393,2400959708,2840853838],_=[1352829926,1548603684,1836072691,2053994217,0];function g(){p.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function F(M,O){return M<>>32-O}function A(M,O,U,j,W,ie,me,te){return F(M+(O^U^j)+ie+me|0,te)+W|0}function B(M,O,U,j,W,ie,me,te){return F(M+(O&U|~O&j)+ie+me|0,te)+W|0}function P(M,O,U,j,W,ie,me,te){return F(M+((O|~U)^j)+ie+me|0,te)+W|0}function $(M,O,U,j,W,ie,me,te){return F(M+(O&j|U&~j)+ie+me|0,te)+W|0}function k(M,O,U,j,W,ie,me,te){return F(M+(O^(U|~j))+ie+me|0,te)+W|0}S(g,p),g.prototype._update=function(){for(var M=R,O=0;O<16;++O)M[O]=this._block.readInt32LE(4*O);for(var U=0|this._a,j=0|this._b,W=0|this._c,ie=0|this._d,me=0|this._e,te=0|this._a,se=0|this._b,m=0|this._c,n=0|this._d,o=0|this._e,u=0;u<80;u+=1){var s,h;u<16?(s=A(U,j,W,ie,me,M[c[u]],T[0],C[u]),h=k(te,se,m,n,o,M[D[u]],_[0],w[u])):u<32?(s=B(U,j,W,ie,me,M[c[u]],T[1],C[u]),h=$(te,se,m,n,o,M[D[u]],_[1],w[u])):u<48?(s=P(U,j,W,ie,me,M[c[u]],T[2],C[u]),h=P(te,se,m,n,o,M[D[u]],_[2],w[u])):u<64?(s=$(U,j,W,ie,me,M[c[u]],T[3],C[u]),h=B(te,se,m,n,o,M[D[u]],_[3],w[u])):(s=k(U,j,W,ie,me,M[c[u]],T[4],C[u]),h=A(te,se,m,n,o,M[D[u]],_[4],w[u])),U=me,me=ie,ie=F(W,10),W=j,j=s,te=o,o=n,n=F(m,10),m=se,se=h}var v=this._b+W+n|0;this._b=this._c+ie+o|0,this._c=this._d+me+te|0,this._d=this._e+U+se|0,this._e=this._a+j+m|0,this._a=v},g.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var M=a.alloc?a.alloc(20):new a(20);return M.writeInt32LE(this._a,0),M.writeInt32LE(this._b,4),M.writeInt32LE(this._c,8),M.writeInt32LE(this._d,12),M.writeInt32LE(this._e,16),M},Ce.exports=g},4412:(Ce,ee,E)=>{"use strict";E.d(ee,{t:()=>S});var a=E(1413);class S extends a.B{constructor(R){super(),this._value=R}get value(){return this.getValue()}_subscribe(R){const c=super._subscribe(R);return!c.closed&&R.next(this._value),c}getValue(){const{hasError:R,thrownError:c,_value:D}=this;if(R)throw c;return this._throwIfClosed(),D}next(R){super.next(this._value=R)}}},1985:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>w});var a=E(7707),S=E(8359),p=E(3494),R=E(1203),c=E(1026),D=E(8071),C=E(9786);let w=(()=>{class F{constructor(B){B&&(this._subscribe=B)}lift(B){const P=new F;return P.source=this,P.operator=B,P}subscribe(B,P,$){const k=function g(F){return F&&F instanceof a.vU||function _(F){return F&&(0,D.T)(F.next)&&(0,D.T)(F.error)&&(0,D.T)(F.complete)}(F)&&(0,S.Uv)(F)}(B)?B:new a.Ms(B,P,$);return(0,C.Y)(()=>{const{operator:M,source:O}=this;k.add(M?M.call(k,O):O?this._subscribe(k):this._trySubscribe(k))}),k}_trySubscribe(B){try{return this._subscribe(B)}catch(P){B.error(P)}}forEach(B,P){return new(P=T(P))(($,k)=>{const M=new a.Ms({next:O=>{try{B(O)}catch(U){k(U),M.unsubscribe()}},error:k,complete:$});this.subscribe(M)})}_subscribe(B){var P;return null===(P=this.source)||void 0===P?void 0:P.subscribe(B)}[p.s](){return this}pipe(...B){return(0,R.m)(B)(this)}toPromise(B){return new(B=T(B))((P,$)=>{let k;this.subscribe(M=>k=M,M=>$(M),()=>P(k))})}}return F.create=A=>new F(A),F})();function T(F){var A;return null!==(A=null!=F?F:c.$.Promise)&&void 0!==A?A:Promise}},2771:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>p});var a=E(1413),S=E(6129);class p extends a.B{constructor(c=1/0,D=1/0,C=S.U){super(),this._bufferSize=c,this._windowTime=D,this._timestampProvider=C,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=D===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,D)}next(c){const{isStopped:D,_buffer:C,_infiniteTimeWindow:w,_timestampProvider:T,_windowTime:_}=this;D||(C.push(c),!w&&C.push(T.now()+_)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const D=this._innerSubscribe(c),{_infiniteTimeWindow:C,_buffer:w}=this,T=w.slice();for(let _=0;_{"use strict";E.d(ee,{B:()=>C});var a=E(1985),S=E(8359);const R=(0,E(1853).L)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=E(7908),D=E(9786);let C=(()=>{class T extends a.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(g){const F=new w(this,this);return F.operator=g,F}_throwIfClosed(){if(this.closed)throw new R}next(g){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const F of this.currentObservers)F.next(g)}})}error(g){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=g;const{observers:F}=this;for(;F.length;)F.shift().error(g)}})}complete(){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:g}=this;for(;g.length;)g.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var g;return(null===(g=this.observers)||void 0===g?void 0:g.length)>0}_trySubscribe(g){return this._throwIfClosed(),super._trySubscribe(g)}_subscribe(g){return this._throwIfClosed(),this._checkFinalizedStatuses(g),this._innerSubscribe(g)}_innerSubscribe(g){const{hasError:F,isStopped:A,observers:B}=this;return F||A?S.Kn:(this.currentObservers=null,B.push(g),new S.yU(()=>{this.currentObservers=null,(0,c.o)(B,g)}))}_checkFinalizedStatuses(g){const{hasError:F,thrownError:A,isStopped:B}=this;F?g.error(A):B&&g.complete()}asObservable(){const g=new a.c;return g.source=this,g}}return T.create=(_,g)=>new w(_,g),T})();class w extends C{constructor(_,g){super(),this.destination=_,this.source=g}next(_){var g,F;null===(F=null===(g=this.destination)||void 0===g?void 0:g.next)||void 0===F||F.call(g,_)}error(_){var g,F;null===(F=null===(g=this.destination)||void 0===g?void 0:g.error)||void 0===F||F.call(g,_)}complete(){var _,g;null===(g=null===(_=this.destination)||void 0===_?void 0:_.complete)||void 0===g||g.call(_)}_subscribe(_){var g,F;return null!==(F=null===(g=this.source)||void 0===g?void 0:g.subscribe(_))&&void 0!==F?F:S.Kn}}},7707:(Ce,ee,E)=>{"use strict";E.d(ee,{Ms:()=>$,vU:()=>F});var a=E(8071),S=E(8359),p=E(1026),R=E(5334),c=E(5343);const D=T("C",void 0,void 0);function T(j,W,ie){return{kind:j,value:W,error:ie}}var _=E(9270),g=E(9786);class F extends S.yU{constructor(W){super(),this.isStopped=!1,W?(this.destination=W,(0,S.Uv)(W)&&W.add(this)):this.destination=U}static create(W,ie,me){return new $(W,ie,me)}next(W){this.isStopped?O(function w(j){return T("N",j,void 0)}(W),this):this._next(W)}error(W){this.isStopped?O(function C(j){return T("E",void 0,j)}(W),this):(this.isStopped=!0,this._error(W))}complete(){this.isStopped?O(D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(W){this.destination.next(W)}_error(W){try{this.destination.error(W)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function B(j,W){return A.call(j,W)}class P{constructor(W){this.partialObserver=W}next(W){const{partialObserver:ie}=this;if(ie.next)try{ie.next(W)}catch(me){k(me)}}error(W){const{partialObserver:ie}=this;if(ie.error)try{ie.error(W)}catch(me){k(me)}else k(W)}complete(){const{partialObserver:W}=this;if(W.complete)try{W.complete()}catch(ie){k(ie)}}}class $ extends F{constructor(W,ie,me){let te;if(super(),(0,a.T)(W)||!W)te={next:null!=W?W:void 0,error:null!=ie?ie:void 0,complete:null!=me?me:void 0};else{let se;this&&p.$.useDeprecatedNextContext?(se=Object.create(W),se.unsubscribe=()=>this.unsubscribe(),te={next:W.next&&B(W.next,se),error:W.error&&B(W.error,se),complete:W.complete&&B(W.complete,se)}):te=W}this.destination=new P(te)}}function k(j){p.$.useDeprecatedSynchronousErrorHandling?(0,g.l)(j):(0,R.m)(j)}function O(j,W){const{onStoppedNotification:ie}=p.$;ie&&_.f.setTimeout(()=>ie(j,W))}const U={closed:!0,next:c.l,error:function M(j){throw j},complete:c.l}},8359:(Ce,ee,E)=>{"use strict";E.d(ee,{Kn:()=>D,yU:()=>c,Uv:()=>C});var a=E(8071);const p=(0,E(1853).L)(T=>function(g){T(this),this.message=g?`${g.length} errors occurred during unsubscription:\n${g.map((F,A)=>`${A+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=g});var R=E(7908);class c{constructor(_){this.initialTeardown=_,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let _;if(!this.closed){this.closed=!0;const{_parentage:g}=this;if(g)if(this._parentage=null,Array.isArray(g))for(const B of g)B.remove(this);else g.remove(this);const{initialTeardown:F}=this;if((0,a.T)(F))try{F()}catch(B){_=B instanceof p?B.errors:[B]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const B of A)try{w(B)}catch(P){_=null!=_?_:[],P instanceof p?_=[..._,...P.errors]:_.push(P)}}if(_)throw new p(_)}}add(_){var g;if(_&&_!==this)if(this.closed)w(_);else{if(_ instanceof c){if(_.closed||_._hasParent(this))return;_._addParent(this)}(this._finalizers=null!==(g=this._finalizers)&&void 0!==g?g:[]).push(_)}}_hasParent(_){const{_parentage:g}=this;return g===_||Array.isArray(g)&&g.includes(_)}_addParent(_){const{_parentage:g}=this;this._parentage=Array.isArray(g)?(g.push(_),g):g?[g,_]:_}_removeParent(_){const{_parentage:g}=this;g===_?this._parentage=null:Array.isArray(g)&&(0,R.o)(g,_)}remove(_){const{_finalizers:g}=this;g&&(0,R.o)(g,_),_ instanceof c&&_._removeParent(this)}}c.EMPTY=(()=>{const T=new c;return T.closed=!0,T})();const D=c.EMPTY;function C(T){return T instanceof c||T&&"closed"in T&&(0,a.T)(T.remove)&&(0,a.T)(T.add)&&(0,a.T)(T.unsubscribe)}function w(T){(0,a.T)(T)?T():T.unsubscribe()}},1026:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3207:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>S});var a=E(9350);function S(p,R){const c="object"==typeof R;return new Promise((D,C)=>{let T,w=!1;p.subscribe({next:_=>{T=_,w=!0},error:C,complete:()=>{w?D(T):c?D(R.defaultValue):C(new a.G)}})})}},17:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>D});var a=E(1985),S=E(8359),p=E(9898),R=E(4360),c=E(9974);class D extends a.c{constructor(w,T){super(),this.source=w,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,c.S)(w)&&(this.lift=w.lift)}_subscribe(w){return this.getSubject().subscribe(w)}getSubject(){const w=this._subject;return(!w||w.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:w}=this;this._subject=this._connection=null,null==w||w.unsubscribe()}connect(){let w=this._connection;if(!w){w=this._connection=new S.yU;const T=this.getSubject();w.add(this.source.subscribe((0,R._)(T,void 0,()=>{this._teardown(),T.complete()},_=>{this._teardown(),T.error(_)},()=>this._teardown()))),w.closed&&(this._connection=null,w=S.yU.EMPTY)}return w}refCount(){return(0,p.B)()(this)}}},4572:(Ce,ee,E)=>{"use strict";E.d(ee,{z:()=>_});var a=E(1985),S=E(3073),p=E(6648),R=E(3669),c=E(6450),D=E(9326),C=E(8496),w=E(4360),T=E(5225);function _(...A){const B=(0,D.lI)(A),P=(0,D.ms)(A),{args:$,keys:k}=(0,S.D)(A);if(0===$.length)return(0,p.H)([],B);const M=new a.c(function g(A,B,P=R.D){return $=>{F(B,()=>{const{length:k}=A,M=new Array(k);let O=k,U=k;for(let j=0;j{const W=(0,p.H)(A[j],B);let ie=!1;W.subscribe((0,w._)($,me=>{M[j]=me,ie||(ie=!0,U--),U||$.next(P(M.slice()))},()=>{--O||$.complete()}))},$)},$)}}($,B,k?O=>(0,C.e)(k,O):R.D));return P?M.pipe((0,c.I)(P)):M}function F(A,B,P){A?(0,T.N)(P,A,B):B()}},8793:(Ce,ee,E)=>{"use strict";E.d(ee,{x:()=>c});var a=E(6365),p=E(9326),R=E(6648);function c(...D){return function S(){return(0,a.U)(1)}()((0,R.H)(D,(0,p.lI)(D)))}},9030:(Ce,ee,E)=>{"use strict";E.d(ee,{v:()=>p});var a=E(1985),S=E(8750);function p(R){return new a.c(c=>{(0,S.Tg)(R()).subscribe(c)})}},983:(Ce,ee,E)=>{"use strict";E.d(ee,{w:()=>S});const S=new(E(1985).c)(c=>c.complete())},7468:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>w});var a=E(1985),S=E(3073),p=E(8750),R=E(9326),c=E(4360),D=E(6450),C=E(8496);function w(...T){const _=(0,R.ms)(T),{args:g,keys:F}=(0,S.D)(T),A=new a.c(B=>{const{length:P}=g;if(!P)return void B.complete();const $=new Array(P);let k=P,M=P;for(let O=0;O{U||(U=!0,M--),$[O]=j},()=>k--,void 0,()=>{(!k||!U)&&(M||B.next(F?(0,C.e)(F,$):$),B.complete())}))}});return _?A.pipe((0,D.I)(_)):A}},6648:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>me});var a=E(8750),S=E(5225),p=E(9974),R=E(4360);function c(te,se=0){return(0,p.N)((m,n)=>{m.subscribe((0,R._)(n,o=>(0,S.N)(n,te,()=>n.next(o),se),()=>(0,S.N)(n,te,()=>n.complete(),se),o=>(0,S.N)(n,te,()=>n.error(o),se)))})}function D(te,se=0){return(0,p.N)((m,n)=>{n.add(te.schedule(()=>m.subscribe(n),se))})}var T=E(1985),g=E(4761),F=E(8071);function B(te,se){if(!te)throw new Error("Iterable cannot be null");return new T.c(m=>{(0,S.N)(m,se,()=>{const n=te[Symbol.asyncIterator]();(0,S.N)(m,se,()=>{n.next().then(o=>{o.done?m.complete():m.next(o.value)})},0,!0)})})}var P=E(5055),$=E(9858),k=E(7441),M=E(5397),O=E(7953),U=E(591),j=E(5196);function me(te,se){return se?function ie(te,se){if(null!=te){if((0,P.l)(te))return function C(te,se){return(0,a.Tg)(te).pipe(D(se),c(se))}(te,se);if((0,k.X)(te))return function _(te,se){return new T.c(m=>{let n=0;return se.schedule(function(){n===te.length?m.complete():(m.next(te[n++]),m.closed||this.schedule())})})}(te,se);if((0,$.y)(te))return function w(te,se){return(0,a.Tg)(te).pipe(D(se),c(se))}(te,se);if((0,O.T)(te))return B(te,se);if((0,M.x)(te))return function A(te,se){return new T.c(m=>{let n;return(0,S.N)(m,se,()=>{n=te[g.l](),(0,S.N)(m,se,()=>{let o,u;try{({value:o,done:u}=n.next())}catch(s){return void m.error(s)}u?m.complete():m.next(o)},0,!0)}),()=>(0,F.T)(null==n?void 0:n.return)&&n.return()})}(te,se);if((0,j.U)(te))return function W(te,se){return B((0,j.C)(te),se)}(te,se)}throw(0,U.L)(te)}(te,se):(0,a.Tg)(te)}},3726:(Ce,ee,E)=>{"use strict";E.d(ee,{R:()=>_});var a=E(8750),S=E(1985),p=E(3028),R=E(7441),c=E(8071),D=E(6450);const C=["addListener","removeListener"],w=["addEventListener","removeEventListener"],T=["on","off"];function _(P,$,k,M){if((0,c.T)(k)&&(M=k,k=void 0),M)return _(P,$,k).pipe((0,D.I)(M));const[O,U]=function B(P){return(0,c.T)(P.addEventListener)&&(0,c.T)(P.removeEventListener)}(P)?w.map(j=>W=>P[j]($,W,k)):function F(P){return(0,c.T)(P.addListener)&&(0,c.T)(P.removeListener)}(P)?C.map(g(P,$)):function A(P){return(0,c.T)(P.on)&&(0,c.T)(P.off)}(P)?T.map(g(P,$)):[];if(!O&&(0,R.X)(P))return(0,p.Z)(j=>_(j,$,k))((0,a.Tg)(P));if(!O)throw new TypeError("Invalid event target");return new S.c(j=>{const W=(...ie)=>j.next(1U(W)})}function g(P,$){return k=>M=>P[k]($,M)}},8750:(Ce,ee,E)=>{"use strict";E.d(ee,{Tg:()=>A});var a=E(1635),S=E(7441),p=E(9858),R=E(1985),c=E(5055),D=E(7953),C=E(591),w=E(5397),T=E(5196),_=E(8071),g=E(5334),F=E(3494);function A(j){if(j instanceof R.c)return j;if(null!=j){if((0,c.l)(j))return function B(j){return new R.c(W=>{const ie=j[F.s]();if((0,_.T)(ie.subscribe))return ie.subscribe(W);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(j);if((0,S.X)(j))return function P(j){return new R.c(W=>{for(let ie=0;ie{j.then(ie=>{W.closed||(W.next(ie),W.complete())},ie=>W.error(ie)).then(null,g.m)})}(j);if((0,D.T)(j))return M(j);if((0,w.x)(j))return function k(j){return new R.c(W=>{for(const ie of j)if(W.next(ie),W.closed)return;W.complete()})}(j);if((0,T.U)(j))return function O(j){return M((0,T.C)(j))}(j)}throw(0,C.L)(j)}function M(j){return new R.c(W=>{(function U(j,W){var ie,me,te,se;return(0,a.sH)(this,void 0,void 0,function*(){try{for(ie=(0,a.xN)(j);!(me=yield ie.next()).done;)if(W.next(me.value),W.closed)return}catch(m){te={error:m}}finally{try{me&&!me.done&&(se=ie.return)&&(yield se.call(ie))}finally{if(te)throw te.error}}W.complete()})})(j,W).catch(ie=>W.error(ie))})}},7673:(Ce,ee,E)=>{"use strict";E.d(ee,{of:()=>p});var a=E(9326),S=E(6648);function p(...R){const c=(0,a.lI)(R);return(0,S.H)(R,c)}},8810:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>p});var a=E(1985),S=E(8071);function p(R,c){const D=(0,S.T)(R)?R:()=>R,C=w=>w.error(D());return new a.c(c?w=>c.schedule(C,0,w):C)}},4360:(Ce,ee,E)=>{"use strict";E.d(ee,{_:()=>S});var a=E(7707);function S(R,c,D,C,w){return new p(R,c,D,C,w)}class p extends a.vU{constructor(c,D,C,w,T,_){super(c),this.onFinalize=T,this.shouldUnsubscribe=_,this._next=D?function(g){try{D(g)}catch(F){c.error(F)}}:super._next,this._error=w?function(g){try{w(g)}catch(F){c.error(F)}finally{this.unsubscribe()}}:super._error,this._complete=C?function(){try{C()}catch(g){c.error(g)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:D}=this;super.unsubscribe(),!D&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},9437:(Ce,ee,E)=>{"use strict";E.d(ee,{W:()=>R});var a=E(8750),S=E(4360),p=E(9974);function R(c){return(0,p.N)((D,C)=>{let _,w=null,T=!1;w=D.subscribe((0,S._)(C,void 0,void 0,g=>{_=(0,a.Tg)(c(g,R(c)(D))),w?(w.unsubscribe(),w=null,_.subscribe(C)):T=!0})),T&&(w.unsubscribe(),w=null,_.subscribe(C))})}},274:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>p});var a=E(3028),S=E(8071);function p(R,c){return(0,S.T)(c)?(0,a.Z)(R,c,1):(0,a.Z)(R,1)}},5964:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>p});var a=E(9974),S=E(4360);function p(R,c){return(0,a.N)((D,C)=>{let w=0;D.subscribe((0,S._)(C,T=>R.call(c,T,w++)&&C.next(T)))})}},980:(Ce,ee,E)=>{"use strict";E.d(ee,{j:()=>S});var a=E(9974);function S(p){return(0,a.N)((R,c)=>{try{R.subscribe(c)}finally{c.add(p)}})}},6354:(Ce,ee,E)=>{"use strict";E.d(ee,{T:()=>p});var a=E(9974),S=E(4360);function p(R,c){return(0,a.N)((D,C)=>{let w=0;D.subscribe((0,S._)(C,T=>{C.next(R.call(c,T,w++))}))})}},3703:(Ce,ee,E)=>{"use strict";E.d(ee,{u:()=>S});var a=E(6354);function S(p){return(0,a.T)(()=>p)}},6365:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>p});var a=E(3028),S=E(3669);function p(R=1/0){return(0,a.Z)(S.D,R)}},5412:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>R});var a=E(8750),S=E(5225),p=E(4360);function R(c,D,C,w,T,_,g,F){const A=[];let B=0,P=0,$=!1;const k=()=>{$&&!A.length&&!B&&D.complete()},M=U=>B{_&&D.next(U),B++;let j=!1;(0,a.Tg)(C(U,P++)).subscribe((0,p._)(D,W=>{null==T||T(W),_?M(W):D.next(W)},()=>{j=!0},void 0,()=>{if(j)try{for(B--;A.length&&BO(W)):O(W)}k()}catch(W){D.error(W)}}))};return c.subscribe((0,p._)(D,M,()=>{$=!0,k()})),()=>{null==F||F()}}},3028:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(6354),S=E(8750),p=E(9974),R=E(5412),c=E(8071);function D(C,w,T=1/0){return(0,c.T)(w)?D((_,g)=>(0,a.T)((F,A)=>w(_,F,g,A))((0,S.Tg)(C(_,g))),T):("number"==typeof w&&(T=w),(0,p.N)((_,g)=>(0,R.h)(_,g,C,T)))}},9898:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>p});var a=E(9974),S=E(4360);function p(){return(0,a.N)((R,c)=>{let D=null;R._refCount++;const C=(0,S._)(c,void 0,void 0,void 0,()=>{if(!R||R._refCount<=0||0<--R._refCount)return void(D=null);const w=R._connection,T=D;D=null,w&&(!T||w===T)&&w.unsubscribe(),c.unsubscribe()});R.subscribe(C),C.closed||(D=R.connect())})}},6649:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(4360);function S(p,R,c,D,C){return(w,T)=>{let _=c,g=R,F=0;w.subscribe((0,a._)(T,A=>{const B=F++;g=_?p(g,A,B):(_=!0,A),D&&T.next(g)},C&&(()=>{_&&T.next(g),T.complete()})))}}},5558:(Ce,ee,E)=>{"use strict";E.d(ee,{n:()=>R});var a=E(8750),S=E(9974),p=E(4360);function R(c,D){return(0,S.N)((C,w)=>{let T=null,_=0,g=!1;const F=()=>g&&!T&&w.complete();C.subscribe((0,p._)(w,A=>{null==T||T.unsubscribe();let B=0;const P=_++;(0,a.Tg)(c(A,P)).subscribe(T=(0,p._)(w,$=>w.next(D?D(A,$,P,B++):$),()=>{T=null,F()}))},()=>{g=!0,F()}))})}},6697:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>R});var a=E(983),S=E(9974),p=E(4360);function R(c){return c<=0?()=>a.w:(0,S.N)((D,C)=>{let w=0;D.subscribe((0,p._)(C,T=>{++w<=c&&(C.next(T),c<=w&&C.complete())}))})}},8141:(Ce,ee,E)=>{"use strict";E.d(ee,{M:()=>c});var a=E(8071),S=E(9974),p=E(4360),R=E(3669);function c(D,C,w){const T=(0,a.T)(D)||C||w?{next:D,error:C,complete:w}:D;return T?(0,S.N)((_,g)=>{var F;null===(F=T.subscribe)||void 0===F||F.call(T);let A=!0;_.subscribe((0,p._)(g,B=>{var P;null===(P=T.next)||void 0===P||P.call(T,B),g.next(B)},()=>{var B;A=!1,null===(B=T.complete)||void 0===B||B.call(T),g.complete()},B=>{var P;A=!1,null===(P=T.error)||void 0===P||P.call(T,B),g.error(B)},()=>{var B,P;A&&(null===(B=T.unsubscribe)||void 0===B||B.call(T)),null===(P=T.finalize)||void 0===P||P.call(T)}))}):R.D}},6129:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},9270:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>a});const a={setTimeout(S,p,...R){const{delegate:c}=a;return null!=c&&c.setTimeout?c.setTimeout(S,p,...R):setTimeout(S,p,...R)},clearTimeout(S){const{delegate:p}=a;return((null==p?void 0:p.clearTimeout)||clearTimeout)(S)},delegate:void 0}},4761:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>S});const S=(0,E(1853).L)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Ce,ee,E)=>{"use strict";E.d(ee,{R0:()=>D,lI:()=>c,ms:()=>R});var a=E(8071),S=E(9470);function p(C){return C[C.length-1]}function R(C){return(0,a.T)(p(C))?C.pop():void 0}function c(C){return(0,S.m)(p(C))?C.pop():void 0}function D(C,w){return"number"==typeof p(C)?C.pop():w}},3073:(Ce,ee,E)=>{"use strict";E.d(ee,{D:()=>c});const{isArray:a}=Array,{getPrototypeOf:S,prototype:p,keys:R}=Object;function c(C){if(1===C.length){const w=C[0];if(a(w))return{args:w,keys:null};if(function D(C){return C&&"object"==typeof C&&S(C)===p}(w)){const T=R(w);return{args:T.map(_=>w[_]),keys:T}}}return{args:C,keys:null}}},7908:(Ce,ee,E)=>{"use strict";function a(S,p){if(S){const R=S.indexOf(p);0<=R&&S.splice(R,1)}}E.d(ee,{o:()=>a})},1853:(Ce,ee,E)=>{"use strict";function a(S){const R=S(c=>{Error.call(c),c.stack=(new Error).stack});return R.prototype=Object.create(Error.prototype),R.prototype.constructor=R,R}E.d(ee,{L:()=>a})},8496:(Ce,ee,E)=>{"use strict";function a(S,p){return S.reduce((R,c,D)=>(R[c]=p[D],R),{})}E.d(ee,{e:()=>a})},9786:(Ce,ee,E)=>{"use strict";E.d(ee,{Y:()=>p,l:()=>R});var a=E(1026);let S=null;function p(c){if(a.$.useDeprecatedSynchronousErrorHandling){const D=!S;if(D&&(S={errorThrown:!1,error:null}),c(),D){const{errorThrown:C,error:w}=S;if(S=null,C)throw w}}else c()}function R(c){a.$.useDeprecatedSynchronousErrorHandling&&S&&(S.errorThrown=!0,S.error=c)}},5225:(Ce,ee,E)=>{"use strict";function a(S,p,R,c=0,D=!1){const C=p.schedule(function(){R(),D?S.add(this.schedule(null,c)):this.unsubscribe()},c);if(S.add(C),!D)return C}E.d(ee,{N:()=>a})},3669:(Ce,ee,E)=>{"use strict";function a(S){return S}E.d(ee,{D:()=>a})},7441:(Ce,ee,E)=>{"use strict";E.d(ee,{X:()=>a});const a=S=>S&&"number"==typeof S.length&&"function"!=typeof S},7953:(Ce,ee,E)=>{"use strict";E.d(ee,{T:()=>S});var a=E(8071);function S(p){return Symbol.asyncIterator&&(0,a.T)(null==p?void 0:p[Symbol.asyncIterator])}},8071:(Ce,ee,E)=>{"use strict";function a(S){return"function"==typeof S}E.d(ee,{T:()=>a})},5055:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>p});var a=E(3494),S=E(8071);function p(R){return(0,S.T)(R[a.s])}},5397:(Ce,ee,E)=>{"use strict";E.d(ee,{x:()=>p});var a=E(4761),S=E(8071);function p(R){return(0,S.T)(null==R?void 0:R[a.l])}},4402:(Ce,ee,E)=>{"use strict";E.d(ee,{A:()=>p});var a=E(1985),S=E(8071);function p(R){return!!R&&(R instanceof a.c||(0,S.T)(R.lift)&&(0,S.T)(R.subscribe))}},9858:(Ce,ee,E)=>{"use strict";E.d(ee,{y:()=>S});var a=E(8071);function S(p){return(0,a.T)(null==p?void 0:p.then)}},5196:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>p,U:()=>R});var a=E(1635),S=E(8071);function p(c){return(0,a.AQ)(this,arguments,function*(){const C=c.getReader();try{for(;;){const{value:w,done:T}=yield(0,a.N3)(C.read());if(T)return yield(0,a.N3)(void 0);yield yield(0,a.N3)(w)}}finally{C.releaseLock()}})}function R(c){return(0,S.T)(null==c?void 0:c.getReader)}},9470:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>S});var a=E(8071);function S(p){return p&&(0,a.T)(p.schedule)}},9974:(Ce,ee,E)=>{"use strict";E.d(ee,{N:()=>p,S:()=>S});var a=E(8071);function S(R){return(0,a.T)(null==R?void 0:R.lift)}function p(R){return c=>{if(S(c))return c.lift(function(D){try{return R(D,this)}catch(C){this.error(C)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ce,ee,E)=>{"use strict";E.d(ee,{I:()=>R});var a=E(6354);const{isArray:S}=Array;function R(c){return(0,a.T)(D=>function p(c,D){return S(D)?c(...D):c(D)}(c,D))}},5343:(Ce,ee,E)=>{"use strict";function a(){}E.d(ee,{l:()=>a})},1203:(Ce,ee,E)=>{"use strict";E.d(ee,{F:()=>S,m:()=>p});var a=E(3669);function S(...R){return p(R)}function p(R){return 0===R.length?a.D:1===R.length?R[0]:function(D){return R.reduce((C,w)=>w(C),D)}}},5334:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>p});var a=E(1026),S=E(9270);function p(R){S.f.setTimeout(()=>{const{onUnhandledError:c}=a.$;if(!c)throw R;c(R)})}},591:(Ce,ee,E)=>{"use strict";function a(S){return new TypeError(`You provided ${null!==S&&"object"==typeof S?"an invalid object":`'${S}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}E.d(ee,{L:()=>a})},7054:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function R(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.exports=a:(p(a,ee),ee.Buffer=R),R.prototype=Object.create(S.prototype),p(S,R),R.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},R.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var w=S(c);return void 0!==D?"string"==typeof C?w.fill(D,C):w.fill(D):w.fill(0),w},R.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},R.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},463:(Ce,ee,E)=>{var a=E(7054).Buffer;function S(p,R){this._block=a.alloc(p),this._finalSize=R,this._blockSize=p,this._len=0}S.prototype.update=function(p,R){"string"==typeof p&&(p=a.from(p,R=R||"utf8"));for(var c=this._block,D=this._blockSize,C=p.length,w=this._len,T=0;T=this._finalSize&&(this._update(this._block),this._block.fill(0));var c=8*this._len;if(c<=4294967295)this._block.writeUInt32BE(c,this._blockSize-4);else{var D=(4294967295&c)>>>0;this._block.writeUInt32BE((c-D)/4294967296,this._blockSize-8),this._block.writeUInt32BE(D,this._blockSize-4)}this._update(this._block);var w=this._hash();return p?w.toString(p):w},S.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ce.exports=S},5443:(Ce,ee,E)=>{var a=Ce.exports=function(p){p=p.toLowerCase();var R=a[p];if(!R)throw new Error(p+" is not supported (we accept pull requests)");return new R};a.sha=E(8585),a.sha1=E(1270),a.sha224=E(2709),a.sha256=E(2148),a.sha384=E(1856),a.sha512=E(3121)},8585:(Ce,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,R=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function D(){this.init(),this._w=c,S.call(this,64,56)}function C(_){return _<<5|_>>>27}function w(_){return _<<30|_>>>2}function T(_,g,F,A){return 0===_?g&F|~g&A:2===_?g&F|g&A|F&A:g^F^A}a(D,S),D.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},D.prototype._update=function(_){for(var g=this._w,F=0|this._a,A=0|this._b,B=0|this._c,P=0|this._d,$=0|this._e,k=0;k<16;++k)g[k]=_.readInt32BE(4*k);for(;k<80;++k)g[k]=g[k-3]^g[k-8]^g[k-14]^g[k-16];for(var M=0;M<80;++M){var O=~~(M/20),U=C(F)+T(O,A,B,P)+$+g[M]+R[O]|0;$=P,P=B,B=w(A),A=F,F=U}this._a=F+this._a|0,this._b=A+this._b|0,this._c=B+this._c|0,this._d=P+this._d|0,this._e=$+this._e|0},D.prototype._hash=function(){var _=p.allocUnsafe(20);return _.writeInt32BE(0|this._a,0),_.writeInt32BE(0|this._b,4),_.writeInt32BE(0|this._c,8),_.writeInt32BE(0|this._d,12),_.writeInt32BE(0|this._e,16),_},Ce.exports=D},1270:(Ce,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,R=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function D(){this.init(),this._w=c,S.call(this,64,56)}function C(g){return g<<1|g>>>31}function w(g){return g<<5|g>>>27}function T(g){return g<<30|g>>>2}function _(g,F,A,B){return 0===g?F&A|~F&B:2===g?F&A|F&B|A&B:F^A^B}a(D,S),D.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},D.prototype._update=function(g){for(var F=this._w,A=0|this._a,B=0|this._b,P=0|this._c,$=0|this._d,k=0|this._e,M=0;M<16;++M)F[M]=g.readInt32BE(4*M);for(;M<80;++M)F[M]=C(F[M-3]^F[M-8]^F[M-14]^F[M-16]);for(var O=0;O<80;++O){var U=~~(O/20),j=w(A)+_(U,B,P,$)+k+F[O]+R[U]|0;k=$,$=P,P=T(B),B=A,A=j}this._a=A+this._a|0,this._b=B+this._b|0,this._c=P+this._c|0,this._d=$+this._d|0,this._e=k+this._e|0},D.prototype._hash=function(){var g=p.allocUnsafe(20);return g.writeInt32BE(0|this._a,0),g.writeInt32BE(0|this._b,4),g.writeInt32BE(0|this._c,8),g.writeInt32BE(0|this._d,12),g.writeInt32BE(0|this._e,16),g},Ce.exports=D},2709:(Ce,ee,E)=>{var a=E(1993),S=E(2148),p=E(463),R=E(7054).Buffer,c=new Array(64);function D(){this.init(),this._w=c,p.call(this,64,56)}a(D,S),D.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},D.prototype._hash=function(){var C=R.allocUnsafe(28);return C.writeInt32BE(this._a,0),C.writeInt32BE(this._b,4),C.writeInt32BE(this._c,8),C.writeInt32BE(this._d,12),C.writeInt32BE(this._e,16),C.writeInt32BE(this._f,20),C.writeInt32BE(this._g,24),C},Ce.exports=D},2148:(Ce,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],c=new Array(64);function D(){this.init(),this._w=c,S.call(this,64,56)}function C(A,B,P){return P^A&(B^P)}function w(A,B,P){return A&B|P&(A|B)}function T(A){return(A>>>2|A<<30)^(A>>>13|A<<19)^(A>>>22|A<<10)}function _(A){return(A>>>6|A<<26)^(A>>>11|A<<21)^(A>>>25|A<<7)}function g(A){return(A>>>7|A<<25)^(A>>>18|A<<14)^A>>>3}function F(A){return(A>>>17|A<<15)^(A>>>19|A<<13)^A>>>10}a(D,S),D.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},D.prototype._update=function(A){for(var B=this._w,P=0|this._a,$=0|this._b,k=0|this._c,M=0|this._d,O=0|this._e,U=0|this._f,j=0|this._g,W=0|this._h,ie=0;ie<16;++ie)B[ie]=A.readInt32BE(4*ie);for(;ie<64;++ie)B[ie]=F(B[ie-2])+B[ie-7]+g(B[ie-15])+B[ie-16]|0;for(var me=0;me<64;++me){var te=W+_(O)+C(O,U,j)+R[me]+B[me]|0,se=T(P)+w(P,$,k)|0;W=j,j=U,U=O,O=M+te|0,M=k,k=$,$=P,P=te+se|0}this._a=P+this._a|0,this._b=$+this._b|0,this._c=k+this._c|0,this._d=M+this._d|0,this._e=O+this._e|0,this._f=U+this._f|0,this._g=j+this._g|0,this._h=W+this._h|0},D.prototype._hash=function(){var A=p.allocUnsafe(32);return A.writeInt32BE(this._a,0),A.writeInt32BE(this._b,4),A.writeInt32BE(this._c,8),A.writeInt32BE(this._d,12),A.writeInt32BE(this._e,16),A.writeInt32BE(this._f,20),A.writeInt32BE(this._g,24),A.writeInt32BE(this._h,28),A},Ce.exports=D},1856:(Ce,ee,E)=>{var a=E(1993),S=E(3121),p=E(463),R=E(7054).Buffer,c=new Array(160);function D(){this.init(),this._w=c,p.call(this,128,112)}a(D,S),D.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},D.prototype._hash=function(){var C=R.allocUnsafe(48);function w(T,_,g){C.writeInt32BE(T,g),C.writeInt32BE(_,g+4)}return w(this._ah,this._al,0),w(this._bh,this._bl,8),w(this._ch,this._cl,16),w(this._dh,this._dl,24),w(this._eh,this._el,32),w(this._fh,this._fl,40),C},Ce.exports=D},3121:(Ce,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,R=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],c=new Array(160);function D(){this.init(),this._w=c,S.call(this,128,112)}function C($,k,M){return M^$&(k^M)}function w($,k,M){return $&k|M&($|k)}function T($,k){return($>>>28|k<<4)^(k>>>2|$<<30)^(k>>>7|$<<25)}function _($,k){return($>>>14|k<<18)^($>>>18|k<<14)^(k>>>9|$<<23)}function g($,k){return($>>>1|k<<31)^($>>>8|k<<24)^$>>>7}function F($,k){return($>>>1|k<<31)^($>>>8|k<<24)^($>>>7|k<<25)}function A($,k){return($>>>19|k<<13)^(k>>>29|$<<3)^$>>>6}function B($,k){return($>>>19|k<<13)^(k>>>29|$<<3)^($>>>6|k<<26)}function P($,k){return $>>>0>>0?1:0}a(D,S),D.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},D.prototype._update=function($){for(var k=this._w,M=0|this._ah,O=0|this._bh,U=0|this._ch,j=0|this._dh,W=0|this._eh,ie=0|this._fh,me=0|this._gh,te=0|this._hh,se=0|this._al,m=0|this._bl,n=0|this._cl,o=0|this._dl,u=0|this._el,s=0|this._fl,h=0|this._gl,v=0|this._hl,y=0;y<32;y+=2)k[y]=$.readInt32BE(4*y),k[y+1]=$.readInt32BE(4*y+4);for(;y<160;y+=2){var f=k[y-30],r=k[y-30+1],d=g(f,r),L=F(r,f),I=A(f=k[y-4],r=k[y-4+1]),V=B(r,f),ve=k[y-32],Ae=k[y-32+1],Q=L+k[y-14+1]|0,ae=d+k[y-14]+P(Q,L)|0;ae=(ae=ae+I+P(Q=Q+V|0,V)|0)+ve+P(Q=Q+Ae|0,Ae)|0,k[y]=ae,k[y+1]=Q}for(var tt=0;tt<160;tt+=2){ae=k[tt],Q=k[tt+1];var Oe=w(M,O,U),pe=w(se,m,n),Ie=T(M,se),Se=T(se,M),re=_(W,u),ne=_(u,W),G=R[tt],Ee=R[tt+1],vt=C(W,ie,me),Qe=C(u,s,h),rt=v+ne|0,nn=te+re+P(rt,v)|0;nn=(nn=(nn=nn+vt+P(rt=rt+Qe|0,Qe)|0)+G+P(rt=rt+Ee|0,Ee)|0)+ae+P(rt=rt+Q|0,Q)|0;var gt=Se+pe|0,ht=Ie+Oe+P(gt,Se)|0;te=me,v=h,me=ie,h=s,ie=W,s=u,W=j+nn+P(u=o+rt|0,o)|0,j=U,o=n,U=O,n=m,O=M,m=se,M=nn+ht+P(se=rt+gt|0,rt)|0}this._al=this._al+se|0,this._bl=this._bl+m|0,this._cl=this._cl+n|0,this._dl=this._dl+o|0,this._el=this._el+u|0,this._fl=this._fl+s|0,this._gl=this._gl+h|0,this._hl=this._hl+v|0,this._ah=this._ah+M+P(this._al,se)|0,this._bh=this._bh+O+P(this._bl,m)|0,this._ch=this._ch+U+P(this._cl,n)|0,this._dh=this._dh+j+P(this._dl,o)|0,this._eh=this._eh+W+P(this._el,u)|0,this._fh=this._fh+ie+P(this._fl,s)|0,this._gh=this._gh+me+P(this._gl,h)|0,this._hh=this._hh+te+P(this._hl,v)|0},D.prototype._hash=function(){var $=p.allocUnsafe(64);function k(M,O,U){$.writeInt32BE(M,U),$.writeInt32BE(O,U+4)}return k(this._ah,this._al,0),k(this._bh,this._bl,8),k(this._ch,this._cl,16),k(this._dh,this._dl,24),k(this._eh,this._el,32),k(this._fh,this._fl,40),k(this._gh,this._gl,48),k(this._hh,this._hl,56),$},Ce.exports=D},7045:(Ce,ee,E)=>{Ce.exports=p;var a=E(4356).EventEmitter;function p(){a.call(this)}E(1993)(p,a),p.Readable=E(1092),p.Writable=E(5492),p.Duplex=E(1030),p.Transform=E(3410),p.PassThrough=E(3824),p.finished=E(7854),p.pipeline=E(6846),p.Stream=p,p.prototype.pipe=function(R,c){var D=this;function C(B){R.writable&&!1===R.write(B)&&D.pause&&D.pause()}function w(){D.readable&&D.resume&&D.resume()}D.on("data",C),R.on("drain",w),!R._isStdio&&(!c||!1!==c.end)&&(D.on("end",_),D.on("close",g));var T=!1;function _(){T||(T=!0,R.end())}function g(){T||(T=!0,"function"==typeof R.destroy&&R.destroy())}function F(B){if(A(),0===a.listenerCount(this,"error"))throw B}function A(){D.removeListener("data",C),R.removeListener("drain",w),D.removeListener("end",_),D.removeListener("close",g),D.removeListener("error",F),R.removeListener("error",F),D.removeListener("end",A),D.removeListener("close",A),R.removeListener("close",A)}return D.on("error",F),R.on("error",F),D.on("end",A),D.on("close",A),R.on("close",A),R.emit("pipe",D),R}},8083:Ce=>{"use strict";var E={};function a(D,C,w){w||(w=Error);var _=function(g){function F(A,B,P){return g.call(this,function T(g,F,A){return"string"==typeof C?C:C(g,F,A)}(A,B,P))||this}return function ee(D,C){D.prototype=Object.create(C.prototype),D.prototype.constructor=D,D.__proto__=C}(F,g),F}(w);_.prototype.name=w.name,_.prototype.code=D,E[D]=_}function S(D,C){if(Array.isArray(D)){var w=D.length;return D=D.map(function(T){return String(T)}),w>2?"one of ".concat(C," ").concat(D.slice(0,w-1).join(", "),", or ")+D[w-1]:2===w?"one of ".concat(C," ").concat(D[0]," or ").concat(D[1]):"of ".concat(C," ").concat(D[0])}return"of ".concat(C," ").concat(String(D))}a("ERR_INVALID_OPT_VALUE",function(D,C){return'The value "'+C+'" is invalid for option "'+D+'"'},TypeError),a("ERR_INVALID_ARG_TYPE",function(D,C,w){var T,_;if("string"==typeof C&&function p(D,C,w){return D.substr(!w||w<0?0:+w,C.length)===C}(C,"not ")?(T="must not be",C=C.replace(/^not /,"")):T="must be",function R(D,C,w){return(void 0===w||w>D.length)&&(w=D.length),D.substring(w-C.length,w)===C}(D," argument"))_="The ".concat(D," ").concat(T," ").concat(S(C,"type"));else{var g=function c(D,C,w){return"number"!=typeof w&&(w=0),!(w+C.length>D.length)&&-1!==D.indexOf(C,w)}(D,".")?"property":"argument";_='The "'.concat(D,'" ').concat(g," ").concat(T," ").concat(S(C,"type"))}return _+". Received type ".concat(typeof w)},TypeError),a("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),a("ERR_METHOD_NOT_IMPLEMENTED",function(D){return"The "+D+" method is not implemented"}),a("ERR_STREAM_PREMATURE_CLOSE","Premature close"),a("ERR_STREAM_DESTROYED",function(D){return"Cannot call "+D+" after a stream was destroyed"}),a("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),a("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),a("ERR_STREAM_WRITE_AFTER_END","write after end"),a("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),a("ERR_UNKNOWN_ENCODING",function(D){return"Unknown encoding: "+D},TypeError),a("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ce.exports.F=E},1030:(Ce,ee,E)=>{"use strict";var a=Object.keys||function(_){var g=[];for(var F in _)g.push(F);return g};Ce.exports=C;var S=E(1092),p=E(5492);E(1993)(C,S);for(var R=a(p.prototype),c=0;c{"use strict";Ce.exports=S;var a=E(3410);function S(p){if(!(this instanceof S))return new S(p);a.call(this,p)}E(1993)(S,a),S.prototype._transform=function(p,R,c){c(null,p)}},1092:(Ce,ee,E)=>{"use strict";var a;Ce.exports=m,m.ReadableState=se,E(4356);var _,p=function(Ie,Se){return Ie.listeners(Se).length},R=E(2601),c=E(3838).Buffer,D=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},T=E(7199);_=T&&T.debuglog?T.debuglog("stream"):function(){};var U,j,W,g=E(7606),F=E(8152),B=E(2827).getHighWaterMark,P=E(8083).F,$=P.ERR_INVALID_ARG_TYPE,k=P.ERR_STREAM_PUSH_AFTER_EOF,M=P.ERR_METHOD_NOT_IMPLEMENTED,O=P.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;E(1993)(m,R);var ie=F.errorOrDestroy,me=["error","close","destroy","pause","resume"];function se(pe,Ie,Se){a=a||E(1030),"boolean"!=typeof Se&&(Se=Ie instanceof a),this.objectMode=!!(pe=pe||{}).objectMode,Se&&(this.objectMode=this.objectMode||!!pe.readableObjectMode),this.highWaterMark=B(this,pe,"readableHighWaterMark",Se),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==pe.emitClose,this.autoDestroy=!!pe.autoDestroy,this.destroyed=!1,this.defaultEncoding=pe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,pe.encoding&&(U||(U=E(8454).I),this.decoder=new U(pe.encoding),this.encoding=pe.encoding)}function m(pe){if(a=a||E(1030),!(this instanceof m))return new m(pe);this._readableState=new se(pe,this,this instanceof a),this.readable=!0,pe&&("function"==typeof pe.read&&(this._read=pe.read),"function"==typeof pe.destroy&&(this._destroy=pe.destroy)),R.call(this)}function n(pe,Ie,Se,re,ne){_("readableAddChunk",Ie);var Ee,G=pe._readableState;if(null===Ie)G.reading=!1,function y(pe,Ie){if(_("onEofChunk"),!Ie.ended){if(Ie.decoder){var Se=Ie.decoder.end();Se&&Se.length&&(Ie.buffer.push(Se),Ie.length+=Ie.objectMode?1:Se.length)}Ie.ended=!0,Ie.sync?f(pe):(Ie.needReadable=!1,Ie.emittedReadable||(Ie.emittedReadable=!0,r(pe)))}}(pe,G);else if(ne||(Ee=function u(pe,Ie){var Se;return!function w(pe){return c.isBuffer(pe)||pe instanceof D}(Ie)&&"string"!=typeof Ie&&void 0!==Ie&&!pe.objectMode&&(Se=new $("chunk",["string","Buffer","Uint8Array"],Ie)),Se}(G,Ie)),Ee)ie(pe,Ee);else if(G.objectMode||Ie&&Ie.length>0)if("string"!=typeof Ie&&!G.objectMode&&Object.getPrototypeOf(Ie)!==c.prototype&&(Ie=function C(pe){return c.from(pe)}(Ie)),re)G.endEmitted?ie(pe,new O):o(pe,G,Ie,!0);else if(G.ended)ie(pe,new k);else{if(G.destroyed)return!1;G.reading=!1,G.decoder&&!Se?(Ie=G.decoder.write(Ie),G.objectMode||0!==Ie.length?o(pe,G,Ie,!1):d(pe,G)):o(pe,G,Ie,!1)}else re||(G.reading=!1,d(pe,G));return!G.ended&&(G.lengthIe.highWaterMark&&(Ie.highWaterMark=function h(pe){return pe>=s?pe=s:(pe--,pe|=pe>>>1,pe|=pe>>>2,pe|=pe>>>4,pe|=pe>>>8,pe|=pe>>>16,pe++),pe}(pe)),pe<=Ie.length?pe:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}function f(pe){var Ie=pe._readableState;_("emitReadable",Ie.needReadable,Ie.emittedReadable),Ie.needReadable=!1,Ie.emittedReadable||(_("emitReadable",Ie.flowing),Ie.emittedReadable=!0,process.nextTick(r,pe))}function r(pe){var Ie=pe._readableState;_("emitReadable_",Ie.destroyed,Ie.length,Ie.ended),!Ie.destroyed&&(Ie.length||Ie.ended)&&(pe.emit("readable"),Ie.emittedReadable=!1),Ie.needReadable=!Ie.flowing&&!Ie.ended&&Ie.length<=Ie.highWaterMark,Ae(pe)}function d(pe,Ie){Ie.readingMore||(Ie.readingMore=!0,process.nextTick(L,pe,Ie))}function L(pe,Ie){for(;!Ie.reading&&!Ie.ended&&(Ie.length0,Ie.resumeScheduled&&!Ie.paused?Ie.flowing=!0:pe.listenerCount("data")>0&&pe.resume()}function q(pe){_("readable nexttick read 0"),pe.read(0)}function ve(pe,Ie){_("resume",Ie.reading),Ie.reading||pe.read(0),Ie.resumeScheduled=!1,pe.emit("resume"),Ae(pe),Ie.flowing&&!Ie.reading&&pe.read(0)}function Ae(pe){var Ie=pe._readableState;for(_("flow",Ie.flowing);Ie.flowing&&null!==pe.read(););}function Q(pe,Ie){return 0===Ie.length?null:(Ie.objectMode?Se=Ie.buffer.shift():!pe||pe>=Ie.length?(Se=Ie.decoder?Ie.buffer.join(""):1===Ie.buffer.length?Ie.buffer.first():Ie.buffer.concat(Ie.length),Ie.buffer.clear()):Se=Ie.buffer.consume(pe,Ie.decoder),Se);var Se}function ae(pe){var Ie=pe._readableState;_("endReadable",Ie.endEmitted),Ie.endEmitted||(Ie.ended=!0,process.nextTick(tt,Ie,pe))}function tt(pe,Ie){if(_("endReadableNT",pe.endEmitted,pe.length),!pe.endEmitted&&0===pe.length&&(pe.endEmitted=!0,Ie.readable=!1,Ie.emit("end"),pe.autoDestroy)){var Se=Ie._writableState;(!Se||Se.autoDestroy&&Se.finished)&&Ie.destroy()}}function Oe(pe,Ie){for(var Se=0,re=pe.length;Se=Ie.highWaterMark:Ie.length>0)||Ie.ended))return _("read: emitReadable",Ie.length,Ie.ended),0===Ie.length&&Ie.ended?ae(this):f(this),null;if(0===(pe=v(pe,Ie))&&Ie.ended)return 0===Ie.length&&ae(this),null;var ne,re=Ie.needReadable;return _("need readable",re),(0===Ie.length||Ie.length-pe0?Q(pe,Ie):null)?(Ie.needReadable=Ie.length<=Ie.highWaterMark,pe=0):(Ie.length-=pe,Ie.awaitDrain=0),0===Ie.length&&(Ie.ended||(Ie.needReadable=!0),Se!==pe&&Ie.ended&&ae(this)),null!==ne&&this.emit("data",ne),ne},m.prototype._read=function(pe){ie(this,new M("_read()"))},m.prototype.pipe=function(pe,Ie){var Se=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=pe;break;case 1:re.pipes=[re.pipes,pe];break;default:re.pipes.push(pe)}re.pipesCount+=1,_("pipe count=%d opts=%j",re.pipesCount,Ie);var G=Ie&&!1===Ie.end||pe===process.stdout||pe===process.stderr?Pt:vt;function vt(){_("onend"),pe.end()}re.endEmitted?process.nextTick(G):Se.once("end",G),pe.on("unpipe",function Ee(En,It){_("onunpipe"),En===Se&&It&&!1===It.hasUnpiped&&(It.hasUnpiped=!0,function nn(){_("cleanup"),pe.removeListener("close",on),pe.removeListener("finish",Mt),pe.removeListener("drain",Qe),pe.removeListener("error",ht),pe.removeListener("unpipe",Ee),Se.removeListener("end",vt),Se.removeListener("end",Pt),Se.removeListener("data",gt),rt=!0,re.awaitDrain&&(!pe._writableState||pe._writableState.needDrain)&&Qe()}())});var Qe=function I(pe){return function(){var Se=pe._readableState;_("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,0===Se.awaitDrain&&p(pe,"data")&&(Se.flowing=!0,Ae(pe))}}(Se);pe.on("drain",Qe);var rt=!1;function gt(En){_("ondata");var It=pe.write(En);_("dest.write",It),!1===It&&((1===re.pipesCount&&re.pipes===pe||re.pipesCount>1&&-1!==Oe(re.pipes,pe))&&!rt&&(_("false write response, pause",re.awaitDrain),re.awaitDrain++),Se.pause())}function ht(En){_("onerror",En),Pt(),pe.removeListener("error",ht),0===p(pe,"error")&&ie(pe,En)}function on(){pe.removeListener("finish",Mt),Pt()}function Mt(){_("onfinish"),pe.removeListener("close",on),Pt()}function Pt(){_("unpipe"),Se.unpipe(pe)}return Se.on("data",gt),function te(pe,Ie,Se){if("function"==typeof pe.prependListener)return pe.prependListener(Ie,Se);pe._events&&pe._events[Ie]?Array.isArray(pe._events[Ie])?pe._events[Ie].unshift(Se):pe._events[Ie]=[Se,pe._events[Ie]]:pe.on(Ie,Se)}(pe,"error",ht),pe.once("close",on),pe.once("finish",Mt),pe.emit("pipe",Se),re.flowing||(_("pipe resume"),Se.resume()),pe},m.prototype.unpipe=function(pe){var Ie=this._readableState,Se={hasUnpiped:!1};if(0===Ie.pipesCount)return this;if(1===Ie.pipesCount)return pe&&pe!==Ie.pipes||(pe||(pe=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,pe&&pe.emit("unpipe",this,Se)),this;if(!pe){var re=Ie.pipes,ne=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var G=0;G0,!1!==re.flowing&&this.resume()):"readable"===pe&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,_("on readable",re.length,re.reading),re.length?f(this):re.reading||process.nextTick(q,this)),Se},m.prototype.removeListener=function(pe,Ie){var Se=R.prototype.removeListener.call(this,pe,Ie);return"readable"===pe&&process.nextTick(V,this),Se},m.prototype.removeAllListeners=function(pe){var Ie=R.prototype.removeAllListeners.apply(this,arguments);return("readable"===pe||void 0===pe)&&process.nextTick(V,this),Ie},m.prototype.resume=function(){var pe=this._readableState;return pe.flowing||(_("resume"),pe.flowing=!pe.readableListening,function oe(pe,Ie){Ie.resumeScheduled||(Ie.resumeScheduled=!0,process.nextTick(ve,pe,Ie))}(this,pe)),pe.paused=!1,this},m.prototype.pause=function(){return _("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(_("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},m.prototype.wrap=function(pe){var Ie=this,Se=this._readableState,re=!1;for(var ne in pe.on("end",function(){if(_("wrapped end"),Se.decoder&&!Se.ended){var Ee=Se.decoder.end();Ee&&Ee.length&&Ie.push(Ee)}Ie.push(null)}),pe.on("data",function(Ee){_("wrapped data"),Se.decoder&&(Ee=Se.decoder.write(Ee)),Se.objectMode&&null==Ee||!(Se.objectMode||Ee&&Ee.length)||Ie.push(Ee)||(re=!0,pe.pause())}),pe)void 0===this[ne]&&"function"==typeof pe[ne]&&(this[ne]=function(vt){return function(){return pe[vt].apply(pe,arguments)}}(ne));for(var G=0;G{"use strict";Ce.exports=w;var a=E(8083).F,S=a.ERR_METHOD_NOT_IMPLEMENTED,p=a.ERR_MULTIPLE_CALLBACK,R=a.ERR_TRANSFORM_ALREADY_TRANSFORMING,c=a.ERR_TRANSFORM_WITH_LENGTH_0,D=E(1030);function C(g,F){var A=this._transformState;A.transforming=!1;var B=A.writecb;if(null===B)return this.emit("error",new p);A.writechunk=null,A.writecb=null,null!=F&&this.push(F),B(g);var P=this._readableState;P.reading=!1,(P.needReadable||P.length{"use strict";function S(Ae){var Q=this;this.next=null,this.entry=null,this.finish=function(){!function ve(Ae,Q,ae){var tt=Ae.entry;for(Ae.entry=null;tt;){var Oe=tt.callback;Q.pendingcb--,Oe(ae),tt=tt.next}Q.corkedRequestsFree.next=Ae}(Q,Ae)}}var p;Ce.exports=se,se.WritableState=me;var te,R={deprecate:E(3398)},c=E(2601),D=E(3838).Buffer,C=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},_=E(8152),F=E(2827).getHighWaterMark,A=E(8083).F,B=A.ERR_INVALID_ARG_TYPE,P=A.ERR_METHOD_NOT_IMPLEMENTED,$=A.ERR_MULTIPLE_CALLBACK,k=A.ERR_STREAM_CANNOT_PIPE,M=A.ERR_STREAM_DESTROYED,O=A.ERR_STREAM_NULL_VALUES,U=A.ERR_STREAM_WRITE_AFTER_END,j=A.ERR_UNKNOWN_ENCODING,W=_.errorOrDestroy;function ie(){}function me(Ae,Q,ae){p=p||E(1030),"boolean"!=typeof ae&&(ae=Q instanceof p),this.objectMode=!!(Ae=Ae||{}).objectMode,ae&&(this.objectMode=this.objectMode||!!Ae.writableObjectMode),this.highWaterMark=F(this,Ae,"writableHighWaterMark",ae),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Ae.decodeStrings),this.defaultEncoding=Ae.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Oe){!function y(Ae,Q){var ae=Ae._writableState,tt=ae.sync,Oe=ae.writecb;if("function"!=typeof Oe)throw new $;if(function v(Ae){Ae.writing=!1,Ae.writecb=null,Ae.length-=Ae.writelen,Ae.writelen=0}(ae),Q)!function h(Ae,Q,ae,tt,Oe){--Q.pendingcb,ae?(process.nextTick(Oe,tt),process.nextTick(q,Ae,Q),Ae._writableState.errorEmitted=!0,W(Ae,tt)):(Oe(tt),Ae._writableState.errorEmitted=!0,W(Ae,tt),q(Ae,Q))}(Ae,ae,tt,Q,Oe);else{var pe=L(ae)||Ae.destroyed;!pe&&!ae.corked&&!ae.bufferProcessing&&ae.bufferedRequest&&d(Ae,ae),tt?process.nextTick(f,Ae,ae,pe,Oe):f(Ae,ae,pe,Oe)}}(Q,Oe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Ae.emitClose,this.autoDestroy=!!Ae.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new S(this)}function se(Ae){var Q=this instanceof(p=p||E(1030));if(!Q&&!te.call(se,this))return new se(Ae);this._writableState=new me(Ae,this,Q),this.writable=!0,Ae&&("function"==typeof Ae.write&&(this._write=Ae.write),"function"==typeof Ae.writev&&(this._writev=Ae.writev),"function"==typeof Ae.destroy&&(this._destroy=Ae.destroy),"function"==typeof Ae.final&&(this._final=Ae.final)),c.call(this)}function s(Ae,Q,ae,tt,Oe,pe,Ie){Q.writelen=tt,Q.writecb=Ie,Q.writing=!0,Q.sync=!0,Q.destroyed?Q.onwrite(new M("write")):ae?Ae._writev(Oe,Q.onwrite):Ae._write(Oe,pe,Q.onwrite),Q.sync=!1}function f(Ae,Q,ae,tt){ae||function r(Ae,Q){0===Q.length&&Q.needDrain&&(Q.needDrain=!1,Ae.emit("drain"))}(Ae,Q),Q.pendingcb--,tt(),q(Ae,Q)}function d(Ae,Q){Q.bufferProcessing=!0;var ae=Q.bufferedRequest;if(Ae._writev&&ae&&ae.next){var Oe=new Array(Q.bufferedRequestCount),pe=Q.corkedRequestsFree;pe.entry=ae;for(var Ie=0,Se=!0;ae;)Oe[Ie]=ae,ae.isBuf||(Se=!1),ae=ae.next,Ie+=1;Oe.allBuffers=Se,s(Ae,Q,!0,Q.length,Oe,"",pe.finish),Q.pendingcb++,Q.lastBufferedRequest=null,pe.next?(Q.corkedRequestsFree=pe.next,pe.next=null):Q.corkedRequestsFree=new S(Q),Q.bufferedRequestCount=0}else{for(;ae;){var re=ae.chunk;if(s(Ae,Q,!1,Q.objectMode?1:re.length,re,ae.encoding,ae.callback),ae=ae.next,Q.bufferedRequestCount--,Q.writing)break}null===ae&&(Q.lastBufferedRequest=null)}Q.bufferedRequest=ae,Q.bufferProcessing=!1}function L(Ae){return Ae.ending&&0===Ae.length&&null===Ae.bufferedRequest&&!Ae.finished&&!Ae.writing}function I(Ae,Q){Ae._final(function(ae){Q.pendingcb--,ae&&W(Ae,ae),Q.prefinished=!0,Ae.emit("prefinish"),q(Ae,Q)})}function q(Ae,Q){var ae=L(Q);if(ae&&(function V(Ae,Q){!Q.prefinished&&!Q.finalCalled&&("function"!=typeof Ae._final||Q.destroyed?(Q.prefinished=!0,Ae.emit("prefinish")):(Q.pendingcb++,Q.finalCalled=!0,process.nextTick(I,Ae,Q)))}(Ae,Q),0===Q.pendingcb&&(Q.finished=!0,Ae.emit("finish"),Q.autoDestroy))){var tt=Ae._readableState;(!tt||tt.autoDestroy&&tt.endEmitted)&&Ae.destroy()}return ae}E(1993)(se,c),me.prototype.getBuffer=function(){for(var Q=this.bufferedRequest,ae=[];Q;)ae.push(Q),Q=Q.next;return ae},function(){try{Object.defineProperty(me.prototype,"buffer",{get:R.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(te=Function.prototype[Symbol.hasInstance],Object.defineProperty(se,Symbol.hasInstance,{value:function(Q){return!!te.call(this,Q)||this===se&&Q&&Q._writableState instanceof me}})):te=function(Q){return Q instanceof this},se.prototype.pipe=function(){W(this,new k)},se.prototype.write=function(Ae,Q,ae){var tt=this._writableState,Oe=!1,pe=!tt.objectMode&&function T(Ae){return D.isBuffer(Ae)||Ae instanceof C}(Ae);return pe&&!D.isBuffer(Ae)&&(Ae=function w(Ae){return D.from(Ae)}(Ae)),"function"==typeof Q&&(ae=Q,Q=null),pe?Q="buffer":Q||(Q=tt.defaultEncoding),"function"!=typeof ae&&(ae=ie),tt.ending?function m(Ae,Q){var ae=new U;W(Ae,ae),process.nextTick(Q,ae)}(this,ae):(pe||function n(Ae,Q,ae,tt){var Oe;return null===ae?Oe=new O:"string"!=typeof ae&&!Q.objectMode&&(Oe=new B("chunk",["string","Buffer"],ae)),!Oe||(W(Ae,Oe),process.nextTick(tt,Oe),!1)}(this,tt,Ae,ae))&&(tt.pendingcb++,Oe=function u(Ae,Q,ae,tt,Oe,pe){if(!ae){var Ie=function o(Ae,Q,ae){return!Ae.objectMode&&!1!==Ae.decodeStrings&&"string"==typeof Q&&(Q=D.from(Q,ae)),Q}(Q,tt,Oe);tt!==Ie&&(ae=!0,Oe="buffer",tt=Ie)}var Se=Q.objectMode?1:tt.length;Q.length+=Se;var re=Q.length-1))throw new j(Q);return this._writableState.defaultEncoding=Q,this},Object.defineProperty(se.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(se.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),se.prototype._write=function(Ae,Q,ae){ae(new P("_write()"))},se.prototype._writev=null,se.prototype.end=function(Ae,Q,ae){var tt=this._writableState;return"function"==typeof Ae?(ae=Ae,Ae=null,Q=null):"function"==typeof Q&&(ae=Q,Q=null),null!=Ae&&this.write(Ae,Q),tt.corked&&(tt.corked=1,this.uncork()),tt.ending||function oe(Ae,Q,ae){Q.ending=!0,q(Ae,Q),ae&&(Q.finished?process.nextTick(ae):Ae.once("finish",ae)),Q.ended=!0,Ae.writable=!1}(this,tt,ae),this},Object.defineProperty(se.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(se.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Q){this._writableState&&(this._writableState.destroyed=Q)}}),se.prototype.destroy=_.destroy,se.prototype._undestroy=_.undestroy,se.prototype._destroy=function(Ae,Q){Q(Ae)}},2683:(Ce,ee,E)=>{"use strict";var a;function S(U,j,W){return j=function p(U){var j=function R(U,j){if("object"!=typeof U||null===U)return U;var W=U[Symbol.toPrimitive];if(void 0!==W){var ie=W.call(U,j||"default");if("object"!=typeof ie)return ie;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===j?String:Number)(U)}(U,"string");return"symbol"==typeof j?j:String(j)}(j),j in U?Object.defineProperty(U,j,{value:W,enumerable:!0,configurable:!0,writable:!0}):U[j]=W,U}var c=E(7854),D=Symbol("lastResolve"),C=Symbol("lastReject"),w=Symbol("error"),T=Symbol("ended"),_=Symbol("lastPromise"),g=Symbol("handlePromise"),F=Symbol("stream");function A(U,j){return{value:U,done:j}}function B(U){var j=U[D];if(null!==j){var W=U[F].read();null!==W&&(U[_]=null,U[D]=null,U[C]=null,j(A(W,!1)))}}function P(U){process.nextTick(B,U)}var k=Object.getPrototypeOf(function(){}),M=Object.setPrototypeOf((S(a={get stream(){return this[F]},next:function(){var j=this,W=this[w];if(null!==W)return Promise.reject(W);if(this[T])return Promise.resolve(A(void 0,!0));if(this[F].destroyed)return new Promise(function(se,m){process.nextTick(function(){j[w]?m(j[w]):se(A(void 0,!0))})});var me,ie=this[_];if(ie)me=new Promise(function $(U,j){return function(W,ie){U.then(function(){j[T]?W(A(void 0,!0)):j[g](W,ie)},ie)}}(ie,this));else{var te=this[F].read();if(null!==te)return Promise.resolve(A(te,!1));me=new Promise(this[g])}return this[_]=me,me}},Symbol.asyncIterator,function(){return this}),S(a,"return",function(){var j=this;return new Promise(function(W,ie){j[F].destroy(null,function(me){me?ie(me):W(A(void 0,!0))})})}),a),k);Ce.exports=function(j){var W,ie=Object.create(M,(S(W={},F,{value:j,writable:!0}),S(W,D,{value:null,writable:!0}),S(W,C,{value:null,writable:!0}),S(W,w,{value:null,writable:!0}),S(W,T,{value:j._readableState.endEmitted,writable:!0}),S(W,g,{value:function(te,se){var m=ie[F].read();m?(ie[_]=null,ie[D]=null,ie[C]=null,te(A(m,!1))):(ie[D]=te,ie[C]=se)},writable:!0}),W));return ie[_]=null,c(j,function(me){if(me&&"ERR_STREAM_PREMATURE_CLOSE"!==me.code){var te=ie[C];return null!==te&&(ie[_]=null,ie[D]=null,ie[C]=null,te(me)),void(ie[w]=me)}var se=ie[D];null!==se&&(ie[_]=null,ie[D]=null,ie[C]=null,se(A(void 0,!0))),ie[T]=!0}),j.on("readable",P.bind(null,ie)),ie}},7606:(Ce,ee,E)=>{"use strict";function a(P,$){var k=Object.keys(P);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(P);$&&(M=M.filter(function(O){return Object.getOwnPropertyDescriptor(P,O).enumerable})),k.push.apply(k,M)}return k}function S(P){for(var $=1;$0?this.tail.next=M:this.head=M,this.tail=M,++this.length}},{key:"unshift",value:function(k){var M={data:k,next:this.head};0===this.length&&(this.tail=M),this.head=M,++this.length}},{key:"shift",value:function(){if(0!==this.length){var k=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,k}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(k){if(0===this.length)return"";for(var M=this.head,O=""+M.data;M=M.next;)O+=k+M.data;return O}},{key:"concat",value:function(k){if(0===this.length)return _.alloc(0);for(var M=_.allocUnsafe(k>>>0),O=this.head,U=0;O;)B(O.data,M,U),U+=O.data.length,O=O.next;return M}},{key:"consume",value:function(k,M){var O;return kj.length?j.length:k;if(U+=W===j.length?j:j.slice(0,k),0==(k-=W)){W===j.length?(++O,this.head=M.next?M.next:this.tail=null):(this.head=M,M.data=j.slice(W));break}++O}return this.length-=O,U}},{key:"_getBuffer",value:function(k){var M=_.allocUnsafe(k),O=this.head,U=1;for(O.data.copy(M),k-=O.data.length;O=O.next;){var j=O.data,W=k>j.length?j.length:k;if(j.copy(M,M.length-k,0,W),0==(k-=W)){W===j.length?(++U,this.head=O.next?O.next:this.tail=null):(this.head=O,O.data=j.slice(W));break}++U}return this.length-=U,M}},{key:A,value:function(k,M){return F(this,S(S({},M),{},{depth:0,customInspect:!1}))}}]),P}()},8152:Ce=>{"use strict";function E(c,D){p(c,D),a(c)}function a(c){c._writableState&&!c._writableState.emitClose||c._readableState&&!c._readableState.emitClose||c.emit("close")}function p(c,D){c.emit("error",D)}Ce.exports={destroy:function ee(c,D){var C=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(D?D(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(p,this,c)):process.nextTick(p,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(_){!D&&_?C._writableState?C._writableState.errorEmitted?process.nextTick(a,C):(C._writableState.errorEmitted=!0,process.nextTick(E,C,_)):process.nextTick(E,C,_):D?(process.nextTick(a,C),D(_)):process.nextTick(a,C)}),this)},undestroy:function S(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function R(c,D){var C=c._readableState,w=c._writableState;C&&C.autoDestroy||w&&w.autoDestroy?c.destroy(D):c.emit("error",D)}}},7854:(Ce,ee,E)=>{"use strict";var a=E(8083).F.ERR_STREAM_PREMATURE_CLOSE;function p(){}Ce.exports=function c(D,C,w){if("function"==typeof C)return c(D,null,C);C||(C={}),w=function S(D){var C=!1;return function(){if(!C){C=!0;for(var w=arguments.length,T=new Array(w),_=0;_{Ce.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(Ce,ee,E)=>{"use strict";var a,p=E(8083).F,R=p.ERR_MISSING_ARGS,c=p.ERR_STREAM_DESTROYED;function D(A){if(A)throw A}function T(A){A()}function _(A,B){return A.pipe(B)}Ce.exports=function F(){for(var A=arguments.length,B=new Array(A),P=0;P0,function(ie){k||(k=ie),ie&&M.forEach(T),!j&&(M.forEach(T),$(k))})});return B.reduce(_)}},2827:(Ce,ee,E)=>{"use strict";var a=E(8083).F.ERR_INVALID_OPT_VALUE;Ce.exports={getHighWaterMark:function p(R,c,D,C){var w=function S(R,c,D){return null!=R.highWaterMark?R.highWaterMark:c?R[D]:null}(c,C,D);if(null!=w){if(!isFinite(w)||Math.floor(w)!==w||w<0)throw new a(C?D:"highWaterMark",w);return Math.floor(w)}return R.objectMode?16:16384}}},2601:(Ce,ee,E)=>{Ce.exports=E(4356).EventEmitter},8454:(Ce,ee,E)=>{"use strict";var a=E(4272).Buffer,S=a.isEncoding||function(M){switch((M=""+M)&&M.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function c(M){var O;switch(this.encoding=function R(M){var O=function p(M){if(!M)return"utf8";for(var O;;)switch(M){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return M;default:if(O)return;M=(""+M).toLowerCase(),O=!0}}(M);if("string"!=typeof O&&(a.isEncoding===S||!S(M)))throw new Error("Unknown encoding: "+M);return O||M}(M),this.encoding){case"utf16le":this.text=F,this.end=A,O=4;break;case"utf8":this.fillLast=T,O=4;break;case"base64":this.text=B,this.end=P,O=3;break;default:return this.write=$,void(this.end=k)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(O)}function D(M){return M<=127?0:M>>5==6?2:M>>4==14?3:M>>3==30?4:M>>6==2?-1:-2}function T(M){var O=this.lastTotal-this.lastNeed,U=function w(M,O,U){if(128!=(192&O[0]))return M.lastNeed=0,"\ufffd";if(M.lastNeed>1&&O.length>1){if(128!=(192&O[1]))return M.lastNeed=1,"\ufffd";if(M.lastNeed>2&&O.length>2&&128!=(192&O[2]))return M.lastNeed=2,"\ufffd"}}(this,M);return void 0!==U?U:this.lastNeed<=M.length?(M.copy(this.lastChar,O,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,O,0,M.length),void(this.lastNeed-=M.length))}function F(M,O){if((M.length-O)%2==0){var U=M.toString("utf16le",O);if(U){var j=U.charCodeAt(U.length-1);if(j>=55296&&j<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=M[M.length-1],M.toString("utf16le",O,M.length-1)}function A(M){var O=M&&M.length?this.write(M):"";return this.lastNeed?O+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):O}function B(M,O){var U=(M.length-O)%3;return 0===U?M.toString("base64",O):(this.lastNeed=3-U,this.lastTotal=3,1===U?this.lastChar[0]=M[M.length-1]:(this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1]),M.toString("base64",O,M.length-U))}function P(M){var O=M&&M.length?this.write(M):"";return this.lastNeed?O+this.lastChar.toString("base64",0,3-this.lastNeed):O}function $(M){return M.toString(this.encoding)}function k(M){return M&&M.length?this.write(M):""}ee.I=c,c.prototype.write=function(M){if(0===M.length)return"";var O,U;if(this.lastNeed){if(void 0===(O=this.fillLast(M)))return"";U=this.lastNeed,this.lastNeed=0}else U=0;return U=0?(W>0&&(M.lastNeed=W-1),W):--j=0?(W>0&&(M.lastNeed=W-2),W):--j=0?(W>0&&(2===W?W=0:M.lastNeed=W-3),W):0}(this,M,O);if(!this.lastNeed)return M.toString("utf8",O);this.lastTotal=U;var j=M.length-(U-this.lastNeed);return M.copy(this.lastChar,0,j),M.toString("utf8",O,j)},c.prototype.fillLast=function(M){if(this.lastNeed<=M.length)return M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,M.length),this.lastNeed-=M.length}},4272:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function R(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.exports=a:(p(a,ee),ee.Buffer=R),p(S,R),R.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},R.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var w=S(c);return void 0!==D?"string"==typeof C?w.fill(D,C):w.fill(D):w.fill(0),w},R.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},R.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},3398:Ce=>{function E(a){try{if(!global.localStorage)return!1}catch{return!1}var S=global.localStorage[a];return null!=S&&"true"===String(S).toLowerCase()}Ce.exports=function ee(a,S){if(E("noDeprecation"))return a;var p=!1;return function R(){if(!p){if(E("throwDeprecation"))throw new Error(S);E("traceDeprecation")?console.trace(S):console.warn(S),p=!0}return a.apply(this,arguments)}}},6421:(Ce,ee,E)=>{"use strict";E.d(ee,{A:()=>g});const S={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let p;const R=new Uint8Array(16);function c(){if(!p&&(p=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!p))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(R)}const D=[];for(let F=0;F<256;++F)D.push((F+256).toString(16).slice(1));const g=function _(F,A,B){if(S.randomUUID&&!A&&!F)return S.randomUUID();const P=(F=F||{}).random||(F.rng||c)();if(P[6]=15&P[6]|64,P[8]=63&P[8]|128,A){B=B||0;for(let $=0;$<16;++$)A[B+$]=P[$];return A}return function C(F,A=0){return D[F[A+0]]+D[F[A+1]]+D[F[A+2]]+D[F[A+3]]+"-"+D[F[A+4]]+D[F[A+5]]+"-"+D[F[A+6]]+D[F[A+7]]+"-"+D[F[A+8]]+D[F[A+9]]+"-"+D[F[A+10]]+D[F[A+11]]+D[F[A+12]]+D[F[A+13]]+D[F[A+14]]+D[F[A+15]]}(P)}},8326:(__unused_webpack_module,exports)=>{var indexOf=function(Ce,ee){if(Ce.indexOf)return Ce.indexOf(ee);for(var E=0;E{var a={"./ion-accordion_2.entry.js":[4756,2076,2375],"./ion-action-sheet.entry.js":[8814,2076,8814],"./ion-alert.entry.js":[5222,2076,5222],"./ion-app_8.entry.js":[7720,2076,7720],"./ion-avatar_3.entry.js":[1049,1049],"./ion-back-button.entry.js":[3162,2076,3162],"./ion-backdrop.entry.js":[7240,7240],"./ion-breadcrumb_2.entry.js":[8314,2076,8314],"./ion-button_2.entry.js":[6972,4591],"./ion-card_5.entry.js":[8584,8584],"./ion-checkbox.entry.js":[3511,2076,3511],"./ion-chip.entry.js":[6024,6024],"./ion-col_3.entry.js":[5100,5100],"./ion-datetime-button.entry.js":[7428,771,7428],"./ion-datetime_3.entry.js":[5266,771,2076,2885],"./ion-fab_3.entry.js":[4463,2076,4463],"./ion-img.entry.js":[4183,4183],"./ion-infinite-scroll_2.entry.js":[4171,2076,4171],"./ion-input.entry.js":[9344,2076,9344],"./ion-item-option_3.entry.js":[5949,2076,5949],"./ion-item_8.entry.js":[3506,2076,3506],"./ion-loading.entry.js":[7372,2076,7372],"./ion-menu_3.entry.js":[2075,2076,2075],"./ion-modal.entry.js":[441,2076,441],"./ion-nav_2.entry.js":[5712,2076,5712],"./ion-picker-column-internal.entry.js":[1433,2076,1433],"./ion-picker-internal.entry.js":[2628,2628],"./ion-popover.entry.js":[6433,2076,6433],"./ion-progress-bar.entry.js":[9977,9977],"./ion-radio_2.entry.js":[8066,2076,8066],"./ion-range.entry.js":[8477,2076,8477],"./ion-refresher_2.entry.js":[5197,2076,5197],"./ion-reorder_2.entry.js":[7030,2076,7030],"./ion-ripple-effect.entry.js":[964,964],"./ion-route_4.entry.js":[8970,8970],"./ion-searchbar.entry.js":[8193,2076,8193],"./ion-segment_2.entry.js":[2560,2076,2560],"./ion-select_3.entry.js":[7076,2076,7076],"./ion-spinner.entry.js":[8805,2076,8805],"./ion-split-pane.entry.js":[5887,5887],"./ion-tab-bar_2.entry.js":[4406,2076,4406],"./ion-tab_2.entry.js":[1102,1102],"./ion-text.entry.js":[1577,1577],"./ion-textarea.entry.js":[2348,2076,2348],"./ion-toast.entry.js":[2415,2076,2415],"./ion-toggle.entry.js":[3814,2076,3814]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var R=a[p],c=R[0];return Promise.all(R.slice(1).map(E.e)).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=8996,Ce.exports=S},5235:(Ce,ee,E)=>{var a={"./pwa-action-sheet.entry.js":[6301,6301],"./pwa-camera-modal-instance.entry.js":[5640,5640],"./pwa-camera-modal.entry.js":[2982,2982],"./pwa-camera.entry.js":[6086,6086],"./pwa-toast.entry.js":[3574,3574]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var R=a[p],c=R[0];return E.e(R[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=5235,Ce.exports=S},7321:(Ce,ee,E)=>{var a={"./jeep-sqlite.entry.js":[477,477]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var R=a[p],c=R[0];return E.e(R[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=7321,Ce.exports=S},8982:()=>{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},177:(Ce,ee,E)=>{"use strict";E.d(ee,{AJ:()=>Ai,B3:()=>ct,MD:()=>Di,N0:()=>He,QT:()=>p,Sm:()=>$,Sq:()=>Tn,T3:()=>xt,UE:()=>Qr,VF:()=>c,Vy:()=>gi,Xr:()=>Qi,YU:()=>Lt,ZD:()=>R,_b:()=>lt,aZ:()=>M,bT:()=>mr,fw:()=>k,hb:()=>B,hj:()=>T,qQ:()=>C});var a=E(4438);let S=null;function p(){return S}function R(Y){var xe;null!==(xe=S)&&void 0!==xe||(S=Y)}class c{}const C=new a.nKC("");let w=(()=>{var Y;class xe{historyGo(de){throw new Error("")}}return(Y=xe).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>(0,a.WQX)(_),providedIn:"platform"}),xe})();const T=new a.nKC("");let _=(()=>{var Y;class xe extends w{constructor(){super(),this._doc=(0,a.WQX)(C),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return p().getBaseHref(this._doc)}onPopState(de){const ze=p().getGlobalEventTarget(this._doc,"window");return ze.addEventListener("popstate",de,!1),()=>ze.removeEventListener("popstate",de)}onHashChange(de){const ze=p().getGlobalEventTarget(this._doc,"window");return ze.addEventListener("hashchange",de,!1),()=>ze.removeEventListener("hashchange",de)}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(de){this._location.pathname=de}pushState(de,ze,pt){this._history.pushState(de,ze,pt)}replaceState(de,ze,pt){this._history.replaceState(de,ze,pt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(de=0){this._history.go(de)}getState(){return this._history.state}}return(Y=xe).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>new Y,providedIn:"platform"}),xe})();function g(Y,xe){if(0==Y.length)return xe;if(0==xe.length)return Y;let st=0;return Y.endsWith("/")&&st++,xe.startsWith("/")&&st++,2==st?Y+xe.substring(1):1==st?Y+xe:Y+"/"+xe}function F(Y){const xe=Y.match(/#|\?|$/),st=xe&&xe.index||Y.length;return Y.slice(0,st-("/"===Y[st-1]?1:0))+Y.slice(st)}function A(Y){return Y&&"?"!==Y[0]?"?"+Y:Y}let B=(()=>{var Y;class xe{historyGo(de){throw new Error("")}}return(Y=xe).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>(0,a.WQX)($),providedIn:"root"}),xe})();const P=new a.nKC("");let $=(()=>{var Y;class xe extends B{constructor(de,ze){var pt,Qt,xn;super(),this._platformLocation=de,this._removeListenerFns=[],this._baseHref=null!==(pt=null!==(Qt=null!=ze?ze:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Qt?Qt:null===(xn=(0,a.WQX)(C).location)||void 0===xn?void 0:xn.origin)&&void 0!==pt?pt:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(de){this._removeListenerFns.push(this._platformLocation.onPopState(de),this._platformLocation.onHashChange(de))}getBaseHref(){return this._baseHref}prepareExternalUrl(de){return g(this._baseHref,de)}path(de=!1){const ze=this._platformLocation.pathname+A(this._platformLocation.search),pt=this._platformLocation.hash;return pt&&de?`${ze}${pt}`:ze}pushState(de,ze,pt,Qt){const xn=this.prepareExternalUrl(pt+A(Qt));this._platformLocation.pushState(de,ze,xn)}replaceState(de,ze,pt,Qt){const xn=this.prepareExternalUrl(pt+A(Qt));this._platformLocation.replaceState(de,ze,xn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(de=0){var ze,pt;null===(ze=(pt=this._platformLocation).historyGo)||void 0===ze||ze.call(pt,de)}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.KVO(w),a.KVO(P,8))},Y.\u0275prov=a.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}),xe})(),k=(()=>{var Y;class xe extends B{constructor(de,ze){super(),this._platformLocation=de,this._baseHref="",this._removeListenerFns=[],null!=ze&&(this._baseHref=ze)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(de){this._removeListenerFns.push(this._platformLocation.onPopState(de),this._platformLocation.onHashChange(de))}getBaseHref(){return this._baseHref}path(de=!1){var ze;const pt=null!==(ze=this._platformLocation.hash)&&void 0!==ze?ze:"#";return pt.length>0?pt.substring(1):pt}prepareExternalUrl(de){const ze=g(this._baseHref,de);return ze.length>0?"#"+ze:ze}pushState(de,ze,pt,Qt){let xn=this.prepareExternalUrl(pt+A(Qt));0==xn.length&&(xn=this._platformLocation.pathname),this._platformLocation.pushState(de,ze,xn)}replaceState(de,ze,pt,Qt){let xn=this.prepareExternalUrl(pt+A(Qt));0==xn.length&&(xn=this._platformLocation.pathname),this._platformLocation.replaceState(de,ze,xn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(de=0){var ze,pt;null===(ze=(pt=this._platformLocation).historyGo)||void 0===ze||ze.call(pt,de)}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.KVO(w),a.KVO(P,8))},Y.\u0275prov=a.jDH({token:Y,factory:Y.\u0275fac}),xe})(),M=(()=>{var Y;class xe{constructor(de){this._subject=new a.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=de;const ze=this._locationStrategy.getBaseHref();this._basePath=function W(Y){if(new RegExp("^(https?:)?//").test(Y)){const[,st]=Y.split(/\/\/[^\/]+/);return st}return Y}(F(j(ze))),this._locationStrategy.onPopState(pt=>{this._subject.emit({url:this.path(!0),pop:!0,state:pt.state,type:pt.type})})}ngOnDestroy(){var de;null===(de=this._urlChangeSubscription)||void 0===de||de.unsubscribe(),this._urlChangeListeners=[]}path(de=!1){return this.normalize(this._locationStrategy.path(de))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(de,ze=""){return this.path()==this.normalize(de+A(ze))}normalize(de){return xe.stripTrailingSlash(function U(Y,xe){if(!Y||!xe.startsWith(Y))return xe;const st=xe.substring(Y.length);return""===st||["/",";","?","#"].includes(st[0])?st:xe}(this._basePath,j(de)))}prepareExternalUrl(de){return de&&"/"!==de[0]&&(de="/"+de),this._locationStrategy.prepareExternalUrl(de)}go(de,ze="",pt=null){this._locationStrategy.pushState(pt,"",de,ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(de+A(ze)),pt)}replaceState(de,ze="",pt=null){this._locationStrategy.replaceState(pt,"",de,ze),this._notifyUrlChangeListeners(this.prepareExternalUrl(de+A(ze)),pt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(de=0){var ze,pt;null===(ze=(pt=this._locationStrategy).historyGo)||void 0===ze||ze.call(pt,de)}onUrlChange(de){var ze;return this._urlChangeListeners.push(de),null!==(ze=this._urlChangeSubscription)&&void 0!==ze||(this._urlChangeSubscription=this.subscribe(pt=>{this._notifyUrlChangeListeners(pt.url,pt.state)})),()=>{const pt=this._urlChangeListeners.indexOf(de);var Qt;this._urlChangeListeners.splice(pt,1),0===this._urlChangeListeners.length&&(null===(Qt=this._urlChangeSubscription)||void 0===Qt||Qt.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(de="",ze){this._urlChangeListeners.forEach(pt=>pt(de,ze))}subscribe(de,ze,pt){return this._subject.subscribe({next:de,error:ze,complete:pt})}}return(Y=xe).normalizeQueryParams=A,Y.joinWithSlash=g,Y.stripTrailingSlash=F,Y.\u0275fac=function(de){return new(de||Y)(a.KVO(B))},Y.\u0275prov=a.jDH({token:Y,factory:()=>function O(){return new M((0,a.KVO)(B))}(),providedIn:"root"}),xe})();function j(Y){return Y.replace(/\/index.html$/,"")}function lt(Y,xe){xe=encodeURIComponent(xe);for(const st of Y.split(";")){const de=st.indexOf("="),[ze,pt]=-1==de?[st,""]:[st.slice(0,de),st.slice(de+1)];if(ze.trim()===xe)return decodeURIComponent(pt)}return null}const Tt=/\s+/,wt=[];let Lt=(()=>{var Y;class xe{constructor(de,ze){this._ngEl=de,this._renderer=ze,this.initialClasses=wt,this.stateMap=new Map}set klass(de){this.initialClasses=null!=de?de.trim().split(Tt):wt}set ngClass(de){this.rawClass="string"==typeof de?de.trim().split(Tt):de}ngDoCheck(){for(const ze of this.initialClasses)this._updateState(ze,!0);const de=this.rawClass;if(Array.isArray(de)||de instanceof Set)for(const ze of de)this._updateState(ze,!0);else if(null!=de)for(const ze of Object.keys(de))this._updateState(ze,!!de[ze]);this._applyStateDiff()}_updateState(de,ze){const pt=this.stateMap.get(de);void 0!==pt?(pt.enabled!==ze&&(pt.changed=!0,pt.enabled=ze),pt.touched=!0):this.stateMap.set(de,{enabled:ze,changed:!0,touched:!0})}_applyStateDiff(){for(const de of this.stateMap){const ze=de[0],pt=de[1];pt.changed?(this._toggleClass(ze,pt.enabled),pt.changed=!1):pt.touched||(pt.enabled&&this._toggleClass(ze,!1),this.stateMap.delete(ze)),pt.touched=!1}}_toggleClass(de,ze){(de=de.trim()).length>0&&de.split(Tt).forEach(pt=>{ze?this._renderer.addClass(this._ngEl.nativeElement,pt):this._renderer.removeClass(this._ngEl.nativeElement,pt)})}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.aKT),a.rXU(a.sFG))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngClass",""]],inputs:{klass:[a.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0}),xe})();class Zt{constructor(xe,st,de,ze){this.$implicit=xe,this.ngForOf=st,this.index=de,this.count=ze}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 Tn=(()=>{var Y;class xe{set ngForOf(de){this._ngForOf=de,this._ngForOfDirty=!0}set ngForTrackBy(de){this._trackByFn=de}get ngForTrackBy(){return this._trackByFn}constructor(de,ze,pt){this._viewContainer=de,this._template=ze,this._differs=pt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(de){de&&(this._template=de)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const de=this._ngForOf;!this._differ&&de&&(this._differ=this._differs.find(de).create(this.ngForTrackBy))}if(this._differ){const de=this._differ.diff(this._ngForOf);de&&this._applyChanges(de)}}_applyChanges(de){const ze=this._viewContainer;de.forEachOperation((pt,Qt,xn)=>{if(null==pt.previousIndex)ze.createEmbeddedView(this._template,new Zt(pt.item,this._ngForOf,-1,-1),null===xn?void 0:xn);else if(null==xn)ze.remove(null===Qt?void 0:Qt);else if(null!==Qt){const Qn=ze.get(Qt);ze.move(Qn,xn),Dn(Qn,pt)}});for(let pt=0,Qt=ze.length;pt{Dn(ze.get(pt.currentIndex),pt)})}static ngTemplateContextGuard(de,ze){return!0}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(a._q3))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),xe})();function Dn(Y,xe){Y.context.$implicit=xe.item}let mr=(()=>{var Y;class xe{constructor(de,ze){this._viewContainer=de,this._context=new Ke,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ze}set ngIf(de){this._context.$implicit=this._context.ngIf=de,this._updateView()}set ngIfThen(de){et("ngIfThen",de),this._thenTemplateRef=de,this._thenViewRef=null,this._updateView()}set ngIfElse(de){et("ngIfElse",de),this._elseTemplateRef=de,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(de,ze){return!0}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.c1b),a.rXU(a.C4Q))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),xe})();class Ke{constructor(){this.$implicit=null,this.ngIf=null}}function et(Y,xe){if(xe&&!xe.createEmbeddedView)throw new Error(`${Y} must be a TemplateRef, but received '${(0,a.Tbb)(xe)}'.`)}let ct=(()=>{var Y;class xe{constructor(de,ze,pt){this._ngEl=de,this._differs=ze,this._renderer=pt,this._ngStyle=null,this._differ=null}set ngStyle(de){this._ngStyle=de,!this._differ&&de&&(this._differ=this._differs.find(de).create())}ngDoCheck(){if(this._differ){const de=this._differ.diff(this._ngStyle);de&&this._applyChanges(de)}}_setStyle(de,ze){const[pt,Qt]=de.split("."),xn=-1===pt.indexOf("-")?void 0:a.czy.DashCase;null!=ze?this._renderer.setStyle(this._ngEl.nativeElement,pt,Qt?`${ze}${Qt}`:ze,xn):this._renderer.removeStyle(this._ngEl.nativeElement,pt,xn)}_applyChanges(de){de.forEachRemovedItem(ze=>this._setStyle(ze.key,null)),de.forEachAddedItem(ze=>this._setStyle(ze.key,ze.currentValue)),de.forEachChangedItem(ze=>this._setStyle(ze.key,ze.currentValue))}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.aKT),a.rXU(a.MKu),a.rXU(a.sFG))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),xe})(),xt=(()=>{var Y;class xe{constructor(de){this._viewContainerRef=de,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(de){if(this._shouldRecreateView(de)){var ze;const pt=this._viewContainerRef;if(this._viewRef&&pt.remove(pt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Qt=this._createContextForwardProxy();this._viewRef=pt.createEmbeddedView(this.ngTemplateOutlet,Qt,{injector:null!==(ze=this.ngTemplateOutletInjector)&&void 0!==ze?ze:void 0})}}_shouldRecreateView(de){return!!de.ngTemplateOutlet||!!de.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(de,ze,pt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ze,pt),get:(de,ze,pt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ze,pt)}})}}return(Y=xe).\u0275fac=function(de){return new(de||Y)(a.rXU(a.c1b))},Y.\u0275dir=a.FsC({type:Y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.OA$]}),xe})(),Di=(()=>{var Y;class xe{}return(Y=xe).\u0275fac=function(de){return new(de||Y)},Y.\u0275mod=a.$C({type:Y}),Y.\u0275inj=a.G2t({}),xe})();const Ai="browser",Ui="server";function Qr(Y){return Y===Ai}function gi(Y){return Y===Ui}let Qi=(()=>{var Y;class xe{}return(Y=xe).\u0275prov=(0,a.jDH)({token:Y,providedIn:"root",factory:()=>Qr((0,a.WQX)(a.Agw))?new Fr((0,a.WQX)(C),window):new ji}),xe})();class Fr{constructor(xe,st){this.document=xe,this.window=st,this.offset=()=>[0,0]}setOffset(xe){this.offset=Array.isArray(xe)?()=>xe:xe}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(xe){this.window.scrollTo(xe[0],xe[1])}scrollToAnchor(xe){const st=function si(Y,xe){const st=Y.getElementById(xe)||Y.getElementsByName(xe)[0];if(st)return st;if("function"==typeof Y.createTreeWalker&&Y.body&&"function"==typeof Y.body.attachShadow){const de=Y.createTreeWalker(Y.body,NodeFilter.SHOW_ELEMENT);let ze=de.currentNode;for(;ze;){const pt=ze.shadowRoot;if(pt){const Qt=pt.getElementById(xe)||pt.querySelector(`[name="${xe}"]`);if(Qt)return Qt}ze=de.nextNode()}}return null}(this.document,xe);st&&(this.scrollToElement(st),st.focus())}setHistoryScrollRestoration(xe){this.window.history.scrollRestoration=xe}scrollToElement(xe){const st=xe.getBoundingClientRect(),de=st.left+this.window.pageXOffset,ze=st.top+this.window.pageYOffset,pt=this.offset();this.window.scrollTo(de-pt[0],ze-pt[1])}}class ji{setOffset(xe){}getScrollPosition(){return[0,0]}scrollToPosition(xe){}scrollToAnchor(xe){}setHistoryScrollRestoration(xe){}}class He{}},1626:(Ce,ee,E)=>{"use strict";E.d(ee,{Lr:()=>B,Qq:()=>L,q1:()=>Jt}),E(467);var S=E(4438),p=E(7673),R=E(1985),c=E(6648),D=E(274),C=E(5964),w=E(6354),T=E(980),_=E(5558),g=E(177);class F{}class A{}class B{constructor(lt){this.normalizedNames=new Map,this.lazyUpdate=null,lt?"string"==typeof lt?this.lazyInit=()=>{this.headers=new Map,lt.split("\n").forEach(Tt=>{const wt=Tt.indexOf(":");if(wt>0){const Lt=Tt.slice(0,wt),Yt=Lt.toLowerCase(),qt=Tt.slice(wt+1).trim();this.maybeSetNormalizedName(Lt,Yt),this.headers.has(Yt)?this.headers.get(Yt).push(qt):this.headers.set(Yt,[qt])}})}:typeof Headers<"u"&< instanceof Headers?(this.headers=new Map,lt.forEach((Tt,wt)=>{this.setHeaderEntries(wt,Tt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(lt).forEach(([Tt,wt])=>{this.setHeaderEntries(Tt,wt)})}:this.headers=new Map}has(lt){return this.init(),this.headers.has(lt.toLowerCase())}get(lt){this.init();const Tt=this.headers.get(lt.toLowerCase());return Tt&&Tt.length>0?Tt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(lt){return this.init(),this.headers.get(lt.toLowerCase())||null}append(lt,Tt){return this.clone({name:lt,value:Tt,op:"a"})}set(lt,Tt){return this.clone({name:lt,value:Tt,op:"s"})}delete(lt,Tt){return this.clone({name:lt,value:Tt,op:"d"})}maybeSetNormalizedName(lt,Tt){this.normalizedNames.has(Tt)||this.normalizedNames.set(Tt,lt)}init(){this.lazyInit&&(this.lazyInit instanceof B?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(lt=>this.applyUpdate(lt)),this.lazyUpdate=null))}copyFrom(lt){lt.init(),Array.from(lt.headers.keys()).forEach(Tt=>{this.headers.set(Tt,lt.headers.get(Tt)),this.normalizedNames.set(Tt,lt.normalizedNames.get(Tt))})}clone(lt){const Tt=new B;return Tt.lazyInit=this.lazyInit&&this.lazyInit instanceof B?this.lazyInit:this,Tt.lazyUpdate=(this.lazyUpdate||[]).concat([lt]),Tt}applyUpdate(lt){const Tt=lt.name.toLowerCase();switch(lt.op){case"a":case"s":let wt=lt.value;if("string"==typeof wt&&(wt=[wt]),0===wt.length)return;this.maybeSetNormalizedName(lt.name,Tt);const Lt=("a"===lt.op?this.headers.get(Tt):void 0)||[];Lt.push(...wt),this.headers.set(Tt,Lt);break;case"d":const Yt=lt.value;if(Yt){let qt=this.headers.get(Tt);if(!qt)return;qt=qt.filter(Zt=>-1===Yt.indexOf(Zt)),0===qt.length?(this.headers.delete(Tt),this.normalizedNames.delete(Tt)):this.headers.set(Tt,qt)}else this.headers.delete(Tt),this.normalizedNames.delete(Tt)}}setHeaderEntries(lt,Tt){const wt=(Array.isArray(Tt)?Tt:[Tt]).map(Yt=>Yt.toString()),Lt=lt.toLowerCase();this.headers.set(Lt,wt),this.maybeSetNormalizedName(lt,Lt)}forEach(lt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Tt=>lt(this.normalizedNames.get(Tt),this.headers.get(Tt)))}}class ${encodeKey(lt){return U(lt)}encodeValue(lt){return U(lt)}decodeKey(lt){return decodeURIComponent(lt)}decodeValue(lt){return decodeURIComponent(lt)}}const M=/%(\d[a-f0-9])/gi,O={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U(je){return encodeURIComponent(je).replace(M,(lt,Tt)=>{var wt;return null!==(wt=O[Tt])&&void 0!==wt?wt:lt})}function j(je){return`${je}`}class W{constructor(lt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=lt.encoder||new $,lt.fromString){if(lt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(je,lt){const Tt=new Map;return je.length>0&&je.replace(/^\?/,"").split("&").forEach(Lt=>{const Yt=Lt.indexOf("="),[qt,Zt]=-1==Yt?[lt.decodeKey(Lt),""]:[lt.decodeKey(Lt.slice(0,Yt)),lt.decodeValue(Lt.slice(Yt+1))],Tn=Tt.get(qt)||[];Tn.push(Zt),Tt.set(qt,Tn)}),Tt}(lt.fromString,this.encoder)}else lt.fromObject?(this.map=new Map,Object.keys(lt.fromObject).forEach(Tt=>{const wt=lt.fromObject[Tt],Lt=Array.isArray(wt)?wt.map(j):[j(wt)];this.map.set(Tt,Lt)})):this.map=null}has(lt){return this.init(),this.map.has(lt)}get(lt){this.init();const Tt=this.map.get(lt);return Tt?Tt[0]:null}getAll(lt){return this.init(),this.map.get(lt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(lt,Tt){return this.clone({param:lt,value:Tt,op:"a"})}appendAll(lt){const Tt=[];return Object.keys(lt).forEach(wt=>{const Lt=lt[wt];Array.isArray(Lt)?Lt.forEach(Yt=>{Tt.push({param:wt,value:Yt,op:"a"})}):Tt.push({param:wt,value:Lt,op:"a"})}),this.clone(Tt)}set(lt,Tt){return this.clone({param:lt,value:Tt,op:"s"})}delete(lt,Tt){return this.clone({param:lt,value:Tt,op:"d"})}toString(){return this.init(),this.keys().map(lt=>{const Tt=this.encoder.encodeKey(lt);return this.map.get(lt).map(wt=>Tt+"="+this.encoder.encodeValue(wt)).join("&")}).filter(lt=>""!==lt).join("&")}clone(lt){const Tt=new W({encoder:this.encoder});return Tt.cloneFrom=this.cloneFrom||this,Tt.updates=(this.updates||[]).concat(lt),Tt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(lt=>this.map.set(lt,this.cloneFrom.map.get(lt))),this.updates.forEach(lt=>{switch(lt.op){case"a":case"s":const Tt=("a"===lt.op?this.map.get(lt.param):void 0)||[];Tt.push(j(lt.value)),this.map.set(lt.param,Tt);break;case"d":if(void 0===lt.value){this.map.delete(lt.param);break}{let wt=this.map.get(lt.param)||[];const Lt=wt.indexOf(j(lt.value));-1!==Lt&&wt.splice(Lt,1),wt.length>0?this.map.set(lt.param,wt):this.map.delete(lt.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(lt,Tt){return this.map.set(lt,Tt),this}get(lt){return this.map.has(lt)||this.map.set(lt,lt.defaultValue()),this.map.get(lt)}delete(lt){return this.map.delete(lt),this}has(lt){return this.map.has(lt)}keys(){return this.map.keys()}}function se(je){return typeof ArrayBuffer<"u"&&je instanceof ArrayBuffer}function m(je){return typeof Blob<"u"&&je instanceof Blob}function n(je){return typeof FormData<"u"&&je instanceof FormData}class u{constructor(lt,Tt,wt,Lt){var Yt,qt;let Zt;if(this.url=Tt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=lt.toUpperCase(),function te(je){switch(je){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Lt?(this.body=void 0!==wt?wt:null,Zt=Lt):Zt=wt,Zt&&(this.reportProgress=!!Zt.reportProgress,this.withCredentials=!!Zt.withCredentials,Zt.responseType&&(this.responseType=Zt.responseType),Zt.headers&&(this.headers=Zt.headers),Zt.context&&(this.context=Zt.context),Zt.params&&(this.params=Zt.params),this.transferCache=Zt.transferCache),null!==(Yt=this.headers)&&void 0!==Yt||(this.headers=new B),null!==(qt=this.context)&&void 0!==qt||(this.context=new me),this.params){const Tn=this.params.toString();if(0===Tn.length)this.urlWithParams=Tt;else{const Dn=Tt.indexOf("?");this.urlWithParams=Tt+(-1===Dn?"?":Dnbt.set(Kt,lt.setHeaders[Kt]),et)),lt.setParams&&(Te=Object.keys(lt.setParams).reduce((bt,Kt)=>bt.set(Kt,lt.setParams[Kt]),Te)),new u(qt,Zt,Xn,{params:Te,headers:et,context:qe,reportProgress:Ke,responseType:Tn,withCredentials:mr,transferCache:Dn})}}var s=function(je){return je[je.Sent=0]="Sent",je[je.UploadProgress=1]="UploadProgress",je[je.ResponseHeader=2]="ResponseHeader",je[je.DownloadProgress=3]="DownloadProgress",je[je.Response=4]="Response",je[je.User=5]="User",je}(s||{});class h{constructor(lt,Tt=r.Ok,wt="OK"){this.headers=lt.headers||new B,this.status=void 0!==lt.status?lt.status:Tt,this.statusText=lt.statusText||wt,this.url=lt.url||null,this.ok=this.status>=200&&this.status<300}}class v extends h{constructor(lt={}){super(lt),this.type=s.ResponseHeader}clone(lt={}){return new v({headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class y extends h{constructor(lt={}){super(lt),this.type=s.Response,this.body=void 0!==lt.body?lt.body:null}clone(lt={}){return new y({body:void 0!==lt.body?lt.body:this.body,headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class f extends h{constructor(lt){super(lt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${lt.url||"(unknown url)"}`:`Http failure response for ${lt.url||"(unknown url)"}: ${lt.status} ${lt.statusText}`,this.error=lt.error||null}}var r=function(je){return je[je.Continue=100]="Continue",je[je.SwitchingProtocols=101]="SwitchingProtocols",je[je.Processing=102]="Processing",je[je.EarlyHints=103]="EarlyHints",je[je.Ok=200]="Ok",je[je.Created=201]="Created",je[je.Accepted=202]="Accepted",je[je.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",je[je.NoContent=204]="NoContent",je[je.ResetContent=205]="ResetContent",je[je.PartialContent=206]="PartialContent",je[je.MultiStatus=207]="MultiStatus",je[je.AlreadyReported=208]="AlreadyReported",je[je.ImUsed=226]="ImUsed",je[je.MultipleChoices=300]="MultipleChoices",je[je.MovedPermanently=301]="MovedPermanently",je[je.Found=302]="Found",je[je.SeeOther=303]="SeeOther",je[je.NotModified=304]="NotModified",je[je.UseProxy=305]="UseProxy",je[je.Unused=306]="Unused",je[je.TemporaryRedirect=307]="TemporaryRedirect",je[je.PermanentRedirect=308]="PermanentRedirect",je[je.BadRequest=400]="BadRequest",je[je.Unauthorized=401]="Unauthorized",je[je.PaymentRequired=402]="PaymentRequired",je[je.Forbidden=403]="Forbidden",je[je.NotFound=404]="NotFound",je[je.MethodNotAllowed=405]="MethodNotAllowed",je[je.NotAcceptable=406]="NotAcceptable",je[je.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",je[je.RequestTimeout=408]="RequestTimeout",je[je.Conflict=409]="Conflict",je[je.Gone=410]="Gone",je[je.LengthRequired=411]="LengthRequired",je[je.PreconditionFailed=412]="PreconditionFailed",je[je.PayloadTooLarge=413]="PayloadTooLarge",je[je.UriTooLong=414]="UriTooLong",je[je.UnsupportedMediaType=415]="UnsupportedMediaType",je[je.RangeNotSatisfiable=416]="RangeNotSatisfiable",je[je.ExpectationFailed=417]="ExpectationFailed",je[je.ImATeapot=418]="ImATeapot",je[je.MisdirectedRequest=421]="MisdirectedRequest",je[je.UnprocessableEntity=422]="UnprocessableEntity",je[je.Locked=423]="Locked",je[je.FailedDependency=424]="FailedDependency",je[je.TooEarly=425]="TooEarly",je[je.UpgradeRequired=426]="UpgradeRequired",je[je.PreconditionRequired=428]="PreconditionRequired",je[je.TooManyRequests=429]="TooManyRequests",je[je.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",je[je.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",je[je.InternalServerError=500]="InternalServerError",je[je.NotImplemented=501]="NotImplemented",je[je.BadGateway=502]="BadGateway",je[je.ServiceUnavailable=503]="ServiceUnavailable",je[je.GatewayTimeout=504]="GatewayTimeout",je[je.HttpVersionNotSupported=505]="HttpVersionNotSupported",je[je.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",je[je.InsufficientStorage=507]="InsufficientStorage",je[je.LoopDetected=508]="LoopDetected",je[je.NotExtended=510]="NotExtended",je[je.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",je}(r||{});function d(je,lt){return{body:lt,headers:je.headers,context:je.context,observe:je.observe,params:je.params,reportProgress:je.reportProgress,responseType:je.responseType,withCredentials:je.withCredentials,transferCache:je.transferCache}}let L=(()=>{var je;class lt{constructor(wt){this.handler=wt}request(wt,Lt,Yt={}){let qt;if(wt instanceof u)qt=wt;else{let Dn,Xn;Dn=Yt.headers instanceof B?Yt.headers:new B(Yt.headers),Yt.params&&(Xn=Yt.params instanceof W?Yt.params:new W({fromObject:Yt.params})),qt=new u(wt,Lt,void 0!==Yt.body?Yt.body:null,{headers:Dn,context:Yt.context,params:Xn,reportProgress:Yt.reportProgress,responseType:Yt.responseType||"json",withCredentials:Yt.withCredentials,transferCache:Yt.transferCache})}const Zt=(0,p.of)(qt).pipe((0,D.H)(Dn=>this.handler.handle(Dn)));if(wt instanceof u||"events"===Yt.observe)return Zt;const Tn=Zt.pipe((0,C.p)(Dn=>Dn instanceof y));switch(Yt.observe||"body"){case"body":switch(qt.responseType){case"arraybuffer":return Tn.pipe((0,w.T)(Dn=>{if(null!==Dn.body&&!(Dn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Dn.body}));case"blob":return Tn.pipe((0,w.T)(Dn=>{if(null!==Dn.body&&!(Dn.body instanceof Blob))throw new Error("Response is not a Blob.");return Dn.body}));case"text":return Tn.pipe((0,w.T)(Dn=>{if(null!==Dn.body&&"string"!=typeof Dn.body)throw new Error("Response is not a string.");return Dn.body}));default:return Tn.pipe((0,w.T)(Dn=>Dn.body))}case"response":return Tn;default:throw new Error(`Unreachable: unhandled observe type ${Yt.observe}}`)}}delete(wt,Lt={}){return this.request("DELETE",wt,Lt)}get(wt,Lt={}){return this.request("GET",wt,Lt)}head(wt,Lt={}){return this.request("HEAD",wt,Lt)}jsonp(wt,Lt){return this.request("JSONP",wt,{params:(new W).append(Lt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(wt,Lt={}){return this.request("OPTIONS",wt,Lt)}patch(wt,Lt,Yt={}){return this.request("PATCH",wt,d(Yt,Lt))}post(wt,Lt,Yt={}){return this.request("POST",wt,d(Yt,Lt))}put(wt,Lt,Yt={}){return this.request("PUT",wt,d(Yt,Lt))}}return(je=lt).\u0275fac=function(wt){return new(wt||je)(S.KVO(F))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),lt})();function ae(je,lt){return lt(je)}function tt(je,lt){return(Tt,wt)=>lt.intercept(Tt,{handle:Lt=>je(Lt,wt)})}const pe=new S.nKC(""),Ie=new S.nKC(""),Se=new S.nKC(""),re=new S.nKC("");function ne(){let je=null;return(lt,Tt)=>{var wt;null===je&&(je=(null!==(wt=(0,S.WQX)(pe,{optional:!0}))&&void 0!==wt?wt:[]).reduceRight(tt,ae));const Lt=(0,S.WQX)(S.TgB),Yt=Lt.add();return je(lt,Tt).pipe((0,T.j)(()=>Lt.remove(Yt)))}}let vt=(()=>{var je;class lt extends F{constructor(wt,Lt){super(),this.backend=wt,this.injector=Lt,this.chain=null,this.pendingTasks=(0,S.WQX)(S.TgB);const Yt=(0,S.WQX)(re,{optional:!0});this.backend=null!=Yt?Yt:wt}handle(wt){if(null===this.chain){const Yt=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(Se,[])]));this.chain=Yt.reduceRight((qt,Zt)=>function Oe(je,lt,Tt){return(wt,Lt)=>(0,S.N4e)(Tt,()=>lt(wt,Yt=>je(Yt,Lt)))}(qt,Zt,this.injector),ae)}const Lt=this.pendingTasks.add();return this.chain(wt,Yt=>this.backend.handle(Yt)).pipe((0,T.j)(()=>this.pendingTasks.remove(Lt)))}}return(je=lt).\u0275fac=function(wt){return new(wt||je)(S.KVO(A),S.KVO(S.uvJ))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),lt})();const yn=/^\)\]\}',?\n/;let _t=(()=>{var je;class lt{constructor(wt){this.xhrFactory=wt}handle(wt){if("JSONP"===wt.method)throw new S.wOt(-2800,!1);const Lt=this.xhrFactory;return(Lt.\u0275loadImpl?(0,c.H)(Lt.\u0275loadImpl()):(0,p.of)(null)).pipe((0,_.n)(()=>new R.c(qt=>{const Zt=Lt.build();if(Zt.open(wt.method,wt.urlWithParams),wt.withCredentials&&(Zt.withCredentials=!0),wt.headers.forEach((bt,Kt)=>Zt.setRequestHeader(bt,Kt.join(","))),wt.headers.has("Accept")||Zt.setRequestHeader("Accept","application/json, text/plain, */*"),!wt.headers.has("Content-Type")){const bt=wt.detectContentTypeHeader();null!==bt&&Zt.setRequestHeader("Content-Type",bt)}if(wt.responseType){const bt=wt.responseType.toLowerCase();Zt.responseType="json"!==bt?bt:"text"}const Tn=wt.serializeBody();let Dn=null;const Xn=()=>{if(null!==Dn)return Dn;const bt=Zt.statusText||"OK",Kt=new B(Zt.getAllResponseHeaders()),hn=function Dt(je){return"responseURL"in je&&je.responseURL?je.responseURL:/^X-Request-URL:/m.test(je.getAllResponseHeaders())?je.getResponseHeader("X-Request-URL"):null}(Zt)||wt.url;return Dn=new v({headers:Kt,status:Zt.status,statusText:bt,url:hn}),Dn},mr=()=>{let{headers:bt,status:Kt,statusText:hn,url:Et}=Xn(),zt=null;Kt!==r.NoContent&&(zt=typeof Zt.response>"u"?Zt.responseText:Zt.response),0===Kt&&(Kt=zt?r.Ok:0);let ye=Kt>=200&&Kt<300;if("json"===wt.responseType&&"string"==typeof zt){const We=zt;zt=zt.replace(yn,"");try{zt=""!==zt?JSON.parse(zt):null}catch(ct){zt=We,ye&&(ye=!1,zt={error:ct,text:zt})}}ye?(qt.next(new y({body:zt,headers:bt,status:Kt,statusText:hn,url:Et||void 0})),qt.complete()):qt.error(new f({error:zt,headers:bt,status:Kt,statusText:hn,url:Et||void 0}))},Ke=bt=>{const{url:Kt}=Xn(),hn=new f({error:bt,status:Zt.status||0,statusText:Zt.statusText||"Unknown Error",url:Kt||void 0});qt.error(hn)};let et=!1;const Te=bt=>{et||(qt.next(Xn()),et=!0);let Kt={type:s.DownloadProgress,loaded:bt.loaded};bt.lengthComputable&&(Kt.total=bt.total),"text"===wt.responseType&&Zt.responseText&&(Kt.partialText=Zt.responseText),qt.next(Kt)},qe=bt=>{let Kt={type:s.UploadProgress,loaded:bt.loaded};bt.lengthComputable&&(Kt.total=bt.total),qt.next(Kt)};return Zt.addEventListener("load",mr),Zt.addEventListener("error",Ke),Zt.addEventListener("timeout",Ke),Zt.addEventListener("abort",Ke),wt.reportProgress&&(Zt.addEventListener("progress",Te),null!==Tn&&Zt.upload&&Zt.upload.addEventListener("progress",qe)),Zt.send(Tn),qt.next({type:s.Sent}),()=>{Zt.removeEventListener("error",Ke),Zt.removeEventListener("abort",Ke),Zt.removeEventListener("load",mr),Zt.removeEventListener("timeout",Ke),wt.reportProgress&&(Zt.removeEventListener("progress",Te),null!==Tn&&Zt.upload&&Zt.upload.removeEventListener("progress",qe)),Zt.readyState!==Zt.DONE&&Zt.abort()}})))}}return(je=lt).\u0275fac=function(wt){return new(wt||je)(S.KVO(g.N0))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),lt})();const Cn=new S.nKC(""),dt=new S.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),kt=new S.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Nt{}let Un=(()=>{var je;class lt{constructor(wt,Lt,Yt){this.doc=wt,this.platform=Lt,this.cookieName=Yt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const wt=this.doc.cookie||"";return wt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,g._b)(wt,this.cookieName),this.lastCookieString=wt),this.lastToken}}return(je=lt).\u0275fac=function(wt){return new(wt||je)(S.KVO(g.qQ),S.KVO(S.Agw),S.KVO(dt))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),lt})();function Ut(je,lt){const Tt=je.url.toLowerCase();if(!(0,S.WQX)(Cn)||"GET"===je.method||"HEAD"===je.method||Tt.startsWith("http://")||Tt.startsWith("https://"))return lt(je);const wt=(0,S.WQX)(Nt).getToken(),Lt=(0,S.WQX)(kt);return null!=wt&&!je.headers.has(Lt)&&(je=je.clone({headers:je.headers.set(Lt,wt)})),lt(je)}var _e=function(je){return je[je.Interceptors=0]="Interceptors",je[je.LegacyInterceptors=1]="LegacyInterceptors",je[je.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",je[je.NoXsrfProtection=3]="NoXsrfProtection",je[je.JsonpSupport=4]="JsonpSupport",je[je.RequestsMadeViaParent=5]="RequestsMadeViaParent",je[je.Fetch=6]="Fetch",je}(_e||{});function De(je,lt){return{\u0275kind:je,\u0275providers:lt}}function Me(...je){const lt=[L,_t,vt,{provide:F,useExisting:vt},{provide:A,useExisting:_t},{provide:Ie,useValue:Ut,multi:!0},{provide:Cn,useValue:!0},{provide:Nt,useClass:Un}];for(const Tt of je)lt.push(...Tt.\u0275providers);return(0,S.EmA)(lt)}const $e=new S.nKC("");let Jt=(()=>{var je;class lt{}return(je=lt).\u0275fac=function(wt){return new(wt||je)},je.\u0275mod=S.$C({type:je}),je.\u0275inj=S.G2t({providers:[Me(De(_e.LegacyInterceptors,[{provide:$e,useFactory:ne},{provide:Ie,useExisting:$e,multi:!0}]))]}),lt})()},4438:(Ce,ee,E)=>{"use strict";E.d(ee,{iLQ:()=>vf,sZ2:()=>Lh,hnV:()=>Yg,Hbi:()=>MA,o8S:()=>Qo,BIS:()=>ly,gRc:()=>l1,Ql9:()=>QD,Ocv:()=>oA,Z63:()=>ti,aKT:()=>Za,uvJ:()=>fi,zcH:()=>Bo,bkB:()=>co,$GK:()=>tn,nKC:()=>Lt,zZn:()=>Ii,_q3:()=>Af,MKu:()=>Mf,xe9:()=>gc,Co$:()=>Zx,Vns:()=>Es,SKi:()=>Hr,Xx1:()=>Qr,Agw:()=>o0,PLl:()=>$h,sFG:()=>R9,_9s:()=>ox,czy:()=>Su,WPN:()=>vs,kdw:()=>wi,C4Q:()=>xl,NYb:()=>zD,giA:()=>Gg,RxE:()=>Ug,c1b:()=>Xu,gXe:()=>ci,mal:()=>fx,L39:()=>e3,a0P:()=>l3,Ol2:()=>md,w6W:()=>OC,oH4:()=>i1,SmG:()=>cA,Rfq:()=>Ut,WQX:()=>jn,QuC:()=>ai,EmA:()=>Oo,fpN:()=>AA,HJs:()=>u3,N4e:()=>ro,O8t:()=>n3,H3F:()=>Vg,H8p:()=>No,KH2:()=>Ca,TgB:()=>na,wOt:()=>G,WHO:()=>Wg,e01:()=>Kg,lNU:()=>ne,h9k:()=>ip,$MX:()=>Mu,ZF7:()=>Xs,Kcf:()=>By,e5t:()=>Fy,UyX:()=>Iy,cWb:()=>Sy,osQ:()=>Ty,H5H:()=>zd,Zy3:()=>Ee,mq5:()=>qv,JZv:()=>Dt,LfX:()=>Ln,plB:()=>Go,jNT:()=>pf,zjR:()=>Xg,TL$:()=>sy,Tbb:()=>Sn,rcV:()=>So,Vt3:()=>pd,Mj6:()=>Oi,GFd:()=>Yx,OA$:()=>hr,Jv_:()=>fg,aNF:()=>hg,R7$:()=>Bp,BMQ:()=>Bd,ZvI:()=>zv,AVh:()=>Od,wni:()=>Vm,VBU:()=>Ba,FsC:()=>ts,jDH:()=>bn,G2t:()=>Vn,$C:()=>es,EJ8:()=>yo,rXU:()=>Qs,nrm:()=>Ud,eu8:()=>Hd,k0s:()=>lc,j41:()=>ac,RV6:()=>Zv,xGo:()=>ah,KVO:()=>Ar,kS0:()=>du,QTQ:()=>Ip,bIt:()=>Gd,lsd:()=>zm,XpG:()=>Im,nI1:()=>Dg,bMT:()=>Ag,SdG:()=>Fm,NAR:()=>Tm,Y8G:()=>Fd,FS9:()=>Yd,lJ4:()=>xg,eq3:()=>vg,l_i:()=>mg,mGM:()=>Hm,Njj:()=>Lf,eBV:()=>kf,f$h:()=>y0,B4B:()=>E0,n$t:()=>op,muq:()=>Wm,DNE:()=>ra,EFF:()=>tg,JRh:()=>Qd,SpI:()=>hc,Lme:()=>Jd,DH7:()=>cg,mxI:()=>ef,R50:()=>qd,GBs:()=>jm}),E(467);let p=null,c=1;const D=Symbol("SIGNAL");function C(e){const t=p;return p=e,t}function B(e){if((!me(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==c)){if(!e.producerMustRecompute(e)&&!U(e))return e.dirty=!1,void(e.lastCleanEpoch=c);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=c}}function U(e){te(e);for(let t=0;t0}function te(e){var t,i,l;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(i=e.producerIndexOfThis)&&void 0!==i||(e.producerIndexOfThis=[]),null!==(l=e.producerLastReadVersion)&&void 0!==l||(e.producerLastReadVersion=[])}let v=null;var Oe=E(1413),pe=E(8359),Ie=E(4412),Se=E(6354);const ne="https://g.co/ng/security#xss";class G extends Error{constructor(t,i){super(Ee(t,i)),this.code=t}}function Ee(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ht(e){return{toString:e}.toString()}const Mt="__parameters__";function Ft(e,t,i){return ht(()=>{const l=function It(e){return function(...i){if(e){const l=e(...i);for(const x in l)this[x]=l[x]}}}(t);function x(...b){if(this instanceof x)return l.apply(this,b),this;const N=new x(...b);return H.annotation=N,H;function H(K,he,we){const Re=K.hasOwnProperty(Mt)?K[Mt]:Object.defineProperty(K,Mt,{value:[]})[Mt];for(;Re.length<=we;)Re.push(null);return(Re[we]=Re[we]||[]).push(N),K}}return i&&(x.prototype=Object.create(i.prototype)),x.prototype.ngMetadataName=e,x.annotationCls=x,x})}const Dt=globalThis;function St(e){for(let t in e)if(e[t]===St)return t;throw Error("Could not find renamed property on target object.")}function dt(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function Sn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Sn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function kt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Un=St({__forward_ref__:St});function Ut(e){return e.__forward_ref__=Ut,e.toString=function(){return Sn(this())},e}function Ve(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(Un)&&e.__forward_ref__===Ut}function bn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Pn(e){return Kn(e,je)||Kn(e,Tt)}function Ln(e){return null!==Pn(e)}function Kn(e,t){return e.hasOwnProperty(t)?e[t]:null}function $n(e){return e&&(e.hasOwnProperty(lt)||e.hasOwnProperty(wt))?e[lt]:null}const je=St({\u0275prov:St}),lt=St({\u0275inj:St}),Tt=St({ngInjectableDef:St}),wt=St({ngInjectorDef:St});class Lt{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=bn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qe(e){return e&&!!e.\u0275providers}const bt=St({\u0275cmp:St}),Kt=St({\u0275dir:St}),hn=St({\u0275pipe:St}),Et=St({\u0275mod:St}),zt=St({\u0275fac:St}),ye=St({__NG_ELEMENT_ID__:St}),We=St({__NG_ENV_ID__:St});function ct(e){return"string"==typeof e?e:null==e?"":String(e)}function un(e,t){throw new G(-201,!1)}var tn=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}(tn||{});let Mn;function _n(){return Mn}function On(e){const t=Mn;return Mn=e,t}function pr(e,t,i){const l=Pn(e);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:i&tn.Optional?null:void 0!==t?t:void un()}const le={},Ye="__NG_DI_FLAG__",Bt="ngTempTokenPath",dr=/\n/gm,qr="__source";let Zr;function zr(e){const t=Zr;return Zr=e,t}function $i(e,t=tn.Default){if(void 0===Zr)throw new G(-203,!1);return null===Zr?pr(e,void 0,t):Zr.get(e,t&tn.Optional?null:void 0,t)}function Ar(e,t=tn.Default){return(_n()||$i)(Ve(e),t)}function jn(e,t=tn.Default){return Ar(e,mi(t))}function mi(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pi(e){const t=[];for(let i=0;iArray.isArray(i)?si(i,t):t(i))}function ji(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function He(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function pn(e,t,i){let l=kn(e,t);return l>=0?e[1|l]=i:(l=~l,function ft(e,t,i,l){let x=e.length;if(x==t)e.push(i,l);else if(1===x)e.push(l,e[0]),e[0]=i;else{for(x--,e.push(e[x-1],e[x]);x>t;)e[x]=e[x-2],x--;e[t]=i,e[t+1]=l}}(e,l,t,i)),l}function In(e,t){const i=kn(e,t);if(i>=0)return e[1|i]}function kn(e,t){return function rr(e,t,i){let l=0,x=e.length>>i;for(;x!==l;){const b=l+(x-l>>1),N=e[b<t?x=b:l=b+1}return~(x<t){N=b-1;break}}}for(;b-1){let b;for(;++xb?"":x[we+1].toLowerCase(),2&l&&he!==Re){if(jr(l))return!1;N=!0}}}}else{if(!N&&!jr(l)&&!jr(K))return!1;if(N&&jr(K))continue;N=!1,l=K|1&l}}return jr(l)||N}function jr(e){return!(1&e)}function go(e,t,i,l){if(null===t)return-1;let x=0;if(l||!i){let b=!1;for(;x-1)for(i++;i0?'="'+H+'"':"")+"]"}else 8&l?x+="."+N:4&l&&(x+=" "+N);else""!==x&&!jr(N)&&(t+=_a(b,x),x=""),l=N,b=b||!jr(l);i++}return""!==x&&(t+=_a(b,x)),t}function Ba(e){return ht(()=>{var t;const i=ns(e),l={...i,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ji.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||ci.Emulated,styles:e.styles||Yn,_:null,schemas:e.schemas||null,tView:null,id:""};rs(l);const x=e.dependencies;return l.directiveDefs=Hi(x,!1),l.pipeDefs=Hi(x,!0),l.id=function Ta(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const x of i)t=Math.imul(31,t)+x.charCodeAt(0)|0;return t+=2147483648,"c"+t}(l),l})}function Xl(e){return tr(e)||Nr(e)}function Sa(e){return null!==e}function es(e){return ht(()=>({type:e.type,bootstrap:e.bootstrap||Yn,declarations:e.declarations||Yn,imports:e.imports||Yn,exports:e.exports||Yn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ia(e,t){if(null==e)return Hn;const i={};for(const x in e)if(e.hasOwnProperty(x)){const b=e[x];let N,H,K=Oi.None;var l;Array.isArray(b)?(K=b[0],N=b[1],H=null!==(l=b[2])&&void 0!==l?l:N):(N=b,H=b),t?(i[N]=K!==Oi.None?[x,K]:x,t[N]=H):i[N]=x}return i}function ts(e){return ht(()=>{const t=ns(e);return rs(t),t})}function yo(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function tr(e){return e[bt]||null}function Nr(e){return e[Kt]||null}function Or(e){return e[hn]||null}function ai(e){const t=tr(e)||Nr(e)||Or(e);return null!==t&&t.standalone}function Wr(e,t){const i=e[Et]||null;if(!i&&!0===t)throw new Error(`Type ${Sn(e)} does not have '\u0275mod' property.`);return i}function ns(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Hn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Yn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ia(e.inputs,t),outputs:Ia(e.outputs),debugInfo:null}}function rs(e){var t;null===(t=e.features)||void 0===t||t.forEach(i=>i(e))}function Hi(e,t){if(!e)return null;const i=t?Or:Xl;return()=>("function"==typeof e?e():e).map(l=>i(l)).filter(Sa)}function Oo(e){return{\u0275providers:e}}function _s(...e){return{\u0275providers:Ro(0,e),\u0275fromNgModule:!0}}function Ro(e,...t){const i=[],l=new Set;let x;const b=N=>{i.push(N)};return si(t,N=>{const H=N;eo(H,b,[],l)&&(x||(x=[]),x.push(H))}),void 0!==x&&Bs(x,b),i}function Bs(e,t){for(let i=0;i{t(b,l)})}}function eo(e,t,i,l){if(!(e=Ve(e)))return!1;let x=null,b=$n(e);const N=!b&&tr(e);if(b||N){if(N&&!N.standalone)return!1;x=e}else{const K=e.ngModule;if(b=$n(K),!b)return!1;x=K}const H=l.has(x);if(N){if(H)return!1;if(l.add(x),N.dependencies){const K="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const he of K)eo(he,t,i,l)}}else{if(!b)return!1;{if(null!=b.imports&&!H){let he;l.add(x);try{si(b.imports,we=>{eo(we,t,i,l)&&(he||(he=[]),he.push(we))})}finally{}void 0!==he&&Bs(he,t)}if(!H){const he=ei(x)||(()=>new x);t({provide:x,useFactory:he,deps:Yn},x),t({provide:Po,useValue:x,multi:!0},x),t({provide:ti,useValue:()=>Ar(x),multi:!0},x)}const K=b.providers;if(null!=K&&!H){const he=e;Ss(K,we=>{t(we,he)})}}}return x!==e&&void 0!==e.providers}function Ss(e,t){for(let i of e)qe(i)&&(i=i.\u0275providers),Array.isArray(i)?Ss(i,t):t(i)}const Zl=St({provide:String,useValue:St});function Is(e){return null!==e&&"object"==typeof e&&Zl in e}function zi(e){return"function"==typeof e}const No=new Lt(""),Ts={},Ra={};let Fs;function ko(){return void 0===Fs&&(Fs=new mo),Fs}class fi{}class to extends fi{get destroyed(){return this._destroyed}constructor(t,i,l,x){super(),this.parent=i,this.source=l,this.scopes=x,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lo(t,N=>this.processProvider(N)),this.records.set(wa,no(void 0,this)),x.has("environment")&&this.records.set(fi,no(void 0,this));const b=this.records.get(No);null!=b&&"string"==typeof b.value&&this.scopes.add(b.value),this.injectorDefTypes=new Set(this.get(Po,Yn,tn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=C(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of i)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=zr(this),l=On(void 0);try{return t()}finally{zr(i),On(l)}}get(t,i=le,l=tn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(We))return t[We](this);l=mi(l);const b=zr(this),N=On(void 0);try{if(!(l&tn.SkipSelf)){let K=this.records.get(t);if(void 0===K){const he=function bo(e){return"function"==typeof e||"object"==typeof e&&e instanceof Lt}(t)&&Pn(t);K=he&&this.injectableDefInScope(he)?no(Ps(t),Ts):null,this.records.set(t,K)}if(null!=K)return this.hydrate(t,K)}return(l&tn.Self?ko():this.parent).get(t,i=l&tn.Optional&&i===le?null:i)}catch(H){if("NullInjectorError"===H.name){if((H[Bt]=H[Bt]||[]).unshift(Sn(t)),b)throw H;return function Ui(e,t,i,l){const x=e[Bt];throw t[qr]&&x.unshift(t[qr]),e.message=function Mi(e,t,i,l=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let x=Sn(t);if(Array.isArray(t))x=t.map(Sn).join(" -> ");else if("object"==typeof t){let b=[];for(let N in t)if(t.hasOwnProperty(N)){let H=t[N];b.push(N+":"+("string"==typeof H?JSON.stringify(H):Sn(H)))}x=`{${b.join(", ")}}`}return`${i}${l?"("+l+")":""}[${x}]: ${e.replace(dr,"\n ")}`}("\n"+e.message,x,i,l),e.ngTokenPath=x,e[Bt]=null,e}(H,t,"R3InjectorError",this.source)}throw H}finally{On(N),zr(b)}}resolveInjectorInitializers(){const t=C(null),i=zr(this),l=On(void 0);try{const b=this.get(ti,Yn,tn.Self);for(const N of b)N()}finally{zr(i),On(l),C(t)}}toString(){const t=[],i=this.records;for(const l of i.keys())t.push(Sn(l));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new G(205,!1)}processProvider(t){let i=zi(t=Ve(t))?t:Ve(t&&t.provide);const l=function Jl(e){return Is(e)?no(void 0,e.useValue):no(is(e),Ts)}(t);if(!zi(t)&&!0===t.multi){let x=this.records.get(i);x||(x=no(void 0,Ts,!0),x.factory=()=>Pi(x.multi),this.records.set(i,x)),i=t,x.multi.push(t)}this.records.set(i,l)}hydrate(t,i){const l=C(null);try{return i.value===Ts&&(i.value=Ra,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Co(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{C(l)}}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Ve(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Ps(e){const t=Pn(e),i=null!==t?t.factory:ei(e);if(null!==i)return i;if(e instanceof Lt)throw new G(204,!1);if(e instanceof Function)return function Ql(e){if(e.length>0)throw new G(204,!1);const i=function Gn(e){return e&&(e[je]||e[Tt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new G(204,!1)}function is(e,t,i){let l;if(zi(e)){const x=Ve(e);return ei(x)||Ps(x)}if(Is(e))l=()=>Ve(e.useValue);else if(function Pa(e){return!(!e||!e.useFactory)}(e))l=()=>e.useFactory(...Pi(e.deps||[]));else if(function Fa(e){return!(!e||!e.useExisting)}(e))l=()=>Ar(Ve(e.useExisting));else{const x=Ve(e&&(e.useClass||e.provide));if(!function ql(e){return!!e.deps}(e))return ei(x)||Ps(x);l=()=>new x(...Pi(e.deps))}return l}function no(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Lo(e,t){for(const i of e)Array.isArray(i)?Lo(i,t):i&&qe(i)?Lo(i.\u0275providers,t):t(i)}function ro(e,t){e instanceof to&&e.assertNotDestroyed();const l=zr(e),x=On(void 0);try{return t()}finally{zr(l),On(x)}}function Na(){return void 0!==_n()||null!=function oi(){return Zr}()}const xr=0,gn=1,Rn=2,sr=3,Lr=4,Mr=5,Ir=6,Ri=7,br=8,Rr=9,_i=10,Jn=11,os=12,Os=13,Do=14,Tr=15,Uo=16,ni=17,Ni=18,Rs=19,_c=20,Ao=21,Vo=22,io=23,qn=25,ka=1,Wi=7,jo=9,kr=10;var eu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(eu||{});function ri(e){return Array.isArray(e)&&"object"==typeof e[ka]}function Jr(e){return Array.isArray(e)&&!0===e[ka]}function La(e){return!!(4&e.flags)}function Ho(e){return e.componentOffset>-1}function ls(e){return!(1&~e.flags)}function Bi(e){return!!e.template}function $a(e){return!!(512&e[Rn])}class er{constructor(t,i,l){this.previousValue=t,this.currentValue=i,this.firstChange=l}isFirstChange(){return this.firstChange}}function wr(e,t,i,l){null!==t?t.applyValueToInputSignal(t,l):e[i]=l}function hr(){return Kr}function Kr(e){return e.type.prototype.ngOnChanges&&(e.setInput=us),Mo}function Mo(){const e=Wo(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Hn)e.previous=t;else for(let l in t)i[l]=t[l];e.current=null,this.ngOnChanges(t)}}function us(e,t,i,l,x){const b=this.declaredInputs[l],N=Wo(e)||function cs(e,t){return e[zo]=t}(e,{previous:Hn,current:null}),H=N.current||(N.current={}),K=N.previous,he=K[b];H[b]=new er(he&&he.currentValue,i,K===Hn),wr(e,t,x,i)}hr.ngInherit=!0;const zo="__ngSimpleChanges__";function Wo(e){return e[zo]||null}const oo=function(e,t,i){};let Ff=!1;function Dr(e){for(;Array.isArray(e);)e=e[xr];return e}function ja(e,t){return Dr(t[e])}function hi(e,t){return Dr(t[e.index])}function Ha(e,t){return e.data[t]}function Si(e,t){const i=t[e];return ri(i)?i:i[xr]}function Fc(e){return!(128&~e[Rn])}function so(e,t){return null==t?null:e[t]}function Pf(e){e[ni]=0}function Y1(e){1024&e[Rn]||(e[Rn]|=1024,Fc(e)&&za(e))}function Pc(e){var t;return!!(9216&e[Rn]||null!==(t=e[io])&&void 0!==t&&t.dirty)}function Oc(e){var t;if(null===(t=e[_i].changeDetectionScheduler)||void 0===t||t.notify(1),Pc(e))za(e);else if(64&e[Rn])if(function W1(){return Ff}())e[Rn]|=1024,za(e);else{var i;null===(i=e[_i].changeDetectionScheduler)||void 0===i||i.notify()}}function za(e){var t;null===(t=e[_i].changeDetectionScheduler)||void 0===t||t.notify();let i=fs(e);for(;null!==i&&!(8192&i[Rn])&&(i[Rn]|=8192,Fc(i));)i=fs(i)}function nu(e,t){if(!(256&~e[Rn]))throw new G(911,!1);null===e[Ao]&&(e[Ao]=[]),e[Ao].push(t)}function fs(e){const t=e[sr];return Jr(t)?t[sr]:t}const nr={lFrame:Wf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nf(){return nr.bindingsEnabled}function Ls(){return null!==nr.skipHydrationRootTNode}function sn(){return nr.lFrame.lView}function cr(){return nr.lFrame.tView}function kf(e){return nr.lFrame.contextLView=e,e[br]}function Lf(e){return nr.lFrame.contextLView=null,e}function Cr(){let e=$f();for(;null!==e&&64===e.type;)e=e.parent;return e}function $f(){return nr.lFrame.currentTNode}function ao(e,t){const i=nr.lFrame;i.currentTNode=e,i.isParent=t}function Nc(){return nr.lFrame.isParent}function kc(){nr.lFrame.isParent=!1}function pi(){const e=nr.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ki(){return nr.lFrame.bindingIndex++}function _o(e){const t=nr.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function sE(e,t){const i=nr.lFrame;i.bindingIndex=i.bindingRootIndex=e,Lc(t)}function Lc(e){nr.lFrame.currentDirectiveIndex=e}function Uc(){return nr.lFrame.currentQueryIndex}function ru(e){nr.lFrame.currentQueryIndex=e}function lE(e){const t=e[gn];return 2===t.type?t.declTNode:1===t.type?e[Mr]:null}function Hf(e,t,i){if(i&tn.SkipSelf){let x=t,b=e;for(;!(x=x.parent,null!==x||i&tn.Host||(x=lE(b),null===x||(b=b[Do],10&x.type))););if(null===x)return!1;t=x,e=b}const l=nr.lFrame=zf();return l.currentTNode=t,l.lView=e,!0}function Vc(e){const t=zf(),i=e[gn];nr.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function zf(){const e=nr.lFrame,t=null===e?null:e.child;return null===t?Wf(e):t}function Wf(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Kf(){const e=nr.lFrame;return nr.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gf=Kf;function jc(){const e=Kf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function li(){return nr.lFrame.selectedIndex}function hs(e){nr.lFrame.selectedIndex=e}function Sr(){const e=nr.lFrame;return Ha(e.tView,e.selectedIndex)}let Yf=!0;function Ka(){return Yf}function lo(e){Yf=e}function iu(e,t){for(let he=t.directiveStart,we=t.directiveEnd;he=l)break}else t[K]<0&&(e[ni]+=65536),(H>14>16&&(3&e[Rn])===t&&(e[Rn]+=16384,Qf(H,b)):Qf(H,b)}const $s=-1;class Ga{constructor(t,i,l){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=l}}function Wc(e){return e!==$s}function Xa(e){return 32767&e}function Ya(e,t){let i=function yE(e){return e>>16}(e),l=t;for(;i>0;)l=l[Do],i--;return l}let Kc=!0;function au(e){const t=Kc;return Kc=e,t}const Jf=255,qf=5;let CE=0;const uo={};function lu(e,t){const i=eh(e,t);if(-1!==i)return i;const l=t[gn];l.firstCreatePass&&(e.injectorIndex=t.length,Gc(l.data,e),Gc(t,null),Gc(l.blueprint,null));const x=uu(e,t),b=e.injectorIndex;if(Wc(x)){const N=Xa(x),H=Ya(x,t),K=H[gn].data;for(let he=0;he<8;he++)t[b+he]=H[N+he]|K[N+he]}return t[b+8]=x,b}function Gc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function eh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function uu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,l=null,x=t;for(;null!==x;){if(l=lh(x),null===l)return $s;if(i++,x=x[Do],-1!==l.injectorIndex)return l.injectorIndex|i<<16}return $s}function Xc(e,t,i){!function bE(e,t,i){let l;"string"==typeof i?l=i.charCodeAt(0)||0:i.hasOwnProperty(ye)&&(l=i[ye]),null==l&&(l=i[ye]=CE++);const x=l&Jf;t.data[e+(x>>qf)]|=1<=0?t&Jf:wE:t}(i);if("function"==typeof b){if(!Hf(t,e,l))return l&tn.Host?th(x,0,l):nh(t,i,l,x);try{let N;if(N=b(l),null!=N||l&tn.Optional)return N;un()}finally{Gf()}}else if("number"==typeof b){let N=null,H=eh(e,t),K=$s,he=l&tn.Host?t[Tr][Mr]:null;for((-1===H||l&tn.SkipSelf)&&(K=-1===H?uu(e,t):t[H+8],K!==$s&&sh(l,!1)?(N=t[gn],H=Xa(K),t=Ya(K,t)):H=-1);-1!==H;){const we=t[gn];if(oh(b,H,we.data)){const Re=AE(H,t,i,N,l,he);if(Re!==uo)return Re}K=t[H+8],K!==$s&&sh(l,t[gn].data[H+8]===he)&&oh(b,H,t)?(N=we,H=Xa(K),t=Ya(K,t)):H=-1}}return x}function AE(e,t,i,l,x,b){const N=t[gn],H=N.data[e+8],we=cu(H,N,i,null==l?Ho(H)&&Kc:l!=N&&!!(3&H.type),x&tn.Host&&b===H);return null!==we?ps(t,N,we,H):uo}function cu(e,t,i,l,x){const b=e.providerIndexes,N=t.data,H=1048575&b,K=e.directiveStart,we=b>>20,ut=x?H+we:e.directiveEnd;for(let At=l?H:H+we;At=K&&Vt.type===i)return At}if(x){const At=N[K];if(At&&Bi(At)&&At.type===i)return K}return null}function ps(e,t,i,l){let x=e[i];const b=t.data;if(function vE(e){return e instanceof Ga}(x)){const N=x;N.resolving&&function an(e,t){throw t&&t.join(" > "),new G(-200,e)}(function xt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ct(e)}(b[i]));const H=au(N.canSeeViewProviders);N.resolving=!0;const he=N.injectImpl?On(N.injectImpl):null;Hf(e,l,tn.Default);try{x=e[i]=N.factory(void 0,b,e,l),t.firstCreatePass&&i>=l.directiveStart&&function pE(e,t,i){const{ngOnChanges:l,ngOnInit:x,ngDoCheck:b}=t.type.prototype;if(l){var N,H;const Re=Kr(t);(null!==(N=i.preOrderHooks)&&void 0!==N?N:i.preOrderHooks=[]).push(e,Re),(null!==(H=i.preOrderCheckHooks)&&void 0!==H?H:i.preOrderCheckHooks=[]).push(e,Re)}var K,he,we;x&&(null!==(K=i.preOrderHooks)&&void 0!==K?K:i.preOrderHooks=[]).push(0-e,x),b&&((null!==(he=i.preOrderHooks)&&void 0!==he?he:i.preOrderHooks=[]).push(e,b),(null!==(we=i.preOrderCheckHooks)&&void 0!==we?we:i.preOrderCheckHooks=[]).push(e,b))}(i,b[i],t)}finally{null!==he&&On(he),au(H),N.resolving=!1,Gf()}}return x}function oh(e,t,i){return!!(i[t+(e>>qf)]&1<{const t=e.prototype.constructor,i=t[zt]||Yc(t),l=Object.prototype;let x=Object.getPrototypeOf(e.prototype).constructor;for(;x&&x!==l;){const b=x[zt]||Yc(x);if(b&&b!==i)return b;x=Object.getPrototypeOf(x)}return b=>new b})}function Yc(e){return _e(e)?()=>{const t=Yc(Ve(e));return t&&t()}:ei(e)}function lh(e){const t=e[gn],i=t.type;return 2===i?t.declTNode:1===i?e[Mr]:null}function du(e){return function DE(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const l=i.length;let x=0;for(;x{var e;class t{static create(l,x){if(Array.isArray(l))return hh({name:""},x,l,"");{var b;const N=null!==(b=l.name)&&void 0!==b?b:"";return hh({name:N},l.parent,l.providers,N)}}}return(e=t).THROW_IF_NOT_FOUND=le,e.NULL=new mo,e.\u0275prov=bn({token:e,providedIn:"any",factory:()=>Ar(wa)}),e.__NG_ELEMENT_ID__=-1,t})();function Qc(e){return e.ngOriginalError}class Bo{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Qc(t);for(;i&&Qc(i);)i=Qc(i);return i||null}}const vh=new Lt("",{providedIn:"root",factory:()=>jn(Bo).handleError.bind(void 0)});let js=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=NE,e.__NG_ENV_ID__=i=>i,t})();class RE extends js{constructor(t){super(),this._lView=t}onDestroy(t){return nu(this._lView,t),()=>function Rc(e,t){if(null===e[Ao])return;const i=e[Ao].indexOf(t);-1!==i&&e[Ao].splice(i,1)}(this._lView,t)}}function NE(){return new RE(sn())}function kE(){return Hs(Cr(),sn())}function Hs(e,t){return new Za(hi(e,t))}let Za=(()=>{class t{constructor(l){this.nativeElement=l}}return t.__NG_ELEMENT_ID__=kE,t})();function gh(e){return e instanceof Za?e.nativeElement:e}function Jc(e){return t=>{setTimeout(e,void 0,t)}}const co=class LE extends Oe.B{constructor(t=!1){var i;super(),this.destroyRef=void 0,this.__isAsync=t,Na()&&(this.destroyRef=null!==(i=jn(js,{optional:!0}))&&void 0!==i?i:void 0)}emit(t){const i=C(null);try{super.next(t)}finally{C(i)}}subscribe(t,i,l){let x=t,b=i||(()=>null),N=l;if(t&&"object"==typeof t){var H,K,he;const Re=t;x=null===(H=Re.next)||void 0===H?void 0:H.bind(Re),b=null===(K=Re.error)||void 0===K?void 0:K.bind(Re),N=null===(he=Re.complete)||void 0===he?void 0:he.bind(Re)}this.__isAsync&&(b=Jc(b),x&&(x=Jc(x)),N&&(N=Jc(N)));const we=super.subscribe({next:x,error:b,complete:N});return t instanceof pe.yU&&t.add(we),we}};function $E(){return this._results[Symbol.iterator]()}class qc{get changes(){var t;return null!==(t=this._changes)&&void 0!==t?t:this._changes=new co}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=qc.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=$E)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){this.dirty=!1;const l=function Fr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Qi(e,t,i){if(e.length!==t.length)return!1;for(let l=0;lay}),ay="ng",$h=new Lt(""),o0=new Lt("",{providedIn:"platform",factory:()=>"unknown"}),ly=new Lt("",{providedIn:"root",factory:()=>{var e;return(null===(e=function Ko(){if(void 0!==r0)return r0;if(typeof document<"u")return document;throw new G(210,!1)}().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let Uh=()=>null;function c0(e,t,i=!1){return Uh(e,t,i)}const Wh=new Lt("",{providedIn:"root",factory:()=>!1});let Du,Au;function Gs(e){var t;return(null===(t=function p0(){if(void 0===Du&&(Du=null,Dt.trustedTypes))try{Du=Dt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Du}())||void 0===t?void 0:t.createHTML(e))||e}function Yh(e){var t;return(null===(t=function x0(){if(void 0===Au&&(Au=null,Dt.trustedTypes))try{Au=Dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Au}())||void 0===t?void 0:t.createScriptURL(e))||e}class xs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ne})`}}class by extends xs{getTypeName(){return"HTML"}}class Dy extends xs{getTypeName(){return"Style"}}class Ay extends xs{getTypeName(){return"Script"}}class My extends xs{getTypeName(){return"URL"}}class wy extends xs{getTypeName(){return"ResourceURL"}}function So(e){return e instanceof xs?e.changingThisBreaksApplicationSecurity:e}function Xs(e,t){const i=function _y(e){return e instanceof xs&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${ne})`)}return i===t}function By(e){return new by(e)}function Sy(e){return new Dy(e)}function Iy(e){return new Ay(e)}function Ty(e){return new My(e)}function Fy(e){return new wy(e)}class Py{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Gs(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class Oy{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Gs(t),i}}const Ny=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mu(e){return(e=String(e)).match(Ny)?e:"unsafe:"+e}function Io(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function il(...e){const t={};for(const i of e)for(const l in i)i.hasOwnProperty(l)&&(t[l]=!0);return t}const Qh=Io("area,br,col,hr,img,wbr"),Jh=Io("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qh=Io("rp,rt"),v0=il(Qh,il(Jh,Io("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),il(qh,Io("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),il(qh,Jh)),m0=Io("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ep=il(m0,Io("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Io("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ky=Io("script,style,template");class Ly{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,l=!0,x=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?l=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,l&&i.firstChild)x.push(i),i=Vy(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let b=Uy(i);if(b){i=b;break}i=x.pop()}return this.buf.join("")}startElement(t){const i=tp(t).toLowerCase();if(!v0.hasOwnProperty(i))return this.sanitizedSomething=!0,!ky.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const l=t.attributes;for(let x=0;x"),!0}endElement(t){const i=tp(t).toLowerCase();v0.hasOwnProperty(i)&&!Qh.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(rp(t))}}function Uy(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw np(t);return t}function Vy(e){const t=e.firstChild;if(t&&function $y(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw np(t);return t}function tp(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function np(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const jy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Hy=/([^\#-~ |!])/g;function rp(e){return e.replace(/&/g,"&").replace(jy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Hy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let wu;function ip(e,t){let i=null;try{wu=wu||function Zh(e){const t=new Oy(e);return function Ry(){try{return!!(new window.DOMParser).parseFromString(Gs(""),"text/html")}catch{return!1}}()?new Py(t):t}(e);let l=t?String(t):"";i=wu.getInertBodyElement(l);let x=5,b=l;do{if(0===x)throw new Error("Failed to sanitize html because the input is unstable");x--,l=b,b=i.innerHTML,i=wu.getInertBodyElement(l)}while(l!==b);return Gs((new Ly).sanitizeChildren(g0(i)||i))}finally{if(i){const l=g0(i)||i;for(;l.firstChild;)l.removeChild(l.firstChild)}}}function g0(e){return"content"in e&&function zy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(vs||{});function E0(e){const t=ol();return t?t.sanitize(vs.URL,e)||"":Xs(e,"URL")?So(e):Mu(ct(e))}function y0(e){const t=ol();if(t)return Yh(t.sanitize(vs.RESOURCE_URL,e)||"");if(Xs(e,"ResourceURL"))return Yh(So(e));throw new G(904,!1)}function op(e,t,i){return function Zy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?y0:E0}(t,i)(e)}function ol(){const e=sn();return e&&e[_i].sanitizer}const Qy=/^>|^->||--!>|)/g,qy="\u200b$1\u200b";function Ti(e){return e instanceof Function?e():e}var Su=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Su||{});let A0;function M0(e,t){return A0(e,t)}function Zs(e,t,i,l,x){if(null!=l){let b,N=!1;Jr(l)?b=l:ri(l)&&(N=!0,l=l[xr]);const H=Dr(l);0===e&&null!==i?null==x?mp(t,i,H):ms(t,i,H,x||null,!0):1===e&&null!==i?ms(t,i,H,x||null,!0):2===e?function ll(e,t,i){const l=Fu(e,t);l&&function g8(e,t,i,l){e.removeChild(t,i,l)}(e,l,t,i)}(t,H,N):3===e&&t.destroyNode(H),null!=b&&function C8(e,t,i,l,x){const b=i[Wi];b!==Dr(i)&&Zs(t,e,l,b,x);for(let H=kr;Ht.replace(Jy,qy))}(t))}function Iu(e,t,i){return e.createElement(t,i)}function pp(e,t){var i;null===(i=t[_i].changeDetectionScheduler)||void 0===i||i.notify(1),Ou(e,t,t[Jn],2,null,null)}function xp(e,t){const i=e[jo],l=i.indexOf(t);i.splice(l,1)}function sl(e,t){if(e.length<=kr)return;const i=kr+t,l=e[i];if(l){const x=l[Uo];null!==x&&x!==e&&xp(x,l),t>0&&(e[i-1][Lr]=l[Lr]);const b=He(e,kr+t);!function d8(e,t){pp(e,t),t[xr]=null,t[Mr]=null}(l[gn],l);const N=b[Ni];null!==N&&N.detachView(b[gn]),l[sr]=null,l[Lr]=null,l[Rn]&=-129}return l}function Tu(e,t){if(!(256&t[Rn])){const i=t[Jn];i.destroyNode&&Ou(e,t,i,3,null,null),function h8(e){let t=e[os];if(!t)return B0(e[gn],e);for(;t;){let i=null;if(ri(t))i=t[os];else{const l=t[kr];l&&(i=l)}if(!i){for(;t&&!t[Lr]&&t!==e;)ri(t)&&B0(t[gn],t),t=t[sr];null===t&&(t=e),ri(t)&&B0(t[gn],t),i=t&&t[Lr]}t=i}}(t)}}function B0(e,t){if(256&t[Rn])return;const i=C(null);try{t[Rn]&=-129,t[Rn]|=256,t[io]&&function j(e){if(te(e),me(e))for(let t=0;t=0?l[N]():l[-N].unsubscribe(),b+=2}else i[b].call(l[i[b+1]]);null!==l&&(t[Ri]=null);const x=t[Ao];if(null!==x){t[Ao]=null;for(let b=0;b-1){const{encapsulation:b}=e.data[l.directiveStart+x];if(b===ci.None||b===ci.Emulated)return null}return hi(l,i)}}(e,t.parent,i)}function ms(e,t,i,l,x){e.insertBefore(t,i,l,x)}function mp(e,t,i){e.appendChild(t,i)}function gp(e,t,i,l,x){null!==l?ms(e,t,i,l,x):mp(e,t,i)}function Fu(e,t){return e.parentNode(t)}function Ep(e,t,i){return Cp(e,t,i)}let I0,Cp=function yp(e,t,i){return 40&e.type?hi(e,i):null};function Pu(e,t,i,l){const x=S0(e,l,t),b=t[Jn],H=Ep(l.parent||t[Mr],l,t);if(null!=x)if(Array.isArray(i))for(let K=0;Kqn&&Sp(e,t,qn,!1),oo(N?2:0,x),i(l,x)}finally{hs(b),oo(N?3:1,x)}}function O0(e,t,i){if(La(t)){const l=C(null);try{const b=t.directiveEnd;for(let N=t.directiveStart;Nnull;function Rp(e,t,i,l,x){for(let N in t){var b;if(!t.hasOwnProperty(N))continue;const H=t[N];if(void 0===H)continue;null!==(b=l)&&void 0!==b||(l={});let K,he=Oi.None;Array.isArray(H)?(K=H[0],he=H[1]):K=H;let we=N;if(null!==x){if(!x.hasOwnProperty(N))continue;we=x[N]}0===e?Np(l,i,we,K,he):Np(l,i,we,K)}return l}function Np(e,t,i,l,x){let b;e.hasOwnProperty(i)?(b=e[i]).push(t,l):b=e[i]=[t,l],void 0!==x&&b.push(x)}function Ci(e,t,i,l,x,b,N,H){const K=hi(t,i);let we,he=t.inputs;!H&&null!=he&&(we=he[l])?(j0(e,i,we,l,x),Ho(t)&&function O8(e,t){const i=Si(t,e);16&i[Rn]||(i[Rn]|=64)}(i,t.index)):3&t.type&&(l=function P8(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(l),x=null!=N?N(x,t.value||"",l):x,b.setProperty(K,l,x))}function L0(e,t,i,l){if(Nf()){const x=null===l?null:{"":-1},b=function U8(e,t){const i=e.directiveRegistry;let l=null,x=null;if(i)for(let N=0;N0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(N)!=H&&N.push(H),N.push(i,l,b)}}(e,t,l,ul(e,i,x.hostVars,or),x)}function fo(e,t,i,l,x,b){const N=hi(e,t);!function U0(e,t,i,l,x,b,N){if(null==b)e.removeAttribute(t,x,i);else{const H=null==N?ct(b):N(b,l||"",x);e.setAttribute(t,x,H,i)}}(t[Jn],N,b,e.value,i,l,x)}function K8(e,t,i,l,x,b){const N=b[t];if(null!==N)for(let H=0;H0&&(i[x-1][Lr]=t),l!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{za(e.lView)},consumerOnSignalRead(){this.lView[io]=this}},Gp=100;function Lu(e,t=!0,i=0){const l=e[_i],x=l.rendererFactory;var N;null===(N=x.begin)||void 0===N||N.call(x);try{!function t9(e,t){W0(e,t);let i=0;for(;Pc(e);){if(i===Gp)throw new G(103,!1);i++,W0(e,1)}}(e,i)}catch(he){throw t&&ku(e,he),he}finally{var H,K;null===(H=x.end)||void 0===H||H.call(x),null===(K=l.inlineEffectRunner)||void 0===K||K.flush()}}function n9(e,t,i,l){var x;const b=t[Rn];if(!(256&~b))return;null===(x=t[_i].inlineEffectRunner)||void 0===x||x.flush(),Vc(t);let H=null,K=null;(function r9(e){return 2!==e.type})(e)&&(K=function Q8(e){var t;return null!==(t=e[io])&&void 0!==t?t:function J8(e){var t;const i=null!==(t=Kp.pop())&&void 0!==t?t:Object.create(e9);return i.lView=e,i}(e)}(t),H=function M(e){return e&&(e.nextProducerIndex=0),C(e)}(K));try{Pf(t),function Vf(e){return nr.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==i&&Fp(e,t,i,2,l);const he=!(3&~b);if(he){const ut=e.preOrderCheckHooks;null!==ut&&ou(t,ut,null)}else{const ut=e.preOrderHooks;null!==ut&&su(t,ut,0,null),Hc(t,0)}if(function i9(e){for(let t=Bh(e);null!==t;t=Sh(t)){if(!(t[Rn]&eu.HasTransplantedViews))continue;const i=t[jo];for(let l=0;le.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(K,H),function q8(e){e.lView[io]!==e&&(e.lView=null,Kp.push(e))}(K)),jc()}}function Xp(e,t){for(let i=Bh(e);null!==i;i=Sh(i))for(let l=kr;l-1&&(sl(t,l),He(i,l))}this._attachedToViewContainer=!1}Tu(this._lView[gn],this._lView)}onDestroy(t){nu(this._lView,t)}markForCheck(){hl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Rn]&=-129}reattach(){Oc(this._lView),this._lView[Rn]|=128}detectChanges(){this._lView[Rn]|=1024,Lu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,pp(this._lView[gn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=t,Oc(this._lView)}}let xl=(()=>{class t{}return t.__NG_ELEMENT_ID__=l9,t})();const s9=xl,a9=class extends s9{constructor(t,i,l){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=l}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,l){const x=function cl(e,t,i,l){const x=C(null);try{var b,N,H;const K=t.tView,Re=Ru(e,K,i,4096&e[Rn]?4096:16,null,t,null,null,null!==(b=null==l?void 0:l.injector)&&void 0!==b?b:null,null!==(N=null==l?void 0:l.embeddedViewInjector)&&void 0!==N?N:null,null!==(H=null==l?void 0:l.dehydratedView)&&void 0!==H?H:null);Re[Uo]=e[t.index];const At=e[Ni];return null!==At&&(Re[Ni]=At.createEmbeddedView(K)),H0(K,Re,i),Re}finally{C(x)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:l});return new pl(x)}};function l9(){return $u(Cr(),sn())}function $u(e,t){return 4&e.type?new a9(t,e,Hs(e,t)):null}class Q0{}class F9{}class rx{}class O9{resolveComponentFactory(t){throw function P9(e){const t=Error(`No component factory found for ${Sn(e)}.`);return t.ngComponent=e,t}(t)}}let zu=(()=>{class t{}return t.NULL=new O9,t})();class ox{}let R9=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function N9(){const e=sn(),i=Si(Cr().index,e);return(ri(i)?i:e)[Jn]}(),t})(),k9=(()=>{var e;class t{}return(e=t).\u0275prov=bn({token:e,providedIn:"root",factory:()=>null}),t})();const J0={},sx=new Set;function ho(e){var t,i;sx.has(e)||(sx.add(e),null===(t=performance)||void 0===t||null===(i=t.mark)||void 0===i||i.call(t,"mark_feature_usage",{detail:{feature:e}}))}function ax(...e){}class Hr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:l=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new co(!1),this.onMicrotaskEmpty=new co(!1),this.onStable=new co(!1),this.onError=new co(!1),typeof Zone>"u")throw new G(908,!1);Zone.assertZonePatched();const x=this;x._nesting=0,x._outer=x._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(x._inner=x._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(x._inner=x._inner.fork(Zone.longStackTraceZoneSpec)),x.shouldCoalesceEventChangeDetection=!l&&i,x.shouldCoalesceRunChangeDetection=l,x.lastRequestAnimationFrameId=-1,x.nativeRequestAnimationFrame=function L9(){const e="function"==typeof Dt.requestAnimationFrame;let t=Dt[e?"requestAnimationFrame":"setTimeout"],i=Dt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const l=t[Zone.__symbol__("OriginalDelegate")];l&&(t=l);const x=i[Zone.__symbol__("OriginalDelegate")];x&&(i=x)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function V9(e){const t=()=>{!function U9(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Dt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ed(e),e.isCheckStableRunning=!0,q0(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ed(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,l,x,b,N,H)=>{if(function j9(e){var t;return!(!Array.isArray(e)||1!==e.length)&&!0===(null===(t=e[0].data)||void 0===t?void 0:t.__ignore_ng_zone__)}(H))return i.invokeTask(x,b,N,H);try{return lx(e),i.invokeTask(x,b,N,H)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===b.type||e.shouldCoalesceRunChangeDetection)&&t(),ux(e)}},onInvoke:(i,l,x,b,N,H,K)=>{try{return lx(e),i.invoke(x,b,N,H,K)}finally{e.shouldCoalesceRunChangeDetection&&t(),ux(e)}},onHasTask:(i,l,x,b)=>{i.hasTask(x,b),l===x&&("microTask"==b.change?(e._hasPendingMicrotasks=b.microTask,ed(e),q0(e)):"macroTask"==b.change&&(e.hasPendingMacrotasks=b.macroTask))},onHandleError:(i,l,x,b)=>(i.handleError(x,b),e.runOutsideAngular(()=>e.onError.emit(b)),!1)})}(x)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Hr.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(Hr.isInAngularZone())throw new G(909,!1)}run(t,i,l){return this._inner.run(t,i,l)}runTask(t,i,l,x){const b=this._inner,N=b.scheduleEventTask("NgZoneEvent: "+x,t,$9,ax,ax);try{return b.runTask(N,i,l)}finally{b.cancelTask(N)}}runGuarded(t,i,l){return this._inner.runGuarded(t,i,l)}runOutsideAngular(t){return this._outer.run(t)}}const $9={};function q0(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 ed(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function lx(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ux(e){e._nesting--,q0(e)}class cx{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new co,this.onMicrotaskEmpty=new co,this.onStable=new co,this.onError=new co}run(t,i,l){return t.apply(i,l)}runGuarded(t,i,l){return t.apply(i,l)}runOutsideAngular(t){return t()}runTask(t,i,l,x){return t.apply(i,l)}}var gs=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(gs||{});const dx={destroy(){}};function fx(e,t){var i,l,x;!t&&function $o(e){if(!Na())throw new G(-203,!1)}();const b=null!==(i=null==t?void 0:t.injector)&&void 0!==i?i:jn(Ii);if(!function Gi(e){return"browser"===(null!=e?e:jn(Ii)).get(o0)}(b))return dx;ho("NgAfterNextRender");const N=b.get(yl),H=null!==(l=N.handler)&&void 0!==l?l:N.handler=new px,K=null!==(x=null==t?void 0:t.phase)&&void 0!==x?x:gs.MixedReadWrite,he=()=>{H.unregister(Re),we()},we=b.get(js).onDestroy(he),Re=ro(b,()=>new hx(K,()=>{he(),e()}));return H.register(Re),{destroy:he}}class hx{constructor(t,i){var l;this.phase=t,this.callbackFn=i,this.zone=jn(Hr),this.errorHandler=jn(Bo,{optional:!0}),null===(l=jn(Q0,{optional:!0}))||void 0===l||l.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(i){var t;null===(t=this.errorHandler)||void 0===t||t.handleError(i)}}}class px{constructor(){this.executingCallbacks=!1,this.buckets={[gs.EarlyRead]:new Set,[gs.Write]:new Set,[gs.MixedReadWrite]:new Set,[gs.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let yl=(()=>{var e;class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var l;this.executeInternalCallbacks(),null===(l=this.handler)||void 0===l||l.execute()}executeInternalCallbacks(){const l=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const x of l)x()}ngOnDestroy(){var l;null===(l=this.handler)||void 0===l||l.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=bn({token:e,providedIn:"root",factory:()=>new e}),t})();function Go(e){return!!Wr(e)}function Ku(e,t,i){let l=i?e.styles:null,x=i?e.classes:null,b=0;if(null!==t)for(let N=0;N0&&wp(e,i,b.join(" "))}}(en,Zi,vn,l),void 0!==i&&function eC(e,t,i){const l=e.projection=[];for(let x=0;x{class t{}return t.__NG_ELEMENT_ID__=nC,t})();function nC(){return Cx(Cr(),sn())}const rC=Xu,Ex=class extends rC{constructor(t,i,l){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=l}get element(){return Hs(this._hostTNode,this._hostLView)}get injector(){return new Gr(this._hostTNode,this._hostLView)}get parentInjector(){const t=uu(this._hostTNode,this._hostLView);if(Wc(t)){const i=Ya(t,this._hostLView),l=Xa(t);return new Gr(i[gn].data[l+8],i)}return new Gr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=yx(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-kr}createEmbeddedView(t,i,l){let x,b;"number"==typeof l?x=l:null!=l&&(x=l.index,b=l.injector);const H=t.createEmbeddedViewImpl(i||{},b,null);return this.insertImpl(H,x,qs(this._hostTNode,null)),H}createComponent(t,i,l,x,b){var N,K;const he=t&&!function Qt(e){return"function"==typeof e}(t);let we;if(he)we=i;else{const vn=i||{};we=vn.index,l=vn.injector,x=vn.projectableNodes,b=vn.environmentInjector||vn.ngModuleRef}const Re=he?t:new Dl(tr(t)),ut=l||this.parentInjector;if(!b&&null==Re.ngModule){const rn=(he?ut:this.parentInjector).get(fi,null);rn&&(b=rn)}const At=tr(null!==(N=Re.componentType)&&void 0!==N?N:{}),Vt=(null==At?void 0:At.id,null),en=null!==(K=null==Vt?void 0:Vt.firstChild)&&void 0!==K?K:null,dn=Re.create(ut,x,en,b);return this.insertImpl(dn.hostView,we,qs(this._hostTNode,Vt)),dn}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,l){const x=t._lView;if(function X1(e){return Jr(e[sr])}(x)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const K=x[sr],he=new Ex(K,K[Mr],K[sr]);he.detach(he.indexOf(t))}}const b=this._adjustIndex(i),N=this._lContainer;return dl(N,x,b,l),t.attachToViewContainerRef(),ji(id(N),b,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=yx(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),l=sl(this._lContainer,i);l&&(He(id(this._lContainer),i),Tu(l[gn],l))}detach(t){const i=this._adjustIndex(t,-1),l=sl(this._lContainer,i);return l&&null!=He(id(this._lContainer),i)?new pl(l):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function yx(e){return e[8]}function id(e){return e[8]||(e[8]=[])}function Cx(e,t){let i;const l=t[e.index];return Jr(l)?i=l:(i=$p(l,t,null,e),t[e.index]=i,Nu(t,i)),bx(i,t,e,l),new Ex(i,e,t)}let bx=function Ax(e,t,i,l){if(e[Wi])return;let x;x=8&i.type?Dr(l):function iC(e,t){const i=e[Jn],l=i.createComment(""),x=hi(t,e);return ms(i,Fu(i,x),l,function E8(e,t){return e.nextSibling(t)}(i,x),!1),l}(t,i),e[Wi]=x},od=()=>!1;class sd{constructor(t){this.queryList=t,this.matches=null}clone(){return new sd(this.queryList)}setDirty(){this.queryList.setDirty()}}class ad{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const l=null!==t.contentQueries?t.contentQueries[0]:i.length,x=[];for(let b=0;bt.trim())}(t):t}}class ld{constructor(t=[]){this.queries=t}elementStart(t,i){for(let l=0;l0)l.push(N[H/2]);else{const he=b[H+1],we=t[-K];for(let Re=kr;Re=0;l--){const x=e[l];x.hostVars=t+=x.hostVars,x.hostAttrs=Ge(x.hostAttrs,i=Ge(i,x.hostAttrs))}}(l)}function AC(e,t){for(const l in t.inputs){if(!t.inputs.hasOwnProperty(l)||e.inputs.hasOwnProperty(l))continue;const x=t.inputs[l];if(void 0!==x&&(e.inputs[l]=x,e.declaredInputs[l]=t.declaredInputs[l],null!==t.inputTransforms)){var i;const b=Array.isArray(x)?x[0]:x;if(!t.inputTransforms.hasOwnProperty(b))continue;null!==(i=e.inputTransforms)&&void 0!==i||(e.inputTransforms={}),e.inputTransforms[b]=t.inputTransforms[b]}}}function Zu(e){return e===Hn?{}:e===Yn?[]:e}function wC(e,t){const i=e.viewQuery;e.viewQuery=i?(l,x)=>{t(l,x),i(l,x)}:t}function _C(e,t){const i=e.contentQueries;e.contentQueries=i?(l,x,b)=>{t(l,x,b),i(l,x,b)}:t}function BC(e,t){const i=e.hostBindings;e.hostBindings=i?(l,x)=>{t(l,x),i(l,x)}:t}function Yx(e){const t=e.inputConfig,i={};for(const l in t)if(t.hasOwnProperty(l)){const x=t[l];Array.isArray(x)&&x[3]&&(i[l]=x[3])}e.inputTransforms=i}class Es{}class Zx{}function OC(e,t){return new xd(e,null!=t?t:null,[])}class xd extends Es{constructor(t,i,l){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new mx(this);const x=Wr(t);this._bootstrapComponents=Ti(x.bootstrap),this._r3Injector=ph(t,i,[{provide:Es,useValue:this},{provide:zu,useValue:this.componentFactoryResolver},...l],Sn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class vd extends Zx{constructor(t){super(),this.moduleType=t}create(t){return new xd(this.moduleType,t,[])}}class Qx extends Es{constructor(t){super(),this.componentFactoryResolver=new mx(this),this.instance=null;const i=new to([...t.providers,{provide:Es,useValue:this},{provide:zu,useValue:this.componentFactoryResolver}],t.parent||ko(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function md(e,t,i=null){return new Qx({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let na=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const l=this.taskId++;return this.pendingTasks.add(l),l}remove(l){this.pendingTasks.delete(l),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Ju(e){return!!gd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function gd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function po(e,t,i){return e[t]=i}function $r(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function ys(e,t,i,l){const x=$r(e,t,i);return $r(e,t+1,l)||x}function ra(e,t,i,l,x,b,N,H){const K=sn(),he=cr(),we=e+qn,Re=he.firstCreatePass?function VC(e,t,i,l,x,b,N,H,K){const he=t.consts,we=Js(t,e,4,N||null,so(he,H));L0(t,i,we,so(he,K)),iu(t,we);const Re=we.tView=k0(2,we,l,x,b,t.directiveRegistry,t.pipeRegistry,null,t.schemas,he,null);return null!==t.queries&&(t.queries.template(t,we),Re.queries=t.queries.embeddedTView(we)),we}(we,he,K,t,i,l,x,b,N):he.data[we];ao(Re,!1);const ut=Jx(he,K,Re,e);Ka()&&Pu(he,K,ut,Re),ui(ut,K);const At=$p(ut,K,ut,Re);return K[we]=At,Nu(K,At),function Dx(e,t,i){return od(e,t,i)}(At,Re,K),ls(Re)&&R0(he,K,Re),null!=N&&N0(K,Re,H),ra}let Jx=function qx(e,t,i,l){return lo(!0),t[Jn].createComment("")};function Bd(e,t,i,l){const x=sn();return $r(x,Ki(),t)&&(cr(),fo(Sr(),x,e,t,i,l)),Bd}function da(e,t,i,l){return $r(e,Ki(),i)?t+ct(i)+l:or}function fa(e,t,i,l,x,b){const H=ys(e,function wo(){return nr.lFrame.bindingIndex}(),i,x);return _o(2),H?t+ct(i)+l+ct(x)+b:or}function oc(e,t){return e<<17|t<<2}function Zo(e){return e>>17&32767}function Sd(e){return 2|e}function bs(e){return(131068&e)>>2}function Id(e,t){return-131069&e|t<<2}function Td(e){return 1|e}function Iv(e,t,i,l){const x=e[i+1],b=null===t;let N=l?Zo(x):bs(x),H=!1;for(;0!==N&&(!1===H||b);){const he=e[N+1];_2(e[N],t)&&(H=!0,e[N+1]=l?Td(he):Sd(he)),N=l?Zo(he):bs(he)}H&&(e[i+1]=l?Sd(x):Td(x))}function _2(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&kn(e,t)>=0}const Xr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tv(e){return e.substring(Xr.key,Xr.keyEnd)}function B2(e){return e.substring(Xr.value,Xr.valueEnd)}function Fv(e,t){const i=Xr.textEnd;return i===t?-1:(t=Xr.keyEnd=function T2(e,t,i){for(;t32;)t++;return t}(e,Xr.key=t,i),Ea(e,t,i))}function Pv(e,t){const i=Xr.textEnd;let l=Xr.key=Ea(e,t,i);return i===l?-1:(l=Xr.keyEnd=function F2(e,t,i){let l;for(;t=65&&(-33&l)<=90||l>=48&&l<=57);)t++;return t}(e,l,i),l=Rv(e,l,i),l=Xr.value=Ea(e,l,i),l=Xr.valueEnd=function P2(e,t,i){let l=-1,x=-1,b=-1,N=t,H=N;for(;N32&&(H=N),b=x,x=l,l=-33&K}return H}(e,l,i),Rv(e,l,i))}function Ov(e){Xr.key=0,Xr.keyEnd=0,Xr.value=0,Xr.valueEnd=0,Xr.textEnd=e.length}function Ea(e,t,i){for(;t=0;i=Pv(t,i))Uv(e,Tv(t),B2(t))}function vo(e,t){for(let i=function S2(e){return Ov(e),Fv(e,Ea(e,0,Xr.textEnd))}(t);i>=0;i=Fv(t,i))pn(e,Tv(t),!0)}function Yi(e,t,i,l){const x=cr(),b=_o(2);x.firstUpdatePass&&$v(x,null,b,l);const N=sn();if(i!==or&&$r(N,b,i)){const H=x.data[li()];if(Hv(H,l)&&!Lv(x,b)){let K=l?H.classesWithoutHost:H.stylesWithoutHost;null!==K&&(i=kt(K,i||"")),Pd(x,H,N,i,l)}else!function j2(e,t,i,l,x,b,N,H){x===or&&(x=Yn);let K=0,he=0,we=0=e.expandoStartIndex}function $v(e,t,i,l){const x=e.data;if(null===x[i+1]){const b=x[li()],N=Lv(e,i);Hv(b,l)&&null===t&&!N&&(t=!1),t=function N2(e,t,i,l){const x=function $c(e){const t=nr.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let b=l?t.residualClasses:t.residualStyles;if(null===x)0===(l?t.classBindings:t.styleBindings)&&(i=Il(i=Rd(null,e,t,i,l),t.attrs,l),b=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==x)if(i=Rd(x,e,t,i,l),null===b){let K=function k2(e,t,i){const l=i?t.classBindings:t.styleBindings;if(0!==bs(l))return e[Zo(l)]}(e,t,l);void 0!==K&&Array.isArray(K)&&(K=Rd(null,e,t,K[1],l),K=Il(K,t.attrs,l),function L2(e,t,i,l){e[Zo(i?t.classBindings:t.styleBindings)]=l}(e,t,l,K))}else b=function $2(e,t,i){let l;const x=t.directiveEnd;for(let b=1+t.directiveStylingLast;b0)&&(he=!0)):we=i,x)if(0!==K){const ut=Zo(e[H+1]);e[l+1]=oc(ut,H),0!==ut&&(e[ut+1]=Id(e[ut+1],l)),e[H+1]=function D2(e,t){return 131071&e|t<<17}(e[H+1],l)}else e[l+1]=oc(H,0),0!==H&&(e[H+1]=Id(e[H+1],l)),H=l;else e[l+1]=oc(K,0),0===H?H=l:e[K+1]=Id(e[K+1],l),K=l;he&&(e[l+1]=Sd(e[l+1])),Iv(e,we,l,!0),Iv(e,we,l,!1),function w2(e,t,i,l,x){const b=x?e.residualClasses:e.residualStyles;null!=b&&"string"==typeof t&&kn(b,t)>=0&&(i[l+1]=Td(i[l+1]))}(t,we,e,l,b),N=oc(H,K),b?t.classBindings=N:t.styleBindings=N}(x,b,t,i,N,l)}}function Rd(e,t,i,l,x){let b=null;const N=i.directiveEnd;let H=i.directiveStylingLast;for(-1===H?H=i.directiveStart:H++;H0;){const K=e[x],he=Array.isArray(K),we=he?K[1]:K,Re=null===we;let ut=i[x+1];ut===or&&(ut=Re?Yn:void 0);let At=Re?In(ut,l):we===l?ut:void 0;if(he&&!sc(At)&&(At=In(K,l)),sc(At)&&(H=At,N))return H;const Vt=e[x+1];x=N?Zo(Vt):bs(Vt)}if(null!==t){let K=b?t.residualClasses:t.residualStyles;null!=K&&(H=In(K,l))}return H}function sc(e){return void 0!==e}function Hv(e,t){return!!(e.flags&(t?8:16))}function zv(e,t,i){Yi(pn,vo,da(sn(),e,t,i),!0)}function ac(e,t,i,l){const x=sn(),b=cr(),N=qn+e,H=x[Jn],K=b.firstCreatePass?function db(e,t,i,l,x,b){const N=t.consts,K=Js(t,e,2,l,so(N,x));return L0(t,i,K,so(N,b)),null!==K.attrs&&Ku(K,K.attrs,!1),null!==K.mergedAttrs&&Ku(K,K.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,K),K}(N,b,x,t,i,l):b.data[N],he=Xv(b,x,K,H,t,e);x[N]=he;const we=ls(K);return ao(K,!0),_p(H,he,K),!function wl(e){return!(32&~e.flags)}(K)&&Ka()&&Pu(b,x,he,K),0===function Z1(){return nr.lFrame.elementDepthCount}()&&ui(he,x),function Q1(){nr.lFrame.elementDepthCount++}(),we&&(R0(b,x,K),O0(b,K,x)),null!==l&&N0(x,K),ac}function lc(){let e=Cr();Nc()?kc():(e=e.parent,ao(e,!1));const t=e;(function q1(e){return nr.skipHydrationRootTNode===e})(t)&&function rE(){nr.skipHydrationRootTNode=null}(),function J1(){nr.lFrame.elementDepthCount--}();const i=cr();return i.firstCreatePass&&(iu(i,e),La(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function gE(e){return!!(8&e.flags)}(t)&&Pd(i,t,sn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function EE(e){return!!(16&e.flags)}(t)&&Pd(i,t,sn(),t.stylesWithoutHost,!1),lc}function Ud(e,t,i,l){return ac(e,t,i,l),lc(),Ud}let Xv=(e,t,i,l,x,b)=>(lo(!0),Iu(l,x,function Xf(){return nr.lFrame.currentNamespace}()));function Vd(e,t,i){const l=sn(),x=cr(),b=e+qn,N=x.firstCreatePass?function pb(e,t,i,l,x){const b=t.consts,N=so(b,l),H=Js(t,e,8,"ng-container",N);return null!==N&&Ku(H,N,!0),L0(t,i,H,so(b,x)),null!==t.queries&&t.queries.elementStart(t,H),H}(b,x,l,t,i):x.data[b];ao(N,!0);const H=Yv(x,l,N,e);return l[b]=H,Ka()&&Pu(x,l,H,N),ui(H,l),ls(N)&&(R0(x,l,N),O0(x,N,l)),null!=i&&N0(l,N),Vd}function jd(){let e=Cr();const t=cr();return Nc()?kc():(e=e.parent,ao(e,!1)),t.firstCreatePass&&(iu(t,e),La(e)&&t.queries.elementEnd(e)),jd}function Hd(e,t,i){return Vd(e,t,i),jd(),Hd}let Yv=(e,t,i,l)=>(lo(!0),_0(t[Jn],""));function Zv(){return sn()}const Ds=void 0;var gb=["en",[["a","p"],["AM","PM"],Ds],[["AM","PM"],Ds,Ds],[["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"]],Ds,[["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"]],Ds,[["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}",Ds,"{1} 'at' {0}",Ds],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mb(e){const i=Math.floor(Math.abs(e)),l=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===l?1:5}];let ya={};function zd(e){const t=function Eb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=em(t);if(i)return i;const l=t.split("-")[0];if(i=em(l),i)return i;if("en"===l)return gb;throw new G(701,!1)}function qv(e){return zd(e)[Ca.PluralCase]}function em(e){return e in ya||(ya[e]=Dt.ng&&Dt.ng.common&&Dt.ng.common.locales&&Dt.ng.common.locales[e]),ya[e]}var Ca=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ca||{});const ba="en-US";let tm=ba;function Gd(e,t,i,l){const x=sn(),b=cr(),N=Cr();return Xd(b,x,x[Jn],N,e,t,l),Gd}function Xd(e,t,i,l,x,b,N){const H=ls(l),he=e.firstCreatePass&&jp(e),we=t[br],Re=Vp(t);let ut=!0;if(3&l.type||N){const en=hi(l,t),dn=N?N(en):en,vn=Re.length,rn=N?ar=>N(Dr(ar[l.index])):l.index;let Zn=null;if(!N&&H&&(Zn=function x6(e,t,i,l){const x=e.cleanup;if(null!=x)for(let b=0;bK?H[K]:null}"string"==typeof N&&(b+=2)}return null}(e,t,x,l.index)),null!==Zn)(Zn.__ngLastListenerFn__||Zn).__ngNextListenerFn__=b,Zn.__ngLastListenerFn__=b,ut=!1;else{b=Sm(l,t,we,b,!1);const ar=i.listen(dn,x,b);Re.push(b,ar),he&&he.push(x,rn,vn,vn+1)}}else b=Sm(l,t,we,b,!1);const At=l.outputs;let Vt;if(ut&&null!==At&&(Vt=At[x])){const en=Vt.length;if(en)for(let dn=0;dn-1?Si(e.index,t):t);let K=Bm(t,i,l,N),he=b.__ngNextListenerFn__;for(;he;)K=Bm(t,i,he,N)&&K,he=he.__ngNextListenerFn__;return x&&!1===K&&N.preventDefault(),K}}function Im(e=1){return function uE(e){return(nr.lFrame.contextLView=function Of(e,t){for(;e>0;)t=t[Do],e--;return t}(e,nr.lFrame.contextLView))[br]}(e)}function v6(e,t){let i=null;const l=function Eo(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let x=0;x(lo(!0),function w0(e,t){return e.createText(t)}(t[Jn],l));function Qd(e){return hc("",e,""),Qd}function hc(e,t,i){const l=sn(),x=da(l,e,t,i);return x!==or&&To(l,li(),x),hc}function Jd(e,t,i,l,x){const b=sn(),N=fa(b,e,t,i,l,x);return N!==or&&To(b,li(),N),Jd}function qd(e,t,i){Ox(t)&&(t=t());const l=sn();return $r(l,Ki(),t)&&Ci(cr(),Sr(),l,e,t,l[Jn],i,!1),qd}function cg(e,t){const i=Ox(e);return i&&e.set(t),i}function ef(e,t){const i=sn(),l=cr(),x=Cr();return Xd(l,i,i[Jn],x,e,t),ef}function tf(e,t,i,l,x){if(e=Ve(e),Array.isArray(e))for(let b=0;b>20;if(zi(e)||!e.multi){const At=new Ga(he,x,Qs),Vt=rf(K,t,x?we:we+ut,Re);-1===Vt?(Xc(lu(H,N),b,K),nf(b,e,t.length),t.push(K),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(At),N.push(At)):(i[Vt]=At,N[Vt]=At)}else{const At=rf(K,t,we+ut,Re),Vt=rf(K,t,we,we+ut),dn=Vt>=0&&i[Vt];if(x&&!dn||!x&&!(At>=0&&i[At])){Xc(lu(H,N),b,K);const vn=function R6(e,t,i,l,x){const b=new Ga(e,i,Qs);return b.multi=[],b.index=t,b.componentProviders=0,dg(b,x,l&&!i),b}(x?O6:P6,i.length,x,l,he);!x&&dn&&(i[Vt].providerFactory=vn),nf(b,e,t.length,0),t.push(K),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(vn),N.push(vn)}else nf(b,e,At>-1?At:Vt,dg(i[x?Vt:At],he,!x&&l));!x&&l&&dn&&i[Vt].componentProviders++}}}function nf(e,t,i,l){const x=zi(t),b=function Oa(e){return!!e.useClass}(t);if(x||b){const K=(b?Ve(t.useClass):t).prototype.ngOnDestroy;if(K){const he=e.destroyHooks||(e.destroyHooks=[]);if(!x&&t.multi){const we=he.indexOf(i);-1===we?he.push(i,[l,K]):he[we+1].push(l,K)}else he.push(i,K)}}}function dg(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function rf(e,t,i,l){for(let x=i;x{i.providersResolver=(l,x)=>function F6(e,t,i){const l=cr();if(l.firstCreatePass){const x=Bi(e);tf(i,l.data,l.blueprint,x,!0),tf(t,l.data,l.blueprint,x,!1)}}(l,x?x(e):e,t)}}let N6=(()=>{var e;class t{constructor(l){this._injector=l,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(l){if(!l.standalone)return null;if(!this.cachedInjectors.has(l)){const x=Ro(0,l.type),b=x.length>0?md([x],this._injector,`Standalone[${l.type.name}]`):null;this.cachedInjectors.set(l,b)}return this.cachedInjectors.get(l)}ngOnDestroy(){try{for(const l of this.cachedInjectors.values())null!==l&&l.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=bn({token:e,providedIn:"environment",factory:()=>new e(Ar(fi))}),t})();function hg(e){ho("NgStandalone"),e.getStandaloneInjector=t=>t.get(N6).getOrCreateStandaloneInjector(e)}function xg(e,t,i){const l=pi()+e,x=sn();return x[l]===or?po(x,l,i?t.call(i):t()):function Ml(e,t){return e[t]}(x,l)}function vg(e,t,i,l){return gg(sn(),pi(),e,t,i,l)}function mg(e,t,i,l,x){return function Eg(e,t,i,l,x,b,N){const H=t+i;return ys(e,H,x,b)?po(e,H+2,N?l.call(N,x,b):l(x,b)):kl(e,H+2)}(sn(),pi(),e,t,i,l,x)}function kl(e,t){const i=e[t];return i===or?void 0:i}function gg(e,t,i,l,x,b){const N=t+i;return $r(e,N,x)?po(e,N+1,b?l.call(b,x):l(x)):kl(e,N+1)}function Dg(e,t){const i=cr();let l;const x=e+qn;var b;i.firstCreatePass?(l=function K6(e,t){if(t)for(let i=t.length-1;i>=0;i--){const l=t[i];if(e===l.name)return l}}(t,i.pipeRegistry),i.data[x]=l,l.onDestroy&&(null!==(b=i.destroyHooks)&&void 0!==b?b:i.destroyHooks=[]).push(x,l.onDestroy)):l=i.data[x];const N=l.factory||(l.factory=ei(l.type)),K=On(Qs);try{const he=au(!1),we=N();return au(he),function y6(e,t,i,l){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=l}(i,sn(),x,we),we}finally{On(K)}}function Ag(e,t,i){const l=e+qn,x=sn(),b=function ks(e,t){return e[t]}(x,l);return function Ll(e,t){return e[gn].data[t].pure}(x,l)?gg(x,pi(),t,b.transform,i,b):b.transform(i)}class Ug{constructor(t){this.full=t;const i=t.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}let Vg=(()=>{var e;class t{log(l){console.log(l)}warn(l){console.warn(l)}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Wg=new Lt(""),Kg=new Lt("");let hf,zD=(()=>{var e;class t{constructor(l,x,b){this._ngZone=l,this.registry=x,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,hf||(function WD(e){hf=e}(b),b.addToWindow(x)),this._watchAngularEvents(),l.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Hr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let l=this._callbacks.pop();clearTimeout(l.timeoutId),l.doneCb()}});else{let l=this.getPendingTasks();this._callbacks=this._callbacks.filter(x=>!x.updateCb||!x.updateCb(l)||(clearTimeout(x.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(l=>({source:l.source,creationLocation:l.creationLocation,data:l.data})):[]}addCallback(l,x,b){let N=-1;x&&x>0&&(N=setTimeout(()=>{this._callbacks=this._callbacks.filter(H=>H.timeoutId!==N),l()},x)),this._callbacks.push({doneCb:l,timeoutId:N,updateCb:b})}whenStable(l,x,b){if(b&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(l,x,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(l){this.registry.registerApplication(l,this)}unregisterApplication(l){this.registry.unregisterApplication(l)}findProviders(l,x,b){return[]}}return(e=t).\u0275fac=function(l){return new(l||e)(Ar(Hr),Ar(Gg),Ar(Kg))},e.\u0275prov=bn({token:e,factory:e.\u0275fac}),t})(),Gg=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(l,x){this._applications.set(l,x)}unregisterApplication(l){this._applications.delete(l)}unregisterAllApplications(){this._applications.clear()}getTestability(l){return this._applications.get(l)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(l,x=!0){var b,N;return null!==(b=null===(N=hf)||void 0===N?void 0:N.findTestabilityInTree(this,l,x))&&void 0!==b?b:null}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function pf(e){return!!e&&"function"==typeof e.then}function Xg(e){return!!e&&"function"==typeof e.subscribe}const Yg=new Lt("");let xf=(()=>{var e;class t{constructor(){var l;this.initialized=!1,this.done=!1,this.donePromise=new Promise((x,b)=>{this.resolve=x,this.reject=b}),this.appInits=null!==(l=jn(Yg,{optional:!0}))&&void 0!==l?l:[]}runInitializers(){if(this.initialized)return;const l=[];for(const b of this.appInits){const N=b();if(pf(N))l.push(N);else if(Xg(N)){const H=new Promise((K,he)=>{N.subscribe({complete:K,error:he})});l.push(H)}}const x=()=>{this.done=!0,this.resolve()};Promise.all(l).then(()=>{x()}).catch(b=>{this.reject(b)}),0===l.length&&x(),this.initialized=!0}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const vf=new Lt("");function Jg(e,t){return Array.isArray(t)?t.reduce(Jg,e):{...e,...t}}let Qo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=jn(vh),this.afterRenderEffectManager=jn(yl),this.externalTestViews=new Set,this.beforeRender=new Oe.B,this.afterTick=new Oe.B,this.componentTypes=[],this.components=[],this.isStable=jn(na).hasPendingTasks.pipe((0,Se.T)(l=>!l)),this._injector=jn(fi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(l,x){const b=l instanceof rx;if(!this._injector.get(xf).done)throw!b&&ai(l),new G(405,!1);let H;H=b?l:this._injector.get(zu).resolveComponentFactory(l),this.componentTypes.push(H.componentType);const K=function KD(e){return e.isBoundToModule}(H)?void 0:this._injector.get(Es),we=H.create(Ii.NULL,[],x||H.selector,K),Re=we.location.nativeElement,ut=we.injector.get(Wg,null);return null==ut||ut.registerApplication(Re),we.onDestroy(()=>{this.detachView(we.hostView),mc(this.components,we),null==ut||ut.unregisterApplication(Re)}),this._loadComponent(we),we}tick(){this._tick(!0)}_tick(l){if(this._runningTick)throw new G(101,!1);const x=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(l)}catch(b){this.internalErrorHandler(b)}finally{this.afterTick.next(),this._runningTick=!1,C(x)}}detectChangesInAttachedViews(l){let x=0;const b=this.afterRenderEffectManager;for(;;){if(x===Gp)throw new G(103,!1);if(l){const N=0===x;this.beforeRender.next(N);for(let{_lView:H,notifyErrorHandler:K}of this._views)XD(H,N,K)}if(x++,b.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:N})=>mf(N))&&(b.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:N})=>mf(N))))break}}attachView(l){const x=l;this._views.push(x),x.attachToAppRef(this)}detachView(l){const x=l;mc(this._views,x),x.detachFromAppRef()}_loadComponent(l){this.attachView(l.hostView),this.tick(),this.components.push(l);const x=this._injector.get(vf,[]);[...this._bootstrapListeners,...x].forEach(b=>b(l))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(l=>l()),this._views.slice().forEach(l=>l.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(l){return this._destroyListeners.push(l),()=>mc(this._destroyListeners,l)}destroy(){if(this._destroyed)throw new G(406,!1);const l=this._injector;l.destroy&&!l.destroyed&&l.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function mc(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function XD(e,t,i){!t&&!mf(e)||function YD(e,t,i){let l;i?(l=0,e[Rn]|=1024):l=64&e[Rn]?0:1,Lu(e,t,l)}(e,i,t)}function mf(e){return Pc(e)}class ZD{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let QD=(()=>{var e;class t{compileModuleSync(l){return new vd(l)}compileModuleAsync(l){return Promise.resolve(this.compileModuleSync(l))}compileModuleAndAllComponentsSync(l){const x=this.compileModuleSync(l),N=Ti(Wr(l).declarations).reduce((H,K)=>{const he=tr(K);return he&&H.push(new Dl(he)),H},[]);return new ZD(x,N)}compileModuleAndAllComponentsAsync(l){return Promise.resolve(this.compileModuleAndAllComponentsSync(l))}clearCache(){}clearCacheFor(l){}getModuleId(l){}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),eA=(()=>{var e;class t{constructor(){this.zone=jn(Hr),this.applicationRef=jn(Qo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var l;null===(l=this._onMicrotaskEmptySubscription)||void 0===l||l.unsubscribe()}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function tA(){const e=jn(Hr),t=jn(Bo);return i=>e.runOutsideAngular(()=>t.handleError(i))}let rA=(()=>{var e;class t{constructor(){this.subscription=new pe.yU,this.initialized=!1,this.zone=jn(Hr),this.pendingTasks=jn(na)}initialize(){if(this.initialized)return;this.initialized=!0;let l=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(l=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Hr.assertNotInAngularZone(),queueMicrotask(()=>{null!==l&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(l),l=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{var x;Hr.assertInAngularZone(),null!==(x=l)&&void 0!==x||(l=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(l){return new(l||e)},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const gc=new Lt("",{providedIn:"root",factory:()=>jn(gc,tn.Optional|tn.SkipSelf)||function iA(){return typeof $localize<"u"&&$localize.locale||ba}()}),oA=new Lt("",{providedIn:"root",factory:()=>"USD"}),gf=new Lt("");let n1=(()=>{var e;class t{constructor(l){this._injector=l,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(l,x){const b=function H9(e="zone.js",t){return"noop"===e?new cx:"zone.js"===e?new Hr(t):e}(null==x?void 0:x.ngZone,function t1(e){var t,i;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(i=null==e?void 0:e.runCoalescing)&&void 0!==i&&i}}({eventCoalescing:null==x?void 0:x.ngZoneEventCoalescing,runCoalescing:null==x?void 0:x.ngZoneRunCoalescing}));return b.run(()=>{const N=function RC(e,t,i){return new xd(e,t,i)}(l.moduleType,this.injector,function e1(e){return[{provide:Hr,useFactory:e},{provide:ti,multi:!0,useFactory:()=>{const t=jn(eA,{optional:!0});return()=>t.initialize()}},{provide:ti,multi:!0,useFactory:()=>{const t=jn(rA);return()=>{t.initialize()}}},{provide:vh,useFactory:tA}]}(()=>b)),H=N.injector.get(Bo,null);return b.runOutsideAngular(()=>{const K=b.onError.subscribe({next:he=>{H.handleError(he)}});N.onDestroy(()=>{mc(this._modules,N),K.unsubscribe()})}),function Qg(e,t,i){try{const l=i();return pf(l)?l.catch(x=>{throw t.runOutsideAngular(()=>e.handleError(x)),x}):l}catch(l){throw t.runOutsideAngular(()=>e.handleError(l)),l}}(H,b,()=>{const K=N.injector.get(xf);return K.runInitializers(),K.donePromise.then(()=>(function nm(e){"string"==typeof e&&(tm=e.toLowerCase().replace(/_/g,"-"))}(N.injector.get(gc,ba)||ba),this._moduleDoBootstrap(N),N))})})}bootstrapModule(l,x=[]){const b=Jg({},x);return function qD(e,t,i){const l=new vd(i);return Promise.resolve(l)}(0,0,l).then(N=>this.bootstrapModuleFactory(N,b))}_moduleDoBootstrap(l){const x=l.injector.get(Qo);if(l._bootstrapComponents.length>0)l._bootstrapComponents.forEach(b=>x.bootstrap(b));else{if(!l.instance.ngDoBootstrap)throw new G(-403,!1);l.instance.ngDoBootstrap(x)}this._modules.push(l)}onDestroy(l){this._destroyListeners.push(l)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new G(404,!1);this._modules.slice().forEach(x=>x.destroy()),this._destroyListeners.forEach(x=>x());const l=this._injector.get(gf,null);l&&(l.forEach(x=>x()),l.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(l){return new(l||e)(Ar(Ii))},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Jo=null;const r1=new Lt("");function i1(e,t,i=[]){const l=`Platform: ${t}`,x=new Lt(l);return(b=[])=>{let N=Ef();if(!N||N.injector.get(r1,!1)){const H=[...i,...b,{provide:x,useValue:!0}];e?e(H):function aA(e){if(Jo&&!Jo.get(r1,!1))throw new G(400,!1);(function Zg(){!function f(e){v=e}(()=>{throw new G(600,!1)})})(),Jo=e;const t=e.get(n1);(function s1(e){const t=e.get($h,null);null==t||t.forEach(i=>i())})(e)}(function o1(e=[],t){return Ii.create({name:t,providers:[{provide:No,useValue:"platform"},{provide:gf,useValue:new Set([()=>Jo=null])},...e]})}(H,l))}return function lA(e){const t=Ef();if(!t)throw new G(401,!1);return t}()}}function Ef(){var e,t;return null!==(e=null===(t=Jo)||void 0===t?void 0:t.get(n1))&&void 0!==e?e:null}function cA(){}let l1=(()=>{class t{}return t.__NG_ELEMENT_ID__=dA,t})();function dA(e){return function fA(e,t,i){if(Ho(e)&&!i){const l=Si(e.index,t);return new pl(l,l)}return 47&e.type?new pl(t[Tr],t):null}(Cr(),sn(),!(16&~e))}class f1{constructor(){}supports(t){return Ju(t)}create(t){return new mA(t)}}const vA=(e,t)=>t;class mA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||vA}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,l=this._removalsHead,x=0,b=null;for(;i||l;){const N=!l||i&&i.currentIndex{N=this._trackByFn(x,H),null!==i&&Object.is(i.trackById,N)?(l&&(i=this._verifyReinsertion(i,H,N,x)),Object.is(i.item,H)||this._addIdentityChange(i,H)):(i=this._mismatch(i,H,N,x),l=!0),i=i._next,x++}),this.length=x;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,l,x){let b;return null===t?b=this._itTail:(b=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,b,x)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(l,x))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,b,x)):t=this._addAfter(new gA(i,l),b,x),t}_verifyReinsertion(t,i,l,x){let b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==b?t=this._reinsertAfter(b,t._prev,x):t.currentIndex!=x&&(t.currentIndex=x,this._addToMoves(t,x)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const x=t._prevRemoved,b=t._nextRemoved;return null===x?this._removalsHead=b:x._nextRemoved=b,null===b?this._removalsTail=x:b._prevRemoved=x,this._insertAfter(t,i,l),this._addToMoves(t,l),t}_moveAfter(t,i,l){return this._unlink(t),this._insertAfter(t,i,l),this._addToMoves(t,l),t}_addAfter(t,i,l){return this._insertAfter(t,i,l),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,l){const x=null===i?this._itHead:i._next;return t._next=x,t._prev=i,null===x?this._itTail=t:x._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new h1),this._linkedRecords.put(t),t.currentIndex=l,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,l=t._next;return null===i?this._itHead=l:i._next=l,null===l?this._itTail=i:l._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new h1),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gA{constructor(t,i){this.item=t,this.trackById=i,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 EA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===i||i<=l.currentIndex)&&Object.is(l.trackById,t))return l;return null}remove(t){const i=t._prevDup,l=t._nextDup;return null===i?this._head=l:i._nextDup=l,null===l?this._tail=i:l._prevDup=i,null===this._head}}class h1{constructor(){this.map=new Map}put(t){const i=t.trackById;let l=this.map.get(i);l||(l=new EA,this.map.set(i,l)),l.add(t)}get(t,i){const x=this.map.get(t);return x?x.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function p1(e,t,i){const l=e.previousIndex;if(null===l)return l;let x=0;return i&&l{if(i&&i.key===x)this._maybeAddToChanges(i,l),this._appendAfter=i,i=i._next;else{const b=this._getOrCreateRecordForKey(x,l);i=this._insertBeforeOrAppend(i,b)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let l=i;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const l=t._prev;return i._next=t,i._prev=l,t._prev=i,l&&(l._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const x=this._records.get(t);this._maybeAddToChanges(x,i);const b=x._prev,N=x._next;return b&&(b._next=N),N&&(N._prev=b),x._next=null,x._prev=null,x}const l=new CA(t);return this._records.set(t,l),l.currentValue=i,this._addToAdditions(l),l}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(l=>i(t[l],l))}}class CA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function v1(){return new Af([new f1])}let Af=(()=>{var e;class t{constructor(l){this.factories=l}static create(l,x){if(null!=x){const b=x.factories.slice();l=l.concat(b)}return new t(l)}static extend(l){return{provide:t,useFactory:x=>t.create(l,x||v1()),deps:[[t,new wi,new Qr]]}}find(l){const x=this.factories.find(b=>b.supports(l));if(null!=x)return x;throw new G(901,!1)}}return(e=t).\u0275prov=bn({token:e,providedIn:"root",factory:v1}),t})();function m1(){return new Mf([new x1])}let Mf=(()=>{var e;class t{constructor(l){this.factories=l}static create(l,x){if(x){const b=x.factories.slice();l=l.concat(b)}return new t(l)}static extend(l){return{provide:t,useFactory:x=>t.create(l,x||m1()),deps:[[t,new wi,new Qr]]}}find(l){const x=this.factories.find(b=>b.supports(l));if(x)return x;throw new G(901,!1)}}return(e=t).\u0275prov=bn({token:e,providedIn:"root",factory:m1}),t})();const AA=i1(null,"core",[]);let MA=(()=>{var e;class t{constructor(l){}}return(e=t).\u0275fac=function(l){return new(l||e)(Ar(Qo))},e.\u0275mod=es({type:e}),e.\u0275inj=Vn({}),t})();function e3(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function n3(e){const t=C(null);try{return e()}finally{C(t)}}function l3(e,t){const i=tr(e),l=t.elementInjector||ko();return new Dl(i).create(l,t.projectableNodes,t.hostElement,t.environmentInjector)}function u3(e){const t=tr(e);if(!t)return null;const i=new Dl(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(Ce,ee,E)=>{"use strict";E.d(ee,{BC:()=>ne,VZ:()=>ei,X1:()=>Ei,YN:()=>qo,cz:()=>k,kq:()=>w,vO:()=>pe,vS:()=>xt,zX:()=>wi});var a=E(4438),S=E(177),p=E(6648),R=E(7468),c=E(6354);let D=(()=>{var be;class ce{constructor(ge,ot){this._renderer=ge,this._elementRef=ot,this.onChange=mn=>{},this.onTouched=()=>{}}setProperty(ge,ot){this._renderer.setProperty(this._elementRef.nativeElement,ge,ot)}registerOnTouched(ge){this.onTouched=ge}registerOnChange(ge){this.onChange=ge}setDisabledState(ge){this.setProperty("disabled",ge)}}return(be=ce).\u0275fac=function(ge){return new(ge||be)(a.rXU(a.sFG),a.rXU(a.aKT))},be.\u0275dir=a.FsC({type:be}),ce})(),C=(()=>{var be;class ce extends D{}return(be=ce).\u0275fac=(()=>{let Ge;return function(ot){return(Ge||(Ge=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,features:[a.Vt3]}),ce})();const w=new a.nKC(""),g={provide:w,useExisting:(0,a.Rfq)(()=>B),multi:!0},A=new a.nKC("");let B=(()=>{var be;class ce extends D{constructor(ge,ot,mn){super(ge,ot),this._compositionMode=mn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function F(){const be=(0,S.QT)()?(0,S.QT)().getUserAgent():"";return/android (\d+)/.test(be.toLowerCase())}())}writeValue(ge){this.setProperty("value",null==ge?"":ge)}_handleInput(ge){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ge)}_compositionStart(){this._composing=!0}_compositionEnd(ge){this._composing=!1,this._compositionMode&&this.onChange(ge)}}return(be=ce).\u0275fac=function(ge){return new(ge||be)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(A,8))},be.\u0275dir=a.FsC({type:be,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(ge,ot){1&ge&&a.bIt("input",function(zn){return ot._handleInput(zn.target.value)})("blur",function(){return ot.onTouched()})("compositionstart",function(){return ot._compositionStart()})("compositionend",function(zn){return ot._compositionEnd(zn.target.value)})},features:[a.Jv_([g]),a.Vt3]}),ce})();function P(be){return null==be||("string"==typeof be||Array.isArray(be))&&0===be.length}const k=new a.nKC(""),M=new a.nKC("");function o(be){return null}function u(be){return null!=be}function s(be){return(0,a.jNT)(be)?(0,p.H)(be):be}function h(be){let ce={};return be.forEach(Ge=>{ce=null!=Ge?{...ce,...Ge}:ce}),0===Object.keys(ce).length?null:ce}function v(be,ce){return ce.map(Ge=>Ge(be))}function f(be){return be.map(ce=>function y(be){return!be.validate}(ce)?ce:Ge=>ce.validate(Ge))}function d(be){return null!=be?function r(be){if(!be)return null;const ce=be.filter(u);return 0==ce.length?null:function(Ge){return h(v(Ge,ce))}}(f(be)):null}function I(be){return null!=be?function L(be){if(!be)return null;const ce=be.filter(u);return 0==ce.length?null:function(Ge){const ge=v(Ge,ce).map(s);return(0,R.p)(ge).pipe((0,c.T)(h))}}(f(be)):null}function V(be,ce){return null===be?[ce]:Array.isArray(be)?[...be,ce]:[be,ce]}function ve(be){return be?Array.isArray(be)?be:[be]:[]}function Ae(be,ce){return Array.isArray(be)?be.includes(ce):be===ce}function Q(be,ce){const Ge=ve(ce);return ve(be).forEach(ot=>{Ae(Ge,ot)||Ge.push(ot)}),Ge}function ae(be,ce){return ve(ce).filter(Ge=>!Ae(be,Ge))}class tt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ce){this._rawValidators=ce||[],this._composedValidatorFn=d(this._rawValidators)}_setAsyncValidators(ce){this._rawAsyncValidators=ce||[],this._composedAsyncValidatorFn=I(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ce){this._onDestroyCallbacks.push(ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ce=>ce()),this._onDestroyCallbacks=[]}reset(ce=void 0){this.control&&this.control.reset(ce)}hasError(ce,Ge){return!!this.control&&this.control.hasError(ce,Ge)}getError(ce,Ge){return this.control?this.control.getError(ce,Ge):null}}class Oe extends tt{get formDirective(){return null}get path(){return null}}class pe extends tt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ie{constructor(ce){this._cd=ce}get isTouched(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.touched)}get isUntouched(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.untouched)}get isPristine(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.pristine)}get isDirty(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.dirty)}get isValid(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.valid)}get isInvalid(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.invalid)}get isPending(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.pending)}get isSubmitted(){var ce;return!(null===(ce=this._cd)||void 0===ce||!ce.submitted)}}let ne=(()=>{var be;class ce extends Ie{constructor(ge){super(ge)}}return(be=ce).\u0275fac=function(ge){return new(ge||be)(a.rXU(pe,2))},be.\u0275dir=a.FsC({type:be,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ge,ot){2&ge&&a.AVh("ng-untouched",ot.isUntouched)("ng-touched",ot.isTouched)("ng-pristine",ot.isPristine)("ng-dirty",ot.isDirty)("ng-valid",ot.isValid)("ng-invalid",ot.isInvalid)("ng-pending",ot.isPending)},features:[a.Vt3]}),ce})();const St="VALID",dt="INVALID",Sn="PENDING",kt="DISABLED";function _e(be){return null!=be&&!Array.isArray(be)&&"object"==typeof be}class Ze{constructor(ce,Ge){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ce),this._assignAsyncValidators(Ge)}get validator(){return this._composedValidatorFn}set validator(ce){this._rawValidators=this._composedValidatorFn=ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=ce}get parent(){return this._parent}get valid(){return this.status===St}get invalid(){return this.status===dt}get pending(){return this.status==Sn}get disabled(){return this.status===kt}get enabled(){return this.status!==kt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ce){this._assignValidators(ce)}setAsyncValidators(ce){this._assignAsyncValidators(ce)}addValidators(ce){this.setValidators(Q(ce,this._rawValidators))}addAsyncValidators(ce){this.setAsyncValidators(Q(ce,this._rawAsyncValidators))}removeValidators(ce){this.setValidators(ae(ce,this._rawValidators))}removeAsyncValidators(ce){this.setAsyncValidators(ae(ce,this._rawAsyncValidators))}hasValidator(ce){return Ae(this._rawValidators,ce)}hasAsyncValidator(ce){return Ae(this._rawAsyncValidators,ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ce={}){this.touched=!0,this._parent&&!ce.onlySelf&&this._parent.markAsTouched(ce)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ce=>ce.markAllAsTouched())}markAsUntouched(ce={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ge=>{Ge.markAsUntouched({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}markAsDirty(ce={}){this.pristine=!1,this._parent&&!ce.onlySelf&&this._parent.markAsDirty(ce)}markAsPristine(ce={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ge=>{Ge.markAsPristine({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}markAsPending(ce={}){this.status=Sn,!1!==ce.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ce.onlySelf&&this._parent.markAsPending(ce)}disable(ce={}){const Ge=this._parentMarkedDirty(ce.onlySelf);this.status=kt,this.errors=null,this._forEachChild(ge=>{ge.disable({...ce,onlySelf:!0})}),this._updateValue(),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ce,skipPristineCheck:Ge}),this._onDisabledChange.forEach(ge=>ge(!0))}enable(ce={}){const Ge=this._parentMarkedDirty(ce.onlySelf);this.status=St,this._forEachChild(ge=>{ge.enable({...ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent}),this._updateAncestors({...ce,skipPristineCheck:Ge}),this._onDisabledChange.forEach(ge=>ge(!1))}_updateAncestors(ce){this._parent&&!ce.onlySelf&&(this._parent.updateValueAndValidity(ce),ce.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ce){this._parent=ce}getRawValue(){return this.value}updateValueAndValidity(ce={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===St||this.status===Sn)&&this._runAsyncValidator(ce.emitEvent)),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ce.onlySelf&&this._parent.updateValueAndValidity(ce)}_updateTreeValidity(ce={emitEvent:!0}){this._forEachChild(Ge=>Ge._updateTreeValidity(ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?kt:St}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ce){if(this.asyncValidator){this.status=Sn,this._hasOwnPendingAsyncValidator=!0;const Ge=s(this.asyncValidator(this));this._asyncValidationSubscription=Ge.subscribe(ge=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ge,{emitEvent:ce})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ce,Ge={}){this.errors=ce,this._updateControlsErrors(!1!==Ge.emitEvent)}get(ce){let Ge=ce;return null==Ge||(Array.isArray(Ge)||(Ge=Ge.split(".")),0===Ge.length)?null:Ge.reduce((ge,ot)=>ge&&ge._find(ot),this)}getError(ce,Ge){const ge=Ge?this.get(Ge):this;return ge&&ge.errors?ge.errors[ce]:null}hasError(ce,Ge){return!!this.getError(ce,Ge)}get root(){let ce=this;for(;ce._parent;)ce=ce._parent;return ce}_updateControlsErrors(ce){this.status=this._calculateStatus(),ce&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ce)}_initObservables(){this.valueChanges=new a.bkB,this.statusChanges=new a.bkB}_calculateStatus(){return this._allControlsDisabled()?kt:this.errors?dt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Sn)?Sn:this._anyControlsHaveStatus(dt)?dt:St}_anyControlsHaveStatus(ce){return this._anyControls(Ge=>Ge.status===ce)}_anyControlsDirty(){return this._anyControls(ce=>ce.dirty)}_anyControlsTouched(){return this._anyControls(ce=>ce.touched)}_updatePristine(ce={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}_updateTouched(ce={}){this.touched=this._anyControlsTouched(),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}_registerOnCollectionChange(ce){this._onCollectionChange=ce}_setUpdateStrategy(ce){_e(ce)&&null!=ce.updateOn&&(this._updateOn=ce.updateOn)}_parentMarkedDirty(ce){return!ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ce){return null}_assignValidators(ce){this._rawValidators=Array.isArray(ce)?ce.slice():ce,this._composedValidatorFn=function Un(be){return Array.isArray(be)?d(be):be||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function Ve(be){return Array.isArray(be)?I(be):be||null}(this._rawAsyncValidators)}}const Je=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>at}),at="always";function yt(be,ce,Ge=at){var ge,ot;(function Rt(be,ce){const Ge=function q(be){return be._rawValidators}(be);null!==ce.validator?be.setValidators(V(Ge,ce.validator)):"function"==typeof Ge&&be.setValidators([Ge]);const ge=function oe(be){return be._rawAsyncValidators}(be);null!==ce.asyncValidator?be.setAsyncValidators(V(ge,ce.asyncValidator)):"function"==typeof ge&&be.setAsyncValidators([ge]);const ot=()=>be.updateValueAndValidity();Wt(ce._rawValidators,ot),Wt(ce._rawAsyncValidators,ot)})(be,ce),ce.valueAccessor.writeValue(be.value),(be.disabled||"always"===Ge)&&(null===(ge=(ot=ce.valueAccessor).setDisabledState)||void 0===ge||ge.call(ot,be.disabled)),function An(be,ce){ce.valueAccessor.registerOnChange(Ge=>{be._pendingValue=Ge,be._pendingChange=!0,be._pendingDirty=!0,"change"===be.updateOn&&bn(be,ce)})}(be,ce),function Wn(be,ce){const Ge=(ge,ot)=>{ce.valueAccessor.writeValue(ge),ot&&ce.viewToModelUpdate(ge)};be.registerOnChange(Ge),ce._registerOnDestroy(()=>{be._unregisterOnChange(Ge)})}(be,ce),function wn(be,ce){ce.valueAccessor.registerOnTouched(()=>{be._pendingTouched=!0,"blur"===be.updateOn&&be._pendingChange&&bn(be,ce),"submit"!==be.updateOn&&be.markAsTouched()})}(be,ce),function Ot(be,ce){if(ce.valueAccessor.setDisabledState){const Ge=ge=>{ce.valueAccessor.setDisabledState(ge)};be.registerOnDisabledChange(Ge),ce._registerOnDestroy(()=>{be._unregisterOnDisabledChange(Ge)})}}(be,ce)}function Wt(be,ce){be.forEach(Ge=>{Ge.registerOnValidatorChange&&Ge.registerOnValidatorChange(ce)})}function bn(be,ce){be._pendingDirty&&be.markAsDirty(),be.setValue(be._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(be._pendingValue),be._pendingChange=!1}function Xn(be,ce){const Ge=be.indexOf(ce);Ge>-1&&be.splice(Ge,1)}function mr(be){return"object"==typeof be&&null!==be&&2===Object.keys(be).length&&"value"in be&&"disabled"in be}Promise.resolve();const Ke=class extends Ze{constructor(ce=null,Ge,ge){super(function Nt(be){return(_e(be)?be.validators:be)||null}(Ge),function Ut(be,ce){return(_e(ce)?ce.asyncValidators:be)||null}(ge,Ge)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ce),this._setUpdateStrategy(Ge),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_e(Ge)&&(Ge.nonNullable||Ge.initialValueIsDefault)&&(this.defaultValue=mr(ce)?ce.value:ce)}setValue(ce,Ge={}){this.value=this._pendingValue=ce,this._onChange.length&&!1!==Ge.emitModelToViewChange&&this._onChange.forEach(ge=>ge(this.value,!1!==Ge.emitViewToModelChange)),this.updateValueAndValidity(Ge)}patchValue(ce,Ge={}){this.setValue(ce,Ge)}reset(ce=this.defaultValue,Ge={}){this._applyFormState(ce),this.markAsPristine(Ge),this.markAsUntouched(Ge),this.setValue(this.value,Ge),this._pendingChange=!1}_updateValue(){}_anyControls(ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ce){this._onChange.push(ce)}_unregisterOnChange(ce){Xn(this._onChange,ce)}registerOnDisabledChange(ce){this._onDisabledChange.push(ce)}_unregisterOnDisabledChange(ce){Xn(this._onDisabledChange,ce)}_forEachChild(ce){}_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(ce){mr(ce)?(this.value=this._pendingValue=ce.value,ce.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ce}},We={provide:pe,useExisting:(0,a.Rfq)(()=>xt)},ct=Promise.resolve();let xt=(()=>{var be;class ce extends pe{constructor(ge,ot,mn,zn,Pr,di){super(),this._changeDetectorRef=Pr,this.callSetDisabledState=di,this.control=new Ke,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=ge,this._setValidators(ot),this._setAsyncValidators(mn),this.valueAccessor=function Lt(be,ce){if(!ce)return null;let Ge,ge,ot;return Array.isArray(ce),ce.forEach(mn=>{mn.constructor===B?Ge=mn:function Tt(be){return Object.getPrototypeOf(be.constructor)===C}(mn)?ge=mn:ot=mn}),ot||ge||Ge||null}(0,zn)}ngOnChanges(ge){if(this._checkForErrors(),!this._registered||"name"in ge){if(this._registered&&(this._checkName(),this.formDirective)){const ot=ge.name.previousValue;this.formDirective.removeControl({name:ot,path:this._getPath(ot)})}this._setUpControl()}"isDisabled"in ge&&this._updateDisabled(ge),function lt(be,ce){if(!be.hasOwnProperty("model"))return!1;const Ge=be.model;return!!Ge.isFirstChange()||!Object.is(ce,Ge.currentValue)}(ge,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}_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(){yt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ge){ct.then(()=>{var ot;this.control.setValue(ge,{emitViewToModelChange:!1}),null===(ot=this._changeDetectorRef)||void 0===ot||ot.markForCheck()})}_updateDisabled(ge){const ot=ge.isDisabled.currentValue,mn=0!==ot&&(0,a.L39)(ot);ct.then(()=>{var zn;mn&&!this.control.disabled?this.control.disable():!mn&&this.control.disabled&&this.control.enable(),null===(zn=this._changeDetectorRef)||void 0===zn||zn.markForCheck()})}_getPath(ge){return this._parent?function Jt(be,ce){return[...ce.path,be]}(ge,this._parent):[ge]}}return(be=ce).\u0275fac=function(ge){return new(ge||be)(a.rXU(Oe,9),a.rXU(k,10),a.rXU(M,10),a.rXU(w,10),a.rXU(a.gRc,8),a.rXU(Je,8))},be.\u0275dir=a.FsC({type:be,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[a.Mj6.None,"disabled","isDisabled"],model:[a.Mj6.None,"ngModel","model"],options:[a.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.Jv_([We]),a.Vt3,a.OA$]}),ce})();const On=new a.nKC("");function Vi(be){return"number"==typeof be?be:parseFloat(be)}let Qr=(()=>{var be;class ce{constructor(){this._validator=o}ngOnChanges(ge){if(this.inputName in ge){const ot=this.normalizeInput(ge[this.inputName].currentValue);this._enabled=this.enabled(ot),this._validator=this._enabled?this.createValidator(ot):o,this._onChange&&this._onChange()}}validate(ge){return this._validator(ge)}registerOnValidatorChange(ge){this._onChange=ge}enabled(ge){return null!=ge}}return(be=ce).\u0275fac=function(ge){return new(ge||be)},be.\u0275dir=a.FsC({type:be,features:[a.OA$]}),ce})();const gi={provide:k,useExisting:(0,a.Rfq)(()=>wi),multi:!0};let wi=(()=>{var be;class ce extends Qr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ge=>Vi(ge),this.createValidator=ge=>function W(be){return ce=>{if(P(ce.value)||P(be))return null;const Ge=parseFloat(ce.value);return!isNaN(Ge)&&Ge>be?{max:{max:be,actual:ce.value}}:null}}(ge)}}return(be=ce).\u0275fac=(()=>{let Ge;return function(ot){return(Ge||(Ge=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ge,ot){2&ge&&a.BMQ("max",ot._enabled?ot.max:null)},inputs:{max:"max"},features:[a.Jv_([gi]),a.Vt3]}),ce})();const Fo={provide:k,useExisting:(0,a.Rfq)(()=>ei),multi:!0};let ei=(()=>{var be;class ce extends Qr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ge=>Vi(ge),this.createValidator=ge=>function j(be){return ce=>{if(P(ce.value)||P(be))return null;const Ge=parseFloat(ce.value);return!isNaN(Ge)&&Ge{let Ge;return function(ot){return(Ge||(Ge=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ge,ot){2&ge&&a.BMQ("min",ot._enabled?ot.min:null)},inputs:{min:"min"},features:[a.Jv_([Fo]),a.Vt3]}),ce})(),Hn=(()=>{var be;class ce{}return(be=ce).\u0275fac=function(ge){return new(ge||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({}),ce})(),qo=(()=>{var be;class ce{static withConfig(ge){var ot;return{ngModule:ce,providers:[{provide:Je,useValue:null!==(ot=ge.callSetDisabledState)&&void 0!==ot?ot:at}]}}}return(be=ce).\u0275fac=function(ge){return new(ge||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({imports:[Hn]}),ce})(),Ei=(()=>{var be;class ce{static withConfig(ge){var ot,mn;return{ngModule:ce,providers:[{provide:On,useValue:null!==(ot=ge.warnOnNgModelWithFormControl)&&void 0!==ot?ot:"always"},{provide:Je,useValue:null!==(mn=ge.callSetDisabledState)&&void 0!==mn?mn:at}]}}}return(be=ce).\u0275fac=function(ge){return new(ge||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({imports:[Hn]}),ce})()},345:(Ce,ee,E)=>{"use strict";E.d(ee,{Bb:()=>Ie,hE:()=>ne,sG:()=>ae,up:()=>yn});var a=E(4438),S=E(177);class p extends S.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R extends p{static makeCurrent(){(0,S.ZD)(new R)}onAndCancel(_e,De,Me){return _e.addEventListener(De,Me),()=>{_e.removeEventListener(De,Me)}}dispatchEvent(_e,De){_e.dispatchEvent(De)}remove(_e){_e.parentNode&&_e.parentNode.removeChild(_e)}createElement(_e,De){return(De=De||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,De){return"window"===De?window:"document"===De?_e:"body"===De?_e.body:null}getBaseHref(_e){const De=function D(){return c=c||document.querySelector("base"),c?c.getAttribute("href"):null}();return null==De?null:function C(Ve){return new URL(Ve,document.baseURI).pathname}(De)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(_e){return(0,S._b)(document.cookie,_e)}}let c=null,T=(()=>{var Ve;class _e{build(){return new XMLHttpRequest}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)},Ve.\u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac}),_e})();const _=new a.nKC("");let g=(()=>{var Ve;class _e{constructor(Me,Ze){this._zone=Ze,this._eventNameToPlugin=new Map,Me.forEach($e=>{$e.manager=this}),this._plugins=Me.slice().reverse()}addEventListener(Me,Ze,$e){return this._findPluginFor(Ze).addEventListener(Me,Ze,$e)}getZone(){return this._zone}_findPluginFor(Me){let Ze=this._eventNameToPlugin.get(Me);if(Ze)return Ze;if(Ze=this._plugins.find(it=>it.supports(Me)),!Ze)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(Me,Ze),Ze}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)(a.KVO(_),a.KVO(a.SKi))},Ve.\u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac}),_e})();class F{constructor(_e){this._doc=_e}}const A="ng-app-id";let B=(()=>{var Ve;class _e{constructor(Me,Ze,$e,it={}){this.doc=Me,this.appId=Ze,this.nonce=$e,this.platformId=it,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,S.Vy)(it),this.resetHostNodes()}addStyles(Me){for(const Ze of Me)1===this.changeUsageCount(Ze,1)&&this.onStyleAdded(Ze)}removeStyles(Me){for(const Ze of Me)this.changeUsageCount(Ze,-1)<=0&&this.onStyleRemoved(Ze)}ngOnDestroy(){const Me=this.styleNodesInDOM;Me&&(Me.forEach(Ze=>Ze.remove()),Me.clear());for(const Ze of this.getAllStyles())this.onStyleRemoved(Ze);this.resetHostNodes()}addHost(Me){this.hostNodes.add(Me);for(const Ze of this.getAllStyles())this.addStyleToHost(Me,Ze)}removeHost(Me){this.hostNodes.delete(Me)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Me){for(const Ze of this.hostNodes)this.addStyleToHost(Ze,Me)}onStyleRemoved(Me){var Ze;const $e=this.styleRef;null===(Ze=$e.get(Me))||void 0===Ze||null===(Ze=Ze.elements)||void 0===Ze||Ze.forEach(it=>it.remove()),$e.delete(Me)}collectServerRenderedStyles(){var Me;const Ze=null===(Me=this.doc.head)||void 0===Me?void 0:Me.querySelectorAll(`style[${A}="${this.appId}"]`);if(null!=Ze&&Ze.length){const $e=new Map;return Ze.forEach(it=>{null!=it.textContent&&$e.set(it.textContent,it)}),$e}return null}changeUsageCount(Me,Ze){const $e=this.styleRef;if($e.has(Me)){const it=$e.get(Me);return it.usage+=Ze,it.usage}return $e.set(Me,{usage:Ze,elements:[]}),Ze}getStyleElement(Me,Ze){const $e=this.styleNodesInDOM,it=null==$e?void 0:$e.get(Ze);if((null==it?void 0:it.parentNode)===Me)return $e.delete(Ze),it.removeAttribute(A),it;{const Pe=this.doc.createElement("style");return this.nonce&&Pe.setAttribute("nonce",this.nonce),Pe.textContent=Ze,this.platformIsServer&&Pe.setAttribute(A,this.appId),Me.appendChild(Pe),Pe}}addStyleToHost(Me,Ze){var $e;const it=this.getStyleElement(Me,Ze),Pe=this.styleRef,Be=null===($e=Pe.get(Ze))||void 0===$e?void 0:$e.elements;Be?Be.push(it):Pe.set(Ze,{elements:[it],usage:1})}resetHostNodes(){const Me=this.hostNodes;Me.clear(),Me.add(this.doc.head)}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)(a.KVO(S.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))},Ve.\u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac}),_e})();const P={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/",math:"http://www.w3.org/1998/MathML/"},$=/%COMP%/g,k="%COMP%",M=`_nghost-${k}`,O=`_ngcontent-${k}`,j=new a.nKC("",{providedIn:"root",factory:()=>!0});function me(Ve,_e){return _e.map(De=>De.replace($,Ve))}let te=(()=>{var Ve;class _e{constructor(Me,Ze,$e,it,Pe,Be,Ue,Ct=null){this.eventManager=Me,this.sharedStylesHost=Ze,this.appId=$e,this.removeStylesOnCompDestroy=it,this.doc=Pe,this.platformId=Be,this.ngZone=Ue,this.nonce=Ct,this.rendererByCompId=new Map,this.platformIsServer=(0,S.Vy)(Be),this.defaultRenderer=new se(Me,Pe,Ue,this.platformIsServer)}createRenderer(Me,Ze){if(!Me||!Ze)return this.defaultRenderer;this.platformIsServer&&Ze.encapsulation===a.gXe.ShadowDom&&(Ze={...Ze,encapsulation:a.gXe.Emulated});const $e=this.getOrCreateRenderer(Me,Ze);return $e instanceof h?$e.applyToHost(Me):$e instanceof s&&$e.applyStyles(),$e}getOrCreateRenderer(Me,Ze){const $e=this.rendererByCompId;let it=$e.get(Ze.id);if(!it){const Pe=this.doc,Be=this.ngZone,Ue=this.eventManager,Ct=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,at=this.platformIsServer;switch(Ze.encapsulation){case a.gXe.Emulated:it=new h(Ue,Ct,Ze,this.appId,Je,Pe,Be,at);break;case a.gXe.ShadowDom:return new u(Ue,Ct,Me,Ze,Pe,Be,this.nonce,at);default:it=new s(Ue,Ct,Ze,Je,Pe,Be,at)}$e.set(Ze.id,it)}return it}ngOnDestroy(){this.rendererByCompId.clear()}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)(a.KVO(g),a.KVO(B),a.KVO(a.sZ2),a.KVO(j),a.KVO(S.qQ),a.KVO(a.Agw),a.KVO(a.SKi),a.KVO(a.BIS))},Ve.\u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac}),_e})();class se{constructor(_e,De,Me,Ze){this.eventManager=_e,this.doc=De,this.ngZone=Me,this.platformIsServer=Ze,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(_e,De){return De?this.doc.createElementNS(P[De]||De,_e):this.doc.createElement(_e)}createComment(_e){return this.doc.createComment(_e)}createText(_e){return this.doc.createTextNode(_e)}appendChild(_e,De){(o(_e)?_e.content:_e).appendChild(De)}insertBefore(_e,De,Me){_e&&(o(_e)?_e.content:_e).insertBefore(De,Me)}removeChild(_e,De){_e&&_e.removeChild(De)}selectRootElement(_e,De){let Me="string"==typeof _e?this.doc.querySelector(_e):_e;if(!Me)throw new a.wOt(-5104,!1);return De||(Me.textContent=""),Me}parentNode(_e){return _e.parentNode}nextSibling(_e){return _e.nextSibling}setAttribute(_e,De,Me,Ze){if(Ze){De=Ze+":"+De;const $e=P[Ze];$e?_e.setAttributeNS($e,De,Me):_e.setAttribute(De,Me)}else _e.setAttribute(De,Me)}removeAttribute(_e,De,Me){if(Me){const Ze=P[Me];Ze?_e.removeAttributeNS(Ze,De):_e.removeAttribute(`${Me}:${De}`)}else _e.removeAttribute(De)}addClass(_e,De){_e.classList.add(De)}removeClass(_e,De){_e.classList.remove(De)}setStyle(_e,De,Me,Ze){Ze&(a.czy.DashCase|a.czy.Important)?_e.style.setProperty(De,Me,Ze&a.czy.Important?"important":""):_e.style[De]=Me}removeStyle(_e,De,Me){Me&a.czy.DashCase?_e.style.removeProperty(De):_e.style[De]=""}setProperty(_e,De,Me){null!=_e&&(_e[De]=Me)}setValue(_e,De){_e.nodeValue=De}listen(_e,De,Me){if("string"==typeof _e&&!(_e=(0,S.QT)().getGlobalEventTarget(this.doc,_e)))throw new Error(`Unsupported event target ${_e} for event ${De}`);return this.eventManager.addEventListener(_e,De,this.decoratePreventDefault(Me))}decoratePreventDefault(_e){return De=>{if("__ngUnwrap__"===De)return _e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>_e(De)):_e(De))&&De.preventDefault()}}}function o(Ve){return"TEMPLATE"===Ve.tagName&&void 0!==Ve.content}class u extends se{constructor(_e,De,Me,Ze,$e,it,Pe,Be){super(_e,$e,it,Be),this.sharedStylesHost=De,this.hostEl=Me,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ue=me(Ze.id,Ze.styles);for(const Ct of Ue){const Je=document.createElement("style");Pe&&Je.setAttribute("nonce",Pe),Je.textContent=Ct,this.shadowRoot.appendChild(Je)}}nodeOrShadowRoot(_e){return _e===this.hostEl?this.shadowRoot:_e}appendChild(_e,De){return super.appendChild(this.nodeOrShadowRoot(_e),De)}insertBefore(_e,De,Me){return super.insertBefore(this.nodeOrShadowRoot(_e),De,Me)}removeChild(_e,De){return super.removeChild(this.nodeOrShadowRoot(_e),De)}parentNode(_e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(_e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class s extends se{constructor(_e,De,Me,Ze,$e,it,Pe,Be){super(_e,$e,it,Pe),this.sharedStylesHost=De,this.removeStylesOnCompDestroy=Ze,this.styles=Be?me(Be,Me.styles):Me.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class h extends s{constructor(_e,De,Me,Ze,$e,it,Pe,Be){const Ue=Ze+"-"+Me.id;super(_e,De,Me,$e,it,Pe,Be,Ue),this.contentAttr=function W(Ve){return O.replace($,Ve)}(Ue),this.hostAttr=function ie(Ve){return M.replace($,Ve)}(Ue)}applyToHost(_e){this.applyStyles(),this.setAttribute(_e,this.hostAttr,"")}createElement(_e,De){const Me=super.createElement(_e,De);return super.setAttribute(Me,this.contentAttr,""),Me}}let v=(()=>{var Ve;class _e extends F{constructor(Me){super(Me)}supports(Me){return!0}addEventListener(Me,Ze,$e){return Me.addEventListener(Ze,$e,!1),()=>this.removeEventListener(Me,Ze,$e)}removeEventListener(Me,Ze,$e){return Me.removeEventListener(Ze,$e)}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)(a.KVO(S.qQ))},Ve.\u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac}),_e})();const y=["alt","control","meta","shift"],f={"\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"},r={alt:Ve=>Ve.altKey,control:Ve=>Ve.ctrlKey,meta:Ve=>Ve.metaKey,shift:Ve=>Ve.shiftKey};let d=(()=>{var Ve;class _e extends F{constructor(Me){super(Me)}supports(Me){return null!=_e.parseEventName(Me)}addEventListener(Me,Ze,$e){const it=_e.parseEventName(Ze),Pe=_e.eventCallback(it.fullKey,$e,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,S.QT)().onAndCancel(Me,it.domEventName,Pe))}static parseEventName(Me){const Ze=Me.toLowerCase().split("."),$e=Ze.shift();if(0===Ze.length||"keydown"!==$e&&"keyup"!==$e)return null;const it=_e._normalizeKey(Ze.pop());let Pe="",Be=Ze.indexOf("code");if(Be>-1&&(Ze.splice(Be,1),Pe="code."),y.forEach(Ct=>{const Je=Ze.indexOf(Ct);Je>-1&&(Ze.splice(Je,1),Pe+=Ct+".")}),Pe+=it,0!=Ze.length||0===it.length)return null;const Ue={};return Ue.domEventName=$e,Ue.fullKey=Pe,Ue}static matchEventFullKeyCode(Me,Ze){let $e=f[Me.key]||Me.key,it="";return Ze.indexOf("code.")>-1&&($e=Me.code,it="code."),!(null==$e||!$e)&&($e=$e.toLowerCase()," "===$e?$e="space":"."===$e&&($e="dot"),y.forEach(Pe=>{Pe!==$e&&(0,r[Pe])(Me)&&(it+=Pe+".")}),it+=$e,it===Ze)}static eventCallback(Me,Ze,$e){return it=>{_e.matchEventFullKeyCode(it,Me)&&$e.runGuarded(()=>Ze(it))}}static _normalizeKey(Me){return"esc"===Me?"escape":Me}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)(a.KVO(S.qQ))},Ve.\u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac}),_e})();const ae=(0,a.oH4)(a.fpN,"browser",[{provide:a.Agw,useValue:S.AJ},{provide:a.PLl,useValue:function oe(){R.makeCurrent()},multi:!0},{provide:S.qQ,useFactory:function Ae(){return(0,a.TL$)(document),document},deps:[]}]),tt=new a.nKC(""),Oe=[{provide:a.e01,useClass:class w{addToWindow(_e){a.JZv.getAngularTestability=(Me,Ze=!0)=>{const $e=_e.findTestabilityInTree(Me,Ze);if(null==$e)throw new a.wOt(5103,!1);return $e},a.JZv.getAllAngularTestabilities=()=>_e.getAllTestabilities(),a.JZv.getAllAngularRootElements=()=>_e.getAllRootElements(),a.JZv.frameworkStabilizers||(a.JZv.frameworkStabilizers=[]),a.JZv.frameworkStabilizers.push(Me=>{const Ze=a.JZv.getAllAngularTestabilities();let $e=Ze.length;const it=function(){$e--,0==$e&&Me()};Ze.forEach(Pe=>{Pe.whenStable(it)})})}findTestabilityInTree(_e,De,Me){if(null==De)return null;const Ze=_e.getTestability(De);return null!=Ze?Ze:Me?(0,S.QT)().isShadowRoot(De)?this.findTestabilityInTree(_e,De.host,!0):this.findTestabilityInTree(_e,De.parentElement,!0):null}},deps:[]},{provide:a.WHO,useClass:a.NYb,deps:[a.SKi,a.giA,a.e01]},{provide:a.NYb,useClass:a.NYb,deps:[a.SKi,a.giA,a.e01]}],pe=[{provide:a.H8p,useValue:"root"},{provide:a.zcH,useFactory:function ve(){return new a.zcH},deps:[]},{provide:_,useClass:v,multi:!0,deps:[S.qQ,a.SKi,a.Agw]},{provide:_,useClass:d,multi:!0,deps:[S.qQ]},te,B,g,{provide:a._9s,useExisting:te},{provide:S.N0,useClass:T,deps:[]},[]];let Ie=(()=>{var Ve;class _e{constructor(Me){}static withServerTransition(Me){return{ngModule:_e,providers:[{provide:a.sZ2,useValue:Me.appId}]}}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)(a.KVO(tt,12))},Ve.\u0275mod=a.$C({type:Ve}),Ve.\u0275inj=a.G2t({providers:[...pe,...Oe],imports:[S.MD,a.Hbi]}),_e})(),ne=(()=>{var Ve;class _e{constructor(Me){this._doc=Me}getTitle(){return this._doc.title}setTitle(Me){this._doc.title=Me||""}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)(a.KVO(S.qQ))},Ve.\u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),_e})(),yn=(()=>{var Ve;class _e{}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)},Ve.\u0275prov=a.jDH({token:Ve,factory:function(Me){let Ze=null;return Ze=Me?new(Me||Ve):a.KVO(Dt),Ze},providedIn:"root"}),_e})(),Dt=(()=>{var Ve;class _e extends yn{constructor(Me){super(),this._doc=Me}sanitize(Me,Ze){if(null==Ze)return null;switch(Me){case a.WPN.NONE:return Ze;case a.WPN.HTML:return(0,a.ZF7)(Ze,"HTML")?(0,a.rcV)(Ze):(0,a.h9k)(this._doc,String(Ze)).toString();case a.WPN.STYLE:return(0,a.ZF7)(Ze,"Style")?(0,a.rcV)(Ze):Ze;case a.WPN.SCRIPT:if((0,a.ZF7)(Ze,"Script"))return(0,a.rcV)(Ze);throw new a.wOt(5200,!1);case a.WPN.URL:return(0,a.ZF7)(Ze,"URL")?(0,a.rcV)(Ze):(0,a.$MX)(String(Ze));case a.WPN.RESOURCE_URL:if((0,a.ZF7)(Ze,"ResourceURL"))return(0,a.rcV)(Ze);throw new a.wOt(5201,!1);default:throw new a.wOt(5202,!1)}}bypassSecurityTrustHtml(Me){return(0,a.Kcf)(Me)}bypassSecurityTrustStyle(Me){return(0,a.cWb)(Me)}bypassSecurityTrustScript(Me){return(0,a.UyX)(Me)}bypassSecurityTrustUrl(Me){return(0,a.osQ)(Me)}bypassSecurityTrustResourceUrl(Me){return(0,a.e5t)(Me)}}return(Ve=_e).\u0275fac=function(Me){return new(Me||Ve)(a.KVO(S.qQ))},Ve.\u0275prov=a.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),_e})()},3021:(Ce,ee,E)=>{"use strict";E.d(ee,{nX:()=>oi,Zp:()=>Le,Z:()=>Te,Xk:()=>tt,Kp:()=>_i,b:()=>Qn,Ix:()=>sr,Wk:()=>Ir,iI:()=>$a,Sd:()=>dt});var a=E(467),S=E(4438),p=E(4402),R=E(6648),c=E(7673),D=E(4412),C=E(4572),w=E(9350),T=E(8793),_=E(9030),g=E(1203),F=E(8810),A=E(983),B=E(17),P=E(1413),$=E(8359),k=E(177),M=E(6354),O=E(5558),U=E(6697),j=E(9326),W=E(9974),me=E(5964),te=E(3028),se=E(4360);function m(z){return(0,W.N)((J,ue)=>{let Z=!1;J.subscribe((0,se._)(ue,fe=>{Z=!0,ue.next(fe)},()=>{Z||ue.next(z),ue.complete()}))})}function n(z=o){return(0,W.N)((J,ue)=>{let Z=!1;J.subscribe((0,se._)(ue,fe=>{Z=!0,ue.next(fe)},()=>Z?ue.complete():ue.error(z())))})}function o(){return new w.G}var u=E(3669);function s(z,J){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,me.p)((fe,ke)=>z(fe,ke,Z)):u.D,(0,U.s)(1),ue?m(J):n(()=>new w.G))}var h=E(274),v=E(8141),y=E(9437),f=E(6649);function d(z){return z<=0?()=>A.w:(0,W.N)((J,ue)=>{let Z=[];J.subscribe((0,se._)(ue,fe=>{Z.push(fe),z{for(const fe of Z)ue.next(fe);ue.complete()},void 0,()=>{Z=null}))})}var I=E(3703),V=E(980),q=E(9898),oe=E(8750),ve=E(5343),Q=E(6365),ae=E(345);const tt="primary",Oe=Symbol("RouteTitle");class pe{constructor(J){this.params=J||{}}has(J){return Object.prototype.hasOwnProperty.call(this.params,J)}get(J){if(this.has(J)){const ue=this.params[J];return Array.isArray(ue)?ue[0]:ue}return null}getAll(J){if(this.has(J)){const ue=this.params[J];return Array.isArray(ue)?ue:[ue]}return[]}get keys(){return Object.keys(this.params)}}function Ie(z){return new pe(z)}function Se(z,J,ue){const Z=ue.path.split("/");if(Z.length>z.length||"full"===ue.pathMatch&&(J.hasChildren()||Z.lengthZ[ke]===fe)}return z===J}function vt(z){return z.length>0?z[z.length-1]:null}function Qe(z){return(0,p.A)(z)?z:(0,S.jNT)(z)?(0,R.H)(Promise.resolve(z)):(0,c.of)(z)}const rt={exact:function on(z,J,ue){if(!Cn(z.segments,J.segments)||!It(z.segments,J.segments,ue)||z.numberOfChildren!==J.numberOfChildren)return!1;for(const Z in J.children)if(!z.children[Z]||!on(z.children[Z],J.children[Z],ue))return!1;return!0},subset:Pt},nn={exact:function ht(z,J){return ne(z,J)},subset:function Mt(z,J){return Object.keys(J).length<=Object.keys(z).length&&Object.keys(J).every(ue=>Ee(z[ue],J[ue]))},ignored:()=>!0};function gt(z,J,ue){return rt[ue.paths](z.root,J.root,ue.matrixParams)&&nn[ue.queryParams](z.queryParams,J.queryParams)&&!("exact"===ue.fragment&&z.fragment!==J.fragment)}function Pt(z,J,ue){return En(z,J,J.segments,ue)}function En(z,J,ue,Z){if(z.segments.length>ue.length){const fe=z.segments.slice(0,ue.length);return!(!Cn(fe,ue)||J.hasChildren()||!It(fe,ue,Z))}if(z.segments.length===ue.length){if(!Cn(z.segments,ue)||!It(z.segments,ue,Z))return!1;for(const fe in J.children)if(!z.children[fe]||!Pt(z.children[fe],J.children[fe],Z))return!1;return!0}{const fe=ue.slice(0,z.segments.length),ke=ue.slice(z.segments.length);return!!(Cn(z.segments,fe)&&It(z.segments,fe,Z)&&z.children[tt])&&En(z.children[tt],J,ke,Z)}}function It(z,J,ue){return J.every((Z,fe)=>nn[ue](z[fe].parameters,Z.parameters))}class Ft{constructor(J=new yn([],{}),ue={},Z=null){this.root=J,this.queryParams=ue,this.fragment=Z}get queryParamMap(){var J;return null!==(J=this._queryParamMap)&&void 0!==J||(this._queryParamMap=Ie(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class yn{constructor(J,ue){this.segments=J,this.children=ue,this.parent=null,Object.values(ue).forEach(Z=>Z.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nt(this)}}class Dt{constructor(J,ue){this.path=J,this.parameters=ue}get parameterMap(){var J;return null!==(J=this._parameterMap)&&void 0!==J||(this._parameterMap=Ie(this.parameters)),this._parameterMap}toString(){return $e(this)}}function Cn(z,J){return z.length===J.length&&z.every((ue,Z)=>ue.path===J[Z].path)}let dt=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>new Sn,providedIn:"root"}),J})();class Sn{parse(J){const ue=new Wt(J);return new Ft(ue.parseRootSegment(),ue.parseQueryParams(),ue.parseFragment())}serialize(J){const ue=`/${Un(J.root,!0)}`,Z=function Pe(z){const J=Object.entries(z).map(([ue,Z])=>Array.isArray(Z)?Z.map(fe=>`${Ve(ue)}=${Ve(fe)}`).join("&"):`${Ve(ue)}=${Ve(Z)}`).filter(ue=>ue);return J.length?`?${J.join("&")}`:""}(J.queryParams);return`${ue}${Z}${"string"==typeof J.fragment?`#${function _e(z){return encodeURI(z)}(J.fragment)}`:""}`}}const kt=new Sn;function Nt(z){return z.segments.map(J=>$e(J)).join("/")}function Un(z,J){if(!z.hasChildren())return Nt(z);if(J){const ue=z.children[tt]?Un(z.children[tt],!1):"",Z=[];return Object.entries(z.children).forEach(([fe,ke])=>{fe!==tt&&Z.push(`${fe}:${Un(ke,!1)}`)}),Z.length>0?`${ue}(${Z.join("//")})`:ue}{const ue=function St(z,J){let ue=[];return Object.entries(z.children).forEach(([Z,fe])=>{Z===tt&&(ue=ue.concat(J(fe,Z)))}),Object.entries(z.children).forEach(([Z,fe])=>{Z!==tt&&(ue=ue.concat(J(fe,Z)))}),ue}(z,(Z,fe)=>fe===tt?[Un(z.children[tt],!1)]:[`${fe}:${Un(Z,!1)}`]);return 1===Object.keys(z.children).length&&null!=z.children[tt]?`${Nt(z)}/${ue[0]}`:`${Nt(z)}/(${ue.join("//")})`}}function Ut(z){return encodeURIComponent(z).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ve(z){return Ut(z).replace(/%3B/gi,";")}function De(z){return Ut(z).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Me(z){return decodeURIComponent(z)}function Ze(z){return Me(z.replace(/\+/g,"%20"))}function $e(z){return`${De(z.path)}${function it(z){return Object.entries(z).map(([J,ue])=>`;${De(J)}=${De(ue)}`).join("")}(z.parameters)}`}const Be=/^[^\/()?;#]+/;function Ue(z){const J=z.match(Be);return J?J[0]:""}const Ct=/^[^\/()?;=#]+/,at=/^[^=?&#]+/,yt=/^[^&#]+/;class Wt{constructor(J){this.url=J,this.remaining=J}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yn([],{}):new yn([],this.parseChildren())}parseQueryParams(){const J={};if(this.consumeOptional("?"))do{this.parseQueryParam(J)}while(this.consumeOptional("&"));return J}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const J=[];for(this.peekStartsWith("(")||J.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),J.push(this.parseSegment());let ue={};this.peekStartsWith("/(")&&(this.capture("/"),ue=this.parseParens(!0));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1)),(J.length>0||Object.keys(ue).length>0)&&(Z[tt]=new yn(J,ue)),Z}parseSegment(){const J=Ue(this.remaining);if(""===J&&this.peekStartsWith(";"))throw new S.wOt(4009,!1);return this.capture(J),new Dt(Me(J),this.parseMatrixParams())}parseMatrixParams(){const J={};for(;this.consumeOptional(";");)this.parseParam(J);return J}parseParam(J){const ue=function Je(z){const J=z.match(Ct);return J?J[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const fe=Ue(this.remaining);fe&&(Z=fe,this.capture(Z))}J[Me(ue)]=Me(Z)}parseQueryParam(J){const ue=function Jt(z){const J=z.match(at);return J?J[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const nt=function mt(z){const J=z.match(yt);return J?J[0]:""}(this.remaining);nt&&(Z=nt,this.capture(Z))}const fe=Ze(ue),ke=Ze(Z);if(J.hasOwnProperty(fe)){let nt=J[fe];Array.isArray(nt)||(nt=[nt],J[fe]=nt),nt.push(ke)}else J[fe]=ke}parseParens(J){const ue={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=Ue(this.remaining),fe=this.remaining[Z.length];if("/"!==fe&&")"!==fe&&";"!==fe)throw new S.wOt(4010,!1);let ke;Z.indexOf(":")>-1?(ke=Z.slice(0,Z.indexOf(":")),this.capture(ke),this.capture(":")):J&&(ke=tt);const nt=this.parseChildren();ue[ke]=1===Object.keys(nt).length?nt[tt]:new yn([],nt),this.consumeOptional("//")}return ue}peekStartsWith(J){return this.remaining.startsWith(J)}consumeOptional(J){return!!this.peekStartsWith(J)&&(this.remaining=this.remaining.substring(J.length),!0)}capture(J){if(!this.consumeOptional(J))throw new S.wOt(4011,!1)}}function Ot(z){return z.segments.length>0?new yn([],{[tt]:z}):z}function Rt(z){const J={};for(const[Z,fe]of Object.entries(z.children)){const ke=Rt(fe);if(Z===tt&&0===ke.segments.length&&ke.hasChildren())for(const[nt,jt]of Object.entries(ke.children))J[nt]=jt;else(ke.segments.length>0||ke.hasChildren())&&(J[Z]=ke)}return function Fn(z){if(1===z.numberOfChildren&&z.children[tt]){const J=z.children[tt];return new yn(z.segments.concat(J.segments),J.children)}return z}(new yn(z.segments,J))}function An(z){return z instanceof Ft}function bn(z){var J;let ue;const ke=Ot(function Z(nt){const jt={};for(const Gt of nt.children){const Bn=Z(Gt);jt[Gt.outlet]=Bn}const cn=new yn(nt.url,jt);return nt===z&&(ue=cn),cn}(z.root));return null!==(J=ue)&&void 0!==J?J:ke}function Wn(z,J,ue,Z){let fe=z;for(;fe.parent;)fe=fe.parent;if(0===J.length)return Ln(fe,fe,fe,ue,Z);const ke=function $n(z){if("string"==typeof z[0]&&1===z.length&&"/"===z[0])return new Gn(!0,0,z);let J=0,ue=!1;const Z=z.reduce((fe,ke,nt)=>{if("object"==typeof ke&&null!=ke){if(ke.outlets){const jt={};return Object.entries(ke.outlets).forEach(([cn,Gt])=>{jt[cn]="string"==typeof Gt?Gt.split("/"):Gt}),[...fe,{outlets:jt}]}if(ke.segmentPath)return[...fe,ke.segmentPath]}return"string"!=typeof ke?[...fe,ke]:0===nt?(ke.split("/").forEach((jt,cn)=>{0==cn&&"."===jt||(0==cn&&""===jt?ue=!0:".."===jt?J++:""!=jt&&fe.push(jt))}),fe):[...fe,ke]},[]);return new Gn(ue,J,Z)}(J);if(ke.toRoot())return Ln(fe,fe,new yn([],{}),ue,Z);const nt=function lt(z,J,ue){if(z.isAbsolute)return new je(J,!0,0);if(!ue)return new je(J,!1,NaN);if(null===ue.parent)return new je(ue,!0,0);const Z=Vn(z.commands[0])?0:1;return function Tt(z,J,ue){let Z=z,fe=J,ke=ue;for(;ke>fe;){if(ke-=fe,Z=Z.parent,!Z)throw new S.wOt(4005,!1);fe=Z.segments.length}return new je(Z,!1,fe-ke)}(ue,ue.segments.length-1+Z,z.numberOfDoubleDots)}(ke,fe,z),jt=nt.processChildren?Yt(nt.segmentGroup,nt.index,ke.commands):Lt(nt.segmentGroup,nt.index,ke.commands);return Ln(fe,nt.segmentGroup,jt,ue,Z)}function Vn(z){return"object"==typeof z&&null!=z&&!z.outlets&&!z.segmentPath}function Pn(z){return"object"==typeof z&&null!=z&&z.outlets}function Ln(z,J,ue,Z,fe){let nt,ke={};Z&&Object.entries(Z).forEach(([cn,Gt])=>{ke[cn]=Array.isArray(Gt)?Gt.map(Bn=>`${Bn}`):`${Gt}`}),nt=z===J?ue:Kn(z,J,ue);const jt=Ot(Rt(nt));return new Ft(jt,ke,fe)}function Kn(z,J,ue){const Z={};return Object.entries(z.children).forEach(([fe,ke])=>{Z[fe]=ke===J?ue:Kn(ke,J,ue)}),new yn(z.segments,Z)}class Gn{constructor(J,ue,Z){if(this.isAbsolute=J,this.numberOfDoubleDots=ue,this.commands=Z,J&&Z.length>0&&Vn(Z[0]))throw new S.wOt(4003,!1);const fe=Z.find(Pn);if(fe&&fe!==vt(Z))throw new S.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class je{constructor(J,ue,Z){this.segmentGroup=J,this.processChildren=ue,this.index=Z}}function Lt(z,J,ue){var Z;if(null!==(Z=z)&&void 0!==Z||(z=new yn([],{})),0===z.segments.length&&z.hasChildren())return Yt(z,J,ue);const fe=function qt(z,J,ue){let Z=0,fe=J;const ke={match:!1,pathIndex:0,commandIndex:0};for(;fe=ue.length)return ke;const nt=z.segments[fe],jt=ue[Z];if(Pn(jt))break;const cn=`${jt}`,Gt=Z0&&void 0===cn)break;if(cn&&Gt&&"object"==typeof Gt&&void 0===Gt.outlets){if(!Xn(cn,Gt,nt))return ke;Z+=2}else{if(!Xn(cn,{},nt))return ke;Z++}fe++}return{match:!0,pathIndex:fe,commandIndex:Z}}(z,J,ue),ke=ue.slice(fe.commandIndex);if(fe.match&&fe.pathIndexke!==tt)&&z.children[tt]&&1===z.numberOfChildren&&0===z.children[tt].segments.length){const ke=Yt(z.children[tt],J,ue);return new yn(z.segments,ke.children)}return Object.entries(Z).forEach(([ke,nt])=>{"string"==typeof nt&&(nt=[nt]),null!==nt&&(fe[ke]=Lt(z.children[ke],J,nt))}),Object.entries(z.children).forEach(([ke,nt])=>{void 0===Z[ke]&&(fe[ke]=nt)}),new yn(z.segments,fe)}}function Zt(z,J,ue){const Z=z.segments.slice(0,J);let fe=0;for(;fe{"string"==typeof Z&&(Z=[Z]),null!==Z&&(J[ue]=Zt(new yn([],{}),0,Z))}),J}function Dn(z){const J={};return Object.entries(z).forEach(([ue,Z])=>J[ue]=`${Z}`),J}function Xn(z,J,ue){return z==ue.path&&ne(J,ue.parameters)}const mr="imperative";var Ke=function(z){return z[z.NavigationStart=0]="NavigationStart",z[z.NavigationEnd=1]="NavigationEnd",z[z.NavigationCancel=2]="NavigationCancel",z[z.NavigationError=3]="NavigationError",z[z.RoutesRecognized=4]="RoutesRecognized",z[z.ResolveStart=5]="ResolveStart",z[z.ResolveEnd=6]="ResolveEnd",z[z.GuardsCheckStart=7]="GuardsCheckStart",z[z.GuardsCheckEnd=8]="GuardsCheckEnd",z[z.RouteConfigLoadStart=9]="RouteConfigLoadStart",z[z.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",z[z.ChildActivationStart=11]="ChildActivationStart",z[z.ChildActivationEnd=12]="ChildActivationEnd",z[z.ActivationStart=13]="ActivationStart",z[z.ActivationEnd=14]="ActivationEnd",z[z.Scroll=15]="Scroll",z[z.NavigationSkipped=16]="NavigationSkipped",z}(Ke||{});class et{constructor(J,ue){this.id=J,this.url=ue}}class Te extends et{constructor(J,ue,Z="imperative",fe=null){super(J,ue),this.type=Ke.NavigationStart,this.navigationTrigger=Z,this.restoredState=fe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qe extends et{constructor(J,ue,Z){super(J,ue),this.urlAfterRedirects=Z,this.type=Ke.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var bt=function(z){return z[z.Redirect=0]="Redirect",z[z.SupersededByNewNavigation=1]="SupersededByNewNavigation",z[z.NoDataFromResolver=2]="NoDataFromResolver",z[z.GuardRejected=3]="GuardRejected",z}(bt||{}),Kt=function(z){return z[z.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",z[z.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",z}(Kt||{});class hn extends et{constructor(J,ue,Z,fe){super(J,ue),this.reason=Z,this.code=fe,this.type=Ke.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Et extends et{constructor(J,ue,Z,fe){super(J,ue),this.reason=Z,this.code=fe,this.type=Ke.NavigationSkipped}}class zt extends et{constructor(J,ue,Z,fe){super(J,ue),this.error=Z,this.target=fe,this.type=Ke.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ye extends et{constructor(J,ue,Z,fe){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ke.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class We extends et{constructor(J,ue,Z,fe){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ke.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ct extends et{constructor(J,ue,Z,fe,ke){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.shouldActivate=ke,this.type=Ke.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xt extends et{constructor(J,ue,Z,fe){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ke.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xt extends et{constructor(J,ue,Z,fe){super(J,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ke.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $t{constructor(J){this.route=J,this.type=Ke.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class an{constructor(J){this.route=J,this.type=Ke.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ln{constructor(J){this.snapshot=J,this.type=Ke.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(J){this.snapshot=J,this.type=Ke.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class un{constructor(J){this.snapshot=J,this.type=Ke.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tn{constructor(J){this.snapshot=J,this.type=Ke.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mn{constructor(J,ue,Z){this.routerEvent=J,this.position=ue,this.anchor=Z,this.type=Ke.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class _n{}class On{constructor(J){this.url=J}}class X{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Le,this.attachRef=null}}let Le=(()=>{var z;class J{constructor(){this.contexts=new Map}onChildOutletCreated(Z,fe){const ke=this.getOrCreateContext(Z);ke.outlet=fe,this.contexts.set(Z,ke)}onChildOutletDestroyed(Z){const fe=this.getContext(Z);fe&&(fe.outlet=null,fe.attachRef=null)}onOutletDeactivated(){const Z=this.contexts;return this.contexts=new Map,Z}onOutletReAttached(Z){this.contexts=Z}getOrCreateContext(Z){let fe=this.getContext(Z);return fe||(fe=new X,this.contexts.set(Z,fe)),fe}getContext(Z){return this.contexts.get(Z)||null}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();class le{constructor(J){this._root=J}get root(){return this._root.value}parent(J){const ue=this.pathFromRoot(J);return ue.length>1?ue[ue.length-2]:null}children(J){const ue=Ye(J,this._root);return ue?ue.children.map(Z=>Z.value):[]}firstChild(J){const ue=Ye(J,this._root);return ue&&ue.children.length>0?ue.children[0].value:null}siblings(J){const ue=Bt(J,this._root);return ue.length<2?[]:ue[ue.length-2].children.map(fe=>fe.value).filter(fe=>fe!==J)}pathFromRoot(J){return Bt(J,this._root).map(ue=>ue.value)}}function Ye(z,J){if(z===J.value)return J;for(const ue of J.children){const Z=Ye(z,ue);if(Z)return Z}return null}function Bt(z,J){if(z===J.value)return[J];for(const ue of J.children){const Z=Bt(z,ue);if(Z.length)return Z.unshift(J),Z}return[]}class Nn{constructor(J,ue){this.value=J,this.children=ue}toString(){return`TreeNode(${this.value})`}}function dr(z){const J={};return z&&z.children.forEach(ue=>J[ue.value.outlet]=ue),J}class _r extends le{constructor(J,ue){super(J),this.snapshot=ue,vi(this,J)}toString(){return this.snapshot.toString()}}function qr(z){const J=function Zr(z){const ke=new $i([],{},{},"",{},tt,z,null,{});return new Ar("",new Nn(ke,[]))}(z),ue=new D.t([new Dt("",{})]),Z=new D.t({}),fe=new D.t({}),ke=new D.t({}),nt=new D.t(""),jt=new oi(ue,Z,ke,nt,fe,tt,z,J.root);return jt.snapshot=J.root,new _r(new Nn(jt,[]),J)}class oi{constructor(J,ue,Z,fe,ke,nt,jt,cn){var Gt,Bn;this.urlSubject=J,this.paramsSubject=ue,this.queryParamsSubject=Z,this.fragmentSubject=fe,this.dataSubject=ke,this.outlet=nt,this.component=jt,this._futureSnapshot=cn,this.title=null!==(Gt=null===(Bn=this.dataSubject)||void 0===Bn?void 0:Bn.pipe((0,M.T)(er=>er[Oe])))&&void 0!==Gt?Gt:(0,c.of)(void 0),this.url=J,this.params=ue,this.queryParams=Z,this.fragment=fe,this.data=ke}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(){var J;return null!==(J=this._paramMap)&&void 0!==J||(this._paramMap=this.params.pipe((0,M.T)(ue=>Ie(ue)))),this._paramMap}get queryParamMap(){var J;return null!==(J=this._queryParamMap)&&void 0!==J||(this._queryParamMap=this.queryParams.pipe((0,M.T)(ue=>Ie(ue)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zr(z,J,ue="emptyOnly"){var Z;let fe;const{routeConfig:ke}=z;var nt;return fe=null===J||"always"!==ue&&""!==(null==ke?void 0:ke.path)&&(J.component||null!==(Z=J.routeConfig)&&void 0!==Z&&Z.loadComponent)?{params:{...z.params},data:{...z.data},resolve:{...z.data,...null!==(nt=z._resolvedData)&&void 0!==nt?nt:{}}}:{params:{...J.params,...z.params},data:{...J.data,...z.data},resolve:{...z.data,...J.data,...null==ke?void 0:ke.data,...z._resolvedData}},ke&&Di(ke)&&(fe.resolve[Oe]=ke.title),fe}class $i{get title(){var J;return null===(J=this.data)||void 0===J?void 0:J[Oe]}constructor(J,ue,Z,fe,ke,nt,jt,cn,Gt){this.url=J,this.params=ue,this.queryParams=Z,this.fragment=fe,this.data=ke,this.outlet=nt,this.component=jt,this.routeConfig=cn,this._resolve=Gt}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(){var J;return null!==(J=this._paramMap)&&void 0!==J||(this._paramMap=Ie(this.params)),this._paramMap}get queryParamMap(){var J;return null!==(J=this._queryParamMap)&&void 0!==J||(this._queryParamMap=Ie(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Z=>Z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ar extends le{constructor(J,ue){super(ue),this.url=J,vi(this,ue)}toString(){return jn(this._root)}}function vi(z,J){J.value._routerState=z,J.children.forEach(ue=>vi(z,ue))}function jn(z){const J=z.children.length>0?` { ${z.children.map(jn).join(", ")} } `:"";return`${z.value}${J}`}function mi(z){if(z.snapshot){const J=z.snapshot,ue=z._futureSnapshot;z.snapshot=ue,ne(J.queryParams,ue.queryParams)||z.queryParamsSubject.next(ue.queryParams),J.fragment!==ue.fragment&&z.fragmentSubject.next(ue.fragment),ne(J.params,ue.params)||z.paramsSubject.next(ue.params),function re(z,J){if(z.length!==J.length)return!1;for(let ue=0;uene(ue.parameters,J[Z].parameters))}(z.url,J.url);return ue&&!(!z.parent!=!J.parent)&&(!z.parent||Pi(z.parent,J.parent))}function Di(z){return"string"==typeof z.title||null===z.title}let Ai=(()=>{var z;class J{constructor(){this.activated=null,this._activatedRoute=null,this.name=tt,this.activateEvents=new S.bkB,this.deactivateEvents=new S.bkB,this.attachEvents=new S.bkB,this.detachEvents=new S.bkB,this.parentContexts=(0,S.WQX)(Le),this.location=(0,S.WQX)(S.c1b),this.changeDetector=(0,S.WQX)(S.gRc),this.environmentInjector=(0,S.WQX)(S.uvJ),this.inputBinder=(0,S.WQX)(Mi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Z){if(Z.name){const{firstChange:fe,previousValue:ke}=Z.name;if(fe)return;this.isTrackedInParentContexts(ke)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ke)),this.initializeOutletWithName()}}ngOnDestroy(){var Z;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(Z=this.inputBinder)||void 0===Z||Z.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Z){var fe;return(null===(fe=this.parentContexts.getContext(Z))||void 0===fe?void 0:fe.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Z=this.parentContexts.getContext(this.name);null!=Z&&Z.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S.wOt(4012,!1);this.location.detach();const Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,fe){var ke;this.activated=Z,this._activatedRoute=fe,this.location.insert(Z.hostView),null===(ke=this.inputBinder)||void 0===ke||ke.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,fe){var ke;if(this.isActivated)throw new S.wOt(4013,!1);this._activatedRoute=Z;const nt=this.location,cn=Z.snapshot.component,Gt=this.parentContexts.getOrCreateContext(this.name).children,Bn=new Ui(Z,Gt,nt.injector);this.activated=nt.createComponent(cn,{index:nt.length,injector:Bn,environmentInjector:null!=fe?fe:this.environmentInjector}),this.changeDetector.markForCheck(),null===(ke=this.inputBinder)||void 0===ke||ke.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275dir=S.FsC({type:z,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[S.OA$]}),J})();class Ui{__ngOutletInjector(J){return new Ui(this.route,this.childContexts,J)}constructor(J,ue,Z){this.route=J,this.childContexts=ue,this.parent=Z}get(J,ue){return J===oi?this.route:J===Le?this.childContexts:this.parent.get(J,ue)}}const Mi=new S.nKC("");let Vi=(()=>{var z;class J{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Z){this.unsubscribeFromRouteData(Z),this.subscribeToRouteData(Z)}unsubscribeFromRouteData(Z){var fe;null===(fe=this.outletDataSubscriptions.get(Z))||void 0===fe||fe.unsubscribe(),this.outletDataSubscriptions.delete(Z)}subscribeToRouteData(Z){const{activatedRoute:fe}=Z,ke=(0,C.z)([fe.queryParams,fe.params,fe.data]).pipe((0,O.n)(([nt,jt,cn],Gt)=>(cn={...nt,...jt,...cn},0===Gt?(0,c.of)(cn):Promise.resolve(cn)))).subscribe(nt=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==fe||null===fe.component)return void this.unsubscribeFromRouteData(Z);const jt=(0,S.HJs)(fe.component);if(jt)for(const{templateName:cn}of jt.inputs)Z.activatedComponentRef.setInput(cn,nt[cn]);else this.unsubscribeFromRouteData(Z)});this.outletDataSubscriptions.set(Z,ke)}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac}),J})();function gi(z,J,ue){if(ue&&z.shouldReuseRoute(J.value,ue.value.snapshot)){const Z=ue.value;Z._futureSnapshot=J.value;const fe=function wi(z,J,ue){return J.children.map(Z=>{for(const fe of ue.children)if(z.shouldReuseRoute(Z.value,fe.value.snapshot))return gi(z,Z,fe);return gi(z,Z)})}(z,J,ue);return new Nn(Z,fe)}{if(z.shouldAttach(J.value)){const ke=z.retrieve(J.value);if(null!==ke){const nt=ke.route;return nt.value._futureSnapshot=J.value,nt.children=J.children.map(jt=>gi(z,jt)),nt}}const Z=function Fo(z){return new oi(new D.t(z.url),new D.t(z.params),new D.t(z.queryParams),new D.t(z.fragment),new D.t(z.data),z.outlet,z.component,z)}(J.value),fe=J.children.map(ke=>gi(z,ke));return new Nn(Z,fe)}}const ei="ngNavigationCancelingError";function Qi(z,J){const{redirectTo:ue,navigationBehaviorOptions:Z}=An(J)?{redirectTo:J,navigationBehaviorOptions:void 0}:J,fe=Fr(!1,bt.Redirect);return fe.url=ue,fe.navigationBehaviorOptions=Z,fe}function Fr(z,J){const ue=new Error(`NavigationCancelingError: ${z||""}`);return ue[ei]=!0,ue.cancellationCode=J,ue}function ji(z){return!!z&&z[ei]}let He=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275cmp=S.VBU({type:z,selectors:[["ng-component"]],standalone:!0,features:[S.aNF],decls:1,vars:0,template:function(Z,fe){1&Z&&S.nrm(0,"router-outlet")},dependencies:[Ai],encapsulation:2}),J})();function rr(z){const J=z.children&&z.children.map(rr),ue=J?{...z,children:J}:{...z};return!ue.component&&!ue.loadComponent&&(J||ue.loadChildren)&&ue.outlet&&ue.outlet!==tt&&(ue.component=He),ue}function Hn(z){return z.outlet||tt}function ti(z){var J;if(!z)return null;if(null!==(J=z.routeConfig)&&void 0!==J&&J._injector)return z.routeConfig._injector;for(let ue=z.parent;ue;ue=ue.parent){const Z=ue.routeConfig;if(null!=Z&&Z._loadedInjector)return Z._loadedInjector;if(null!=Z&&Z._injector)return Z._injector}return null}class mo{constructor(J,ue,Z,fe,ke){this.routeReuseStrategy=J,this.futureState=ue,this.currState=Z,this.forwardEvent=fe,this.inputBindingEnabled=ke}activate(J){const ue=this.futureState._root,Z=this.currState?this.currState._root:null;this.deactivateChildRoutes(ue,Z,J),mi(this.futureState.root),this.activateChildRoutes(ue,Z,J)}deactivateChildRoutes(J,ue,Z){const fe=dr(ue);J.children.forEach(ke=>{const nt=ke.value.outlet;this.deactivateRoutes(ke,fe[nt],Z),delete fe[nt]}),Object.values(fe).forEach(ke=>{this.deactivateRouteAndItsChildren(ke,Z)})}deactivateRoutes(J,ue,Z){const fe=J.value,ke=ue?ue.value:null;if(fe===ke)if(fe.component){const nt=Z.getContext(fe.outlet);nt&&this.deactivateChildRoutes(J,ue,nt.children)}else this.deactivateChildRoutes(J,ue,Z);else ke&&this.deactivateRouteAndItsChildren(ue,Z)}deactivateRouteAndItsChildren(J,ue){J.value.component&&this.routeReuseStrategy.shouldDetach(J.value.snapshot)?this.detachAndStoreRouteSubtree(J,ue):this.deactivateRouteAndOutlet(J,ue)}detachAndStoreRouteSubtree(J,ue){const Z=ue.getContext(J.value.outlet),fe=Z&&J.value.component?Z.children:ue,ke=dr(J);for(const nt of Object.values(ke))this.deactivateRouteAndItsChildren(nt,fe);if(Z&&Z.outlet){const nt=Z.outlet.detach(),jt=Z.children.onOutletDeactivated();this.routeReuseStrategy.store(J.value.snapshot,{componentRef:nt,route:J,contexts:jt})}}deactivateRouteAndOutlet(J,ue){const Z=ue.getContext(J.value.outlet),fe=Z&&J.value.component?Z.children:ue,ke=dr(J);for(const nt of Object.values(ke))this.deactivateRouteAndItsChildren(nt,fe);Z&&(Z.outlet&&(Z.outlet.deactivate(),Z.children.onOutletDeactivated()),Z.attachRef=null,Z.route=null)}activateChildRoutes(J,ue,Z){const fe=dr(ue);J.children.forEach(ke=>{this.activateRoutes(ke,fe[ke.value.outlet],Z),this.forwardEvent(new tn(ke.value.snapshot))}),J.children.length&&this.forwardEvent(new fn(J.value.snapshot))}activateRoutes(J,ue,Z){const fe=J.value,ke=ue?ue.value:null;if(mi(fe),fe===ke)if(fe.component){const nt=Z.getOrCreateContext(fe.outlet);this.activateChildRoutes(J,ue,nt.children)}else this.activateChildRoutes(J,ue,Z);else if(fe.component){const nt=Z.getOrCreateContext(fe.outlet);if(this.routeReuseStrategy.shouldAttach(fe.snapshot)){const jt=this.routeReuseStrategy.retrieve(fe.snapshot);this.routeReuseStrategy.store(fe.snapshot,null),nt.children.onOutletReAttached(jt.contexts),nt.attachRef=jt.componentRef,nt.route=jt.route.value,nt.outlet&&nt.outlet.attach(jt.componentRef,jt.route.value),mi(jt.route.value),this.activateChildRoutes(J,null,nt.children)}else{const jt=ti(fe.snapshot);nt.attachRef=null,nt.route=fe,nt.injector=jt,nt.outlet&&nt.outlet.activateWith(fe,nt.injector),this.activateChildRoutes(J,null,nt.children)}}else this.activateChildRoutes(J,null,Z)}}class Ji{constructor(J){this.path=J,this.route=this.path[this.path.length-1]}}class ci{constructor(J,ue){this.component=J,this.route=ue}}function Oi(z,J,ue){const Z=z._root;return be(Z,J?J._root:null,ue,[Z.value])}function Ei(z,J){const ue=Symbol(),Z=J.get(z,ue);return Z===ue?"function"!=typeof z||(0,S.LfX)(z)?J.get(z):z:Z}function be(z,J,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=dr(J);return z.children.forEach(nt=>{(function ce(z,J,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=z.value,nt=J?J.value:null,jt=ue?ue.getContext(z.value.outlet):null;if(nt&&ke.routeConfig===nt.routeConfig){const cn=function Ge(z,J,ue){if("function"==typeof ue)return ue(z,J);switch(ue){case"pathParamsChange":return!Cn(z.url,J.url);case"pathParamsOrQueryParamsChange":return!Cn(z.url,J.url)||!ne(z.queryParams,J.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pi(z,J)||!ne(z.queryParams,J.queryParams);default:return!Pi(z,J)}}(nt,ke,ke.routeConfig.runGuardsAndResolvers);cn?fe.canActivateChecks.push(new Ji(Z)):(ke.data=nt.data,ke._resolvedData=nt._resolvedData),be(z,J,ke.component?jt?jt.children:null:ue,Z,fe),cn&&jt&&jt.outlet&&jt.outlet.isActivated&&fe.canDeactivateChecks.push(new ci(jt.outlet.component,nt))}else nt&&ge(J,jt,fe),fe.canActivateChecks.push(new Ji(Z)),be(z,null,ke.component?jt?jt.children:null:ue,Z,fe)})(nt,ke[nt.value.outlet],ue,Z.concat([nt.value]),fe),delete ke[nt.value.outlet]}),Object.entries(ke).forEach(([nt,jt])=>ge(jt,ue.getContext(nt),fe)),fe}function ge(z,J,ue){const Z=dr(z),fe=z.value;Object.entries(Z).forEach(([ke,nt])=>{ge(nt,fe.component?J?J.children.getContext(ke):null:J,ue)}),ue.canDeactivateChecks.push(new ci(fe.component&&J&&J.outlet&&J.outlet.isActivated?J.outlet.component:null,fe))}function ot(z){return"function"==typeof z}function ws(z){return z instanceof w.G||"EmptyError"===(null==z?void 0:z.name)}const Eo=Symbol("INITIAL_VALUE");function qi(){return(0,O.n)(z=>(0,C.z)(z.map(J=>J.pipe((0,U.s)(1),function ie(...z){const J=(0,j.lI)(z);return(0,W.N)((ue,Z)=>{(J?(0,T.x)(z,ue,J):(0,T.x)(z,ue)).subscribe(Z)})}(Eo)))).pipe((0,M.T)(J=>{for(const ue of J)if(!0!==ue){if(ue===Eo)return Eo;if(!1===ue||ue instanceof Ft)return ue}return!0}),(0,me.p)(J=>J!==Eo),(0,U.s)(1)))}function es(z){return(0,g.F)((0,v.M)(J=>{if(An(J))throw Qi(0,J)}),(0,M.T)(J=>!0===J))}class ts{constructor(J){this.segmentGroup=J||null}}class yo extends Error{constructor(J){super(),this.urlTree=J}}function tr(z){return(0,F.$)(new ts(z))}class Wr{constructor(J,ue){this.urlSerializer=J,this.urlTree=ue}lineralizeSegments(J,ue){let Z=[],fe=ue.root;for(;;){if(Z=Z.concat(fe.segments),0===fe.numberOfChildren)return(0,c.of)(Z);if(fe.numberOfChildren>1||!fe.children[tt])return(0,F.$)(new S.wOt(4e3,!1));fe=fe.children[tt]}}applyRedirectCommands(J,ue,Z){const fe=this.applyRedirectCreateUrlTree(ue,this.urlSerializer.parse(ue),J,Z);if(ue.startsWith("/"))throw new yo(fe);return fe}applyRedirectCreateUrlTree(J,ue,Z,fe){const ke=this.createSegmentGroup(J,ue.root,Z,fe);return new Ft(ke,this.createQueryParams(ue.queryParams,this.urlTree.queryParams),ue.fragment)}createQueryParams(J,ue){const Z={};return Object.entries(J).forEach(([fe,ke])=>{if("string"==typeof ke&&ke.startsWith(":")){const jt=ke.substring(1);Z[fe]=ue[jt]}else Z[fe]=ke}),Z}createSegmentGroup(J,ue,Z,fe){const ke=this.createSegments(J,ue.segments,Z,fe);let nt={};return Object.entries(ue.children).forEach(([jt,cn])=>{nt[jt]=this.createSegmentGroup(J,cn,Z,fe)}),new yn(ke,nt)}createSegments(J,ue,Z,fe){return ue.map(ke=>ke.path.startsWith(":")?this.findPosParam(J,ke,fe):this.findOrReturn(ke,Z))}findPosParam(J,ue,Z){const fe=Z[ue.path.substring(1)];if(!fe)throw new S.wOt(4001,!1);return fe}findOrReturn(J,ue){let Z=0;for(const fe of ue){if(fe.path===J.path)return ue.splice(Z),fe;Z++}return J}}const ns={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rs(z,J,ue,Z,fe){const ke=Hi(z,J,ue);return ke.matched?(Z=function Ne(z,J){var ue;return z.providers&&!z._injector&&(z._injector=(0,S.Ol2)(z.providers,J,`Route: ${z.path}`)),null!==(ue=z._injector)&&void 0!==ue?ue:J}(J,Z),function Ia(z,J,ue,Z){const fe=J.canMatch;if(!fe||0===fe.length)return(0,c.of)(!0);const ke=fe.map(nt=>{const jt=Ei(nt,z);return Qe(function go(z){return z&&ot(z.canMatch)}(jt)?jt.canMatch(J,ue):(0,S.N4e)(z,()=>jt(J,ue)))});return(0,c.of)(ke).pipe(qi(),es())}(Z,J,ue).pipe((0,M.T)(nt=>!0===nt?ke:{...ns}))):(0,c.of)(ke)}function Hi(z,J,ue){var Z,fe;if("**"===J.path)return function Yl(z){return{matched:!0,parameters:z.length>0?vt(z).parameters:{},consumedSegments:z,remainingSegments:[],positionalParamSegments:{}}}(ue);if(""===J.path)return"full"===J.pathMatch&&(z.hasChildren()||ue.length>0)?{...ns}:{matched:!0,consumedSegments:[],remainingSegments:ue,parameters:{},positionalParamSegments:{}};const nt=(J.matcher||Se)(ue,z,J);if(!nt)return{...ns};const jt={};Object.entries(null!==(Z=nt.posParams)&&void 0!==Z?Z:{}).forEach(([Gt,Bn])=>{jt[Gt]=Bn.path});const cn=nt.consumed.length>0?{...jt,...nt.consumed[nt.consumed.length-1].parameters}:jt;return{matched:!0,consumedSegments:nt.consumed,remainingSegments:ue.slice(nt.consumed.length),parameters:cn,positionalParamSegments:null!==(fe=nt.posParams)&&void 0!==fe?fe:{}}}function Ta(z,J,ue,Z){return ue.length>0&&function Ro(z,J,ue){return ue.some(Z=>eo(z,J,Z)&&Hn(Z)!==tt)}(z,ue,Z)?{segmentGroup:new yn(J,_s(Z,new yn(ue,z.children))),slicedSegments:[]}:0===ue.length&&function Bs(z,J,ue){return ue.some(Z=>eo(z,J,Z))}(z,ue,Z)?{segmentGroup:new yn(z.segments,Oo(z,ue,Z,z.children)),slicedSegments:ue}:{segmentGroup:new yn(z.segments,z.children),slicedSegments:ue}}function Oo(z,J,ue,Z){const fe={};for(const ke of ue)if(eo(z,J,ke)&&!Z[Hn(ke)]){const nt=new yn([],{});fe[Hn(ke)]=nt}return{...Z,...fe}}function _s(z,J){const ue={};ue[tt]=J;for(const Z of z)if(""===Z.path&&Hn(Z)!==tt){const fe=new yn([],{});ue[Hn(Z)]=fe}return ue}function eo(z,J,ue){return(!(z.hasChildren()||J.length>0)||"full"!==ue.pathMatch)&&""===ue.path}class Zl{}class Pa{constructor(J,ue,Z,fe,ke,nt,jt){this.injector=J,this.configLoader=ue,this.rootComponentType=Z,this.config=fe,this.urlTree=ke,this.paramsInheritanceStrategy=nt,this.urlSerializer=jt,this.applyRedirects=new Wr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(J){return new S.wOt(4002,`'${J.segmentGroup}'`)}recognize(){const J=Ta(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(J).pipe((0,M.T)(ue=>{const Z=new $i([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,{}),fe=new Nn(Z,ue),ke=new Ar("",fe),nt=function wn(z,J,ue=null,Z=null){return Wn(bn(z),J,ue,Z)}(Z,[],this.urlTree.queryParams,this.urlTree.fragment);return nt.queryParams=this.urlTree.queryParams,ke.url=this.urlSerializer.serialize(nt),this.inheritParamsAndData(ke._root,null),{state:ke,tree:nt}}))}match(J){return this.processSegmentGroup(this.injector,this.config,J,tt).pipe((0,y.W)(Z=>{if(Z instanceof yo)return this.urlTree=Z.urlTree,this.match(Z.urlTree.root);throw Z instanceof ts?this.noMatchError(Z):Z}))}inheritParamsAndData(J,ue){const Z=J.value,fe=zr(Z,ue,this.paramsInheritanceStrategy);Z.params=Object.freeze(fe.params),Z.data=Object.freeze(fe.data),J.children.forEach(ke=>this.inheritParamsAndData(ke,Z))}processSegmentGroup(J,ue,Z,fe){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(J,ue,Z):this.processSegment(J,ue,Z,Z.segments,fe,!0).pipe((0,M.T)(ke=>ke instanceof Nn?[ke]:[]))}processChildren(J,ue,Z){const fe=[];for(const ke of Object.keys(Z.children))"primary"===ke?fe.unshift(ke):fe.push(ke);return(0,R.H)(fe).pipe((0,h.H)(ke=>{const nt=Z.children[ke],jt=function Yn(z,J){const ue=z.filter(Z=>Hn(Z)===J);return ue.push(...z.filter(Z=>Hn(Z)!==J)),ue}(ue,ke);return this.processSegmentGroup(J,jt,nt,ke)}),function r(z,J){return(0,W.N)((0,f.S)(z,J,arguments.length>=2,!0))}((ke,nt)=>(ke.push(...nt),ke)),m(null),function L(z,J){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,me.p)((fe,ke)=>z(fe,ke,Z)):u.D,d(1),ue?m(J):n(()=>new w.G))}(),(0,te.Z)(ke=>{if(null===ke)return tr(Z);const nt=No(ke);return function zi(z){z.sort((J,ue)=>J.value.outlet===tt?-1:ue.value.outlet===tt?1:J.value.outlet.localeCompare(ue.value.outlet))}(nt),(0,c.of)(nt)}))}processSegment(J,ue,Z,fe,ke,nt){return(0,R.H)(ue).pipe((0,h.H)(jt=>{var cn;return this.processSegmentAgainstRoute(null!==(cn=jt._injector)&&void 0!==cn?cn:J,ue,jt,Z,fe,ke,nt).pipe((0,y.W)(Gt=>{if(Gt instanceof ts)return(0,c.of)(null);throw Gt}))}),s(jt=>!!jt),(0,y.W)(jt=>{if(ws(jt))return function Ss(z,J,ue){return 0===J.length&&!z.children[ue]}(Z,fe,ke)?(0,c.of)(new Zl):tr(Z);throw jt}))}processSegmentAgainstRoute(J,ue,Z,fe,ke,nt,jt){return function wc(z,J,ue,Z){return!!(Hn(z)===Z||Z!==tt&&eo(J,ue,z))&&Hi(J,z,ue).matched}(Z,fe,ke,nt)?void 0===Z.redirectTo?this.matchSegmentAgainstRoute(J,fe,Z,ke,nt):this.allowRedirects&&jt?this.expandSegmentAgainstRouteUsingRedirect(J,fe,ue,Z,ke,nt):tr(fe):tr(fe)}expandSegmentAgainstRouteUsingRedirect(J,ue,Z,fe,ke,nt){const{matched:jt,consumedSegments:cn,positionalParamSegments:Gt,remainingSegments:Bn}=Hi(ue,fe,ke);if(!jt)return tr(ue);fe.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const er=this.applyRedirects.applyRedirectCommands(cn,fe.redirectTo,Gt);return this.applyRedirects.lineralizeSegments(fe,er).pipe((0,te.Z)(wr=>this.processSegment(J,Z,ue,wr.concat(Bn),nt,!1)))}matchSegmentAgainstRoute(J,ue,Z,fe,ke){const nt=rs(ue,Z,fe,J);return"**"===Z.path&&(ue.children={}),nt.pipe((0,O.n)(jt=>{var cn;return jt.matched?(J=null!==(cn=Z._injector)&&void 0!==cn?cn:J,this.getChildConfig(J,Z,fe).pipe((0,O.n)(({routes:Gt})=>{var Bn,er,wr;const hr=null!==(Bn=Z._loadedInjector)&&void 0!==Bn?Bn:J,{consumedSegments:Kr,remainingSegments:Mo,parameters:us}=jt,zo=new $i(Kr,us,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ra(z){return z.data||{}}(Z),Hn(Z),null!==(er=null!==(wr=Z.component)&&void 0!==wr?wr:Z._loadedComponent)&&void 0!==er?er:null,Z,function Fs(z){return z.resolve||{}}(Z)),{segmentGroup:Wo,slicedSegments:cs}=Ta(ue,Kr,Mo,Gt);if(0===cs.length&&Wo.hasChildren())return this.processChildren(hr,Gt,Wo).pipe((0,M.T)(ds=>null===ds?null:new Nn(zo,ds)));if(0===Gt.length&&0===cs.length)return(0,c.of)(new Nn(zo,[]));const Va=Hn(Z)===ke;return this.processSegment(hr,Gt,Wo,cs,Va?tt:ke,!0).pipe((0,M.T)(ds=>new Nn(zo,ds instanceof Nn?[ds]:[])))}))):tr(ue)}))}getChildConfig(J,ue,Z){return ue.children?(0,c.of)({routes:ue.children,injector:J}):ue.loadChildren?void 0!==ue._loadedRoutes?(0,c.of)({routes:ue._loadedRoutes,injector:ue._loadedInjector}):function Sa(z,J,ue,Z){const fe=J.canLoad;if(void 0===fe||0===fe.length)return(0,c.of)(!0);const ke=fe.map(nt=>{const jt=Ei(nt,z);return Qe(function zn(z){return z&&ot(z.canLoad)}(jt)?jt.canLoad(J,ue):(0,S.N4e)(z,()=>jt(J,ue)))});return(0,c.of)(ke).pipe(qi(),es())}(J,ue,Z).pipe((0,te.Z)(fe=>fe?this.configLoader.loadChildren(J,ue).pipe((0,v.M)(ke=>{ue._loadedRoutes=ke.routes,ue._loadedInjector=ke.injector})):function ai(z){return(0,F.$)(Fr(!1,bt.GuardRejected))}())):(0,c.of)({routes:[],injector:J})}}function Oa(z){const J=z.value.routeConfig;return J&&""===J.path}function No(z){const J=[],ue=new Set;for(const Z of z){if(!Oa(Z)){J.push(Z);continue}const fe=J.find(ke=>Z.value.routeConfig===ke.value.routeConfig);void 0!==fe?(fe.children.push(...Z.children),ue.add(fe)):J.push(Z)}for(const Z of ue){const fe=No(Z.children);J.push(new Nn(Z.value,fe))}return J.filter(Z=>!ue.has(Z))}function to(z){const J=z.children.map(ue=>to(ue)).flat();return[z,...J]}function is(z){return(0,O.n)(J=>{const ue=z(J);return ue?(0,R.H)(ue).pipe((0,M.T)(()=>J)):(0,c.of)(J)})}let no=(()=>{var z;class J{buildTitle(Z){let fe,ke=Z.root;for(;void 0!==ke;){var nt;fe=null!==(nt=this.getResolvedTitleForRoute(ke))&&void 0!==nt?nt:fe,ke=ke.children.find(jt=>jt.outlet===tt)}return fe}getResolvedTitleForRoute(Z){return Z.data[Oe]}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(ql),providedIn:"root"}),J})(),ql=(()=>{var z;class J extends no{constructor(Z){super(),this.title=Z}updateTitle(Z){const fe=this.buildTitle(Z);void 0!==fe&&this.title.setTitle(fe)}}return(z=J).\u0275fac=function(Z){return new(Z||z)(S.KVO(ae.hE))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();const Co=new S.nKC("",{providedIn:"root",factory:()=>({})}),bo=new S.nKC("");let Lo=(()=>{var z;class J{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,S.WQX)(S.Ql9)}loadComponent(Z){if(this.componentLoaders.get(Z))return this.componentLoaders.get(Z);if(Z._loadedComponent)return(0,c.of)(Z._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Z);const fe=Qe(Z.loadComponent()).pipe((0,M.T)($o),(0,v.M)(nt=>{this.onLoadEndListener&&this.onLoadEndListener(Z),Z._loadedComponent=nt}),(0,V.j)(()=>{this.componentLoaders.delete(Z)})),ke=new B.G(fe,()=>new P.B).pipe((0,q.B)());return this.componentLoaders.set(Z,ke),ke}loadChildren(Z,fe){if(this.childrenLoaders.get(fe))return this.childrenLoaders.get(fe);if(fe._loadedRoutes)return(0,c.of)({routes:fe._loadedRoutes,injector:fe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(fe);const nt=function ro(z,J,ue,Z){return Qe(z.loadChildren()).pipe((0,M.T)($o),(0,te.Z)(fe=>fe instanceof S.Co$||Array.isArray(fe)?(0,c.of)(fe):(0,R.H)(J.compileModuleAsync(fe))),(0,M.T)(fe=>{Z&&Z(z);let ke,nt,jt=!1;return Array.isArray(fe)?(nt=fe,!0):(ke=fe.create(ue).injector,nt=ke.get(bo,[],{optional:!0,self:!0}).flat()),{routes:nt.map(rr),injector:ke}}))}(fe,this.compiler,Z,this.onLoadEndListener).pipe((0,V.j)(()=>{this.childrenLoaders.delete(fe)})),jt=new B.G(nt,()=>new P.B).pipe((0,q.B)());return this.childrenLoaders.set(fe,jt),jt}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();function $o(z){return function Na(z){return z&&"object"==typeof z&&"default"in z}(z)?z.default:z}let Y=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(xe),providedIn:"root"}),J})(),xe=(()=>{var z;class J{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,fe){return Z}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();const st=new S.nKC(""),de=new S.nKC("");function ze(z,J,ue){const Z=z.get(de),fe=z.get(k.qQ);return z.get(S.SKi).runOutsideAngular(()=>{if(!fe.startViewTransition||Z.skipNextTransition)return Z.skipNextTransition=!1,new Promise(Gt=>setTimeout(Gt));let ke;const nt=new Promise(Gt=>{ke=Gt}),jt=fe.startViewTransition(()=>(ke(),function pt(z){return new Promise(J=>{(0,S.mal)(J,{injector:z})})}(z))),{onViewTransitionCreated:cn}=Z;return cn&&(0,S.N4e)(z,()=>cn({transition:jt,from:J,to:ue})),nt})}let Qt=(()=>{var z;class J{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new P.B,this.transitionAbortSubject=new P.B,this.configLoader=(0,S.WQX)(Lo),this.environmentInjector=(0,S.WQX)(S.uvJ),this.urlSerializer=(0,S.WQX)(dt),this.rootContexts=(0,S.WQX)(Le),this.location=(0,S.WQX)(k.aZ),this.inputBindingEnabled=null!==(0,S.WQX)(Mi,{optional:!0}),this.titleStrategy=(0,S.WQX)(no),this.options=(0,S.WQX)(Co,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,S.WQX)(Y),this.createViewTransition=(0,S.WQX)(st,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,c.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ke=>this.events.next(new an(ke)),this.configLoader.onLoadStartListener=ke=>this.events.next(new $t(ke))}complete(){var Z;null===(Z=this.transitions)||void 0===Z||Z.complete()}handleNavigationRequest(Z){var fe;const ke=++this.navigationId;null===(fe=this.transitions)||void 0===fe||fe.next({...this.transitions.value,...Z,id:ke})}setupNavigations(Z,fe,ke){return this.transitions=new D.t({id:0,currentUrlTree:fe,currentRawUrl:fe,extractedUrl:this.urlHandlingStrategy.extract(fe),urlAfterRedirects:this.urlHandlingStrategy.extract(fe),rawUrl:fe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:mr,restoredState:null,currentSnapshot:ke.snapshot,targetSnapshot:null,currentRouterState:ke,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,me.p)(nt=>0!==nt.id),(0,M.T)(nt=>({...nt,extractedUrl:this.urlHandlingStrategy.extract(nt.rawUrl)})),(0,O.n)(nt=>{let jt=!1,cn=!1;return(0,c.of)(nt).pipe((0,O.n)(Gt=>{var Bn;if(this.navigationId>nt.id)return this.cancelNavigationTransition(nt,"",bt.SupersededByNewNavigation),A.w;this.currentTransition=nt,this.currentNavigation={id:Gt.id,initialUrl:Gt.rawUrl,extractedUrl:Gt.extractedUrl,trigger:Gt.source,extras:Gt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const er=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),wr=null!==(Bn=Gt.extras.onSameUrlNavigation)&&void 0!==Bn?Bn:Z.onSameUrlNavigation;if(!er&&"reload"!==wr){const hr="";return this.events.next(new Et(Gt.id,this.urlSerializer.serialize(Gt.rawUrl),hr,Kt.IgnoredSameUrlNavigation)),Gt.resolve(null),A.w}if(this.urlHandlingStrategy.shouldProcessUrl(Gt.rawUrl))return(0,c.of)(Gt).pipe((0,O.n)(hr=>{var Kr,Mo;const us=null===(Kr=this.transitions)||void 0===Kr?void 0:Kr.getValue();return this.events.next(new Te(hr.id,this.urlSerializer.serialize(hr.extractedUrl),hr.source,hr.restoredState)),us!==(null===(Mo=this.transitions)||void 0===Mo?void 0:Mo.getValue())?A.w:Promise.resolve(hr)}),function ko(z,J,ue,Z,fe,ke){return(0,te.Z)(nt=>function Is(z,J,ue,Z,fe,ke,nt="emptyOnly"){return new Pa(z,J,ue,Z,fe,nt,ke).recognize()}(z,J,ue,Z,nt.extractedUrl,fe,ke).pipe((0,M.T)(({state:jt,tree:cn})=>({...nt,targetSnapshot:jt,urlAfterRedirects:cn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,v.M)(hr=>{nt.targetSnapshot=hr.targetSnapshot,nt.urlAfterRedirects=hr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:hr.urlAfterRedirects};const Kr=new ye(hr.id,this.urlSerializer.serialize(hr.extractedUrl),this.urlSerializer.serialize(hr.urlAfterRedirects),hr.targetSnapshot);this.events.next(Kr)}));if(er&&this.urlHandlingStrategy.shouldProcessUrl(Gt.currentRawUrl)){const{id:hr,extractedUrl:Kr,source:Mo,restoredState:us,extras:zo}=Gt,Wo=new Te(hr,this.urlSerializer.serialize(Kr),Mo,us);this.events.next(Wo);const cs=qr(this.rootComponentType).snapshot;return this.currentTransition=nt={...Gt,targetSnapshot:cs,urlAfterRedirects:Kr,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Kr,(0,c.of)(nt)}{const hr="";return this.events.next(new Et(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),hr,Kt.IgnoredByUrlHandlingStrategy)),Gt.resolve(null),A.w}}),(0,v.M)(Gt=>{const Bn=new We(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),this.urlSerializer.serialize(Gt.urlAfterRedirects),Gt.targetSnapshot);this.events.next(Bn)}),(0,M.T)(Gt=>(this.currentTransition=nt={...Gt,guards:Oi(Gt.targetSnapshot,Gt.currentSnapshot,this.rootContexts)},nt)),function yr(z,J){return(0,te.Z)(ue=>{const{targetSnapshot:Z,currentSnapshot:fe,guards:{canActivateChecks:ke,canDeactivateChecks:nt}}=ue;return 0===nt.length&&0===ke.length?(0,c.of)({...ue,guardsResult:!0}):function zl(z,J,ue,Z){return(0,R.H)(z).pipe((0,te.Z)(fe=>function Xl(z,J,ue,Z,fe){const ke=J&&J.routeConfig?J.routeConfig.canDeactivate:null;if(!ke||0===ke.length)return(0,c.of)(!0);const nt=ke.map(jt=>{var cn;const Gt=null!==(cn=ti(J))&&void 0!==cn?cn:fe,Bn=Ei(jt,Gt);return Qe(function jr(z){return z&&ot(z.canDeactivate)}(Bn)?Bn.canDeactivate(z,J,ue,Z):(0,S.N4e)(Gt,()=>Bn(z,J,ue,Z))).pipe(s())});return(0,c.of)(nt).pipe(qi())}(fe.component,fe.route,ue,J,Z)),s(fe=>!0!==fe,!0))}(nt,Z,fe,z).pipe((0,te.Z)(jt=>jt&&function mn(z){return"boolean"==typeof z}(jt)?function _a(z,J,ue,Z){return(0,R.H)(J).pipe((0,h.H)(fe=>(0,T.x)(function Kl(z,J){return null!==z&&J&&J(new ln(z)),(0,c.of)(!0)}(fe.route.parent,Z),function Wl(z,J){return null!==z&&J&&J(new un(z)),(0,c.of)(!0)}(fe.route,Z),function Ba(z,J,ue){const Z=J[J.length-1],ke=J.slice(0,J.length-1).reverse().map(nt=>function qo(z){const J=z.routeConfig?z.routeConfig.canActivateChild:null;return J&&0!==J.length?{node:z,guards:J}:null}(nt)).filter(nt=>null!==nt).map(nt=>(0,_.v)(()=>{const jt=nt.guards.map(cn=>{var Gt;const Bn=null!==(Gt=ti(nt.node))&&void 0!==Gt?Gt:ue,er=Ei(cn,Bn);return Qe(function di(z){return z&&ot(z.canActivateChild)}(er)?er.canActivateChild(Z,z):(0,S.N4e)(Bn,()=>er(Z,z))).pipe(s())});return(0,c.of)(jt).pipe(qi())}));return(0,c.of)(ke).pipe(qi())}(z,fe.path,ue),function Gl(z,J,ue){const Z=J.routeConfig?J.routeConfig.canActivate:null;if(!Z||0===Z.length)return(0,c.of)(!0);const fe=Z.map(ke=>(0,_.v)(()=>{var nt;const jt=null!==(nt=ti(J))&&void 0!==nt?nt:ue,cn=Ei(ke,jt);return Qe(function Pr(z){return z&&ot(z.canActivate)}(cn)?cn.canActivate(J,z):(0,S.N4e)(jt,()=>cn(J,z))).pipe(s())}));return(0,c.of)(fe).pipe(qi())}(z,fe.route,ue))),s(fe=>!0!==fe,!0))}(Z,ke,z,J):(0,c.of)(jt)),(0,M.T)(jt=>({...ue,guardsResult:jt})))})}(this.environmentInjector,Gt=>this.events.next(Gt)),(0,v.M)(Gt=>{if(nt.guardsResult=Gt.guardsResult,An(Gt.guardsResult))throw Qi(0,Gt.guardsResult);const Bn=new ct(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),this.urlSerializer.serialize(Gt.urlAfterRedirects),Gt.targetSnapshot,!!Gt.guardsResult);this.events.next(Bn)}),(0,me.p)(Gt=>!!Gt.guardsResult||(this.cancelNavigationTransition(Gt,"",bt.GuardRejected),!1)),is(Gt=>{if(Gt.guards.canActivateChecks.length)return(0,c.of)(Gt).pipe((0,v.M)(Bn=>{const er=new xt(Bn.id,this.urlSerializer.serialize(Bn.extractedUrl),this.urlSerializer.serialize(Bn.urlAfterRedirects),Bn.targetSnapshot);this.events.next(er)}),(0,O.n)(Bn=>{let er=!1;return(0,c.of)(Bn).pipe(function fi(z,J){return(0,te.Z)(ue=>{const{targetSnapshot:Z,guards:{canActivateChecks:fe}}=ue;if(!fe.length)return(0,c.of)(ue);const ke=new Set(fe.map(cn=>cn.route)),nt=new Set;for(const cn of ke)if(!nt.has(cn))for(const Gt of to(cn))nt.add(Gt);let jt=0;return(0,R.H)(nt).pipe((0,h.H)(cn=>ke.has(cn)?function Ps(z,J,ue,Z){const fe=z.routeConfig,ke=z._resolve;return void 0!==(null==fe?void 0:fe.title)&&!Di(fe)&&(ke[Oe]=fe.title),function Ql(z,J,ue,Z){const fe=G(z);if(0===fe.length)return(0,c.of)({});const ke={};return(0,R.H)(fe).pipe((0,te.Z)(nt=>function Jl(z,J,ue,Z){var fe;const ke=null!==(fe=ti(J))&&void 0!==fe?fe:Z,nt=Ei(z,ke);return Qe(nt.resolve?nt.resolve(J,ue):(0,S.N4e)(ke,()=>nt(J,ue)))}(z[nt],J,ue,Z).pipe(s(),(0,v.M)(jt=>{ke[nt]=jt}))),d(1),(0,I.u)(ke),(0,y.W)(nt=>ws(nt)?A.w:(0,F.$)(nt)))}(ke,z,J,Z).pipe((0,M.T)(nt=>(z._resolvedData=nt,z.data=zr(z,z.parent,ue).resolve,null)))}(cn,Z,z,J):(cn.data=zr(cn,cn.parent,z).resolve,(0,c.of)(void 0))),(0,v.M)(()=>jt++),d(1),(0,te.Z)(cn=>jt===nt.size?(0,c.of)(ue):A.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,v.M)({next:()=>er=!0,complete:()=>{er||this.cancelNavigationTransition(Bn,"",bt.NoDataFromResolver)}}))}),(0,v.M)(Bn=>{const er=new Xt(Bn.id,this.urlSerializer.serialize(Bn.extractedUrl),this.urlSerializer.serialize(Bn.urlAfterRedirects),Bn.targetSnapshot);this.events.next(er)}))}),is(Gt=>{const Bn=er=>{var wr;const hr=[];null!==(wr=er.routeConfig)&&void 0!==wr&&wr.loadComponent&&!er.routeConfig._loadedComponent&&hr.push(this.configLoader.loadComponent(er.routeConfig).pipe((0,v.M)(Kr=>{er.component=Kr}),(0,M.T)(()=>{})));for(const Kr of er.children)hr.push(...Bn(Kr));return hr};return(0,C.z)(Bn(Gt.targetSnapshot.root)).pipe(m(null),(0,U.s)(1))}),is(()=>this.afterPreactivation()),(0,O.n)(()=>{var Gt;const{currentSnapshot:Bn,targetSnapshot:er}=nt,wr=null===(Gt=this.createViewTransition)||void 0===Gt?void 0:Gt.call(this,this.environmentInjector,Bn.root,er.root);return wr?(0,R.H)(wr).pipe((0,M.T)(()=>nt)):(0,c.of)(nt)}),(0,M.T)(Gt=>{const Bn=function Qr(z,J,ue){const Z=gi(z,J._root,ue?ue._root:void 0);return new _r(Z,J)}(Z.routeReuseStrategy,Gt.targetSnapshot,Gt.currentRouterState);return this.currentTransition=nt={...Gt,targetRouterState:Bn},this.currentNavigation.targetRouterState=Bn,nt}),(0,v.M)(()=>{this.events.next(new _n)}),((z,J,ue,Z)=>(0,M.T)(fe=>(new mo(J,fe.targetRouterState,fe.currentRouterState,ue,Z).activate(z),fe)))(this.rootContexts,Z.routeReuseStrategy,Gt=>this.events.next(Gt),this.inputBindingEnabled),(0,U.s)(1),(0,v.M)({next:Gt=>{var Bn;jt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new qe(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),this.urlSerializer.serialize(Gt.urlAfterRedirects))),null===(Bn=this.titleStrategy)||void 0===Bn||Bn.updateTitle(Gt.targetRouterState.snapshot),Gt.resolve(!0)},complete:()=>{jt=!0}}),function Ae(z){return(0,W.N)((J,ue)=>{(0,oe.Tg)(z).subscribe((0,se._)(ue,()=>ue.complete(),ve.l)),!ue.closed&&J.subscribe(ue)})}(this.transitionAbortSubject.pipe((0,v.M)(Gt=>{throw Gt}))),(0,V.j)(()=>{var Gt;!jt&&!cn&&this.cancelNavigationTransition(nt,"",bt.SupersededByNewNavigation),(null===(Gt=this.currentTransition)||void 0===Gt?void 0:Gt.id)===nt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,y.W)(Gt=>{if(cn=!0,ji(Gt))this.events.next(new hn(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Gt.message,Gt.cancellationCode)),function si(z){return ji(z)&&An(z.url)}(Gt)?this.events.next(new On(Gt.url)):nt.resolve(!1);else{var Bn;this.events.next(new zt(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Gt,null!==(Bn=nt.targetSnapshot)&&void 0!==Bn?Bn:void 0));try{nt.resolve(Z.errorHandler(Gt))}catch(er){this.options.resolveNavigationPromiseOnError?nt.resolve(!1):nt.reject(er)}}return A.w}))}))}cancelNavigationTransition(Z,fe,ke){const nt=new hn(Z.id,this.urlSerializer.serialize(Z.extractedUrl),fe,ke);this.events.next(nt),Z.resolve(!1)}isUpdatingInternalState(){var Z,fe;return(null===(Z=this.currentTransition)||void 0===Z?void 0:Z.extractedUrl.toString())!==(null===(fe=this.currentTransition)||void 0===fe?void 0:fe.currentUrlTree.toString())}isUpdatedBrowserUrl(){var Z,fe;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==(null===(Z=this.currentTransition)||void 0===Z?void 0:Z.extractedUrl.toString())&&!(null!==(fe=this.currentTransition)&&void 0!==fe&&fe.extras.skipLocationChange)}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();function xn(z){return z!==mr}let Qn=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(fr),providedIn:"root"}),J})();class lr{shouldDetach(J){return!1}store(J,ue){}shouldAttach(J){return!1}retrieve(J){return null}shouldReuseRoute(J,ue){return J.routeConfig===ue.routeConfig}}let fr=(()=>{var z;class J extends lr{}return(z=J).\u0275fac=(()=>{let ue;return function(fe){return(ue||(ue=S.xGo(z)))(fe||z)}})(),z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})(),ir=(()=>{var z;class J{}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(Er),providedIn:"root"}),J})(),Er=(()=>{var z;class J extends ir{constructor(){super(...arguments),this.location=(0,S.WQX)(k.aZ),this.urlSerializer=(0,S.WQX)(dt),this.options=(0,S.WQX)(Co,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,S.WQX)(Y),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ft,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var Z,fe;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(Z=null===(fe=this.restoredState())||void 0===fe?void 0:fe.\u0275routerPageId)&&void 0!==Z?Z:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Z){return this.location.subscribe(fe=>{"popstate"===fe.type&&Z(fe.url,fe.state)})}handleRouterEvent(Z,fe){if(Z instanceof Te)this.stateMemento=this.createStateMemento();else if(Z instanceof Et)this.rawUrlTree=fe.initialUrl;else if(Z instanceof ye){if("eager"===this.urlUpdateStrategy&&!fe.extras.skipLocationChange){const ke=this.urlHandlingStrategy.merge(fe.finalUrl,fe.initialUrl);this.setBrowserUrl(ke,fe)}}else Z instanceof _n?(this.currentUrlTree=fe.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(fe.finalUrl,fe.initialUrl),this.routerState=fe.targetRouterState,"deferred"===this.urlUpdateStrategy&&(fe.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,fe))):Z instanceof hn&&(Z.code===bt.GuardRejected||Z.code===bt.NoDataFromResolver)?this.restoreHistory(fe):Z instanceof zt?this.restoreHistory(fe,!0):Z instanceof qe&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,fe){const ke=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(ke)||fe.extras.replaceUrl){const jt={...fe.extras.state,...this.generateNgRouterState(fe.id,this.browserPageId)};this.location.replaceState(ke,"",jt)}else{const nt={...fe.extras.state,...this.generateNgRouterState(fe.id,this.browserPageId+1)};this.location.go(ke,"",nt)}}restoreHistory(Z,fe=!1){if("computed"===this.canceledNavigationResolution){const nt=this.currentPageId-this.browserPageId;0!==nt?this.location.historyGo(nt):this.currentUrlTree===Z.finalUrl&&0===nt&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(fe&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){var fe;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(fe=Z.finalUrl)&&void 0!==fe?fe:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,fe){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:fe}:{navigationId:Z}}}return(z=J).\u0275fac=(()=>{let ue;return function(fe){return(ue||(ue=S.xGo(z)))(fe||z)}})(),z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();var ur=function(z){return z[z.COMPLETE=0]="COMPLETE",z[z.FAILED=1]="FAILED",z[z.REDIRECTING=2]="REDIRECTING",z}(ur||{});function Br(z,J){z.events.pipe((0,me.p)(ue=>ue instanceof qe||ue instanceof hn||ue instanceof zt||ue instanceof Et),(0,M.T)(ue=>ue instanceof qe||ue instanceof Et?ur.COMPLETE:ue instanceof hn&&(ue.code===bt.Redirect||ue.code===bt.SupersededByNewNavigation)?ur.REDIRECTING:ur.FAILED),(0,me.p)(ue=>ue!==ur.REDIRECTING),(0,U.s)(1)).subscribe(()=>{J()})}function xr(z){throw z}const gn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let sr=(()=>{var z;class J{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var Z,fe;this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,S.WQX)(S.H3F),this.stateManager=(0,S.WQX)(ir),this.options=(0,S.WQX)(Co,{optional:!0})||{},this.pendingTasks=(0,S.WQX)(S.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,S.WQX)(Qt),this.urlSerializer=(0,S.WQX)(dt),this.location=(0,S.WQX)(k.aZ),this.urlHandlingStrategy=(0,S.WQX)(Y),this._events=new P.B,this.errorHandler=this.options.errorHandler||xr,this.navigated=!1,this.routeReuseStrategy=(0,S.WQX)(Qn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(Z=null===(fe=(0,S.WQX)(bo,{optional:!0}))||void 0===fe?void 0:fe.flat())&&void 0!==Z?Z:[],this.componentInputBindingEnabled=!!(0,S.WQX)(Mi,{optional:!0}),this.eventsSubscription=new $.yU,this.isNgZoneEnabled=(0,S.WQX)(S.SKi)instanceof S.SKi&&S.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:ke=>{this.console.warn(ke)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Z=this.navigationTransitions.events.subscribe(fe=>{try{const ke=this.navigationTransitions.currentTransition,nt=this.navigationTransitions.currentNavigation;if(null!==ke&&null!==nt)if(this.stateManager.handleRouterEvent(fe,nt),fe instanceof hn&&fe.code!==bt.Redirect&&fe.code!==bt.SupersededByNewNavigation)this.navigated=!0;else if(fe instanceof qe)this.navigated=!0;else if(fe instanceof On){const jt=this.urlHandlingStrategy.merge(fe.url,ke.currentRawUrl),cn={info:ke.extras.info,skipLocationChange:ke.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||xn(ke.source)};this.scheduleNavigation(jt,mr,null,cn,{resolve:ke.resolve,reject:ke.reject,promise:ke.promise})}(function Mr(z){return!(z instanceof _n||z instanceof On)})(fe)&&this._events.next(fe)}catch(ke){this.navigationTransitions.transitionAbortSubject.next(ke)}});this.eventsSubscription.add(Z)}resetRootComponentType(Z){this.routerState.root.component=Z,this.navigationTransitions.rootComponentType=Z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),mr,this.stateManager.restoredState())}setUpLocationChangeListener(){var Z;null!==(Z=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==Z||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((fe,ke)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(fe,"popstate",ke)},0)}))}navigateToSyncWithBrowser(Z,fe,ke){const nt={replaceUrl:!0},jt=null!=ke&&ke.navigationId?ke:null;if(ke){const Gt={...ke};delete Gt.navigationId,delete Gt.\u0275routerPageId,0!==Object.keys(Gt).length&&(nt.state=Gt)}const cn=this.parseUrl(Z);this.scheduleNavigation(cn,fe,jt,nt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(rr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Z,fe={}){const{relativeTo:ke,queryParams:nt,fragment:jt,queryParamsHandling:cn,preserveFragment:Gt}=fe,Bn=Gt?this.currentUrlTree.fragment:jt;let wr,er=null;switch(cn){case"merge":er={...this.currentUrlTree.queryParams,...nt};break;case"preserve":er=this.currentUrlTree.queryParams;break;default:er=nt||null}null!==er&&(er=this.removeEmptyProps(er));try{wr=bn(ke?ke.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),wr=this.currentUrlTree.root}return Wn(wr,Z,er,null!=Bn?Bn:null)}navigateByUrl(Z,fe={skipLocationChange:!1}){const ke=An(Z)?Z:this.parseUrl(Z),nt=this.urlHandlingStrategy.merge(ke,this.rawUrlTree);return this.scheduleNavigation(nt,mr,null,fe)}navigate(Z,fe={skipLocationChange:!1}){return function Lr(z){for(let J=0;J(null!=nt&&(fe[ke]=nt),fe),{})}scheduleNavigation(Z,fe,ke,nt,jt){if(this.disposed)return Promise.resolve(!1);let cn,Gt,Bn;jt?(cn=jt.resolve,Gt=jt.reject,Bn=jt.promise):Bn=new Promise((wr,hr)=>{cn=wr,Gt=hr});const er=this.pendingTasks.add();return Br(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(er))}),this.navigationTransitions.handleNavigationRequest({source:fe,restoredState:ke,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:nt,resolve:cn,reject:Gt,promise:Bn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Bn.catch(wr=>Promise.reject(wr))}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})(),Ir=(()=>{var z;class J{constructor(Z,fe,ke,nt,jt,cn){var Gt;this.router=Z,this.route=fe,this.tabIndexAttribute=ke,this.renderer=nt,this.el=jt,this.locationStrategy=cn,this.href=null,this.commands=null,this.onChanges=new P.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Bn=null===(Gt=jt.nativeElement.tagName)||void 0===Gt?void 0:Gt.toLowerCase();this.isAnchorElement="a"===Bn||"area"===Bn,this.isAnchorElement?this.subscription=Z.events.subscribe(er=>{er instanceof qe&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,fe,ke,nt,jt){const cn=this.urlTree;return!!(null===cn||this.isAnchorElement&&(0!==Z||fe||ke||nt||jt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(cn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){var Z;null===(Z=this.subscription)||void 0===Z||Z.unsubscribe()}updateHref(){var Z;const fe=this.urlTree;this.href=null!==fe&&this.locationStrategy?null===(Z=this.locationStrategy)||void 0===Z?void 0:Z.prepareExternalUrl(this.router.serializeUrl(fe)):null;const ke=null===this.href?null:(0,S.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ke)}applyAttributeValue(Z,fe){const ke=this.renderer,nt=this.el.nativeElement;null!==fe?ke.setAttribute(nt,Z,fe):ke.removeAttribute(nt,Z)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(z=J).\u0275fac=function(Z){return new(Z||z)(S.rXU(sr),S.rXU(oi),S.kS0("tabindex"),S.rXU(S.sFG),S.rXU(S.aKT),S.rXU(k.hb))},z.\u0275dir=S.FsC({type:z,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Z,fe){1&Z&&S.bIt("click",function(nt){return fe.onClick(nt.button,nt.ctrlKey,nt.shiftKey,nt.altKey,nt.metaKey)}),2&Z&&S.BMQ("target",fe.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[S.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",S.L39],skipLocationChange:[S.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",S.L39],replaceUrl:[S.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",S.L39],routerLink:"routerLink"},standalone:!0,features:[S.GFd,S.OA$]}),J})();class Rr{}let _i=(()=>{var z;class J{preload(Z,fe){return fe().pipe((0,y.W)(()=>(0,c.of)(null)))}}return(z=J).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})(),os=(()=>{var z;class J{constructor(Z,fe,ke,nt,jt){this.router=Z,this.injector=ke,this.preloadingStrategy=nt,this.loader=jt}setUpPreloading(){this.subscription=this.router.events.pipe((0,me.p)(Z=>Z instanceof qe),(0,h.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,fe){const ke=[];for(const Gt of fe){var nt,jt;Gt.providers&&!Gt._injector&&(Gt._injector=(0,S.Ol2)(Gt.providers,Z,`Route: ${Gt.path}`));const Bn=null!==(nt=Gt._injector)&&void 0!==nt?nt:Z,er=null!==(jt=Gt._loadedInjector)&&void 0!==jt?jt:Bn;var cn;(Gt.loadChildren&&!Gt._loadedRoutes&&void 0===Gt.canLoad||Gt.loadComponent&&!Gt._loadedComponent)&&ke.push(this.preloadConfig(Bn,Gt)),(Gt.children||Gt._loadedRoutes)&&ke.push(this.processRoutes(er,null!==(cn=Gt.children)&&void 0!==cn?cn:Gt._loadedRoutes))}return(0,R.H)(ke).pipe((0,Q.U)())}preloadConfig(Z,fe){return this.preloadingStrategy.preload(fe,()=>{let ke;ke=fe.loadChildren&&void 0===fe.canLoad?this.loader.loadChildren(Z,fe):(0,c.of)(null);const nt=ke.pipe((0,te.Z)(jt=>{var cn;return null===jt?(0,c.of)(void 0):(fe._loadedRoutes=jt.routes,fe._loadedInjector=jt.injector,this.processRoutes(null!==(cn=jt.injector)&&void 0!==cn?cn:Z,jt.routes))}));if(fe.loadComponent&&!fe._loadedComponent){const jt=this.loader.loadComponent(fe);return(0,R.H)([nt,jt]).pipe((0,Q.U)())}return nt})}}return(z=J).\u0275fac=function(Z){return new(Z||z)(S.KVO(sr),S.KVO(S.Ql9),S.KVO(S.uvJ),S.KVO(Rr),S.KVO(Lo))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),J})();const Os=new S.nKC("");let Do=(()=>{var z;class J{constructor(Z,fe,ke,nt,jt={}){this.urlSerializer=Z,this.transitions=fe,this.viewportScroller=ke,this.zone=nt,this.options=jt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,S.WQX)(S.uvJ),jt.scrollPositionRestoration||(jt.scrollPositionRestoration="disabled"),jt.anchorScrolling||(jt.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof Te?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof qe?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof Et&&Z.code===Kt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof Mn&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,fe){var ke=this;this.zone.runOutsideAngular((0,a.A)(function*(){yield new Promise(nt=>{setTimeout(()=>{nt()}),(0,S.mal)(()=>{nt()},{injector:ke.environmentInjector})}),ke.zone.run(()=>{ke.transitions.events.next(new Mn(Z,"popstate"===ke.lastSource?ke.store[ke.restoredId]:null,fe))})}))}ngOnDestroy(){var Z,fe;null===(Z=this.routerEventsSubscription)||void 0===Z||Z.unsubscribe(),null===(fe=this.scrollEventsSubscription)||void 0===fe||fe.unsubscribe()}}return(z=J).\u0275fac=function(Z){S.QTQ()},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac}),J})();function ni(z,J){return{\u0275kind:z,\u0275providers:J}}function Vo(){const z=(0,S.WQX)(S.zZn);return J=>{var ue,Z;const fe=z.get(S.o8S);if(J!==fe.components[0])return;const ke=z.get(sr),nt=z.get(io);1===z.get(qn)&&ke.initialNavigation(),null===(ue=z.get(as,null,S.$GK.Optional))||void 0===ue||ue.setUpPreloading(),null===(Z=z.get(Os,null,S.$GK.Optional))||void 0===Z||Z.init(),ke.resetRootComponentType(fe.componentTypes[0]),nt.closed||(nt.next(),nt.complete(),nt.unsubscribe())}}const io=new S.nKC("",{factory:()=>new P.B}),qn=new S.nKC("",{providedIn:"root",factory:()=>1}),as=new S.nKC("");function jo(z){return ni(0,[{provide:as,useExisting:os},{provide:Rr,useExisting:z}])}function La(z){return ni(9,[{provide:st,useValue:ze},{provide:de,useValue:{skipNextTransition:!(null==z||!z.skipInitialTransition),...z}}])}const ls=new S.nKC("ROUTER_FORROOT_GUARD"),Bi=[k.aZ,{provide:dt,useClass:Sn},sr,Le,{provide:oi,useFactory:function Uo(z){return z.routerState.root},deps:[sr]},Lo,[]];let $a=(()=>{var z;class J{constructor(Z){}static forRoot(Z,fe){return{ngModule:J,providers:[Bi,[],{provide:bo,multi:!0,useValue:Z},{provide:ls,useFactory:tu,deps:[[sr,new S.Xx1,new S.kdw]]},{provide:Co,useValue:fe||{}},null!=fe&&fe.useHash?{provide:k.hb,useClass:k.fw}:{provide:k.hb,useClass:k.Sm},{provide:Os,useFactory:()=>{const z=(0,S.WQX)(k.Xr),J=(0,S.WQX)(S.SKi),ue=(0,S.WQX)(Co),Z=(0,S.WQX)(Qt),fe=(0,S.WQX)(dt);return ue.scrollOffset&&z.setOffset(ue.scrollOffset),new Do(fe,Z,z,J,ue)}},null!=fe&&fe.preloadingStrategy?jo(fe.preloadingStrategy).\u0275providers:[],null!=fe&&fe.initialNavigation?Ic(fe):[],null!=fe&&fe.bindToComponentInputs?ni(8,[Vi,{provide:Mi,useExisting:Vi}]).\u0275providers:[],null!=fe&&fe.enableViewTransitions?La().\u0275providers:[],[{provide:Ns,useFactory:Vo},{provide:S.iLQ,multi:!0,useExisting:Ns}]]}}static forChild(Z){return{ngModule:J,providers:[{provide:bo,multi:!0,useValue:Z}]}}}return(z=J).\u0275fac=function(Z){return new(Z||z)(S.KVO(ls,8))},z.\u0275mod=S.$C({type:z}),z.\u0275inj=S.G2t({}),J})();function tu(z){return"guarded"}function Ic(z){return["disabled"===z.initialNavigation?ni(3,[{provide:S.hnV,multi:!0,useFactory:()=>{const J=(0,S.WQX)(sr);return()=>{J.setUpLocationChangeListener()}}},{provide:qn,useValue:2}]).\u0275providers:[],"enabledBlocking"===z.initialNavigation?ni(2,[{provide:qn,useValue:0},{provide:S.hnV,multi:!0,deps:[S.zZn],useFactory:J=>{const ue=J.get(k.hj,Promise.resolve());return()=>ue.then(()=>new Promise(Z=>{const fe=J.get(sr),ke=J.get(io);Br(fe,()=>{Z(!0)}),J.get(Qt).afterPreactivation=()=>(Z(!0),ke.closed?(0,c.of)(void 0):ke),fe.initialNavigation()}))}}]).\u0275providers:[]]}const Ns=new S.nKC("")},4517:(Ce,ee,E)=>{"use strict";E.d(ee,{Yq:()=>Dt,TS:()=>En,sR:()=>It,el:()=>Kn,Sb:()=>Pe,QE:()=>Tt,CF:()=>Ze,Rg:()=>An,p4:()=>wt,jM:()=>Xn,_t:()=>Ee,q9:()=>ht,y8:()=>yn,Kb:()=>mr,OD:()=>rt,CE:()=>Gn,pF:()=>$n,fL:()=>Yt,YV:()=>Vn,er:()=>Lt,z3:()=>qt});var a=E(467),S=E(4438),p=E(3021),R=E(177);class c{constructor(){this.m=new Map}reset(et){this.m=new Map(Object.entries(et))}get(et,Te){const qe=this.m.get(et);return void 0!==qe?qe:Te}getBoolean(et,Te=!1){const qe=this.m.get(et);return void 0===qe?Te:"string"==typeof qe?"true"===qe:!!qe}getNumber(et,Te){const qe=parseFloat(this.m.get(et));return isNaN(qe)?void 0!==Te?Te:NaN:qe}set(et,Te){this.m.set(et,Te)}}const D=new c,A=Ke=>P(Ke),P=(Ke=window)=>{if(typeof Ke>"u")return[];Ke.Ionic=Ke.Ionic||{};let et=Ke.Ionic.platforms;return null==et&&(et=Ke.Ionic.platforms=$(Ke),et.forEach(Te=>Ke.document.documentElement.classList.add(`plt-${Te}`))),et},$=Ke=>{const et=D.get("platform");return Object.keys(y).filter(Te=>{const qe=null==et?void 0:et[Te];return"function"==typeof qe?qe(Ke):y[Te](Ke)})},M=Ke=>!!(h(Ke,/iPad/i)||h(Ke,/Macintosh/i)&&te(Ke)),j=Ke=>h(Ke,/android|sink/i),te=Ke=>v(Ke,"(any-pointer:coarse)"),m=Ke=>n(Ke)||o(Ke),n=Ke=>!!(Ke.cordova||Ke.phonegap||Ke.PhoneGap),o=Ke=>{const et=Ke.Capacitor;return!(null==et||!et.isNative)},h=(Ke,et)=>et.test(Ke.navigator.userAgent),v=(Ke,et)=>{var Te;return null===(Te=Ke.matchMedia)||void 0===Te?void 0:Te.call(Ke,et).matches},y={ipad:M,iphone:Ke=>h(Ke,/iPhone/i),ios:Ke=>h(Ke,/iPhone|iPod/i)||M(Ke),android:j,phablet:Ke=>{const et=Ke.innerWidth,Te=Ke.innerHeight,qe=Math.min(et,Te),bt=Math.max(et,Te);return qe>390&&qe<520&&bt>620&&bt<800},tablet:Ke=>{const et=Ke.innerWidth,Te=Ke.innerHeight,qe=Math.min(et,Te),bt=Math.max(et,Te);return M(Ke)||(Ke=>j(Ke)&&!h(Ke,/mobile/i))(Ke)||qe>460&&qe<820&&bt>780&&bt<1400},cordova:n,capacitor:o,electron:Ke=>h(Ke,/electron/i),pwa:Ke=>{var et;return!!(null!==(et=Ke.matchMedia)&&void 0!==et&&et.call(Ke,"(display-mode: standalone)").matches||Ke.navigator.standalone)},mobile:te,mobileweb:Ke=>te(Ke)&&!m(Ke),desktop:Ke=>!te(Ke),hybrid:m};var L=E(6031),I=E(1656),V=E(1413),q=E(3726),oe=E(4412),ve=E(4572),Ae=E(7673),Q=E(1635),ae=E(5964),tt=E(5558),Oe=E(3669),pe=E(9974),Ie=E(4360);function re(Ke,et){return Ke===et}var ne=E(9417);const G=["tabsInner"];class Ee{constructor(et){this.menuController=et}open(et){return this.menuController.open(et)}close(et){return this.menuController.close(et)}toggle(et){return this.menuController.toggle(et)}enable(et,Te){return this.menuController.enable(et,Te)}swipeGesture(et,Te){return this.menuController.swipeGesture(et,Te)}isOpen(et){return this.menuController.isOpen(et)}isEnabled(et){return this.menuController.isEnabled(et)}get(et){return this.menuController.get(et)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(et,Te){return this.menuController.registerAnimation(et,Te)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(et,Te){return this.menuController._createAnimation(et,Te)}_register(et){return this.menuController._register(et)}_unregister(et){return this.menuController._unregister(et)}_setOpen(et,Te,qe){return this.menuController._setOpen(et,Te,qe)}}let rt=(()=>{class Ke{constructor(Te,qe){this.doc=Te,this.backButton=new V.B,this.keyboardDidShow=new V.B,this.keyboardDidHide=new V.B,this.pause=new V.B,this.resume=new V.B,this.resize=new V.B,qe.run(()=>{var bt;let Kt;this.win=Te.defaultView,this.backButton.subscribeWithPriority=function(hn,Et){return this.subscribe(zt=>zt.register(hn,ye=>qe.run(()=>Et(ye))))},gt(this.pause,Te,"pause",qe),gt(this.resume,Te,"resume",qe),gt(this.backButton,Te,"ionBackButton",qe),gt(this.resize,this.win,"resize",qe),gt(this.keyboardDidShow,this.win,"ionKeyboardDidShow",qe),gt(this.keyboardDidHide,this.win,"ionKeyboardDidHide",qe),this._readyPromise=new Promise(hn=>{Kt=hn}),null!==(bt=this.win)&&void 0!==bt&&bt.cordova?Te.addEventListener("deviceready",()=>{Kt("cordova")},{once:!0}):Kt("dom")})}is(Te){return((Ke,et)=>("string"==typeof Ke&&(et=Ke,Ke=void 0),A(Ke).includes(et)))(this.win,Te)}platforms(){return A(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(Te){return nn(this.win.location.href,Te)}isLandscape(){return!this.isPortrait()}isPortrait(){var Te,qe;return null===(Te=(qe=this.win).matchMedia)||void 0===Te?void 0:Te.call(qe,"(orientation: portrait)").matches}testUserAgent(Te){const qe=this.win.navigator;return!!(null!=qe&&qe.userAgent&&qe.userAgent.indexOf(Te)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.KVO(R.qQ),S.KVO(S.SKi))},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const nn=(Ke,et)=>{et=et.replace(/[[\]\\]/g,"\\$&");const qe=new RegExp("[\\?&]"+et+"=([^&#]*)").exec(Ke);return qe?decodeURIComponent(qe[1].replace(/\+/g," ")):null},gt=(Ke,et,Te,qe)=>{et&&et.addEventListener(Te,bt=>{qe.run(()=>{Ke.next(null!=bt?bt.detail:void 0)})})};let ht=(()=>{class Ke{constructor(Te,qe,bt,Kt){this.location=qe,this.serializer=bt,this.router=Kt,this.direction=Mt,this.animated=Pt,this.guessDirection="forward",this.lastNavId=-1,Kt&&Kt.events.subscribe(hn=>{if(hn instanceof p.Z){const Et=hn.restoredState?hn.restoredState.navigationId:hn.id;this.guessDirection=Et{this.pop(),hn()})}navigateForward(Te,qe={}){return this.setDirection("forward",qe.animated,qe.animationDirection,qe.animation),this.navigate(Te,qe)}navigateBack(Te,qe={}){return this.setDirection("back",qe.animated,qe.animationDirection,qe.animation),this.navigate(Te,qe)}navigateRoot(Te,qe={}){return this.setDirection("root",qe.animated,qe.animationDirection,qe.animation),this.navigate(Te,qe)}back(Te={animated:!0,animationDirection:"back"}){return this.setDirection("back",Te.animated,Te.animationDirection,Te.animation),this.location.back()}pop(){var Te=this;return(0,a.A)(function*(){let qe=Te.topOutlet;for(;qe;){if(yield qe.pop())return!0;qe=qe.parentOutlet}return!1})()}setDirection(Te,qe,bt,Kt){this.direction=Te,this.animated=on(Te,qe,bt),this.animationBuilder=Kt}setTopOutlet(Te){this.topOutlet=Te}consumeTransition(){let qe,Te="root";const bt=this.animationBuilder;return"auto"===this.direction?(Te=this.guessDirection,qe=this.guessAnimation):(qe=this.animated,Te=this.direction),this.direction=Mt,this.animated=Pt,this.animationBuilder=void 0,{direction:Te,animation:qe,animationBuilder:bt}}navigate(Te,qe){if(Array.isArray(Te))return this.router.navigate(Te,qe);{const bt=this.serializer.parse(Te.toString());return void 0!==qe.queryParams&&(bt.queryParams={...qe.queryParams}),void 0!==qe.fragment&&(bt.fragment=qe.fragment),this.router.navigateByUrl(bt,qe)}}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.KVO(rt),S.KVO(R.aZ),S.KVO(p.Sd),S.KVO(p.Ix,8))},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const on=(Ke,et,Te)=>{if(!1!==et){if(void 0!==Te)return Te;if("forward"===Ke||"back"===Ke)return Ke;if("root"===Ke&&!0===et)return"forward"}},Mt="auto",Pt=void 0;let En=(()=>{class Ke{get(Te,qe){const bt=Ft();return bt?bt.get(Te,qe):null}getBoolean(Te,qe){const bt=Ft();return!!bt&&bt.getBoolean(Te,qe)}getNumber(Te,qe){const bt=Ft();return bt?bt.getNumber(Te,qe):0}}return Ke.\u0275fac=function(Te){return new(Te||Ke)},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const It=new S.nKC("USERCONFIG"),Ft=()=>{if(typeof window<"u"){const Ke=window.Ionic;if(null!=Ke&&Ke.config)return Ke.config}return null};class yn{constructor(et={}){this.data=et}get(et){return this.data[et]}}let Dt=(()=>{class Ke{constructor(){this.zone=(0,S.WQX)(S.SKi),this.applicationRef=(0,S.WQX)(S.o8S)}create(Te,qe,bt){return new _t(Te,qe,this.applicationRef,this.zone,bt)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac}),Ke})();class _t{constructor(et,Te,qe,bt,Kt){this.environmentInjector=et,this.injector=Te,this.applicationRef=qe,this.zone=bt,this.elementReferenceKey=Kt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(et,Te,qe,bt){return this.zone.run(()=>new Promise(Kt=>{const hn={...qe};void 0!==this.elementReferenceKey&&(hn[this.elementReferenceKey]=et),Kt(Cn(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,et,Te,hn,bt,this.elementReferenceKey))}))}removeViewFromDom(et,Te){return this.zone.run(()=>new Promise(qe=>{const bt=this.elRefMap.get(Te);if(bt){bt.destroy(),this.elRefMap.delete(Te);const Kt=this.elEventsMap.get(Te);Kt&&(Kt(),this.elEventsMap.delete(Te))}qe()}))}}const Cn=(Ke,et,Te,qe,bt,Kt,hn,Et,zt,ye,We)=>{const ct=S.zZn.create({providers:kt(zt),parent:Te}),xt=(0,S.a0P)(Et,{environmentInjector:et,elementInjector:ct}),Xt=xt.instance,$t=xt.location.nativeElement;if(zt&&(We&&void 0!==Xt[We]&&console.error(`[Ionic Error]: ${We} is a reserved property when using ${hn.tagName.toLowerCase()}. Rename or remove the "${We}" property from ${Et.name}.`),Object.assign(Xt,zt)),ye)for(const ln of ye)$t.classList.add(ln);const an=dt(Ke,Xt,$t);return hn.appendChild($t),qe.attachView(xt.hostView),bt.set($t,xt),Kt.set($t,an),$t},St=[L.L,L.a,L.b,L.c,L.d],dt=(Ke,et,Te)=>Ke.run(()=>{const qe=St.filter(bt=>"function"==typeof et[bt]).map(bt=>{const Kt=hn=>et[bt](hn.detail);return Te.addEventListener(bt,Kt),()=>Te.removeEventListener(bt,Kt)});return()=>qe.forEach(bt=>bt())}),Sn=new S.nKC("NavParamsToken"),kt=Ke=>[{provide:Sn,useValue:Ke},{provide:yn,useFactory:Nt,deps:[Sn]}],Nt=Ke=>new yn(Ke),Un=(Ke,et)=>{const Te=Ke.prototype;et.forEach(qe=>{Object.defineProperty(Te,qe,{get(){return this.el[qe]},set(bt){this.z.runOutsideAngular(()=>this.el[qe]=bt)}})})},Ut=(Ke,et)=>{const Te=Ke.prototype;et.forEach(qe=>{Te[qe]=function(){const bt=arguments;return this.z.runOutsideAngular(()=>this.el[qe].apply(this.el,bt))}})},Ve=(Ke,et,Te)=>{Te.forEach(qe=>Ke[qe]=(0,q.R)(et,qe))};function _e(Ke){return function(Te){const{defineCustomElementFn:qe,inputs:bt,methods:Kt}=Ke;return void 0!==qe&&qe(),bt&&Un(Te,bt),Kt&&Ut(Te,Kt),Te}}const De=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Me=["present","dismiss","onDidDismiss","onWillDismiss"];let Ze=(()=>{let Ke=class{constructor(Te,qe,bt){this.z=bt,this.isCmpOpen=!1,this.el=qe.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Te.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Te.detectChanges()}),Ve(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["ion-popover"]],contentQueries:function(Te,qe,bt){if(1&Te&&S.wni(bt,S.C4Q,5),2&Te){let Kt;S.mGM(Kt=S.lsd())&&(qe.template=Kt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),Ke=(0,Q.Cg)([_e({inputs:De,methods:Me})],Ke),Ke})();const $e=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],it=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Pe=(()=>{let Ke=class{constructor(Te,qe,bt){this.z=bt,this.isCmpOpen=!1,this.el=qe.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Te.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Te.detectChanges()}),Ve(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["ion-modal"]],contentQueries:function(Te,qe,bt){if(1&Te&&S.wni(bt,S.C4Q,5),2&Te){let Kt;S.mGM(Kt=S.lsd())&&(qe.template=Kt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),Ke=(0,Q.Cg)([_e({inputs:$e,methods:it})],Ke),Ke})();const Ue=(Ke,et)=>((Ke=Ke.filter(Te=>Te.stackId!==et.stackId)).push(et),Ke),at=(Ke,et)=>{const Te=Ke.createUrlTree(["."],{relativeTo:et});return Ke.serializeUrl(Te)},Jt=(Ke,et)=>!et||Ke.stackId!==et.stackId,yt=(Ke,et)=>{if(!Ke)return;const Te=mt(et);for(let qe=0;qe=Ke.length)return Te[qe];if(Te[qe]!==Ke[qe])return}},mt=Ke=>Ke.split("/").map(et=>et.trim()).filter(et=>""!==et),Wt=Ke=>{Ke&&(Ke.ref.destroy(),Ke.unlistenEvents())};class Ot{constructor(et,Te,qe,bt,Kt,hn){this.containerEl=Te,this.router=qe,this.navCtrl=bt,this.zone=Kt,this.location=hn,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==et?mt(et):void 0}createView(et,Te){var qe;const bt=at(this.router,Te),Kt=null==et||null===(qe=et.location)||void 0===qe?void 0:qe.nativeElement,hn=dt(this.zone,et.instance,Kt);return{id:this.nextId++,stackId:yt(this.tabsPrefix,bt),unlistenEvents:hn,element:Kt,ref:et,url:bt}}getExistingView(et){const Te=at(this.router,et),qe=this.views.find(bt=>bt.url===Te);return qe&&qe.ref.changeDetectorRef.reattach(),qe}setActive(et){var Te,qe;const bt=this.navCtrl.consumeTransition();let{direction:Kt,animation:hn,animationBuilder:Et}=bt;const zt=this.activeView,ye=Jt(et,zt);ye&&(Kt="back",hn=void 0);const We=this.views.slice();let ct;const xt=this.router;xt.getCurrentNavigation?ct=xt.getCurrentNavigation():null!==(Te=xt.navigations)&&void 0!==Te&&Te.value&&(ct=xt.navigations.value),null!==(qe=ct)&&void 0!==qe&&null!==(qe=qe.extras)&&void 0!==qe&&qe.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Xt=this.views.includes(et),$t=this.insertView(et,Kt);Xt||et.ref.changeDetectorRef.detectChanges();const an=et.animationBuilder;return void 0===Et&&"back"===Kt&&!ye&&void 0!==an&&(Et=an),zt&&(zt.animationBuilder=Et),this.zone.runOutsideAngular(()=>this.wait(()=>(zt&&zt.ref.changeDetectorRef.detach(),et.ref.changeDetectorRef.reattach(),this.transition(et,zt,hn,this.canGoBack(1),!1,Et).then(()=>Rt(et,$t,We,this.location,this.zone)).then(()=>({enteringView:et,direction:Kt,animation:hn,tabSwitch:ye})))))}canGoBack(et,Te=this.getActiveStackId()){return this.getStack(Te).length>et}pop(et,Te=this.getActiveStackId()){return this.zone.run(()=>{const qe=this.getStack(Te);if(qe.length<=et)return Promise.resolve(!1);const bt=qe[qe.length-et-1];let Kt=bt.url;const hn=bt.savedData;if(hn){var Et;const ye=hn.get("primary");null!=ye&&null!==(Et=ye.route)&&void 0!==Et&&null!==(Et=Et._routerState)&&void 0!==Et&&Et.snapshot.url&&(Kt=ye.route._routerState.snapshot.url)}const{animationBuilder:zt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Kt,{...bt.savedExtras,animation:zt}).then(()=>!0)})}startBackTransition(){const et=this.activeView;if(et){const Te=this.getStack(et.stackId),qe=Te[Te.length-2],bt=qe.animationBuilder;return this.wait(()=>this.transition(qe,et,"back",this.canGoBack(2),!0,bt))}return Promise.resolve()}endBackTransition(et){et?(this.skipTransition=!0,this.pop(1)):this.activeView&&Fn(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(et){const Te=this.getStack(et);return Te.length>0?Te[Te.length-1]:void 0}getRootUrl(et){const Te=this.getStack(et);return Te.length>0?Te[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Wt),this.activeView=void 0,this.views=[]}getStack(et){return this.views.filter(Te=>Te.stackId===et)}insertView(et,Te){return this.activeView=et,this.views=((Ke,et,Te)=>"root"===Te?Ue(Ke,et):"forward"===Te?((Ke,et)=>(Ke.indexOf(et)>=0?Ke=Ke.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):Ke.push(et),Ke))(Ke,et):((Ke,et)=>Ke.indexOf(et)>=0?Ke.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):Ue(Ke,et))(Ke,et))(this.views,et,Te),this.views.slice()}transition(et,Te,qe,bt,Kt,hn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(Te===et)return Promise.resolve(!1);const Et=et?et.element:void 0,zt=Te?Te.element:void 0,ye=this.containerEl;return Et&&Et!==zt&&(Et.classList.add("ion-page"),Et.classList.add("ion-page-invisible"),Et.parentElement!==ye&&ye.appendChild(Et),ye.commit)?ye.commit(Et,zt,{duration:void 0===qe?0:void 0,direction:qe,showGoBack:bt,progressAnimation:Kt,animationBuilder:hn}):Promise.resolve(!1)}wait(et){var Te=this;return(0,a.A)(function*(){void 0!==Te.runningTask&&(yield Te.runningTask,Te.runningTask=void 0);const qe=Te.runningTask=et();return qe.finally(()=>Te.runningTask=void 0),qe})()}}const Rt=(Ke,et,Te,qe,bt)=>"function"==typeof requestAnimationFrame?new Promise(Kt=>{requestAnimationFrame(()=>{Fn(Ke,et,Te,qe,bt),Kt()})}):Promise.resolve(),Fn=(Ke,et,Te,qe,bt)=>{bt.run(()=>Te.filter(Kt=>!et.includes(Kt)).forEach(Wt)),et.forEach(Kt=>{const Et=qe.path().split("?")[0].split("#")[0];if(Kt!==Ke&&Kt.url!==Et){const zt=Kt.element;zt.setAttribute("aria-hidden","true"),zt.classList.add("ion-page-hidden"),Kt.ref.changeDetectorRef.detach()}})};let An=(()=>{class Ke{constructor(Te,qe,bt,Kt,hn,Et,zt,ye){this.parentOutlet=ye,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new oe.t(null),this.activated=null,this._activatedRoute=null,this.name=p.Xk,this.stackWillChange=new S.bkB,this.stackDidChange=new S.bkB,this.activateEvents=new S.bkB,this.deactivateEvents=new S.bkB,this.parentContexts=(0,S.WQX)(p.Zp),this.location=(0,S.WQX)(S.c1b),this.environmentInjector=(0,S.WQX)(S.uvJ),this.inputBinder=(0,S.WQX)(bn,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,S.WQX)(En),this.navCtrl=(0,S.WQX)(ht),this.nativeEl=Kt.nativeElement,this.name=Te||p.Xk,this.tabsPrefix="true"===qe?at(hn,zt):void 0,this.stackCtrl=new Ot(this.tabsPrefix,this.nativeEl,hn,this.navCtrl,Et,bt),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(Te){this.nativeEl.animation=Te}set animated(Te){this.nativeEl.animated=Te}set swipeGesture(Te){this._swipeGesture=Te,this.nativeEl.swipeHandler=Te?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:qe=>this.stackCtrl.endBackTransition(qe)}:void 0}ngOnDestroy(){var Te;this.stackCtrl.destroy(),null===(Te=this.inputBinder)||void 0===Te||Te.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const Te=this.getContext();null!=Te&&Te.route&&this.activateWith(Te.route,Te.injector)}new Promise(Te=>(0,I.c)(this.nativeEl,Te)).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(Te,qe){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const qe=this.getContext();this.activatedView.savedData=new Map(qe.children.contexts);const bt=this.activatedView.savedData.get("primary");if(bt&&qe.route&&(bt.route={...qe.route}),this.activatedView.savedExtras={},qe.route){const Kt=qe.route.snapshot;this.activatedView.savedExtras.queryParams=Kt.queryParams,this.activatedView.savedExtras.fragment=Kt.fragment}}const Te=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Te)}}activateWith(Te,qe){var bt;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=Te;let Kt,hn=this.stackCtrl.getExistingView(Te);if(hn){Kt=this.activated=hn.ref;const ye=hn.savedData;ye&&(this.getContext().children.contexts=ye),this.updateActivatedRouteProxy(Kt.instance,Te)}else{var Et;const ye=Te._futureSnapshot,We=this.parentContexts.getOrCreateContext(this.name).children,ct=new oe.t(null),xt=this.createActivatedRouteProxy(ct,Te),Xt=new wn(xt,We,this.location.injector),$t=null!==(Et=ye.routeConfig.component)&&void 0!==Et?Et:ye.component;Kt=this.activated=this.location.createComponent($t,{index:this.location.length,injector:Xt,environmentInjector:null!=qe?qe:this.environmentInjector}),ct.next(Kt.instance),hn=this.stackCtrl.createView(this.activated,Te),this.proxyMap.set(Kt.instance,xt),this.currentActivatedRoute$.next({component:Kt.instance,activatedRoute:Te})}null===(bt=this.inputBinder)||void 0===bt||bt.bindActivatedRouteToOutletComponent(this),this.activatedView=hn,this.navCtrl.setTopOutlet(this);const zt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:hn,tabSwitch:Jt(hn,zt)}),this.stackCtrl.setActive(hn).then(ye=>{this.activateEvents.emit(Kt.instance),this.stackDidChange.emit(ye)})}canGoBack(Te=1,qe){return this.stackCtrl.canGoBack(Te,qe)}pop(Te=1,qe){return this.stackCtrl.pop(Te,qe)}getLastUrl(Te){const qe=this.stackCtrl.getLastUrl(Te);return qe?qe.url:void 0}getLastRouteView(Te){return this.stackCtrl.getLastUrl(Te)}getRootView(Te){return this.stackCtrl.getRootUrl(Te)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(Te,qe){const bt=new p.nX;return bt._futureSnapshot=qe._futureSnapshot,bt._routerState=qe._routerState,bt.snapshot=qe.snapshot,bt.outlet=qe.outlet,bt.component=qe.component,bt._paramMap=this.proxyObservable(Te,"paramMap"),bt._queryParamMap=this.proxyObservable(Te,"queryParamMap"),bt.url=this.proxyObservable(Te,"url"),bt.params=this.proxyObservable(Te,"params"),bt.queryParams=this.proxyObservable(Te,"queryParams"),bt.fragment=this.proxyObservable(Te,"fragment"),bt.data=this.proxyObservable(Te,"data"),bt}proxyObservable(Te,qe){return Te.pipe((0,ae.p)(bt=>!!bt),(0,tt.n)(bt=>this.currentActivatedRoute$.pipe((0,ae.p)(Kt=>null!==Kt&&Kt.component===bt),(0,tt.n)(Kt=>Kt&&Kt.activatedRoute[qe]),function Se(Ke,et=Oe.D){return Ke=null!=Ke?Ke:re,(0,pe.N)((Te,qe)=>{let bt,Kt=!0;Te.subscribe((0,Ie._)(qe,hn=>{const Et=et(hn);(Kt||!Ke(bt,Et))&&(Kt=!1,bt=Et,qe.next(hn))}))})}())))}updateActivatedRouteProxy(Te,qe){const bt=this.proxyMap.get(Te);if(!bt)throw new Error("Could not find activated route proxy for view");bt._futureSnapshot=qe._futureSnapshot,bt._routerState=qe._routerState,bt.snapshot=qe.snapshot,bt.outlet=qe.outlet,bt.component=qe.component,this.currentActivatedRoute$.next({component:Te,activatedRoute:qe})}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.kS0("name"),S.kS0("tabs"),S.rXU(R.aZ),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(S.SKi),S.rXU(p.nX),S.rXU(Ke,12))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),Ke})();class wn{constructor(et,Te,qe){this.route=et,this.childContexts=Te,this.parent=qe}get(et,Te){return et===p.nX?this.route:et===p.Zp?this.childContexts:this.parent.get(et,Te)}}const bn=new S.nKC("");let Wn=(()=>{class Ke{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Te){this.unsubscribeFromRouteData(Te),this.subscribeToRouteData(Te)}unsubscribeFromRouteData(Te){var qe;null===(qe=this.outletDataSubscriptions.get(Te))||void 0===qe||qe.unsubscribe(),this.outletDataSubscriptions.delete(Te)}subscribeToRouteData(Te){const{activatedRoute:qe}=Te,bt=(0,ve.z)([qe.queryParams,qe.params,qe.data]).pipe((0,tt.n)(([Kt,hn,Et],zt)=>(Et={...Kt,...hn,...Et},0===zt?(0,Ae.of)(Et):Promise.resolve(Et)))).subscribe(Kt=>{if(!Te.isActivated||!Te.activatedComponentRef||Te.activatedRoute!==qe||null===qe.component)return void this.unsubscribeFromRouteData(Te);const hn=(0,S.HJs)(qe.component);if(hn)for(const{templateName:Et}of hn.inputs)Te.activatedComponentRef.setInput(Et,Kt[Et]);else this.unsubscribeFromRouteData(Te)});this.outletDataSubscriptions.set(Te,bt)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)},Ke.\u0275prov=S.jDH({token:Ke,factory:Ke.\u0275fac}),Ke})();const Vn=()=>({provide:bn,useFactory:Pn,deps:[p.Ix]});function Pn(Ke){return null!=Ke&&Ke.componentInputBindingEnabled?new Wn:null}const Ln=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Kn=(()=>{let Ke=class{constructor(Te,qe,bt,Kt,hn,Et){this.routerOutlet=Te,this.navCtrl=qe,this.config=bt,this.r=Kt,this.z=hn,Et.detach(),this.el=this.r.nativeElement}onClick(Te){var qe;const bt=this.defaultHref||this.config.get("backButtonDefaultHref");null!==(qe=this.routerOutlet)&&void 0!==qe&&qe.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),Te.preventDefault()):null!=bt&&(this.navCtrl.navigateBack(bt,{animation:this.routerAnimation}),Te.preventDefault())}};return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(An,8),S.rXU(ht),S.rXU(En),S.rXU(S.aKT),S.rXU(S.SKi),S.rXU(S.gRc))},Ke.\u0275dir=S.FsC({type:Ke,hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(Kt){return qe.onClick(Kt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),Ke=(0,Q.Cg)([_e({inputs:Ln})],Ke),Ke})(),Gn=(()=>{class Ke{constructor(Te,qe,bt,Kt,hn){this.locationStrategy=Te,this.navCtrl=qe,this.elementRef=bt,this.router=Kt,this.routerLink=hn,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Te;if(null!==(Te=this.routerLink)&&void 0!==Te&&Te.urlTree){const qe=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=qe}}onClick(Te){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),Te.preventDefault()}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(R.hb),S.rXU(ht),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(Kt){return qe.onClick(Kt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),Ke})(),$n=(()=>{class Ke{constructor(Te,qe,bt,Kt,hn){this.locationStrategy=Te,this.navCtrl=qe,this.elementRef=bt,this.router=Kt,this.routerLink=hn,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Te;if(null!==(Te=this.routerLink)&&void 0!==Te&&Te.urlTree){const qe=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=qe}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(R.hb),S.rXU(ht),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(){return qe.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),Ke})();const je=["animated","animation","root","rootParams","swipeGesture"],lt=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let Tt=(()=>{let Ke=class{constructor(Te,qe,bt,Kt,hn,Et){this.z=hn,Et.detach(),this.el=Te.nativeElement,Te.nativeElement.delegate=Kt.create(qe,bt),Ve(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(S.aKT),S.rXU(S.uvJ),S.rXU(S.zZn),S.rXU(Dt),S.rXU(S.SKi),S.rXU(S.gRc))},Ke.\u0275dir=S.FsC({type:Ke,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),Ke=(0,Q.Cg)([_e({inputs:je,methods:lt})],Ke),Ke})(),wt=(()=>{class Ke{constructor(Te){this.navCtrl=Te,this.ionTabsWillChange=new S.bkB,this.ionTabsDidChange=new S.bkB,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:Te,tabSwitch:qe}){const bt=Te.stackId;qe&&void 0!==bt&&this.ionTabsWillChange.emit({tab:bt})}onStackDidChange({enteringView:Te,tabSwitch:qe}){const bt=Te.stackId;qe&&void 0!==bt&&(this.tabBar&&(this.tabBar.selectedTab=bt),this.ionTabsDidChange.emit({tab:bt}))}select(Te){const qe="string"==typeof Te,bt=qe?Te:Te.detail.tab,Kt=this.outlet.getActiveStackId()===bt,hn=`${this.outlet.tabsPrefix}/${bt}`;if(qe||Te.stopPropagation(),Kt){const Et=this.outlet.getActiveStackId(),zt=this.outlet.getLastRouteView(Et);if((null==zt?void 0:zt.url)===hn)return;const ye=this.outlet.getRootView(bt);return this.navCtrl.navigateRoot(hn,{...ye&&hn===ye.url&&ye.savedExtras,animated:!0,animationDirection:"back"})}{const Et=this.outlet.getLastRouteView(bt);return this.navCtrl.navigateRoot((null==Et?void 0:Et.url)||hn,{...null==Et?void 0:Et.savedExtras,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(Te=>{const qe=Te.el.getAttribute("slot");qe!==this.tabBarSlot&&(this.tabBarSlot=qe,this.relocateTabBar())})}relocateTabBar(){const Te=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(Te):this.tabsInner.nativeElement.after(Te)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(ht))},Ke.\u0275dir=S.FsC({type:Ke,selectors:[["ion-tabs"]],viewQuery:function(Te,qe){if(1&Te&&S.GBs(G,7,S.aKT),2&Te){let bt;S.mGM(bt=S.lsd())&&(qe.tabsInner=bt.first)}},hostBindings:function(Te,qe){1&Te&&S.bIt("ionTabButtonClick",function(Kt){return qe.select(Kt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),Ke})();const Lt=Ke=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Ke):"function"==typeof requestAnimationFrame?requestAnimationFrame(Ke):setTimeout(Ke);let Yt=(()=>{class Ke{constructor(Te,qe){this.injector=Te,this.elementRef=qe,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(Te){this.elementRef.nativeElement.value=this.lastValue=Te,qt(this.elementRef)}handleValueChange(Te,qe){Te===this.elementRef.nativeElement&&(qe!==this.lastValue&&(this.lastValue=qe,this.onChange(qe)),qt(this.elementRef))}_handleBlurEvent(Te){Te===this.elementRef.nativeElement&&(this.onTouched(),qt(this.elementRef))}registerOnChange(Te){this.onChange=Te}registerOnTouched(Te){this.onTouched=Te}setDisabledState(Te){this.elementRef.nativeElement.disabled=Te}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let Te;try{Te=this.injector.get(ne.vO)}catch{}if(!Te)return;Te.statusChanges&&(this.statusChanges=Te.statusChanges.subscribe(()=>qt(this.elementRef)));const qe=Te.control;qe&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(Kt=>{if(typeof qe[Kt]<"u"){const hn=qe[Kt].bind(qe);qe[Kt]=(...Et)=>{hn(...Et),qt(this.elementRef)}}})}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(S.rXU(S.zZn),S.rXU(S.aKT))},Ke.\u0275dir=S.FsC({type:Ke,hostBindings:function(Te,qe){1&Te&&S.bIt("ionBlur",function(Kt){return qe._handleBlurEvent(Kt.target)})}}),Ke})();const qt=Ke=>{Lt(()=>{const et=Ke.nativeElement,Te=null!=et.value&&et.value.toString().length>0,qe=Zt(et);Tn(et,qe);const bt=et.closest("ion-item");bt&&Tn(bt,Te?[...qe,"item-has-value"]:qe)})},Zt=Ke=>{const et=Ke.classList,Te=[];for(let qe=0;qe{const Te=Ke.classList;Te.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),Te.add(...et)},Dn=(Ke,et)=>Ke.substring(0,et.length)===et;class Xn{shouldDetach(et){return!1}shouldAttach(et){return!1}store(et,Te){}retrieve(et){return null}shouldReuseRoute(et,Te){if(et.routeConfig!==Te.routeConfig)return!1;const qe=et.params,bt=Te.params,Kt=Object.keys(qe),hn=Object.keys(bt);if(Kt.length!==hn.length)return!1;for(const Et of Kt)if(bt[Et]!==qe[Et])return!1;return!0}}class mr{constructor(et){this.ctrl=et}create(et){return this.ctrl.create(et||{})}dismiss(et,Te,qe){return this.ctrl.dismiss(et,Te,qe)}getTop(){return this.ctrl.getTop()}}},8974:(Ce,ee,E)=>{"use strict";E.d(ee,{hG:()=>We,hB:()=>h,wH:()=>Xt,U1:()=>ae,Jm:()=>re,QW:()=>ne,b_:()=>G,I9:()=>Ee,ME:()=>vt,tN:()=>rt,eY:()=>nn,ZB:()=>gt,hU:()=>ht,W9:()=>on,Q8:()=>En,YW:()=>It,M0:()=>yn,eU:()=>_t,iq:()=>Cn,Ax:()=>dt,Hp:()=>Sn,$w:()=>kt,uz:()=>Nt,he:()=>Me,nf:()=>Ze,oS:()=>Pe,Sb:()=>bt,KO:()=>yt,f0:()=>mt,To:()=>Ot,Ki:()=>Rt,Rg:()=>Xn,ln:()=>bn,w2:()=>$n,HP:()=>je,Jq:()=>lt,qW:()=>Tt,p4:()=>mr,IO:()=>wt,BC:()=>qt,ai:()=>Dn,bv:()=>pr,Xi:()=>$t,_t:()=>an,W3:()=>ln,IE:()=>un,uR:()=>y,Je:()=>f,Gw:()=>r,K_:()=>tn});var a=E(4438),S=E(9417),p=E(4517),R=E(1635),c=E(3726),D=E(177),C=E(3021),F=(E(3503),E(7555),E(4569),E(2942),E(405)),A=E(611),B=E(464),P=E(5384),$=E(5516),M=(E(8476),E(4363));E(8221),E(3113);var ie=E(467);const me=A.i,te=function(){var X=(0,ie.A)(function*(Le,le){if(!(typeof window>"u"))return yield me(),(0,M.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"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]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"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]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"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]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"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]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocapitalize":[1],"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],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"lang":["onLangChanged"],"dir":["onDirChanged"],"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["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]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[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-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"formatOptions":[16],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"formatOptions":["formatOptionsChanged"],"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"presentation":["presentationChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"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]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"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],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),le)});return function(le,Ye){return X.apply(this,arguments)}}(),se=["*"],m=["outlet"],n=[[["","slot","top"]],"*"],o=["[slot=top]","*"];function u(X,Le){if(1&X&&(a.j41(0,"div",1),a.eu8(1,2),a.k0s()),2&X){const le=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",le.template)}}let h=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}writeValue(le){this.elementRef.nativeElement.checked=this.lastValue=le,(0,p.z3)(this.elementRef)}_handleIonChange(le){this.handleValueChange(le,le.checked)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionChange",function(Nn){return Ye._handleIonChange(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),y=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleIonSelect(le){this.handleValueChange(le,le.checked)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-radio"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionSelect",function(Nn){return Ye._handleIonSelect(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),f=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleChangeEvent(le){this.handleValueChange(le,le.value)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionChange",function(Nn){return Ye._handleChangeEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),r=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleInputEvent(le){this.handleValueChange(le,le.value)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionInput",function(Nn){return Ye._handleInputEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})();const d=(X,Le)=>{const le=X.prototype;Le.forEach(Ye=>{Object.defineProperty(le,Ye,{get(){return this.el[Ye]},set(Bt){this.z.runOutsideAngular(()=>this.el[Ye]=Bt)},configurable:!0})})},L=(X,Le)=>{const le=X.prototype;Le.forEach(Ye=>{le[Ye]=function(){const Bt=arguments;return this.z.runOutsideAngular(()=>this.el[Ye].apply(this.el,Bt))}})},I=(X,Le,le)=>{le.forEach(Ye=>X[Ye]=(0,c.R)(Le,Ye))};function q(X){return function(le){const{defineCustomElementFn:Ye,inputs:Bt,methods:Nn}=X;return void 0!==Ye&&Ye(),Bt&&d(le,Bt),Nn&&L(le,Nn),le}}let ae=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-app"]],ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({})],X),X})(),re=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],X),X})(),ne=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["collapse"]})],X),X})(),G=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],X),X})(),Ee=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["mode"]})],X),X})(),vt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode","translucent"]})],X),X})(),rt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode"]})],X),X})(),nn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionChange","ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),gt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","disabled","mode","outline"]})],X),X})(),ht=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,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:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({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"]})],X),X})(),on=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],X),X})(),En=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],X),X})(),It=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],X),X})(),yn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["collapse","mode","translucent"]})],X),X})(),_t=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["collapse","mode","translucent"]})],X),X})(),Cn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],X),X})(),dt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionInfinite"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["disabled","position","threshold"],methods:["complete"]})],X),X})(),Sn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["loadingSpinner","loadingText"]})],X),X})(),kt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],X),X})(),Nt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],X),X})(),Me=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode","position"]})],X),X})(),Ze=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],X),X})(),Pe=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],X),X})(),yt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),mt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionChange"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["allowEmptySelection","compareWith","name","value"]})],X),X})(),Ot=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionRefresh","ionPull","ionStart"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],X),X})(),Rt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],X),X})(),bn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-row"]],ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({})],X),X})(),$n=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","duration","name","paused"]})],X),X})(),je=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionSplitPaneVisible"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["contentId","disabled","when"]})],X),X})(),lt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode","selectedTab","translucent"]})],X),X})(),Tt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],X),X})(),wt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode"]})],X),X})(),qt=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","size"]})],X),X})(),Dn=(()=>{let X=class{constructor(le,Ye,Bt){this.z=Bt,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,R.Cg)([q({inputs:["color","mode"]})],X),X})(),Xn=(()=>{class X extends p.Rg{constructor(le,Ye,Bt,Nn,dr,_r,qr,Zr){super(le,Ye,Bt,Nn,dr,_r,qr,Zr),this.parentOutlet=Zr}}return X.\u0275fac=function(le){return new(le||X)(a.kS0("name"),a.kS0("tabs"),a.rXU(D.aZ),a.rXU(a.aKT),a.rXU(C.Ix),a.rXU(a.SKi),a.rXU(C.nX),a.rXU(X,12))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-router-outlet"]],features:[a.Vt3]}),X})(),mr=(()=>{class X extends p.p4{}return X.\u0275fac=(()=>{let Le;return function(Ye){return(Le||(Le=a.xGo(X)))(Ye||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tabs"]],contentQueries:function(le,Ye,Bt){if(1&le&&(a.wni(Bt,lt,5),a.wni(Bt,lt,4)),2&le){let Nn;a.mGM(Nn=a.lsd())&&(Ye.tabBar=Nn.first),a.mGM(Nn=a.lsd())&&(Ye.tabBars=Nn)}},viewQuery:function(le,Ye){if(1&le&&a.GBs(m,5,Xn),2&le){let Bt;a.mGM(Bt=a.lsd())&&(Ye.outlet=Bt.first)}},features:[a.Vt3],ngContentSelectors:o,decls:6,vars:0,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(le,Ye){if(1&le){const Bt=a.RV6();a.NAR(n),a.SdG(0),a.j41(1,"div",2,0)(3,"ion-router-outlet",3,1),a.bIt("stackWillChange",function(dr){return a.eBV(Bt),a.Njj(Ye.onStackWillChange(dr))})("stackDidChange",function(dr){return a.eBV(Bt),a.Njj(Ye.onStackDidChange(dr))}),a.k0s()(),a.SdG(5,1)}},dependencies:[Xn],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),X})(),bt=(()=>{class X extends p.Sb{}return X.\u0275fac=(()=>{let Le;return function(Ye){return(Le||(Le=a.xGo(X)))(Ye||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-modal"]],features:[a.Vt3],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(le,Ye){1&le&&a.DNE(0,u,2,1,"div",0),2&le&&a.Y8G("ngIf",Ye.isCmpOpen||Ye.keepContentsMounted)},dependencies:[D.bT,D.T3],encapsulation:2,changeDetection:0}),X})();const hn={provide:S.cz,useExisting:(0,a.Rfq)(()=>Et),multi:!0};let Et=(()=>{class X extends S.zX{}return X.\u0275fac=(()=>{let Le;return function(Ye){return(Le||(Le=a.xGo(X)))(Ye||X)}})(),X.\u0275dir=a.FsC({type:X,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(le,Ye){2&le&&a.BMQ("max",Ye._enabled?Ye.max:null)},features:[a.Jv_([hn]),a.Vt3]}),X})();const zt={provide:S.cz,useExisting:(0,a.Rfq)(()=>ye),multi:!0};let ye=(()=>{class X extends S.VZ{}return X.\u0275fac=(()=>{let Le;return function(Ye){return(Le||(Le=a.xGo(X)))(Ye||X)}})(),X.\u0275dir=a.FsC({type:X,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(le,Ye){2&le&&a.BMQ("min",Ye._enabled?Ye.min:null)},features:[a.Jv_([zt]),a.Vt3]}),X})(),We=(()=>{class X extends p.Kb{constructor(){super($.a)}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),Xt=(()=>{class X{constructor(le){this.zone=le}create(le,Ye=!1){return Ye&&Object.getOwnPropertyNames(le).forEach(Bt=>{if("function"==typeof le[Bt]){const Nn=le[Bt];le[Bt]=(...dr)=>this.zone.run(()=>Nn(...dr))}}),(0,F.createGesture)(le)}}return X.\u0275fac=function(le){return new(le||X)(a.KVO(a.SKi))},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),$t=(()=>{class X extends p.Kb{constructor(){super($.l)}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),an=(()=>{class X extends p._t{constructor(){super(P.m)}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),ln=(()=>{class X extends p.Kb{constructor(){super($.m),this.angularDelegate=(0,a.WQX)(p.Yq),this.injector=(0,a.WQX)(a.zZn),this.environmentInjector=(0,a.WQX)(a.uvJ)}create(le){return super.create({...le,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac}),X})();class un extends p.Kb{constructor(){super($.c),this.angularDelegate=(0,a.WQX)(p.Yq),this.injector=(0,a.WQX)(a.zZn),this.environmentInjector=(0,a.WQX)(a.uvJ)}create(Le){return super.create({...Le,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let tn=(()=>{class X extends p.Kb{constructor(){super($.t)}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275prov=a.jDH({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();const Mn=(X,Le,le)=>()=>{const Ye=Le.defaultView;if(Ye&&typeof window<"u"){(0,B.s)({...X,_zoneGate:Nn=>le.run(Nn)});const Bt="__zone_symbol__addEventListener"in Le.body?"__zone_symbol__addEventListener":"addEventListener";return function W(){var X=[];if(typeof window<"u"){var Le=window;(!Le.customElements||Le.Element&&(!Le.Element.prototype.closest||!Le.Element.prototype.matches||!Le.Element.prototype.remove||!Le.Element.prototype.getRootNode))&&X.push(E.e(7278).then(E.t.bind(E,2190,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||Le.NodeList&&!Le.NodeList.prototype.forEach||!Le.fetch||!function(){try{var Ye=new URL("b","http://a");return Ye.pathname="c%20d","http://a/c%20d"===Ye.href&&Ye.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&X.push(E.e(9329).then(E.t.bind(E,7783,23)))}return Promise.all(X)}().then(()=>te(Ye,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:p.er,jmp:Nn=>le.runOutsideAngular(Nn),ael(Nn,dr,_r,qr){Nn[Bt](dr,_r,qr)},rel(Nn,dr,_r,qr){Nn.removeEventListener(dr,_r,qr)}}))}};let pr=(()=>{class X{static forRoot(le){return{ngModule:X,providers:[{provide:p.sR,useValue:le},{provide:a.hnV,useFactory:Mn,multi:!0,deps:[p.sR,D.qQ,a.SKi]},(0,p.YV)()]}}}return X.\u0275fac=function(le){return new(le||X)},X.\u0275mod=a.$C({type:X}),X.\u0275inj=a.G2t({providers:[p.Yq,ln,un],imports:[D.MD]}),X})()},5402:(Ce,ee,E)=>{"use strict";E.d(ee,{Wr:()=>O,h:()=>I,D9:()=>L,c$:()=>r});var a=E(4438),S=E(7673),p=E(4402),R=E(7468),c=E(8793),D=E(9030),C=E(6697),w=E(2771),T=E(8750),_=E(1413),g=E(7707),F=E(9974);function B(V,q,...oe){if(!0===q)return void V();if(!1===q)return;const ve=new g.Ms({next:()=>{ve.unsubscribe(),V()}});return(0,T.Tg)(q(...oe)).subscribe(ve)}function P(V,q,oe){let ve,Ae=!1;return V&&"object"==typeof V?({bufferSize:ve=1/0,windowTime:q=1/0,refCount:Ae=!1,scheduler:oe}=V):ve=null!=V?V:1/0,function A(V={}){const{connector:q=(()=>new _.B),resetOnError:oe=!0,resetOnComplete:ve=!0,resetOnRefCountZero:Ae=!0}=V;return Q=>{let ae,tt,Oe,pe=0,Ie=!1,Se=!1;const re=()=>{null==tt||tt.unsubscribe(),tt=void 0},ne=()=>{re(),ae=Oe=void 0,Ie=Se=!1},G=()=>{const Ee=ae;ne(),null==Ee||Ee.unsubscribe()};return(0,F.N)((Ee,vt)=>{pe++,!Se&&!Ie&&re();const Qe=Oe=null!=Oe?Oe:q();vt.add(()=>{pe--,0===pe&&!Se&&!Ie&&(tt=B(G,Ae))}),Qe.subscribe(vt),!ae&&pe>0&&(ae=new g.Ms({next:rt=>Qe.next(rt),error:rt=>{Se=!0,re(),tt=B(ne,oe,rt),Qe.error(rt)},complete:()=>{Ie=!0,re(),tt=B(ne,ve),Qe.complete()}}),(0,T.Tg)(Ee).subscribe(ae))})(Q)}}({connector:()=>new w.m(ve,q,oe),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ae})}var $=E(6354),k=E(274),M=E(5558);class O{}let U=(()=>{class V extends O{getTranslation(oe){return(0,S.of)({})}}return V.\u0275fac=(()=>{let q;return function(ve){return(q||(q=a.xGo(V)))(ve||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class j{}let W=(()=>{class V{handle(oe){return oe.key}}return V.\u0275fac=function(oe){return new(oe||V)},V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();function ie(V,q){if(V===q)return!0;if(null===V||null===q)return!1;if(V!=V&&q!=q)return!0;let Ae,Q,ae,oe=typeof V;if(oe==typeof q&&"object"==oe){if(!Array.isArray(V)){if(Array.isArray(q))return!1;for(Q in ae=Object.create(null),V){if(!ie(V[Q],q[Q]))return!1;ae[Q]=!0}for(Q in q)if(!(Q in ae)&&typeof q[Q]<"u")return!1;return!0}if(!Array.isArray(q))return!1;if((Ae=V.length)==q.length){for(Q=0;Q{te(q[ve])?ve in V?oe[ve]=se(V[ve],q[ve]):Object.assign(oe,{[ve]:q[ve]}):Object.assign(oe,{[ve]:q[ve]})}),oe}class m{}let n=(()=>{class V extends m{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(oe,ve){let Ae;return Ae="string"==typeof oe?this.interpolateString(oe,ve):"function"==typeof oe?this.interpolateFunction(oe,ve):oe,Ae}getValue(oe,ve){let Ae="string"==typeof ve?ve.split("."):[ve];ve="";do{ve+=Ae.shift(),!me(oe)||!me(oe[ve])||"object"!=typeof oe[ve]&&Ae.length?Ae.length?ve+=".":oe=void 0:(oe=oe[ve],ve="")}while(Ae.length);return oe}interpolateFunction(oe,ve){return oe(ve)}interpolateString(oe,ve){return ve?oe.replace(this.templateMatcher,(Ae,Q)=>{let ae=this.getValue(ve,Q);return me(ae)?ae:Ae}):oe}}return V.\u0275fac=(()=>{let q;return function(ve){return(q||(q=a.xGo(V)))(ve||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class o{}let u=(()=>{class V extends o{compile(oe,ve){return oe}compileTranslations(oe,ve){return oe}}return V.\u0275fac=(()=>{let q;return function(ve){return(q||(q=a.xGo(V)))(ve||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class s{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new a.bkB,this.onLangChange=new a.bkB,this.onDefaultLangChange=new a.bkB}}const h=new a.nKC("USE_STORE"),v=new a.nKC("USE_DEFAULT_LANG"),y=new a.nKC("DEFAULT_LANGUAGE"),f=new a.nKC("USE_EXTEND");let r=(()=>{class V{constructor(oe,ve,Ae,Q,ae,tt=!0,Oe=!1,pe=!1,Ie){this.store=oe,this.currentLoader=ve,this.compiler=Ae,this.parser=Q,this.missingTranslationHandler=ae,this.useDefaultLang=tt,this.isolate=Oe,this.extend=pe,this.pending=!1,this._onTranslationChange=new a.bkB,this._onLangChange=new a.bkB,this._onDefaultLangChange=new a.bkB,this._langs=[],this._translations={},this._translationRequests={},Ie&&this.setDefaultLang(Ie)}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(oe){this.isolate?this._defaultLang=oe:this.store.defaultLang=oe}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(oe){this.isolate?this._currentLang=oe:this.store.currentLang=oe}get langs(){return this.isolate?this._langs:this.store.langs}set langs(oe){this.isolate?this._langs=oe:this.store.langs=oe}get translations(){return this.isolate?this._translations:this.store.translations}set translations(oe){this.isolate?this._translations=oe:this.store.translations=oe}setDefaultLang(oe){if(oe===this.defaultLang)return;let ve=this.retrieveTranslations(oe);typeof ve<"u"?(null==this.defaultLang&&(this.defaultLang=oe),ve.pipe((0,C.s)(1)).subscribe(Ae=>{this.changeDefaultLang(oe)})):this.changeDefaultLang(oe)}getDefaultLang(){return this.defaultLang}use(oe){if(oe===this.currentLang)return(0,S.of)(this.translations[oe]);let ve=this.retrieveTranslations(oe);return typeof ve<"u"?(this.currentLang||(this.currentLang=oe),ve.pipe((0,C.s)(1)).subscribe(Ae=>{this.changeLang(oe)}),ve):(this.changeLang(oe),(0,S.of)(this.translations[oe]))}retrieveTranslations(oe){let ve;return(typeof this.translations[oe]>"u"||this.extend)&&(this._translationRequests[oe]=this._translationRequests[oe]||this.getTranslation(oe),ve=this._translationRequests[oe]),ve}getTranslation(oe){this.pending=!0;const ve=this.currentLoader.getTranslation(oe).pipe(P(1),(0,C.s)(1));return this.loadingTranslations=ve.pipe((0,$.T)(Ae=>this.compiler.compileTranslations(Ae,oe)),P(1),(0,C.s)(1)),this.loadingTranslations.subscribe({next:Ae=>{this.translations[oe]=this.extend&&this.translations[oe]?{...Ae,...this.translations[oe]}:Ae,this.updateLangs(),this.pending=!1},error:Ae=>{this.pending=!1}}),ve}setTranslation(oe,ve,Ae=!1){ve=this.compiler.compileTranslations(ve,oe),this.translations[oe]=(Ae||this.extend)&&this.translations[oe]?se(this.translations[oe],ve):ve,this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}getLangs(){return this.langs}addLangs(oe){oe.forEach(ve=>{-1===this.langs.indexOf(ve)&&this.langs.push(ve)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(oe,ve,Ae){let Q;if(ve instanceof Array){let ae={},tt=!1;for(let Oe of ve)ae[Oe]=this.getParsedResult(oe,Oe,Ae),(0,p.A)(ae[Oe])&&(tt=!0);if(tt){const Oe=ve.map(pe=>(0,p.A)(ae[pe])?ae[pe]:(0,S.of)(ae[pe]));return(0,R.p)(Oe).pipe((0,$.T)(pe=>{let Ie={};return pe.forEach((Se,re)=>{Ie[ve[re]]=Se}),Ie}))}return ae}if(oe&&(Q=this.parser.interpolate(this.parser.getValue(oe,ve),Ae)),typeof Q>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Q=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ve),Ae)),typeof Q>"u"){let ae={key:ve,translateService:this};typeof Ae<"u"&&(ae.interpolateParams=Ae),Q=this.missingTranslationHandler.handle(ae)}return typeof Q<"u"?Q:ve}get(oe,ve){if(!me(oe)||!oe.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,k.H)(Ae=>(Ae=this.getParsedResult(Ae,oe,ve),(0,p.A)(Ae)?Ae:(0,S.of)(Ae))));{let Ae=this.getParsedResult(this.translations[this.currentLang],oe,ve);return(0,p.A)(Ae)?Ae:(0,S.of)(Ae)}}getStreamOnTranslationChange(oe,ve){if(!me(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(oe,ve)),this.onTranslationChange.pipe((0,M.n)(Ae=>{const Q=this.getParsedResult(Ae.translations,oe,ve);return"function"==typeof Q.subscribe?Q:(0,S.of)(Q)})))}stream(oe,ve){if(!me(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(oe,ve)),this.onLangChange.pipe((0,M.n)(Ae=>{const Q=this.getParsedResult(Ae.translations,oe,ve);return(0,p.A)(Q)?Q:(0,S.of)(Q)})))}instant(oe,ve){if(!me(oe)||!oe.length)throw new Error('Parameter "key" required');let Ae=this.getParsedResult(this.translations[this.currentLang],oe,ve);if((0,p.A)(Ae)){if(oe instanceof Array){let Q={};return oe.forEach((ae,tt)=>{Q[oe[tt]]=oe[tt]}),Q}return oe}return Ae}set(oe,ve,Ae=this.currentLang){this.translations[Ae][oe]=this.compiler.compile(ve,Ae),this.updateLangs(),this.onTranslationChange.emit({lang:Ae,translations:this.translations[Ae]})}changeLang(oe){this.currentLang=oe,this.onLangChange.emit({lang:oe,translations:this.translations[oe]}),null==this.defaultLang&&this.changeDefaultLang(oe)}changeDefaultLang(oe){this.defaultLang=oe,this.onDefaultLangChange.emit({lang:oe,translations:this.translations[oe]})}reloadLang(oe){return this.resetLang(oe),this.getTranslation(oe)}resetLang(oe){this._translationRequests[oe]=void 0,this.translations[oe]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let oe=window.navigator.languages?window.navigator.languages[0]:null;return oe=oe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof oe>"u"?void 0:(-1!==oe.indexOf("-")&&(oe=oe.split("-")[0]),-1!==oe.indexOf("_")&&(oe=oe.split("_")[0]),oe)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let oe=window.navigator.languages?window.navigator.languages[0]:null;return oe=oe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,oe}}return V.\u0275fac=function(oe){return new(oe||V)(a.KVO(s),a.KVO(O),a.KVO(o),a.KVO(m),a.KVO(j),a.KVO(v),a.KVO(h),a.KVO(f),a.KVO(y))},V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})(),L=(()=>{class V{constructor(oe,ve){this.translate=oe,this._ref=ve,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(oe,ve,Ae){let Q=ae=>{this.value=void 0!==ae?ae:oe,this.lastKey=oe,this._ref.markForCheck()};if(Ae){let ae=this.translate.getParsedResult(Ae,oe,ve);(0,p.A)(ae.subscribe)?ae.subscribe(Q):Q(ae)}this.translate.get(oe,ve).subscribe(Q)}transform(oe,...ve){if(!oe||!oe.length)return oe;if(ie(oe,this.lastKey)&&ie(ve,this.lastParams))return this.value;let Ae;if(me(ve[0])&&ve.length)if("string"==typeof ve[0]&&ve[0].length){let Q=ve[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Ae=JSON.parse(Q)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ve[0]}`)}}else"object"==typeof ve[0]&&!Array.isArray(ve[0])&&(Ae=ve[0]);return this.lastKey=oe,this.lastParams=ve,this.updateValue(oe,Ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Q=>{this.lastKey&&Q.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(oe,Ae,Q.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Q=>{this.lastKey&&(this.lastKey=null,this.updateValue(oe,Ae,Q.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(oe,Ae))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return V.\u0275fac=function(oe){return new(oe||V)(a.rXU(r,16),a.rXU(a.gRc,16))},V.\u0275pipe=a.EJ8({name:"translate",type:V,pure:!1}),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})(),I=(()=>{class V{static forRoot(oe={}){return{ngModule:V,providers:[oe.loader||{provide:O,useClass:U},oe.compiler||{provide:o,useClass:u},oe.parser||{provide:m,useClass:n},oe.missingTranslationHandler||{provide:j,useClass:W},s,{provide:h,useValue:oe.isolate},{provide:v,useValue:oe.useDefaultLang},{provide:f,useValue:oe.extend},{provide:y,useValue:oe.defaultLanguage},r]}}static forChild(oe={}){return{ngModule:V,providers:[oe.loader||{provide:O,useClass:U},oe.compiler||{provide:o,useClass:u},oe.parser||{provide:m,useClass:n},oe.missingTranslationHandler||{provide:j,useClass:W},{provide:h,useValue:oe.isolate},{provide:v,useValue:oe.useDefaultLang},{provide:f,useValue:oe.extend},{provide:y,useValue:oe.defaultLanguage},r]}}}return V.\u0275fac=function(oe){return new(oe||V)},V.\u0275mod=a.$C({type:V}),V.\u0275inj=a.G2t({}),V})()},467:(Ce,ee,E)=>{"use strict";function a(p,R,c,D,C,w,T){try{var _=p[w](T),g=_.value}catch(F){return void c(F)}_.done?R(g):Promise.resolve(g).then(D,C)}function S(p){return function(){var R=this,c=arguments;return new Promise(function(D,C){var w=p.apply(R,c);function T(g){a(w,D,C,T,_,"next",g)}function _(g){a(w,D,C,T,_,"throw",g)}T(void 0)})}}E.d(ee,{A:()=>S})},1635:(Ce,ee,E)=>{"use strict";E.d(ee,{AQ:()=>W,C6:()=>S,Cg:()=>c,N3:()=>j,sH:()=>F,xN:()=>me});var a=function(r,d){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,I){L.__proto__=I}||function(L,I){for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&(L[V]=I[V])})(r,d)};function S(r,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function L(){this.constructor=r}a(r,d),r.prototype=null===d?Object.create(d):(L.prototype=d.prototype,new L)}function c(r,d,L,I){var oe,V=arguments.length,q=V<3?d:null===I?I=Object.getOwnPropertyDescriptor(d,L):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)q=Reflect.decorate(r,d,L,I);else for(var ve=r.length-1;ve>=0;ve--)(oe=r[ve])&&(q=(V<3?oe(q):V>3?oe(d,L,q):oe(d,L))||q);return V>3&&q&&Object.defineProperty(d,L,q),q}function F(r,d,L,I){return new(L||(L=Promise))(function(q,oe){function ve(ae){try{Q(I.next(ae))}catch(tt){oe(tt)}}function Ae(ae){try{Q(I.throw(ae))}catch(tt){oe(tt)}}function Q(ae){ae.done?q(ae.value):function V(q){return q instanceof L?q:new L(function(oe){oe(q)})}(ae.value).then(ve,Ae)}Q((I=I.apply(r,d||[])).next())})}function j(r){return this instanceof j?(this.v=r,this):new j(r)}function W(r,d,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,I=L.apply(r,d||[]),q=[];return V={},oe("next"),oe("throw"),oe("return"),V[Symbol.asyncIterator]=function(){return this},V;function oe(Oe){I[Oe]&&(V[Oe]=function(pe){return new Promise(function(Ie,Se){q.push([Oe,pe,Ie,Se])>1||ve(Oe,pe)})})}function ve(Oe,pe){try{!function Ae(Oe){Oe.value instanceof j?Promise.resolve(Oe.value.v).then(Q,ae):tt(q[0][2],Oe)}(I[Oe](pe))}catch(Ie){tt(q[0][3],Ie)}}function Q(Oe){ve("next",Oe)}function ae(Oe){ve("throw",Oe)}function tt(Oe,pe){Oe(pe),q.shift(),q.length&&ve(q[0][0],q[0][1])}}function me(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,d=r[Symbol.asyncIterator];return d?d.call(r):(r=function $(r){var d="function"==typeof Symbol&&Symbol.iterator,L=d&&r[d],I=0;if(L)return L.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&I>=r.length&&(r=void 0),{value:r&&r[I++],done:!r}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),L={},I("next"),I("throw"),I("return"),L[Symbol.asyncIterator]=function(){return this},L);function I(q){L[q]=r[q]&&function(oe){return new Promise(function(ve,Ae){!function V(q,oe,ve,Ae){Promise.resolve(Ae).then(function(Q){q({value:Q,done:ve})},oe)}(ve,Ae,(oe=r[q](oe)).done,oe.value)})}}}"function"==typeof SuppressedError&&SuppressedError},3219:Ce=>{"use strict";Ce.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2951:Ce=>{"use strict";Ce.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},4589:Ce=>{"use strict";Ce.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3241:Ce=>{"use strict";Ce.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636:Ce=>{"use strict";Ce.exports={rE:"6.5.5"}},5579:Ce=>{"use strict";Ce.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},Ce=>{Ce(Ce.s=6313)}]); \ No newline at end of file diff --git a/www/ngsw.json b/www/ngsw.json index 74ea4641..daf69bfc 100644 --- a/www/ngsw.json +++ b/www/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1717767419774, + "timestamp": 1717741989686, "index": "/index.html", "assetGroups": [ { @@ -101,7 +101,7 @@ "/9977.dfb6af23e31fcb21.js", "/common.125f8a8d5fd02ff3.js", "/index.html", - "/main.17cc6eaf5332d3bf.js", + "/main.2b9749cff5779d09.js", "/manifest.webmanifest", "/polyfills-core-js.c76198334f717402.js", "/polyfills-dom.bf542500b6fca113.js", @@ -221,9 +221,6 @@ "/assets/images/tenantLogo.svg", "/assets/images/tenant_logo.png", "/assets/images/youtube-video.png", - "/assets/manifests/garhwal-school.webmanifest", - "/assets/manifests/hummingbird-school.webmanifest", - "/assets/manifests/localhost.webmanifest", "/assets/minus.svg", "/assets/mock/onSearch.json", "/assets/mock/read.json", @@ -624,9 +621,6 @@ "/assets/images/tenantLogo.svg": "82d35bcd66e6d221e5caddb745446f6b9f2effb4", "/assets/images/tenant_logo.png": "6c2585124d36883147f48283af9582b66ee933c5", "/assets/images/youtube-video.png": "303c2a2d9a4d3ad1e29de4390d85015b86332762", - "/assets/manifests/garhwal-school.webmanifest": "2a811b8b525c7d69fccedbb724b90c2402d7c0f5", - "/assets/manifests/hummingbird-school.webmanifest": "546c431ec6a4875ca28ef11c8bb0f97842d3e4bc", - "/assets/manifests/localhost.webmanifest": "5a927f2c991153c4e1fb8dd9fd7845bbe00ba537", "/assets/minus.svg": "dc53b5892394342e80568d81b5ee4ee914f1826a", "/assets/mock/onSearch.json": "99a02f4ecd0923cccd86379f74d49919cb796370", "/assets/mock/read.json": "db66b8a83a7ae14e14fb1f41743bc23e6a38b78b", @@ -833,8 +827,8 @@ "/assets/timer.svg": "57b27e5d93af2aabd1077ecd4c70bcab678f4472", "/assets/user.svg": "2dc572771661b2ccd3ea4ae06bf768778144cbec", "/common.125f8a8d5fd02ff3.js": "994791c3fb25462b17d848378ac73d51d71d64bb", - "/index.html": "4248c32a0599158f35cbf501a5842fa508c6dcf2", - "/main.17cc6eaf5332d3bf.js": "6955e86e54259f015c6164be844377caaabd9667", + "/index.html": "5cf1fcdbcc5683554b1c5b167d0c83e20e289b00", + "/main.2b9749cff5779d09.js": "f18711afed2bdaa1fea8f37c5a9430411cafcd9c", "/manifest.webmanifest": "5a927f2c991153c4e1fb8dd9fd7845bbe00ba537", "/polyfills-core-js.c76198334f717402.js": "d6e270a2944b6a95a9b97dafd25599ba825e8d7f", "/polyfills-dom.bf542500b6fca113.js": "3fa333db66c8050f12e99d977f5098a6de8dd593",