From 8eb4c906d082af3c06a7ff332b743b2e6b7dfff0 Mon Sep 17 00:00:00 2001 From: nidhikachhawa24 Date: Tue, 4 Jun 2024 11:05:36 +0530 Subject: [PATCH] www changes --- www/index.html | 2 +- www/main.0212cd05d6c4bfac.js | 1 + www/main.bafa0614efc2f09c.js | 1 - www/ngsw.json | 8 ++++---- 4 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 www/main.0212cd05d6c4bfac.js delete mode 100644 www/main.bafa0614efc2f09c.js diff --git a/www/index.html b/www/index.html index ba0b4a6..2a2f503 100644 --- a/www/index.html +++ b/www/index.html @@ -25,6 +25,6 @@ - + diff --git a/www/main.0212cd05d6c4bfac.js b/www/main.0212cd05d6c4bfac.js new file mode 100644 index 0000000..9d9e76f --- /dev/null +++ b/www/main.0212cd05d6c4bfac.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{8941:(be,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:(be,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 _=function(o){return o.Unimplemented="UNIMPLEMENTED",o.Unavailable="UNAVAILABLE",o}(_||{});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)),re=(null===(s=null==L?void 0:L.currentPlatform)||void 0===s?void 0:s.isNativePlatform)||(()=>"web"!==V()),Me=(null===(h=null==L?void 0:L.currentPlatform)||void 0===h?void 0:h.isPluginAvailable)||(ie=>{const ne=pe.get(ie);return!!(null!=ne&&ne.platforms.has(V())||ae(ie))}),ae=(null===(v=null==L?void 0:L.currentPlatform)||void 0===v?void 0:v.getPluginHeader)||(ie=>{var ne;return null===(ne=r.PluginHeaders)||void 0===ne?void 0:ne.find(G=>G.name===ie)}),pe=new Map,Se=(null===(y=null==L?void 0:L.currentPlatform)||void 0===y?void 0:y.registerPlugin)||((ie,ne={})=>{const G=pe.get(ie);if(G)return console.warn(`Capacitor plugin "${ie}" already registered. Cannot register plugins twice.`),G.proxy;const Ee=V(),vt=ae(ie);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 St;const Tt=(...yn)=>{const Dt=rt().then(Bt=>{const Cn=((En,St)=>{var Tt,yn;if(!vt){if(En)return null===(yn=En[St])||void 0===yn?void 0:yn.bind(En);throw new T(`"${ie}" plugin is not implemented on ${Ee}`,_.Unimplemented)}{const Dt=null==vt?void 0:vt.methods.find(Bt=>St===Bt.name);if(Dt)return"promise"===Dt.rtype?Bt=>r.nativePromise(ie,St.toString(),Bt):(Bt,Cn)=>r.nativeCallback(ie,St.toString(),Bt,Cn);if(En)return null===(Tt=En[St])||void 0===Tt?void 0:Tt.bind(En)}})(Bt,En);if(Cn){const st=Cn(...yn);return St=null==st?void 0:st.remove,st}throw new T(`"${ie}.${En}()" is not implemented on ${Ee}`,_.Unimplemented)});return"addListener"===En&&(Dt.remove=(0,a.A)(function*(){return St()})),Dt};return Tt.toString=()=>`${En.toString()}() { [capacitor code] }`,Object.defineProperty(Tt,"name",{value:En,writable:!1,configurable:!1}),Tt},ft=gt("addListener"),on=gt("removeListener"),wt=(En,St)=>{const Tt=ft({eventName:En},St),yn=function(){var Bt=(0,a.A)(function*(){const Cn=yield Tt;on({eventName:En,callbackId:Cn},St)});return function(){return Bt.apply(this,arguments)}}(),Dt=new Promise(Bt=>Tt.then(()=>Bt({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,St){switch(St){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return vt?wt:ft;case"removeListener":return on;default:return gt(St)}}});return d[ie]=Pt,pe.set(ie,{name:ie,proxy:Pt,platforms:new Set([...Object.keys(ne),...vt?[Ee]:[]])}),Pt});return r.convertFileSrc||(r.convertFileSrc=ie=>ie),r.getPlatform=V,r.handleError=ie=>o.console.error(ie),r.isNativePlatform=re,r.isPluginAvailable=Me,r.pluginMethodNoop=(ie,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,_.Unimplemented)}unavailable(u="not available"){return new A.Exception(u,_.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 R=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=R(u.key),h=R(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 oe=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 oe(L);break;case"json":d=yield y.json();break;default:d=yield y.text()}const I={};return y.headers.forEach((V,J)=>{I[J]=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:(be,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:(be,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:(be,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(O=>new O.FilesystemWeb)})},9182:(be,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:(be,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:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{L:()=>a,a:()=>S,b:()=>p,c:()=>O,d:()=>c,g:()=>te});const a="ionViewWillEnter",S="ionViewDidEnter",p="ionViewWillLeave",O="ionViewDidLeave",c="ionViewWillUnload",te=se=>se.classList.contains("ion-page")?se:se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||se},3503:(be,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,R)=>{const U=M.startsWith("animation")?D(k):"";k.style.setProperty(U+M,R)},_=(k,M)=>{const R=M.startsWith("animation")?D(k):"";k.style.removeProperty(R+M)},g=[],P=(k=[],M)=>{if(void 0!==M){const R=Array.isArray(M)?M:[M];return[...k,...R]}return k},$=k=>{let M,R,U,j,K,oe,n,r,d,L,I,me,Me,ve=[],te=[],se=[],m=!1,o={},u=[],s=[],h={},v=0,y=!1,f=!1,V=!0,J=!1,re=!0,Q=!1;const ae=k,tt=[],Re=[],pe=[],Ie=[],Se=[],ie=[],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,ft=()=>Qe,St=(Et,zt)=>{const ye=zt.findIndex(Ke=>Ke.c===Et);ye>-1&&zt.splice(ye,1)},yn=(Et,zt)=>((null!=zt&&zt.oneTimeCallback?Re:tt).push({c:Et,o:zt}),Me),Bt=()=>{if(nn)Qe.forEach(Et=>{Et.cancel()}),Qe.length=0;else{const Et=Ie.slice();(0,S.r)(()=>{Et.forEach(zt=>{_(zt,"animation-name"),_(zt,"animation-duration"),_(zt,"animation-timing-function"),_(zt,"animation-iteration-count"),_(zt,"animation-delay"),_(zt,"animation-play-state"),_(zt,"animation-fill-mode"),_(zt,"animation-direction")})})}},Cn=()=>{ie.forEach(Et=>{null!=Et&&Et.parentNode&&Et.parentNode.removeChild(Et)}),ie.length=0},Ue=()=>void 0!==K?K:n?n.getFill():"both",it=()=>void 0!==d?d:void 0!==oe?oe:n?n.getDirection():"normal",Pe=()=>y?"linear":void 0!==U?U:n?n.getEasing():"linear",Be=()=>f?0:void 0!==L?L:void 0!==R?R:n?n.getDuration():0,Ve=()=>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,Ke=h;Ie.forEach(dt=>{const xt=dt.classList;zt.forEach(Xt=>xt.add(Xt)),ye.forEach(Xt=>xt.remove(Xt));for(const Xt in Ke)Ke.hasOwnProperty(Xt)&&C(dt,Xt,Ke[Xt])}),L=void 0,d=void 0,I=void 0,tt.forEach(dt=>dt.c(Et,Me)),Re.forEach(dt=>dt.c(Et,Me)),Re.length=0,re=!0,V&&(J=!0),V=!0})(),n&&n.animationFinish()))},kn=(Et=!0)=>{Cn();const zt=(k=>(k.forEach(M=>{for(const R in M)if(M.hasOwnProperty(R)){const U=M[R];if("easing"===R)M["animation-timing-function"]=U,delete M[R];else{const j=c(R);j!==R&&(M[j]=U,delete M[R])}}}),k))(ve);Ie.forEach(ye=>{if(zt.length>0){const Ke=((k=[])=>k.map(M=>{const R=M.offset,U=[];for(const j in M)M.hasOwnProperty(j)&&"offset"!==j&&U.push(`${j}: ${M[j]};`);return`${100*R}% { ${U.join(" ")} }`}).join(" "))(zt);me=void 0!==k?k:(k=>{let M=g.indexOf(k);return M<0&&(M=g.push(k)-1),`ion-animation-${M}`})(Ke);const dt=((k,M,R)=>{var U;const j=(k=>{const M=void 0!==k.getRootNode?k.getRootNode():k;return M.head||M})(R),K=D(R),oe=j.querySelector("#"+k);if(oe)return oe;const ve=(null!==(U=R.ownerDocument)&&void 0!==U?U:document).createElement("style");return ve.id=k,ve.textContent=`@${K}keyframes ${k} { ${M} } @${K}keyframes ${k}-alt { ${M} }`,j.appendChild(ve),ve})(me,Ke,ye);ie.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",Ue()),C(ye,"animation-direction",it());const xt=Ve()===1/0?"infinite":Ve().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)})}})},$n=(Et=!0)=>{(()=>{ne.forEach(Ke=>Ke()),G.forEach(Ke=>Ke());const Et=te,zt=se,ye=o;Ie.forEach(Ke=>{const dt=Ke.classList;Et.forEach(xt=>dt.add(xt)),zt.forEach(xt=>dt.remove(xt));for(const xt in ye)ye.hasOwnProperty(xt)&&C(Ke,xt,ye[xt])})})(),ve.length>0&&(nn?(Ie.forEach(Et=>{const zt=Et.animate(ve,{id:ae,delay:yt(),duration:Be(),easing:Pe(),iterations:Ve(),fill:Ue(),direction:it()});zt.pause(),Qe.push(zt)}),Qe.length>0&&(Qe[0].onfinish=()=>{Fn()})):kn(Et)),m=!0},jn=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=>{ve.length>0&&(C(ye,"animation-delay",zt),C(ye,"animation-play-state","paused"))})}},je=Et=>{Qe.forEach(zt=>{zt.effect.updateTiming({delay:yt(),duration:Be(),easing:Pe(),iterations:Ve(),fill:Ue(),direction:it()})}),void 0!==Et&&jn(Et)},ut=(Et=!0,zt)=>{(0,S.r)(()=>{Ie.forEach(ye=>{C(ye,"animation-name",me||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",Ue()||null),C(ye,"animation-direction",it()||null);const Ke=Ve()===1/0?"infinite":Ve().toString();C(ye,"animation-iteration-count",Ke),Et&&C(ye,"animation-name",`${me}-alt`),(0,S.r)(()=>{C(ye,"animation-name",me||null)})})})},It=(Et=!1,zt=!0,ye)=>(Et&&Se.forEach(Ke=>{Ke.update(Et,zt,ye)}),nn?je(ye):ut(zt,ye),Me),qt=()=>{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||$n(),J&&(nn?(jn(0),je()):ut(),J=!1),re&&(v=Se.length+1,re=!1);const ye=()=>{St(Ke,Re),zt()},Ke=()=>{St(ye,pe),zt()};yn(Ke,{oneTimeCallback:!0}),((Et,zt)=>{pe.push({c:Et,o:{oneTimeCallback:!0}})})(ye),Se.forEach(dt=>{dt.play()}),nn?(Qe.forEach(Et=>{Et.play()}),(0===ve.length||0===Ie.length)&&Fn()):(()=>{if(An(),(0,S.r)(()=>{Ie.forEach(Et=>{ve.length>0&&C(Et,"animation-play-state","running")})}),0===ve.length||0===Ie.length)Fn();else{const Et=yt()||0,zt=Be()||0,ye=Ve()||1;isFinite(ye)&&(r=setTimeout(Tn,Et+zt*ye+100)),((k,M)=>{let R;const U={passive:!0},K=oe=>{k===oe.target&&(R&&R(),An(),(0,S.r)(()=>{Ie.forEach(Et=>{_(Et,"animation-duration"),_(Et,"animation-delay"),_(Et,"animation-play-state")}),(0,S.r)(Fn)}))};k&&(k.addEventListener("webkitAnimationEnd",K,U),k.addEventListener("animationend",K,U),R=()=>{k.removeEventListener("webkitAnimationEnd",K,U),k.removeEventListener("animationend",K,U)})})(Ie[0])}})(),Q=!1}),bt=(Et,zt)=>{const ye=ve[0];return void 0===ye||void 0!==ye.offset&&0!==ye.offset?ve=[{offset:0,[Et]:zt},...ve]:ye[Et]=zt,Me};return Me={parentAnimation:n,elements:Ie,childAnimations:Se,id:ae,animationFinish:Fn,from:bt,to:(Et,zt)=>{const ye=ve[ve.length-1];return void 0===ye||void 0!==ye.offset&&1!==ye.offset?ve=[...ve,{offset:1,[Et]:zt}]:ye[Et]=zt,Me},fromTo:(Et,zt,ye)=>bt(Et,zt).to(Et,ye),parent:Et=>(n=Et,Me),play:Te,pause:()=>(Se.forEach(Et=>{Et.pause()}),qt(),Me),stop:()=>{Se.forEach(Et=>{Et.stop()}),m&&(Bt(),m=!1),y=!1,f=!1,re=!0,d=void 0,L=void 0,I=void 0,v=0,J=!1,V=!0,Q=!1,pe.forEach(Et=>Et.c(0,Me)),pe.length=0},destroy:Et=>(Se.forEach(zt=>{zt.destroy(Et)}),(Et=>{Bt(),Et&&Cn()})(Et),Ie.length=0,Se.length=0,ve.length=0,tt.length=0,Re.length=0,m=!1,re=!0,Me),keyframes:Et=>{const zt=ve!==Et;return ve=Et,zt&&(Et=>{nn?ft().forEach(zt=>{const ye=zt.effect;if(ye.setKeyframes)ye.setKeyframes(Et);else{const Ke=new KeyframeEffect(ye.target,Et,ye.getTiming());zt.effect=Ke}}):kn()})(ve),Me},addAnimation:Et=>{if(null!=Et)if(Array.isArray(Et))for(const zt of Et)zt.parent(Me),Se.push(zt);else Et.parent(Me),Se.push(Et);return Me},addElement:Et=>{if(null!=Et)if(1===Et.nodeType)Ie.push(Et);else if(Et.length>=0)for(let zt=0;zt(K=Et,It(!0),Me),direction:Et=>(oe=Et,It(!0),Me),iterations:Et=>(j=Et,It(!0),Me),duration:Et=>(!nn&&0===Et&&(Et=1),R=Et,It(!0),Me),easing:Et=>(U=Et,It(!0),Me),delay:Et=>(M=Et,It(!0),Me),getWebAnimations:ft,getKeyframes:()=>ve,getFill:Ue,getDirection:it,getDelay:yt,getIterations:Ve,getEasing:Pe,getDuration:Be,afterAddRead:Et=>(Ee.push(Et),Me),afterAddWrite:Et=>(vt.push(Et),Me),afterClearStyles:(Et=[])=>{for(const zt of Et)h[zt]="";return Me},afterStyles:(Et={})=>(h=Et,Me),afterRemoveClass:Et=>(s=P(s,Et),Me),afterAddClass:Et=>(u=P(u,Et),Me),beforeAddRead:Et=>(ne.push(Et),Me),beforeAddWrite:Et=>(G.push(Et),Me),beforeClearStyles:(Et=[])=>{for(const zt of Et)o[zt]="";return Me},beforeStyles:(Et={})=>(o=Et,Me),beforeRemoveClass:Et=>(se=P(se,Et),Me),beforeAddClass:Et=>(te=P(te,Et),Me),onFinish:yn,isRunning:()=>0!==v&&!Q,progressStart:(Et=!1,zt)=>(Se.forEach(ye=>{ye.progressStart(Et,zt)}),qt(),y=Et,m||$n(),It(!1,!0,zt),Me),progressStep:Et=>(Se.forEach(zt=>{zt.progressStep(Et)}),jn(Et),Me),progressEnd:(Et,zt,ye)=>(y=!1,Se.forEach(Ke=>{Ke.progressEnd(Et,zt,ye)}),void 0!==ye&&(L=ye),J=!1,V=!0,0===Et?(d="reverse"===it()?"normal":"reverse","reverse"===d&&(V=!1),nn?(It(),jn(1-zt)):(I=(1-zt)*Be()*-1,It(!1,!1))):1===Et&&(nn?(It(),jn(zt)):(I=zt*Be()*-1,It(!1,!1))),void 0!==Et&&!n&&Te(),Me)}}},464:(be,ee,E)=>{"use strict";E.d(ee,{E:()=>w,a:()=>a,s:()=>_});const a=g=>{try{if(g instanceof C)return g.value;if(!O()||"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 R=M.length-1;R>=0;R--){const U=M[R];U.parentNode?U.parentNode.removeChild(U):F.removeChild(U);const j=p(U);for(let K=0;K{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,O=()=>{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 _=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},w=!1},5938:(be,ee,E)=>{"use strict";E.d(ee,{C:()=>c,a:()=>p,d:()=>O});var a=E(467),S=E(5638);const p=function(){var D=(0,a.A)(function*(C,_,T,w,g,F){var A;if(C)return C.attachViewToDom(_,T,g,w);if(!(F||"string"==typeof T||T instanceof HTMLElement))throw new Error("framework delegate is missing");const B="string"==typeof T?null===(A=_.ownerDocument)||void 0===A?void 0:A.createElement(T):T;return w&&w.forEach(P=>B.classList.add(P)),g&&Object.assign(B,g),_.appendChild(B),yield new Promise(P=>(0,S.c)(B,P)),B});return function(_,T,w,g,F,A){return D.apply(this,arguments)}}(),O=(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 w=(0,a.A)(function*(g,F,A={},B=[]){var P,$;let k;if(D=g,F){const R="string"==typeof F?null===(P=D.ownerDocument)||void 0===P?void 0:P.createElement(F):F;B.forEach(U=>R.classList.add(U)),Object.assign(R,A),D.appendChild(R),k=R,yield new Promise(U=>(0,S.c)(R,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 w.apply(this,arguments)}}(),removeViewFromDom:()=>(D&&C&&(C.parentNode.insertBefore(D,C),C.remove()),Promise.resolve())}}},8221:(be,ee,E)=>{"use strict";E.d(ee,{G:()=>c});class S{constructor(C,_,T,w,g){this.id=_,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,_,T,w){this.id=_,this.disable=T,this.disableScroll=w,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 O="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 _;return new S(this,this.newID(),C.name,null!==(_=C.priority)&&void 0!==_?_:0,!!C.disableScroll)}createBlocker(C={}){return new p(this,this.newID(),C.disable,!!C.disableScroll)}start(C,_,T){return this.canStart(C)?(this.requestedStart.set(_,T),!0):(this.requestedStart.delete(_),!1)}capture(C,_,T){if(!this.start(C,_,T))return!1;const w=this.requestedStart;let g=-1e4;if(w.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 w.delete(_),!1}release(C){this.requestedStart.delete(C),this.capturedId===C&&(this.capturedId=void 0)}disableGesture(C,_){let T=this.disabledGestures.get(C);void 0===T&&(T=new Set,this.disabledGestures.set(C,T)),T.add(_)}enableGesture(C,_){const T=this.disabledGestures.get(C);void 0!==T&&T.delete(_)}disableScroll(C){this.disabledScroll.add(C),1===this.disabledScroll.size&&document.body.classList.add(O)}enableScroll(C){this.disabledScroll.delete(C),0===this.disabledScroll.size&&document.body.classList.remove(O)}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 _=this.disabledGestures.get(C);return!!(_&&_.size>0)}newID(){return this.gestureId++,this.gestureId}}},3113:(be,ee,E)=>{"use strict";E.r(ee),E.d(ee,{MENU_BACK_BUTTON_PRIORITY:()=>T,OVERLAY_BACK_BUTTON_PRIORITY:()=>_,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 w=document;let g=!1;const F=()=>{if(g)return;let A=0,B=[];const P=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,R){B.push({priority:M,handler:R,id:A++})}}});w.dispatchEvent(P);const $=function(){var M=(0,a.A)(function*(R){try{if(null!=R&&R.handler){const U=R.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(R=>{R.priority>=M.priority&&(M=R)}),g=!0,B=B.filter(R=>R.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 w.addEventListener("backbutton",F)},_=100,T=99},5638:(be,ee,E)=>{"use strict";E.d(ee,{a:()=>_,b:()=>T,c:()=>p,d:()=>$,e:()=>P,f:()=>B,g:()=>w,h:()=>A,i:()=>C,j:()=>K,k:()=>c,l:()=>k,m:()=>O,n:()=>F,o:()=>M,p:()=>j,q:()=>oe,r:()=>g,s:()=>ve,t:()=>a,u:()=>R,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))},O=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)},_=(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)},w=(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)}},R=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.`)}},K=(te,se)=>{const m=te._original||te;return{_original:te,emit:oe(m.emit.bind(m),se)}},oe=(te,se=0)=>{let m;return(...n)=>{clearTimeout(m),m=setTimeout(te,se,...n)}},ve=(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:(be,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,R;return A.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",R="__zone_symbol__removeEventListener"):(M="addEventListener",R="removeEventListener"),A[M](B,P,k),()=>{A[R](B,P,k)}},p=A=>{if(void 0===O)try{const B=Object.defineProperty({},"passive",{get:()=>{O=!0}});A.addEventListener("optsTest",()=>{},B)}catch{O=!1}return!!O};let O;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),R=M.canStart,U=M.onWillStart,j=M.onStart,K=M.onEnd,oe=M.notCaptured,ve=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($),R=B*B;let U=0,j=0,K=!1,oe=0;return{start(ve,te){U=ve,j=te,oe=0,K=!0},detect(ve,te){if(!K)return!1;const se=ve-U,m=te-j,n=se*se+m*m;if(nM?1:u<-M?-1:0,K=!1,!0},isGesture:()=>0!==oe,getDirection:()=>oe}})(M.direction,M.threshold,M.maxAngle),u=a.G.createGesture({name:A.gestureName,priority:A.gesturePriority,disableScroll:A.disableScroll}),v=()=>{B&&(k=!1,ve&&ve(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 J=document.activeElement;null!=J&&J.blur&&J.blur()}})(),j&&j(n),$=!0},d=()=>{B=!1,P=!1,k=!1,$=!0,u.release()},L=J=>{const re=B,me=$;if(d(),me){if(w(n,J),re)return void(K&&K(n));oe&&oe(n)}},I=((A,B,P,$,k)=>{let M,R,U,j,K,oe,ve,te=0;const se=f=>{te=Date.now()+2e3,B(f)&&(!R&&P&&(R=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)&&(!oe&&P&&(oe=S(C(A),"mousemove",P,k)),ve||(ve=S(C(A),"mouseup",o,k)))},n=f=>{u(),$&&$(f)},o=f=>{s(),$&&$(f)},u=()=>{R&&R(),U&&U(),j&&j(),R=U=j=void 0},s=()=>{oe&&oe(),ve&&ve(),oe=ve=void 0},h=()=>{u(),s()},v=(f=!0)=>{f?(M||(M=S(A,"touchstart",se,k)),K||(K=S(A,"mousedown",m,k))):(M&&M(),K&&K(),M=K=void 0,h())};return{enable:v,stop:h,destroy:()=>{v(!1),$=P=B=void 0}}})(M.el,J=>{const re=F(J);return!(P||!$||(g(J,n),n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime=re,n.velocityX=n.velocityY=n.deltaX=n.deltaY=0,n.event=J,R&&!1===R(n))||(u.release(),!u.start()))&&(P=!0,0===te?y():(o.start(n.startX,n.startY),!0))},J=>{B?!k&&$&&(k=!0,w(n,J),requestAnimationFrame(v)):(w(n,J),o.detect(n.currentX,n.currentY)&&(!o.isGesture()||!y())&&V())},L,{capture:!1,passive:se}),V=()=>{d(),I.stop(),oe&&oe(n)};return{enable(J=!0){J||(B&&L(void 0),d()),I.enable(J)},destroy(){u.destroy(),I.destroy()}}},w=(A,B)=>{if(!B)return;const P=A.currentX,$=A.currentY,k=A.currentTime;g(B,A);const M=A.currentX,R=A.currentY,j=(A.currentTime=F(B))-k;if(j>0&&j<100){const oe=(R-$)/j;A.velocityX=(M-P)/j*.7+.3*A.velocityX,A.velocityY=.7*oe+.3*A.velocityY}A.deltaX=M-A.startX,A.deltaY=R-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:(be,ee,E)=>{"use strict";E.d(ee,{m:()=>A});var a=E(467),S=E(8476),p=E(3113),O=E(4929),c=E(5638),D=E(611),C=E(3503);const _=B=>(0,C.c)().duration(B?400:300),T=B=>{let P,$;const k=B.width+8,M=(0,C.c)(),R=(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),K=j?.2:.25;return R.addElement(B.backdropEl).fromTo("opacity",.01,K),_(j).addAnimation([M,R])},w=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 R=(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 _("ios"===k).addAnimation([R,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 _("ios"===P).addAnimation(k)},A=(()=>{const B=new Map,P=[],$=function(){var d=(0,a.A)(function*(L){const I=yield oe(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?oe(L,!0):ve();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 oe(L,!0);return!!I&&I.toggle()});return function(I){return d.apply(this,arguments)}}(),R=function(){var d=(0,a.A)(function*(L,I){const V=yield oe(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 oe(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 oe(L);return void 0!==I&&I.isOpen()}return void 0!==(yield ve())});return function(I){return d.apply(this,arguments)}}(),K=function(){var d=(0,a.A)(function*(L){const I=yield oe(L);return!!I&&!I.disabled});return function(I){return d.apply(this,arguments)}}(),oe=function(){var d=(0,a.A)(function*(L,I=!1){if(yield r(),"start"===L||"end"===L){const J=P.filter(me=>me.side===L&&!me.disabled);if(J.length>=1)return J.length>1&&I&&(0,O.p)(`menuController queried for a menu on the "${L}" side, but ${J.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.`,J.map(me=>me.el)),J[0].el;const re=P.filter(me=>me.side===L);if(re.length>=1)return re.length>1&&I&&(0,O.p)(`menuController queried for a menu on the "${L}" side, but ${re.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.`,re.map(me=>me.el)),re[0].el}else if(null!=L)return f(J=>J.menuId===L);return f(J=>!J.disabled)||(P.length>0?P[0].el:void 0)});return function(I){return d.apply(this,arguments)}}(),ve=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 J=yield ve();J&&L.el!==J&&(yield J.setOpen(!1,!1))}return L._setOpen(I,V)});return function(I,V,J){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",w),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:oe,getMenus:te,getOpen:ve,isEnabled:K,swipeGesture:U,isAnimating:se,isOpen:j,enable:R,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:(be,ee,E)=>{"use strict";E.d(ee,{a:()=>S,b:()=>p,p:()=>a});const a=(O,...c)=>console.warn(`[Ionic Warning]: ${O}`,...c),S=(O,...c)=>console.error(`[Ionic Error]: ${O}`,...c),p=(O,...c)=>console.error(`<${O.tagName.toLowerCase()}> must be used inside ${c.join(" or ")}.`)},4363:(be,ee,E)=>{"use strict";E.d(ee,{B:()=>F,H:()=>y,a:()=>Tn,b:()=>Pn,c:()=>me,d:()=>tt,e:()=>Et,f:()=>ae,g:()=>Me,h:()=>h,i:()=>it,j:()=>A,r:()=>Kn,w:()=>zt});var a=E(467);let O,c,D,C=!1,_=!1,T=!1,w=!1,g=!1;const F={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},A=ye=>{const Ke=new URL(ye,Yt.$resourcesUrl$);return Ke.origin!==Zt.location.origin?Ke.href:Ke.pathname},U="s-id",j="sty-id",K="c-id",ve="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 Ke,dt,xt;return null!==(xt=null===(dt=null===(Ke=ye.head)||void 0===Ke?void 0:Ke.querySelector('meta[name="csp-nonce"]'))||void 0===dt?void 0:dt.getAttribute("content"))&&void 0!==xt?xt:void 0}const h=(ye,Ke,...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===Ke?{}:Ke,fn,r);const tn=v(ye,null);return tn.$attrs$=Ke,fn.length>0&&(tn.$children$=fn),tn.$key$=Xt,tn.$name$=$t,tn},v=(ye,Ke)=>({$flags$:0,$tag$:ye,$text$:Ke,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),y={},r={forEach:(ye,Ke)=>ye.map(d).forEach(Ke),map:(ye,Ke)=>ye.map(d).map(Ke).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 Ke=v(ye.vtag,ye.vtext);return Ke.$attrs$=ye.vattrs,Ke.$children$=ye.vchildren,Ke.$key$=ye.vkey,Ke.$name$=ye.vname,Ke},V=(ye,Ke,dt,xt,Xt,$t,an)=>{let ln,fn,un,tn;if(1===$t.nodeType){for(ln=$t.getAttribute(K),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},Ke.push(un),$t.removeAttribute(K),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,Ke,dt,xt,Xt,$t.childNodes[tn],an);if($t.shadowRoot)for(tn=$t.shadowRoot.childNodes.length-1;tn>=0;tn--)V(ye,Ke,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,Ke.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$)),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]}},J=(ye,Ke)=>{if(1===ye.nodeType){let dt=0;for(;dtNt.push(ye),Me=ye=>kn(ye).$modeName$,ae=ye=>kn(ye).$hostElement$,tt=(ye,Ke,dt)=>{const xt=ae(ye);return{emit:Xt=>Re(xt,Ke,{bubbles:!!(4&dt),composed:!!(2&dt),cancelable:!!(1&dt),detail:Xt})}},Re=(ye,Ke,dt)=>{const xt=Yt.ce(Ke,dt);return ye.dispatchEvent(xt),xt},pe=new WeakMap,Ie=(ye,Ke,dt)=>{let xt=Mt.get(ye);We&&dt?(xt=xt||new CSSStyleSheet,"string"==typeof xt?xt=Ke:xt.replaceSync(Ke)):xt=Ke,Mt.set(ye,xt)},Se=(ye,Ke,dt)=>{var xt;const Xt=ne(Ke,dt),$t=Mt.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=Yt.$nonce$)&&void 0!==xt?xt:s(qt);null!=fn&&ln.setAttribute("nonce",fn),ye.insertBefore(ln,ye.querySelector("link"))}4&Ke.$flags$&&(ln.innerHTML+=ve),an&&an.add(Xt)}}else ye.adoptedStyleSheets.includes($t)||(ye.adoptedStyleSheets=[...ye.adoptedStyleSheets,$t]);return Xt},ne=(ye,Ke)=>"sc-"+(Ke&&32&ye.$flags$?ye.$tagName$+"-"+Ke:ye.$tagName$),G=ye=>ye.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ee=(ye,Ke,dt,xt,Xt,$t)=>{if(dt!==xt){let an=jn(ye,Ke),ln=Ke.toLowerCase();if("class"===Ke){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"===Ke){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"!==Ke)if("ref"===Ke)xt&&xt(ye);else if(an||"o"!==Ke[0]||"n"!==Ke[1]){const fn=u(xt);if((an||fn&&null!==xt)&&!Xt)try{if(ye.tagName.includes("-"))ye[Ke]=xt;else{const tn=null==xt?"":xt;"list"===Ke?an=!1:(null==dt||ye[Ke]!=tn)&&(ye[Ke]=tn)}}catch{}let un=!1;ln!==(ln=ln.replace(/^xlink\:?/,""))&&(Ke=ln,un=!0),null==xt||!1===xt?(!1!==xt||""===ye.getAttribute(Ke))&&(un?ye.removeAttributeNS(te,Ke):ye.removeAttribute(Ke)):(!an||4&$t||Xt)&&!fn&&(xt=!0===xt?"":xt,un?ye.setAttributeNS(te,Ke,xt):ye.setAttribute(Ke,xt))}else if(Ke="-"===Ke[2]?Ke.slice(3):jn(Zt,ln)?ln.slice(2):ln[2]+Ke.slice(3),dt||xt){const fn=Ke.endsWith(rt);Ke=Ke.replace(nn,""),dt&&Yt.rel(ye,Ke,dt,fn),xt&&Yt.ael(ye,Ke,xt,fn)}}},vt=/\s/,Qe=ye=>ye?ye.split(vt):[],rt="Capture",nn=new RegExp(rt+"$"),gt=(ye,Ke,dt,xt)=>{const Xt=11===Ke.$elm$.nodeType&&Ke.$elm$.host?Ke.$elm$.host:Ke.$elm$,$t=ye&&ye.$attrs$||se,an=Ke.$attrs$||se;for(xt of ft(Object.keys($t)))xt in an||Ee(Xt,xt,$t[xt],void 0,dt,Ke.$flags$);for(xt of ft(Object.keys(an)))Ee(Xt,xt,$t[xt],an[xt],dt,Ke.$flags$)};function ft(ye){return ye.includes("ref")?[...ye.filter(Ke=>"ref"!==Ke),"ref"]:ye}const on=(ye,Ke,dt,xt)=>{var Xt;const $t=Ke.$children$[dt];let ln,fn,un,an=0;if(C||(T=!0,"slot"===$t.$tag$&&(O&&xt.classList.add(O+"-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(w||(w="svg"===$t.$tag$),ln=$t.$elm$=qt.createElementNS(w?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$t.$flags$?"slot-fb":$t.$tag$),w&&"foreignObject"===$t.$tag$&&(w=!1),gt(null,$t,w),(ye=>null!=ye)(O)&&ln["s-si"]!==O&&ln.classList.add(ln["s-si"]=O),$t.$children$)for(an=0;an<$t.$children$.length;++an)fn=on(ye,$t,an,ln),fn&&ln.appendChild(fn);"svg"===$t.$tag$?w=!1:"foreignObject"===ln.tagName&&(w=!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$&&wt(ye.$elm$,!1)),ln},wt=(ye,Ke)=>{Yt.$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),Ke&&wt(Xt,Ke)}Yt.$flags$&=-2},Pt=(ye,Ke,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(Ke))))},En=(ye,Ke,dt)=>{for(let xt=Ke;xt<=dt;++xt){const Xt=ye[xt];if(Xt){const $t=Xt.$elm$;kt(Xt),$t&&(_=!0,$t["s-ol"]?$t["s-ol"].remove():wt($t,!0),$t.remove())}}},Tt=(ye,Ke,dt=!1)=>ye.$tag$===Ke.$tag$&&("slot"===ye.$tag$?ye.$name$===Ke.$name$:!!dt||ye.$key$===Ke.$key$),yn=ye=>ye&&ye["s-ol"]||ye,Dt=ye=>(ye["s-ol"]?ye["s-ol"]:ye).parentNode,Bt=(ye,Ke,dt=!1)=>{const xt=Ke.$elm$=ye.$elm$,Xt=ye.$children$,$t=Ke.$children$,an=Ke.$tag$,ln=Ke.$text$;let fn;null===ln?(w="svg"===an||"foreignObject"!==an&&w,"slot"===an&&!C||gt(ye,Ke,w),null!==Xt&&null!==$t?((ye,Ke,dt,xt,Xt=!1)=>{let X,$e,$t=0,an=0,ln=0,fn=0,un=Ke.length-1,tn=Ke[0],Mn=Ke[un],Bn=xt.length-1,Rn=xt[0],xr=xt[Bn];for(;$t<=un&&an<=Bn;)if(null==tn)tn=Ke[++$t];else if(null==Mn)Mn=Ke[--un];else if(null==Rn)Rn=xt[++an];else if(null==xr)xr=xt[--Bn];else if(Tt(tn,Rn,Xt))Bt(tn,Rn,Xt),tn=Ke[++$t],Rn=xt[++an];else if(Tt(Mn,xr,Xt))Bt(Mn,xr,Xt),Mn=Ke[--un],xr=xt[--Bn];else if(Tt(tn,xr,Xt))("slot"===tn.$tag$||"slot"===xr.$tag$)&&wt(tn.$elm$.parentNode,!1),Bt(tn,xr,Xt),ye.insertBefore(tn.$elm$,Mn.$elm$.nextSibling),tn=Ke[++$t],xr=xt[--Bn];else if(Tt(Mn,Rn,Xt))("slot"===tn.$tag$||"slot"===xr.$tag$)&&wt(Mn.$elm$.parentNode,!1),Bt(Mn,Rn,Xt),ye.insertBefore(Mn.$elm$,tn.$elm$),Mn=Ke[--un],Rn=xt[++an];else{for(ln=-1,fn=$t;fn<=un;++fn)if(Ke[fn]&&null!==Ke[fn].$key$&&Ke[fn].$key$===Rn.$key$){ln=fn;break}ln>=0?($e=Ke[ln],$e.$tag$!==Rn.$tag$?X=on(Ke&&Ke[an],dt,ln,ye):(Bt($e,Rn,Xt),Ke[ln]=void 0,X=$e.$elm$),Rn=xt[++an]):(X=on(Ke&&Ke[an],dt,an,ye),Rn=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(Ke,$t,un)})(xt,Xt,Ke,$t,dt):null!==$t?(null!==ye.$text$&&(xt.textContent=""),Pt(xt,null,Ke,$t,0,$t.length-1)):null!==Xt&&En(Xt,0,Xt.length-1),w&&"svg"===an&&(w=!1)):(fn=xt["s-cr"])?fn.parentNode.textContent=ln:ye.$text$!==ln&&(xt.data=ln)},Cn=ye=>{const Ke=ye.childNodes;for(const dt of Ke)if(1===dt.nodeType){if(dt["s-sr"]){const xt=dt["s-sn"];dt.hidden=!1;for(const Xt of Ke)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=[],Lt=ye=>{let Ke,dt,xt;for(const Xt of ye.childNodes){if(Xt["s-sr"]&&(Ke=Xt["s-cr"])&&Ke.parentNode){dt=Ke.parentNode.childNodes;const $t=Xt["s-sn"];for(xt=dt.length-1;xt>=0;xt--)if(Ke=dt[xt],!Ke["s-cn"]&&!Ke["s-nr"]&&Ke["s-hn"]!==Xt["s-hn"])if(In(Ke,$t)){let an=st.find(ln=>ln.$nodeToRelocate$===Ke);_=!0,Ke["s-sn"]=Ke["s-sn"]||$t,an?(an.$nodeToRelocate$["s-sh"]=Xt["s-hn"],an.$slotRefNode$=Xt):(Ke["s-sh"]=Xt["s-hn"],st.push({$slotRefNode$:Xt,$nodeToRelocate$:Ke})),Ke["s-sr"]&&st.map(ln=>{In(ln.$nodeToRelocate$,Ke["s-sn"])&&(an=st.find(fn=>fn.$nodeToRelocate$===Ke),an&&!ln.$slotRefNode$&&(ln.$slotRefNode$=an.$slotRefNode$))})}else st.some(an=>an.$nodeToRelocate$===Ke)||st.push({$nodeToRelocate$:Ke})}1===Xt.nodeType&&Lt(Xt)}},In=(ye,Ke)=>1===ye.nodeType?null===ye.getAttribute("slot")&&""===Ke||ye.getAttribute("slot")===Ke:ye["s-sn"]===Ke||""===Ke,kt=ye=>{ye.$attrs$&&ye.$attrs$.ref&&ye.$attrs$.ref(null),ye.$children$&&ye.$children$.map(kt)},Ln=(ye,Ke)=>{Ke&&!ye.$onRenderResolve$&&Ke["s-p"]&&Ke["s-p"].push(new Promise(dt=>ye.$onRenderResolve$=dt))},Ut=(ye,Ke)=>{if(ye.$flags$|=16,!(4&ye.$flags$))return Ln(ye,ye.$ancestorComponent$),zt(()=>Le(ye,Ke));ye.$flags$|=512},Le=(ye,Ke)=>{const xt=ye.$lazyInstance$;let Xt;return Ke&&(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,()=>Ae(ye,xt,Ke))},_e=(ye,Ke)=>De(ye)?ye.then(Ke):Ke(),De=ye=>ye instanceof Promise||ye&&ye.then&&"function"==typeof ye.then,Ae=function(){var ye=(0,a.A)(function*(Ke,dt,xt){var Xt;const $t=Ke.$hostElement$,ln=$t["s-rc"];xt&&(ye=>{const Ke=ye.$cmpMeta$,dt=ye.$hostElement$,xt=Ke.$flags$,$t=Se(dt.shadowRoot?dt.shadowRoot:dt.getRootNode(),Ke,ye.$modeName$);10&xt&&(dt["s-sc"]=$t,dt.classList.add($t+"-h"),2&xt&&dt.classList.add($t+"-s"))})(Ke);Ze(Ke,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=()=>Ue(Ke);0===un.length?tn():(Promise.all(un).then(tn),Ke.$flags$|=4,un.length=0)}});return function(dt,xt,Xt){return ye.apply(this,arguments)}}(),Ze=(ye,Ke,dt,xt)=>{try{Ke=Ke.render&&Ke.render(),ye.$flags$&=-17,ye.$flags$|=2,((ye,Ke,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)(Ke)?Ke:h(null,null,Ke);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,O=ln["s-sc"],C=!!(1&fn.$flags$),c=ln["s-cr"],_=!1,Bt(un,tn,dt),Yt.$flags$|=1,T){Lt(tn.$elm$);for(const Mn of st){const Bn=Mn.$nodeToRelocate$;if(!Bn["s-ol"]){const Rn=qt.createTextNode("");Rn["s-nr"]=Bn,Bn.parentNode.insertBefore(Bn["s-ol"]=Rn,Bn)}}for(const Mn of st){const Bn=Mn.$nodeToRelocate$,Rn=Mn.$slotRefNode$;if(Rn){const xr=Rn.parentNode;let X=Rn.nextSibling;{let $e=null===(xt=Bn["s-ol"])||void 0===xt?void 0:xt.previousSibling;for(;$e;){let le=null!==(Xt=$e["s-nr"])&&void 0!==Xt?Xt:null;if(le&&le["s-sn"]===Bn["s-sn"]&&xr===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}}$e=$e.previousSibling}}(!X&&xr!==Bn.parentNode||Bn.nextSibling!==X)&&Bn!==X&&(!Bn["s-hn"]&&Bn["s-ol"]&&(Bn["s-hn"]=Bn["s-ol"].parentNode.nodeName),xr.insertBefore(Bn,X),1===Bn.nodeType&&(Bn.hidden=null!==($t=Bn["s-ih"])&&void 0!==$t&&$t)),Bn&&"function"==typeof Rn["s-rf"]&&Rn["s-rf"](Bn)}else 1===Bn.nodeType&&(dt&&(Bn["s-ih"]=null!==(an=Bn.hidden)&&void 0!==an&&an),Bn.hidden=!0)}}_&&Cn(tn.$elm$),Yt.$flags$&=-2,st.length=0,c=void 0})(ye,Ke,xt)}catch(Xt){je(Xt,ye.$hostElement$)}return null},Ue=ye=>{const dt=ye.$hostElement$,Xt=ye.$lazyInstance$,$t=ye.$ancestorComponent$;Be(Xt,"componentDidRender"),64&ye.$flags$?Be(Xt,"componentDidUpdate"):(ye.$flags$|=64,Ve(dt),Be(Xt,"componentDidLoad"),ye.$onReadyResolve$(dt),$t||Pe()),ye.$onInstanceResolve$(dt),ye.$onRenderResolve$&&(ye.$onRenderResolve$(),ye.$onRenderResolve$=void 0),512&ye.$flags$&&hn(()=>Ut(ye,!1)),ye.$flags$&=-517},it=ye=>{{const Ke=kn(ye),dt=Ke.$hostElement$.isConnected;return dt&&2==(18&Ke.$flags$)&&Ut(Ke,!1),dt}},Pe=ye=>{Ve(qt.documentElement),hn(()=>Re(Zt,"appload",{detail:{namespace:"ionic"}}))},Be=(ye,Ke,dt)=>{if(ye&&ye[Ke])try{return ye[Ke](dt)}catch(xt){je(xt)}},Ve=ye=>ye.classList.add("hydrated"),lt=(ye,Ke,dt)=>{var xt;const Xt=ye.prototype;if(Ke.$members$){ye.watchers&&(Ke.$watchers$=ye.watchers);const $t=Object.entries(Ke.$members$);if($t.map(([an,[ln]])=>{31&ln||2&dt&&32&ln?Object.defineProperty(Xt,an,{get(){return((ye,Ke)=>kn(this).$instanceValues$.get(Ke))(0,an)},set(fn){((ye,Ke,dt,xt)=>{const Xt=kn(ye),$t=Xt.$hostElement$,an=Xt.$instanceValues$.get(Ke),ln=Xt.$flags$,fn=Xt.$lazyInstance$;dt=((ye,Ke)=>null==ye||u(ye)?ye:4&Ke?"false"!==ye&&(""===ye||!!ye):2&Ke?parseFloat(ye):1&Ke?String(ye):ye)(dt,xt.$members$[Ke][0]);const un=Number.isNaN(an)&&Number.isNaN(dt);if((!(8&ln)||void 0===an)&&dt!==an&&!un&&(Xt.$instanceValues$.set(Ke,dt),fn)){if(xt.$watchers$&&128&ln){const Mn=xt.$watchers$[Ke];Mn&&Mn.map(Bn=>{try{fn[Bn](dt,an,Ke)}catch(Rn){je(Rn,$t)}})}2==(18&ln)&&Ut(Xt,!1)}})(this,an,fn,Ke)},configurable:!0,enumerable:!0}):1&dt&&64&ln&&Object.defineProperty(Xt,an,{value(...fn){var un;const tn=kn(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){Yt.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=kn(this),Rn=null==Bn?void 0:Bn.$flags$;if(Rn&&!(8&Rn)&&128&Rn&&un!==fn){const xr=Bn.$lazyInstance$,X=null===(tn=Ke.$watchers$)||void 0===tn?void 0:tn[ln];null==X||X.forEach($e=>{null!=xr[$e]&&xr[$e].call(xr,un,fn,ln)})}return}}this[Mn]=(null!==un||"boolean"!=typeof this[Mn])&&un})},ye.observedAttributes=Array.from(new Set([...Object.keys(null!==(xt=Ke.$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=Ke.$attrsToReflect$)||void 0===un||un.push([ln,tn])),tn})]))}}return ye},Qt=function(){var ye=(0,a.A)(function*(Ke,dt,xt,Xt){let $t;if(!(32&dt.$flags$)){if(dt.$flags$|=32,xt.$lazyBundleId$){if($t=It(xt),$t.then){const tn=()=>{};$t=yield $t,tn()}$t.isProxied||(xt.$watchers$=$t.watchers,lt($t,xt,2),$t.isProxied=!0);const un=()=>{};dt.$flags$|=8;try{new $t(dt)}catch(tn){je(tn)}dt.$flags$&=-9,dt.$flags$|=128,un(),Ct(dt.$lazyInstance$)}else $t=Ke.constructor,customElements.whenDefined(xt.$tagName$).then(()=>dt.$flags$|=128);if($t.style){let un=$t.style;"string"!=typeof un&&(un=un[dt.$modeName$=(ye=>Nt.map(Ke=>Ke(ye)).find(Ke=>!!Ke))(Ke)]);const tn=ne(xt,dt.$modeName$);if(!Mt.has(tn)){const Mn=()=>{};Ie(tn,un,!!(1&xt.$flags$)),Mn()}}}const an=dt.$ancestorComponent$,ln=()=>Ut(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")},Kt=ye=>{const Ke=ye["s-cr"]=qt.createComment("");Ke["s-cn"]=!0,ye.insertBefore(Ke,ye.firstChild)},Rt=ye=>{Be(ye,"disconnectedCallback")},Ft=function(){var ye=(0,a.A)(function*(Ke){if(!(1&Yt.$flags$)){const dt=kn(Ke);dt.$rmListeners$&&(dt.$rmListeners$.map(xt=>xt()),dt.$rmListeners$=void 0),null!=dt&&dt.$lazyInstance$?Rt(dt.$lazyInstance$):null!=dt&&dt.$onReadyPromise$&&dt.$onReadyPromise$.then(()=>Rt(dt.$lazyInstance$))}});return function(dt){return ye.apply(this,arguments)}}(),Pn=(ye,Ke={})=>{var dt;const Xt=[],$t=Ke.exclude||[],an=Zt.customElements,ln=qt.head,fn=ln.querySelector("meta[charset]"),un=qt.createElement("style"),tn=[],Mn=qt.querySelectorAll(`[${j}]`);let Bn,Rn=!0,xr=0;for(Object.assign(Yt,Ke),Yt.$resourcesUrl$=new URL(Ke.resourcesUrl||"./",qt.baseURI).href,Yt.$flags$|=2;xr{$e[1].map(le=>{var Xe;const _t={$flags$:le[0],$tagName$:le[1],$members$:le[2],$listeners$:le[3]};4&_t.$flags$&&(X=!0),_t.$members$=le[2],_t.$listeners$=le[3],_t.$attrsToReflect$=[],_t.$watchers$=null!==(Xe=le[4])&&void 0!==Xe?Xe:{};const Nn=_t.$tagName$,vr=class extends HTMLElement{constructor(Br){super(Br),$n(Br=this,_t),1&_t.$flags$&&Br.attachShadow({mode:"open",delegatesFocus:!!(16&_t.$flags$)})}connectedCallback(){Bn&&(clearTimeout(Bn),Bn=null),Rn?tn.push(this):Yt.jmp(()=>(ye=>{if(!(1&Yt.$flags$)){const Ke=kn(ye),dt=Ke.$cmpMeta$,xt=()=>{};if(1&Ke.$flags$)wn(ye,Ke,dt.$listeners$),null!=Ke&&Ke.$lazyInstance$?Ct(Ke.$lazyInstance$):null!=Ke&&Ke.$onReadyPromise$&&Ke.$onReadyPromise$.then(()=>Ct(Ke.$lazyInstance$));else{let Xt;if(Ke.$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,Ke,dt,xt)=>{const $t=ye.shadowRoot,an=[],fn=$t?[]:null,un=xt.$vnode$=v(Ke,null);Yt.$orgLocNodes$||J(qt.body,Yt.$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=Yt.$orgLocNodes$.get(Mn),Rn=tn.$elm$;Bn&&An&&""===Bn["s-en"]&&Bn.parentNode.insertBefore(Rn,Bn.nextSibling),$t||(Rn["s-hn"]=Ke,Bn&&(Rn["s-ol"]=Bn,Rn["s-ol"]["s-nr"]=Rn)),Yt.$orgLocNodes$.delete(Mn)}),$t&&fn.map(tn=>{tn&&$t.appendChild(tn)})})(ye,dt.$tagName$,Xt,Ke)}Xt||12&dt.$flags$&&Kt(ye);{let $t=ye;for(;$t=$t.parentNode||$t.host;)if(1===$t.nodeType&&$t.hasAttribute("s-id")&&$t["s-p"]||$t["s-p"]){Ln(Ke,Ke.$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,Ke,dt)}xt()}})(this))}disconnectedCallback(){Yt.jmp(()=>Ft(this))}componentOnReady(){return kn(this).$onReadyPromise$}};_t.$lazyBundleId$=$e[0],!$t.includes(Nn)&&!an.get(Nn)&&(Xt.push(Nn),an.define(Nn,lt(vr,_t,1)))})}),Xt.length>0&&(X&&(un.textContent+=ve),un.textContent+=Xt+"{visibility:hidden}.hydrated{visibility:inherit}",un.innerHTML.length)){un.setAttribute("data-styles","");const $e=null!==(dt=Yt.$nonce$)&&void 0!==dt?dt:s(qt);null!=$e&&un.setAttribute("nonce",$e),ln.insertBefore(un,fn?fn.nextSibling:ln.firstChild)}Rn=!1,tn.length?tn.map($e=>$e.connectedCallback()):Yt.jmp(()=>Bn=setTimeout(Pe,30))},wn=(ye,Ke,dt,xt)=>{dt&&dt.map(([Xt,$t,an])=>{const ln=bn(ye,Xt),fn=_n(Ke,an),un=zn(Xt);Yt.ael(ln,$t,fn,un),(Ke.$rmListeners$=Ke.$rmListeners$||[]).push(()=>Yt.rel(ln,$t,fn,un))})},_n=(ye,Ke)=>dt=>{try{256&ye.$flags$?ye.$lazyInstance$[Ke](dt):(ye.$queuedListeners$=ye.$queuedListeners$||[]).push([Ke,dt])}catch(xt){je(xt)}},bn=(ye,Ke)=>4&Ke?qt:8&Ke?Zt:16&Ke?qt.body:ye,zn=ye=>Xn?{passive:!!(1&ye),capture:!!(2&ye)}:!!(2&ye),Fn=new WeakMap,kn=ye=>Fn.get(ye),Kn=(ye,Ke)=>Fn.set(Ke.$lazyInstance$=ye,Ke),$n=(ye,Ke)=>{const dt={$flags$:0,$hostElement$:ye,$cmpMeta$:Ke,$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"]=[],wn(ye,dt,Ke.$listeners$),Fn.set(ye,dt)},jn=(ye,Ke)=>Ke in ye,je=(ye,Ke)=>(0,console.error)(ye,Ke),ut=new Map,It=(ye,Ke,dt)=>{const xt=ye.$tagName$.replace(/-/g,"_"),Xt=ye.$lazyBundleId$,$t=ut.get(Xt);return $t?$t[xt]:E(8996)(`./${Xt}.entry.js`).then(an=>(ut.set(Xt,an),an[xt]),je)},Mt=new Map,Nt=[],Zt=typeof window<"u"?window:{},qt=Zt.document||{head:{}},Yt={$flags$:0,$resourcesUrl$:"",jmp:ye=>ye(),raf:ye=>requestAnimationFrame(ye),ael:(ye,Ke,dt,xt)=>ye.addEventListener(Ke,dt,xt),rel:(ye,Ke,dt,xt)=>ye.removeEventListener(Ke,dt,xt),ce:(ye,Ke)=>new CustomEvent(ye,Ke)},Tn=ye=>{Object.assign(Yt,ye)},An=!0,Xn=(()=>{let ye=!1;try{qt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){ye=!0}}))}catch{}return ye})(),We=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),et=[],Te=[],qe=(ye,Ke)=>dt=>{ye.push(dt),g||(g=!0,Ke&&4&Yt.$flags$?hn(Wt):Yt.raf(Wt))},bt=ye=>{for(let Ke=0;Ke{bt(et),bt(Te),(g=et.length>0)&&Yt.raf(Wt)},hn=ye=>Promise.resolve(void 0).then(ye),Et=qe(et,!1),zt=qe(Te,!0)},8476:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{b:()=>D,c:()=>C,d:()=>_,e:()=>te,g:()=>n,l:()=>oe,s:()=>se,t:()=>g,w:()=>ve});var a=E(467),S=E(4363),p=E(5638);const D="ionViewWillLeave",C="ionViewDidLeave",_="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&&K(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),K(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 R(u.viewIsReady,u.enteringEl)});return function(s,h){return o.apply(this,arguments)}}(),R=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)=>{oe(u,D),oe(o,"ionViewWillEnter")},K=(o,u)=>{oe(o,"ionViewDidEnter"),oe(u,C)},oe=(o,u)=>{if(o){const s=new CustomEvent(u,{bubbles:!1,cancelable:!1});o.dispatchEvent(s)}},ve=()=>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:(be,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,_="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)&&K(f)),M=f=>o(f,/android|sink/i),K=f=>u(f,"(any-pointer:coarse)"),ve=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:K,mobileweb:f=>K(f)&&!ve(f),desktop:f=>!K(f),hybrid:ve};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,_)).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 J=me=>{var Me;return null===(Me=me.tagName)||void 0===Me?void 0:Me.startsWith("ION-")},re=me=>["ios","md"].includes(me);(0,a.c)(me=>{for(;me;){const Me=me.mode||me.getAttribute("mode");if(Me){if(re(Me))return Me;J(me)&&console.warn('Invalid ionic mode: "'+Me+'", expected: "ios" or "md"')}me=me.parentElement}return h})}},4569:(be,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,_=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 R=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=R&&(M=R.querySelectorAll("ion-buttons"))}else M=P.querySelectorAll("ion-buttons");for(const R of M){const U=R.closest("ion-header"),j=U&&!U.classList.contains("header-collapse-condense-inactive"),K=R.querySelector("ion-back-button"),oe=R.classList.contains("buttons-collapse");if(null!==K&&("start"===R.slot||""===R.slot)&&(oe&&j&&$||!oe))return K}return null},g=(P,$,k,M,R,U,j,K,oe)=>{var ve,te;const se=$?`calc(100% - ${R.right+4}px)`:R.left-4+"px",m=$?"right":"left",n=$?"left":"right",o=$?"right":"left",u=(null===(ve=U.textContent)||void 0===ve?void 0:ve.trim())===(null===(te=K.textContent)||void 0===te?void 0:te.trim()),h=(oe.height-B)/j.height,v=u?`scale(${oe.width/j.width}, ${h})`:`scale(${h})`,y="scale(1)",r=C(M).querySelector("ion-icon").getBoundingClientRect(),d=$?r.width/2-(r.right-R.right)+"px":R.left-r.width/2+"px",L=$?`-${window.innerWidth-R.right}px`:`${R.left}px`,I=`${oe.top}px`,V=`${R.top}px`,me=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)(),ie=(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),ie.addElement(ne),ie.beforeStyles({position:"absolute",top:"0px",[o]:"0px"}).keyframes(me),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,ie])},F=(P,$,k,M,R,U,j,K)=>{var oe,ve;const te=$?"right":"left",se=$?`calc(100% - ${R.right}px)`:`${R.left}px`,n=`${R.top}px`,u=$?`-${window.innerWidth-K.right-8}px`:K.x-8+"px",h=K.y-2+"px",v=(null===(oe=j.textContent)||void 0===oe?void 0:oe.trim())===(null===(ve=M.textContent)||void 0===ve?void 0:ve.trim()),f=K.height/(U.height-B),r="scale(1)",d=v?`scale(${K.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}`}],J=D("ion-title"),re=(0,a.c)();J.innerText=M.innerText,J.size=M.size,J.color=M.color,re.addElement(J),re.beforeStyles({"transform-origin":`${te} top`,height:`${R.height}px`,display:"",position:"relative",[te]:se}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),J.style.setProperty("display","none")}).keyframes(V),P.addAnimation(re)},A=(P,$)=>{var k;try{const M="cubic-bezier(0.32,0.72,0,1)",R="opacity",U="transform",j="0%",oe="rtl"===P.ownerDocument.dir,ve=oe?"-99.5%":"99.5%",te=oe?"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([R]).fromTo("transform",`translateX(${te})`,`translateX(${j})`).fromTo(R,.8,1):v.beforeClearStyles([R]).fromTo("transform",`translateX(${ve})`,`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)(),J=(0,a.c)(),re=(0,a.c)();V.addElement(d).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),J.addElement(L).beforeClearStyles([R]).fromTo(R,0,.1),re.addElement(I).beforeClearStyles([R]).fromTo(R,.03,.7),V.addAnimation([J,re]),v.addAnimation([V])}}const y=se.querySelector("ion-header.header-collapse-condense"),{forward:f,backward:r}=((P,$,k,M,R)=>{const U=T(M,k),j=_(R),K=_(M),oe=T(R,k),ve=null!==U&&null!==j&&!k,te=null!==K&&null!==oe&&k;if(ve){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=K.getBoundingClientRect(),m=oe.getBoundingClientRect(),n=C(oe).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(K).querySelector(".toolbar-title").getBoundingClientRect();F(P,$,k,K,se,s,n,o),g(P,$,k,oe,m,n,o,K,s)}return{forward:ve,backward:te}})(h,oe,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)(),J=Array.from(d.querySelectorAll("ion-buttons,[menuToggle]")),re=d.closest("ion-header"),me=null==re?void 0:re.classList.contains("header-collapse-condense-inactive");let Me;Me=J.filter(n?pe=>{const Ie=pe.classList.contains("buttons-collapse");return Ie&&!me||!Ie}:pe=>!pe.classList.contains("buttons-collapse")),V.addElement(Me);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)(),Re=d.querySelector("ion-back-button");if(Re&&tt.addElement(Re),L.addAnimation([I,V,Q,ae,tt]),V.fromTo(R,.01,1),Q.fromTo(R,.01,1),n)me||I.fromTo("transform",`translateX(${te})`,`translateX(${j})`).fromTo(R,.01,1),Q.fromTo("transform",`translateX(${te})`,`translateX(${j})`),tt.fromTo(R,.01,1);else if(y||I.fromTo("transform",`translateX(${ve})`,`translateX(${j})`).fromTo(R,.01,1),Q.fromTo("transform",`translateX(${ve})`,`translateX(${j})`),ae.beforeClearStyles([R,"transform"]),(null==re?void 0:re.translucent)?ae.fromTo("transform",oe?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ae.fromTo(R,.01,"var(--opacity)"),f||tt.fromTo(R,.01,1),Re&&!f){const Ie=(0,a.c)();Ie.addElement(C(Re).querySelector(".button-text")).fromTo("transform",oe?"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([R]).fromTo("transform",`translateX(${j})`,oe?"translateX(-100%)":"translateX(100%)");const J=(0,S.g)(m);h.afterAddWrite(()=>{"normal"===h.getDirection()&&J.style.setProperty("display","none")})}else d.fromTo("transform",`translateX(${j})`,`translateX(${te})`).fromTo(R,1,.8);if(L){const J=C(L).querySelector(".transition-effect");if(J){const re=J.querySelector(".transition-cover"),me=J.querySelector(".transition-shadow"),Me=(0,a.c)(),Q=(0,a.c)(),ae=(0,a.c)();Me.addElement(J).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Q.addElement(re).beforeClearStyles([R]).fromTo(R,.1,0),ae.addElement(me).beforeClearStyles([R]).fromTo(R,.7,.03),Me.addAnimation([Q,ae]),d.addAnimation([Me])}}I.forEach(J=>{const re=(0,a.c)();re.addElement(J);const me=(0,a.c)();me.addElement(J.querySelector("ion-title"));const Me=(0,a.c)(),Q=J.querySelectorAll("ion-buttons,[menuToggle]"),ae=J.closest("ion-header"),tt=null==ae?void 0:ae.classList.contains("header-collapse-condense-inactive"),Re=Array.from(Q).filter(G=>{const Ee=G.classList.contains("buttons-collapse");return Ee&&!tt||!Ee});Me.addElement(Re);const pe=(0,a.c)(),Ie=J.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Ie.length>0&&pe.addElement(Ie);const Se=(0,a.c)();Se.addElement(C(J).querySelector(".toolbar-background"));const ie=(0,a.c)(),ne=J.querySelector("ion-back-button");if(ne&&ie.addElement(ne),re.addAnimation([me,Me,pe,ie,Se]),h.addAnimation(re),ie.fromTo(R,.99,0),Me.fromTo(R,.99,0),pe.fromTo(R,.99,0),n){if(tt||me.fromTo("transform",`translateX(${j})`,oe?"translateX(-100%)":"translateX(100%)").fromTo(R,.99,0),pe.fromTo("transform",`translateX(${j})`,oe?"translateX(-100%)":"translateX(100%)"),Se.beforeClearStyles([R,"transform"]),(null==ae?void 0:ae.translucent)?Se.fromTo("transform","translateX(0px)",oe?"translateX(-100%)":"translateX(100%)"):Se.fromTo(R,"var(--opacity)",0),ne&&!r){const Ee=(0,a.c)();Ee.addElement(C(ne).querySelector(".button-text")).fromTo("transform",`translateX(${j})`,`translateX(${(oe?-124:124)+"px"})`),re.addAnimation(Ee)}}else tt||me.fromTo("transform",`translateX(${j})`,`translateX(${te})`).fromTo(R,.99,0).afterClearStyles([U,R]),pe.fromTo("transform",`translateX(${j})`,`translateX(${te})`).afterClearStyles([U,R]),ie.afterClearStyles([R]),me.afterClearStyles([R]),Me.afterClearStyles([R])})}return h}catch(M){throw M}},B=10},2942:(be,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 _,T,w;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!==(_=C.duration)&&void 0!==_?_: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 R=(0,a.c)();R.addElement(k),M.addAnimation(R)}if(P&&A){M.duration((null!==(w=C.duration)&&void 0!==w?w:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const R=(0,a.c)();R.addElement((0,S.g)(P)).onFinish(U=>{1===U&&R.elements.length>0&&R.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${g})`).fromTo("opacity",1,0),M.addAnimation(R)}return M}},5516:(be,ee,E)=>{"use strict";E.d(ee,{B:()=>Me,G:()=>Q,O:()=>ae,a:()=>F,b:()=>A,c:()=>k,d:()=>tt,e:()=>Re,f:()=>y,g:()=>r,h:()=>I,i:()=>J,j:()=>R,k:()=>U,l:()=>B,m:()=>P,n:()=>ve,o:()=>h,s:()=>me,t:()=>M});var a=E(467),S=E(8476),p=E(3113),O=E(611),c=E(5938),D=E(5638),C=E(4929);let _=0,T=0;const w=new WeakMap,g=Se=>({create:ie=>j(Se,ie),dismiss:(ie,ne,G)=>o(document,ie,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"),R=Se=>{typeof document<"u"&&n(document);const ie=_++;Se.overlayIndex=ie},U=Se=>(Se.hasAttribute("id")||(Se.id="ion-overlay-"+ ++T),Se.id),j=(Se,ie)=>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({},ie),{hasController:!0})),d(document).appendChild(ne),new Promise(G=>(0,D.c)(ne,G))}):Promise.resolve(),K='[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])',ve=(Se,ie)=>{const ne=Se.querySelector(K);se(ne,ie)},te=(Se,ie)=>{const ne=Array.from(Se.querySelectorAll(K));se(ne.length>0?ne[ne.length-1]:null,ie)},se=(Se,ie)=>{let ne=Se;const G=null==Se?void 0:Se.shadowRoot;G&&(ne=G.querySelector(K)||Se),ne?(0,D.f)(ne):ie.focus()},n=Se=>{0===_&&(_=1,Se.addEventListener("focus",ie=>{((Se,ie)=>{const ne=h(ie,"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;ve(ne,ne),Qe===ie.activeElement&&te(ne,ne),ne.lastFocus=ie.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;ve(rt,ne),nn===ie.activeElement&&te(rt,ne),ne.lastFocus=ie.activeElement}}})())})(ie,Se)},!0),Se.addEventListener("ionBackButton",ie=>{const ne=h(Se);null!=ne&&ne.backdropDismiss&&ie.detail.register(p.OVERLAY_BACK_BUTTON_PRIORITY,()=>{ne.dismiss(void 0,Me)})}),(0,p.shouldUseCloseWatcher)()||Se.addEventListener("keydown",ie=>{if("Escape"===ie.key){const ne=h(Se);null!=ne&&ne.backdropDismiss&&ne.dismiss(void 0,Me)}}))},o=(Se,ie,ne,G,Ee)=>{const vt=h(Se,G,Ee);return vt?vt.dismiss(ie,ne):Promise.reject("overlay does not exist")},s=(Se,ie)=>((Se,ie)=>(void 0===ie&&(ie="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Se.querySelectorAll(ie)).filter(ne=>ne.overlayIndex>0)))(Se,ie).filter(ne=>!(Se=>Se.classList.contains("overlay-hidden"))(ne)),h=(Se,ie,ne)=>{const G=s(Se,ie);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*(ie,ne,G,Ee,vt){var Qe,rt;if(ie.presented)return;v(!0),pe(ie.el),ie.presented=!0,ie.willPresent.emit(),null===(Qe=ie.willPresentShorthand)||void 0===Qe||Qe.emit();const nn=(0,O.b)(ie),gt=ie.enterAnimation?ie.enterAnimation:O.c.get(ne,"ios"===nn?G:Ee);(yield L(ie,gt,ie.el,vt))&&(ie.didPresent.emit(),null===(rt=ie.didPresentShorthand)||void 0===rt||rt.emit()),"ION-TOAST"!==ie.el.tagName&&f(ie.el),ie.keyboardClose&&(null===document.activeElement||!ie.el.contains(document.activeElement))&&ie.el.focus(),ie.el.removeAttribute("aria-hidden")});return function(ne,G,Ee,vt,Qe){return Se.apply(this,arguments)}}(),f=function(){var Se=(0,a.A)(function*(ie){let ne=document.activeElement;if(!ne)return;const G=null==ne?void 0:ne.shadowRoot;G&&(ne=G.querySelector(K)||ne),yield ie.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*(ie,ne,G,Ee,vt,Qe,rt){var nn,gt;if(!ie.presented)return!1;void 0!==S.d&&1===s(S.d).length&&v(!1),ie.presented=!1;try{ie.el.style.setProperty("pointer-events","none"),ie.willDismiss.emit({data:ne,role:G}),null===(nn=ie.willDismissShorthand)||void 0===nn||nn.emit({data:ne,role:G});const ft=(0,O.b)(ie),on=ie.leaveAnimation?ie.leaveAnimation:O.c.get(Ee,"ios"===ft?vt:Qe);G!==Q&&(yield L(ie,on,ie.el,rt)),ie.didDismiss.emit({data:ne,role:G}),null===(gt=ie.didDismissShorthand)||void 0===gt||gt.emit({data:ne,role:G}),(w.get(ie)||[]).forEach(Pt=>Pt.destroy()),w.delete(ie),ie.el.classList.add("overlay-hidden"),ie.el.style.removeProperty("pointer-events"),void 0!==ie.el.lastFocus&&(ie.el.lastFocus=void 0)}catch(ft){console.error(ft)}return ie.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*(ie,ne,G,Ee){G.classList.remove("overlay-hidden");const Qe=ne(ie.el,Ee);(!ie.animated||!O.c.getBoolean("animated",!0))&&Qe.duration(0),ie.keyboardClose&&Qe.beforeAddWrite(()=>{const nn=G.ownerDocument.activeElement;null!=nn&&nn.matches("input,ion-input, ion-textarea")&&nn.blur()});const rt=w.get(ie)||[];return w.set(ie,[...rt,Qe]),yield Qe.play(),!0});return function(ne,G,Ee,vt){return Se.apply(this,arguments)}}(),I=(Se,ie)=>{let ne;const G=new Promise(Ee=>ne=Ee);return V(Se,ie,Ee=>{ne(Ee.detail)}),G},V=(Se,ie,ne)=>{const G=Ee=>{(0,D.b)(Se,ie,G),ne(Ee)};(0,D.a)(Se,ie,G)},J=Se=>"cancel"===Se||Se===Me,re=Se=>Se(),me=(Se,ie)=>{if("function"==typeof Se)return O.c.get("_zoneGate",re)(()=>{try{return Se(ie)}catch(G){throw G}})},Me="backdrop",Q="gesture",ae=39,tt=Se=>{let ne,ie=!1;const G=(0,c.C)(),Ee=(rt=!1)=>{if(ne&&!rt)return{delegate:ne,inline:ie};const{el:nn,hasController:gt,delegate:ft}=Se;return ie=null!==nn.parentNode&&!gt,ne=ie?ft||G:ft,{inline:ie,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:ft}=Se;if(ft&&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)}}},Re=()=>{let Se;const ie=()=>{Se&&(Se(),Se=void 0)};return{addClickListener:(G,Ee)=>{ie();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:ie}},pe=Se=>{var ie;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!==(ie=ne[G+1])&&void 0!==ie?ie: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 ie=Se.length-1;ie>=0;ie--){const ne=Se[ie];if(ne.removeAttribute("aria-hidden"),"ION-TOAST"!==ne.tagName)break}}},1288:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>M,b:()=>nn,c:()=>K,f:()=>pe,g:()=>j,h:()=>$,p:()=>Ln,r:()=>Tt});var a=E(467);let p,O,c=!1,D=!1;const w={},B=Pe=>"object"==(Pe=typeof Pe)||"function"===Pe;function P(Pe){var Be,Ve,yt;return null!==(yt=null===(Ve=null===(Be=Pe.head)||void 0===Be?void 0:Be.querySelector('meta[name="csp-nonce"]'))||void 0===Ve?void 0:Ve.getAttribute("content"))&&void 0!==yt?yt:void 0}const $=(Pe,Be,...Ve)=>{let yt=null,Je=!1,lt=!1;const Qt=[],Ct=Kt=>{for(let Rt=0;RtKt[Rt]).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=>St(Pe).$hostElement$,K=(Pe,Be,Ve)=>{const yt=j(Pe);return{emit:Je=>oe(yt,Be,{bubbles:!!(4&Ve),composed:!!(2&Ve),cancelable:!!(1&Ve),detail:Je})}},oe=(Pe,Be,Ve)=>{const yt=Ot.ce(Be,Ve);return Pe.dispatchEvent(yt),yt},ve=new WeakMap,n=(Pe,Be)=>"sc-"+Pe.$tagName$,o=(Pe,Be,Ve,yt,Je,lt)=>{if(Ve!==yt){let Qt=Dt(Pe,Be),Ct=Be.toLowerCase();if("class"===Be){const mt=Pe.classList,Kt=s(Ve),Rt=s(yt);mt.remove(...Kt.filter(Ft=>Ft&&!Rt.includes(Ft))),mt.add(...Rt.filter(Ft=>Ft&&!Kt.includes(Ft)))}else if("style"===Be){for(const mt in Ve)(!yt||null==yt[mt])&&(mt.includes("-")?Pe.style.removeProperty(mt):Pe.style[mt]="");for(const mt in yt)(!Ve||yt[mt]!==Ve[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 Kt=null==yt?"":yt;"list"===Be?Qt=!1:(null==Ve||Pe[Be]!=Kt)&&(Pe[Be]=Kt)}}catch{}null==yt||!1===yt?(!1!==yt||""===Pe.getAttribute(Be))&&Pe.removeAttribute(Be):(!Qt||4<||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),Ve&&Ot.rel(Pe,Be,Ve,!1),yt&&Ot.ael(Pe,Be,yt,!1)}},u=/\s/,s=Pe=>Pe?Pe.split(u):[],h=(Pe,Be,Ve,yt)=>{const Je=11===Be.$elm$.nodeType&&Be.$elm$.host?Be.$elm$.host:Be.$elm$,lt=Pe&&Pe.$attrs$||w,Qt=Be.$attrs$||w;for(yt in lt)yt in Qt||o(Je,yt,lt[yt],void 0,Ve,Be.$flags$);for(yt in Qt)o(Je,yt,lt[yt],Qt[yt],Ve,Be.$flags$)},v=(Pe,Be,Ve,yt)=>{const Je=Be.$children$[Ve];let Qt,Ct,lt=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(lt=0;lt{let Ct,Qt=Pe;for(Qt.shadowRoot&&Qt.tagName===O&&(Qt=Qt.shadowRoot);Je<=lt;++Je)yt[Je]&&(Ct=v(null,Ve,Je),Ct&&(yt[Je].$elm$=Ct,Qt.insertBefore(Ct,Be)))},f=(Pe,Be,Ve)=>{for(let yt=Be;yt<=Ve;++yt){const Je=Pe[yt];if(Je){const lt=Je.$elm$;I(Je),lt&<.remove()}}},d=(Pe,Be)=>Pe.$tag$===Be.$tag$,L=(Pe,Be)=>{const Ve=Be.$elm$=Pe.$elm$,yt=Pe.$children$,Je=Be.$children$,lt=Be.$tag$,Qt=Be.$text$;null===Qt?(c="svg"===lt||"foreignObject"!==lt&&c,h(Pe,Be,c),null!==yt&&null!==Je?((Pe,Be,Ve,yt)=>{let Pn,Je=0,lt=0,Qt=Be.length-1,Ct=Be[0],mt=Be[Qt],Kt=yt.length-1,Rt=yt[0],Ft=yt[Kt];for(;Je<=Qt&<<=Kt;)null==Ct?Ct=Be[++Je]:null==mt?mt=Be[--Qt]:null==Rt?Rt=yt[++lt]:null==Ft?Ft=yt[--Kt]:d(Ct,Rt)?(L(Ct,Rt),Ct=Be[++Je],Rt=yt[++lt]):d(mt,Ft)?(L(mt,Ft),mt=Be[--Qt],Ft=yt[--Kt]):d(Ct,Ft)?(L(Ct,Ft),Pe.insertBefore(Ct.$elm$,mt.$elm$.nextSibling),Ct=Be[++Je],Ft=yt[--Kt]):d(mt,Rt)?(L(mt,Rt),Pe.insertBefore(mt.$elm$,Ct.$elm$),mt=Be[--Qt],Rt=yt[++lt]):(Pn=v(Be&&Be[lt],Ve,lt),Rt=yt[++lt],Pn&&Ct.$elm$.parentNode.insertBefore(Pn,Ct.$elm$));Je>Qt?y(Pe,null==yt[Kt+1]?null:yt[Kt+1].$elm$,Ve,yt,lt,Kt):lt>Kt&&f(Be,Je,Qt)})(Ve,yt,Be,Je):null!==Je?(null!==Pe.$text$&&(Ve.textContent=""),y(Ve,null,Be,Je,0,Je.length-1)):null!==yt&&f(yt,0,yt.length-1),c&&"svg"===lt&&(c=!1)):Pe.$text$!==Qt&&(Ve.data=Qt)},I=Pe=>{Pe.$attrs$&&Pe.$attrs$.ref&&Pe.$attrs$.ref(null),Pe.$children$&&Pe.$children$.map(I)},J=(Pe,Be)=>{Be&&!Pe.$onRenderResolve$&&Be["s-p"]&&Be["s-p"].push(new Promise(Ve=>Pe.$onRenderResolve$=Ve))},re=(Pe,Be)=>{if(Pe.$flags$|=16,!(4&Pe.$flags$))return J(Pe,Pe.$ancestorComponent$),it(()=>me(Pe,Be));Pe.$flags$|=512},me=(Pe,Be)=>{const yt=Pe.$lazyInstance$;return Be&&(Pe.$flags$|=256,Pe.$queuedListeners$&&(Pe.$queuedListeners$.map(([lt,Qt])=>Se(yt,lt,Qt)),Pe.$queuedListeners$=void 0)),Me(void 0,()=>ae(Pe,yt,Be))},Me=(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,Ve,yt){var Je;const lt=Be.$hostElement$,Ct=lt["s-rc"];yt&&(Pe=>{const Be=Pe.$cmpMeta$,Ve=Pe.$hostElement$,yt=Be.$flags$,lt=((Pe,Be,Ve,yt)=>{var Je;let lt=n(Be);const Qt=Lt.get(lt);if(Pe=11===Pe.nodeType?Pe:kt,Qt)if("string"==typeof Qt){let mt,Ct=ve.get(Pe=Pe.head||Pe);if(Ct||ve.set(Pe,Ct=new Set),!Ct.has(lt)){{mt=kt.createElement("style"),mt.innerHTML=Qt;const Kt=null!==(Je=Ot.$nonce$)&&void 0!==Je?Je:P(kt);null!=Kt&&mt.setAttribute("nonce",Kt),Pe.insertBefore(mt,Pe.querySelector("link"))}Ct&&Ct.add(lt)}}else Pe.adoptedStyleSheets.includes(Qt)||(Pe.adoptedStyleSheets=[...Pe.adoptedStyleSheets,Qt]);return lt})(Ve.shadowRoot?Ve.shadowRoot:Ve.getRootNode(),Be);10&yt&&(Ve["s-sc"]=lt,Ve.classList.add(lt+"-h"))})(Be);tt(Be,Ve),Ct&&(Ct.map(Kt=>Kt()),lt["s-rc"]=void 0);{const Kt=null!==(Je=lt["s-p"])&&void 0!==Je?Je:[],Rt=()=>Re(Be);0===Kt.length?Rt():(Promise.all(Kt).then(Rt),Be.$flags$|=4,Kt.length=0)}});return function(Ve,yt,Je){return Pe.apply(this,arguments)}}(),tt=(Pe,Be,Ve)=>{try{Be=Be.render(),Pe.$flags$&=-17,Pe.$flags$|=2,((Pe,Be)=>{const Ve=Pe.$hostElement$,yt=Pe.$vnode$||k(null,null),Je=(Pe=>Pe&&Pe.$tag$===M)(Be)?Be:$(null,null,Be);O=Ve.tagName,Je.$tag$=null,Je.$flags$|=4,Pe.$vnode$=Je,Je.$elm$=yt.$elm$=Ve.shadowRoot||Ve,p=Ve["s-sc"],L(yt,Je)})(Pe,Be)}catch(yt){Bt(yt,Pe.$hostElement$)}return null},Re=Pe=>{const Ve=Pe.$hostElement$,Je=Pe.$lazyInstance$,lt=Pe.$ancestorComponent$;64&Pe.$flags$||(Pe.$flags$|=64,ie(Ve),Se(Je,"componentDidLoad"),Pe.$onReadyResolve$(Ve),lt||Ie()),Pe.$onInstanceResolve$(Ve),Pe.$onRenderResolve$&&(Pe.$onRenderResolve$(),Pe.$onRenderResolve$=void 0),512&Pe.$flags$&&Ue(()=>re(Pe,!1)),Pe.$flags$&=-517},pe=Pe=>{{const Be=St(Pe),Ve=Be.$hostElement$.isConnected;return Ve&&2==(18&Be.$flags$)&&re(Be,!1),Ve}},Ie=Pe=>{ie(kt.documentElement),Ue(()=>oe(In,"appload",{detail:{namespace:"ionicpwaelements"}}))},Se=(Pe,Be,Ve)=>{if(Pe&&Pe[Be])try{return Pe[Be](Ve)}catch(yt){Bt(yt)}},ie=Pe=>Pe.classList.add("hydrated"),Ee=(Pe,Be,Ve)=>{if(Be.$members$){const yt=Object.entries(Be.$members$),Je=Pe.prototype;if(yt.map(([lt,[Qt]])=>{31&Qt||2&Ve&&32&Qt?Object.defineProperty(Je,lt,{get(){return((Pe,Be)=>St(this).$instanceValues$.get(Be))(0,lt)},set(Ct){((Pe,Be,Ve,yt)=>{const Je=St(Pe),lt=Je.$instanceValues$.get(Be),Qt=Je.$flags$,Ct=Je.$lazyInstance$;Ve=((Pe,Be)=>null==Pe||B(Pe)?Pe:4&Be?"false"!==Pe&&(""===Pe||!!Pe):2&Be?parseFloat(Pe):1&Be?String(Pe):Pe)(Ve,yt.$members$[Be][0]);const mt=Number.isNaN(lt)&&Number.isNaN(Ve);(!(8&Qt)||void 0===lt)&&Ve!==lt&&!mt&&(Je.$instanceValues$.set(Be,Ve),Ct&&2==(18&Qt)&&re(Je,!1))})(this,lt,Ct,Be)},configurable:!0,enumerable:!0}):1&Ve&&64&Qt&&Object.defineProperty(Je,lt,{value(...Ct){const mt=St(this);return mt.$onInstancePromise$.then(()=>mt.$lazyInstance$[lt](...Ct))}})}),1&Ve){const lt=new Map;Je.attributeChangedCallback=function(Qt,Ct,mt){Ot.jmp(()=>{const Kt=lt.get(Qt);if(this.hasOwnProperty(Kt))mt=this[Kt],delete this[Kt];else if(Je.hasOwnProperty(Kt)&&"number"==typeof this[Kt]&&this[Kt]==mt)return;this[Kt]=(null!==mt||"boolean"!=typeof this[Kt])&&mt})},Pe.observedAttributes=yt.filter(([Qt,Ct])=>15&Ct[0]).map(([Qt,Ct])=>{const mt=Ct[1]||Qt;return lt.set(mt,Qt),mt})}}return Pe},vt=function(){var Pe=(0,a.A)(function*(Be,Ve,yt,Je,lt){if(!(32&Ve.$flags$)){Ve.$flags$|=32;{if((lt=st(yt)).then){const Kt=()=>{};lt=yield lt,Kt()}lt.isProxied||(Ee(lt,yt,2),lt.isProxied=!0);const mt=()=>{};Ve.$flags$|=8;try{new lt(Ve)}catch(Kt){Bt(Kt)}Ve.$flags$&=-9,mt()}if(lt.style){let mt=lt.style;const Kt=n(yt);if(!Lt.has(Kt)){const Rt=()=>{};((Pe,Be,Ve)=>{let yt=Lt.get(Pe);Ut&&Ve?(yt=yt||new CSSStyleSheet,"string"==typeof yt?yt=Be:yt.replaceSync(Be)):yt=Be,Lt.set(Pe,yt)})(Kt,mt,!!(1&yt.$flags$)),Rt()}}}const Qt=Ve.$ancestorComponent$,Ct=()=>re(Ve,!0);Qt&&Qt["s-rc"]?Qt["s-rc"].push(Ct):Ct()});return function(Ve,yt,Je,lt,Qt){return Pe.apply(this,arguments)}}(),nn=(Pe,Be={})=>{var Ve;const Je=[],lt=Be.exclude||[],Qt=In.customElements,Ct=kt.head,mt=Ct.querySelector("meta[charset]"),Kt=kt.createElement("style"),Rt=[];let Ft,Pn=!0;Object.assign(Ot,Be),Ot.$resourcesUrl$=new URL(Be.resourcesUrl||"./",kt.baseURI).href,Pe.map(wn=>{wn[1].map(_n=>{const bn={$flags$:_n[0],$tagName$:_n[1],$members$:_n[2],$listeners$:_n[3]};bn.$members$=_n[2],bn.$listeners$=_n[3];const zn=bn.$tagName$,Un=class extends HTMLElement{constructor(Fn){super(Fn),yn(Fn=this,bn),1&bn.$flags$&&Fn.attachShadow({mode:"open"})}connectedCallback(){Ft&&(clearTimeout(Ft),Ft=null),Pn?Rt.push(this):Ot.jmp(()=>(Pe=>{if(!(1&Ot.$flags$)){const Be=St(Pe),Ve=Be.$cmpMeta$,yt=()=>{};if(1&Be.$flags$)gt(Pe,Be,Ve.$listeners$);else{Be.$flags$|=1;{let Je=Pe;for(;Je=Je.parentNode||Je.host;)if(Je["s-p"]){J(Be,Be.$ancestorComponent$=Je);break}}Ve.$members$&&Object.entries(Ve.$members$).map(([Je,[lt]])=>{if(31<&&Pe.hasOwnProperty(Je)){const Qt=Pe[Je];delete Pe[Je],Pe[Je]=Qt}}),vt(Pe,Be,Ve)}yt()}})(this))}disconnectedCallback(){Ot.jmp(()=>(Pe=>{if(!(1&Ot.$flags$)){const Be=St(this),Ve=Be.$lazyInstance$;Be.$rmListeners$&&(Be.$rmListeners$.map(yt=>yt()),Be.$rmListeners$=void 0),Se(Ve,"disconnectedCallback")}})())}componentOnReady(){return St(this).$onReadyPromise$}};bn.$lazyBundleId$=wn[0],!lt.includes(zn)&&!Qt.get(zn)&&(Je.push(zn),Qt.define(zn,Ee(Un,bn,1)))})});{Kt.innerHTML=Je+"{visibility:hidden}.hydrated{visibility:inherit}",Kt.setAttribute("data-styles","");const wn=null!==(Ve=Ot.$nonce$)&&void 0!==Ve?Ve:P(kt);null!=wn&&Kt.setAttribute("nonce",wn),Ct.insertBefore(Kt,mt?mt.nextSibling:Ct.firstChild)}Pn=!1,Rt.length?Rt.map(wn=>wn.connectedCallback()):Ot.jmp(()=>Ft=setTimeout(Ie,30))},gt=(Pe,Be,Ve,yt)=>{Ve&&Ve.map(([Je,lt,Qt])=>{const Ct=on(Pe,Je),mt=ft(Be,Qt),Kt=wt(Je);Ot.ael(Ct,lt,mt,Kt),(Be.$rmListeners$=Be.$rmListeners$||[]).push(()=>Ot.rel(Ct,lt,mt,Kt))})},ft=(Pe,Be)=>Ve=>{try{256&Pe.$flags$?Pe.$lazyInstance$[Be](Ve):(Pe.$queuedListeners$=Pe.$queuedListeners$||[]).push([Be,Ve])}catch(yt){Bt(yt)}},on=(Pe,Be)=>16&Be?kt.body:Pe,wt=Pe=>!!(2&Pe),En=new WeakMap,St=Pe=>En.get(Pe),Tt=(Pe,Be)=>En.set(Be.$lazyInstance$=Pe,Be),yn=(Pe,Be)=>{const Ve={$flags$:0,$hostElement$:Pe,$cmpMeta$:Be,$instanceValues$:new Map};return Ve.$onInstancePromise$=new Promise(yt=>Ve.$onInstanceResolve$=yt),Ve.$onReadyPromise$=new Promise(yt=>Ve.$onReadyResolve$=yt),Pe["s-p"]=[],Pe["s-rc"]=[],gt(Pe,Ve,Be.$listeners$),En.set(Pe,Ve)},Dt=(Pe,Be)=>Be in Pe,Bt=(Pe,Be)=>(0,console.error)(Pe,Be),Cn=new Map,st=(Pe,Be,Ve)=>{const yt=Pe.$tagName$.replace(/-/g,"_"),Je=Pe.$lazyBundleId$,lt=Cn.get(Je);if(lt)return lt[yt];if(!Ve||!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,Bt);case"pwa-camera-modal":return E.e(2982).then(E.bind(E,2982)).then(Qt,Bt);case"pwa-toast":return E.e(3574).then(E.bind(E,3574)).then(Qt,Bt);case"pwa-camera-modal-instance":return E.e(5640).then(E.bind(E,5640)).then(Qt,Bt);case"pwa-camera":return E.e(6086).then(E.bind(E,6086)).then(Qt,Bt)}}return E(5235)(`./${Je}.entry.js`).then(Qt=>(Cn.set(Je,Qt),Qt[yt]),Bt)},Lt=new Map,In=typeof window<"u"?window:{},kt=In.document||{head:{}},Ot={$flags$:0,$resourcesUrl$:"",jmp:Pe=>Pe(),raf:Pe=>requestAnimationFrame(Pe),ael:(Pe,Be,Ve,yt)=>Pe.addEventListener(Be,Ve,yt),rel:(Pe,Be,Ve,yt)=>Pe.removeEventListener(Be,Ve,yt),ce:(Pe,Be)=>new CustomEvent(Pe,Be)},Ln=Pe=>Promise.resolve(Pe),Ut=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Le=[],_e=[],De=(Pe,Be)=>Ve=>{Pe.push(Ve),D||(D=!0,Be&&4&Ot.$flags$?Ue(Ze):Ot.raf(Ze))},Ae=Pe=>{for(let Be=0;Be{Ae(Le),Ae(_e),(D=Le.length>0)&&Ot.raf(Ze)},Ue=Pe=>Ln().then(Pe),it=De(_e,!0)},3172:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{B$:()=>S,Cc:()=>a,Hs:()=>D,K:()=>O,Th:()=>C,Zm:()=>w,cM:()=>_,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 O=(()=>{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||{}),_=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}(_||{});let w=(()=>{var g;class F{}return(g=F).TEACHER="teacher",g.STORY="story",g.PARENT="parent",F})()},5553:(be,ee,E)=>{"use strict";E.d(ee,{h:()=>C});var a=E(177),S=E(9417),p=E(8974),O=E(5402),c=E(2904),D=E(4438);let C=(()=>{var _;class T{}return(_=T).\u0275fac=function(g){return new(g||_)},_.\u0275mod=D.$C({type:_}),_.\u0275inj=D.G2t({providers:[c.a0,c.H0,c.n$],imports:[a.MD,S.YN,S.X1,p.bv,S.X1,O.h.forChild()]}),T})()},446:(be,ee,E)=>{"use strict";E.d(ee,{g:()=>a});const a={tenantLogo:"assets/school/GEMS.svg",siteName:"Garhwal English Medium School",siteByLine:"Listen, Learn & Grow !!!",splashImage:"assets/school/GEMS.jpeg",headerFilters:[{defaultFilter:{id:"All",label:"All",query:"",filters:"All"},additionalFilters:[{id:"Stories",label:"Stories",query:"Stories and poems",filters:"Stories"},{id:"Activities",label:"Activities",query:"Activity Sheets",filters:"Activities"},{id:"Songs",label:"Songs",query:"Songs",filters:"Songs"},{id:"Audio Books",label:"Audio Books",query:"Audio Books",filters:"Audio Books"},{id:"Handbooks",label:"Handbooks",query:"Handbooks",filters:"Handbooks"}]}],languages:[{id:"en",label:"English",default:!1},{id:"hi",label:"\u0939\u093f\u0902\u0926\u0940",default:!0}],footerText:"Developed with \u2764\ufe0f by Tekdi Technologies ",headerColor:"brown",headerFontSize:"16",footerColor:"brown",footerFontSize:"16"}},3721:(be,ee,E)=>{"use strict";E.d(ee,{h:()=>S});var a=E(4438);let S=(()=>{var p;class O{}return(p=O).\u0275fac=function(D){return new(D||p)},p.\u0275mod=a.$C({type:p}),p.\u0275inj=a.G2t({}),O})()},1984:(be,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(O){var c=this;return(0,a.A)(function*(){c._isInitialised=!0,c.config={authentication:{bearerToken:""},deviceInfo:{did:O}}})()}getSakhiResponse(){return this.botMsg}setSakhiResponse(O){var c=this;return(0,a.A)(function*(){c.botMsg={storySakhi:O.story,teacherSakhi:O.teacher,paretSakhi:O.parent}})()}}},2700:(be,ee,E)=>{"use strict";E.d(ee,{G:()=>o});var a=E(467),S=E(6648),p=E(3028),O=E(9437),c=E(7673),D=E(8810),C=E(1984),_=E(8141),T=E(985),w=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:w().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,_.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 R=(()=>{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),K=E(5083),oe=E(1413);let ve=(()=>{var u;class s{constructor(){this.http=K.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 oe.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),console.log("requestOptions",L),this.http.request(L).then(I=>{I.data=I.data;let V=I.data;const J=[];if(V.data&&null!=V.data.djp_contents&&V.data.djp_contents.forEach(re=>{let me=this.checkMimieType(null==re?void 0:re.url);J.push({agegroup:re.agegroup,audience:re.audience,bpp_id:re.bpp_id,bpp_uri:re.bpp_uri,competency:re.competencies,category:re.category,createdon:re.createdon,curriculargoal:re.curriculargoal,id:re.item_id,identifier:re.identifier,provider_id:re.provider_id,provider_name:re.provider_name,name:re.name,description:re.description,thumbnail:re.thumbnail,domain:re.domain,unique_id:re.unique_id,language:re.language,url:re.url,sourceOrganisation:re.sourceorg,midea:re.midea,keywords:re.keywords,lastupdatedon:re.lastupdatedon,learningOutcomes:re.learningOutcomes,status:re.status,mimetype:me})}),J){let re;re=V.data&&null!=V.data.djp_contents?{body:{result:J},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers}:{body:{result:I.data},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers},console.log("apiResponse",re),d.next(re),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(J){if(V.body=I.error,I.status<=0)throw J}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 R(`\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(!R.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(ve),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,O.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,O.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:(be,ee,E)=>{"use strict";E.d(ee,{_g:()=>p,kr:()=>a,xl:()=>S});var a=function(O){return O.GET="GET",O.POST="POST",O.PATCH="PATCH",O.DELETE="DELETE",O.PUT="PUT",O}(a||{}),S=function(O){return O[O.HTTP_UNAUTHORISED=401]="HTTP_UNAUTHORISED",O[O.HTTP_FORBIDDEN=403]="HTTP_FORBIDDEN",O[O.HTTP_SUCCESS=200]="HTTP_SUCCESS",O[O.HTTP_BAD_REQUEST=400]="HTTP_BAD_REQUEST",O[O.HTTP_KONG_FAILURE=447]="HTTP_KONG_FAILURE",O[O.HTTP_INTERNAL_SERVER_ERROR=500]="HTTP_INTERNAL_SERVER_ERROR",O}(S||{});let p=(()=>{var O;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(O=c).Builder=class{constructor(){this.request=new O}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:(be,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||{}),O=function(F){return F.None="NONE",F.Slide="SLIDE",F.Fade="FADE",F}(O||{});const C=(0,S.F3)("StatusBar");var _=E(1413),T=E(8941),w=E(4438);let g=(()=>{var F;class A{constructor(){this.appName="",this.headerEvent=new _.B,this.headerEventEmitted$=this.headerEvent.asObservable(),this.headerConfig=new _.B,this.headerConfigEmitted$=this.headerConfig.asObservable(),this.deviceBackbtnConfig=new _.B,this.deviceBackbtnEmitted$=this.deviceBackbtnConfig.asObservable(),this.filterConfig=new _.B,this.filterConfigEmitted$=this.filterConfig.asObservable(),this.sideMenuItemEvent=new _.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 R=M.getDefaultPageConfig();R.pageTitle=null!=P?P:M.appName,R.showbackButton=null!=$&&$,R.actionButtons=null!=k?k:[""],M.updatePageConfig(R)})()}hideStatusBar(){C.hide()}showStatusBar(P,$){C.show({animation:O.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=w.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),A})()},4447:(be,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),_=E(8974),T=E(5402);let w=(()=>{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(_.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:[_.Jm,_.QW,_.W9,_.eU,_.uz,_.he,_.BC,_.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,R){this.router=k,this.platform=M,this.popoverController=R,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 R=yield k.popoverController.create({component:w,cssClass:"update-modal",translucent:!0,dismissOnSelect:!0});yield R.present(),R.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(_.IE))},B.\u0275prov=C.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),P})()},6011:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>c});var a=E(467),S=E(4438),p=E(4591),O=E(1765);let c=(()=>{var D;class C{constructor(T,w){this.dbService=T,this.telemetryService=w}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(O.H))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},4999:(be,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:(be,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 w=(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(w))})()}getCacheTimeout(){var T=this;return(0,a.A)(function*(){let w=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"===w&&(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:(be,ee,E)=>{"use strict";E.d(ee,{w:()=>T});var a=E(467),S=E(3172),p=E(985),O=E(3207),c=E(6354),D=E(9437),C=E(4438),_=E(2700);let T=(()=>{var w;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,O.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,O.s)(P.apiService.fetch(k).pipe((0,c.T)(M=>M.body.result),(0,D.W)(M=>{throw M})))})()}}return(w=g).\u0275fac=function(A){return new(A||w)(C.KVO(_.G))},w.\u0275prov=C.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),g})()},444:(be,ee,E)=>{"use strict";E.d(ee,{f:()=>P});var a=E(467),S=E(532),p=E(5396),O=E(4870);class c{static mapContentToRecentlyViewedContentEntry(k,M,R){return{[p.a.COLUMN_NAME_IDENTIFIER]:R,[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 R=JSON.parse(k.content_metadata);return R.isLiked=!!k.reaction_identifier,k.content_metadata=JSON.stringify(R),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),_=E(56),T=E(985),w=E(3207),g=E(742),F=E(4438),A=E(2904),B=E(2700);let P=(()=>{var $;class k{constructor(R,U){this.dbService=R,this.apiService=U,this.results=[]}deleteAllContents(){return this.dbService.remove(S.a.deleteQuery(),{source:"djp"})}saveContents(R){const U=[];return R.map(j=>{U.push({statement:S.a.insertQuery(),values:O.Z.mapContentToValues(j)})}),this.dbService.executeSet(U)}getRecentlyViewedContent(R){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='${R}' ORDER BY rvc.ts DESC`,K=yield U.dbService.executeQuery(j),oe=[];return null==K||K.map(ve=>{oe.push(D.mapContentRVCtoRecentlyViedContent(ve,(0,C.A)()))}),Promise.resolve(oe)})()}getAllContent(){var R=this;return(0,a.A)(function*(){const j=[];return R.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(K=>(K.map(oe=>{const ve=JSON.parse(oe.metadata);oe.metaData=ve,j.push(oe)}),Promise.resolve(j)))})()}likeContent(R,U,j){var K=this;return(0,a.A)(function*(){return j?K.dbService.readDbData(g.S.readQuery(),{content_identifier:R.metaData.identifier}).then(oe=>{const ve=oe?g.S.updateQuery():g.S.insertQuery(),te=oe?{content_identifier:R.metaData.identifier,uid:U}:void 0;return K.dbService.save(ve,O.Z.mapContentReactionEntry(R.metaData.identifier,"guest"),te)}):K.dbService.remove(g.S.deleteQuery(),{content_identifier:R.metaData.identifier,uid:U})})()}markContentAsViewed(R){var U=this;return(0,a.A)(function*(){return(yield U.dbService.readDbData(S.a.readQuery(),{identifier:R.metaData.identifier}))||(yield U.dbService.executeSet([{statement:S.a.insertQuery(),values:O.Z.mapContentToValues(R)}])),U.dbService.readDbData(p.a.readQuery(),{content_identifier:R.metaData.identifier}).then(K=>{const oe=K?p.a.updateQuery():p.a.insertQuery(),ve=K?{identifier:R.metaData.identifier}:void 0;return U.dbService.save(oe,c.mapContentToRecentlyViewedContentEntry(R,"guest",(0,C.A)()),ve)})})()}searchContentInDiksha(R){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:R,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,w.s)(this.apiService.fetch(j))}getCollectionHierarchy(R){const U=(new T._g.Builder).withHost("https://diksha.gov.in/action/content/v3/hierarchy/").withPath(`${R}`).withType(T.kr.GET).build();return(0,w.s)(this.apiService.fetch(U))}getContents(R){return this.searchContentInDiksha(R).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(K=>{j.push({source:"dialcode",sourceType:"Diksha",metaData:{identifier:null==K?void 0:K.identifier,name:null==K?void 0:K.name,thumbnail:null==K?void 0:K.posterImage,description:null==K?void 0:K.name,mimetype:(null==K?void 0:K.mimetype)||(null==K?void 0:K.mimeType),url:null==K?void 0:K.streamingUrl,focus:null==K?void 0:K.focus,keyword:null==K?void 0:K.keyword,domain:null==K?void 0:K.domain,curriculargoal:null==K?void 0:K.curriculargoal,competencies:null==K?void 0:K.competencies,language:null==K?void 0:K.language,category:null==K?void 0:K.category,audience:null==K?void 0:K.audience,status:null==K?void 0:K.status,createdon:null==K?void 0:K.createdOn,lastupdatedon:(null==K?void 0:K.lastupdatedon)||(null==K?void 0:K.lastUpdatedOn),artifactUrl:null==K?void 0:K.artifactUrl}})})),j}).catch(U=>{throw console.error(U),U})}showAllChild(R){let U=_.z5.VIDEOS;U.indexOf(_.z5.PDF)>-1||U.push(_.z5.PDF),void 0!==R.children&&R.children.length?(R.children.forEach(j=>{this.showAllChild(j)}),console.log("Results",this.results)):U.indexOf(R.mimeType)>-1&&this.results.push(R)}readDikshaContents(R){const U=(new T._g.Builder).withHost("https://diksha.gov.in/api/content/v1/read/").withPath(`${R}`).withType(T.kr.GET).build();return(0,w.s)(this.apiService.fetch(U))}}return($=k).\u0275fac=function(R){return new(R||$)(F.KVO(A.at),F.KVO(B.G))},$.\u0275prov=F.jDH({token:$,factory:$.\u0275fac,providedIn:"root"}),k})()},742:(be,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:(be,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:(be,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:(be,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:(be,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(R){return Promise.reject(R)}})()}saveToStore(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.saveToStore({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}saveToLocalDisk(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.saveToLocalDisk({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getFromLocalDiskToStore(M){var R=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield R.sqlite.getFromLocalDiskToStore({overwrite:U}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}echo(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.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 R=yield M.sqlite.isSecretStored();return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}setEncryptionSecret(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.setEncryptionSecret({passphrase:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}changeEncryptionSecret(M,R){var U=this;return(0,a.A)(function*(){try{return yield U.sqlite.changeEncryptionSecret({passphrase:M,oldpassphrase:R}),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(R){return Promise.reject(R)}})()}checkEncryptionSecret(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.sqlite.checkEncryptionSecret({passphrase:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}addUpgradeStatement(M,R){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:R}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}createConnection(M,R,U,j,K){var oe=this;return(0,a.A)(function*(){try{M.endsWith(".db")&&(M=M.slice(0,-3)),yield oe.sqlite.createConnection({database:M,encrypted:R,mode:U,version:j,readonly:K});const ve=new O(M,K,oe.sqlite);return oe._connectionDict.set(K?`RO_${M}`:`RW_${M}`,ve),Promise.resolve(ve)}catch(ve){return Promise.reject(ve)}})()}closeConnection(M,R){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:R}),U._connectionDict.delete(R?`RO_${M}`:`RW_${M}`),Promise.resolve()}catch(j){return Promise.reject(j)}})()}isConnection(M,R){var U=this;return(0,a.A)(function*(){const j={};return M.endsWith(".db")&&(M=M.slice(0,-3)),j.result=U._connectionDict.has(R?`RO_${M}`:`RW_${M}`),Promise.resolve(j)})()}retrieveConnection(M,R){var U=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));const j=R?`RO_${M}`:`RW_${M}`;if(U._connectionDict.has(j)){const K=U._connectionDict.get(j);return typeof K<"u"?Promise.resolve(K):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}getNCDatabasePath(M,R){var U=this;return(0,a.A)(function*(){try{const j=yield U.sqlite.getNCDatabasePath({path:M,database:R});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}createNCConnection(M,R){var U=this;return(0,a.A)(function*(){try{yield U.sqlite.createNCConnection({databasePath:M,version:R});const j=new O(M,!0,U.sqlite);return U._connectionDict.set(`RO_${M})`,j),Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}closeNCConnection(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.closeNCConnection({databasePath:M}),R._connectionDict.delete(`RO_${M})`),Promise.resolve()}catch(U){return Promise.reject(U)}})()}isNCConnection(M){var R=this;return(0,a.A)(function*(){const U={};return U.result=R._connectionDict.has(`RO_${M})`),Promise.resolve(U)})()}retrieveNCConnection(M){var R=this;return(0,a.A)(function*(){if(R._connectionDict.has(M)){const j=R._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 R=this;return(0,a.A)(function*(){try{const U=yield R.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 R=new Map;try{for(const U of M._connectionDict.keys()){const j=U.substring(3),K="RO_"===U.substring(0,3);yield M.sqlite.closeConnection({database:j,readonly:K}),R.set(U,null)}for(const U of R.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 R=[...M._connectionDict.keys()],U=[],j=[];for(const oe of R)U.push(oe.substring(0,2)),j.push(oe.substring(3));const K=yield M.sqlite.checkConnectionsConsistency({dbNames:j,openModes:U});return K.result||(M._connectionDict=new Map),Promise.resolve(K)}catch(R){return M._connectionDict=new Map,Promise.reject(R)}})()}importFromJson(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.sqlite.importFromJson({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isJsonValid(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.sqlite.isJsonValid({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}copyFromAssets(M){var R=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield R.sqlite.copyFromAssets({overwrite:U}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}getFromHTTPRequest(M,R){var U=this;return(0,a.A)(function*(){const j=null==R||R;try{return yield U.sqlite.getFromHTTPRequest({url:M,overwrite:j}),Promise.resolve()}catch(K){return Promise.reject(K)}})()}isDatabaseEncrypted(M){var R=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield R.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 R=yield M.sqlite.isInConfigEncryption();return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}isInConfigBiometricAuth(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.isInConfigBiometricAuth();return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}isDatabase(M){var R=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield R.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(R){return Promise.reject(R)}})()}getMigratableDbList(M){var R=this;return(0,a.A)(function*(){const U=M||"default";try{const j=yield R.sqlite.getMigratableDbList({folderPath:U});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}addSQLiteSuffix(M,R){var U=this;return(0,a.A)(function*(){const j=M||"default",K=R||[];try{const oe=yield U.sqlite.addSQLiteSuffix({folderPath:j,dbNameList:K});return Promise.resolve(oe)}catch(oe){return Promise.reject(oe)}})()}deleteOldDatabases(M,R){var U=this;return(0,a.A)(function*(){const j=M||"default",K=R||[];try{const oe=yield U.sqlite.deleteOldDatabases({folderPath:j,dbNameList:K});return Promise.resolve(oe)}catch(oe){return Promise.reject(oe)}})()}moveDatabasesAndAddSuffix(M,R){var U=this;return(0,a.A)(function*(){return U.sqlite.moveDatabasesAndAddSuffix({folderPath:M||"default",dbNameList:R||[]})})()}}class O{constructor(M,R,U){this.dbName=M,this.readonly=R,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(R){return Promise.reject(R)}})()}close(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.close({database:M.dbName,readonly:M.readonly}),Promise.resolve()}catch(R){return Promise.reject(R)}})()}beginTransaction(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.beginTransaction({database:M.dbName});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}commitTransaction(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.commitTransaction({database:M.dbName});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}rollbackTransaction(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.rollbackTransaction({database:M.dbName});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}isTransactionActive(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.isTransactionActive({database:M.dbName});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}loadExtension(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.loadExtension({database:R.dbName,path:M,readonly:R.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}enableLoadExtension(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.enableLoadExtension({database:R.dbName,toggle:M,readonly:R.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getUrl(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.getUrl({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}getVersion(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.getVersion({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}getTableList(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.getTableList({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}execute(M,R=!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 K=yield j.sqlite.execute({database:j.dbName,statements:M,transaction:R,readonly:!1,isSQL92:U});return Promise.resolve(K)}}catch(K){return Promise.reject(K)}})()}query(M,R,U=!0){var j=this;return(0,a.A)(function*(){let K;try{return K=R&&R.length>0?yield j.sqlite.query({database:j.dbName,statement:M,values:R,readonly:j.readonly,isSQL92:!0}):yield j.sqlite.query({database:j.dbName,statement:M,values:[],readonly:j.readonly,isSQL92:U}),K=yield j.reorderRows(K),Promise.resolve(K)}catch(oe){return Promise.reject(oe)}})()}run(M,R,U=!0,j="no",K=!0){var oe=this;return(0,a.A)(function*(){let ve;try{return oe.readonly?Promise.reject("not allowed in read-only mode"):(ve=R&&R.length>0?yield oe.sqlite.run({database:oe.dbName,statement:M,values:R,transaction:U,readonly:!1,returnMode:j,isSQL92:!0}):yield oe.sqlite.run({database:oe.dbName,statement:M,values:[],transaction:U,readonly:!1,returnMode:j,isSQL92:K}),ve.changes=yield oe.reorderRows(ve.changes),Promise.resolve(ve))}catch(te){return Promise.reject(te)}})()}executeSet(M,R=!0,U="no",j=!0){var K=this;return(0,a.A)(function*(){let oe;try{return K.readonly?Promise.reject("not allowed in read-only mode"):(oe=yield K.sqlite.executeSet({database:K.dbName,set:M,transaction:R,readonly:!1,returnMode:U,isSQL92:j}),oe.changes=yield K.reorderRows(oe.changes),Promise.resolve(oe))}catch(ve){return Promise.reject(ve)}})()}isExists(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.isDBExists({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}isTable(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.sqlite.isTableExists({database:R.dbName,table:M,readonly:R.readonly});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isDBOpen(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.isDBOpen({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}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(R){return Promise.reject(R)}})()}createSyncTable(){var M=this;return(0,a.A)(function*(){try{if(M.readonly)return Promise.reject("not allowed in read-only mode");{const R=yield M.sqlite.createSyncTable({database:M.dbName,readonly:!1});return Promise.resolve(R)}}catch(R){return Promise.reject(R)}})()}setSyncDate(M){var R=this;return(0,a.A)(function*(){try{return R.readonly?Promise.reject("not allowed in read-only mode"):(yield R.sqlite.setSyncDate({database:R.dbName,syncdate:M,readonly:!1}),Promise.resolve())}catch(U){return Promise.reject(U)}})()}getSyncDate(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.getSyncDate({database:M.dbName,readonly:M.readonly});let U="";return R.syncDate>0&&(U=new Date(1e3*R.syncDate).toISOString()),Promise.resolve(U)}catch(R){return Promise.reject(R)}})()}exportToJson(M,R=!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:R});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(R){return Promise.reject(R)}})()}executeTransaction(M,R=!0){var U=this;return(0,a.A)(function*(){let j=0,K=!1;if(U.readonly)return Promise.reject("not allowed in read-only mode");if(yield U.sqlite.beginTransaction({database:U.dbName}),K=yield U.sqlite.isTransactionActive({database:U.dbName}),!K)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:R});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(oe){const ve=oe.message?oe.message:oe;return yield U.sqlite.rollbackTransaction({database:U.dbName}),Promise.reject(ve)}})()}reorderRows(M){return(0,a.A)(function*(){const R=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 K=1;KE.e(4612).then(E.bind(E,4612)).then(k=>new k.CapacitorSQLiteWeb),electron:()=>window.CapacitorCustomPlatform.plugins.CapacitorSQLite});var D=E(56),C=E(1503),_=E(2798),T=E(5396),w=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(w.C.getCreateEntry()),yield U.createTable(F.K.getCreateEntry()),yield U.createTable(g.a.getCreateEntry()),yield U.createTable(T.a.getCreateEntry()),yield U.createTable(_.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,K,oe,ve){var te=this;return(0,a.A)(function*(){let se;const m=(yield te.sqliteConnection.checkConnectionsConsistency()).result;let n=(yield te.sqliteConnection.isConnection(U,ve)).result;return se=m&&n?yield te.sqliteConnection.retrieveConnection(U,ve):yield te.sqliteConnection.createConnection(U,j,K,oe,ve),yield se.open(),te.sqliteDBConnection=se,!0})()}closeConnection(U,j){var K=this;return(0,a.A)(function*(){const oe=j||!1;return yield K.sqliteConnection.closeConnection(U,oe)})()}createTable(U){var j=this;return(0,a.A)(function*(){try{const K=(yield j.sqliteDBConnection.query(U)).values;return K.length>0?K:null}catch(K){return Promise.reject(`create table err: ${K.message?K.message:K}`)}})()}executeQuery(U){var j=this;return(0,a.A)(function*(){try{const K=(yield j.sqliteDBConnection.query(U)).values;return K.length>0?K:null}catch(K){return Promise.reject(`select table err: ${K.message?K.message:K}`)}})()}executeSet(U){var j=this;return(0,a.A)(function*(){try{return yield j.sqliteDBConnection.executeSet(U)}catch(K){return Promise.reject(`create table err: ${K.message?K.message:K}`)}})()}readDbData(U,j,K){var oe=this;return(0,a.A)(function*(){try{if(j){const ve=Object.keys(j)[0],te=`${U} WHERE ${ve}='${j[ve]}' ${K||""}`,se=(yield oe.sqliteDBConnection.query(te)).values;return se.length>0?se:null}{const ve=(yield oe.sqliteDBConnection.query(U)).values;return ve.length>0?ve:null}}catch(ve){return Promise.reject(`readDbData err: ${ve.message?ve.message:ve}`)}})()}save(U,j,K){var oe=this;return(0,a.A)(function*(){const ve=!!K,te=Object.keys(j);let n,se="",m=[];for(const o of te)m.push(j[o]);if(ve){Object.keys(K);const u=yield oe.setNameForUpdate(te,m);if(0===u.length)return Promise.reject("save: update no SET");se=`${U} ${u} WHERE ${oe.getWhereStatement(K)}`;const s=yield oe.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 oe.sqliteDBConnection.run(se,m),console.log("ret",n),1!=n.changes.changes)return Promise.reject("save: insert changes != 1")}})()}remove(U,j){var K=this;return(0,a.A)(function*(){Object.keys(j);const ve=`${U} WHERE ${K.getWhereStatement(j)};`;return(yield K.sqliteDBConnection.run(ve)).changes})()}getWhereStatement(U){let j="";const K=Object.keys(U);for(let oe=0;oe1?(K=K.slice(0,-1),K):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:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(467),S=E(2739),p=E(4438),O=E(8974),c=E(5402);let D=(()=>{var C;class _{constructor(w,g){this.toastController=w,this.translate=g}downlaodContent(w){var g=this;return(0,a.A)(function*(){var F;g.presentToast("Downloading ....");let A=w.metaData.artifactUrl?w.metaData.artifactUrl.split("/"):w.metaData.url.split("/");console.log(A,A[A.length-1]);let B=null!==(F=w.metaData.artifactUrl)&&void 0!==F?F:w.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(w,g){var F=this;return(0,a.A)(function*(){try{let A=yield S.YA.writeFile({path:`downloadedContents/${w[w.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(w){var g=this;return(0,a.A)(function*(){g.toast=yield g.toastController.create({message:g.translate.instant(w),position:"bottom",color:"dark"}),yield g.toast.present()})()}convertBlobToBase64(w){return new Promise((g,F)=>{const A=new FileReader;A.onerror=F,A.onload=()=>{g(A.result)},A.readAsDataURL(w)})}}return(C=_).\u0275fac=function(w){return new(w||C)(p.KVO(O.K_),p.KVO(c.c$))},C.\u0275prov=p.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}),_})()},2904:(be,ee,E)=>{"use strict";E.d(ee,{Gf:()=>C.G,Ux:()=>c.U,F_:()=>n,dk:()=>B.d,we:()=>_.w,at:()=>S.a,XU:()=>A,Ze:()=>o.Z,MK:()=>r,hs:()=>T.h,XI:()=>P.X,Sc:()=>$.S,n$:()=>a.n,q4:()=>w.q,H0:()=>O.H,a0:()=>D.a});var a=E(3486),S=E(4591),O=(E(6011),E(1765)),c=E(3568),D=E(2342),C=E(2700),_=E(3696),T=E(8014),w=E(7594),g=E(467),F=E(4438);let A=(()=>{var d;class L{constructor(V,J){this.apiService=V,this.preprocessService=J}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),R=E(3207),U=E(6354),j=E(9437),K=E(56),oe=E(4999);class ve{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[oe.O.COLUMN_NAME_IDENTIFIER],message:L[oe.O.COLUMN_NAME_MESSAGE],messageType:L[oe.O.COLUMN_NAME_MEDIA_TYPE],botType:L[oe.O.COLUMN_NAME_BOT_TYPE],fromMe:L[oe.O.COLUMN_NAME_FROM_ME],mediaMimeType:L[oe.O.COLUMN_NAME_MEDIA_TYPE],mediaData:L[oe.O.COLUMN_NAME_MEDIA_DATA],mediaUrl:L[oe.O.COLUMN_NAME_MEDIA_PATH],duration:L[oe.O.COLUMN_NAME_DURATION],ts:L[oe.O.COLUMN_NAME_TIME_STAMP],reaction:L[oe.O.COLUMN_NAME_REACTIONS]}}}var te=E(2739),se=E(1626),m=E(5402);let n=(()=>{var d;class L{constructor(V,J,re){this.apiService=V,this.translate=J,this.dbService=re}getBotMessage(V,J,re,me){var Me=this;return(0,g.A)(function*(){console.log("text ",V,""!==V),console.log("audio ",J,""!==J);let Q=Me.getBotApiPath(re),ae={input:{},output:{format:V?"text":"audio"}};""!==V?ae.input={language:me,text:V,audio:"",context:re}:""!==J&&(ae.input={language:me,audio:J,text:"",context:re});let tt=(new se.Lr).set("Authorization","Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtb2JpbGVfZGV2aWNlIn0.W9cvngZh0_Y6hcGCBqS8MZOejkUxU9ptnJFji6VBHtA").set("Content-Type","application/json");const Re=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(Re).withBody(ae).withLanguge(me).build();return(0,R.s)(Me.apiService.fetch(pe).pipe((0,U.T)(Ie=>Ie),(0,j.W)(Ie=>{throw Ie})))})()}getBotApiPath(V){switch(V){case K.Zm.STORY:case K.Zm.PARENT:case K.Zm.TEACHER:return k.$.api.BOT_ACTIVITY_API_PATH;default:return""}}saveChatMessage(V){const J=[];return J.push({statement:oe.O.insertQueryWithColumns(),values:ve.mapChatToChatValues(V)}),this.dbService.executeSet(J)}getAllChatMessages(V){return this.dbService.readDbData(oe.O.readQuery(),{bot_type:V}).then(J=>{const re=[];return J&&J.length>0&&J.map(me=>{re.push(ve.mapChatToChatEntryToModel(me))}),re})}updateMessageReactions(V,J){return this.dbService.executeQuery(`UPDATE ${oe.O.TABLE_NAME}\n SET ${oe.O.COLUMN_NAME_REACTIONS} = ${J}\n WHERE ${oe.O.COLUMN_NAME_IDENTIFIER} = '${V}';`)}deleteExpiredChatMessages(){var V=this;return(0,g.A)(function*(){const J=yield te.YA.readdir({path:"",directory:te.__.Data});console.log(J);for(let re=0;reMe&&(yield te.YA.deleteFile({path:me.uri,directory:te.__.Data})),V.dbService.executeQuery(`DELETE FROM ${oe.O.TABLE_NAME} WHERE ${oe.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,J){this.router=V,this.tabService=J,this.notifEvent=new v.B,this.notificationEventEmitted$=this.notifEvent.asObservable()}initializeLocalNotif(V){var J=this;return(0,g.A)(function*(){let re=J;try{var me,Me,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===(me=V.schedule)||void 0===me?void 0:me.on,repeats:null===(Me=V.schedule)||void 0===Me?void 0:Me.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*(Re){let pe=re.router.location._locationStrategy._platformLocation._location;"/parent-sakhi"!==pe.pathname?(console.log("router page ",pe.pathname),re.tabService.hide(),"/"===pe.pathname?setTimeout((0,g.A)(function*(){yield re.router.navigate(["/parent-sakhi"],{state:{notif:Re.notification}})}),3e3):yield re.router.navigate(["/parent-sakhi"],{state:{notif:Re.notification}})):J.notifEvent.next(Re.notification)});return function(Re){return tt.apply(this,arguments)}}())})()}cancelNotification(V){return(0,g.A)(function*(){try{yield h.cancel({notifications:[{id:V}]})}catch(J){console.log("Error on cancel local notification ",J)}})()}}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:(be,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:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{q:()=>w});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 O=E(6421),c=E(1503),D=E(532),C=E(4870),_=E(4438),T=E(2904);let w=(()=>{var g;class F{constructor(B){this.dbService=B}createPlayList(B,P,$,k){const M=k?S.J.updateQuery():S.J.insertQuery(),R=k?{identifier:k}:void 0,U=!!k;return k||(k=(0,O.A)()),this.dbService.save(M,p.mapContentToPlayListEntry(B,P,k,$.length),R).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)(_.KVO(T.at))},g.\u0275prov=_.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),F})()},9836:(be,ee,E)=>{"use strict";E.d(ee,{X:()=>T});var a=E(467),S=E(5293),p=E(5083),O=E(9182);const c=(0,p.F3)("Haptics",{web:()=>E.e(3558).then(E.bind(E,3558)).then(w=>new w.HapticsWeb)});var D=E(1413),C=E(4438),_=E(8974);let T=(()=>{var w;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:O.kn.Light})},onMove:P=>{c.impact({style:O.kn.Light}),this.recordEvent.next(!1),this.cancelRecording=!0},onEnd:P=>{console.log("swipe left end ",P),c.impact({style:O.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:O.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:O.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(w=g).\u0275fac=function(A){return new(A||w)(C.KVO(_.wH))},w.\u0275prov=C.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),g})()},2186:(be,ee,E)=>{"use strict";E.d(ee,{S:()=>T});var a=E(467),S=E(3207),p=E(6354),O=E(9437),c=E(3172),D=E(985),C=E(4438),_=E(2700);let T=(()=>{var w;class g{constructor(A){this.apiService=A}postSearchContext(A,B){var P=this;return(0,a.A)(function*(){let $={};$=B?{audio:A.text,language:A.currentLang}:{name:A.text,language:A.currentLang};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)(R=>R.body),(0,O.W)(R=>{throw R})))})()}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),P.language=B;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,O.W)(k=>{throw k})))}}return(w=g).\u0275fac=function(A){return new(A||w)(C.KVO(_.G))},w.\u0275prov=C.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),g})()},8014:(be,ee,E)=>{"use strict";E.d(ee,{h:()=>p});var a=E(1413),S=E(4438);let p=(()=>{var O;class c{constructor(){this.sourceEvent=new a.B,this.sourceProcessEmitted$=this.sourceEvent.asObservable()}sunbirdSrcProcess(C){this.contentConfig=[],C.forEach(_=>{this.contentConfig.push(_)}),console.log("contentconfig ",this.contentConfig),this.sourceEvent.next(this.contentConfig)}}return(O=c).\u0275fac=function(C){return new(C||O)},O.\u0275prov=S.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),c})()},7594:(be,ee,E)=>{"use strict";E.d(ee,{q:()=>c});var a=E(467),S=E(4438),p=E(2700),O=E(8014);let c=(()=>{var D;class C{constructor(T,w){this.apiService=T,this.preprocessService=w}process(T,w){return(0,a.A)(function*(){})()}}return(D=C).\u0275fac=function(T){return new(T||D)(S.KVO(p.G),S.KVO(O.h))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3486:(be,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 O=E(4438);let c=(()=>{var D;class C{constructor(){}setData(T,w){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.set({key:T,value:w}).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(w=>w.value).catch(w=>w)})()}removeData(T){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.remove({key:T}).then(w=>!0).catch(w=>w)})()}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=O.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},1113:(be,ee,E)=>{"use strict";E.d(ee,{q:()=>S});var a=E(4438);let S=(()=>{var p;class O{constructor(){}hide(){let D=document.querySelectorAll(".tabbar"),C=document.querySelectorAll(".home-screen"),_=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(_).map(T=>{_[T].style.marginBottom="0"})}))}show(){let D=document.querySelectorAll(".tabbar"),C=document.querySelectorAll(".home-screen");null!==D&&null!==C&&(Object.keys(C).map(_=>{"rotate(-45deg)"!==C[_].style.transform&&(C[_].style.transform="rotate(-45deg)")}),Object.keys(D).map(_=>{"translateY(0px)"!==D[_].style.transform&&(D[_].style.transform="translateY(0px)")}))}}return(p=O).\u0275fac=function(D){return new(D||p)},p.\u0275prov=a.jDH({token:p,factory:p.\u0275fac}),O})()},5870:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{B:()=>C});var a=E(8855),p=E(3172),O=E(3649),c=E(4438),D=E(2904);let C=(()=>{var _;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 O.Ag);const A=g.actor;A.id||(A.id=F),A.type||(A.type=O.Ag.TYPE_USER)}patchContext(g,F,A,B,P,$){g.context||(g.context=new O.ob),g.context=this.buildContext(F,A,P,g.context,B,$)}patchPData(g,F){g.pdata||(g.pdata=new O.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(_=T).\u0275fac=function(g){return new(g||_)(c.KVO(D.a0))},_.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),T})()},3649:(be,ee,E)=>{"use strict";E.d(ee,{$i:()=>C,Ag:()=>a,Q$:()=>_,ob:()=>S,zE:()=>c});let a=(()=>{var T;class w{constructor(){this.id="",this.type=w.TYPE_USER}}return(T=w).TYPE_SYSTEM="System",T.TYPE_USER="User",w})();class S{}class c{ProducerData(){this.id="",this.pid="",this.ver=""}}class C{constructor(w,g,F){this.id=w,this.type=g,this.version=F}setRollup(w){this.rollup=w}}var _;!function(T){let w=(()=>{class k{constructor(R){this.ver=k.TELEMETRY_VERSION,this.eid=R,this.ets=Date.now(),this.actor=new a,this.context=new S,this.edata={}}}return k.TELEMETRY_VERSION="3.0",k})();T.Telemetry=w,T.Interact=(()=>{class k extends w{constructor(R,U,j,K,oe,ve,te,se="",m="",n="",o={},u=[]){super(k.EID),this.edata={type:R,subtype:U,...j?{id:j}:{},...K?{pageid:K}:{},extra:{...oe?{pos:oe}:{},...ve?{values:[ve]}:{}}},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 w{constructor(R,U,j,K,oe,ve,te="",se="",m="",n={},o=[]){super(k.EID),this.edata={...R?{type:R}:{},...j?{duration:j}:{},...K?{pageid:K}:{},...U?{mode:U}:{},...oe?{summaryList:oe}:{}},this.context.cdata=o,this.context.env=ve,this.object=new C(te,se,m),this.object.rollup=n}}return k.EID="END",k})(),T.Start=(()=>{class k extends w{constructor(R="",U,j,K,oe,ve,te,se="",m="",n="",o={},u=[]){super(k.EID),this.edata={...R?{type:R}:{type:""},...U?{dspec:U}:{},...j?{loc:j}:{},...K?{mode:K}:{},...oe?{mode:K}:{},...ve?{pageid:ve}:{}},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 w{constructor(R,U,j,K,oe,ve="",te="",se="",m={},n=[]){super(k.EID),this.edata={...R?{type:R}:{type:""},...U?{subtype:U}:{},...j?{pageid:j}:{},...j?{uri:j}:{},...K?{visits:K}:{}},this.context.cdata=n,this.context.env=oe,ve&&te&&(this.object=new C(ve,te,se),m&&(this.object.rollup=m||{}))}}return k.EID="IMPRESSION",k})(),T.Search=(()=>{class k extends w{constructor(R,U,j,K,oe,ve,te=0,se=[]){super(k.EID),this.edata={...R?{type:R}:{type:""},...U?{query:U}:{},...j?{filters:j}:{},...K?{sort:K}:{},...ve?{correlationid:ve}:{},...te?{size:te}:{}},this.context.cdata=se,this.context.env=oe}}return k.EID="SEARCH",k})()}(_||(_={}))},5173:(be,ee,E)=>{"use strict";E.d(ee,{O:()=>_});class a{constructor(){this.pos=[]}}class S{constructor(){this.env=""}}class p{constructor(){this.env=""}}class O{constructor(){this.env=""}}class c{}var D=E(4438),C=E(2904);let _=(()=>{var T;class w{constructor(F){this.telemetryService=F}generateInteractTelemetry(F,A,B,P,$,k,M,R,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!==R&&(j.correlationData=R),$&&$.id&&(j.objId=$.id),$&&$.type&&(j.objType=$.type),$&&$.version&&(j.objVer=$.version+""),this.telemetryService.interact(j).subscribe()}generateImpressionTelemetry(F,A,B,P,$,k,M,R,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!==R&&(j.rollup=R),void 0!==U&&(j.correlationData=U),this.telemetryService.impression(j).subscribe()}generateEndTelemetry(F,A,B,P,$,k,M,R,U){const j=new O;j.type=F,j.pageId=B,j.env=P,j.mode=A,R&&(j.duration=R),$&&$.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,R){const U=new c;U.type=F,U.query=A,U.env=P,U.size=B,$&&(U.filters=$),k&&(U.sort=k),void 0!==R&&(U.correlationData=R),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=w).\u0275fac=function(F){return new(F||T)(D.KVO(C.H0))},T.\u0275prov=D.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),w})()},1765:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>d});var a=E(2814),S=E(1985),p=E(8750);const{isArray:O}=Array;var D=E(983),C=E(4360),_=E(9326);var w=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)((J,re)=>(0,$.h)(J,re,L,I,void 0,!0,V))}var M=E(6649);function R(L,I){return(0,P.N)((0,M.S)(L,I,arguments.length>=2,!1,!0))}var U=E(3703),j=E(6354),K=E(9437),oe=E(7374),ve=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(J=>J?this.processEventsBatch(I):D.w),R(()=>{},void 0),(0,g.Z)(()=>this.handleProcessedEventsBatch()),k(J=>J.syncedEventCount?this.handleProcessedEventsBatch():D.w),R((J,re)=>({syncedEventCount:J.syncedEventCount+re.syncedEventCount,syncTime:Date.now(),syncedFileSize:J.syncedFileSize+re.syncedFileSize,error:re.error?re.error:J.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)(J=>this.persistProcessedEvents(J,J.processedEventsSize).pipe((0,g.Z)(()=>this.deleteEvents(V)),(0,U.u)(V.length)))):(0,A.of)(0)))}hasTelemetryThresholdCrossed(){return(0,w.H)(this.dbService.executeQuery(`\n SELECT count(*) as COUNT FROM ${a.C.TABLE_NAME}`)).pipe((0,j.T)(I=>!0))}fetchEvents(){return(0,w.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 J=(0,te.A)();return(0,A.of)({processedEvents:this.preprocessors.reduce((re,me)=>me.process(re),{id:"ekstep.telemetry",ver:"1.0",ts:oe().format("YYYY-MM-DDTHH:mm:ss[Z]"),events:I.map(re=>JSON.parse(re[a.C.COLUMN_EVENT])),params:{did:V,msgid:J,key:"",requesterId:""}}),processedEventsSize:I.length,messageId:J})}persistProcessedEvents({processedEvents:I,messageId:V},J){return I?(0,w.H)(this.dbService.save(ve.K.insertQuery(),{[ve.K.COLUMN_NAME_MSG_ID]:V,[ve.K.COLUMN_NAME_NUMBER_OF_EVENTS]:J,[ve.K.COLUMN_NAME_PRIORITY]:1,[ve.K.COLUMN_NAME_DATA]:I})).pipe((0,U.u)(void 0)):(0,A.of)(void 0)}deleteEvents(I){return I.length?(0,w.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)(J=>this.deleteProcessedEvent(V).pipe((0,U.u)(J||{syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})))))).pipe()}fetchProcessedEventsBatch(){return(0,w.H)(this.dbService.executeQuery(`SELECT * FROM ${ve.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[ve.K.COLUMN_NAME_DATA])).build();return this.apiService.fetch(V).pipe((0,j.T)(()=>({syncedEventCount:I[ve.K.COLUMN_NAME_NUMBER_OF_EVENTS],syncTime:Date.now(),syncedFileSize:0})),(0,K.W)(J=>(0,A.of)({syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0,error:J})))}deleteProcessedEvent(I){return I?(0,w.H)(this.dbService.executeQuery(`DELETE FROM ${ve.K.TABLE_NAME} WHERE ${ve.K._ID}='${I[ve.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(J,re,me,Me,Q){this.dbService=J,this.storageService=re,this.utilService=me,this.apiService=Me,this.decorator=Q,this.deviceId="",B.p.getId().then(ae=>(this.deviceId=ae.identifier,this.deviceId))}start({type:J,deviceSpecification:re,loc:me,mode:Me,duration:Q,pageId:ae,env:tt,objId:Re,objType:pe,objVer:Ie,rollup:Se,correlationData:ie}){const ne=new u.Q$.Start(J,re,me,Me,Q,ae,tt,Re,pe,Ie,Se,ie);return this.decorateAndPersist(ne)}end({type:J,mode:re,duration:me,pageId:Me,summaryList:Q,env:ae,objId:tt,objType:Re,objVer:pe,rollup:Ie,correlationData:Se}){const ie=new u.Q$.End(J,re,me,Me,Q,ae,tt,Re,pe,Ie,Se);return this.decorateAndPersist(ie)}interact({type:J,subType:re,id:me,pageId:Me,pos:Q,env:ae,rollup:tt,valueMap:Re,correlationData:pe,objId:Ie,objType:Se,objVer:ie}){const ne=new u.Q$.Interact(J,re,me,Me,Q,Re,ae,Ie,Se,ie,tt,pe);return this.decorateAndPersist(ne)}impression({type:J,subType:re,pageId:me,env:Me,objId:Q,objType:ae,objVer:tt,rollup:Re,correlationData:pe}){const Ie=new u.Q$.Impression(J,re,me,[],Me,Q,ae,tt,Re,pe);return this.decorateAndPersist(Ie)}search({type:J,query:re,filters:me,sort:Me,correlationid:Q,size:ae,env:tt,correlationData:Re}){const pe=new u.Q$.Search(J,re,me,Me,tt,Q,ae,Re);return this.decorateAndPersist(pe)}decorateAndPersist(J){let re="";const me=localStorage.getItem("subDomain");return re=null!=me?me:new URL(document.baseURI).hostname,function T(...L){const I=(0,_.ms)(L),V=function c(L){return 1===L.length&&O(L[0])?L[0]:L}(L);return V.length?new S.c(J=>{let re=V.map(()=>[]),me=V.map(()=>!1);J.add(()=>{re=me=null});for(let Me=0;!J.closed&&Me{if(re[Me].push(Q),re.every(ae=>ae.length)){const ae=re.map(tt=>tt.shift());J.next(I?I(...ae):ae),re.some((tt,Re)=>!tt.length&&me[Re])&&J.complete()}},()=>{me[Me]=!0,!re[Me].length&&J.complete()}));return()=>{re=me=null}}):D.w}((0,w.H)(this.utilService.getAppInfo()),(0,w.H)(this.utilService.getDeviceId())).pipe((0,g.Z)(Me=>{const Q=Me[0].version,ae=Me[1];return(0,w.H)(this.storageService.getData("sid")).pipe((0,g.Z)(tt=>{const Re=this.decorator.prepare(this.decorator.decorate(J,null!=tt?tt:"",ae,(0,te.A)(),Q,re,[]),1);return console.log("Telemetry Generated",J),this.dbService.save(a.C.insertData(),Re)}))}))}saveTelemetry(J){return(0,F.v)(()=>{try{const re=JSON.parse(J);return this.decorateAndPersist(re)}catch(re){return console.error(re),(0,A.of)(!1)}})}sync(){return new o(this.dbService,this.apiService).handle(this.deviceId)}}return(L=I).\u0275fac=function(J){return new(J||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:(be,ee,E)=>{"use strict";E.d(ee,{a:()=>w});var a=E(467),S=E(8941),p=E(9316),O=E(9986),D=E(5083),C=E(4438),_=E(5402),T=E(8974);let w=(()=>{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 O(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(_.c$),C.KVO(T.Xi))},g.\u0275prov=C.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),F})()},6313:(be,ee,E)=>{"use strict";var a=E(467),S=E(345),p=E(4438),O=E(3021),c=E(4517),D=E(8974),C=E(8941),_=E(5402),T=E(2904),w=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 Ye=Ne.$implicit;p.R7$(2),p.JRh(Ye.label),p.R7$(),p.FS9("value",Ye.id)}}let A=(()=>{var He;class Ne{constructor(Fe,ht,Ht,gn){this.translateService=Fe,this.navParams=ht,this.modalCtrl=Ht,this.storage=gn,this.selectedLanguage=""}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.languages=[],Fe.languages=Fe.navParams.get("languages");let ht=yield Fe.storage.getData("lang");console.log("current lang ",ht),Fe.selectedLanguage=ht})()}languageSelected(Fe){let ht=Fe.detail.value;console.log("Current value:",JSON.stringify(ht)),this.storage.setData("lang",ht),this.translateService.use(ht),this.selectedLanguage=ht,this.dismissModal()}dismissModal(){this.modalCtrl.dismiss()}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.rXU(_.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,ht){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(ht.selectedLanguage,gn)||(ht.selectedLanguage=gn),gn}),p.bIt("ionChange",function(gn){return ht.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",ht.selectedLanguage),p.R7$(2),p.Y8G("ngForOf",ht.languages))},dependencies:[w.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,_.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 R(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"ion-button",13),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.reset())}),p.nrm(1,"ion-icon",14),p.EFF(2," Reset "),p.k0s()}}function U(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"ion-button",15),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.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 Ye=p.XpG();p.R7$(5),p.SpI(" ",Ye.scanResult," ")}}function K(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.openLink())}),p.EFF(2),p.nI1(3,"translate"),p.k0s(),p.j41(4,"ion-button",18),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.close())}),p.EFF(5,"Close"),p.k0s()()}2&He&&(p.R7$(2),p.JRh(p.bMT(3,1,"OPEN_IN_BROWSER")))}function oe(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.close())}),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}2&He&&(p.R7$(2),p.JRh(p.bMT(3,1,"CLOSE")))}let ve=(()=>{var He;class Ne{constructor(Fe,ht,Ht,gn,Dn){this.navParams=Fe,this.modalCtrl=ht,this.toastCtrl=Ht,this.loadingCtrl=gn,this.plt=Dn,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 ht=yield navigator.mediaDevices.getUserMedia({video:{facingMode:"environment"}});Fe.videoElement.srcObject=ht,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),gn=P()(Ht.data,Ht.width,Ht.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(ht){console.error("Error accessing camera:",ht)}})()}captureImage(){this.fileinput.nativeElement.click()}handleFile(Fe){const ht=Fe.target;if(ht instanceof HTMLInputElement&&ht.files&&ht.files.length>0){const gn=ht.files[0];var Ht=new Image;Ht.onload=()=>{this.canvasContext.drawImage(Ht,0,0,this.canvasElement.width,this.canvasElement.height);const Dn=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Wn=P()(Dn.data,Dn.width,Dn.height,{inversionAttempts:"dontInvert"});Wn&&(this.scanResult=Wn.data,this.showQrToast())},Ht.src=URL.createObjectURL(gn)}}}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,ht){if(1&Fe&&(p.GBs($,5),p.GBs(k,5),p.GBs(M,5)),2&Fe){let Ht;p.mGM(Ht=p.lsd())&&(ht.video=Ht.first),p.mGM(Ht=p.lsd())&&(ht.canvas=Ht.first),p.mGM(Ht=p.lsd())&&(ht.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,ht){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(ht.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(ht.startScan())}),p.nrm(9,"ion-icon",7),p.EFF(10," Start scan "),p.k0s(),p.DNE(11,R,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,K,6,3,"div",12)(19,oe,4,3,"div",12),p.k0s()}2&Fe&&(p.R7$(2),p.JRh(ht.scanText),p.R7$(9),p.Y8G("ngIf",ht.scanResult),p.R7$(),p.Y8G("hidden",!ht.scanActive),p.R7$(4),p.Y8G("ngIf",ht.scanActive),p.R7$(),p.Y8G("ngIf",ht.scanResult),p.R7$(),p.Y8G("ngIf",ht.isValidURL),p.R7$(),p.Y8G("ngIf",!ht.isValidURL))},dependencies:[w.bT,D.Jm,D.b_,D.I9,D.ME,D.tN,D.iq,_.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(3568),se=E(8359);class m extends se.yU{constructor(Ne,Ye){super()}schedule(Ne,Ye=0){return this}}const n={setInterval(He,Ne,...Ye){const{delegate:Fe}=n;return null!=Fe&&Fe.setInterval?Fe.setInterval(He,Ne,...Ye):setInterval(He,Ne,...Ye)},clearInterval(He){const{delegate:Ne}=n;return((null==Ne?void 0:Ne.clearInterval)||clearInterval)(He)},delegate:void 0};var o=E(7908),s=E(6129);class h{constructor(Ne,Ye=h.now){this.schedulerActionCtor=Ne,this.now=Ye}schedule(Ne,Ye=0,Fe){return new this.schedulerActionCtor(this,Ne).schedule(Fe,Ye)}}h.now=s.U.now;const y=new class v extends h{constructor(Ne,Ye=h.now){super(Ne,Ye),this.actions=[],this._active=!1}flush(Ne){const{actions:Ye}=this;if(this._active)return void Ye.push(Ne);let Fe;this._active=!0;do{if(Fe=Ne.execute(Ne.state,Ne.delay))break}while(Ne=Ye.shift());if(this._active=!1,Fe){for(;Ne=Ye.shift();)Ne.unsubscribe();throw Fe}}}(class u extends m{constructor(Ne,Ye){super(Ne,Ye),this.scheduler=Ne,this.work=Ye,this.pending=!1}schedule(Ne,Ye=0){var Fe;if(this.closed)return this;this.state=Ne;const ht=this.id,Ht=this.scheduler;return null!=ht&&(this.id=this.recycleAsyncId(Ht,ht,Ye)),this.pending=!0,this.delay=Ye,this.id=null!==(Fe=this.id)&&void 0!==Fe?Fe:this.requestAsyncId(Ht,this.id,Ye),this}requestAsyncId(Ne,Ye,Fe=0){return n.setInterval(Ne.flush.bind(Ne,this),Fe)}recycleAsyncId(Ne,Ye,Fe=0){if(null!=Fe&&this.delay===Fe&&!1===this.pending)return Ye;null!=Ye&&n.clearInterval(Ye)}execute(Ne,Ye){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Fe=this._execute(Ne,Ye);if(Fe)return Fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Ne,Ye){let ht,Fe=!1;try{this.work(Ne)}catch(Ht){Fe=!0,ht=Ht||new Error("Scheduled action threw falsy error")}if(Fe)return this.unsubscribe(),ht}unsubscribe(){if(!this.closed){const{id:Ne,scheduler:Ye}=this,{actions:Fe}=Ye;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.o)(Fe,this),null!=Ne&&(this.id=this.recycleAsyncId(Ye,Ne,null)),this.delay=null,super.unsubscribe()}}}),f=y;var r=E(1985),d=E(9470);function I(He=0,Ne,Ye=f){let Fe=-1;return null!=Ne&&((0,d.m)(Ne)?Ye=Ne:Fe=Ne),new r.c(ht=>{let Ht=function L(He){return He instanceof Date&&!isNaN(He)}(He)?+He-Ye.now():He;Ht<0&&(Ht=0);let gn=0;return Ye.schedule(function(){ht.closed||(ht.next(gn++),0<=Fe?this.schedule(void 0,Fe):ht.complete())},Ht)})}var J=E(7673),re=E(8141),me=E(5964),Me=E(9437),Q=E(3703);let ae=(()=>{var He;class Ne{constructor(Fe){this.telemetryService=Fe,this.shouldSync=!1}start(Fe){return this.shouldSync=!0,function V(He=0,Ne=y){return He<0&&(He=0),I(He,He,Ne)}(Fe).pipe((0,re.M)(ht=>{}),(0,me.p)(()=>this.shouldSync),(0,re.M)(()=>this.telemetryService.sync().pipe((0,re.M)(ht=>{}),(0,Me.W)(ht=>(console.error(ht),(0,J.of)(void 0)))).toPromise()),(0,Q.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 tt=E(2771),Re=E(1635),Ie=E(3726),Se={error:"cordova_not_available"},ie={error:"plugin_not_installed"};function ne(He){if(typeof window<"u"&&window.angular){var Ye=window.document,Fe=window.angular.element(Ye.querySelector("[ng-app]")||Ye.body).injector();if(Fe)return Fe.get("$q")(function(Ht,gn){He(Ht,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(Ht,gn){He(Ht,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 rt(He,Ne,Ye){var Fe,ht;"string"==typeof He?Fe=He:(Fe=He.constructor.getPluginRef(),Ye=He.constructor.getPluginName(),ht=He.constructor.getPluginInstallName());var Ht=wt(Fe);return!(!Ht||Ne&&typeof Ht[Ne]>"u")||(typeof window>"u"||!window.cordova?(function St(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")}(Ye,Ne),Se):(function En(He,Ne,Ye){console.warn(Ye?"Native: tried calling "+He+"."+Ye+", 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+"'")}(Ye,ht,Ne),ie))}function ft(He,Ne,Ye,Fe,ht,Ht){void 0===Fe&&(Fe={}),Ye=function gt(He,Ne,Ye,Fe){if(void 0===Ne&&(Ne={}),Ne.sync)return He;if("reverse"===Ne.callbackOrder)He.unshift(Fe),He.unshift(Ye);else if("node"===Ne.callbackStyle)He.push(function(Dn,Wn){Dn?Fe(Dn):Ye(Wn)});else if("object"===Ne.callbackStyle&&Ne.successName&&Ne.errorName){var ht={};ht[Ne.successName]=Ye,ht[Ne.errorName]=Fe,He.push(ht)}else if(typeof Ne.successIndex<"u"||typeof Ne.errorIndex<"u"){var Ht=function(){Ne.successIndex>He.length?He[Ne.successIndex]=Ye:He.splice(Ne.successIndex,0,Ye)},gn=function(){Ne.errorIndex>He.length?He[Ne.errorIndex]=Fe:He.splice(Ne.errorIndex,0,Fe)};Ne.successIndex>Ne.errorIndex?(gn(),Ht()):(Ht(),gn())}else He.push(Ye),He.push(Fe);return He}(Ye,Fe,ht,Ht);var gn=rt(He,Ne);if(!0===gn){var Dn=wt(He.constructor.getPluginRef());return Dn[Ne].apply(Dn,Ye)}return gn}function wt(He){return typeof window<"u"?Pt(window,He):null}function Pt(He,Ne){for(var Ye=Ne.split("."),Fe=He,ht=0;ht"u"){var He=typeof window<"u"?window:{},Ye=Date.now(),Fe=!1;He.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-Ye)+" 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 Ut=function(He){function Ne(){var Ye=null!==He&&He.apply(this,arguments)||this;return Ye.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"},Ye.locationAuthorizationMode={ALWAYS:"always",WHEN_IN_USE:"when_in_use"},Ye.locationAccuracyAuthorization={FULL:"full",REDUCED:"reduced"},Ye.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"]},Ye.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},Ye.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"},Ye.photoLibraryAccessLevel={ADD_ONLY:"add_only",READ_WRITE:"read_write"},Ye}return(0,Re.C6)(Ne,He),Ne.prototype.isLocationAvailable=function(){return st(this,"isLocationAvailable",{},arguments)},Ne.prototype.isWifiAvailable=function(){return st(this,"isWifiAvailable",{},arguments)},Ne.prototype.isCameraAvailable=function(Ye){return st(this,"isCameraAvailable",{callbackOrder:"reverse"},arguments)},Ne.prototype.isBluetoothAvailable=function(){return st(this,"isBluetoothAvailable",{},arguments)},Ne.prototype.switchToLocationSettings=function(){return st(this,"switchToLocationSettings",{sync:!0,platforms:["Android","Windows 10","iOS"]},arguments)},Ne.prototype.switchToMobileDataSettings=function(){return st(this,"switchToMobileDataSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.switchToBluetoothSettings=function(){return st(this,"switchToBluetoothSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.switchToWifiSettings=function(){return st(this,"switchToWifiSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.isWifiEnabled=function(){return st(this,"isWifiEnabled",{platforms:["Android","Windows 10"]},arguments)},Ne.prototype.setWifiState=function(Ye){return st(this,"setWifiState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Ne.prototype.setBluetoothState=function(Ye){return st(this,"setBluetoothState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Ne.prototype.enableDebug=function(){return st(this,"enableDebug",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isLocationEnabled=function(){return st(this,"isLocationEnabled",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isLocationAuthorized=function(){return st(this,"isLocationAuthorized",{},arguments)},Ne.prototype.getLocationAuthorizationStatus=function(){return st(this,"getLocationAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getLocationAuthorizationStatuses=function(){return st(this,"getLocationAuthorizationStatuses",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestLocationAuthorization=function(Ye,Fe){return st(this,"requestLocationAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.isCameraPresent=function(){return st(this,"isCameraPresent",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isCameraAuthorized=function(Ye){return st(this,"isCameraAuthorized",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.getCameraAuthorizationStatus=function(Ye){return st(this,"getCameraAuthorizationStatus",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestCameraAuthorization=function(Ye){return st(this,"requestCameraAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.isMicrophoneAuthorized=function(){return st(this,"isMicrophoneAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getMicrophoneAuthorizationStatus=function(){return st(this,"getMicrophoneAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestMicrophoneAuthorization=function(){return st(this,"requestMicrophoneAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isContactsAuthorized=function(){return st(this,"isContactsAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getContactsAuthorizationStatus=function(){return st(this,"getContactsAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestContactsAuthorization=function(){return st(this,"requestContactsAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isCalendarAuthorized=function(){return st(this,"isCalendarAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getCalendarAuthorizationStatus=function(){return st(this,"getCalendarAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestCalendarAuthorization=function(){return st(this,"requestCalendarAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.switchToSettings=function(){return st(this,"switchToSettings",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getBluetoothState=function(){return st(this,"getBluetoothState",{platforms:["Android","iOS"]},arguments)},Ne.prototype.registerBluetoothStateChangeHandler=function(Ye){return st(this,"registerBluetoothStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Ne.prototype.registerLocationStateChangeHandler=function(Ye){return st(this,"registerLocationStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Ne.prototype.getArchitecture=function(){return st(this,"getArchitecture",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getCurrentBatteryLevel=function(){return st(this,"getCurrentBatteryLevel",{platforms:["Android","iOS"]},arguments)},Ne.prototype.restart=function(Ye){return st(this,"restart",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.isGpsLocationAvailable=function(){return st(this,"isGpsLocationAvailable",{platforms:["Android"]},arguments)},Ne.prototype.isGpsLocationEnabled=function(){return st(this,"isGpsLocationEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isNetworkLocationAvailable=function(){return st(this,"isNetworkLocationAvailable",{platforms:["Android"]},arguments)},Ne.prototype.isNetworkLocationEnabled=function(){return st(this,"isNetworkLocationEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isAirplaneModeEnabled=function(){return st(this,"isAirplaneModeEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isMobileDataEnabled=function(){return st(this,"isMobileDataEnabled",{platforms:["Android"]},arguments)},Ne.prototype.getLocationMode=function(){return st(this,"getLocationMode",{platforms:["Android"]},arguments)},Ne.prototype.getDeviceOSVersion=function(){return st(this,"getDeviceOSVersion",{platforms:["Android"]},arguments)},Ne.prototype.getBuildOSVersion=function(){return st(this,"getBuildOSVersion",{platforms:["Android"]},arguments)},Ne.prototype.getPermissionAuthorizationStatus=function(Ye){return st(this,"getPermissionAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.getPermissionsAuthorizationStatus=function(Ye){return st(this,"getPermissionsAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestRuntimePermission=function(Ye){return st(this,"requestRuntimePermission",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestRuntimePermissions=function(Ye){return st(this,"requestRuntimePermissions",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.isRequestingPermission=function(){return st(this,"isRequestingPermission",{sync:!0},arguments)},Ne.prototype.registerPermissionRequestCompleteHandler=function(Ye){return st(this,"registerPermissionRequestCompleteHandler",{sync:!0},arguments)},Ne.prototype.isBluetoothEnabled=function(){return st(this,"isBluetoothEnabled",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothSupport=function(){return st(this,"hasBluetoothSupport",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothLESupport=function(){return st(this,"hasBluetoothLESupport",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothLEPeripheralSupport=function(){return st(this,"hasBluetoothLEPeripheralSupport",{platforms:["Android"]},arguments)},Ne.prototype.getBluetoothAuthorizationStatus=function(){return st(this,"getBluetoothAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getBluetoothAuthorizationStatuses=function(){return st(this,"getBluetoothAuthorizationStatuses",{platforms:["Android"]},arguments)},Ne.prototype.isExternalStorageAuthorized=function(){return st(this,"isExternalStorageAuthorized",{platforms:["Android"]},arguments)},Ne.prototype.getExternalStorageAuthorizationStatus=function(){return st(this,"getExternalStorageAuthorizationStatus",{platforms:["Android"]},arguments)},Ne.prototype.requestExternalStorageAuthorization=function(){return st(this,"requestExternalStorageAuthorization",{platforms:["Android"]},arguments)},Ne.prototype.getExternalSdCardDetails=function(){return st(this,"getExternalSdCardDetails",{platforms:["Android"]},arguments)},Ne.prototype.switchToWirelessSettings=function(){return st(this,"switchToWirelessSettings",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.switchToNFCSettings=function(){return st(this,"switchToNFCSettings",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.isNFCPresent=function(){return st(this,"isNFCPresent",{platforms:["Android"]},arguments)},Ne.prototype.isNFCEnabled=function(){return st(this,"isNFCEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isNFCAvailable=function(){return st(this,"isNFCAvailable",{platforms:["Android"]},arguments)},Ne.prototype.registerNFCStateChangeHandler=function(Ye){return st(this,"registerNFCStateChangeHandler",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.isDataRoamingEnabled=function(){return st(this,"isDataRoamingEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isADBModeEnabled=function(){return st(this,"isADBModeEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isDeviceRooted=function(){return st(this,"isDeviceRooted",{platforms:["Android"]},arguments)},Ne.prototype.isCameraRollAuthorized=function(Ye){return st(this,"isCameraRollAuthorized",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.getCameraRollAuthorizationStatus=function(Ye){return st(this,"getCameraRollAuthorizationStatus",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestCameraRollAuthorization=function(Ye){return st(this,"requestCameraRollAuthorization",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.presentLimitedLibraryPicker=function(){return st(this,"presentLimitedLibraryPicker",{platforms:["iOS"]},arguments)},Ne.prototype.isRemoteNotificationsEnabled=function(){return st(this,"isRemoteNotificationsEnabled",{platforms:["iOS","Android"]},arguments)},Ne.prototype.isRegisteredForRemoteNotifications=function(){return st(this,"isRegisteredForRemoteNotifications",{platforms:["iOS"]},arguments)},Ne.prototype.getRemoteNotificationsAuthorizationStatus=function(){return st(this,"getRemoteNotificationsAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestRemoteNotificationsAuthorization=function(Ye,Fe){return st(this,"requestRemoteNotificationsAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.getRemoteNotificationTypes=function(){return st(this,"getRemoteNotificationTypes",{platforms:["iOS"]},arguments)},Ne.prototype.isRemindersAuthorized=function(){return st(this,"isRemindersAuthorized",{platforms:["iOS"]},arguments)},Ne.prototype.getRemindersAuthorizationStatus=function(){return st(this,"getRemindersAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestRemindersAuthorization=function(){return st(this,"requestRemindersAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.isBackgroundRefreshAuthorized=function(){return st(this,"isBackgroundRefreshAuthorized",{platforms:["iOS"]},arguments)},Ne.prototype.getBackgroundRefreshStatus=function(){return st(this,"getBackgroundRefreshStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestBluetoothAuthorization=function(){return st(this,"requestBluetoothAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.isMotionAvailable=function(){return st(this,"isMotionAvailable",{platforms:["iOS"]},arguments)},Ne.prototype.isMotionRequestOutcomeAvailable=function(){return st(this,"isMotionRequestOutcomeAvailable",{platforms:["iOS"]},arguments)},Ne.prototype.requestMotionAuthorization=function(){return st(this,"requestMotionAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.getMotionAuthorizationStatus=function(){return st(this,"getMotionAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.getLocationAccuracyAuthorization=function(){return st(this,"getLocationAccuracyAuthorization",{platforms:["iOS","Android"]},arguments)},Ne.prototype.requestTemporaryFullAccuracyAuthorization=function(Ye){return st(this,"requestTemporaryFullAccuracyAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.registerLocationAccuracyAuthorizationChangeHandler=function(Ye){return st(this,"registerLocationAccuracyAuthorizationChangeHandler",{platforms:["iOS"],sync:!0},arguments)},Object.defineProperty(Ne.prototype,"permissionStatus",{get:function(){return Ot(this,"permissionStatus")},set:function(Ye){Ln(this,"permissionStatus",Ye)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"NFCState",{get:function(){return Ot(this,"NFCState")},set:function(Ye){Ln(this,"NFCState",Ye)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"cpuArchitecture",{get:function(){return Ot(this,"cpuArchitecture")},set:function(Ye){Ln(this,"cpuArchitecture",Ye)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"remoteNotificationType",{get:function(){return Ot(this,"remoteNotificationType")},set:function(Ye){Ln(this,"remoteNotificationType",Ye)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"motionStatus",{get:function(){return Ot(this,"motionStatus")},set:function(Ye){Ln(this,"motionStatus",Ye)},enumerable:!1,configurable:!0}),Ne.\u0275fac=(()=>{let Ye;return function(ht){return(Ye||(Ye=p.xGo(Ne)))(ht||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,Re.Cg)([],Ne)}(Cn),Le=function(He){return He.GRANTED="GRANTED",He.NOT_REQUESTED="NOT_REQUESTED",He.DENIED_ALWAYS="DENIED_ALWAYS",He.DENIED="DENIED",He.UNKNOWN="UNKNOWN",He}(Le||{}),_e=function(He){return He.CAMERA="CAMERA",He.MICROPHONE="MICROPHONE",He}(_e||{});let De=(()=>{var He;class Ne{constructor(Fe,ht){this.platform=Fe,this.diagnostic=ht}hasCameraPermission(){var Fe=this;return(0,a.A)(function*(){const ht=yield Fe.diagnostic.getCameraAuthorizationStatus(!1);return Fe.getPermissionStatus(ht)})()}hasMicrophonePermission(){var Fe=this;return(0,a.A)(function*(){const ht=yield Fe.diagnostic.getMicrophoneAuthorizationStatus();return Fe.getPermissionStatus(ht)})()}requestPermissions(Fe){var ht=this;return(0,a.A)(function*(){if(ht.platform.is("android")){const Ht=[];Fe.indexOf(_e.CAMERA)>=0&&Ht.push(ht.diagnostic.permission.CAMERA),Fe.indexOf(_e.MICROPHONE)>=0&&Ht.push(ht.diagnostic.permission.RECORD_AUDIO),yield ht.diagnostic.requestRuntimePermissions(Ht)}else ht.platform.is("ios")?(Fe.indexOf(_e.CAMERA)>=0&&(yield ht.diagnostic.requestCameraAuthorization(!1)),Fe.indexOf(_e.MICROPHONE)>=0&&(yield ht.diagnostic.requestMicrophoneAuthorization())):console.warn("requesting permission in browser")})()}userRequestsPermissions(Fe){var ht=this;return(0,a.A)(function*(){let Ht=!1;for(const gn of Fe)Ht=(yield ht.canAskForPermission(gn))||Ht;Ht&&(yield ht.requestPermissions(Fe))})()}canAskForPermission(Fe){var ht=this;return(0,a.A)(function*(){let Ht=!0;return ht.platform.is("android")?Fe===_e.CAMERA?Ht=(yield ht.hasCameraPermission())!==Le.DENIED_ALWAYS:Fe===_e.MICROPHONE&&(Ht=(yield ht.hasMicrophonePermission())!==Le.DENIED_ALWAYS):ht.platform.is("ios")&&(Fe===_e.CAMERA?Ht=(yield ht.hasCameraPermission())!==Le.DENIED:Fe===_e.MICROPHONE&&(Ht=(yield ht.hasMicrophonePermission())!==Le.DENIED)),Ht})()}getPermissionStatus(Fe){var ht=this;return(0,a.A)(function*(){return ht.isGranted(Fe)?Le.GRANTED:ht.isNotRequested(Fe)?Le.NOT_REQUESTED:ht.isDeniedAlways(Fe)?Le.DENIED_ALWAYS:ht.isDenied(Fe)?Le.DENIED:Le.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(Ut))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),Ne})();var Ae=E(2342);let Ze=(()=>{var He;class Ne{constructor(Fe,ht,Ht){this.platform=Fe,this.utilService=ht,this.permissionsService=Ht,this.hasCameras=!1,this.isActive=!1,this._hasCameraPermission=new tt.m,this.hasCameraPermission=this._hasCameraPermission.asObservable()}requestPermission(Fe,ht){var Ht=this;return(0,a.A)(function*(){yield Ht.permissionsService.userRequestsPermissions([_e.CAMERA]),yield Ht.checkCameraPermissionsAndActivate(Fe,ht)})()}checkCameraPermissionsAndActivate(Fe,ht){var Ht=this;return(0,a.A)(function*(){(yield Ht.permissionsService.hasCameraPermission())===Le.GRANTED?(document.body.style.backgroundColor="transparent",Ht._hasCameraPermission.next(!0),Ht.startScan(Fe,ht)):Ht._hasCameraPermission.next(!1)})()}startScan(Fe,ht=null){this.scan(Fe,ht)}checkScan(Fe){console.error(`The checkScan method needs to be overwritten. Ignoring text ${Fe}`)}scan(Fe,ht=null){var Ht=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 Dn=(0,a.A)(function*(Wn){Fe(Wn),Ht.stopScanner()});return function(Wn){return Dn.apply(this,arguments)}}(),Dn=>{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(Ae.a),p.KVO(De))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),Ne})();var Ue=E(9030),it=E(8810),Pe=E(8793),Be=E(1413),Ve=E(5343);const yt=new r.c(Ve.l);var lt=E(6365),Qt=E(8750),Ct=E(983),mt=E(9326),Kt=E(6648);function Rt(...He){const Ne=(0,mt.lI)(He),Ye=(0,mt.R0)(He,1/0),Fe=He;return Fe.length?1===Fe.length?(0,Qt.Tg)(Fe[0]):(0,lt.U)(Ye)((0,Kt.H)(Fe,Ne)):Ct.w}var Ft=E(6354),Pn=E(5558),wn=E(17),_n=E(8071),bn=E(9974);const Un={connector:()=>new Be.B};function Fn(He,Ne=Un){const{connector:Ye}=Ne;return(0,bn.N)((Fe,ht)=>{const Ht=Ye();(0,Qt.Tg)(He(function zn(He){return new r.c(Ne=>He.subscribe(Ne))}(Ht))).subscribe(ht),ht.add(Fe.subscribe(Ht))})}var $n=E(6697),jn=E(4360),ut=E(3028);function It(He,Ne){return Ne?Ye=>(0,Pe.x)(Ne.pipe((0,$n.s)(1),function je(){return(0,bn.N)((He,Ne)=>{He.subscribe((0,jn._)(Ne,Ve.l))})}()),Ye.pipe(It(He))):(0,ut.Z)((Ye,Fe)=>(0,Qt.Tg)(He(Ye,Fe)).pipe((0,$n.s)(1),(0,Q.u)(Ye)))}const Nt="Service workers are disabled or not supported by this browser";class qt{constructor(Ne){if(this.serviceWorker=Ne,Ne){const Fe=(0,Ie.R)(Ne,"controllerchange").pipe((0,Ft.T)(()=>Ne.controller)),ht=(0,Ue.v)(()=>(0,J.of)(Ne.controller)),Ht=(0,Pe.x)(ht,Fe);this.worker=Ht.pipe((0,me.p)(nr=>!!nr)),this.registration=this.worker.pipe((0,Pn.n)(()=>Ne.getRegistration()));const ar=(0,Ie.R)(Ne,"message").pipe((0,Ft.T)(nr=>nr.data)).pipe((0,me.p)(nr=>nr&&nr.type)).pipe(function Kn(He){return He?Ne=>Fn(He)(Ne):Ne=>function kn(He,Ne){const Ye=(0,_n.T)(He)?He:()=>He;return(0,_n.T)(Ne)?Fn(Ne,{connector:Ye}):Fe=>new wn.G(Fe,Ye)}(new Be.B)(Ne)}());ar.connect(),this.events=ar}else this.worker=this.events=this.registration=function Zt(He){return(0,Ue.v)(()=>(0,it.$)(new Error(He)))}(Nt)}postMessage(Ne,Ye){return this.worker.pipe((0,$n.s)(1),(0,re.M)(Fe=>{Fe.postMessage({action:Ne,...Ye})})).toPromise().then(()=>{})}postMessageWithOperation(Ne,Ye,Fe){const ht=this.waitForOperationCompleted(Fe),Ht=this.postMessage(Ne,Ye);return Promise.all([Ht,ht]).then(([,gn])=>gn)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Ne){let Ye;return Ye="string"==typeof Ne?Fe=>Fe.type===Ne:Fe=>Ne.includes(Fe.type),this.events.pipe((0,me.p)(Ye))}nextEventOfType(Ne){return this.eventsOfType(Ne).pipe((0,$n.s)(1))}waitForOperationCompleted(Ne){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,me.p)(Ye=>Ye.nonce===Ne),(0,$n.s)(1),(0,Ft.T)(Ye=>{if(void 0!==Ye.result)return Ye.result;throw new Error(Ye.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Yt=(()=>{var He;class Ne{get isEnabled(){return this.sw.isEnabled}constructor(Fe){if(this.sw=Fe,this.pushManager=null,this.subscriptionChanges=new Be.B,!Fe.isEnabled)return this.messages=yt,this.notificationClicks=yt,void(this.subscription=yt);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Ft.T)(Ht=>Ht.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Ft.T)(Ht=>Ht.data)),this.pushManager=this.sw.registration.pipe((0,Ft.T)(Ht=>Ht.pushManager));const ht=this.pushManager.pipe((0,Pn.n)(Ht=>Ht.getSubscription()));this.subscription=Rt(ht,this.subscriptionChanges)}requestSubscription(Fe){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Nt));const ht={userVisibleOnly:!0};let Ht=this.decodeBase64(Fe.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),gn=new Uint8Array(new ArrayBuffer(Ht.length));for(let Dn=0;DnDn.subscribe(ht)),(0,$n.s)(1)).toPromise().then(Dn=>(this.subscriptionChanges.next(Dn),Dn))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,$n.s)(1),(0,Pn.n)(ht=>{if(null===ht)throw new Error("Not subscribed to push notifications.");return ht.unsubscribe().then(Ht=>{if(!Ht)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Nt))}decodeBase64(Fe){return atob(Fe)}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.KVO(qt))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac}),Ne})(),Tn=(()=>{var He;class Ne{get isEnabled(){return this.sw.isEnabled}constructor(Fe){if(this.sw=Fe,!Fe.isEnabled)return this.versionUpdates=yt,void(this.unrecoverable=yt);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(Nt));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(Nt));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(qt))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac}),Ne})();const An=new p.nKC("");function Xn(He,Ne,Ye,Fe){return()=>{if(!(0,w.UE)(Fe)||!("serviceWorker"in navigator)||!1===Ye.enabled)return;let ht;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof Ye.registrationStrategy)ht=Ye.registrationStrategy();else{const[gn,...Dn]=(Ye.registrationStrategy||"registerWhenStable:30000").split(":");switch(gn){case"registerImmediately":ht=(0,J.of)(null);break;case"registerWithDelay":ht=pr(+Dn[0]||0);break;case"registerWhenStable":ht=Dn[0]?Rt(We(He),pr(+Dn[0])):We(He);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${Ye.registrationStrategy}`)}}He.get(p.SKi).runOutsideAngular(()=>ht.pipe((0,$n.s)(1)).subscribe(()=>navigator.serviceWorker.register(Ne,{scope:Ye.scope}).catch(gn=>console.error("Service worker registration failed with:",gn))))}}function pr(He){return(0,J.of)(null).pipe(function Mt(He,Ne=y){const Ye=I(He,Ne);return It(()=>Ye)}(He))}function We(He){return He.get(p.o8S).isStable.pipe((0,me.p)(Ye=>Ye))}function et(He,Ne){return new qt((0,w.UE)(Ne)&&!1!==He.enabled?navigator.serviceWorker:void 0)}class Te{}function qe(He,Ne={}){return(0,p.EmA)([Yt,Tn,{provide:An,useValue:He},{provide:Te,useValue:Ne},{provide:qt,useFactory:et,deps:[Te,p.Agw]},{provide:p.hnV,useFactory:Xn,deps:[p.zZn,An,Te,p.Agw],multi:!0}])}let bt=(()=>{var He;class Ne{static register(Fe,ht={}){return{ngModule:Ne,providers:[qe(Fe,ht)]}}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)},He.\u0275mod=p.$C({type:He}),He.\u0275inj=p.G2t({providers:[Yt,Tn]}),Ne})();var Wt=E(446),hn=E(5173);const Et=(He,Ne)=>({title_bb:He,animate_title:Ne});function zt(He,Ne){if(1&He&&(p.j41(0,"ion-title",27),p.EFF(1),p.k0s()),2&He){const Ye=p.XpG(2);p.Y8G("ngClass",p.l_i(2,Et,null==Ye.headerConfig?null:Ye.headerConfig.showbackButton,(null==Ye.headerConfig?null:Ye.headerConfig.pageTitle)==Ye.appName)),p.R7$(),p.JRh(Ye.configVariables.siteName)}}function ye(He,Ne){if(1&He&&(p.j41(0,"ion-title",28),p.EFF(1),p.k0s()),2&He){const Ye=p.XpG(2);p.R7$(),p.JRh(Ye.headerConfig.pageTitle)}}function Ke(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 dt(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"ion-button",23),p.bIt("click",function(ht){p.eBV(Ye);const Ht=p.XpG(2);return p.Njj(Ht.emitEvent(ht,"edit"))}),p.nrm(1,"ion-icon",30),p.k0s()}}function xt(He,Ne){if(1&He){const Ye=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(ht){p.eBV(Ye);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ht,"back"))}),p.nrm(5,"ion-icon",18),p.k0s()(),p.DNE(6,zt,2,5,"ion-title",19)(7,ye,2,1,"ion-title",20)(8,Ke,3,3,"ion-input",21),p.j41(9,"ion-buttons",22)(10,"ion-button",23),p.bIt("click",function(ht){p.eBV(Ye);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ht,"search"))}),p.nrm(11,"ion-icon",24),p.k0s(),p.j41(12,"ion-button",23),p.bIt("click",function(ht){p.eBV(Ye);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ht,"profile"))}),p.nrm(13,"ion-icon",25),p.k0s()(),p.j41(14,"ion-buttons",22),p.DNE(15,dt,2,0,"ion-button",26),p.k0s()()}if(2&He){const Ye=p.XpG();p.R7$(2),p.Y8G("hidden",null==Ye.headerConfig?null:Ye.headerConfig.showbackButton),p.R7$(),p.FS9("src",Ye.configVariables.tenantLogo),p.R7$(),p.Y8G("hidden",!(null!=Ye.headerConfig&&Ye.headerConfig.showbackButton)),p.R7$(2),p.Y8G("ngIf",!(null!=Ye.headerConfig&&Ye.headerConfig.showbackButton&&((null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("search"))>=0||(null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("edit"))>=0))),p.R7$(),p.Y8G("ngIf",(null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("edit"))>=0),p.R7$(),p.Y8G("ngIf",(null==Ye.headerConfig?null:Ye.headerConfig.showbackButton)&&(null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("search"))>=0),p.R7$(),p.Y8G("hidden",null==Ye.headerConfig?null:Ye.headerConfig.showbackButton),p.R7$(5),p.Y8G("hidden",!(null!=Ye.headerConfig&&Ye.headerConfig.showbackButton)),p.R7$(),p.Y8G("ngIf",(null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("edit"))>=0)}}function Xt(He,Ne){1&He&&p.nrm(0,"img",39)}function $t(He,Ne){1&He&&p.nrm(0,"img",40)}function an(He,Ne){1&He&&p.nrm(0,"img",41)}function ln(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div",31)(1,"div",32),p.bIt("click",function(ht){p.eBV(Ye);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ht,"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,Xt,1,0,"img",36)(8,$t,1,0,"img",37)(9,an,1,0,"img",38),p.k0s()()()}if(2&He){const Ye=p.XpG();p.R7$(),p.Y8G("ngClass","Parent Tara"===Ye.headerConfig.pageTitle||"Teacher Tara"===Ye.headerConfig.pageTitle?"question-bot":""),p.R7$(3),p.JRh(p.bMT(5,5,Ye.headerConfig.pageTitle)),p.R7$(3),p.Y8G("ngIf","Katha Sakhi"===Ye.headerConfig.pageTitle),p.R7$(),p.Y8G("ngIf","Parent Tara"===Ye.headerConfig.pageTitle),p.R7$(),p.Y8G("ngIf","Teacher Tara"===Ye.headerConfig.pageTitle)}}function fn(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div",23),p.bIt("click",function(){const ht=p.eBV(Ye).$implicit,Ht=p.XpG(2);return p.Njj(Ht.handleFilter(ht))}),p.j41(1,"ion-chip",46),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&He){const Ye=Ne.$implicit,Fe=p.XpG(2);p.R7$(),p.Y8G("ngClass",(null==Ye?null:Ye.label)==(null==Fe.defaultFilter?null:Fe.defaultFilter.label)?"active":""),p.R7$(),p.JRh(p.bMT(3,2,Ye.label))}}function un(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div",42)(1,"ion-chip",43),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.toggleMenu())}),p.nrm(2,"ion-icon",44),p.k0s(),p.DNE(3,fn,4,4,"div",45),p.k0s()}if(2&He){const Ye=p.XpG();p.R7$(3),p.Y8G("ngForOf",Ye.filters)}}function tn(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"ion-item",47),p.bIt("click",function(ht){const Ht=p.eBV(Ye).$implicit,gn=p.XpG();return p.Njj(gn.emitSideMenuItemEvent(ht,Ht))}),p.j41(1,"ion-label",48),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&He){const Ye=Ne.$implicit,Fe=p.XpG();p.R7$(),p.Y8G("ngClass",(null==Ye?null:Ye.label)==(null==Fe.defaultFilter?null:Fe.defaultFilter.label)?"active-label":""),p.R7$(),p.JRh(p.bMT(3,2,Ye.label))}}let Mn=(()=>{var He;class Ne{constructor(Fe,ht,Ht,gn,Dn){this.utilService=Fe,this.telemetryGeneratorService=ht,this.menuCtrl=Ht,this.headerService=gn,this.modalCtrl=Dn,this.headerConfig=!1,this.headerEvents=new p.bkB,this.sideMenuItemEvent=new p.bkB,this.isMenuOpen=!1,this.filters=[],this.appVersion="",this.appName="",this.configVariables=Wt.g,C.q.getInfo().then(Wn=>{this.appVersion=`v${Wn.version}.${Wn.build}`,this.appName=Wn.name})}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.defaultFilter={},Fe.headerService.filterConfigEmitted$.subscribe(ht=>{Fe.filters=[],Fe.defaultFilter=ht.defaultFilter,Fe.filters.push(ht.defaultFilter),ht.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 ht=this;return(0,a.A)(function*(){ht.emitEvent(Fe,"search")})()}emitEvent(Fe,ht){"scan"==ht&&this.scan(),this.headerEvents.emit({event:Fe,name:ht})}toggleMenu(){var Fe=this;return(0,a.A)(function*(){yield Fe.menuCtrl.toggle(),Fe.isMenuOpen=yield Fe.menuCtrl.isEnabled()})()}emitSideMenuItemEvent(Fe,ht){this.menuCtrl.close().then(()=>{this.handleFilter(ht)}).catch(Ht=>{this.handleFilter(ht)})}handleFilter(Fe){this.defaultFilter=Fe,this.sideMenuItemEvent.emit({filter:Fe})}navigateToQRScreen(){var Fe=this;return(0,a.A)(function*(){const ht=yield Fe.modalCtrl.create({component:ve,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(T.a0),p.rXU(hn.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,ht){1&Fe&&(p.j41(0,"ion-header",1)(1,"ion-toolbar",2),p.DNE(2,xt,16,9,"div",3)(3,ln,10,7,"div",4)(4,un,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,tn,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!=ht.headerConfig&&ht.headerConfig.showHeader)),p.R7$(2),p.Y8G("ngIf","bot"!==(null==ht.headerConfig?null:ht.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf","bot"===(null==ht.headerConfig?null:ht.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf",!(null!=ht.headerConfig&&ht.headerConfig.showbackButton)&&"My Jaadui Pitara"!==(null==ht.headerConfig?null:ht.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",ht.filters),p.R7$(4),p.Lme("",p.bMT(18,12,"Version: ")," ",ht.appVersion,""),p.R7$(4),p.JRh(ht.configVariables.siteName))},dependencies:[w.YU,w.Sq,w.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,_.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 Bn=["mainContent"];let Rn=(()=>{var He;class Ne{constructor(Fe,ht,Ht,gn,Dn,Wn,ar,nr){this.headerService=Fe,this.telemetryAutoSyncService=ht,this.scannerService=Ht,this.popoverCtrl=gn,this.modalCtrl=Dn,this.router=Wn,this.alertController=ar,this.swUpdate=nr,this.langModalOpen=!1,this.languages=[],this.environmentInjector=(0,p.WQX)(p.uvJ),this.initializeApp()}initializeApp(){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}`)}})}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(ht=>{Fe.headerConfig=ht}),Fe.headerService.filterConfigEmitted$.subscribe(ht=>{Fe.languages=ht.languages,console.log(ht,Fe.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]),console.log(Ht[0])}handleHeaderEvents(Fe){var ht=this;return(0,a.A)(function*(){console.log("events",Fe),"scan"==Fe.name?ht.scannerService.requestPermission(Ht=>{if("cancel"===Ht||"cancel_hw_back"===Ht||"cancel_nav_back"===Ht)return;console.log("Scan Result",Ht);let gn="";const Dn=new RegExp("(/dial/(?[a-zA-Z0-9]+)|(/QR/\\?id=(?[a-zA-Z0-9]+)))").exec(Ht);Dn&&Dn.length>1&&(gn=null==Dn?void 0:Dn.groups[Object.keys(null==Dn?void 0:Dn.groups).find(Wn=>!(null==Dn||!Dn.groups[Wn]))]),console.log("Scanned Value",gn),gn?ht.router.navigate(["/qr-scan-result"],{state:{scannedData:gn}}):ht.handleInvalidQRcode(Ht)},Ht=>{console.warn(Ht)}):"profile"==Fe.name?ht.langModalOpen||(ht.presentModal(Fe),ht.langModalOpen=!0):"search"==Fe.name&&ht.router.navigate(["/search"]),ht.headerService.sidebarEvent(Fe)})()}presentModal(Fe){var ht=this;return(0,a.A)(function*(){const Ht=yield ht.popoverCtrl.create({component:A,componentProps:{languages:ht.languages},cssClass:"lang-modal",event:Fe,translucent:!0,dismissOnSelect:!0});yield Ht.present(),Ht.onDidDismiss().then(gn=>{console.log("dismiss"),ht.langModalOpen=!1,ht.headerService.sidebarEvent({name:"language"})})})()}menuItemAction(Fe){var ht=this;return(0,a.A)(function*(){ht.headerService.sideMenuItemEvents(Fe)})()}autoSyncTelemetry(){this.telemetryAutoSyncService.start(3e4).subscribe()}handleInvalidQRcode(Fe){var ht=this;return(0,a.A)(function*(){const Ht=yield ht.modalCtrl.create({component:ve,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(te.U),p.rXU(ae),p.rXU(Ze),p.rXU(D.IE),p.rXU(D.W3),p.rXU(O.Ix),p.rXU(D.hG),p.rXU(Tn))},He.\u0275cmp=p.VBU({type:He,selectors:[["app-root"]],viewQuery:function(Fe,ht){if(1&Fe&&p.GBs(Bn,5,D.Rg),2&Fe){let Ht;p.mGM(Ht=p.lsd())&&(ht.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,ht){if(1&Fe){const Ht=p.RV6();p.j41(0,"ion-app")(1,"div",1)(2,"app-application-header",2),p.bIt("headerEvents",function(Dn){return p.eBV(Ht),p.Njj(ht.handleHeaderEvents(Dn))})("sideMenuItemEvent",function(Dn){return p.eBV(Ht),p.Njj(ht.menuItemAction(Dn))}),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",ht.headerConfig),p.R7$(2),p.Y8G("swipeGesture",!1))},dependencies:[D.U1,D.HP,D.Rg,Mn]}),Ne})();const xr=[{path:"",loadChildren:()=>E.e(786).then(E.bind(E,786)).then(He=>He.SplashPageModule),pathMatch:"full"},{path:"tabs",loadChildren:()=>E.e(1476).then(E.bind(E,1476)).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 X=(()=>{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:[O.iI.forRoot(xr,{preloadingStrategy:O.Kp}),O.iI]}),Ne})();var $e=E(5553);class le{constructor(Ne,Ye="/assets/i18n/",Fe=".json"){this.http=Ne,this.prefix=Ye,this.suffix=Fe}getTranslation(Ne){return this.http.get(`${this.prefix}${Ne}${this.suffix}`)}}var Xe=E(1626),_t=E(3486),Nn=E(4591),vr=E(6011),Br=E(1765),ei=E(444),Jr=E(7803),oi=E(3696),Wr=E(3871),Ui=E(2918),Mr=E(1113),mi=E(3721),Vn=E(8402),gi=E(4447),Ri=E(3172);function Di(He){return new le(He,"./assets/i18n/",".json")}function Ai(He){return()=>He.initializePlugin()}let Vi=(()=>{var He;class Ne{constructor(Fe,ht){this.translate=Fe,this.storage=ht,this.storage.getData("lang").then(Ht=>{console.log(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(_.c$),p.KVO(_t.n))},He.\u0275mod=p.$C({type:He,bootstrap:[Rn]}),He.\u0275inj=p.G2t({providers:[{provide:O.b,useClass:c.jM},_t.n,Nn.a,vr.H,Br.H,ae,te.U,Ae.a,ei.f,Jr.q,T.Gf,oi.w,T.hs,T.q4,T.XU,Wr.d,T.XI,Ui.B,hn.O,Ze,De,Ut,T.Sc,Mr.q,T.F_,Vn.Z,T.MK,gi.i,Tn,{provide:p.hnV,useFactory:Ai,deps:[Nn.a],multi:!0}],imports:[S.Bb,D.bv.forRoot(),X,Xe.q1,_.h.forRoot({loader:{provide:_.Wr,useFactory:Di,deps:[Xe.Qq]}}),$e.h,mi.h,bt.register("ngsw-worker.js",{enabled:Ri.c.production})]}),Ne})();var Hr=E(1288),Fo=E(9657);const Qi=function(){var He=(0,a.A)(function*(Ne,Ye){if(!(typeof window>"u"))return yield,(0,Fo.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"]}]]]],Ye)});return function(Ye,Fe){return He.apply(this,arguments)}}();var Pr=E(5083);(0,p.SmG)(),"web"===Pr.Ii.getPlatform()&&(window,typeof window>"u"?Promise.resolve():(0,Hr.p)().then(()=>(0,Hr.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)),Qi(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(Vi).catch(He=>console.log(He))},1990:(be,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:(be,ee,E)=>{var a=E(1990),S=E(1993);function O(c,D){this.name=c,this.body=D,this.decoders={},this.encoders={}}ee.define=function(D,C){return new O(D,C)},O.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)},O.prototype._getDecoder=function(D){return this.decoders.hasOwnProperty(D=D||"der")||(this.decoders[D]=this._createNamed(a.decoders[D])),this.decoders[D]},O.prototype.decode=function(D,C,_){return this._getDecoder(C).decode(D,_)},O.prototype._getEncoder=function(D){return this.encoders.hasOwnProperty(D=D||"der")||(this.encoders[D]=this._createNamed(a.encoders[D])),this.encoders[D]},O.prototype.encode=function(D,C,_){return this._getEncoder(C).encode(D,_)}},7290:(be,ee,E)=>{var a=E(1993),S=E(5066).Reporter,p=E(3838).Buffer;function O(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(_){return _ instanceof c||(_=new c(_,C)),this.length+=_.length,_},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(O,S),ee.t=O,O.prototype.save=function(){return{offset:this.offset,reporter:S.prototype.save.call(this)}},O.prototype.restore=function(C){var _=new O(this.base);return _.offset=C.offset,_.length=this.offset,this.offset=C.offset,S.prototype.restore.call(this,C.reporter),_},O.prototype.isEmpty=function(){return this.offset===this.length},O.prototype.readUInt8=function(C){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(C||"DecoderBuffer overrun")},O.prototype.skip=function(C,_){if(!(this.offset+C<=this.length))return this.error(_||"DecoderBuffer overrun");var T=new O(this.base);return T._reporterState=this._reporterState,T.offset=this.offset,T.length=this.offset+C,this.offset+=C,T},O.prototype.raw=function(C){return this.base.slice(C?C.offset:this.offset,this.length)},ee.d=c,c.prototype.join=function(C,_){return C||(C=new p(this.length)),_||(_=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(T){T.join(C,_),_+=T.length}):("number"==typeof this.value?C[_]=this.value:"string"==typeof this.value?C.write(this.value,_):p.isBuffer(this.value)&&this.value.copy(C,_),_+=this.length)),C}},5066:(be,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:(be,ee,E)=>{var a=E(5066).Reporter,S=E(5066).EncoderBuffer,p=E(5066).DecoderBuffer,O=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=w,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())}be.exports=_;var T=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];_.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},_.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)},_.prototype._init=function(g){var F=this._baseState;O(null===F.parent),g.call(this),F.children=F.children.filter(function(A){return A._baseState.parent===this},this),O.equal(F.children.length,1,"Root node can have only one child")},_.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&&(O(null===F.children),F.children=A,A.forEach(function(B){B._baseState.parent=this},this)),0!==g.length&&(O(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[w]=function(){throw new Error(w+" not implemented for encoding: "+this._baseState.enc)}}),c.forEach(function(w){_.prototype[w]=function(){var F=this._baseState,A=Array.prototype.slice.call(arguments);return O(null===F.tag),F.tag=w,this._useArgs(A),this}}),_.prototype.use=function(g){O(g);var F=this._baseState;return O(null===F.use),F.use=g,this},_.prototype.optional=function(){return this._baseState.optional=!0,this},_.prototype.def=function(g){var F=this._baseState;return O(null===F.default),F.default=g,F.optional=!0,this},_.prototype.explicit=function(g){var F=this._baseState;return O(null===F.explicit&&null===F.implicit),F.explicit=g,this},_.prototype.implicit=function(g){var F=this._baseState;return O(null===F.explicit&&null===F.implicit),F.implicit=g,this},_.prototype.obj=function(){var g=this._baseState,F=Array.prototype.slice.call(arguments);return g.obj=!0,0!==F.length&&this._useArgs(F),this},_.prototype.key=function(g){var F=this._baseState;return O(null===F.key),F.key=g,this},_.prototype.any=function(){return this._baseState.any=!0,this},_.prototype.choice=function(g){var F=this._baseState;return O(null===F.choice),F.choice=g,this._useArgs(Object.keys(g).map(function(A){return g[A]})),this},_.prototype.contains=function(g){var F=this._baseState;return O(null===F.use),F.contains=g,this},_.prototype._decode=function(g,F){var A=this._baseState;if(null===A.parent)return g.wrapResult(A.children[0]._decode(g,F));var R,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&&(R=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 K=this._decodeTag(g,null!==A.implicit?A.implicit:A.tag,A.any);if(g.isError(K))return K;A.any?B=g.raw(M):g=K}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 oe=new p(B);B=this._getUse(A.contains,g._reporterState.obj)._decode(oe,F)}}return A.obj&&P&&(B=g.leaveObject(R)),null===A.key||null===B&&!0!==P?null!==$&&g.exitKey($):g.leaveKey($,A.key,B),B},_.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)},_.prototype._getUse=function(g,F){var A=this._baseState;return A.useDecoder=this._use(g,F),O(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},_.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 R=M._decode(g,F);if(g.isError(R))return!1;B={type:$,value:R},P=!0}catch{return g.restore(k),!1}return!0},this),P?B:g.error("Choice not matched")},_.prototype._createEncoderBuffer=function(g){return new S(g,this.reporter)},_.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}},_.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 K=F.enterKey(j._baseState.key);if("object"!=typeof g)return F.error("Child expected, but input is not object");var oe=j._encode(g[j._baseState.key],F,g);return F.leaveKey(K),oe},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 R=null!==B.implicit?B.implicit:B.tag,U=null===B.implicit?"universal":"context";null===R?null===B.use&&F.error("Tag could be omitted only for .use()"):null===B.use&&(M=this._encodeComposite(R,$,U,P))}return null!==B.explicit&&(M=this._encodeComposite(B.explicit,!1,"context",M)),M},_.prototype._encodeChoice=function(g,F){var A=this._baseState,B=A.choice[g.type];return B||O(!1,g.type+" not found in "+JSON.stringify(Object.keys(A.choice))),B._encode(g.value,F)},_.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)},_.prototype._isNumstr=function(g){return/^[0-9 ]*$/.test(g)},_.prototype._isPrintstr=function(g){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(g)}},5697:(be,ee,E)=>{var a=E(1993);function S(O){this._reporterState={obj:null,path:[],options:O||{},errors:[]}}function p(O,c){this.path=O,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 _=this._reporterState;this.exitKey(c),null!==_.obj&&(_.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,_=c instanceof p;if(D=_?c:new p(C.path.map(function(T){return"["+JSON.stringify(T)+"]"}).join(""),c.message||c,c.stack),!C.options.partial)throw D;return _||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:(be,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:(be,ee,E)=>{var a=ee;a._reverse=function(p){var O={};return Object.keys(p).forEach(function(c){(0|c)==c&&(c|=0),O[p[c]]=c}),O},a.der=E(6283)},5941:(be,ee,E)=>{var a=E(1993),S=E(1990),p=S.base,O=S.bignum,c=S.constants.der;function D(w){this.enc="der",this.name=w.name,this.entity=w,this.tree=new C,this.tree._init(w.body)}function C(w){p.Node.call(this,"der",w)}function _(w,g){var F=w.readUInt8(g);if(w.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=w.readUInt8(g),w.isError(P))return P;F<<=7,F|=127&P}}return{cls:A,primitive:B,tag:F,tagStr:c.tag[F]}}function T(w,g,F){var A=w.readUInt8(F);if(w.isError(A))return A;if(!g&&128===A)return null;if(!(128&A))return A;var B=127&A;if(B>4)return w.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:(be,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(5941);function O(c){p.call(this,c),this.enc="pem"}a(O,p),be.exports=O,O.prototype.decode=function(D,C){for(var _=D.toString().split(/[\r\n]+/g),T=C.label.toUpperCase(),w=/^-----(BEGIN|END) ([^-]+)-----$/,g=-1,F=-1,A=0;A<_.length;A++){var B=_[A].match(w);if(null!==B&&B[2]===T){if(-1!==g){if("END"!==B[1])break;F=A;break}if("BEGIN"!==B[1])break;g=A}}if(-1===g||-1===F)throw new Error("PEM section not found for: "+T);var P=_.slice(g+1,F).join("");P.replace(/[^a-z0-9\+\/=]+/gi,"");var $=new S(P,"base64");return p.prototype.decode.call(this,$,C)}},2193:(be,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(1990),O=p.base,c=p.constants.der;function D(w){this.enc="der",this.name=w.name,this.entity=w,this.tree=new C,this.tree._init(w.body)}function C(w){O.Node.call(this,"der",w)}function _(w){return w<10?"0"+w:w}be.exports=D,D.prototype.encode=function(g,F){return this.tree._encode(g,F).join()},a(C,O.Node),C.prototype._encodeComposite=function(g,F,A,B){var M,P=function T(w,g,F,A){var B;if("seqof"===w?w="seq":"setof"===w&&(w="set"),c.tagByName.hasOwnProperty(w))B=c.tagByName[w];else{if("number"!=typeof w||(0|w)!==w)return A.error("Unknown tag: "+w);B=w}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 R=B.length;R>0;k--,R>>=8)M[k]=255&R;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=[_(B.getFullYear()),_(B.getUTCMonth()+1),_(B.getUTCDate()),_(B.getUTCHours()),_(B.getUTCMinutes()),_(B.getUTCSeconds()),"Z"].join(""):"utctime"===F?A=[_(B.getFullYear()%100),_(B.getUTCMonth()+1),_(B.getUTCDate()),_(B.getUTCHours()),_(B.getUTCMinutes()),_(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:(be,ee,E)=>{var a=ee;a.der=E(2193),a.pem=E(4816)},4816:(be,ee,E)=>{var a=E(1993),S=E(2193);function p(O){S.call(this,O),this.enc="pem"}a(p,S),be.exports=p,p.prototype.encode=function(c,D){for(var _=S.prototype.encode.call(this,c).toString("base64"),T=["-----BEGIN "+D.label+"-----"],w=0;w<_.length;w+=64)T.push(_.slice(w,w+64));return T.push("-----END "+D.label+"-----"),T.join("\n")}},6867:function(be,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function O(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(8982).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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},3981:(be,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 _(A,B,P){return 3*(B+P)/4-P}(0,$,k)),R=0,U=k>0?$-4:$;for(j=0;j>16&255,M[R++]=B>>8&255,M[R++]=255&B;return 2===k&&(B=a[A.charCodeAt(j)]<<2|a[A.charCodeAt(j+1)]>>4,M[R++]=255&B),1===k&&(B=a[A.charCodeAt(j)]<<10|a[A.charCodeAt(j+1)]<<4|a[A.charCodeAt(j+2)]>>2,M[R++]=B>>8&255,M[R++]=255&B),M},ee.fromByteArray=function F(A){for(var B,P=A.length,$=P%3,k=[],M=16383,R=0,U=P-$;RU?U:R+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+/",O=0;O<64;++O)E[O]=p[O],a[p.charCodeAt(O)]=O;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 w(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 _(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=_(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,J=67108863&L,re=Math.min(I,s.length-1),me=Math.max(0,I-u.length+1);me<=re;me++)V+=(r=(y=0|u.words[I-me|0])*(f=0|s.words[me])+J)/67108864|0,J=67108863&r;h.words[I]=0|J,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 J=this.clone();for(J.negative=0;!J.isZero();){var re=J.modrn(V).toString(s);v=(J=J.idivn(V)).isZero()?re+v:F[I-re.length]+re+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,Me=0|y[1],Q=8191&Me,ae=Me>>>13,tt=0|y[2],Re=8191&tt,pe=tt>>>13,Ie=0|y[3],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|y[7],wt=8191&on,Pt=on>>>13,En=0|y[8],St=8191&En,Tt=En>>>13,yn=0|y[9],Dt=8191&yn,Bt=yn>>>13,Cn=0|f[0],st=8191&Cn,Lt=Cn>>>13,In=0|f[1],kt=8191&In,Ot=In>>>13,Ln=0|f[2],Ut=8191&Ln,Le=Ln>>>13,_e=0|f[3],De=8191&_e,Ae=_e>>>13,Ze=0|f[4],Ue=8191&Ze,it=Ze>>>13,Pe=0|f[5],Be=8191&Pe,Ve=Pe>>>13,yt=0|f[6],Je=8191&yt,lt=yt>>>13,Qt=0|f[7],Ct=8191&Qt,mt=Qt>>>13,Kt=0|f[8],Rt=8191&Kt,Ft=Kt>>>13,Pn=0|f[9],wn=8191&Pn,_n=Pn>>>13;v.negative=s.negative^h.negative,v.length=19;var bn=(d+(L=Math.imul(re,st))|0)+((8191&(I=(I=Math.imul(re,Lt))+Math.imul(me,st)|0))<<13)|0;d=((V=Math.imul(me,Lt))+(I>>>13)|0)+(bn>>>26)|0,bn&=67108863,L=Math.imul(Q,st),I=(I=Math.imul(Q,Lt))+Math.imul(ae,st)|0,V=Math.imul(ae,Lt);var zn=(d+(L=L+Math.imul(re,kt)|0)|0)+((8191&(I=(I=I+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0))<<13)|0;d=((V=V+Math.imul(me,Ot)|0)+(I>>>13)|0)+(zn>>>26)|0,zn&=67108863,L=Math.imul(Re,st),I=(I=Math.imul(Re,Lt))+Math.imul(pe,st)|0,V=Math.imul(pe,Lt),L=L+Math.imul(Q,kt)|0,I=(I=I+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,V=V+Math.imul(ae,Ot)|0;var Un=(d+(L=L+Math.imul(re,Ut)|0)|0)+((8191&(I=(I=I+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0))<<13)|0;d=((V=V+Math.imul(me,Le)|0)+(I>>>13)|0)+(Un>>>26)|0,Un&=67108863,L=Math.imul(Se,st),I=(I=Math.imul(Se,Lt))+Math.imul(ie,st)|0,V=Math.imul(ie,Lt),L=L+Math.imul(Re,kt)|0,I=(I=I+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,V=V+Math.imul(pe,Ot)|0,L=L+Math.imul(Q,Ut)|0,I=(I=I+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,V=V+Math.imul(ae,Le)|0;var Fn=(d+(L=L+Math.imul(re,De)|0)|0)+((8191&(I=(I=I+Math.imul(re,Ae)|0)+Math.imul(me,De)|0))<<13)|0;d=((V=V+Math.imul(me,Ae)|0)+(I>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,L=Math.imul(G,st),I=(I=Math.imul(G,Lt))+Math.imul(Ee,st)|0,V=Math.imul(Ee,Lt),L=L+Math.imul(Se,kt)|0,I=(I=I+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,V=V+Math.imul(ie,Ot)|0,L=L+Math.imul(Re,Ut)|0,I=(I=I+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,V=V+Math.imul(pe,Le)|0,L=L+Math.imul(Q,De)|0,I=(I=I+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,V=V+Math.imul(ae,Ae)|0;var kn=(d+(L=L+Math.imul(re,Ue)|0)|0)+((8191&(I=(I=I+Math.imul(re,it)|0)+Math.imul(me,Ue)|0))<<13)|0;d=((V=V+Math.imul(me,it)|0)+(I>>>13)|0)+(kn>>>26)|0,kn&=67108863,L=Math.imul(Qe,st),I=(I=Math.imul(Qe,Lt))+Math.imul(rt,st)|0,V=Math.imul(rt,Lt),L=L+Math.imul(G,kt)|0,I=(I=I+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,V=V+Math.imul(Ee,Ot)|0,L=L+Math.imul(Se,Ut)|0,I=(I=I+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,V=V+Math.imul(ie,Le)|0,L=L+Math.imul(Re,De)|0,I=(I=I+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,V=V+Math.imul(pe,Ae)|0,L=L+Math.imul(Q,Ue)|0,I=(I=I+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,V=V+Math.imul(ae,it)|0;var Kn=(d+(L=L+Math.imul(re,Be)|0)|0)+((8191&(I=(I=I+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0))<<13)|0;d=((V=V+Math.imul(me,Ve)|0)+(I>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,L=Math.imul(gt,st),I=(I=Math.imul(gt,Lt))+Math.imul(ft,st)|0,V=Math.imul(ft,Lt),L=L+Math.imul(Qe,kt)|0,I=(I=I+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,V=V+Math.imul(rt,Ot)|0,L=L+Math.imul(G,Ut)|0,I=(I=I+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,V=V+Math.imul(Ee,Le)|0,L=L+Math.imul(Se,De)|0,I=(I=I+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,V=V+Math.imul(ie,Ae)|0,L=L+Math.imul(Re,Ue)|0,I=(I=I+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,V=V+Math.imul(pe,it)|0,L=L+Math.imul(Q,Be)|0,I=(I=I+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,V=V+Math.imul(ae,Ve)|0;var $n=(d+(L=L+Math.imul(re,Je)|0)|0)+((8191&(I=(I=I+Math.imul(re,lt)|0)+Math.imul(me,Je)|0))<<13)|0;d=((V=V+Math.imul(me,lt)|0)+(I>>>13)|0)+($n>>>26)|0,$n&=67108863,L=Math.imul(wt,st),I=(I=Math.imul(wt,Lt))+Math.imul(Pt,st)|0,V=Math.imul(Pt,Lt),L=L+Math.imul(gt,kt)|0,I=(I=I+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,V=V+Math.imul(ft,Ot)|0,L=L+Math.imul(Qe,Ut)|0,I=(I=I+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,V=V+Math.imul(rt,Le)|0,L=L+Math.imul(G,De)|0,I=(I=I+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,V=V+Math.imul(Ee,Ae)|0,L=L+Math.imul(Se,Ue)|0,I=(I=I+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,V=V+Math.imul(ie,it)|0,L=L+Math.imul(Re,Be)|0,I=(I=I+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,V=V+Math.imul(pe,Ve)|0,L=L+Math.imul(Q,Je)|0,I=(I=I+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,V=V+Math.imul(ae,lt)|0;var jn=(d+(L=L+Math.imul(re,Ct)|0)|0)+((8191&(I=(I=I+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0))<<13)|0;d=((V=V+Math.imul(me,mt)|0)+(I>>>13)|0)+(jn>>>26)|0,jn&=67108863,L=Math.imul(St,st),I=(I=Math.imul(St,Lt))+Math.imul(Tt,st)|0,V=Math.imul(Tt,Lt),L=L+Math.imul(wt,kt)|0,I=(I=I+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,V=V+Math.imul(Pt,Ot)|0,L=L+Math.imul(gt,Ut)|0,I=(I=I+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,V=V+Math.imul(ft,Le)|0,L=L+Math.imul(Qe,De)|0,I=(I=I+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,V=V+Math.imul(rt,Ae)|0,L=L+Math.imul(G,Ue)|0,I=(I=I+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,V=V+Math.imul(Ee,it)|0,L=L+Math.imul(Se,Be)|0,I=(I=I+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,V=V+Math.imul(ie,Ve)|0,L=L+Math.imul(Re,Je)|0,I=(I=I+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,V=V+Math.imul(pe,lt)|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 je=(d+(L=L+Math.imul(re,Rt)|0)|0)+((8191&(I=(I=I+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;d=((V=V+Math.imul(me,Ft)|0)+(I>>>13)|0)+(je>>>26)|0,je&=67108863,L=Math.imul(Dt,st),I=(I=Math.imul(Dt,Lt))+Math.imul(Bt,st)|0,V=Math.imul(Bt,Lt),L=L+Math.imul(St,kt)|0,I=(I=I+Math.imul(St,Ot)|0)+Math.imul(Tt,kt)|0,V=V+Math.imul(Tt,Ot)|0,L=L+Math.imul(wt,Ut)|0,I=(I=I+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,V=V+Math.imul(Pt,Le)|0,L=L+Math.imul(gt,De)|0,I=(I=I+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,V=V+Math.imul(ft,Ae)|0,L=L+Math.imul(Qe,Ue)|0,I=(I=I+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,V=V+Math.imul(rt,it)|0,L=L+Math.imul(G,Be)|0,I=(I=I+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,V=V+Math.imul(Ee,Ve)|0,L=L+Math.imul(Se,Je)|0,I=(I=I+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,V=V+Math.imul(ie,lt)|0,L=L+Math.imul(Re,Ct)|0,I=(I=I+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,V=V+Math.imul(pe,mt)|0,L=L+Math.imul(Q,Rt)|0,I=(I=I+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0,V=V+Math.imul(ae,Ft)|0;var ut=(d+(L=L+Math.imul(re,wn)|0)|0)+((8191&(I=(I=I+Math.imul(re,_n)|0)+Math.imul(me,wn)|0))<<13)|0;d=((V=V+Math.imul(me,_n)|0)+(I>>>13)|0)+(ut>>>26)|0,ut&=67108863,L=Math.imul(Dt,kt),I=(I=Math.imul(Dt,Ot))+Math.imul(Bt,kt)|0,V=Math.imul(Bt,Ot),L=L+Math.imul(St,Ut)|0,I=(I=I+Math.imul(St,Le)|0)+Math.imul(Tt,Ut)|0,V=V+Math.imul(Tt,Le)|0,L=L+Math.imul(wt,De)|0,I=(I=I+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,V=V+Math.imul(Pt,Ae)|0,L=L+Math.imul(gt,Ue)|0,I=(I=I+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,V=V+Math.imul(ft,it)|0,L=L+Math.imul(Qe,Be)|0,I=(I=I+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,V=V+Math.imul(rt,Ve)|0,L=L+Math.imul(G,Je)|0,I=(I=I+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,V=V+Math.imul(Ee,lt)|0,L=L+Math.imul(Se,Ct)|0,I=(I=I+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,V=V+Math.imul(ie,mt)|0,L=L+Math.imul(Re,Rt)|0,I=(I=I+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0,V=V+Math.imul(pe,Ft)|0;var It=(d+(L=L+Math.imul(Q,wn)|0)|0)+((8191&(I=(I=I+Math.imul(Q,_n)|0)+Math.imul(ae,wn)|0))<<13)|0;d=((V=V+Math.imul(ae,_n)|0)+(I>>>13)|0)+(It>>>26)|0,It&=67108863,L=Math.imul(Dt,Ut),I=(I=Math.imul(Dt,Le))+Math.imul(Bt,Ut)|0,V=Math.imul(Bt,Le),L=L+Math.imul(St,De)|0,I=(I=I+Math.imul(St,Ae)|0)+Math.imul(Tt,De)|0,V=V+Math.imul(Tt,Ae)|0,L=L+Math.imul(wt,Ue)|0,I=(I=I+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,V=V+Math.imul(Pt,it)|0,L=L+Math.imul(gt,Be)|0,I=(I=I+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,V=V+Math.imul(ft,Ve)|0,L=L+Math.imul(Qe,Je)|0,I=(I=I+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,V=V+Math.imul(rt,lt)|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,Rt)|0,I=(I=I+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0,V=V+Math.imul(ie,Ft)|0;var Mt=(d+(L=L+Math.imul(Re,wn)|0)|0)+((8191&(I=(I=I+Math.imul(Re,_n)|0)+Math.imul(pe,wn)|0))<<13)|0;d=((V=V+Math.imul(pe,_n)|0)+(I>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,L=Math.imul(Dt,De),I=(I=Math.imul(Dt,Ae))+Math.imul(Bt,De)|0,V=Math.imul(Bt,Ae),L=L+Math.imul(St,Ue)|0,I=(I=I+Math.imul(St,it)|0)+Math.imul(Tt,Ue)|0,V=V+Math.imul(Tt,it)|0,L=L+Math.imul(wt,Be)|0,I=(I=I+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,V=V+Math.imul(Pt,Ve)|0,L=L+Math.imul(gt,Je)|0,I=(I=I+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,V=V+Math.imul(ft,lt)|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,Rt)|0,I=(I=I+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0,V=V+Math.imul(Ee,Ft)|0;var Nt=(d+(L=L+Math.imul(Se,wn)|0)|0)+((8191&(I=(I=I+Math.imul(Se,_n)|0)+Math.imul(ie,wn)|0))<<13)|0;d=((V=V+Math.imul(ie,_n)|0)+(I>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,L=Math.imul(Dt,Ue),I=(I=Math.imul(Dt,it))+Math.imul(Bt,Ue)|0,V=Math.imul(Bt,it),L=L+Math.imul(St,Be)|0,I=(I=I+Math.imul(St,Ve)|0)+Math.imul(Tt,Be)|0,V=V+Math.imul(Tt,Ve)|0,L=L+Math.imul(wt,Je)|0,I=(I=I+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,V=V+Math.imul(Pt,lt)|0,L=L+Math.imul(gt,Ct)|0,I=(I=I+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,V=V+Math.imul(ft,mt)|0,L=L+Math.imul(Qe,Rt)|0,I=(I=I+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0,V=V+Math.imul(rt,Ft)|0;var Zt=(d+(L=L+Math.imul(G,wn)|0)|0)+((8191&(I=(I=I+Math.imul(G,_n)|0)+Math.imul(Ee,wn)|0))<<13)|0;d=((V=V+Math.imul(Ee,_n)|0)+(I>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,L=Math.imul(Dt,Be),I=(I=Math.imul(Dt,Ve))+Math.imul(Bt,Be)|0,V=Math.imul(Bt,Ve),L=L+Math.imul(St,Je)|0,I=(I=I+Math.imul(St,lt)|0)+Math.imul(Tt,Je)|0,V=V+Math.imul(Tt,lt)|0,L=L+Math.imul(wt,Ct)|0,I=(I=I+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,V=V+Math.imul(Pt,mt)|0,L=L+Math.imul(gt,Rt)|0,I=(I=I+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0,V=V+Math.imul(ft,Ft)|0;var qt=(d+(L=L+Math.imul(Qe,wn)|0)|0)+((8191&(I=(I=I+Math.imul(Qe,_n)|0)+Math.imul(rt,wn)|0))<<13)|0;d=((V=V+Math.imul(rt,_n)|0)+(I>>>13)|0)+(qt>>>26)|0,qt&=67108863,L=Math.imul(Dt,Je),I=(I=Math.imul(Dt,lt))+Math.imul(Bt,Je)|0,V=Math.imul(Bt,lt),L=L+Math.imul(St,Ct)|0,I=(I=I+Math.imul(St,mt)|0)+Math.imul(Tt,Ct)|0,V=V+Math.imul(Tt,mt)|0,L=L+Math.imul(wt,Rt)|0,I=(I=I+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0,V=V+Math.imul(Pt,Ft)|0;var Yt=(d+(L=L+Math.imul(gt,wn)|0)|0)+((8191&(I=(I=I+Math.imul(gt,_n)|0)+Math.imul(ft,wn)|0))<<13)|0;d=((V=V+Math.imul(ft,_n)|0)+(I>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,L=Math.imul(Dt,Ct),I=(I=Math.imul(Dt,mt))+Math.imul(Bt,Ct)|0,V=Math.imul(Bt,mt),L=L+Math.imul(St,Rt)|0,I=(I=I+Math.imul(St,Ft)|0)+Math.imul(Tt,Rt)|0,V=V+Math.imul(Tt,Ft)|0;var Tn=(d+(L=L+Math.imul(wt,wn)|0)|0)+((8191&(I=(I=I+Math.imul(wt,_n)|0)+Math.imul(Pt,wn)|0))<<13)|0;d=((V=V+Math.imul(Pt,_n)|0)+(I>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,L=Math.imul(Dt,Rt),I=(I=Math.imul(Dt,Ft))+Math.imul(Bt,Rt)|0,V=Math.imul(Bt,Ft);var An=(d+(L=L+Math.imul(St,wn)|0)|0)+((8191&(I=(I=I+Math.imul(St,_n)|0)+Math.imul(Tt,wn)|0))<<13)|0;d=((V=V+Math.imul(Tt,_n)|0)+(I>>>13)|0)+(An>>>26)|0,An&=67108863;var Xn=(d+(L=Math.imul(Dt,wn))|0)+((8191&(I=(I=Math.imul(Dt,_n))+Math.imul(Bt,wn)|0))<<13)|0;return d=((V=Math.imul(Bt,_n))+(I>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,r[0]=bn,r[1]=zn,r[2]=Un,r[3]=Fn,r[4]=kn,r[5]=Kn,r[6]=$n,r[7]=jn,r[8]=je,r[9]=ut,r[10]=It,r[11]=Mt,r[12]=Nt,r[13]=Zt,r[14]=qt,r[15]=Yt,r[16]=Tn,r[17]=An,r[18]=Xn,0!==d&&(r[19]=d,v.length++),v};function R(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 R(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?R(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 J=0|this.words[I];this.words[I]=V<<26-f|J>>>f,V=J&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;re--){var me=67108864*(0|y.words[f.length+re])+(0|y.words[f.length+re-1]);for(me=Math.min(me/r|0,67108863),y._ishlnsubmul(f,me,re);0!==y.negative;)me--,y.negative=0,y._ishlnsubmul(f,1,re),y.isZero()||(y.negative^=1);I&&(I.words[re]=me)}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 J=0,re=1;!(h.words[0]&re)&&J<26;++J,re<<=1);if(J>0)for(h.iushrn(J);J-- >0;)(y.isOdd()||f.isOdd())&&(y.iadd(I),f.isub(V)),y.iushrn(1),f.iushrn(1);for(var me=0,Me=1;!(v.words[0]&Me)&&me<26;++me,Me<<=1);if(me>0)for(v.iushrn(me);me-- >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 J,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(J=0===h.cmpn(1)?y:f).cmpn(0)<0&&J.iadd(s),J},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 K={k256:null,p224:null,p192:null,p25519:null};function oe(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 ve(){oe.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function te(){oe.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){oe.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function m(){oe.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)}oe.prototype._tmp=function(){var s=new c(null);return s.words=new Array(Math.ceil(this.n/13)),s},oe.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},oe.prototype.split=function(s,h){s.iushrn(this.n,0,h)},oe.prototype.imulK=function(s){return s.imul(this.k)},O(ve,oe),ve.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},ve.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(K[s])return K[s];var h;if("k256"===s)h=new ve;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 K[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):(w(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),J=this.pow(s,y.addn(1).iushrn(1)),re=this.pow(s,y),me=f;0!==re.cmp(r);){for(var Me=re,Q=0;0!==Me.cmp(r);Q++)Me=Me.redSqr();p(Q=0;f--){for(var V=h.words[f],J=I-1;J>=0;J--){var re=V>>J&1;r!==y[0]&&(r=this.sqr(r)),0!==re||0!==d?(d<<=1,d|=re,(4==++L||0===f&&0===J)&&(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)},O(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)}}(be=E.nmd(be),this)},5294:(be,ee,E)=>{var a;function S(O){this.rand=O}if(be.exports=function(c){return a||(a=new S(null)),a.generate(c)},be.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(_){a.isBuffer(_)||(_=a.from(_));for(var T=_.length/4|0,w=new Array(T),g=0;g>>24]^B[M>>>16&255]^P[R>>>8&255]^$[255&U]^T[te++],K=A[M>>>24]^B[R>>>16&255]^P[U>>>8&255]^$[255&k]^T[te++],oe=A[R>>>24]^B[U>>>16&255]^P[k>>>8&255]^$[255&M]^T[te++],ve=A[U>>>24]^B[k>>>16&255]^P[M>>>8&255]^$[255&R]^T[te++],k=j,M=K,R=oe,U=ve;return j=(g[k>>>24]<<24|g[M>>>16&255]<<16|g[R>>>8&255]<<8|g[255&U])^T[te++],K=(g[M>>>24]<<24|g[R>>>16&255]<<16|g[U>>>8&255]<<8|g[255&k])^T[te++],oe=(g[R>>>24]<<24|g[U>>>16&255]<<16|g[k>>>8&255]<<8|g[255&M])^T[te++],ve=(g[U>>>24]<<24|g[k>>>16&255]<<16|g[M>>>8&255]<<8|g[255&R])^T[te++],[j>>>=0,K>>>=0,oe>>>=0,ve>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],D=function(){for(var _=new Array(256),T=0;T<256;T++)_[T]=T<128?T<<1:T<<1^283;for(var w=[],g=[],F=[[],[],[],[]],A=[[],[],[],[]],B=0,P=0,$=0;$<256;++$){var k=P^P<<1^P<<2^P<<3^P<<4;w[B]=k=k>>>8^255&k^99,g[k]=B;var M=_[B],R=_[M],U=_[R],j=257*_[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*R^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^_[_[_[U^M]]],P^=_[_[P]])}return{SBOX:w,INV_SBOX:g,SUB_MIX:F,INV_SUB_MIX:A}}();function C(_){this._key=S(_),this._reset()}C.blockSize=16,C.keySize=32,C.prototype.blockSize=C.blockSize,C.prototype.keySize=C.keySize,C.prototype._reset=function(){for(var _=this._key,T=_.length,w=T+6,g=4*(w+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=w,this._keySchedule=F,this._invKeySchedule=P},C.prototype.encryptBlockRaw=function(_){return O(_=S(_),this._keySchedule,D.SUB_MIX,D.SBOX,this._nRounds)},C.prototype.encryptBlock=function(_){var T=this.encryptBlockRaw(_),w=a.allocUnsafe(16);return w.writeUInt32BE(T[0],0),w.writeUInt32BE(T[1],4),w.writeUInt32BE(T[2],8),w.writeUInt32BE(T[3],12),w},C.prototype.decryptBlock=function(_){var T=(_=S(_))[1];_[1]=_[3],_[3]=T;var w=O(_,this._invKeySchedule,D.INV_SUB_MIX,D.INV_SBOX,this._nRounds),g=a.allocUnsafe(16);return g.writeUInt32BE(w[0],0),g.writeUInt32BE(w[3],4),g.writeUInt32BE(w[2],8),g.writeUInt32BE(w[1],12),g},C.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},be.exports.AES=C},9307:(be,ee,E)=>{var a=E(2375),S=E(7054).Buffer,p=E(3247),O=E(1993),c=E(5917),D=E(3546),C=E(5725);function w(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 R=S.from(g._finID);return C(R),R}(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}O(w,p),w.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},w.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 _(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 O(){return Object.keys(p)}},102:(be,ee,E)=>{var a=E(9307),S=E(7054).Buffer,p=E(503),O=E(1821),c=E(3247),D=E(2375),C=E(8211);function T(B,P,$){c.call(this),this._cache=new w,this._last=void 0,this._cipher=new D.AES(P),this._prev=S.from($),this._mode=B,this._autopadding=!0}function w(){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 O(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},w.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:(be,ee,E)=>{var a=E(503),S=E(9307),p=E(7054).Buffer,O=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 w=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 O(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(w))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 O(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;_--)D[_]=D[_]>>>1|(1&D[_-1])<<31;D[0]=D[0]>>>1,w&&(D[0]=D[0]^225<<24)}this.state=O(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(O([0,D,0,C])),this.state},be.exports=c},5725:be=>{be.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:(be,ee,E)=>{var a=E(3546);ee.encrypt=function(S,p){var O=a(p,S._prev);return S._prev=S._cipher.encryptBlock(O),S._prev},ee.decrypt=function(S,p){var O=S._prev;S._prev=p;var c=S._cipher.decryptBlock(p);return a(c,O)}},7090:(be,ee,E)=>{var a=E(7054).Buffer,S=E(3546);function p(O,c,D){var C=c.length,_=S(c,O._cache);return O._cache=O._cache.slice(C),O._prev=a.concat([O._prev,D?c:_]),_}ee.encrypt=function(O,c,D){for(var _,C=a.allocUnsafe(0);c.length;){if(0===O._cache.length&&(O._cache=O._cipher.encryptBlock(O._prev),O._prev=a.allocUnsafe(0)),!(O._cache.length<=c.length)){C=a.concat([C,p(O,c,D)]);break}C=a.concat([C,p(O,c.slice(0,_=O._cache.length),D)]),c=c.slice(_)}return C}},1039:(be,ee,E)=>{var a=E(7054).Buffer;function S(O,c,D){for(var g,F,_=-1,w=0;++_<8;)w+=(128&(F=O._cipher.encryptBlock(O._prev)[0]^(g=c&1<<7-_?128:0)))>>_%8,O._prev=p(O._prev,D?g:F);return w}function p(O,c){var D=O.length,C=-1,_=a.allocUnsafe(O.length);for(O=a.concat([O,a.from([c])]);++C>7;return _}ee.encrypt=function(O,c,D){for(var C=c.length,_=a.allocUnsafe(C),T=-1;++T{var a=E(7054).Buffer;function S(p,O,c){var C=p._cipher.encryptBlock(p._prev)[0]^O;return p._prev=a.concat([p._prev.slice(1),a.from([c?O:C])]),C}ee.encrypt=function(p,O,c){for(var D=O.length,C=a.allocUnsafe(D),_=-1;++_{var a=E(3546),S=E(7054).Buffer,p=E(5725);function O(D){var C=D._cipher.encryptBlockRaw(D._prev);return p(D._prev),C}ee.encrypt=function(D,C){var _=Math.ceil(C.length/16),T=D._cache.length;D._cache=S.concat([D._cache,S.allocUnsafe(16*_)]);for(var w=0;w<_;w++){var g=O(D),F=T+16*w;D._cache.writeUInt32BE(g[0],F+0),D._cache.writeUInt32BE(g[1],F+4),D._cache.writeUInt32BE(g[2],F+8),D._cache.writeUInt32BE(g[3],F+12)}var A=D._cache.slice(0,C.length);return D._cache=D._cache.slice(C.length),a(C,A)}},7513:(be,ee)=>{ee.encrypt=function(E,a){return E._cipher.encryptBlock(a)},ee.decrypt=function(E,a){return E._cipher.decryptBlock(a)}},503:(be,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];be.exports=S},6854:(be,ee,E)=>{var a=E(3546);function S(p){return p._prev=p._cipher.encryptBlock(p._prev),p._prev}ee.encrypt=function(p,O){for(;p._cache.length{var a=E(2375),S=E(7054).Buffer,p=E(3247);function c(D,C,_,T){p.call(this),this._cipher=new a.AES(C),this._prev=S.from(_),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()},be.exports=c},8862:(be,ee,E)=>{var a=E(9799),S=E(3388),p=E(503),O=E(9571),c=E(8211);function _(g,F,A){if(g=g.toLowerCase(),p[g])return S.createCipheriv(g,F,A);if(O[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(O[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(!O[g])throw new TypeError("invalid suite type");A=8*O[g].key,B=O[g].iv}var P=c(F,!1,A,B);return _(g,P.key,P.iv)},ee.createCipheriv=ee.Cipheriv=_,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(!O[g])throw new TypeError("invalid suite type");A=8*O[g].key,B=O[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 w(){return Object.keys(O).concat(S.getCiphers())}},9799:(be,ee,E)=>{var a=E(3247),S=E(1549),p=E(1993),O=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;O.isBuffer(g)||(g=O.from(g)),("des-ede"===_||"des-ede-cbc"===_)&&(g=O.concat([g,g.slice(0,8)]));var F=C.iv;O.isBuffer(F)||(F=O.from(F)),this._des=T.create({key:g,iv:F,type:w})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],be.exports=D,p(D,a),D.prototype._update=function(C){return O.from(this._des.update(C))},D.prototype._final=function(){return O.from(this._des.final())}},9571:(be,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:(be,ee,E)=>{var a=E(917),S=E(3342);function O(D){var _,C=D.modulus.byteLength();do{_=new a(S(C))}while(_.cmp(D.modulus)>=0||!_.umod(D.prime1)||!_.umod(D.prime2));return _}function c(D,C){var _=function p(D){var C=O(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(),w=new a(D).mul(_.blinder).umod(C.modulus),g=w.toRed(a.mont(C.prime1)),F=w.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(_.unblinder).umod(C.modulus).toArrayLike(Buffer,"be",T)}c.getr=O,be.exports=c},9560:(be,ee,E)=>{"use strict";be.exports=E(2951)},9143:(be,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7211),p=E(5942),O=E(1993),c=E(3150),D=E(4754),C=E(2951);function _(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 w(F){return new _(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]}),O(_,p.Writable),_.prototype._write=function(A,B,P){this._hash.update(A),P()},_.prototype.update=function(A,B){return this._hash.update("string"==typeof A?a.from(A,B):A),this},_.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):$},O(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)},be.exports={Sign:w,Verify:g,createSign:w,createVerify:g}},3150:(be,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(6432),p=E(4105),O=E(518).ec,c=E(917),D=E(5667),C=E(4589);function A(M,R,U,j){if((M=a.from(M.toArray())).length0&&U.ishrn(j),U}function $(M,R,U){var j,K;do{for(j=a.alloc(0);8*j.length{"use strict";var a=E(7054).Buffer,S=E(917),p=E(518).ec,O=E(5667),c=E(4589);function T(w,g){if(w.cmpn(0)<=0)throw new Error("invalid sig");if(w.cmp(g)>=0)throw new Error("invalid sig")}be.exports=function D(w,g,F,A,B){var P=O(F);if("ec"===P.type){if("ecdsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");return function C(w,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,w,F.data.subjectPrivateKey.data)}(w,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=O.signature.decode(w,"der"),M=k.s,R=k.r;T(M,B),T(R,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(R.mul(j).mod(B)).fromRed()).mod(A).mod(B).cmp(R)}(w,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 R=-1;++R{be.exports=function(E,a){for(var S=Math.min(E.length,a.length),p=new Buffer(S),O=0;O{"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(ie){return+ie!=ie&&(ie=0),C.alloc(+ie)},ee.INSPECT_MAX_BYTES=50;var O=2147483647;function D(ie){if(ie>O)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ne=new Uint8Array(ie);return Object.setPrototypeOf(ne,C.prototype),ne}function C(ie,ne,G){if("number"==typeof ie){if("string"==typeof ne)throw new TypeError('The "string" argument must be of type string. Received type number');return g(ie)}return _(ie,ne,G)}function _(ie,ne,G){if("string"==typeof ie)return function F(ie,ne){if(("string"!=typeof ne||""===ne)&&(ne="utf8"),!C.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);var G=0|R(ie,ne),Ee=D(G),vt=Ee.write(ie,ne);return vt!==G&&(Ee=Ee.slice(0,vt)),Ee}(ie,ne);if(ArrayBuffer.isView(ie))return function B(ie){if(pe(ie,Uint8Array)){var ne=new Uint8Array(ie);return P(ne.buffer,ne.byteOffset,ne.byteLength)}return A(ie)}(ie);if(null==ie)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(pe(ie,ArrayBuffer)||ie&&pe(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(ie,SharedArrayBuffer)||ie&&pe(ie.buffer,SharedArrayBuffer)))return P(ie,ne,G);if("number"==typeof ie)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ee=ie.valueOf&&ie.valueOf();if(null!=Ee&&Ee!==ie)return C.from(Ee,ne,G);var vt=function $(ie){if(C.isBuffer(ie)){var ne=0|k(ie.length),G=D(ne);return 0===G.length||ie.copy(G,0,0,ne),G}return void 0!==ie.length?"number"!=typeof ie.length||Ie(ie.length)?D(0):A(ie):"Buffer"===ie.type&&Array.isArray(ie.data)?A(ie.data):void 0}(ie);if(vt)return vt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof ie[Symbol.toPrimitive])return C.from(ie[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 ie)}function T(ie){if("number"!=typeof ie)throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function g(ie){return T(ie),D(ie<0?0:0|k(ie))}function A(ie){for(var ne=ie.length<0?0:0|k(ie.length),G=D(ne),Ee=0;Ee=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return 0|ie}function R(ie,ne){if(C.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||pe(ie,ArrayBuffer))return ie.byteLength;if("string"!=typeof ie)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var G=ie.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 Me(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*G;case"hex":return G>>>1;case"base64":return tt(ie).length;default:if(vt)return Ee?-1:Me(ie).length;ne=(""+ne).toLowerCase(),vt=!0}}function U(ie,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(ie||(ie="utf8");;)switch(ie){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: "+ie);ie=(ie+"").toLowerCase(),Ee=!0}}function j(ie,ne,G){var Ee=ie[ne];ie[ne]=ie[G],ie[G]=Ee}function K(ie,ne,G,Ee,vt){if(0===ie.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:ie.length-1),G<0&&(G=ie.length+G),G>=ie.length){if(vt)return-1;G=ie.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:oe(ie,ne,G,Ee,vt);if("number"==typeof ne)return ne&=255,"function"==typeof Uint8Array.prototype.indexOf?vt?Uint8Array.prototype.indexOf.call(ie,ne,G):Uint8Array.prototype.lastIndexOf.call(ie,ne,G):oe(ie,[ne],G,Ee,vt);throw new TypeError("val must be string, number or Buffer")}function oe(ie,ne,G,Ee,vt){var ft,Qe=1,rt=ie.length,nn=ne.length;if(void 0!==Ee&&("ucs2"===(Ee=String(Ee).toLowerCase())||"ucs-2"===Ee||"utf16le"===Ee||"utf-16le"===Ee)){if(ie.length<2||ne.length<2)return-1;Qe=2,rt/=2,nn/=2,G/=2}function gt(En,St){return 1===Qe?En[St]:En.readUInt16BE(St*Qe)}if(vt){var on=-1;for(ft=G;ftrt&&(G=rt-nn),ft=G;ft>=0;ft--){for(var wt=!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,ie.length-G),ie,G,Ee)}function o(ie,ne,G){return a.fromByteArray(0===ne&&G===ie.length?ie:ie.slice(ne,G))}function u(ie,ne,G){G=Math.min(ie.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=ie[vt+1]))&&(wt=(31&Qe)<<6|63>)>127&&(rt=wt);break;case 3:ft=ie[vt+2],128==(192&(gt=ie[vt+1]))&&128==(192&ft)&&(wt=(15&Qe)<<12|(63>)<<6|63&ft)>2047&&(wt<55296||wt>57343)&&(rt=wt);break;case 4:ft=ie[vt+2],on=ie[vt+3],128==(192&(gt=ie[vt+1]))&&128==(192&ft)&&128==(192&on)&&(wt=(15&Qe)<<18|(63>)<<12|(63&ft)<<6|63&on)>65535&&wt<1114112&&(rt=wt)}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(ie){var ne=ie.length;if(ne<=s)return String.fromCharCode.apply(String,ie);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=R,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),ft=this.slice(vt,Qe),on=ne.slice(G,Ee),wt=0;wt>>=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 ve(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(ie,ne,G){var Ee="";G=Math.min(ie.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(ie,ne,G,Ee,vt,Qe){if(!C.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ne>vt||neie.length)throw new RangeError("Index out of range")}function I(ie,ne,G,Ee,vt,Qe){if(G+Ee>ie.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function V(ie,ne,G,Ee,vt){return ne=+ne,G>>>=0,vt||I(ie,0,G,4),S.write(ie,ne,G,Ee,23,4),G+4}function J(ie,ne,G,Ee,vt){return ne=+ne,G>>>=0,vt||I(ie,0,G,8),S.write(ie,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 J(this,ne,G,!0,Ee)},C.prototype.writeDoubleBE=function(ne,G,Ee){return J(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(ie){return a.toByteArray(function me(ie){if((ie=(ie=ie.split("=")[0]).trim().replace(re,"")).length<2)return"";for(;ie.length%4!=0;)ie+="=";return ie}(ie))}function Re(ie,ne,G,Ee){for(var vt=0;vt=ne.length||vt>=ie.length);++vt)ne[vt+G]=ie[vt];return vt}function pe(ie,ne){return ie instanceof ne||null!=ie&&null!=ie.constructor&&null!=ie.constructor.name&&ie.constructor.name===ne.name}function Ie(ie){return ie!=ie}var Se=function(){for(var ie="0123456789abcdef",ne=new Array(256),G=0;G<16;++G)for(var Ee=16*G,vt=0;vt<16;++vt)ne[Ee+vt]=ie[G]+ie[vt];return ne}()},5293:(be,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:(be,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,_){"string"==typeof D&&(D=a.from(D,C));var T=this._update(D);return this.hashMode?this:(_&&(T=this._toString(T,_)),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,_){var T;try{this.hashMode?this._update(D):this.push(this._update(D))}catch(w){T=w}finally{_(T)}},c.prototype._flush=function(D){var C;try{this.push(this.__final())}catch(_){C=_}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,_){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 _&&(T+=this._decoder.end()),T},be.exports=c},7637:(be,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 O($){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 _($){return void 0===$},ee.isRegExp=function T($){return"[object RegExp]"===P($)},ee.isObject=function w($){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:(be,ee,E)=>{var a=E(518),S=E(9606);be.exports=function(C){return new O(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 O(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,_){Array.isArray(D)||(D=D.toArray());var T=new Buffer(D);if(_&&T.length<_){var w=new Buffer(_-T.length);w.fill(0),T=Buffer.concat([w,T])}return C?T.toString(C):T}p.p224=p.secp224r1,p.p256=p.secp256r1=p.prime256v1,p.p192=p.secp192r1=p.prime192v1,p.p384=p.secp384r1,p.p521=p.secp521r1,O.prototype.generateKeys=function(D,C){return this.keys=this.curve.genKeyPair(),this.getPublicKey(D,C)},O.prototype.computeSecret=function(D,C,_){return C=C||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,C)),c(this.curve.keyFromPublic(D).getPublic().mul(this.keys.getPrivate()).getX(),_,this.curveType.byteLength)},O.prototype.getPublicKey=function(D,C){var _=this.keys.getPublic("compressed"===C,!0);return"hybrid"===C&&(_[0]=_[_.length-1]%2?7:6),c(_,D)},O.prototype.getPrivateKey=function(D){return c(this.keys.getPrivate(),D)},O.prototype.setPublicKey=function(D,C){return C=C||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,C)),this.keys._importPublic(D),this},O.prototype.setPrivateKey=function(D,C){C=C||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,C));var _=new S(D);return _=_.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(_),this}},9606:function(be,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function O(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(7965).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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},7211:(be,ee,E)=>{"use strict";var a=E(1993),S=E(4725),p=E(6636),O=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()},be.exports=function(_){return"md5"===(_=_.toLowerCase())?new S:"rmd160"===_||"ripemd160"===_?new p:new D(O(_))}},3407:(be,ee,E)=>{var a=E(4725);be.exports=function(S){return(new a).update(S).digest()}},6432:(be,ee,E)=>{"use strict";var a=E(1993),S=E(509),p=E(3247),O=E(7054).Buffer,c=E(3407),D=E(6636),C=E(5443),_=O.alloc(128);function T(w,g){p.call(this,"digest"),"string"==typeof g&&(g=O.from(g));var F="sha512"===w||"sha384"===w?128:64;this._alg=w,this._key=g,g.length>F?g=("rmd160"===w?new D:C(w)).update(g).digest():g.length{"use strict";var a=E(1993),S=E(7054).Buffer,p=E(3247),O=S.alloc(128),c=64;function D(C,_){p.call(this,"digest"),"string"==typeof _&&(_=S.from(_)),this._alg=C,this._key=_,_.length>c?_=C(_):_.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 O=E(3397);ee.pbkdf2=O.pbkdf2,ee.pbkdf2Sync=O.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 _=E(2965);ee.publicEncrypt=_.publicEncrypt,ee.privateEncrypt=_.privateEncrypt,ee.publicDecrypt=_.publicDecrypt,ee.privateDecrypt=_.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(be,ee,E){var a;be.exports=(a=a||function(S,p){var O;if(typeof window<"u"&&window.crypto&&(O=window.crypto),typeof self<"u"&&self.crypto&&(O=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(O=globalThis.crypto),!O&&typeof window<"u"&&window.msCrypto&&(O=window.msCrypto),!O&&typeof global<"u"&&global.crypto&&(O=global.crypto),!O)try{O=E(1426)}catch{}var c=function(){if(O){if("function"==typeof O.getRandomValues)try{return O.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof O.randomBytes)try{return O.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(R){var U;return M.prototype=R,U=new M,M.prototype=null,U}}(),C={},_=C.lib={},T=_.Base=function(){return{extend:function(M){var R=D(this);return M&&R.mixIn(M),(!R.hasOwnProperty("init")||this.init===R.init)&&(R.init=function(){R.$super.init.apply(this,arguments)}),R.init.prototype=R,R.$super=this,R},create:function(){var M=this.extend();return M.init.apply(M,arguments),M},init:function(){},mixIn:function(M){for(var R in M)M.hasOwnProperty(R)&&(this[R]=M[R]);M.hasOwnProperty("toString")&&(this.toString=M.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),w=_.WordArray=T.extend({init:function(M,R){M=this.words=M||[],this.sigBytes=null!=R?R:4*M.length},toString:function(M){return(M||F).stringify(this)},concat:function(M){var R=this.words,U=M.words,j=this.sigBytes,K=M.sigBytes;if(this.clamp(),j%4)for(var oe=0;oe>>2]|=(U[oe>>>2]>>>24-oe%4*8&255)<<24-(j+oe)%4*8;else for(var te=0;te>>2]=U[te>>>2];return this.sigBytes+=K,this},clamp:function(){var M=this.words,R=this.sigBytes;M[R>>>2]&=4294967295<<32-R%4*8,M.length=S.ceil(R/4)},clone:function(){var M=T.clone.call(this);return M.words=this.words.slice(0),M},random:function(M){for(var R=[],U=0;U>>2]>>>24-K%4*8&255;j.push((oe>>>4).toString(16)),j.push((15&oe).toString(16))}return j.join("")},parse:function(M){for(var R=M.length,U=[],j=0;j>>3]|=parseInt(M.substr(j,2),16)<<24-j%8*4;return new w.init(U,R/2)}},A=g.Latin1={stringify:function(M){for(var R=M.words,U=M.sigBytes,j=[],K=0;K>>2]>>>24-K%4*8&255));return j.join("")},parse:function(M){for(var R=M.length,U=[],j=0;j>>2]|=(255&M.charCodeAt(j))<<24-j%4*8;return new w.init(U,R)}},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=_.BufferedBlockAlgorithm=T.extend({reset:function(){this._data=new w.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 R,U=this._data,j=U.words,K=U.sigBytes,oe=this.blockSize,te=K/(4*oe),se=(te=M?S.ceil(te):S.max((0|te)-this._minBufferSize,0))*oe,m=S.min(4*se,K);if(se){for(var n=0;n>>24)|4278255360&(M<<24|M>>>8)}var R=this._hash.words,U=B[P+0],j=B[P+1],K=B[P+2],oe=B[P+3],ve=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=R[0],d=R[1],L=R[2],I=R[3];r=w(r,d,L,I,U,7,_[0]),I=w(I,r,d,L,j,12,_[1]),L=w(L,I,r,d,K,17,_[2]),d=w(d,L,I,r,oe,22,_[3]),r=w(r,d,L,I,ve,7,_[4]),I=w(I,r,d,L,te,12,_[5]),L=w(L,I,r,d,se,17,_[6]),d=w(d,L,I,r,m,22,_[7]),r=w(r,d,L,I,n,7,_[8]),I=w(I,r,d,L,o,12,_[9]),L=w(L,I,r,d,u,17,_[10]),d=w(d,L,I,r,s,22,_[11]),r=w(r,d,L,I,h,7,_[12]),I=w(I,r,d,L,v,12,_[13]),L=w(L,I,r,d,y,17,_[14]),r=g(r,d=w(d,L,I,r,f,22,_[15]),L,I,j,5,_[16]),I=g(I,r,d,L,se,9,_[17]),L=g(L,I,r,d,s,14,_[18]),d=g(d,L,I,r,U,20,_[19]),r=g(r,d,L,I,te,5,_[20]),I=g(I,r,d,L,u,9,_[21]),L=g(L,I,r,d,f,14,_[22]),d=g(d,L,I,r,ve,20,_[23]),r=g(r,d,L,I,o,5,_[24]),I=g(I,r,d,L,y,9,_[25]),L=g(L,I,r,d,oe,14,_[26]),d=g(d,L,I,r,n,20,_[27]),r=g(r,d,L,I,v,5,_[28]),I=g(I,r,d,L,K,9,_[29]),L=g(L,I,r,d,m,14,_[30]),r=F(r,d=g(d,L,I,r,h,20,_[31]),L,I,te,4,_[32]),I=F(I,r,d,L,n,11,_[33]),L=F(L,I,r,d,s,16,_[34]),d=F(d,L,I,r,y,23,_[35]),r=F(r,d,L,I,j,4,_[36]),I=F(I,r,d,L,ve,11,_[37]),L=F(L,I,r,d,m,16,_[38]),d=F(d,L,I,r,u,23,_[39]),r=F(r,d,L,I,v,4,_[40]),I=F(I,r,d,L,U,11,_[41]),L=F(L,I,r,d,oe,16,_[42]),d=F(d,L,I,r,se,23,_[43]),r=F(r,d,L,I,o,4,_[44]),I=F(I,r,d,L,h,11,_[45]),L=F(L,I,r,d,f,16,_[46]),r=A(r,d=F(d,L,I,r,K,23,_[47]),L,I,U,6,_[48]),I=A(I,r,d,L,m,10,_[49]),L=A(L,I,r,d,y,15,_[50]),d=A(d,L,I,r,te,21,_[51]),r=A(r,d,L,I,h,6,_[52]),I=A(I,r,d,L,oe,10,_[53]),L=A(L,I,r,d,u,15,_[54]),d=A(d,L,I,r,j,21,_[55]),r=A(r,d,L,I,n,6,_[56]),I=A(I,r,d,L,f,10,_[57]),L=A(L,I,r,d,se,15,_[58]),d=A(d,L,I,r,v,21,_[59]),r=A(r,d,L,I,ve,6,_[60]),I=A(I,r,d,L,s,10,_[61]),L=A(L,I,r,d,K,15,_[62]),d=A(d,L,I,r,o,21,_[63]),R[0]=R[0]+r|0,R[1]=R[1]+d|0,R[2]=R[2]+L|0,R[3]=R[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),R=$;P[15+(k+64>>>9<<4)]=16711935&(M<<8|M>>>24)|4278255360&(M<<24|M>>>8),P[14+(k+64>>>9<<4)]=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8),B.sigBytes=4*(P.length+1),this._process();for(var U=this._hash,j=U.words,K=0;K<4;K++){var oe=j[K];j[K]=16711935&(oe<<8|oe>>>24)|4278255360&(oe<<24|oe>>>8)}return U},clone:function(){var B=D.clone.call(this);return B._hash=this._hash.clone(),B}});function w(B,P,$,k,M,R,U){var j=B+(P&$|~P&k)+M+U;return(j<>>32-R)+P}function g(B,P,$,k,M,R,U){var j=B+(P&k|$&~k)+M+U;return(j<>>32-R)+P}function F(B,P,$,k,M,R,U){var j=B+(P^$^k)+M+U;return(j<>>32-R)+P}function A(B,P,$,k,M,R,U){var j=B+($^(P|~k))+M+U;return(j<>>32-R)+P}p.MD5=D._createHelper(T),p.HmacMD5=D._createHmacHelper(T)}(Math),a.MD5)},9986:function(be,ee,E){var S,p,O,c,C,_,a;be.exports=(a=E(7656),O=(p=(S=a).lib).WordArray,C=[],_=S.algo.SHA1=(c=p.Hasher).extend({_doReset:function(){this._hash=new O.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,w){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[w+k];else{var M=C[k-3]^C[k-8]^C[k-14]^C[k-16];C[k]=M<<1|M>>>31}var R=(F<<5|F>>>27)+$+C[k];R+=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=R}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,w=T.words,g=8*this._nDataBytes,F=8*T.sigBytes;return w[F>>>5]|=128<<24-F%32,w[14+(F+64>>>9<<4)]=Math.floor(g/4294967296),w[15+(F+64>>>9<<4)]=g,T.sigBytes=4*w.length,this._process(),this._hash},clone:function(){var T=c.clone.call(this);return T._hash=this._hash.clone(),T}}),S.SHA1=c._createHelper(_),S.HmacSHA1=c._createHmacHelper(_),a.SHA1)},7374:function(be){be.exports=function(){"use strict";var E=6e4,a=36e5,S="millisecond",p="second",O="minute",c="hour",D="day",C="week",_="month",T="quarter",w="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;R[y]=n,s=y}return!u&&s&&(M=s),s||!u&&M},oe=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)},ve=k;ve.l=K,ve.i=j,ve.w=function(m,n){return oe(m,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var te=function(){function m(o){this.$L=K(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(ve.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 ve},n.isValid=function(){return this.$d.toString()!==F},n.isSame=function(o,u){var s=oe(o);return this.startOf(u)<=s&&s<=this.endOf(u)},n.isAfter=function(o,u){return oe(o){"use strict";ee.utils=E(5671),ee.Cipher=E(219),ee.DES=E(4166),ee.CBC=E(8800),ee.EDE=E(2122)},8800:(be,ee,E)=>{"use strict";var a=E(9210),S=E(1993),p={};function O(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}be.exports=S,S.prototype._init=function(){},S.prototype.update=function(O){return 0===O.length?[]:"decrypt"===this.type?this._updateDecrypt(O):this._updateEncrypt(O)},S.prototype._buffer=function(O,c){for(var D=Math.min(this.buffer.length-this.bufferOff,O.length-c),C=0;C0;C--)c+=this._buffer(O,c),D+=this._flushBuffer(_,D);return c+=this._buffer(O,c),_},S.prototype.final=function(O){var c,D;return O&&(c=this.update(O)),D="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),c?c.concat(D):D},S.prototype._pad=function(O,c){if(0===c)return!1;for(;c{"use strict";var a=E(9210),S=E(1993),p=E(5671),O=E(219);function c(){this.tmp=new Array(2),this.keys=null}function D(_){O.call(this,_);var T=new c;this._desState=T,this.deriveKeys(T,_.key)}S(D,O),be.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,w){T.keys=new Array(32),a.equal(w.length,this.blockSize,"Invalid key length");var g=p.readUInt32BE(w,0),F=p.readUInt32BE(w,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,w,g,F){var A=this._desState,B=p.readUInt32BE(T,w),P=p.readUInt32BE(T,w+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,w){if(!1===this.padding)return!1;for(var g=T.length-w,F=w;F>>0,B=j}p.rip(P,B,F,A)},D.prototype._decrypt=function(T,w,g,F,A){for(var B=g,P=w,$=T.keys.length-2;$>=0;$-=2){var k=T.keys[$],M=T.keys[$+1];p.expand(B,T.tmp,0);var R=p.substitute(k^=T.tmp[0],M^=T.tmp[1]),j=B;B=(P^p.permute(R))>>>0,P=j}p.rip(B,P,F,A)}},2122:(be,ee,E)=>{"use strict";var a=E(9210),S=E(1993),p=E(219),O=E(4166);function c(C,_){a.equal(_.length,24,"Invalid key length");var T=_.slice(0,8),w=_.slice(8,16),g=_.slice(16,24);this.ciphers="encrypt"===C?[O.create({type:"encrypt",key:T}),O.create({type:"decrypt",key:w}),O.create({type:"encrypt",key:g})]:[O.create({type:"decrypt",key:g}),O.create({type:"encrypt",key:w}),O.create({type:"decrypt",key:T})]}function D(C){p.call(this,C);var _=new c(this.type,this.options.key);this._edeState=_}S(D,p),be.exports=D,D.create=function(_){return new D(_)},D.prototype._update=function(_,T,w,g){var F=this._edeState;F.ciphers[0]._update(_,T,w,g),F.ciphers[1]._update(w,g,w,g),F.ciphers[2]._update(w,g,w,g)},D.prototype._pad=O.prototype._pad,D.prototype._unpad=O.prototype._unpad},5671:(be,ee)=>{"use strict";ee.readUInt32BE=function(O,c){return(O[0+c]<<24|O[1+c]<<16|O[2+c]<<8|O[3+c])>>>0},ee.writeUInt32BE=function(O,c,D){O[0+D]=c>>>24,O[1+D]=c>>>16&255,O[2+D]=c>>>8&255,O[3+D]=255&c},ee.ip=function(O,c,D,C){for(var _=0,T=0,w=6;w>=0;w-=2){for(var g=0;g<=24;g+=8)_<<=1,_|=c>>>g+w&1;for(g=0;g<=24;g+=8)_<<=1,_|=O>>>g+w&1}for(w=6;w>=0;w-=2){for(g=1;g<=25;g+=8)T<<=1,T|=c>>>g+w&1;for(g=1;g<=25;g+=8)T<<=1,T|=O>>>g+w&1}D[C+0]=_>>>0,D[C+1]=T>>>0},ee.rip=function(O,c,D,C){for(var _=0,T=0,w=0;w<4;w++)for(var g=24;g>=0;g-=8)_<<=1,_|=c>>>g+w&1,_<<=1,_|=O>>>g+w&1;for(w=4;w<8;w++)for(g=24;g>=0;g-=8)T<<=1,T|=c>>>g+w&1,T<<=1,T|=O>>>g+w&1;D[C+0]=_>>>0,D[C+1]=T>>>0},ee.pc1=function(O,c,D,C){for(var _=0,T=0,w=7;w>=5;w--){for(var g=0;g<=24;g+=8)_<<=1,_|=c>>g+w&1;for(g=0;g<=24;g+=8)_<<=1,_|=O>>g+w&1}for(g=0;g<=24;g+=8)_<<=1,_|=c>>g+w&1;for(w=1;w<=3;w++){for(g=0;g<=24;g+=8)T<<=1,T|=c>>g+w&1;for(g=0;g<=24;g+=8)T<<=1,T|=O>>g+w&1}for(g=0;g<=24;g+=8)T<<=1,T|=O>>g+w&1;D[C+0]=_>>>0,D[C+1]=T>>>0},ee.r28shl=function(O,c){return O<>>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(O,c,D,C){for(var _=0,T=0,w=E.length>>>1,g=0;g>>E[g]&1;for(g=w;g>>E[g]&1;D[C+0]=_>>>0,D[C+1]=T>>>0},ee.expand=function(O,c,D){var C=0,_=0;C=(1&O)<<5|O>>>27;for(var T=23;T>=15;T-=4)C<<=6,C|=O>>>T&63;for(T=11;T>=3;T-=4)_|=O>>>T&63,_<<=6;_|=(31&O)<<1|O>>>31,c[D+0]=C>>>0,c[D+1]=_>>>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(O,c){for(var D=0,C=0;C<4;C++)D<<=4,D|=a[64*C+(O>>>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(O){for(var c=0,D=0;D>>S[D]&1;return c>>>0},ee.padSplit=function(O,c,D){for(var C=O.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 O(C){var _=new Buffer(S[C].prime,"hex"),T=new Buffer(S[C].gen,"hex");return new p(_,T)},ee.createDiffieHellman=ee.DiffieHellman=function D(C,_,T,w){return Buffer.isBuffer(_)||void 0===c[_]?D(C,"binary",_,T):(_=_||"binary",w=w||"binary",T=T||new Buffer([2]),Buffer.isBuffer(T)||(T=new Buffer(T,w)),"number"==typeof C?new p(a(C,T),T,!0):(Buffer.isBuffer(C)||(C=new Buffer(C,_)),new p(C,T,!0)))}},4593:(be,ee,E)=>{var a=E(8280),p=new(E(3459)),O=new a(24),c=new a(11),D=new a(10),C=new a(3),_=new a(7),T=E(2727),w=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}be.exports=P;var A={};function P(k,M,R){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,R?(this.setPublicKey=g,this.setPrivateKey=F):this._primeCode=8}function $(k,M){var R=new Buffer(k.toArray());return M?R.toString(M):R}Object.defineProperty(P.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function B(k,M){var R=M.toString("hex"),U=[R,k.toString(16)].join("_");if(U in A)return A[U];var K,j=0;if(k.isEven()||!T.simpleSieve||!T.fermatTest(k)||!p.test(k))return j+=1,A[U]=j+="02"===R||"05"===R?8:4,j;switch(p.test(k.shrn(1))||(j+=2),R){case"02":k.mod(O).cmp(c)&&(j+=8);break;case"05":(K=k.mod(D)).cmp(C)&&K.cmp(_)&&(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(w(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(),R=new Buffer(M.toArray()),U=this.getPrime();if(R.length{var a=E(3342);be.exports=j,j.simpleSieve=R,j.fermatTest=U;var S=E(8280),p=new S(24),c=new(E(3459)),D=new S(1),C=new S(2),_=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 R(K){for(var oe=function M(){if(null!==k)return k;var oe=[];oe[0]=2;for(var ve=1,te=3;te<1048576;te+=2){for(var se=Math.ceil(Math.sqrt(te)),m=0;mK;)ve.ishrn(1);if(ve.isEven()&&ve.iadd(D),ve.testn(1)||ve.iadd(C),oe.cmp(C)){if(!oe.cmp(_))for(;ve.mod(g).cmp(F);)ve.iadd(P)}else for(;ve.mod(p).cmp(B);)ve.iadd(P);if(R(te=ve.shrn(1))&&R(ve)&&U(te)&&U(ve)&&c.test(te)&&c.test(ve))return ve}}},8280:function(be,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function O(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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},518:(be,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:(be,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.getNAF,O=S.getJSF,c=S.assert;function D(_,T){this.type=_,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 w=this.n&&this.p.div(this.n);!w||w.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function C(_,T){this.curve=_,this.type=T,this.precomputed=null}be.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,w){c(T.precomputed);var g=T._getDoubles(),F=p(w,1,this._bitLength),A=(1<=P;k--)$=($<<1)+F[k];B.push($)}for(var M=this.jpoint(null,null,null),R=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,w,g,F,A){var M,R,U,B=this._wnafT1,P=this._wnafT2,$=this._wnafT3,k=0;for(M=0;M=1;M-=2){var K=M-1,oe=M;if(1===B[K]&&1===B[oe]){var ve=[w[K],null,null,w[oe]];0===w[K].y.cmp(w[oe].y)?(ve[1]=w[K].add(w[oe]),ve[2]=w[K].toJ().mixedAdd(w[oe].neg())):0===w[K].y.cmp(w[oe].y.redNeg())?(ve[1]=w[K].toJ().mixedAdd(w[oe]),ve[2]=w[K].add(w[oe].neg())):(ve[1]=w[K].toJ().mixedAdd(w[oe]),ve[2]=w[K].toJ().mixedAdd(w[oe].neg()));var te=[-3,-1,-5,-7,0,7,5,1,3],se=O(g[K],g[oe]);for(k=Math.max(se[0].length,k),$[K]=new Array(k),$[oe]=new Array(k),R=0;R=0;M--){for(var s=0;M>=0;){var h=!0;for(R=0;R=0&&s++,o=o.dblp(s),M<0)break;for(R=0;R0?U=P[R][v-1>>1]:v<0&&(U=P[R][-v-1>>1].neg()),o="affine"===U.type?o.mixedAdd(U):o.add(U))}}for(M=0;M=Math.ceil((T.bitLength()+1)/w.step)},C.prototype._getDoubles=function(T,w){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var g=[this],F=this,A=0;A{"use strict";var a=E(3136),S=E(8723),p=E(1993),O=E(8828),c=a.assert;function D(_){this.twisted=1!=(0|_.a),this.mOneA=this.twisted&&-1==(0|_.a),this.extended=this.mOneA,O.call(this,"edwards",_),this.a=new S(_.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new S(_.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new S(_.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|_.c)}function C(_,T,w,g,F){O.BasePoint.call(this,_,"projective"),null===T&&null===w&&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(w,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,O),be.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,w,g,F){return this.point(T,w,g,F)},D.prototype.pointFromX=function(T,w){(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(w&&!$||!w&&$)&&(P=P.redNeg()),this.point(T,P)},D.prototype.pointFromY=function(T,w){(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(w)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()!==w&&(P=P.redNeg()),this.point(P,T)},D.prototype.validate=function(T){if(T.isInfinity())return!0;T.normalize();var w=T.x.redSqr(),g=T.y.redSqr(),F=w.redMul(this.a).redAdd(g),A=this.c2.redMul(this.one.redAdd(this.d.redMul(w).redMul(g)));return 0===F.cmp(A)},p(C,O.BasePoint),D.prototype.pointFromJSON=function(T){return C.fromJSON(this,T)},D.prototype.point=function(T,w,g,F){return new C(this,T,w,g,F)},C.fromJSON=function(T,w){return new C(T,w[0],w[1],w[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(),w=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(w),B=F.redAdd(w),P=B.redSub(g),$=F.redSub(w),k=A.redMul(P),M=B.redMul($),R=A.redMul($),U=P.redMul(B);return this.curve.point(k,M,U,R)},C.prototype._projDbl=function(){var F,A,B,P,$,k,T=this.x.redAdd(this.y).redSqr(),w=this.x.redSqr(),g=this.y.redSqr();if(this.curve.twisted){var M=(P=this.curve._mulA(w)).redAdd(g);this.zOne?(F=T.redSub(w).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(w).redISub(g).redMul(k),A=M.redMul(P.redSub(g)),B=M.redMul(k))}else P=w.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(w.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 w=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(w),P=A.redSub(F),$=A.redAdd(F),k=g.redAdd(w),M=B.redMul(P),R=$.redMul(k),U=B.redMul(k),j=P.redMul($);return this.curve.point(M,R,j,U)},C.prototype._projAdd=function(T){var R,U,w=this.z.redMul(T.z),g=w.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=w.redMul(P).redMul(k);return this.curve.twisted?(R=w.redMul($).redMul(A.redSub(this.curve._mulA(F))),U=P.redMul($)):(R=w.redMul($).redMul(A.redSub(F)),U=this.curve._mulC(P).redMul($)),this.curve.point(M,R,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,w,g){return this.curve._wnafMulAdd(1,[this,w],[T,g],2,!1)},C.prototype.jmulAdd=function(T,w,g){return this.curve._wnafMulAdd(1,[this,w],[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 w=T.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(w))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(w.redIAdd(F),0===this.x.cmp(w))return!0}},C.prototype.toP=C.prototype.normalize,C.prototype.mixedAdd=C.prototype.add},8729:(be,ee,E)=>{"use strict";var a=ee;a.base=E(8828),a.short=E(8075),a.mont=E(4947),a.edwards=E(5537)},4947:(be,ee,E)=>{"use strict";var a=E(8723),S=E(1993),p=E(8828),O=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,_,T){p.BasePoint.call(this,C,"projective"),null===_&&null===T?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a(_,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),be.exports=c,c.prototype.validate=function(_){var T=_.normalize().x,w=T.redSqr(),g=w.redMul(T).redAdd(w.redMul(this.a)).redAdd(T);return 0===g.redSqrt().redSqr().cmp(g)},S(D,p.BasePoint),c.prototype.decodePoint=function(_,T){return this.point(O.toArray(_,T),1)},c.prototype.point=function(_,T){return new D(this,_,T)},c.prototype.pointFromJSON=function(_){return D.fromJSON(this,_)},D.prototype.precompute=function(){},D.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},D.fromJSON=function(_,T){return new D(_,T[0],T[1]||_.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(_,T){var w=this.x.redAdd(this.z),g=this.x.redSub(this.z),F=_.x.redAdd(_.z),B=_.x.redSub(_.z).redMul(w),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(_){for(var T=_.clone(),w=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]?(w=w.diffAdd(g,this),g=g.dbl()):(g=w.diffAdd(g,this),w=w.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(_){return 0===this.getX().cmp(_.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:(be,ee,E)=>{"use strict";var a=E(3136),S=E(8723),p=E(1993),O=E(8828),c=a.assert;function D(T){O.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,w,g,F){O.BasePoint.call(this,T,"affine"),null===w&&null===g?(this.x=null,this.y=null,this.inf=!0):(this.x=new S(w,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 _(T,w,g,F){O.BasePoint.call(this,T,"jacobian"),null===w&&null===g&&null===F?(this.x=this.curve.one,this.y=this.curve.one,this.z=new S(0)):(this.x=new S(w,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,O),be.exports=D,D.prototype._getEndomorphism=function(w){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var g,F;if(w.beta)g=new S(w.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(w.lambda)F=new S(w.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:w.basis?w.basis.map(function($){return{a:new S($.a,16),b:new S($.b,16)}}):this._getEndoBasis(F)}}},D.prototype._getEndoRoots=function(w){var g=w===this.p?this.red:S.mont(w),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(w){for(var M,R,U,j,K,oe,ve,se,m,g=this.n.ushrn(Math.floor(this.n.bitLength()/2)),F=w,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=ve.neg(),R=B,U=se.neg(),j=m;else if(U&&2==++te)break;ve=se,A=F,F=se,$=B,B=m,k=P,P=o}K=se.neg(),oe=m;var u=U.sqr().add(j.sqr());return K.sqr().add(oe.sqr()).cmp(u)>=0&&(K=M,oe=R),U.negative&&(U=U.neg(),j=j.neg()),K.negative&&(K=K.neg(),oe=oe.neg()),[{a:U,b:j},{a:K,b:oe}]},D.prototype._endoSplit=function(w){var g=this.endo.basis,F=g[0],A=g[1],B=A.b.mul(w).divRound(this.n),P=F.b.neg().mul(w).divRound(this.n),$=B.mul(F.a),k=P.mul(A.a),M=B.mul(F.b),R=P.mul(A.b);return{k1:w.sub($).sub(k),k2:M.add(R).neg()}},D.prototype.pointFromX=function(w,g){(w=new S(w,16)).red||(w=w.toRed(this.red));var F=w.redSqr().redMul(w).redIAdd(w.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(w,A)},D.prototype.validate=function(w){if(w.inf)return!0;var g=w.x,F=w.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(w,g,F){for(var A=this._endoWnafT1,B=this._endoWnafT2,P=0;P":""},C.prototype.isInfinity=function(){return this.inf},C.prototype.add=function(w){if(this.inf)return w;if(w.inf)return this;if(this.eq(w))return this.dbl();if(this.neg().eq(w))return this.curve.point(null,null);if(0===this.x.cmp(w.x))return this.curve.point(null,null);var g=this.y.redSub(w.y);0!==g.cmpn(0)&&(g=g.redMul(this.x.redSub(w.x).redInvm()));var F=g.redSqr().redISub(this.x).redISub(w.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 w=this.y.redAdd(this.y);if(0===w.cmpn(0))return this.curve.point(null,null);var g=this.curve.a,F=this.x.redSqr(),A=w.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(w){return w=new S(w,16),this.isInfinity()?this:this._hasDoubles(w)?this.curve._fixedNafMul(this,w):this.curve.endo?this.curve._endoWnafMulAdd([this],[w]):this.curve._wnafMul(this,w)},C.prototype.mulAdd=function(w,g,F){var A=[this,g],B=[w,F];return this.curve.endo?this.curve._endoWnafMulAdd(A,B):this.curve._wnafMulAdd(1,A,B,2)},C.prototype.jmulAdd=function(w,g,F){var A=[this,g],B=[w,F];return this.curve.endo?this.curve._endoWnafMulAdd(A,B,!0):this.curve._wnafMulAdd(1,A,B,2,!0)},C.prototype.eq=function(w){return this===w||this.inf===w.inf&&(this.inf||0===this.x.cmp(w.x)&&0===this.y.cmp(w.y))},C.prototype.neg=function(w){if(this.inf)return this;var g=this.curve.point(this.x,this.y.redNeg());if(w&&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(_,O.BasePoint),D.prototype.jpoint=function(w,g,F){return new _(this,w,g,F)},_.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var w=this.z.redInvm(),g=w.redSqr(),F=this.x.redMul(g),A=this.y.redMul(g).redMul(w);return this.curve.point(F,A)},_.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},_.prototype.add=function(w){if(this.isInfinity())return w;if(w.isInfinity())return this;var g=w.z.redSqr(),F=this.z.redSqr(),A=this.x.redMul(g),B=w.x.redMul(F),P=this.y.redMul(g.redMul(w.z)),$=w.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 R=k.redSqr(),U=R.redMul(k),j=A.redMul(R),K=M.redSqr().redIAdd(U).redISub(j).redISub(j),oe=M.redMul(j.redISub(K)).redISub(P.redMul(U)),ve=this.z.redMul(w.z).redMul(k);return this.curve.jpoint(K,oe,ve)},_.prototype.mixedAdd=function(w){if(this.isInfinity())return w.toJ();if(w.isInfinity())return this;var g=this.z.redSqr(),F=this.x,A=w.x.redMul(g),B=this.y,P=w.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(),R=M.redMul($),U=F.redMul(M),j=k.redSqr().redIAdd(R).redISub(U).redISub(U),K=k.redMul(U.redISub(j)).redISub(B.redMul(R)),oe=this.z.redMul($);return this.curve.jpoint(j,K,oe)},_.prototype.dblp=function(w){if(0===w)return this;if(this.isInfinity())return this;if(!w)return this.dbl();var g;if(this.curve.zeroA||this.curve.threeA){var F=this;for(g=0;g=0)return!1;if(F.redIAdd(B),0===this.x.cmp(F))return!0}},_.prototype.inspect=function(){return this.isInfinity()?"":""},_.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(be,ee,E)=>{"use strict";var _,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,w){Object.defineProperty(a,T,{configurable:!0,enumerable:!0,get:function(){var g=new D(w);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{_=E(1416)}catch{_=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",_]})},9042:(be,ee,E)=>{"use strict";var a=E(8723),S=E(3556),p=E(3136),O=E(3401),c=E(5294),D=p.assert,C=E(541),_=E(484);function T(w){if(!(this instanceof T))return new T(w);"string"==typeof w&&(D(Object.prototype.hasOwnProperty.call(O,w),"Unknown curve "+w),w=O[w]),w instanceof O.PresetCurve&&(w={curve:w}),this.curve=w.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=w.curve.g,this.g.precompute(w.curve.n.bitLength()+1),this.hash=w.hash||w.curve.hash}be.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"}),R=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(R)>=0)){var K=this.g.mul(j);if(!K.isInfinity()){var oe=K.getX(),ve=oe.umod(this.n);if(0!==ve.cmpn(0)){var te=j.invm(this.n).mul(ve.mul(F.getPrivate()).iadd(g));if(0!==(te=te.umod(this.n)).cmpn(0)){var se=(K.getY().isOdd()?1:0)|(0!==oe.cmp(ve)?2:0);return B.canonical&&te.cmp(this.nh)>0&&(te=this.n.sub(te),se^=1),new _({r:ve,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 _(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),R=k.mul(P).umod(this.n);return this.curve._maxwellTrick?!(U=this.g.jmulAdd(M,A.getPublic(),R)).isInfinity()&&U.eqXToP(P):!(U=this.g.mulAdd(M,A.getPublic(),R)).isInfinity()&&0===U.getX().umod(this.n).cmp(P)},T.prototype.recoverPubKey=function(w,g,F,A){D((3&F)===F,"The recovery param is more than two bits"),g=new _(g,A);var B=this.n,P=new a(w),$=g.r,k=g.s,M=1&F,R=F>>1;if($.cmp(this.curve.p.umod(this.curve.n))>=0&&R)throw new Error("Unable to find sencond key candinate");$=this.curve.pointFromX(R?$.add(this.curve.n):$,M);var U=g.r.invm(B),j=B.sub(P).mul(U).umod(B),K=k.mul(U).umod(B);return this.g.mulAdd(j,$,K)},T.prototype.getKeyRecoveryParam=function(w,g,F,A){if(null!==(g=new _(g,A)).recoveryParam)return g.recoveryParam;for(var B=0;B<4;B++){var P;try{P=this.recoverPubKey(w,g,B)}catch{continue}if(P.eq(F))return B}throw new Error("Unable to find valid recovery factor")}},541:(be,ee,E)=>{"use strict";var a=E(8723),p=E(3136).assert;function O(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)}be.exports=O,O.fromPublic=function(D,C,_){return C instanceof O?C:new O(D,{pub:C,pubEnc:_})},O.fromPrivate=function(D,C,_){return C instanceof O?C:new O(D,{priv:C,privEnc:_})},O.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"}},O.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},O.prototype.getPrivate=function(D){return"hex"===D?this.priv.toString(16,2):this.priv},O.prototype._importPrivate=function(D,C){this.priv=new a(D,C||16),this.priv=this.priv.umod(this.ec.curve.n)},O.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)},O.prototype.derive=function(D){return D.validate()||p(D.validate(),"public point not validated"),D.mul(this.priv).getX()},O.prototype.sign=function(D,C,_){return this.ec.sign(D,this,C,_)},O.prototype.verify=function(D,C){return this.ec.verify(D,C,this)},O.prototype.inspect=function(){return""}},484:(be,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert;function O(T,w){if(T instanceof O)return T;this._importDER(T,w)||(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,w){var g=T[w.place++];if(!(128&g))return g;var F=15&g;if(0===F||F>4)return!1;for(var A=0,B=0,P=w.place;B>>=0;return!(A<=127)&&(w.place=P,A)}function C(T){for(var w=0,g=T.length-1;!T[w]&&!(128&T[w+1])&&w>>3);for(T.push(128|g);--g;)T.push(w>>>(g<<3)&255);T.push(w)}}be.exports=O,O.prototype._importDER=function(w,g){w=S.toArray(w,g);var F=new c;if(48!==w[F.place++])return!1;var A=D(w,F);if(!1===A||A+F.place!==w.length||2!==w[F.place++])return!1;var B=D(w,F);if(!1===B)return!1;var P=w.slice(F.place,B+F.place);if(F.place+=B,2!==w[F.place++])return!1;var $=D(w,F);if(!1===$||w.length!==$+F.place)return!1;var k=w.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},O.prototype.toDER=function(w){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];_(A,g.length),(A=A.concat(g)).push(2),_(A,F.length);var B=A.concat(F),P=[48];return _(P,B.length),P=P.concat(B),S.encode(P,w)}},3045:(be,ee,E)=>{"use strict";var a=E(2529),S=E(3401),p=E(3136),O=p.assert,c=p.parseBytes,D=E(7222),C=E(5451);function _(T){if(O("ed25519"===T,"only tested with ed25519 so far"),!(this instanceof _))return new _(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}be.exports=_,_.prototype.sign=function(w,g){w=c(w);var F=this.keyFromSecret(g),A=this.hashInt(F.messagePrefix(),w),B=this.g.mul(A),P=this.encodePoint(B),$=this.hashInt(P,F.pubBytes(),w).mul(F.priv()),k=A.add($).umod(this.curve.n);return this.makeSignature({R:B,S:k,Rencoded:P})},_.prototype.verify=function(w,g,F){w=c(w),g=this.makeSignature(g);var A=this.keyFromPublic(F),B=this.hashInt(g.Rencoded(),A.pubBytes(),w),P=this.g.mul(g.S());return g.R().add(A.pub().mul(B)).eq(P)},_.prototype.hashInt=function(){for(var w=this.hash(),g=0;g{"use strict";var a=E(3136),S=a.assert,p=a.parseBytes,O=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,_){return _ instanceof c?_:new c(C,{pub:_})},c.fromSecret=function(C,_){return _ instanceof c?_:new c(C,{secret:_})},c.prototype.secret=function(){return this._secret},O(c,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),O(c,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),O(c,"privBytes",function(){var C=this.eddsa,_=this.hash(),T=C.encodingLength-1,w=_.slice(0,C.encodingLength);return w[0]&=248,w[T]&=127,w[T]|=64,w}),O(c,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),O(c,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),O(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,_){return this.eddsa.verify(C,_,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)},be.exports=c},5451:(be,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert,O=S.cachedProperty,c=S.parseBytes;function D(C,_){this.eddsa=C,"object"!=typeof _&&(_=c(_)),Array.isArray(_)&&(_={R:_.slice(0,C.encodingLength),S:_.slice(C.encodingLength)}),p(_.R&&_.S,"Signature without R or S"),C.isPoint(_.R)&&(this._R=_.R),_.S instanceof a&&(this._S=_.S),this._Rencoded=Array.isArray(_.R)?_.R:_.Rencoded,this._Sencoded=Array.isArray(_.S)?_.S:_.Sencoded}O(D,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),O(D,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),O(D,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),O(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()},be.exports=D},1416:be=>{be.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:(be,ee,E)=>{"use strict";var a=ee,S=E(8723),p=E(9210),O=E(1832);a.assert=p,a.toArray=O.toArray,a.zero2=O.zero2,a.toHex=O.toHex,a.encode=O.encode,a.getNAF=function c(w,g,F){var B,A=new Array(Math.max(w.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(w,g){var F=[[],[]];w=w.clone(),g=g.clone();for(var P,A=0,B=0;w.cmpn(-A)>0||g.cmpn(-B)>0;){var M,R,$=w.andln(3)+A&3,k=g.andln(3)+B&3;3===$&&($=-1),3===k&&(k=-1),M=1&$?3!=(P=w.andln(7)+A&7)&&5!==P||2!==k?$:-$:0,F[0].push(M),R=1&k?3!=(P=g.andln(7)+B&7)&&5!==P||2!==$?k:-k:0,F[1].push(R),2*A===M+1&&(A=1-A),2*B===R+1&&(B=1-B),w.iushrn(1),g.iushrn(1)}return F},a.cachedProperty=function C(w,g,F){var A="_"+g;w.prototype[g]=function(){return void 0!==this[A]?this[A]:this[A]=F.call(this)}},a.parseBytes=function _(w){return"string"==typeof w?a.toArray(w,"hex"):w},a.intFromLE=function T(w){return new S(w,"hex","le")}},8723:function(be,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function O(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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},4356:be=>{"use strict";var a,ee="object"==typeof Reflect?Reflect:null,E=ee&&"function"==typeof ee.apply?ee.apply:function(U,j,K){return Function.prototype.apply.call(U,j,K)};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 O(){O.init.call(this)}be.exports=O,be.exports.once=function $(R,U){return new Promise(function(j,K){function oe(te){R.removeListener(U,ve),K(te)}function ve(){"function"==typeof R.removeListener&&R.removeListener("error",oe),j([].slice.call(arguments))}M(R,U,ve,{once:!0}),"error"!==U&&function k(R,U,j){"function"==typeof R.on&&M(R,"error",U,j)}(R,oe,{once:!0})})},O.EventEmitter=O,O.prototype._events=void 0,O.prototype._eventsCount=0,O.prototype._maxListeners=void 0;var c=10;function D(R){if("function"!=typeof R)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof R)}function C(R){return void 0===R._maxListeners?O.defaultMaxListeners:R._maxListeners}function _(R,U,j,K){var oe,ve,te;if(D(j),void 0===(ve=R._events)?(ve=R._events=Object.create(null),R._eventsCount=0):(void 0!==ve.newListener&&(R.emit("newListener",U,j.listener?j.listener:j),ve=R._events),te=ve[U]),void 0===te)te=ve[U]=j,++R._eventsCount;else if("function"==typeof te?te=ve[U]=K?[j,te]:[te,j]:K?te.unshift(j):te.push(j),(oe=C(R))>0&&te.length>oe&&!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=R,se.type=U,se.count=te.length,function S(R){console&&console.warn&&console.warn(R)}(se)}return R}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 w(R,U,j){var K={fired:!1,wrapFn:void 0,target:R,type:U,listener:j},oe=T.bind(K);return oe.listener=j,K.wrapFn=oe,oe}function g(R,U,j){var K=R._events;if(void 0===K)return[];var oe=K[U];return void 0===oe?[]:"function"==typeof oe?j?[oe.listener||oe]:[oe]:j?function P(R){for(var U=new Array(R.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=ve[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(K=0;K=0;te--)if(K[te]===j||K[te].listener===j){se=K[te].listener,ve=te;break}if(ve<0)return this;0===ve?K.shift():function B(R,U){for(;U+1=0;oe--)this.removeListener(U,j[oe]);return this},O.prototype.listeners=function(U){return g(this,U,!0)},O.prototype.rawListeners=function(U){return g(this,U,!1)},O.listenerCount=function(R,U){return"function"==typeof R.listenerCount?R.listenerCount(U):F.call(R,U)},O.prototype.listenerCount=F,O.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},8211:(be,ee,E)=>{var a=E(7054).Buffer,S=E(4725);be.exports=function p(O,c,D,C){if(a.isBuffer(O)||(O=a.from(O,"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 _=D/8,T=a.alloc(_),w=a.alloc(C||0),g=a.alloc(0);_>0||C>0;){var F=new S;F.update(g),F.update(O),c&&F.update(c),g=F.digest();var A=0;if(_>0){var B=T.length-_;A=Math.min(_,g.length),g.copy(T,B,0,A),_-=A}if(A0){var P=w.length-C,$=Math.min(C,g.length-A);g.copy(w,P,A,A+$),C-=$}}return g.fill(0),{key:T,iv:w}}},3686:(be,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,_){var T=null;try{this.update(D,C)}catch(w){T=w}_(T)},c.prototype._flush=function(D){var C=null;try{this.push(this.digest())}catch(_){C=_}D(C)},c.prototype.update=function(D,C){if(function O(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 _=this._block,T=0;this._blockOffset+D.length-T>=this._blockSize;){for(var w=this._blockOffset;w0;++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 _=0;_<4;++_)this._length[_]=0;return C},c.prototype._digest=function(){throw new Error("_digest is not implemented")},be.exports=c},2529:(be,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:(be,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 _=0;_>>24&255,_[T++]=c>>>16&255,_[T++]=c>>>8&255,_[T++]=255&c}else for(_[T++]=255&c,_[T++]=c>>>8&255,_[T++]=c>>>16&255,_[T++]=c>>>24&255,_[T++]=0,_[T++]=0,_[T++]=0,_[T++]=0,w=8;w{"use strict";var a=E(8283),S=E(9210);function p(O,c,D){if(!(this instanceof p))return new p(O,c,D);this.Hash=O,this.blockSize=O.blockSize/8,this.outSize=O.outSize/8,this.inner=null,this.outer=null,this._init(a.toArray(c,D))}be.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,O=a.sum32,c=a.sum32_3,D=a.sum32_4,C=S.BlockHash;function _(){if(!(this instanceof _))return new _;C.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function T($,k,M,R){return $<=15?k^M^R:$<=31?k&M|~k&R:$<=47?(k|~M)^R:$<=63?k&R|M&~R:k^(M|~R)}function g($){return $<=15?1352829926:$<=31?1548603684:$<=47?1836072691:$<=63?2053994217:0}a.inherits(_,C),ee.ripemd160=_,_.blockSize=512,_.outSize=160,_.hmacStrength=192,_.padLength=64,_.prototype._update=function(k,M){for(var R=this.h[0],U=this.h[1],j=this.h[2],K=this.h[3],oe=this.h[4],ve=R,te=U,se=j,m=K,n=oe,o=0;o<80;o++){var u=O(p(D(R,T(o,U,j,K),k[F[o]+M],($=o)<=15?0:$<=31?1518500249:$<=47?1859775393:$<=63?2400959708:2840853838),B[o]),oe);R=oe,oe=K,K=p(j,10),j=U,U=u,u=O(p(D(ve,T(79-o,te,se,m),k[A[o]+M],g(o)),P[o]),n),ve=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],K,n),this.h[2]=c(this.h[3],oe,ve),this.h[3]=c(this.h[4],R,te),this.h[4]=c(this.h[0],U,se),this.h[0]=u},_.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:(be,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:(be,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),O=a.rotl32,c=a.sum32,D=a.sum32_5,C=p.ft_1,_=S.BlockHash,T=[1518500249,1859775393,2400959708,3395469782];function w(){if(!(this instanceof w))return new w;_.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}a.inherits(w,_),be.exports=w,w.blockSize=512,w.outSize=160,w.hmacStrength=80,w.padLength=64,w.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),be.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:(be,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),O=E(9210),c=a.sum32,D=a.sum32_4,C=a.sum32_5,_=p.ch32,T=p.maj32,w=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),be.exports=$,$.blockSize=512,$.outSize=256,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(M,R){for(var U=this.W,j=0;j<16;j++)U[j]=M[R+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),be.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:(be,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(9210),O=a.rotr64_hi,c=a.rotr64_lo,D=a.shr64_hi,C=a.shr64_lo,_=a.sum64,T=a.sum64_hi,w=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 R(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 K(u,s){var f=O(u,s,28)^O(s,u,2)^O(s,u,7);return f<0&&(f+=4294967296),f}function oe(u,s){var f=c(u,s,28)^c(s,u,2)^c(s,u,7);return f<0&&(f+=4294967296),f}function ve(u,s){var f=O(u,s,14)^O(u,s,18)^O(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=O(u,s,1)^O(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=O(u,s,19)^O(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),be.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 O(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?O(F,A,B):1===g||3===g?D(F,A,B):2===g?c(F,A,B):void 0},ee.ch32=O,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 _(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 w(g){return S(g,17)^S(g,19)^g>>>10}},8283:(be,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 _(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 O(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 R(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 K(o,u,s,h,v,y,f,r){return u+h+y+r>>>0},ee.sum64_5_hi=function oe(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 ve(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:(be,ee,E)=>{"use strict";var a=E(2529),S=E(1832),p=E(9210);function O(c){if(!(this instanceof O))return new O(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"),_=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,_)}be.exports=O,O.prototype._init=function(D,C,_){var T=D.concat(C).concat(_);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var w=0;w=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(D.concat(_||[])),this._reseed=1},O.prototype.generate=function(D,C,_,T){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof C&&(T=_,_=C,C=null),_&&(_=S.toArray(_,T||"hex"),this._update(_));for(var w=[];w.length{ee.read=function(E,a,S,p,O){var c,D,C=8*O-p-1,_=(1<>1,w=-7,g=S?O-1:0,F=S?-1:1,A=E[a+g];for(g+=F,c=A&(1<<-w)-1,A>>=-w,w+=C;w>0;c=256*c+E[a+g],g+=F,w-=8);for(D=c&(1<<-w)-1,c>>=-w,w+=p;w>0;D=256*D+E[a+g],g+=F,w-=8);if(0===c)c=1-T;else{if(c===_)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,O,c){var D,C,_,T=8*c-O-1,w=(1<>1,F=23===O?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=w):(D=Math.floor(Math.log(a)/Math.LN2),a*(_=Math.pow(2,-D))<1&&(D--,_*=2),(a+=D+g>=1?F/_:F*Math.pow(2,1-g))*_>=2&&(D++,_/=2),D+g>=w?(C=0,D=w):D+g>=1?(C=(a*_-1)*Math.pow(2,O),D+=g):(C=a*Math.pow(2,g-1)*Math.pow(2,O),D=0));O>=8;E[S+A]=255&C,A+=B,C/=256,O-=8);for(D=D<0;E[S+A]=255&D,A+=B,D/=256,T-=8);E[S+A-B]|=128*P}},1993:be=>{be.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:be=>{var ee={}.toString;be.exports=Array.isArray||function(E){return"[object Array]"==ee.call(E)}},9657:(be,ee,E)=>{"use strict";E.d(ee,{b:()=>Qe,c:()=>j,g:()=>U,r:()=>ft});var a=E(467);let p,O,D=!1;const w="slot-fb{display:contents}slot-fb[hidden]{display:none}",g={},A=_e=>"object"==(_e=typeof _e)||"function"===_e;function B(_e){var De,Ae,Ze;return null!==(Ze=null===(Ae=null===(De=_e.head)||void 0===De?void 0:De.querySelector('meta[name="csp-nonce"]'))||void 0===Ae?void 0:Ae.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,Ae)=>{const Ze=U(_e);return{emit:Ue=>K(Ze,De,{bubbles:!!(4&Ae),composed:!!(2&Ae),cancelable:!!(1&Ae),detail:Ue})}},K=(_e,De,Ae)=>{const Ze=Bt.ce(De,Ae);return _e.dispatchEvent(Ze),Ze},oe=new WeakMap,m=(_e,De)=>"sc-"+_e.$tagName$,n=(_e,De,Ae,Ze,Ue,it)=>{if(Ae!==Ze){let Pe=wt(_e,De);De.toLowerCase();{const Be=A(Ze);if((Pe||Be&&null!==Ze)&&!Ue)try{if(_e.tagName.includes("-"))_e[De]=Ze;else{const Ve=null==Ze?"":Ze;"list"===De?Pe=!1:(null==Ae||_e[De]!=Ve)&&(_e[De]=Ve)}}catch{}null==Ze||!1===Ze?(!1!==Ze||""===_e.getAttribute(De))&&_e.removeAttribute(De):(!Pe||4&it||Ue)&&!Be&&_e.setAttribute(De,Ze=!0===Ze?"":Ze)}}},o=(_e,De,Ae,Ze)=>{const Ue=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(Ue,Ze,it[Ze],void 0,Ae,De.$flags$);for(Ze of u(Object.keys(Pe)))n(Ue,Ze,it[Ze],Pe[Ze],Ae,De.$flags$)};function u(_e){return _e.includes("ref")?[..._e.filter(De=>"ref"!==De),"ref"]:_e}const s=(_e,De,Ae,Ze)=>{const Ue=De.$children$[Ae];let Pe,Be,it=0;if(Pe=Ue.$elm$=Dt.createElement(Ue.$tag$),o(null,Ue,!1),(_e=>null!=_e)(p)&&Pe["s-si"]!==p&&Pe.classList.add(Pe["s-si"]=p),Ue.$children$)for(it=0;it{let Be,Pe=_e;for(Pe.shadowRoot&&Pe.tagName===O&&(Pe=Pe.shadowRoot);Ue<=it;++Ue)Ze[Ue]&&(Be=s(null,Ae,Ue),Be&&(Ze[Ue].$elm$=Be,Pe.insertBefore(Be,De)))},v=(_e,De,Ae)=>{for(let Ze=De;Ze<=Ae;++Ze){const Ue=_e[Ze];if(Ue){const it=Ue.$elm$;it&&it.remove()}}},f=(_e,De,Ae=!1)=>_e.$tag$===De.$tag$,r=(_e,De,Ae=!1)=>{const Ze=De.$elm$=_e.$elm$,Ue=_e.$children$,it=De.$children$;o(_e,De,!1),null!==Ue&&null!==it?((_e,De,Ae,Ze,Ue=!1)=>{let Ct,it=0,Pe=0,Be=De.length-1,Ve=De[0],yt=De[Be],Je=Ze.length-1,lt=Ze[0],Qt=Ze[Je];for(;it<=Be&&Pe<=Je;)null==Ve?Ve=De[++it]:null==yt?yt=De[--Be]:null==lt?lt=Ze[++Pe]:null==Qt?Qt=Ze[--Je]:f(Ve,lt,Ue)?(r(Ve,lt,Ue),Ve=De[++it],lt=Ze[++Pe]):f(yt,Qt,Ue)?(r(yt,Qt,Ue),yt=De[--Be],Qt=Ze[--Je]):f(Ve,Qt,Ue)?(r(Ve,Qt,Ue),_e.insertBefore(Ve.$elm$,yt.$elm$.nextSibling),Ve=De[++it],Qt=Ze[--Je]):f(yt,lt,Ue)?(r(yt,lt,Ue),_e.insertBefore(yt.$elm$,Ve.$elm$),yt=De[--Be],lt=Ze[++Pe]):(Ct=s(De&&De[Pe],Ae,Pe),lt=Ze[++Pe],Ct&&Ve.$elm$.parentNode.insertBefore(Ct,Ve.$elm$));it>Be?h(_e,null==Ze[Je+1]?null:Ze[Je+1].$elm$,Ae,Ze,Pe,Je):Pe>Je&&v(De,it,Be)})(Ze,Ue,De,it,Ae):null!==it?h(Ze,null,De,it,0,it.length-1):null!==Ue&&v(Ue,0,Ue.length-1)},L=(_e,De)=>{De&&!_e.$onRenderResolve$&&De["s-p"]&&De["s-p"].push(new Promise(Ae=>_e.$onRenderResolve$=Ae))},I=(_e,De)=>{if(_e.$flags$|=16,!(4&_e.$flags$))return L(_e,_e.$ancestorComponent$),Le(()=>V(_e,De));_e.$flags$|=512},V=(_e,De)=>{const Ze=_e.$lazyInstance$;let Ue;return De&&(Ue=tt(Ze,"componentWillLoad")),J(Ue,()=>me(_e,Ze,De))},J=(_e,De)=>re(_e)?_e.then(De):De(),re=_e=>_e instanceof Promise||_e&&_e.then&&"function"==typeof _e.then,me=function(){var _e=(0,a.A)(function*(De,Ae,Ze){var Ue;const it=De.$hostElement$,Be=it["s-rc"];Ze&&(_e=>{const De=_e.$cmpMeta$,Ae=_e.$hostElement$,Ze=De.$flags$,it=((_e,De,Ae)=>{var Ze;const Ue=m(De),it=Tt.get(Ue);if(_e=11===_e.nodeType?_e:Dt,it)if("string"==typeof it){let Be,Pe=oe.get(_e=_e.head||_e);if(Pe||oe.set(_e,Pe=new Set),!Pe.has(Ue)){{Be=Dt.createElement("style"),Be.innerHTML=it;const Ve=null!==(Ze=Bt.$nonce$)&&void 0!==Ze?Ze:B(Dt);null!=Ve&&Be.setAttribute("nonce",Ve),_e.insertBefore(Be,_e.querySelector("link"))}4&De.$flags$&&(Be.innerHTML+=w),Pe&&Pe.add(Ue)}}else _e.adoptedStyleSheets.includes(it)||(_e.adoptedStyleSheets=[..._e.adoptedStyleSheets,it]);return Ue})(Ae.shadowRoot?Ae.shadowRoot:Ae.getRootNode(),De);10&Ze&&(Ae["s-sc"]=it,Ae.classList.add(it+"-h"))})(De);Me(De,Ae,it,Ze),Be&&(Be.map(yt=>yt()),it["s-rc"]=void 0);{const yt=null!==(Ue=it["s-p"])&&void 0!==Ue?Ue:[],Je=()=>Q(De);0===yt.length?Je():(Promise.all(yt).then(Je),De.$flags$|=4,yt.length=0)}});return function(Ae,Ze,Ue){return _e.apply(this,arguments)}}(),Me=(_e,De,Ae,Ze)=>{try{De=De.render(),_e.$flags$&=-17,_e.$flags$|=2,((_e,De,Ae=!1)=>{const Ze=_e.$hostElement$,Ue=_e.$cmpMeta$,it=_e.$vnode$||$(null,null),Pe=(_e=>_e&&_e.$tag$===k)(De)?De:((_e,De,...Ae)=>{let Ze=null,Ue=!1,it=!1;const Pe=[],Be=yt=>{for(let Je=0;Je0&&(Ve.$children$=Pe),Ve})(null,null,De);if(O=Ze.tagName,Ue.$attrsToReflect$&&(Pe.$attrs$=Pe.$attrs$||{},Ue.$attrsToReflect$.map(([Be,Ve])=>Pe.$attrs$[Ve]=Ze[Be])),Ae&&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,Ae)})(_e,De,Ze)}catch(Ue){Pt(Ue,_e.$hostElement$)}return null},Q=_e=>{const Ae=_e.$hostElement$,Ue=_e.$lazyInstance$,it=_e.$ancestorComponent$;64&_e.$flags$||(_e.$flags$|=64,Re(Ae),tt(Ue,"componentDidLoad"),_e.$onReadyResolve$(Ae),it||ae()),_e.$onInstanceResolve$(Ae),_e.$onRenderResolve$&&(_e.$onRenderResolve$(),_e.$onRenderResolve$=void 0),512&_e.$flags$&&Ut(()=>I(_e,!1)),_e.$flags$&=-517},ae=_e=>{Re(Dt.documentElement),Ut(()=>K(yn,"appload",{detail:{namespace:"jeep-sqlite"}}))},tt=(_e,De,Ae)=>{if(_e&&_e[De])try{return _e[De](Ae)}catch(Ze){Pt(Ze)}},Re=_e=>_e.classList.add("hydrated"),Se=(_e,De,Ae)=>{var Ze;const Ue=_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&Ae&&32&Be?Object.defineProperty(Ue,Pe,{get(){return((_e,De)=>gt(this).$instanceValues$.get(De))(0,Pe)},set(Ve){((_e,De,Ae,Ze)=>{const Ue=gt(_e),it=Ue.$hostElement$,Pe=Ue.$instanceValues$.get(De),Be=Ue.$flags$,Ve=Ue.$lazyInstance$;Ae=((_e,De)=>null==_e||A(_e)?_e:4&De?"false"!==_e&&(""===_e||!!_e):1&De?String(_e):_e)(Ae,Ze.$members$[De][0]);const yt=Number.isNaN(Pe)&&Number.isNaN(Ae);if((!(8&Be)||void 0===Pe)&&Ae!==Pe&&!yt&&(Ue.$instanceValues$.set(De,Ae),Ve)){if(Ze.$watchers$&&128&Be){const lt=Ze.$watchers$[De];lt&<.map(Qt=>{try{Ve[Qt](Ae,Pe,De)}catch(Ct){Pt(Ct,it)}})}2==(18&Be)&&I(Ue,!1)}})(this,Pe,Ve,De)},configurable:!0,enumerable:!0}):1&Ae&&64&Be&&Object.defineProperty(Ue,Pe,{value(...Ve){var yt;const Je=gt(this);return null===(yt=null==Je?void 0:Je.$onInstancePromise$)||void 0===yt?void 0:yt.then(()=>{var lt;return null===(lt=Je.$lazyInstance$)||void 0===lt?void 0:lt[Pe](...Ve)})}})}),1&Ae){const Pe=new Map;Ue.attributeChangedCallback=function(Be,Ve,yt){Bt.jmp(()=>{var Je;const lt=Pe.get(Be);if(this.hasOwnProperty(lt))yt=this[lt],delete this[lt];else{if(Ue.hasOwnProperty(lt)&&"number"==typeof this[lt]&&this[lt]==yt)return;if(null==lt){const Qt=gt(this),Ct=null==Qt?void 0:Qt.$flags$;if(Ct&&!(8&Ct)&&128&Ct&&yt!==Ve){const mt=Qt.$lazyInstance$,Kt=null===(Je=De.$watchers$)||void 0===Je?void 0:Je[Be];null==Kt||Kt.forEach(Rt=>{null!=mt[Rt]&&mt[Rt].call(mt,yt,Ve,Be)})}return}}this[lt]=(null!==yt||"boolean"!=typeof this[lt])&&yt})},_e.observedAttributes=Array.from(new Set([...Object.keys(null!==(Ze=De.$watchers$)&&void 0!==Ze?Ze:{}),...it.filter(([Be,Ve])=>15&Ve[0]).map(([Be,Ve])=>{var yt;const Je=Ve[1]||Be;return Pe.set(Je,Be),512&Ve[0]&&(null===(yt=De.$attrsToReflect$)||void 0===yt||yt.push([Be,Je])),Je})]))}}return _e},ie=function(){var _e=(0,a.A)(function*(De,Ae,Ze,Ue){let it;if(!(32&Ae.$flags$)){if(Ae.$flags$|=32,Ze.$lazyBundleId$){if(it=St(Ze),it.then){const Je=()=>{};it=yield it,Je()}it.isProxied||(Ze.$watchers$=it.watchers,Se(it,Ze,2),it.isProxied=!0);const yt=()=>{};Ae.$flags$|=8;try{new it(Ae)}catch(Je){Pt(Je)}Ae.$flags$&=-9,Ae.$flags$|=128,yt(),ne(Ae.$lazyInstance$)}else it=De.constructor,customElements.whenDefined(Ze.$tagName$).then(()=>Ae.$flags$|=128);if(it.style){let yt=it.style;const Je=m(Ze);if(!Tt.has(Je)){const lt=()=>{};((_e,De,Ae)=>{let Ze=Tt.get(_e);st&&Ae?(Ze=Ze||new CSSStyleSheet,"string"==typeof Ze?Ze=De:Ze.replaceSync(De)):Ze=De,Tt.set(_e,Ze)})(Je,yt,!!(1&Ze.$flags$)),lt()}}}const Pe=Ae.$ancestorComponent$,Be=()=>I(Ae,!0);Pe&&Pe["s-rc"]?Pe["s-rc"].push(Be):Be()});return function(Ae,Ze,Ue,it){return _e.apply(this,arguments)}}(),ne=_e=>{tt(_e,"connectedCallback")},vt=function(){var _e=(0,a.A)(function*(De){if(!(1&Bt.$flags$)){const Ae=gt(De);null!=Ae&&Ae.$lazyInstance$||null!=Ae&&Ae.$onReadyPromise$&&Ae.$onReadyPromise$.then(()=>{})}});return function(Ae){return _e.apply(this,arguments)}}(),Qe=(_e,De={})=>{var Ae;const Ue=[],it=De.exclude||[],Pe=yn.customElements,Be=Dt.head,Ve=Be.querySelector("meta[charset]"),yt=Dt.createElement("style"),Je=[];let lt,Qt=!0;Object.assign(Bt,De),Bt.$resourcesUrl$=new URL(De.resourcesUrl||"./",Dt.baseURI).href;let Ct=!1;if(_e.map(mt=>{mt[1].map(Kt=>{var Rt;const Ft={$flags$:Kt[0],$tagName$:Kt[1],$members$:Kt[2],$listeners$:Kt[3]};4&Ft.$flags$&&(Ct=!0),Ft.$members$=Kt[2],Ft.$attrsToReflect$=[],Ft.$watchers$=null!==(Rt=Kt[4])&&void 0!==Rt?Rt:{};const Pn=Ft.$tagName$,wn=class extends HTMLElement{constructor(_n){super(_n),on(_n=this,Ft),1&Ft.$flags$&&_n.attachShadow({mode:"open"})}connectedCallback(){lt&&(clearTimeout(lt),lt=null),Qt?Je.push(this):Bt.jmp(()=>(_e=>{if(!(1&Bt.$flags$)){const De=gt(_e),Ae=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 Ue=_e;for(;Ue=Ue.parentNode||Ue.host;)if(Ue["s-p"]){L(De,De.$ancestorComponent$=Ue);break}}Ae.$members$&&Object.entries(Ae.$members$).map(([Ue,[it]])=>{if(31&it&&_e.hasOwnProperty(Ue)){const Pe=_e[Ue];delete _e[Ue],_e[Ue]=Pe}}),ie(_e,De,Ae)}Ze()}})(this))}disconnectedCallback(){Bt.jmp(()=>vt(this))}componentOnReady(){return gt(this).$onReadyPromise$}};Ft.$lazyBundleId$=mt[0],!it.includes(Pn)&&!Pe.get(Pn)&&(Ue.push(Pn),Pe.define(Pn,Se(wn,Ft,1)))})}),Ue.length>0&&(Ct&&(yt.textContent+=w),yt.textContent+=Ue+"{visibility:hidden}.hydrated{visibility:inherit}",yt.innerHTML.length)){yt.setAttribute("data-styles","");const mt=null!==(Ae=Bt.$nonce$)&&void 0!==Ae?Ae:B(Dt);null!=mt&&yt.setAttribute("nonce",mt),Be.insertBefore(yt,Ve?Ve.nextSibling:Be.firstChild)}Qt=!1,Je.length?Je.map(mt=>mt.connectedCallback()):Bt.jmp(()=>lt=setTimeout(ae,30))},nn=new WeakMap,gt=_e=>nn.get(_e),ft=(_e,De)=>nn.set(De.$lazyInstance$=_e,De),on=(_e,De)=>{const Ae={$flags$:0,$hostElement$:_e,$cmpMeta$:De,$instanceValues$:new Map};return Ae.$onInstancePromise$=new Promise(Ze=>Ae.$onInstanceResolve$=Ze),Ae.$onReadyPromise$=new Promise(Ze=>Ae.$onReadyResolve$=Ze),_e["s-p"]=[],_e["s-rc"]=[],nn.set(_e,Ae)},wt=(_e,De)=>De in _e,Pt=(_e,De)=>(0,console.error)(_e,De),En=new Map,St=(_e,De,Ae)=>{const Ze=_e.$tagName$.replace(/-/g,"_"),Ue=_e.$lazyBundleId$,it=En.get(Ue);return it?it[Ze]:E(7321)(`./${Ue}.entry.js`).then(Pe=>(En.set(Ue,Pe),Pe[Ze]),Pt)},Tt=new Map,yn=typeof window<"u"?window:{},Dt=yn.document||{head:{}},Bt={$flags$:0,$resourcesUrl$:"",jmp:_e=>_e(),raf:_e=>requestAnimationFrame(_e),ael:(_e,De,Ae,Ze)=>_e.addEventListener(De,Ae,Ze),rel:(_e,De,Ae,Ze)=>_e.removeEventListener(De,Ae,Ze),ce:(_e,De)=>new CustomEvent(_e,De)},st=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Lt=[],In=[],kt=(_e,De)=>Ae=>{_e.push(Ae),D||(D=!0,De&&4&Bt.$flags$?Ut(Ln):Bt.raf(Ln))},Ot=_e=>{for(let De=0;De<_e.length;De++)try{_e[De](performance.now())}catch(Ae){Pt(Ae)}_e.length=0},Ln=()=>{Ot(Lt),Ot(In),(D=Lt.length>0)&&Bt.raf(Ln)},Ut=_e=>Promise.resolve(void 0).then(_e),Le=kt(In,!0)},4801:function(be){typeof self<"u"&&self,be.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,O){a.o(S,p)||Object.defineProperty(S,p,{configurable:!1,enumerable:!0,get:O})},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(O,c){this.width=c,this.height=O.length/c,this.data=O}return p.createEmpty=function(O,c){return new p(new Uint8ClampedArray(O*c),O)},p.prototype.get=function(O,c){return!(O<0||O>=this.width||c<0||c>=this.height||!this.data[c*this.width+O])},p.prototype.set=function(O,c,D){this.data[c*this.width+O]=D?1:0},p.prototype.setRegion=function(O,c,D,C,_){for(var T=c;T=this.size&&(T=(T^this.primitive)&this.size-1);for(w=0;w1&&0===D[0]){for(var _=1;__.length&&(C=(D=[_,C])[0],_=D[1]);for(var T=new Uint8ClampedArray(_.length),w=_.length-C.length,g=0;gw?w:_}var D=function(){function _(T,w){this.width=T,this.data=new Uint8ClampedArray(T*w)}return _.prototype.get=function(T,w){return this.data[w*this.width+T]},_.prototype.set=function(T,w,g){this.data[w*this.width+T]=g},_}();E.binarize=function C(_,T,w,g){if(_.length!==T*w*4)throw new Error("Malformed data passed to binarizer.");for(var F=new D(T,w),A=0;A0&&K>0)){var n=(U.get(K,j-1)+2*U.get(K-1,j)+U.get(K-1,j-1))/4;ve6&&(R.setRegion(M-11,0,3,6,!0),R.setRegion(0,M-11,6,3,!0)),R}(M),oe=[],ve=0,te=0,se=!0,m=j-1;m>0;m-=2){6===m&&m--;for(var n=0;n=0;j--)for(var K=M-9;K>=M-11;K--)U=C(k.get(K,j),U);var oe=0;for(K=5;K>=0;K--)for(j=M-9;j>=M-11;j--)oe=C(k.get(K,j),oe);for(var te,ve=1/0,se=0,m=c.VERSIONS;se=0;U--)6!==U&&(M=C(k.get(8,U),M));var j=k.height,K=0;for(U=j-1;U>=j-7;U--)K=C(k.get(8,U),K);for(R=j-8;R1){var n=U.ecBlocks[0].numBlocks,o=U.ecBlocks[1].numBlocks;for(ve=0;ve0;)for(var u=0,s=j;u=3;){if((M=F.readBits(10))>=1e3)throw new Error("Invalid numeric value above 999");var R=Math.floor(M/100),U=Math.floor(M/10)%10,j=M%10;B.push(48+R,48+U,48+j),P+=R.toString()+U.toString()+j.toString(),k-=3}if(2===k){if((M=F.readBits(7))>=100)throw new Error("Invalid numeric value above 99");R=Math.floor(M/10),B.push(48+R,48+(U=M%10)),P+=R.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 _(F,A){for(var B=[],P="",k=F.readBits([9,11,13][A]);k>=2;){var M=F.readBits(11),R=Math.floor(M/45),U=M%45;B.push(C[R].charCodeAt(0),C[U].charCodeAt(0)),P+=C[R]+C[U],k-=2}return 1===k&&(R=F.readBits(6),B.push(C[R].charCodeAt(0)),P+=C[R]),{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),R=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:O.ECI,assignmentNumber:M.readBits(7)}):0===M.readBits(1)?U.chunks.push({type:O.ECI,assignmentNumber:M.readBits(14)}):0===M.readBits(1)?U.chunks.push({type:O.ECI,assignmentNumber:M.readBits(21)}):U.chunks.push({type:O.ECI,assignmentNumber:-1});else if(j===c.Numeric){var K=D(M,R);U.text+=K.text,(B=U.bytes).push.apply(B,K.bytes),U.chunks.push({type:O.Numeric,text:K.text})}else if(j===c.Alphanumeric){var oe=_(M,R);U.text+=oe.text,(P=U.bytes).push.apply(P,oe.bytes),U.chunks.push({type:O.Alphanumeric,text:oe.text})}else if(j===c.Byte){var ve=T(M,R);U.text+=ve.text,($=U.bytes).push.apply($,ve.bytes),U.chunks.push({type:O.Byte,bytes:ve.bytes,text:ve.text})}else if(j===c.Kanji){var te=w(M,R);U.text+=te.text,(k=U.bytes).push.apply(k,te.bytes),U.chunks.push({type:O.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(O){this.byteOffset=0,this.bitOffset=0,this.bytes=O}return p.prototype.readBits=function(O){if(O<1||O>32||O>this.available())throw new Error("Cannot read "+O.toString()+" bits");var c=0;if(this.bitOffset>0){var D=8-this.bitOffset,C=O>8-C<<(_=D-C))>>_,O-=C,this.bitOffset+=C,8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(O>0){for(;O>=8;)c=c<<8|255&this.bytes[this.byteOffset],this.byteOffset++,O-=8;var _;O>0&&(c=c<>(_=8-O)<<_)>>_,this.bitOffset+=O)}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(_,T){var w=new Uint8ClampedArray(_.length);w.set(_);for(var g=new S.default(285,256,0),F=new p.default(g,w),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 R=_.zero,U=A.getCoefficient(A.degree()),j=_.inverse(U);B.degree()>=A.degree()&&!B.isZero();){var K=B.degree()-A.degree(),oe=_.multiply(B.getCoefficient(B.degree()),j);R=R.addOrSubtract(_.buildMonomial(K,oe)),B=B.addOrSubtract(A.multiplyByMonomial(K,oe))}if($=R.multiplyPoly(P).addOrSubtract(M),B.degree()>=A.degree())return null}var ve=$.getCoefficient(0);if(0===ve)return null;var te=_.inverse(ve);return[$.multiply(te),B.multiply(te)]}(g,g.buildMonomial(T,1),k,T);if(null===M)return null;var R=function c(_,T){var w=T.degree();if(1===w)return[T.getCoefficient(1)];for(var g=new Array(w),F=0,A=1;A<_.size&&FMath.abs(k.x-$.x);j?(K=Math.floor($.y),oe=Math.floor($.x),ve=Math.floor(k.y),te=Math.floor(k.x)):(K=Math.floor($.x),oe=Math.floor($.y),ve=Math.floor(k.x),te=Math.floor(k.y));for(var se=Math.abs(ve-K),m=Math.abs(te-oe),n=Math.floor(-se/2),o=K0){if(v===te)break;v+=u,n-=se}}for(var r=[],d=0;d=15&&n.length?n[0]:m,dimension:K}}E.locate=function B($){for(var k=[],M=[],R=[],U=[],j=function(y){for(var f=0,r=!1,d=[0,0,0,0,0],L=function(V){var J=$.get(V,y);if(J===r)f++;else{d=[d[1],d[2],d[3],d[4],f],f=1,r=J;var re=D(d)/7,me=Math.abs(d[0]-re)=ie.bottom.startX&&tt<=ie.bottom.endX||ae>=ie.bottom.startX&&tt<=ie.bottom.endX||tt<=ie.bottom.startX&&ae>=ie.bottom.endX&&d[2]/(ie.bottom.endX-ie.bottom.startX)<1.5&&d[2]/(ie.bottom.endX-ie.bottom.startX)>.5})).length>0?pe[0].bottom=Re:M.push({top:Re,bottom:Re})}if(Q){var pe,Ie=V-d[4],Se=Ie-d[3];Re={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=Re:U.push({top:Re,bottom:Re})}}},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}),R.push.apply(R,U.filter(function(V){return V.bottom.y!==y})),U=U.filter(function(V){return V.bottom.y===y})},K=0;K<=$.height;K++)j(K);k.push.apply(k,M.filter(function(y){return y.bottom.y-y.top.y>=2})),R.push.apply(R,U);var oe=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===oe.length)return null;var ve=function C($,k,M){var R,U,j,K,se,m,n,oe=c($,k),ve=c(k,M),te=c($,M);return ve>=oe&&ve>=te?(se=(R=[k,$,M])[0],m=R[1],n=R[2]):te>=ve&&te>=oe?(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=(K=[n,se])[0],n=K[1]),{bottomLeft:se,topLeft:m,topRight:n}}(oe[0].points[0],oe[0].points[1],oe[0].points[2]),te=ve.topRight,se=ve.topLeft,m=ve.bottomLeft,n=P($,R,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($,R,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:(be,ee,E)=>{"use strict";var a=E(1993),S=E(3686),p=E(7054).Buffer,O=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 _(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 w(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=O,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=_(A,B=C(B,P,$,A,g[15],1236535329,22),P,$,g[1],4129170786,5),$=_($,A,B,P,g[6],3225465664,9),P=_(P,$,A,B,g[11],643717713,14),B=_(B,P,$,A,g[0],3921069994,20),A=_(A,B,P,$,g[5],3593408605,5),$=_($,A,B,P,g[10],38016083,9),P=_(P,$,A,B,g[15],3634488961,14),B=_(B,P,$,A,g[4],3889429448,20),A=_(A,B,P,$,g[9],568446438,5),$=_($,A,B,P,g[14],3275163606,9),P=_(P,$,A,B,g[3],4107603335,14),B=_(B,P,$,A,g[8],1163531501,20),A=_(A,B,P,$,g[13],2850285829,5),$=_($,A,B,P,g[2],4243563512,9),P=_(P,$,A,B,g[7],1735328473,14),A=T(A,B=_(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=w(A,B=T(B,P,$,A,g[2],3299628645,23),P,$,g[0],4096336452,6),$=w($,A,B,P,g[7],1126891415,10),P=w(P,$,A,B,g[14],2878612391,15),B=w(B,P,$,A,g[5],4237533241,21),A=w(A,B,P,$,g[12],1700485571,6),$=w($,A,B,P,g[3],2399980690,10),P=w(P,$,A,B,g[10],4293915773,15),B=w(B,P,$,A,g[1],2240044497,21),A=w(A,B,P,$,g[8],1873313359,6),$=w($,A,B,P,g[15],4264355552,10),P=w(P,$,A,B,g[6],2734768916,15),B=w(B,P,$,A,g[13],1309151649,21),A=w(A,B,P,$,g[4],4149444226,6),$=w($,A,B,P,g[11],3174756917,10),P=w(P,$,A,B,g[2],718787259,15),B=w(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},be.exports=c},3459:(be,ee,E)=>{var a=E(7223),S=E(5294);function p(O){this.rand=O||new S.Rand}be.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 _=new a(this.rand.generate(C))}while(_.cmp(c)>=0);return _},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 _=c.bitLength(),T=a.mont(c),w=new a(1).toRed(T);D||(D=Math.max(1,_/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(w)&&0!==k.cmp(B)){for(var M=1;M0;D--){var B=this._randrange(new a(2),w),P=c.gcd(B);if(0!==P.cmpn(1))return P;var $=B.toRed(_).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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},9210:be=>{function ee(E,a){if(!E)throw new Error(a||"Assertion failed")}be.exports=ee,ee.equal=function(a,S,p){if(a!=S)throw new Error(p||"Assertion failed: "+a+" != "+S)}},1832:(be,ee)=>{"use strict";var E=ee;function S(O){return 1===O.length?"0"+O:O}function p(O){for(var c="",D=0;D>8,w=255&_;T?D.push(T,w):D.push(w)}return D},E.zero2=S,E.toHex=p,E.encode=function(c,D){return"hex"===D?p(c):c}},3138:(be,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 O=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(O),this.key("subjectPublicKey").bitstr())});ee.PublicKey=c;var D=a.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(O),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 _=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=_,ee.DSAparam=a.define("DSAparam",function(){this.int()});var T=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),w=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=w,ee.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(be,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())}),O=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(O),this.key("subjectPublicKey").bitstr())}),D=a.define("RelativeDistinguishedName",function(){this.setof(p)}),C=a.define("RDNSequence",function(){this.seqof(D)}),_=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))}),w=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(O),this.key("issuer").use(_),this.key("validity").use(T),this.key("subject").use(_),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(w).optional())}),F=a.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(g),this.key("signatureAlgorithm").use(O),this.key("signatureValue").bitstr())});be.exports=F},9472:(be,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,O=E(8211),c=E(3388),D=E(7054).Buffer;be.exports=function(C,_){var g,T=C.toString(),w=T.match(a);if(w){var A="aes"+w[1],B=D.from(w[2],"hex"),P=D.from(w[3].replace(/[\r\n]/g,""),"base64"),$=O(_,B.slice(0,8),parseInt(w[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:(be,ee,E)=>{"use strict";var a=E(3138),S=E(5579),p=E(9472),O=E(3388),c=E(3397),D=E(7054).Buffer;function _(T){var w;"object"==typeof T&&!D.isBuffer(T)&&(w=T.passphrase,T=T.key),"string"==typeof T&&(T=D.from(T));var B,P,g=p(T,w),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,w){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(w,g,F,$,"sha1"),M=O.createDecipheriv(A,k,B),R=[];return R.push(M.update(P)),R.push(M.final()),D.concat(R)}(A=a.EncryptedPrivateKey.decode(A,"der"),w);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)}}_.signature=a.signature,be.exports=_},3397:(be,ee,E)=>{ee.pbkdf2=E(2685),ee.pbkdf2Sync=E(9111)},2685:(be,ee,E)=>{var D,g,a=E(7054).Buffer,S=E(6111),p=E(5392),O=E(9111),c=E(6643),C=global.crypto&&global.crypto.subtle,_={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,R){return C.importKey("raw",P,{name:"PBKDF2"},!1,["deriveBits"]).then(function(U){return C.deriveBits({name:"PBKDF2",salt:$,iterations:k,hash:{name:R}},U,M<<3)}).then(function(U){return a.from(U)})}be.exports=function(P,$,k,M,R,U){"function"==typeof R&&(U=R,R=void 0);var j=_[(R=R||"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 w(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(K){return K?A(P,$,k,M,j):O(P,$,k,M,R)}),U)}else F()(function(){var K;try{K=O(P,$,k,M,R)}catch(oe){return U(oe)}U(null,K)})}},5392:be=>{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",be.exports=ee},6111:be=>{var ee=Math.pow(2,30)-1;be.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:(be,ee,E)=>{var a=E(3407),S=E(6636),p=E(5443),O=E(7054).Buffer,c=E(6111),D=E(5392),C=E(6643),_=O.alloc(128),T={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function w(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;be.exports=function(S,p,O){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(O+" must be a string, a Buffer, a typed array or a DataView")}},9656:be=>{"use strict";be.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,O=arguments.length;switch(O){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(O-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:(be,ee,E)=>{var a=E(7211),S=E(7054).Buffer;function p(O){var c=S.allocUnsafe(4);return c.writeUInt32BE(O,0),c}be.exports=function(O,c){for(var _,D=S.alloc(0),C=0;D.length=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},8613:(be,ee,E)=>{var a=E(5667),S=E(715),p=E(7196),O=E(6508),c=E(4105),D=E(7211),C=E(568),_=E(7054).Buffer;be.exports=function(A,B,P){var $;$=A.padding?A.padding:P?1:4;var R,k=a(A),M=k.modulus.byteLength();if(B.length>M||new O(B).cmp(k.modulus)>=0)throw new Error("decryption error");R=P?C(new O(B),k):c(B,k);var U=_.alloc(M-R.length);if(R=_.concat([U,R],M),4===$)return function T(F,A){var B=F.modulus.byteLength(),P=D("sha1").update(_.alloc(0)).digest(),$=P.length;if(0!==A[0])throw new Error("decryption error");var k=A.slice(1,$+1),M=A.slice($+1),R=p(k,S(M,$)),U=p(M,S(R,B-$-1));if(function g(F,A){F=_.from(F),A=_.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,R,P);if(3===$)return R;throw new Error("unknown padding")}},7267:(be,ee,E)=>{var a=E(5667),S=E(3342),p=E(7211),O=E(715),c=E(7196),D=E(6508),C=E(568),_=E(4105),T=E(7054).Buffer;be.exports=function(B,P,$){var k;k=B.padding?B.padding:$?1:4;var R,M=a(B);if(4===k)R=function w(A,B){var P=A.modulus.byteLength(),$=B.length,k=p("sha1").update(T.alloc(0)).digest(),M=k.length,R=2*M;if($>P-R-2)throw new Error("message too long");var U=T.alloc(P-$-R-2),j=P-M-1,K=S(M),oe=c(T.concat([k,U,T.alloc(1,1),B],j),O(K,j)),ve=c(K,O(oe,M));return new D(T.concat([T.alloc(1),ve,oe],P))}(M,P);else if(1===k)R=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 $?_(R,M):C(R,M)}},568:(be,ee,E)=>{var a=E(6508),S=E(7054).Buffer;be.exports=function p(O,c){return S.from(O.toRed(a.mont(c.modulus)).redPow(new a(c.publicExponent)).fromRed().toArray())}},7196:be=>{be.exports=function(E,a){for(var S=E.length,p=-1;++p{"use strict";var a=65536,O=E(7054).Buffer,c=global.crypto||global.msCrypto;be.exports=c&&c.getRandomValues?function D(C,_){if(C>4294967295)throw new RangeError("requested too many random bytes");var T=O.allocUnsafe(C);if(C>0)if(C>a)for(var w=0;w{"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),O=S.Buffer,c=S.kMaxLength,D=global.crypto||global.msCrypto,C=Math.pow(2,32)-1;function _(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 w(A,B,P,$){if(!(O.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 _(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),!(O.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return _(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:(be,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};be.exports=T;var p=Object.create(E(7637));p.inherits=E(1993);var O=E(9609),c=E(7849);p.inherits(T,O);for(var D=S(c.prototype),C=0;C{"use strict";be.exports=p;var a=E(2909),S=Object.create(E(7637));function p(O){if(!(this instanceof p))return new p(O);a.call(this,O)}S.inherits=E(1993),S.inherits(p,a),p.prototype._transform=function(O,c,D){D(null,O)}},9609:(be,ee,E)=>{"use strict";var a=E(9656);be.exports=U;var p,S=E(53);U.ReadableState=R,E(4356);var c=function(Q,ae){return Q.listeners(ae).length},D=E(8342),C=E(2655).Buffer,_=(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 R(Q,ae){var tt=ae instanceof(p=p||E(4075));this.objectMode=!!(Q=Q||{}).objectMode,tt&&(this.objectMode=this.objectMode||!!Q.readableObjectMode);var Re=Q.highWaterMark,pe=Q.readableHighWaterMark;this.highWaterMark=Re||0===Re?Re: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 R(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,Re,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 oe(Q,ae){var tt;return!function w(Q){return C.isBuffer(Q)||Q instanceof _}(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)),Re?Ie.endEmitted?Q.emit("error",new Error("stream.unshift() after end event")):K(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?K(Q,Ie,ae,!1):s(Q,Ie)):K(Q,Ie,ae,!1))):Re||(Ie.reading=!1)),function ve(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 Re;return QIe.length?Ie.length:Q;if(pe+=Se===Ie.length?Ie:Ie.slice(0,Q),0==(Q-=Se)){Se===Ie.length?(++Re,ae.head=tt.next?tt.next:ae.tail=null):(ae.head=tt,tt.data=Ie.slice(Se));break}++Re}return ae.length-=Re,pe}(Q,ae):function J(Q,ae){var tt=C.allocUnsafe(Q),Re=ae.head,pe=1;for(Re.data.copy(tt),Q-=Re.data.length;Re=Re.next;){var Ie=Re.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=Re.next?Re.next:ae.tail=null):(ae.head=Re,Re.data=Ie.slice(Se));break}++pe}return ae.length-=pe,tt}(Q,ae),Re}(Q,ae.buffer,ae.decoder),tt);var tt}function re(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(me,ae,Q))}function me(Q,ae){!Q.endEmitted&&0===Q.length&&(Q.endEmitted=!0,ae.readable=!1,ae.emit("end"))}function Me(Q,ae){for(var tt=0,Re=Q.length;tt=ae.highWaterMark||ae.ended))return A("read: emitReadable",ae.length,ae.ended),0===ae.length&&ae.ended?re(this):o(this),null;if(0===(Q=m(Q,ae))&&ae.ended)return 0===ae.length&&re(this),null;var pe,Re=ae.needReadable;return A("need readable",Re),(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&&re(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,Re=this._readableState;switch(Re.pipesCount){case 0:Re.pipes=Q;break;case 1:Re.pipes=[Re.pipes,Q];break;default:Re.pipes.push(Q)}Re.pipesCount+=1,A("pipe count=%d opts=%j",Re.pipesCount,ae);var Ie=ae&&!1===ae.end||Q===process.stdout||Q===process.stderr?ft:ie;function ie(){A("onend"),Q.end()}Re.endEmitted?a.nextTick(Ie):tt.once("end",Ie),Q.on("unpipe",function Se(on,wt){A("onunpipe"),on===tt&&wt&&!1===wt.hasUnpiped&&(wt.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",ie),tt.removeListener("end",ft),tt.removeListener("data",Qe),G=!0,Re.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===Re.pipesCount&&Re.pipes===Q||Re.pipesCount>1&&-1!==Me(Re.pipes,Q))&&!G&&(A("false write response, pause",Re.awaitDrain),Re.awaitDrain++,vt=!0),tt.pause())}function rt(on){A("onerror",on),ft(),Q.removeListener("error",rt),0===c(Q,"error")&&Q.emit("error",on)}function nn(){Q.removeListener("finish",gt),ft()}function gt(){A("onfinish"),Q.removeListener("close",nn),ft()}function ft(){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),Re.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 Re=ae.pipes,pe=ae.pipesCount;ae.pipes=null,ae.pipesCount=0,ae.flowing=!1;for(var Ie=0;Ie{"use strict";be.exports=O;var a=E(4075),S=Object.create(E(7637));function p(C,_){var T=this._transformState;T.transforming=!1;var w=T.writecb;if(!w)return this.emit("error",new Error("write callback called multiple times"));T.writechunk=null,T.writecb=null,null!=_&&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)}}be.exports=k;var c,O=!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)},_=E(8342),T=E(2655).Buffer,w=(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(re){!function te(f,r){var d=f._writableState,L=d.sync,I=d.writecb;if(function ve(f){f.writing=!1,f.writecb=null,f.length-=f.writelen,f.writelen=0}(d),r)!function oe(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?O(se,f,d,V,I):se(f,d,V,I)}}(r,re)},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)),_.call(this)}function K(f,r,d,L,I,V,J){r.writelen=L,r.writecb=J,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 J=0,re=!0;d;)I[J]=d,d.isBuf||(re=!1),d=d.next,J+=1;I.allBuffers=re,K(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 me=d.chunk;if(K(f,r,!1,r.objectMode?1:me.length,me,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,_),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 w}(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 R(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 J=function U(f,r,d){return!f.objectMode&&!1!==f.decodeStrings&&"string"==typeof r&&(r=T.from(r,d)),r}(r,L,I);L!==J&&(d=!0,I="buffer",L=J)}var re=r.objectMode?1:L.length;r.length+=re;var me=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:(be,ee,E)=>{"use strict";var S=E(2655).Buffer,p=E(5340);function O(c,D,C){c.copy(D,C)}be.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 _={data:C,next:null};this.length>0?this.tail.next=_:this.head=_,this.tail=_,++this.length},c.prototype.unshift=function(C){var _={data:C,next:this.head};0===this.length&&(this.tail=_),this.head=_,++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 _=this.head,T=""+_.data;_=_.next;)T+=C+_.data;return T},c.prototype.concat=function(C){if(0===this.length)return S.alloc(0);for(var _=S.allocUnsafe(C>>>0),T=this.head,w=0;T;)O(T.data,_,w),w+=T.data.length,T=T.next;return _},c}(),p&&p.inspect&&p.inspect.custom&&(be.exports.prototype[p.inspect.custom]=function(){var c=p.inspect({length:this.length});return this.constructor.name+" "+c})},1509:(be,ee,E)=>{"use strict";var a=E(9656);function O(c,D){c.emit("error",D)}be.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(O,this,c)):a.nextTick(O,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(w){!D&&w?C._writableState?C._writableState.errorEmitted||(C._writableState.errorEmitted=!0,a.nextTick(O,C,w)):a.nextTick(O,C,w):D&&D(w)}),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:(be,ee,E)=>{be.exports=E(4356).EventEmitter},2655:(be,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?be.exports=a:(p(a,ee),ee.Buffer=O),p(S,O),O.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},O.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var _=S(c);return void 0!==D?"string"==typeof C?_.fill(D,C):_.fill(D):_.fill(0),_},O.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},O.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},5942:(be,ee,E)=>{(ee=be.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:(be,ee,E)=>{"use strict";var a=E(3838).Buffer,S=E(1993),p=E(3686),O=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],_=[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],w=[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,R){return M<>>32-R}function A(M,R,U,j,K,oe,ve,te){return F(M+(R^U^j)+oe+ve|0,te)+K|0}function B(M,R,U,j,K,oe,ve,te){return F(M+(R&U|~R&j)+oe+ve|0,te)+K|0}function P(M,R,U,j,K,oe,ve,te){return F(M+((R|~U)^j)+oe+ve|0,te)+K|0}function $(M,R,U,j,K,oe,ve,te){return F(M+(R&j|U&~j)+oe+ve|0,te)+K|0}function k(M,R,U,j,K,oe,ve,te){return F(M+(R^(U|~j))+oe+ve|0,te)+K|0}S(g,p),g.prototype._update=function(){for(var M=O,R=0;R<16;++R)M[R]=this._block.readInt32LE(4*R);for(var U=0|this._a,j=0|this._b,K=0|this._c,oe=0|this._d,ve=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,K,oe,ve,M[c[u]],T[0],C[u]),h=k(te,se,m,n,o,M[D[u]],w[0],_[u])):u<32?(s=B(U,j,K,oe,ve,M[c[u]],T[1],C[u]),h=$(te,se,m,n,o,M[D[u]],w[1],_[u])):u<48?(s=P(U,j,K,oe,ve,M[c[u]],T[2],C[u]),h=P(te,se,m,n,o,M[D[u]],w[2],_[u])):u<64?(s=$(U,j,K,oe,ve,M[c[u]],T[3],C[u]),h=B(te,se,m,n,o,M[D[u]],w[3],_[u])):(s=k(U,j,K,oe,ve,M[c[u]],T[4],C[u]),h=A(te,se,m,n,o,M[D[u]],w[4],_[u])),U=ve,ve=oe,oe=F(K,10),K=j,j=s,te=o,o=n,n=F(m,10),m=se,se=h}var v=this._b+K+n|0;this._b=this._c+oe+o|0,this._c=this._d+ve+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},be.exports=g},4412:(be,ee,E)=>{"use strict";E.d(ee,{t:()=>S});var a=E(1413);class S extends a.B{constructor(O){super(),this._value=O}get value(){return this.getValue()}_subscribe(O){const c=super._subscribe(O);return!c.closed&&O.next(this._value),c}getValue(){const{hasError:O,thrownError:c,_value:D}=this;if(O)throw c;return this._throwIfClosed(),D}next(O){super.next(this._value=O)}}},1985:(be,ee,E)=>{"use strict";E.d(ee,{c:()=>_});var a=E(7707),S=E(8359),p=E(3494),O=E(1203),c=E(1026),D=E(8071),C=E(9786);let _=(()=>{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 w(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:R}=this;k.add(M?M.call(k,R):R?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:R=>{try{B(R)}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,O.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:(be,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:_,_timestampProvider:T,_windowTime:w}=this;D||(C.push(c),!_&&C.push(T.now()+w)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const D=this._innerSubscribe(c),{_infiniteTimeWindow:C,_buffer:_}=this,T=_.slice();for(let w=0;w{"use strict";E.d(ee,{B:()=>C});var a=E(1985),S=E(8359);const O=(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 _(this,this);return F.operator=g,F}_throwIfClosed(){if(this.closed)throw new O}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=(w,g)=>new _(w,g),T})();class _ extends C{constructor(w,g){super(),this.destination=w,this.source=g}next(w){var g,F;null===(F=null===(g=this.destination)||void 0===g?void 0:g.next)||void 0===F||F.call(g,w)}error(w){var g,F;null===(F=null===(g=this.destination)||void 0===g?void 0:g.error)||void 0===F||F.call(g,w)}complete(){var w,g;null===(g=null===(w=this.destination)||void 0===w?void 0:w.complete)||void 0===g||g.call(w)}_subscribe(w){var g,F;return null!==(F=null===(g=this.source)||void 0===g?void 0:g.subscribe(w))&&void 0!==F?F:S.Kn}}},7707:(be,ee,E)=>{"use strict";E.d(ee,{Ms:()=>$,vU:()=>F});var a=E(8071),S=E(8359),p=E(1026),O=E(5334),c=E(5343);const D=T("C",void 0,void 0);function T(j,K,oe){return{kind:j,value:K,error:oe}}var w=E(9270),g=E(9786);class F extends S.yU{constructor(K){super(),this.isStopped=!1,K?(this.destination=K,(0,S.Uv)(K)&&K.add(this)):this.destination=U}static create(K,oe,ve){return new $(K,oe,ve)}next(K){this.isStopped?R(function _(j){return T("N",j,void 0)}(K),this):this._next(K)}error(K){this.isStopped?R(function C(j){return T("E",void 0,j)}(K),this):(this.isStopped=!0,this._error(K))}complete(){this.isStopped?R(D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(K){this.destination.next(K)}_error(K){try{this.destination.error(K)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function B(j,K){return A.call(j,K)}class P{constructor(K){this.partialObserver=K}next(K){const{partialObserver:oe}=this;if(oe.next)try{oe.next(K)}catch(ve){k(ve)}}error(K){const{partialObserver:oe}=this;if(oe.error)try{oe.error(K)}catch(ve){k(ve)}else k(K)}complete(){const{partialObserver:K}=this;if(K.complete)try{K.complete()}catch(oe){k(oe)}}}class $ extends F{constructor(K,oe,ve){let te;if(super(),(0,a.T)(K)||!K)te={next:null!=K?K:void 0,error:null!=oe?oe:void 0,complete:null!=ve?ve:void 0};else{let se;this&&p.$.useDeprecatedNextContext?(se=Object.create(K),se.unsubscribe=()=>this.unsubscribe(),te={next:K.next&&B(K.next,se),error:K.error&&B(K.error,se),complete:K.complete&&B(K.complete,se)}):te=K}this.destination=new P(te)}}function k(j){p.$.useDeprecatedSynchronousErrorHandling?(0,g.l)(j):(0,O.m)(j)}function R(j,K){const{onStoppedNotification:oe}=p.$;oe&&w.f.setTimeout(()=>oe(j,K))}const U={closed:!0,next:c.l,error:function M(j){throw j},complete:c.l}},8359:(be,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 O=E(7908);class c{constructor(w){this.initialTeardown=w,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let w;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){w=B instanceof p?B.errors:[B]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const B of A)try{_(B)}catch(P){w=null!=w?w:[],P instanceof p?w=[...w,...P.errors]:w.push(P)}}if(w)throw new p(w)}}add(w){var g;if(w&&w!==this)if(this.closed)_(w);else{if(w instanceof c){if(w.closed||w._hasParent(this))return;w._addParent(this)}(this._finalizers=null!==(g=this._finalizers)&&void 0!==g?g:[]).push(w)}}_hasParent(w){const{_parentage:g}=this;return g===w||Array.isArray(g)&&g.includes(w)}_addParent(w){const{_parentage:g}=this;this._parentage=Array.isArray(g)?(g.push(w),g):g?[g,w]:w}_removeParent(w){const{_parentage:g}=this;g===w?this._parentage=null:Array.isArray(g)&&(0,O.o)(g,w)}remove(w){const{_finalizers:g}=this;g&&(0,O.o)(g,w),w instanceof c&&w._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 _(T){(0,a.T)(T)?T():T.unsubscribe()}},1026:(be,ee,E)=>{"use strict";E.d(ee,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3207:(be,ee,E)=>{"use strict";E.d(ee,{s:()=>S});var a=E(9350);function S(p,O){const c="object"==typeof O;return new Promise((D,C)=>{let T,_=!1;p.subscribe({next:w=>{T=w,_=!0},error:C,complete:()=>{_?D(T):c?D(O.defaultValue):C(new a.G)}})})}},17:(be,ee,E)=>{"use strict";E.d(ee,{G:()=>D});var a=E(1985),S=E(8359),p=E(9898),O=E(4360),c=E(9974);class D extends a.c{constructor(_,T){super(),this.source=_,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,c.S)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,null==_||_.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new S.yU;const T=this.getSubject();_.add(this.source.subscribe((0,O._)(T,void 0,()=>{this._teardown(),T.complete()},w=>{this._teardown(),T.error(w)},()=>this._teardown()))),_.closed&&(this._connection=null,_=S.yU.EMPTY)}return _}refCount(){return(0,p.B)()(this)}}},4572:(be,ee,E)=>{"use strict";E.d(ee,{z:()=>w});var a=E(1985),S=E(3073),p=E(6648),O=E(3669),c=E(6450),D=E(9326),C=E(8496),_=E(4360),T=E(5225);function w(...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=O.D){return $=>{F(B,()=>{const{length:k}=A,M=new Array(k);let R=k,U=k;for(let j=0;j{const K=(0,p.H)(A[j],B);let oe=!1;K.subscribe((0,_._)($,ve=>{M[j]=ve,oe||(oe=!0,U--),U||$.next(P(M.slice()))},()=>{--R||$.complete()}))},$)},$)}}($,B,k?R=>(0,C.e)(k,R):O.D));return P?M.pipe((0,c.I)(P)):M}function F(A,B,P){A?(0,T.N)(P,A,B):B()}},8793:(be,ee,E)=>{"use strict";E.d(ee,{x:()=>c});var a=E(6365),p=E(9326),O=E(6648);function c(...D){return function S(){return(0,a.U)(1)}()((0,O.H)(D,(0,p.lI)(D)))}},9030:(be,ee,E)=>{"use strict";E.d(ee,{v:()=>p});var a=E(1985),S=E(8750);function p(O){return new a.c(c=>{(0,S.Tg)(O()).subscribe(c)})}},983:(be,ee,E)=>{"use strict";E.d(ee,{w:()=>S});const S=new(E(1985).c)(c=>c.complete())},7468:(be,ee,E)=>{"use strict";E.d(ee,{p:()=>_});var a=E(1985),S=E(3073),p=E(8750),O=E(9326),c=E(4360),D=E(6450),C=E(8496);function _(...T){const w=(0,O.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 R=0;R{U||(U=!0,M--),$[R]=j},()=>k--,void 0,()=>{(!k||!U)&&(M||B.next(F?(0,C.e)(F,$):$),B.complete())}))}});return w?A.pipe((0,D.I)(w)):A}},6648:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>ve});var a=E(8750),S=E(5225),p=E(9974),O=E(4360);function c(te,se=0){return(0,p.N)((m,n)=>{m.subscribe((0,O._)(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),R=E(7953),U=E(591),j=E(5196);function ve(te,se){return se?function oe(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 w(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 _(te,se){return(0,a.Tg)(te).pipe(D(se),c(se))}(te,se);if((0,R.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 K(te,se){return B((0,j.C)(te),se)}(te,se)}throw(0,U.L)(te)}(te,se):(0,a.Tg)(te)}},3726:(be,ee,E)=>{"use strict";E.d(ee,{R:()=>w});var a=E(8750),S=E(1985),p=E(3028),O=E(7441),c=E(8071),D=E(6450);const C=["addListener","removeListener"],_=["addEventListener","removeEventListener"],T=["on","off"];function w(P,$,k,M){if((0,c.T)(k)&&(M=k,k=void 0),M)return w(P,$,k).pipe((0,D.I)(M));const[R,U]=function B(P){return(0,c.T)(P.addEventListener)&&(0,c.T)(P.removeEventListener)}(P)?_.map(j=>K=>P[j]($,K,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(!R&&(0,O.X)(P))return(0,p.Z)(j=>w(j,$,k))((0,a.Tg)(P));if(!R)throw new TypeError("Invalid event target");return new S.c(j=>{const K=(...oe)=>j.next(1U(K)})}function g(P,$){return k=>M=>P[k]($,M)}},8750:(be,ee,E)=>{"use strict";E.d(ee,{Tg:()=>A});var a=E(1635),S=E(7441),p=E(9858),O=E(1985),c=E(5055),D=E(7953),C=E(591),_=E(5397),T=E(5196),w=E(8071),g=E(5334),F=E(3494);function A(j){if(j instanceof O.c)return j;if(null!=j){if((0,c.l)(j))return function B(j){return new O.c(K=>{const oe=j[F.s]();if((0,w.T)(oe.subscribe))return oe.subscribe(K);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(j);if((0,S.X)(j))return function P(j){return new O.c(K=>{for(let oe=0;oe{j.then(oe=>{K.closed||(K.next(oe),K.complete())},oe=>K.error(oe)).then(null,g.m)})}(j);if((0,D.T)(j))return M(j);if((0,_.x)(j))return function k(j){return new O.c(K=>{for(const oe of j)if(K.next(oe),K.closed)return;K.complete()})}(j);if((0,T.U)(j))return function R(j){return M((0,T.C)(j))}(j)}throw(0,C.L)(j)}function M(j){return new O.c(K=>{(function U(j,K){var oe,ve,te,se;return(0,a.sH)(this,void 0,void 0,function*(){try{for(oe=(0,a.xN)(j);!(ve=yield oe.next()).done;)if(K.next(ve.value),K.closed)return}catch(m){te={error:m}}finally{try{ve&&!ve.done&&(se=oe.return)&&(yield se.call(oe))}finally{if(te)throw te.error}}K.complete()})})(j,K).catch(oe=>K.error(oe))})}},7673:(be,ee,E)=>{"use strict";E.d(ee,{of:()=>p});var a=E(9326),S=E(6648);function p(...O){const c=(0,a.lI)(O);return(0,S.H)(O,c)}},8810:(be,ee,E)=>{"use strict";E.d(ee,{$:()=>p});var a=E(1985),S=E(8071);function p(O,c){const D=(0,S.T)(O)?O:()=>O,C=_=>_.error(D());return new a.c(c?_=>c.schedule(C,0,_):C)}},4360:(be,ee,E)=>{"use strict";E.d(ee,{_:()=>S});var a=E(7707);function S(O,c,D,C,_){return new p(O,c,D,C,_)}class p extends a.vU{constructor(c,D,C,_,T,w){super(c),this.onFinalize=T,this.shouldUnsubscribe=w,this._next=D?function(g){try{D(g)}catch(F){c.error(F)}}:super._next,this._error=_?function(g){try{_(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:(be,ee,E)=>{"use strict";E.d(ee,{W:()=>O});var a=E(8750),S=E(4360),p=E(9974);function O(c){return(0,p.N)((D,C)=>{let w,_=null,T=!1;_=D.subscribe((0,S._)(C,void 0,void 0,g=>{w=(0,a.Tg)(c(g,O(c)(D))),_?(_.unsubscribe(),_=null,w.subscribe(C)):T=!0})),T&&(_.unsubscribe(),_=null,w.subscribe(C))})}},274:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>p});var a=E(3028),S=E(8071);function p(O,c){return(0,S.T)(c)?(0,a.Z)(O,c,1):(0,a.Z)(O,1)}},5964:(be,ee,E)=>{"use strict";E.d(ee,{p:()=>p});var a=E(9974),S=E(4360);function p(O,c){return(0,a.N)((D,C)=>{let _=0;D.subscribe((0,S._)(C,T=>O.call(c,T,_++)&&C.next(T)))})}},980:(be,ee,E)=>{"use strict";E.d(ee,{j:()=>S});var a=E(9974);function S(p){return(0,a.N)((O,c)=>{try{O.subscribe(c)}finally{c.add(p)}})}},6354:(be,ee,E)=>{"use strict";E.d(ee,{T:()=>p});var a=E(9974),S=E(4360);function p(O,c){return(0,a.N)((D,C)=>{let _=0;D.subscribe((0,S._)(C,T=>{C.next(O.call(c,T,_++))}))})}},3703:(be,ee,E)=>{"use strict";E.d(ee,{u:()=>S});var a=E(6354);function S(p){return(0,a.T)(()=>p)}},6365:(be,ee,E)=>{"use strict";E.d(ee,{U:()=>p});var a=E(3028),S=E(3669);function p(O=1/0){return(0,a.Z)(S.D,O)}},5412:(be,ee,E)=>{"use strict";E.d(ee,{h:()=>O});var a=E(8750),S=E(5225),p=E(4360);function O(c,D,C,_,T,w,g,F){const A=[];let B=0,P=0,$=!1;const k=()=>{$&&!A.length&&!B&&D.complete()},M=U=>B<_?R(U):A.push(U),R=U=>{w&&D.next(U),B++;let j=!1;(0,a.Tg)(C(U,P++)).subscribe((0,p._)(D,K=>{null==T||T(K),w?M(K):D.next(K)},()=>{j=!0},void 0,()=>{if(j)try{for(B--;A.length&&B<_;){const K=A.shift();g?(0,S.N)(D,g,()=>R(K)):R(K)}k()}catch(K){D.error(K)}}))};return c.subscribe((0,p._)(D,M,()=>{$=!0,k()})),()=>{null==F||F()}}},3028:(be,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(6354),S=E(8750),p=E(9974),O=E(5412),c=E(8071);function D(C,_,T=1/0){return(0,c.T)(_)?D((w,g)=>(0,a.T)((F,A)=>_(w,F,g,A))((0,S.Tg)(C(w,g))),T):("number"==typeof _&&(T=_),(0,p.N)((w,g)=>(0,O.h)(w,g,C,T)))}},9898:(be,ee,E)=>{"use strict";E.d(ee,{B:()=>p});var a=E(9974),S=E(4360);function p(){return(0,a.N)((O,c)=>{let D=null;O._refCount++;const C=(0,S._)(c,void 0,void 0,void 0,()=>{if(!O||O._refCount<=0||0<--O._refCount)return void(D=null);const _=O._connection,T=D;D=null,_&&(!T||_===T)&&_.unsubscribe(),c.unsubscribe()});O.subscribe(C),C.closed||(D=O.connect())})}},6649:(be,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(4360);function S(p,O,c,D,C){return(_,T)=>{let w=c,g=O,F=0;_.subscribe((0,a._)(T,A=>{const B=F++;g=w?p(g,A,B):(w=!0,A),D&&T.next(g)},C&&(()=>{w&&T.next(g),T.complete()})))}}},5558:(be,ee,E)=>{"use strict";E.d(ee,{n:()=>O});var a=E(8750),S=E(9974),p=E(4360);function O(c,D){return(0,S.N)((C,_)=>{let T=null,w=0,g=!1;const F=()=>g&&!T&&_.complete();C.subscribe((0,p._)(_,A=>{null==T||T.unsubscribe();let B=0;const P=w++;(0,a.Tg)(c(A,P)).subscribe(T=(0,p._)(_,$=>_.next(D?D(A,$,P,B++):$),()=>{T=null,F()}))},()=>{g=!0,F()}))})}},6697:(be,ee,E)=>{"use strict";E.d(ee,{s:()=>O});var a=E(983),S=E(9974),p=E(4360);function O(c){return c<=0?()=>a.w:(0,S.N)((D,C)=>{let _=0;D.subscribe((0,p._)(C,T=>{++_<=c&&(C.next(T),c<=_&&C.complete())}))})}},8141:(be,ee,E)=>{"use strict";E.d(ee,{M:()=>c});var a=E(8071),S=E(9974),p=E(4360),O=E(3669);function c(D,C,_){const T=(0,a.T)(D)||C||_?{next:D,error:C,complete:_}:D;return T?(0,S.N)((w,g)=>{var F;null===(F=T.subscribe)||void 0===F||F.call(T);let A=!0;w.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)}))}):O.D}},6129:(be,ee,E)=>{"use strict";E.d(ee,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},9270:(be,ee,E)=>{"use strict";E.d(ee,{f:()=>a});const a={setTimeout(S,p,...O){const{delegate:c}=a;return null!=c&&c.setTimeout?c.setTimeout(S,p,...O):setTimeout(S,p,...O)},clearTimeout(S){const{delegate:p}=a;return((null==p?void 0:p.clearTimeout)||clearTimeout)(S)},delegate:void 0}},4761:(be,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(be,ee,E)=>{"use strict";E.d(ee,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{R0:()=>D,lI:()=>c,ms:()=>O});var a=E(8071),S=E(9470);function p(C){return C[C.length-1]}function O(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,_){return"number"==typeof p(C)?C.pop():_}},3073:(be,ee,E)=>{"use strict";E.d(ee,{D:()=>c});const{isArray:a}=Array,{getPrototypeOf:S,prototype:p,keys:O}=Object;function c(C){if(1===C.length){const _=C[0];if(a(_))return{args:_,keys:null};if(function D(C){return C&&"object"==typeof C&&S(C)===p}(_)){const T=O(_);return{args:T.map(w=>_[w]),keys:T}}}return{args:C,keys:null}}},7908:(be,ee,E)=>{"use strict";function a(S,p){if(S){const O=S.indexOf(p);0<=O&&S.splice(O,1)}}E.d(ee,{o:()=>a})},1853:(be,ee,E)=>{"use strict";function a(S){const O=S(c=>{Error.call(c),c.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}E.d(ee,{L:()=>a})},8496:(be,ee,E)=>{"use strict";function a(S,p){return S.reduce((O,c,D)=>(O[c]=p[D],O),{})}E.d(ee,{e:()=>a})},9786:(be,ee,E)=>{"use strict";E.d(ee,{Y:()=>p,l:()=>O});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:_}=S;if(S=null,C)throw _}}else c()}function O(c){a.$.useDeprecatedSynchronousErrorHandling&&S&&(S.errorThrown=!0,S.error=c)}},5225:(be,ee,E)=>{"use strict";function a(S,p,O,c=0,D=!1){const C=p.schedule(function(){O(),D?S.add(this.schedule(null,c)):this.unsubscribe()},c);if(S.add(C),!D)return C}E.d(ee,{N:()=>a})},3669:(be,ee,E)=>{"use strict";function a(S){return S}E.d(ee,{D:()=>a})},7441:(be,ee,E)=>{"use strict";E.d(ee,{X:()=>a});const a=S=>S&&"number"==typeof S.length&&"function"!=typeof S},7953:(be,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:(be,ee,E)=>{"use strict";function a(S){return"function"==typeof S}E.d(ee,{T:()=>a})},5055:(be,ee,E)=>{"use strict";E.d(ee,{l:()=>p});var a=E(3494),S=E(8071);function p(O){return(0,S.T)(O[a.s])}},5397:(be,ee,E)=>{"use strict";E.d(ee,{x:()=>p});var a=E(4761),S=E(8071);function p(O){return(0,S.T)(null==O?void 0:O[a.l])}},4402:(be,ee,E)=>{"use strict";E.d(ee,{A:()=>p});var a=E(1985),S=E(8071);function p(O){return!!O&&(O instanceof a.c||(0,S.T)(O.lift)&&(0,S.T)(O.subscribe))}},9858:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{C:()=>p,U:()=>O});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:_,done:T}=yield(0,a.N3)(C.read());if(T)return yield(0,a.N3)(void 0);yield yield(0,a.N3)(_)}}finally{C.releaseLock()}})}function O(c){return(0,S.T)(null==c?void 0:c.getReader)}},9470:(be,ee,E)=>{"use strict";E.d(ee,{m:()=>S});var a=E(8071);function S(p){return p&&(0,a.T)(p.schedule)}},9974:(be,ee,E)=>{"use strict";E.d(ee,{N:()=>p,S:()=>S});var a=E(8071);function S(O){return(0,a.T)(null==O?void 0:O.lift)}function p(O){return c=>{if(S(c))return c.lift(function(D){try{return O(D,this)}catch(C){this.error(C)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(be,ee,E)=>{"use strict";E.d(ee,{I:()=>O});var a=E(6354);const{isArray:S}=Array;function O(c){return(0,a.T)(D=>function p(c,D){return S(D)?c(...D):c(D)}(c,D))}},5343:(be,ee,E)=>{"use strict";function a(){}E.d(ee,{l:()=>a})},1203:(be,ee,E)=>{"use strict";E.d(ee,{F:()=>S,m:()=>p});var a=E(3669);function S(...O){return p(O)}function p(O){return 0===O.length?a.D:1===O.length?O[0]:function(D){return O.reduce((C,_)=>_(C),D)}}},5334:(be,ee,E)=>{"use strict";E.d(ee,{m:()=>p});var a=E(1026),S=E(9270);function p(O){S.f.setTimeout(()=>{const{onUnhandledError:c}=a.$;if(!c)throw O;c(O)})}},591:(be,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:(be,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?be.exports=a:(p(a,ee),ee.Buffer=O),O.prototype=Object.create(S.prototype),p(S,O),O.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},O.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var _=S(c);return void 0!==D?"string"==typeof C?_.fill(D,C):_.fill(D):_.fill(0),_},O.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},O.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},463:(be,ee,E)=>{var a=E(7054).Buffer;function S(p,O){this._block=a.alloc(p),this._finalSize=O,this._blockSize=p,this._len=0}S.prototype.update=function(p,O){"string"==typeof p&&(p=a.from(p,O=O||"utf8"));for(var c=this._block,D=this._blockSize,C=p.length,_=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 _=this._hash();return p?_.toString(p):_},S.prototype._update=function(){throw new Error("_update must be implemented by subclass")},be.exports=S},5443:(be,ee,E)=>{var a=be.exports=function(p){p=p.toLowerCase();var O=a[p];if(!O)throw new Error(p+" is not supported (we accept pull requests)");return new O};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:(be,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,O=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function D(){this.init(),this._w=c,S.call(this,64,56)}function C(w){return w<<5|w>>>27}function _(w){return w<<30|w>>>2}function T(w,g,F,A){return 0===w?g&F|~g&A:2===w?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(w){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]=w.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 R=~~(M/20),U=C(F)+T(R,A,B,P)+$+g[M]+O[R]|0;$=P,P=B,B=_(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 w=p.allocUnsafe(20);return w.writeInt32BE(0|this._a,0),w.writeInt32BE(0|this._b,4),w.writeInt32BE(0|this._c,8),w.writeInt32BE(0|this._d,12),w.writeInt32BE(0|this._e,16),w},be.exports=D},1270:(be,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,O=[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 _(g){return g<<5|g>>>27}function T(g){return g<<30|g>>>2}function w(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 R=0;R<80;++R){var U=~~(R/20),j=_(A)+w(U,B,P,$)+k+F[R]+O[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},be.exports=D},2709:(be,ee,E)=>{var a=E(1993),S=E(2148),p=E(463),O=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=O.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},be.exports=D},2148:(be,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,O=[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 _(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 w(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,R=0|this._e,U=0|this._f,j=0|this._g,K=0|this._h,oe=0;oe<16;++oe)B[oe]=A.readInt32BE(4*oe);for(;oe<64;++oe)B[oe]=F(B[oe-2])+B[oe-7]+g(B[oe-15])+B[oe-16]|0;for(var ve=0;ve<64;++ve){var te=K+w(R)+C(R,U,j)+O[ve]+B[ve]|0,se=T(P)+_(P,$,k)|0;K=j,j=U,U=R,R=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=R+this._e|0,this._f=U+this._f|0,this._g=j+this._g|0,this._h=K+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},be.exports=D},1856:(be,ee,E)=>{var a=E(1993),S=E(3121),p=E(463),O=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=O.allocUnsafe(48);function _(T,w,g){C.writeInt32BE(T,g),C.writeInt32BE(w,g+4)}return _(this._ah,this._al,0),_(this._bh,this._bl,8),_(this._ch,this._cl,16),_(this._dh,this._dl,24),_(this._eh,this._el,32),_(this._fh,this._fl,40),C},be.exports=D},3121:(be,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,O=[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 _($,k,M){return $&k|M&($|k)}function T($,k){return($>>>28|k<<4)^(k>>>2|$<<30)^(k>>>7|$<<25)}function w($,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,R=0|this._bh,U=0|this._ch,j=0|this._dh,K=0|this._eh,oe=0|this._fh,ve=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),me=k[y-32],Me=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)+me+P(Q=Q+Me|0,Me)|0,k[y]=ae,k[y+1]=Q}for(var tt=0;tt<160;tt+=2){ae=k[tt],Q=k[tt+1];var Re=_(M,R,U),pe=_(se,m,n),Ie=T(M,se),Se=T(se,M),ie=w(K,u),ne=w(u,K),G=O[tt],Ee=O[tt+1],vt=C(K,oe,ve),Qe=C(u,s,h),rt=v+ne|0,nn=te+ie+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,ft=Ie+Re+P(gt,Se)|0;te=ve,v=h,ve=oe,h=s,oe=K,s=u,K=j+nn+P(u=o+rt|0,o)|0,j=U,o=n,U=R,n=m,R=M,m=se,M=nn+ft+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+R+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+K+P(this._el,u)|0,this._fh=this._fh+oe+P(this._fl,s)|0,this._gh=this._gh+ve+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,R,U){$.writeInt32BE(M,U),$.writeInt32BE(R,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),$},be.exports=D},7045:(be,ee,E)=>{be.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(O,c){var D=this;function C(B){O.writable&&!1===O.write(B)&&D.pause&&D.pause()}function _(){D.readable&&D.resume&&D.resume()}D.on("data",C),O.on("drain",_),!O._isStdio&&(!c||!1!==c.end)&&(D.on("end",w),D.on("close",g));var T=!1;function w(){T||(T=!0,O.end())}function g(){T||(T=!0,"function"==typeof O.destroy&&O.destroy())}function F(B){if(A(),0===a.listenerCount(this,"error"))throw B}function A(){D.removeListener("data",C),O.removeListener("drain",_),D.removeListener("end",w),D.removeListener("close",g),D.removeListener("error",F),O.removeListener("error",F),D.removeListener("end",A),D.removeListener("close",A),O.removeListener("close",A)}return D.on("error",F),O.on("error",F),D.on("end",A),D.on("close",A),O.on("close",A),O.emit("pipe",D),O}},8083:be=>{"use strict";var E={};function a(D,C,_){_||(_=Error);var w=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=_.name,w.prototype.code=D,E[D]=w}function S(D,C){if(Array.isArray(D)){var _=D.length;return D=D.map(function(T){return String(T)}),_>2?"one of ".concat(C," ").concat(D.slice(0,_-1).join(", "),", or ")+D[_-1]:2===_?"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,_){var T,w;if("string"==typeof C&&function p(D,C,_){return D.substr(!_||_<0?0:+_,C.length)===C}(C,"not ")?(T="must not be",C=C.replace(/^not /,"")):T="must be",function O(D,C,_){return(void 0===_||_>D.length)&&(_=D.length),D.substring(_-C.length,_)===C}(D," argument"))w="The ".concat(D," ").concat(T," ").concat(S(C,"type"));else{var g=function c(D,C,_){return"number"!=typeof _&&(_=0),!(_+C.length>D.length)&&-1!==D.indexOf(C,_)}(D,".")?"property":"argument";w='The "'.concat(D,'" ').concat(g," ").concat(T," ").concat(S(C,"type"))}return w+". Received type ".concat(typeof _)},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"),be.exports.F=E},1030:(be,ee,E)=>{"use strict";var a=Object.keys||function(w){var g=[];for(var F in w)g.push(F);return g};be.exports=C;var S=E(1092),p=E(5492);E(1993)(C,S);for(var O=a(p.prototype),c=0;c{"use strict";be.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,O,c){c(null,p)}},1092:(be,ee,E)=>{"use strict";var a;be.exports=m,m.ReadableState=se,E(4356);var w,p=function(Ie,Se){return Ie.listeners(Se).length},O=E(2601),c=E(3838).Buffer,D=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},T=E(7199);w=T&&T.debuglog?T.debuglog("stream"):function(){};var U,j,K,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,R=P.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;E(1993)(m,O);var oe=F.errorOrDestroy,ve=["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)),O.call(this)}function n(pe,Ie,Se,ie,ne){w("readableAddChunk",Ie);var Ee,G=pe._readableState;if(null===Ie)G.reading=!1,function y(pe,Ie){if(w("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 _(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)oe(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)),ie)G.endEmitted?oe(pe,new R):o(pe,G,Ie,!0);else if(G.ended)oe(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 ie||(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;w("emitReadable",Ie.needReadable,Ie.emittedReadable),Ie.needReadable=!1,Ie.emittedReadable||(w("emitReadable",Ie.flowing),Ie.emittedReadable=!0,process.nextTick(r,pe))}function r(pe){var Ie=pe._readableState;w("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,Me(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 J(pe){w("readable nexttick read 0"),pe.read(0)}function me(pe,Ie){w("resume",Ie.reading),Ie.reading||pe.read(0),Ie.resumeScheduled=!1,pe.emit("resume"),Me(pe),Ie.flowing&&!Ie.reading&&pe.read(0)}function Me(pe){var Ie=pe._readableState;for(w("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;w("endReadable",Ie.endEmitted),Ie.endEmitted||(Ie.ended=!0,process.nextTick(tt,Ie,pe))}function tt(pe,Ie){if(w("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 Re(pe,Ie){for(var Se=0,ie=pe.length;Se=Ie.highWaterMark:Ie.length>0)||Ie.ended))return w("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,ie=Ie.needReadable;return w("need readable",ie),(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){oe(this,new M("_read()"))},m.prototype.pipe=function(pe,Ie){var Se=this,ie=this._readableState;switch(ie.pipesCount){case 0:ie.pipes=pe;break;case 1:ie.pipes=[ie.pipes,pe];break;default:ie.pipes.push(pe)}ie.pipesCount+=1,w("pipe count=%d opts=%j",ie.pipesCount,Ie);var G=Ie&&!1===Ie.end||pe===process.stdout||pe===process.stderr?Pt:vt;function vt(){w("onend"),pe.end()}ie.endEmitted?process.nextTick(G):Se.once("end",G),pe.on("unpipe",function Ee(En,St){w("onunpipe"),En===Se&&St&&!1===St.hasUnpiped&&(St.hasUnpiped=!0,function nn(){w("cleanup"),pe.removeListener("close",on),pe.removeListener("finish",wt),pe.removeListener("drain",Qe),pe.removeListener("error",ft),pe.removeListener("unpipe",Ee),Se.removeListener("end",vt),Se.removeListener("end",Pt),Se.removeListener("data",gt),rt=!0,ie.awaitDrain&&(!pe._writableState||pe._writableState.needDrain)&&Qe()}())});var Qe=function I(pe){return function(){var Se=pe._readableState;w("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,0===Se.awaitDrain&&p(pe,"data")&&(Se.flowing=!0,Me(pe))}}(Se);pe.on("drain",Qe);var rt=!1;function gt(En){w("ondata");var St=pe.write(En);w("dest.write",St),!1===St&&((1===ie.pipesCount&&ie.pipes===pe||ie.pipesCount>1&&-1!==Re(ie.pipes,pe))&&!rt&&(w("false write response, pause",ie.awaitDrain),ie.awaitDrain++),Se.pause())}function ft(En){w("onerror",En),Pt(),pe.removeListener("error",ft),0===p(pe,"error")&&oe(pe,En)}function on(){pe.removeListener("finish",wt),Pt()}function wt(){w("onfinish"),pe.removeListener("close",on),Pt()}function Pt(){w("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",ft),pe.once("close",on),pe.once("finish",wt),pe.emit("pipe",Se),ie.flowing||(w("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 ie=Ie.pipes,ne=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var G=0;G0,!1!==ie.flowing&&this.resume()):"readable"===pe&&!ie.endEmitted&&!ie.readableListening&&(ie.readableListening=ie.needReadable=!0,ie.flowing=!1,ie.emittedReadable=!1,w("on readable",ie.length,ie.reading),ie.length?f(this):ie.reading||process.nextTick(J,this)),Se},m.prototype.removeListener=function(pe,Ie){var Se=O.prototype.removeListener.call(this,pe,Ie);return"readable"===pe&&process.nextTick(V,this),Se},m.prototype.removeAllListeners=function(pe){var Ie=O.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||(w("resume"),pe.flowing=!pe.readableListening,function re(pe,Ie){Ie.resumeScheduled||(Ie.resumeScheduled=!0,process.nextTick(me,pe,Ie))}(this,pe)),pe.paused=!1,this},m.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},m.prototype.wrap=function(pe){var Ie=this,Se=this._readableState,ie=!1;for(var ne in pe.on("end",function(){if(w("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){w("wrapped data"),Se.decoder&&(Ee=Se.decoder.write(Ee)),Se.objectMode&&null==Ee||!(Se.objectMode||Ee&&Ee.length)||Ie.push(Ee)||(ie=!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";be.exports=_;var a=E(8083).F,S=a.ERR_METHOD_NOT_IMPLEMENTED,p=a.ERR_MULTIPLE_CALLBACK,O=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(Me){var Q=this;this.next=null,this.entry=null,this.finish=function(){!function me(Me,Q,ae){var tt=Me.entry;for(Me.entry=null;tt;){var Re=tt.callback;Q.pendingcb--,Re(ae),tt=tt.next}Q.corkedRequestsFree.next=Me}(Q,Me)}}var p;be.exports=se,se.WritableState=ve;var te,O={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(){},w=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,R=A.ERR_STREAM_NULL_VALUES,U=A.ERR_STREAM_WRITE_AFTER_END,j=A.ERR_UNKNOWN_ENCODING,K=w.errorOrDestroy;function oe(){}function ve(Me,Q,ae){p=p||E(1030),"boolean"!=typeof ae&&(ae=Q instanceof p),this.objectMode=!!(Me=Me||{}).objectMode,ae&&(this.objectMode=this.objectMode||!!Me.writableObjectMode),this.highWaterMark=F(this,Me,"writableHighWaterMark",ae),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Me.decodeStrings),this.defaultEncoding=Me.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Re){!function y(Me,Q){var ae=Me._writableState,tt=ae.sync,Re=ae.writecb;if("function"!=typeof Re)throw new $;if(function v(Me){Me.writing=!1,Me.writecb=null,Me.length-=Me.writelen,Me.writelen=0}(ae),Q)!function h(Me,Q,ae,tt,Re){--Q.pendingcb,ae?(process.nextTick(Re,tt),process.nextTick(J,Me,Q),Me._writableState.errorEmitted=!0,K(Me,tt)):(Re(tt),Me._writableState.errorEmitted=!0,K(Me,tt),J(Me,Q))}(Me,ae,tt,Q,Re);else{var pe=L(ae)||Me.destroyed;!pe&&!ae.corked&&!ae.bufferProcessing&&ae.bufferedRequest&&d(Me,ae),tt?process.nextTick(f,Me,ae,pe,Re):f(Me,ae,pe,Re)}}(Q,Re)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Me.emitClose,this.autoDestroy=!!Me.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new S(this)}function se(Me){var Q=this instanceof(p=p||E(1030));if(!Q&&!te.call(se,this))return new se(Me);this._writableState=new ve(Me,this,Q),this.writable=!0,Me&&("function"==typeof Me.write&&(this._write=Me.write),"function"==typeof Me.writev&&(this._writev=Me.writev),"function"==typeof Me.destroy&&(this._destroy=Me.destroy),"function"==typeof Me.final&&(this._final=Me.final)),c.call(this)}function s(Me,Q,ae,tt,Re,pe,Ie){Q.writelen=tt,Q.writecb=Ie,Q.writing=!0,Q.sync=!0,Q.destroyed?Q.onwrite(new M("write")):ae?Me._writev(Re,Q.onwrite):Me._write(Re,pe,Q.onwrite),Q.sync=!1}function f(Me,Q,ae,tt){ae||function r(Me,Q){0===Q.length&&Q.needDrain&&(Q.needDrain=!1,Me.emit("drain"))}(Me,Q),Q.pendingcb--,tt(),J(Me,Q)}function d(Me,Q){Q.bufferProcessing=!0;var ae=Q.bufferedRequest;if(Me._writev&&ae&&ae.next){var Re=new Array(Q.bufferedRequestCount),pe=Q.corkedRequestsFree;pe.entry=ae;for(var Ie=0,Se=!0;ae;)Re[Ie]=ae,ae.isBuf||(Se=!1),ae=ae.next,Ie+=1;Re.allBuffers=Se,s(Me,Q,!0,Q.length,Re,"",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 ie=ae.chunk;if(s(Me,Q,!1,Q.objectMode?1:ie.length,ie,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(Me){return Me.ending&&0===Me.length&&null===Me.bufferedRequest&&!Me.finished&&!Me.writing}function I(Me,Q){Me._final(function(ae){Q.pendingcb--,ae&&K(Me,ae),Q.prefinished=!0,Me.emit("prefinish"),J(Me,Q)})}function J(Me,Q){var ae=L(Q);if(ae&&(function V(Me,Q){!Q.prefinished&&!Q.finalCalled&&("function"!=typeof Me._final||Q.destroyed?(Q.prefinished=!0,Me.emit("prefinish")):(Q.pendingcb++,Q.finalCalled=!0,process.nextTick(I,Me,Q)))}(Me,Q),0===Q.pendingcb&&(Q.finished=!0,Me.emit("finish"),Q.autoDestroy))){var tt=Me._readableState;(!tt||tt.autoDestroy&&tt.endEmitted)&&Me.destroy()}return ae}E(1993)(se,c),ve.prototype.getBuffer=function(){for(var Q=this.bufferedRequest,ae=[];Q;)ae.push(Q),Q=Q.next;return ae},function(){try{Object.defineProperty(ve.prototype,"buffer",{get:O.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 ve}})):te=function(Q){return Q instanceof this},se.prototype.pipe=function(){K(this,new k)},se.prototype.write=function(Me,Q,ae){var tt=this._writableState,Re=!1,pe=!tt.objectMode&&function T(Me){return D.isBuffer(Me)||Me instanceof C}(Me);return pe&&!D.isBuffer(Me)&&(Me=function _(Me){return D.from(Me)}(Me)),"function"==typeof Q&&(ae=Q,Q=null),pe?Q="buffer":Q||(Q=tt.defaultEncoding),"function"!=typeof ae&&(ae=oe),tt.ending?function m(Me,Q){var ae=new U;K(Me,ae),process.nextTick(Q,ae)}(this,ae):(pe||function n(Me,Q,ae,tt){var Re;return null===ae?Re=new R:"string"!=typeof ae&&!Q.objectMode&&(Re=new B("chunk",["string","Buffer"],ae)),!Re||(K(Me,Re),process.nextTick(tt,Re),!1)}(this,tt,Me,ae))&&(tt.pendingcb++,Re=function u(Me,Q,ae,tt,Re,pe){if(!ae){var Ie=function o(Me,Q,ae){return!Me.objectMode&&!1!==Me.decodeStrings&&"string"==typeof Q&&(Q=D.from(Q,ae)),Q}(Q,tt,Re);tt!==Ie&&(ae=!0,Re="buffer",tt=Ie)}var Se=Q.objectMode?1:tt.length;Q.length+=Se;var ie=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(Me,Q,ae){ae(new P("_write()"))},se.prototype._writev=null,se.prototype.end=function(Me,Q,ae){var tt=this._writableState;return"function"==typeof Me?(ae=Me,Me=null,Q=null):"function"==typeof Q&&(ae=Q,Q=null),null!=Me&&this.write(Me,Q),tt.corked&&(tt.corked=1,this.uncork()),tt.ending||function re(Me,Q,ae){Q.ending=!0,J(Me,Q),ae&&(Q.finished?process.nextTick(ae):Me.once("finish",ae)),Q.ended=!0,Me.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=w.destroy,se.prototype._undestroy=w.undestroy,se.prototype._destroy=function(Me,Q){Q(Me)}},2683:(be,ee,E)=>{"use strict";var a;function S(U,j,K){return j=function p(U){var j=function O(U,j){if("object"!=typeof U||null===U)return U;var K=U[Symbol.toPrimitive];if(void 0!==K){var oe=K.call(U,j||"default");if("object"!=typeof oe)return oe;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:K,enumerable:!0,configurable:!0,writable:!0}):U[j]=K,U}var c=E(7854),D=Symbol("lastResolve"),C=Symbol("lastReject"),_=Symbol("error"),T=Symbol("ended"),w=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 K=U[F].read();null!==K&&(U[w]=null,U[D]=null,U[C]=null,j(A(K,!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,K=this[_];if(null!==K)return Promise.reject(K);if(this[T])return Promise.resolve(A(void 0,!0));if(this[F].destroyed)return new Promise(function(se,m){process.nextTick(function(){j[_]?m(j[_]):se(A(void 0,!0))})});var ve,oe=this[w];if(oe)ve=new Promise(function $(U,j){return function(K,oe){U.then(function(){j[T]?K(A(void 0,!0)):j[g](K,oe)},oe)}}(oe,this));else{var te=this[F].read();if(null!==te)return Promise.resolve(A(te,!1));ve=new Promise(this[g])}return this[w]=ve,ve}},Symbol.asyncIterator,function(){return this}),S(a,"return",function(){var j=this;return new Promise(function(K,oe){j[F].destroy(null,function(ve){ve?oe(ve):K(A(void 0,!0))})})}),a),k);be.exports=function(j){var K,oe=Object.create(M,(S(K={},F,{value:j,writable:!0}),S(K,D,{value:null,writable:!0}),S(K,C,{value:null,writable:!0}),S(K,_,{value:null,writable:!0}),S(K,T,{value:j._readableState.endEmitted,writable:!0}),S(K,g,{value:function(te,se){var m=oe[F].read();m?(oe[w]=null,oe[D]=null,oe[C]=null,te(A(m,!1))):(oe[D]=te,oe[C]=se)},writable:!0}),K));return oe[w]=null,c(j,function(ve){if(ve&&"ERR_STREAM_PREMATURE_CLOSE"!==ve.code){var te=oe[C];return null!==te&&(oe[w]=null,oe[D]=null,oe[C]=null,te(ve)),void(oe[_]=ve)}var se=oe[D];null!==se&&(oe[w]=null,oe[D]=null,oe[C]=null,se(A(void 0,!0))),oe[T]=!0}),j.on("readable",P.bind(null,oe)),oe}},7606:(be,ee,E)=>{"use strict";function a(P,$){var k=Object.keys(P);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(P);$&&(M=M.filter(function(R){return Object.getOwnPropertyDescriptor(P,R).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,R=""+M.data;M=M.next;)R+=k+M.data;return R}},{key:"concat",value:function(k){if(0===this.length)return w.alloc(0);for(var M=w.allocUnsafe(k>>>0),R=this.head,U=0;R;)B(R.data,M,U),U+=R.data.length,R=R.next;return M}},{key:"consume",value:function(k,M){var R;return kj.length?j.length:k;if(U+=K===j.length?j:j.slice(0,k),0==(k-=K)){K===j.length?(++R,this.head=M.next?M.next:this.tail=null):(this.head=M,M.data=j.slice(K));break}++R}return this.length-=R,U}},{key:"_getBuffer",value:function(k){var M=w.allocUnsafe(k),R=this.head,U=1;for(R.data.copy(M),k-=R.data.length;R=R.next;){var j=R.data,K=k>j.length?j.length:k;if(j.copy(M,M.length-k,0,K),0==(k-=K)){K===j.length?(++U,this.head=R.next?R.next:this.tail=null):(this.head=R,R.data=j.slice(K));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:be=>{"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)}be.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(w){!D&&w?C._writableState?C._writableState.errorEmitted?process.nextTick(a,C):(C._writableState.errorEmitted=!0,process.nextTick(E,C,w)):process.nextTick(E,C,w):D?(process.nextTick(a,C),D(w)):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 O(c,D){var C=c._readableState,_=c._writableState;C&&C.autoDestroy||_&&_.autoDestroy?c.destroy(D):c.emit("error",D)}}},7854:(be,ee,E)=>{"use strict";var a=E(8083).F.ERR_STREAM_PREMATURE_CLOSE;function p(){}be.exports=function c(D,C,_){if("function"==typeof C)return c(D,null,C);C||(C={}),_=function S(D){var C=!1;return function(){if(!C){C=!0;for(var _=arguments.length,T=new Array(_),w=0;w<_;w++)T[w]=arguments[w];D.apply(this,T)}}}(_||p);var T=C.readable||!1!==C.readable&&D.readable,w=C.writable||!1!==C.writable&&D.writable,g=function(){D.writable||A()},F=D._writableState&&D._writableState.finished,A=function(){w=!1,F=!0,T||_.call(D)},B=D._readableState&&D._readableState.endEmitted,P=function(){T=!1,B=!0,w||_.call(D)},$=function(U){_.call(D,U)},k=function(){var U;return T&&!B?((!D._readableState||!D._readableState.ended)&&(U=new a),_.call(D,U)):w&&!F?((!D._writableState||!D._writableState.ended)&&(U=new a),_.call(D,U)):void 0},M=function(){D.req.on("finish",A)};return function O(D){return D.setHeader&&"function"==typeof D.abort}(D)?(D.on("complete",A),D.on("abort",k),D.req?M():D.on("request",M)):w&&!D._writableState&&(D.on("end",g),D.on("close",g)),D.on("end",P),D.on("finish",A),!1!==C.error&&D.on("error",$),D.on("close",k),function(){D.removeListener("complete",A),D.removeListener("abort",k),D.removeListener("request",M),D.req&&D.req.removeListener("finish",A),D.removeListener("end",g),D.removeListener("close",g),D.removeListener("finish",A),D.removeListener("end",P),D.removeListener("error",$),D.removeListener("close",k)}}},7765:be=>{be.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(be,ee,E)=>{"use strict";var a,p=E(8083).F,O=p.ERR_MISSING_ARGS,c=p.ERR_STREAM_DESTROYED;function D(A){if(A)throw A}function T(A){A()}function w(A,B){return A.pipe(B)}be.exports=function F(){for(var A=arguments.length,B=new Array(A),P=0;P0,function(oe){k||(k=oe),oe&&M.forEach(T),!j&&(M.forEach(T),$(k))})});return B.reduce(w)}},2827:(be,ee,E)=>{"use strict";var a=E(8083).F.ERR_INVALID_OPT_VALUE;be.exports={getHighWaterMark:function p(O,c,D,C){var _=function S(O,c,D){return null!=O.highWaterMark?O.highWaterMark:c?O[D]:null}(c,C,D);if(null!=_){if(!isFinite(_)||Math.floor(_)!==_||_<0)throw new a(C?D:"highWaterMark",_);return Math.floor(_)}return O.objectMode?16:16384}}},2601:(be,ee,E)=>{be.exports=E(4356).EventEmitter},8454:(be,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 R;switch(this.encoding=function O(M){var R=function p(M){if(!M)return"utf8";for(var R;;)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(R)return;M=(""+M).toLowerCase(),R=!0}}(M);if("string"!=typeof R&&(a.isEncoding===S||!S(M)))throw new Error("Unknown encoding: "+M);return R||M}(M),this.encoding){case"utf16le":this.text=F,this.end=A,R=4;break;case"utf8":this.fillLast=T,R=4;break;case"base64":this.text=B,this.end=P,R=3;break;default:return this.write=$,void(this.end=k)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(R)}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 R=this.lastTotal-this.lastNeed,U=function _(M,R,U){if(128!=(192&R[0]))return M.lastNeed=0,"\ufffd";if(M.lastNeed>1&&R.length>1){if(128!=(192&R[1]))return M.lastNeed=1,"\ufffd";if(M.lastNeed>2&&R.length>2&&128!=(192&R[2]))return M.lastNeed=2,"\ufffd"}}(this,M);return void 0!==U?U:this.lastNeed<=M.length?(M.copy(this.lastChar,R,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,R,0,M.length),void(this.lastNeed-=M.length))}function F(M,R){if((M.length-R)%2==0){var U=M.toString("utf16le",R);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",R,M.length-1)}function A(M){var R=M&&M.length?this.write(M):"";return this.lastNeed?R+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):R}function B(M,R){var U=(M.length-R)%3;return 0===U?M.toString("base64",R):(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",R,M.length-U))}function P(M){var R=M&&M.length?this.write(M):"";return this.lastNeed?R+this.lastChar.toString("base64",0,3-this.lastNeed):R}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 R,U;if(this.lastNeed){if(void 0===(R=this.fillLast(M)))return"";U=this.lastNeed,this.lastNeed=0}else U=0;return U=0?(K>0&&(M.lastNeed=K-1),K):--j=0?(K>0&&(M.lastNeed=K-2),K):--j=0?(K>0&&(2===K?K=0:M.lastNeed=K-3),K):0}(this,M,R);if(!this.lastNeed)return M.toString("utf8",R);this.lastTotal=U;var j=M.length-(U-this.lastNeed);return M.copy(this.lastChar,0,j),M.toString("utf8",R,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:(be,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?be.exports=a:(p(a,ee),ee.Buffer=O),p(S,O),O.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},O.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var _=S(c);return void 0!==D?"string"==typeof C?_.fill(D,C):_.fill(D):_.fill(0),_},O.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},O.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},3398:be=>{function E(a){try{if(!global.localStorage)return!1}catch{return!1}var S=global.localStorage[a];return null!=S&&"true"===String(S).toLowerCase()}be.exports=function ee(a,S){if(E("noDeprecation"))return a;var p=!1;return function O(){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:(be,ee,E)=>{"use strict";E.d(ee,{A:()=>g});const S={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let p;const O=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(O)}const D=[];for(let F=0;F<256;++F)D.push((F+256).toString(16).slice(1));const g=function w(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(be,ee){if(be.indexOf)return be.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 O=a[p],c=O[0];return Promise.all(O.slice(1).map(E.e)).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=8996,be.exports=S},5235:(be,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 O=a[p],c=O[0];return E.e(O[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=5235,be.exports=S},7321:(be,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 O=a[p],c=O[0];return E.e(O[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=7321,be.exports=S},8982:()=>{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},177:(be,ee,E)=>{"use strict";E.d(ee,{AJ:()=>Ai,B3:()=>dt,MD:()=>Di,N0:()=>Ne,QT:()=>p,Sm:()=>$,Sq:()=>Tn,T3:()=>xt,UE:()=>Hr,VF:()=>c,Vy:()=>wi,Xr:()=>Qi,YU:()=>Nt,ZD:()=>O,_b:()=>ut,aZ:()=>M,bT:()=>pr,fw:()=>k,hb:()=>B,hj:()=>T,qQ:()=>C});var a=E(4438);let S=null;function p(){return S}function O(Y){var xe;null!==(xe=S)&&void 0!==xe||(S=Y)}class c{}const C=new a.nKC("");let _=(()=>{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)(w),providedIn:"platform"}),xe})();const T=new a.nKC("");let w=(()=>{var Y;class xe extends _{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,Jt,pn;super(),this._platformLocation=de,this._removeListenerFns=[],this._baseHref=null!==(pt=null!==(Jt=null!=ze?ze:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Jt?Jt: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,Jt){const pn=this.prepareExternalUrl(pt+A(Jt));this._platformLocation.pushState(de,ze,pn)}replaceState(de,ze,pt,Jt){const pn=this.prepareExternalUrl(pt+A(Jt));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(_),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,Jt){let pn=this.prepareExternalUrl(pt+A(Jt));0==pn.length&&(pn=this._platformLocation.pathname),this._platformLocation.pushState(de,ze,pn)}replaceState(de,ze,pt,Jt){let pn=this.prepareExternalUrl(pt+A(Jt));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(_),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 K(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 Jt;this._urlChangeListeners.splice(pt,1),0===this._urlChangeListeners.length&&(null===(Jt=this._urlChangeSubscription)||void 0===Jt||Jt.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 R(){return new M((0,a.KVO)(B))}(),providedIn:"root"}),xe})();function j(Y){return Y.replace(/\/index.html$/,"")}function ut(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 It=/\s+/,Mt=[];let Nt=(()=>{var Y;class xe{constructor(de,ze){this._ngEl=de,this._renderer=ze,this.initialClasses=Mt,this.stateMap=new Map}set klass(de){this.initialClasses=null!=de?de.trim().split(It):Mt}set ngClass(de){this.rawClass="string"==typeof de?de.trim().split(It):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(It).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 Yt{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,Jt,pn)=>{if(null==pt.previousIndex)ze.createEmbeddedView(this._template,new Yt(pt.item,this._ngForOf,-1,-1),null===pn?void 0:pn);else if(null==pn)ze.remove(null===Jt?void 0:Jt);else if(null!==Jt){const Yn=ze.get(Jt);ze.move(Yn,pn),An(Yn,pt)}});for(let pt=0,Jt=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 pr=(()=>{var Y;class xe{constructor(de,ze){this._viewContainer=de,this._context=new We,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 We{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,Jt]=de.split("."),pn=-1===pt.indexOf("-")?void 0:a.czy.DashCase;null!=ze?this._renderer.setStyle(this._ngEl.nativeElement,pt,Jt?`${ze}${Jt}`: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 Jt=this._createContextForwardProxy();this._viewRef=pt.createEmbeddedView(this.ngTemplateOutlet,Jt,{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",Vi="server";function Hr(Y){return Y===Ai}function wi(Y){return Y===Vi}let Qi=(()=>{var Y;class xe{}return(Y=xe).\u0275prov=(0,a.jDH)({token:Y,providedIn:"root",factory:()=>Hr((0,a.WQX)(a.Agw))?new Pr((0,a.WQX)(C),window):new He}),xe})();class Pr{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 ui(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 Jt=pt.getElementById(xe)||pt.querySelector(`[name="${xe}"]`);if(Jt)return Jt}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 He{setOffset(xe){}getScrollPosition(){return[0,0]}scrollToPosition(xe){}scrollToAnchor(xe){}setHistoryScrollRestoration(xe){}}class Ne{}},1626:(be,ee,E)=>{"use strict";E.d(ee,{Lr:()=>B,Qq:()=>L,q1:()=>Qt}),E(467);var S=E(4438),p=E(7673),O=E(1985),c=E(6648),D=E(274),C=E(5964),_=E(6354),T=E(980),w=E(5558),g=E(177);class F{}class A{}class B{constructor(ut){this.normalizedNames=new Map,this.lazyUpdate=null,ut?"string"==typeof ut?this.lazyInit=()=>{this.headers=new Map,ut.split("\n").forEach(It=>{const Mt=It.indexOf(":");if(Mt>0){const Nt=It.slice(0,Mt),Zt=Nt.toLowerCase(),qt=It.slice(Mt+1).trim();this.maybeSetNormalizedName(Nt,Zt),this.headers.has(Zt)?this.headers.get(Zt).push(qt):this.headers.set(Zt,[qt])}})}:typeof Headers<"u"&&ut instanceof Headers?(this.headers=new Map,ut.forEach((It,Mt)=>{this.setHeaderEntries(Mt,It)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ut).forEach(([It,Mt])=>{this.setHeaderEntries(It,Mt)})}:this.headers=new Map}has(ut){return this.init(),this.headers.has(ut.toLowerCase())}get(ut){this.init();const It=this.headers.get(ut.toLowerCase());return It&&It.length>0?It[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ut){return this.init(),this.headers.get(ut.toLowerCase())||null}append(ut,It){return this.clone({name:ut,value:It,op:"a"})}set(ut,It){return this.clone({name:ut,value:It,op:"s"})}delete(ut,It){return this.clone({name:ut,value:It,op:"d"})}maybeSetNormalizedName(ut,It){this.normalizedNames.has(It)||this.normalizedNames.set(It,ut)}init(){this.lazyInit&&(this.lazyInit instanceof B?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ut=>this.applyUpdate(ut)),this.lazyUpdate=null))}copyFrom(ut){ut.init(),Array.from(ut.headers.keys()).forEach(It=>{this.headers.set(It,ut.headers.get(It)),this.normalizedNames.set(It,ut.normalizedNames.get(It))})}clone(ut){const It=new B;return It.lazyInit=this.lazyInit&&this.lazyInit instanceof B?this.lazyInit:this,It.lazyUpdate=(this.lazyUpdate||[]).concat([ut]),It}applyUpdate(ut){const It=ut.name.toLowerCase();switch(ut.op){case"a":case"s":let Mt=ut.value;if("string"==typeof Mt&&(Mt=[Mt]),0===Mt.length)return;this.maybeSetNormalizedName(ut.name,It);const Nt=("a"===ut.op?this.headers.get(It):void 0)||[];Nt.push(...Mt),this.headers.set(It,Nt);break;case"d":const Zt=ut.value;if(Zt){let qt=this.headers.get(It);if(!qt)return;qt=qt.filter(Yt=>-1===Zt.indexOf(Yt)),0===qt.length?(this.headers.delete(It),this.normalizedNames.delete(It)):this.headers.set(It,qt)}else this.headers.delete(It),this.normalizedNames.delete(It)}}setHeaderEntries(ut,It){const Mt=(Array.isArray(It)?It:[It]).map(Zt=>Zt.toString()),Nt=ut.toLowerCase();this.headers.set(Nt,Mt),this.maybeSetNormalizedName(ut,Nt)}forEach(ut){this.init(),Array.from(this.normalizedNames.keys()).forEach(It=>ut(this.normalizedNames.get(It),this.headers.get(It)))}}class ${encodeKey(ut){return U(ut)}encodeValue(ut){return U(ut)}decodeKey(ut){return decodeURIComponent(ut)}decodeValue(ut){return decodeURIComponent(ut)}}const M=/%(\d[a-f0-9])/gi,R={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U(je){return encodeURIComponent(je).replace(M,(ut,It)=>{var Mt;return null!==(Mt=R[It])&&void 0!==Mt?Mt:ut})}function j(je){return`${je}`}class K{constructor(ut={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ut.encoder||new $,ut.fromString){if(ut.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(je,ut){const It=new Map;return je.length>0&&je.replace(/^\?/,"").split("&").forEach(Nt=>{const Zt=Nt.indexOf("="),[qt,Yt]=-1==Zt?[ut.decodeKey(Nt),""]:[ut.decodeKey(Nt.slice(0,Zt)),ut.decodeValue(Nt.slice(Zt+1))],Tn=It.get(qt)||[];Tn.push(Yt),It.set(qt,Tn)}),It}(ut.fromString,this.encoder)}else ut.fromObject?(this.map=new Map,Object.keys(ut.fromObject).forEach(It=>{const Mt=ut.fromObject[It],Nt=Array.isArray(Mt)?Mt.map(j):[j(Mt)];this.map.set(It,Nt)})):this.map=null}has(ut){return this.init(),this.map.has(ut)}get(ut){this.init();const It=this.map.get(ut);return It?It[0]:null}getAll(ut){return this.init(),this.map.get(ut)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ut,It){return this.clone({param:ut,value:It,op:"a"})}appendAll(ut){const It=[];return Object.keys(ut).forEach(Mt=>{const Nt=ut[Mt];Array.isArray(Nt)?Nt.forEach(Zt=>{It.push({param:Mt,value:Zt,op:"a"})}):It.push({param:Mt,value:Nt,op:"a"})}),this.clone(It)}set(ut,It){return this.clone({param:ut,value:It,op:"s"})}delete(ut,It){return this.clone({param:ut,value:It,op:"d"})}toString(){return this.init(),this.keys().map(ut=>{const It=this.encoder.encodeKey(ut);return this.map.get(ut).map(Mt=>It+"="+this.encoder.encodeValue(Mt)).join("&")}).filter(ut=>""!==ut).join("&")}clone(ut){const It=new K({encoder:this.encoder});return It.cloneFrom=this.cloneFrom||this,It.updates=(this.updates||[]).concat(ut),It}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ut=>this.map.set(ut,this.cloneFrom.map.get(ut))),this.updates.forEach(ut=>{switch(ut.op){case"a":case"s":const It=("a"===ut.op?this.map.get(ut.param):void 0)||[];It.push(j(ut.value)),this.map.set(ut.param,It);break;case"d":if(void 0===ut.value){this.map.delete(ut.param);break}{let Mt=this.map.get(ut.param)||[];const Nt=Mt.indexOf(j(ut.value));-1!==Nt&&Mt.splice(Nt,1),Mt.length>0?this.map.set(ut.param,Mt):this.map.delete(ut.param)}}}),this.cloneFrom=this.updates=null)}}class ve{constructor(){this.map=new Map}set(ut,It){return this.map.set(ut,It),this}get(ut){return this.map.has(ut)||this.map.set(ut,ut.defaultValue()),this.map.get(ut)}delete(ut){return this.map.delete(ut),this}has(ut){return this.map.has(ut)}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(ut,It,Mt,Nt){var Zt,qt;let Yt;if(this.url=It,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ut.toUpperCase(),function te(je){switch(je){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Nt?(this.body=void 0!==Mt?Mt:null,Yt=Nt):Yt=Mt,Yt&&(this.reportProgress=!!Yt.reportProgress,this.withCredentials=!!Yt.withCredentials,Yt.responseType&&(this.responseType=Yt.responseType),Yt.headers&&(this.headers=Yt.headers),Yt.context&&(this.context=Yt.context),Yt.params&&(this.params=Yt.params),this.transferCache=Yt.transferCache),null!==(Zt=this.headers)&&void 0!==Zt||(this.headers=new B),null!==(qt=this.context)&&void 0!==qt||(this.context=new ve),this.params){const Tn=this.params.toString();if(0===Tn.length)this.urlWithParams=It;else{const An=It.indexOf("?");this.urlWithParams=It+(-1===An?"?":Anbt.set(Wt,ut.setHeaders[Wt]),et)),ut.setParams&&(Te=Object.keys(ut.setParams).reduce((bt,Wt)=>bt.set(Wt,ut.setParams[Wt]),Te)),new u(qt,Yt,Xn,{params:Te,headers:et,context:qe,reportProgress:We,responseType:Tn,withCredentials:pr,transferCache:An})}}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(ut,It=r.Ok,Mt="OK"){this.headers=ut.headers||new B,this.status=void 0!==ut.status?ut.status:It,this.statusText=ut.statusText||Mt,this.url=ut.url||null,this.ok=this.status>=200&&this.status<300}}class v extends h{constructor(ut={}){super(ut),this.type=s.ResponseHeader}clone(ut={}){return new v({headers:ut.headers||this.headers,status:void 0!==ut.status?ut.status:this.status,statusText:ut.statusText||this.statusText,url:ut.url||this.url||void 0})}}class y extends h{constructor(ut={}){super(ut),this.type=s.Response,this.body=void 0!==ut.body?ut.body:null}clone(ut={}){return new y({body:void 0!==ut.body?ut.body:this.body,headers:ut.headers||this.headers,status:void 0!==ut.status?ut.status:this.status,statusText:ut.statusText||this.statusText,url:ut.url||this.url||void 0})}}class f extends h{constructor(ut){super(ut,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ut.url||"(unknown url)"}`:`Http failure response for ${ut.url||"(unknown url)"}: ${ut.status} ${ut.statusText}`,this.error=ut.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,ut){return{body:ut,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 ut{constructor(Mt){this.handler=Mt}request(Mt,Nt,Zt={}){let qt;if(Mt instanceof u)qt=Mt;else{let An,Xn;An=Zt.headers instanceof B?Zt.headers:new B(Zt.headers),Zt.params&&(Xn=Zt.params instanceof K?Zt.params:new K({fromObject:Zt.params})),qt=new u(Mt,Nt,void 0!==Zt.body?Zt.body:null,{headers:An,context:Zt.context,params:Xn,reportProgress:Zt.reportProgress,responseType:Zt.responseType||"json",withCredentials:Zt.withCredentials,transferCache:Zt.transferCache})}const Yt=(0,p.of)(qt).pipe((0,D.H)(An=>this.handler.handle(An)));if(Mt instanceof u||"events"===Zt.observe)return Yt;const Tn=Yt.pipe((0,C.p)(An=>An instanceof y));switch(Zt.observe||"body"){case"body":switch(qt.responseType){case"arraybuffer":return Tn.pipe((0,_.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,_.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,_.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,_.T)(An=>An.body))}case"response":return Tn;default:throw new Error(`Unreachable: unhandled observe type ${Zt.observe}}`)}}delete(Mt,Nt={}){return this.request("DELETE",Mt,Nt)}get(Mt,Nt={}){return this.request("GET",Mt,Nt)}head(Mt,Nt={}){return this.request("HEAD",Mt,Nt)}jsonp(Mt,Nt){return this.request("JSONP",Mt,{params:(new K).append(Nt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Mt,Nt={}){return this.request("OPTIONS",Mt,Nt)}patch(Mt,Nt,Zt={}){return this.request("PATCH",Mt,d(Zt,Nt))}post(Mt,Nt,Zt={}){return this.request("POST",Mt,d(Zt,Nt))}put(Mt,Nt,Zt={}){return this.request("PUT",Mt,d(Zt,Nt))}}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)(S.KVO(F))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),ut})();function ae(je,ut){return ut(je)}function tt(je,ut){return(It,Mt)=>ut.intercept(It,{handle:Nt=>je(Nt,Mt)})}const pe=new S.nKC(""),Ie=new S.nKC(""),Se=new S.nKC(""),ie=new S.nKC("");function ne(){let je=null;return(ut,It)=>{var Mt;null===je&&(je=(null!==(Mt=(0,S.WQX)(pe,{optional:!0}))&&void 0!==Mt?Mt:[]).reduceRight(tt,ae));const Nt=(0,S.WQX)(S.TgB),Zt=Nt.add();return je(ut,It).pipe((0,T.j)(()=>Nt.remove(Zt)))}}let vt=(()=>{var je;class ut extends F{constructor(Mt,Nt){super(),this.backend=Mt,this.injector=Nt,this.chain=null,this.pendingTasks=(0,S.WQX)(S.TgB);const Zt=(0,S.WQX)(ie,{optional:!0});this.backend=null!=Zt?Zt:Mt}handle(Mt){if(null===this.chain){const Zt=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(Se,[])]));this.chain=Zt.reduceRight((qt,Yt)=>function Re(je,ut,It){return(Mt,Nt)=>(0,S.N4e)(It,()=>ut(Mt,Zt=>je(Zt,Nt)))}(qt,Yt,this.injector),ae)}const Nt=this.pendingTasks.add();return this.chain(Mt,Zt=>this.backend.handle(Zt)).pipe((0,T.j)(()=>this.pendingTasks.remove(Nt)))}}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)(S.KVO(A),S.KVO(S.uvJ))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),ut})();const yn=/^\)\]\}',?\n/;let Bt=(()=>{var je;class ut{constructor(Mt){this.xhrFactory=Mt}handle(Mt){if("JSONP"===Mt.method)throw new S.wOt(-2800,!1);const Nt=this.xhrFactory;return(Nt.\u0275loadImpl?(0,c.H)(Nt.\u0275loadImpl()):(0,p.of)(null)).pipe((0,w.n)(()=>new O.c(qt=>{const Yt=Nt.build();if(Yt.open(Mt.method,Mt.urlWithParams),Mt.withCredentials&&(Yt.withCredentials=!0),Mt.headers.forEach((bt,Wt)=>Yt.setRequestHeader(bt,Wt.join(","))),Mt.headers.has("Accept")||Yt.setRequestHeader("Accept","application/json, text/plain, */*"),!Mt.headers.has("Content-Type")){const bt=Mt.detectContentTypeHeader();null!==bt&&Yt.setRequestHeader("Content-Type",bt)}if(Mt.responseType){const bt=Mt.responseType.toLowerCase();Yt.responseType="json"!==bt?bt:"text"}const Tn=Mt.serializeBody();let An=null;const Xn=()=>{if(null!==An)return An;const bt=Yt.statusText||"OK",Wt=new B(Yt.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}(Yt)||Mt.url;return An=new v({headers:Wt,status:Yt.status,statusText:bt,url:hn}),An},pr=()=>{let{headers:bt,status:Wt,statusText:hn,url:Et}=Xn(),zt=null;Wt!==r.NoContent&&(zt=typeof Yt.response>"u"?Yt.responseText:Yt.response),0===Wt&&(Wt=zt?r.Ok:0);let ye=Wt>=200&&Wt<300;if("json"===Mt.responseType&&"string"==typeof zt){const Ke=zt;zt=zt.replace(yn,"");try{zt=""!==zt?JSON.parse(zt):null}catch(dt){zt=Ke,ye&&(ye=!1,zt={error:dt,text:zt})}}ye?(qt.next(new y({body:zt,headers:bt,status:Wt,statusText:hn,url:Et||void 0})),qt.complete()):qt.error(new f({error:zt,headers:bt,status:Wt,statusText:hn,url:Et||void 0}))},We=bt=>{const{url:Wt}=Xn(),hn=new f({error:bt,status:Yt.status||0,statusText:Yt.statusText||"Unknown Error",url:Wt||void 0});qt.error(hn)};let et=!1;const Te=bt=>{et||(qt.next(Xn()),et=!0);let Wt={type:s.DownloadProgress,loaded:bt.loaded};bt.lengthComputable&&(Wt.total=bt.total),"text"===Mt.responseType&&Yt.responseText&&(Wt.partialText=Yt.responseText),qt.next(Wt)},qe=bt=>{let Wt={type:s.UploadProgress,loaded:bt.loaded};bt.lengthComputable&&(Wt.total=bt.total),qt.next(Wt)};return Yt.addEventListener("load",pr),Yt.addEventListener("error",We),Yt.addEventListener("timeout",We),Yt.addEventListener("abort",We),Mt.reportProgress&&(Yt.addEventListener("progress",Te),null!==Tn&&Yt.upload&&Yt.upload.addEventListener("progress",qe)),Yt.send(Tn),qt.next({type:s.Sent}),()=>{Yt.removeEventListener("error",We),Yt.removeEventListener("abort",We),Yt.removeEventListener("load",pr),Yt.removeEventListener("timeout",We),Mt.reportProgress&&(Yt.removeEventListener("progress",Te),null!==Tn&&Yt.upload&&Yt.upload.removeEventListener("progress",qe)),Yt.readyState!==Yt.DONE&&Yt.abort()}})))}}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)(S.KVO(g.N0))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),ut})();const Cn=new S.nKC(""),Lt=new S.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),kt=new S.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ot{}let Ln=(()=>{var je;class ut{constructor(Mt,Nt,Zt){this.doc=Mt,this.platform=Nt,this.cookieName=Zt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Mt=this.doc.cookie||"";return Mt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,g._b)(Mt,this.cookieName),this.lastCookieString=Mt),this.lastToken}}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)(S.KVO(g.qQ),S.KVO(S.Agw),S.KVO(Lt))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),ut})();function Ut(je,ut){const It=je.url.toLowerCase();if(!(0,S.WQX)(Cn)||"GET"===je.method||"HEAD"===je.method||It.startsWith("http://")||It.startsWith("https://"))return ut(je);const Mt=(0,S.WQX)(Ot).getToken(),Nt=(0,S.WQX)(kt);return null!=Mt&&!je.headers.has(Nt)&&(je=je.clone({headers:je.headers.set(Nt,Mt)})),ut(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,ut){return{\u0275kind:je,\u0275providers:ut}}function Ae(...je){const ut=[L,Bt,vt,{provide:F,useExisting:vt},{provide:A,useExisting:Bt},{provide:Ie,useValue:Ut,multi:!0},{provide:Cn,useValue:!0},{provide:Ot,useClass:Ln}];for(const It of je)ut.push(...It.\u0275providers);return(0,S.EmA)(ut)}const Ue=new S.nKC("");let Qt=(()=>{var je;class ut{}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)},je.\u0275mod=S.$C({type:je}),je.\u0275inj=S.G2t({providers:[Ae(De(_e.LegacyInterceptors,[{provide:Ue,useFactory:ne},{provide:Ie,useExisting:Ue,multi:!0}]))]}),ut})()},4438:(be,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:()=>ci,aKT:()=>Za,uvJ:()=>hi,zcH:()=>Bo,bkB:()=>co,$GK:()=>tn,nKC:()=>Nt,zZn:()=>Ti,_q3:()=>Af,MKu:()=>Mf,xe9:()=>gc,Co$:()=>Zx,Vns:()=>Es,SKi:()=>Kr,Xx1:()=>Hr,Agw:()=>o0,PLl:()=>$h,sFG:()=>O9,_9s:()=>ox,czy:()=>Su,WPN:()=>vs,kdw:()=>_i,C4Q:()=>xl,NYb:()=>zD,giA:()=>Gg,RxE:()=>Ug,c1b:()=>Xu,gXe:()=>di,mal:()=>fx,L39:()=>e3,a0P:()=>l3,Ol2:()=>md,w6W:()=>RC,oH4:()=>i1,SmG:()=>cA,Rfq:()=>Ut,WQX:()=>Vn,QuC:()=>si,EmA:()=>Ro,fpN:()=>AA,HJs:()=>u3,N4e:()=>ro,O8t:()=>n3,H3F:()=>Vg,H8p:()=>No,KH2:()=>Ca,TgB:()=>na,wOt:()=>G,WHO:()=>Kg,e01:()=>Wg,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:()=>kn,plB:()=>Go,jNT:()=>pf,zjR:()=>Xg,TL$:()=>sy,Tbb:()=>In,rcV:()=>So,Vt3:()=>pd,Mj6:()=>Oi,GFd:()=>Yx,OA$:()=>hr,Jv_:()=>fg,aNF:()=>hg,R7$:()=>Bp,BMQ:()=>Bd,ZvI:()=>zv,AVh:()=>Rd,wni:()=>Vm,VBU:()=>Ba,FsC:()=>ts,jDH:()=>bn,G2t:()=>Un,$C:()=>es,EJ8:()=>yo,rXU:()=>Qs,nrm:()=>Ud,eu8:()=>Hd,k0s:()=>lc,j41:()=>ac,RV6:()=>Zv,xGo:()=>ah,KVO:()=>Mr,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:()=>Km,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((!ve(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 Re=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 ft(e){return{toString:e}.toString()}const wt="__parameters__";function Tt(e,t,i){return ft(()=>{const l=function St(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(W,he,we){const Oe=W.hasOwnProperty(wt)?W[wt]:Object.defineProperty(W,wt,{value:[]})[wt];for(;Oe.length<=we;)Oe.push(null);return(Oe[we]=Oe[we]||[]).push(N),W}}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 Lt(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 Ln=st({__forward_ref__:st});function Ut(e){return e.__forward_ref__=Ut,e.toString=function(){return In(this())},e}function Le(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(Ln)&&e.__forward_ref__===Ut}function bn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Un(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fn(e){return Kn(e,je)||Kn(e,It)}function kn(e){return null!==Fn(e)}function Kn(e,t){return e.hasOwnProperty(t)?e[t]:null}function jn(e){return e&&(e.hasOwnProperty(ut)||e.hasOwnProperty(Mt))?e[ut]:null}const je=st({\u0275prov:st}),ut=st({\u0275inj:st}),It=st({ngInjectableDef:st}),Mt=st({ngInjectorDef:st});class Nt{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}),Wt=st({\u0275dir:st}),hn=st({\u0275pipe:st}),Et=st({\u0275mod:st}),zt=st({\u0275fac:st}),ye=st({__NG_ELEMENT_ID__:st}),Ke=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 Rn(e){const t=Mn;return Mn=e,t}function xr(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={},Xe="__NG_DI_FLAG__",_t="ngTempTokenPath",vr=/\n/gm,ei="__source";let Jr;function Wr(e){const t=Jr;return Jr=e,t}function Ui(e,t=tn.Default){if(void 0===Jr)throw new G(-203,!1);return null===Jr?xr(e,void 0,t):Jr.get(e,t&tn.Optional?null:void 0,t)}function Mr(e,t=tn.Default){return(Bn()||Ui)(Le(e),t)}function Vn(e,t=tn.Default){return Mr(e,gi(t))}function gi(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ri(e){const t=[];for(let i=0;iArray.isArray(i)?ui(i,t):t(i))}function He(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Ne(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dn(e,t,i){let l=ar(e,t);return l>=0?e[1|l]=i:(l=~l,function Ht(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 Wn(e,t){const i=ar(e,t);if(i>=0)return e[1|i]}function ar(e,t){return function Er(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!==Oe){if(zr(l))return!1;N=!0}}}}else{if(!N&&!zr(l)&&!zr(W))return!1;if(N&&zr(W))continue;N=!1,l=W|1&l}}return zr(l)||N}function zr(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&&!zr(N)&&(t+=_a(b,x),x=""),l=N,b=b||!zr(l);i++}return""!==x&&(t+=_a(b,x)),t}function Ba(e){return ft(()=>{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||di.Emulated,styles:e.styles||ur,_:null,schemas:e.schemas||null,tView:null,id:""};rs(l);const x=e.dependencies;return l.directiveDefs=ji(x,!1),l.pipeDefs=ji(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 qn(e)||kr(e)}function Sa(e){return null!==e}function es(e){return ft(()=>({type:e.type,bootstrap:e.bootstrap||ur,declarations:e.declarations||ur,imports:e.imports||ur,exports:e.exports||ur,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ia(e,t){if(null==e)return dr;const i={};for(const x in e)if(e.hasOwnProperty(x)){const b=e[x];let N,H,W=Oi.None;var l;Array.isArray(b)?(W=b[0],N=b[1],H=null!==(l=b[2])&&void 0!==l?l:N):(N=b,H=b),t?(i[N]=W!==Oi.None?[x,W]:x,t[N]=H):i[N]=x}return i}function ts(e){return ft(()=>{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 qn(e){return e[bt]||null}function kr(e){return e[Wt]||null}function Or(e){return e[hn]||null}function si(e){const t=qn(e)||kr(e)||Or(e);return null!==t&&t.standalone}function Gr(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 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||dr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ur,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 ji(e,t){if(!e)return null;const i=t?Or:Xl;return()=>("function"==typeof e?e():e).map(l=>i(l)).filter(Sa)}function Ro(e){return{\u0275providers:e}}function _s(...e){return{\u0275providers:Oo(0,e),\u0275fromNgModule:!0}}function Oo(e,...t){const i=[],l=new Set;let x;const b=N=>{i.push(N)};return ui(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=Le(e)))return!1;let x=null,b=jn(e);const N=!b&&qn(e);if(b||N){if(N&&!N.standalone)return!1;x=e}else{const W=e.ngModule;if(b=jn(W),!b)return!1;x=W}const H=l.has(x);if(N){if(H)return!1;if(l.add(x),N.dependencies){const W="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const he of W)eo(he,t,i,l)}}else{if(!b)return!1;{if(null!=b.imports&&!H){let he;l.add(x);try{ui(b.imports,we=>{eo(we,t,i,l)&&(he||(he=[]),he.push(we))})}finally{}void 0!==he&&Bs(he,t)}if(!H){const he=ti(x)||(()=>new x);t({provide:x,useFactory:he,deps:ur},x),t({provide:Po,useValue:x,multi:!0},x),t({provide:ci,useValue:()=>Mr(x),multi:!0},x)}const W=b.providers;if(null!=W&&!H){const he=e;Ss(W,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 Hi(e){return"function"==typeof e}const No=new Nt(""),Ts={},Oa={};let Fs;function ko(){return void 0===Fs&&(Fs=new mo),Fs}class hi{}class to extends hi{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(hi,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,ur,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=Wr(this),l=Rn(void 0);try{return t()}finally{Wr(i),Rn(l)}}get(t,i=le,l=tn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ke))return t[Ke](this);l=gi(l);const b=Wr(this),N=Rn(void 0);try{if(!(l&tn.SkipSelf)){let W=this.records.get(t);if(void 0===W){const he=function bo(e){return"function"==typeof e||"object"==typeof e&&e instanceof Nt}(t)&&Fn(t);W=he&&this.injectableDefInScope(he)?no(Ps(t),Ts):null,this.records.set(t,W)}if(null!=W)return this.hydrate(t,W)}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[_t]=H[_t]||[]).unshift(In(t)),b)throw H;return function Vi(e,t,i,l){const x=e[_t];throw t[ei]&&x.unshift(t[ei]),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=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(vr,"\n ")}`}("\n"+e.message,x,i,l),e.ngTokenPath=x,e[_t]=null,e}(H,t,"R3InjectorError",this.source)}throw H}finally{Rn(N),Wr(b)}}resolveInjectorInitializers(){const t=C(null),i=Wr(this),l=Rn(void 0);try{const b=this.get(ci,ur,tn.Self);for(const N of b)N()}finally{Wr(i),Rn(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=Hi(t=Le(t))?t:Le(t&&t.provide);const l=function Jl(e){return Is(e)?no(void 0,e.useValue):no(is(e),Ts)}(t);if(!Hi(t)&&!0===t.multi){let x=this.records.get(i);x||(x=no(void 0,Ts,!0),x.factory=()=>Ri(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=Oa,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=Le(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=Fn(e),i=null!==t?t.factory:ti(e);if(null!==i)return i;if(e instanceof Nt)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 $n(e){return e&&(e[je]||e[It])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new G(204,!1)}function is(e,t,i){let l;if(Hi(e)){const x=Le(e);return ti(x)||Ps(x)}if(Is(e))l=()=>Le(e.useValue);else if(function Pa(e){return!(!e||!e.useFactory)}(e))l=()=>e.useFactory(...Ri(e.deps||[]));else if(function Fa(e){return!(!e||!e.useExisting)}(e))l=()=>Mr(Le(e.useExisting));else{const x=Le(e&&(e.useClass||e.provide));if(!function ql(e){return!!e.deps}(e))return ti(x)||Ps(x);l=()=>new x(...Ri(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=Wr(e),x=Rn(void 0);try{return t()}finally{Wr(l),Rn(x)}}function Na(){return void 0!==Bn()||null!=function oi(){return Jr}()}const mr=0,mn=1,On=2,ir=3,$r=4,wr=5,Tr=6,Ni=7,Dr=8,Nr=9,Bi=10,Zn=11,os=12,Rs=13,Do=14,Fr=15,Uo=16,ni=17,ki=18,Os=19,_c=20,Ao=21,Vo=22,io=23,Qn=25,ka=1,zi=7,jo=9,Lr=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 qr(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 Si(e){return!!e.template}function $a(e){return!!(512&e[On])}class Jn{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 hr(){return Xr}function Xr(e){return e.type.prototype.ngOnChanges&&(e.setInput=us),Mo}function Mo(){const e=Ko(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===dr)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=Ko(e)||function cs(e,t){return e[zo]=t}(e,{previous:dr,current:null}),H=N.current||(N.current={}),W=N.previous,he=W[b];H[b]=new Jn(he&&he.currentValue,i,W===dr),_r(e,t,x,i)}hr.ngInherit=!0;const zo="__ngSimpleChanges__";function Ko(e){return e[zo]||null}const oo=function(e,t,i){};let Ff=!1;function Ar(e){for(;Array.isArray(e);)e=e[mr];return e}function ja(e,t){return Ar(t[e])}function pi(e,t){return Ar(t[e.index])}function Ha(e,t){return e.data[t]}function Ii(e,t){const i=t[e];return ri(i)?i:i[mr]}function Fc(e){return!(128&~e[On])}function so(e,t){return null==t?null:e[t]}function Pf(e){e[ni]=0}function Y1(e){1024&e[On]||(e[On]|=1024,Fc(e)&&za(e))}function Pc(e){var t;return!!(9216&e[On]||null!==(t=e[io])&&void 0!==t&&t.dirty)}function Rc(e){var t;if(null===(t=e[Bi].changeDetectionScheduler)||void 0===t||t.notify(1),Pc(e))za(e);else if(64&e[On])if(function K1(){return Ff}())e[On]|=1024,za(e);else{var i;null===(i=e[Bi].changeDetectionScheduler)||void 0===i||i.notify()}}function za(e){var t;null===(t=e[Bi].changeDetectionScheduler)||void 0===t||t.notify();let i=fs(e);for(;null!==i&&!(8192&i[On])&&(i[On]|=8192,Fc(i));)i=fs(i)}function nu(e,t){if(!(256&~e[On]))throw new G(911,!1);null===e[Ao]&&(e[Ao]=[]),e[Ao].push(t)}function fs(e){const t=e[ir];return qr(t)?t[ir]:t}const er={lFrame:Kf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nf(){return er.bindingsEnabled}function Ls(){return null!==er.skipHydrationRootTNode}function sn(){return er.lFrame.lView}function cr(){return er.lFrame.tView}function kf(e){return er.lFrame.contextLView=e,e[Dr]}function Lf(e){return er.lFrame.contextLView=null,e}function br(){let e=$f();for(;null!==e&&64===e.type;)e=e.parent;return e}function $f(){return er.lFrame.currentTNode}function ao(e,t){const i=er.lFrame;i.currentTNode=e,i.isParent=t}function Nc(){return er.lFrame.isParent}function kc(){er.lFrame.isParent=!1}function xi(){const e=er.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ki(){return er.lFrame.bindingIndex++}function _o(e){const t=er.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function sE(e,t){const i=er.lFrame;i.bindingIndex=i.bindingRootIndex=e,Lc(t)}function Lc(e){er.lFrame.currentDirectiveIndex=e}function Uc(){return er.lFrame.currentQueryIndex}function ru(e){er.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[Do],10&x.type))););if(null===x)return!1;t=x,e=b}const l=er.lFrame=zf();return l.currentTNode=t,l.lView=e,!0}function Vc(e){const t=zf(),i=e[mn];er.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=er.lFrame,t=null===e?null:e.child;return null===t?Kf(e):t}function Kf(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 Wf(){const e=er.lFrame;return er.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gf=Wf;function jc(){const e=Wf();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 er.lFrame.selectedIndex}function hs(e){er.lFrame.selectedIndex=e}function Ir(){const e=er.lFrame;return Ha(e.tView,e.selectedIndex)}let Yf=!0;function Wa(){return Yf}function lo(e){Yf=e}function iu(e,t){for(let he=t.directiveStart,we=t.directiveEnd;he=l)break}else t[W]<0&&(e[ni]+=65536),(H>14>16&&(3&e[On])===t&&(e[On]+=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 Kc(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 Wc=!0;function au(e){const t=Wc;return Wc=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[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(Kc(x)){const N=Xa(x),H=Ya(x,t),W=H[mn].data;for(let he=0;he<8;he++)t[b+he]=H[N+he]|W[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),W=$s,he=l&tn.Host?t[Fr][wr]:null;for((-1===H||l&tn.SkipSelf)&&(W=-1===H?uu(e,t):t[H+8],W!==$s&&sh(l,!1)?(N=t[mn],H=Xa(W),t=Ya(W,t)):H=-1);-1!==H;){const we=t[mn];if(oh(b,H,we.data)){const Oe=AE(H,t,i,N,l,he);if(Oe!==uo)return Oe}W=t[H+8],W!==$s&&sh(l,t[mn].data[H+8]===he)&&oh(b,H,t)?(N=we,H=Xa(W),t=Ya(W,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)&&Wc: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,W=e.directiveStart,we=b>>20,ct=x?H+we:e.directiveEnd;for(let At=l?H:H+we;At=W&&Vt.type===i)return At}if(x){const At=N[W];if(At&&Si(At)&&At.type===i)return W}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():dt(e)}(b[i]));const H=au(N.canSeeViewProviders);N.resolving=!0;const he=N.injectImpl?Rn(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 Oe=Xr(t);(null!==(N=i.preOrderHooks)&&void 0!==N?N:i.preOrderHooks=[]).push(e,Oe),(null!==(H=i.preOrderCheckHooks)&&void 0!==H?H:i.preOrderCheckHooks=[]).push(e,Oe)}var W,he,we;x&&(null!==(W=i.preOrderHooks)&&void 0!==W?W: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&&Rn(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(Le(e));return t&&t()}:ti(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 mo,e.\u0275prov=bn({token:e,providedIn:"any",factory:()=>Mr(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 Nt("",{providedIn:"root",factory:()=>Vn(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 OE extends js{constructor(t){super(),this._lView=t}onDestroy(t){return nu(this._lView,t),()=>function Oc(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 OE(sn())}function kE(){return Hs(br(),sn())}function Hs(e,t){return new Za(pi(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 Re.B{constructor(t=!1){var i;super(),this.destroyRef=void 0,this.__isAsync=t,Na()&&(this.destroyRef=null!==(i=Vn(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,W,he;const Oe=t;x=null===(H=Oe.next)||void 0===H?void 0:H.bind(Oe),b=null===(W=Oe.error)||void 0===W?void 0:W.bind(Oe),N=null===(he=Oe.complete)||void 0===he?void 0:he.bind(Oe)}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 Pr(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 Nt(""),o0=new Nt("",{providedIn:"platform",factory:()=>"unknown"}),ly=new Nt("",{providedIn:"root",factory:()=>{var e;return(null===(e=function Wo(){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 Kh=new Nt("",{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 Ry{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 Ry(e);return function Oy(){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(dt(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[Bi].sanitizer}const Qy=/^>|^->||--!>|)/g,qy="\u200b$1\u200b";function Fi(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;qr(l)?b=l:ri(l)&&(N=!0,l=l[mr]);const H=Ar(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[zi];b!==Ar(i)&&Zs(t,e,l,b,x);for(let H=Lr;Ht.replace(Jy,qy))}(t))}function Iu(e,t,i){return e.createElement(t,i)}function pp(e,t){var i;null===(i=t[Bi].changeDetectionScheduler)||void 0===i||i.notify(1),Ru(e,t,t[Zn],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<=Lr)return;const i=Lr+t,l=e[i];if(l){const x=l[Uo];null!==x&&x!==e&&xp(x,l),t>0&&(e[i-1][$r]=l[$r]);const b=Ne(e,Lr+t);!function d8(e,t){pp(e,t),t[mr]=null,t[wr]=null}(l[mn],l);const N=b[ki];null!==N&&N.detachView(b[mn]),l[ir]=null,l[$r]=null,l[On]&=-129}return l}function Tu(e,t){if(!(256&t[On])){const i=t[Zn];i.destroyNode&&Ru(e,t,i,3,null,null),function h8(e){let t=e[os];if(!t)return B0(e[mn],e);for(;t;){let i=null;if(ri(t))i=t[os];else{const l=t[Lr];l&&(i=l)}if(!i){for(;t&&!t[$r]&&t!==e;)ri(t)&&B0(t[mn],t),t=t[ir];null===t&&(t=e),ri(t)&&B0(t[mn],t),i=t&&t[$r]}t=i}}(t)}}function B0(e,t){if(256&t[On])return;const i=C(null);try{t[On]&=-129,t[On]|=256,t[io]&&function j(e){if(te(e),ve(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[Ao];if(null!==x){t[Ao]=null;for(let b=0;b-1){const{encapsulation:b}=e.data[l.directiveStart+x];if(b===di.None||b===di.Emulated)return null}return pi(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?pi(e,i):null};function Pu(e,t,i,l){const x=S0(e,l,t),b=t[Zn],H=Ep(l.parent||t[wr],l,t);if(null!=x)if(Array.isArray(i))for(let W=0;WQn&&Sp(e,t,Qn,!1),oo(N?2:0,x),i(l,x)}finally{hs(b),oo(N?3:1,x)}}function R0(e,t,i){if(La(t)){const l=C(null);try{const b=t.directiveEnd;for(let N=t.directiveStart;Nnull;function Op(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 W,he=Oi.None;Array.isArray(H)?(W=H[0],he=H[1]):W=H;let we=N;if(null!==x){if(!x.hasOwnProperty(N))continue;we=x[N]}0===e?Np(l,i,we,W,he):Np(l,i,we,W)}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 W=pi(t,i);let we,he=t.inputs;!H&&null!=he&&(we=he[l])?(j0(e,i,we,l,x),Ho(t)&&function R8(e,t){const i=Ii(t,e);16&i[On]||(i[On]|=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(W,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,rr),x)}function fo(e,t,i,l,x,b){const N=pi(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[Zn],N,b,e.value,i,l,x)}function W8(e,t,i,l,x,b){const N=b[t];if(null!==N)for(let H=0;H0&&(i[x-1][$r]=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[Bi],x=l.rendererFactory;var N;null===(N=x.begin)||void 0===N||N.call(x);try{!function t9(e,t){K0(e,t);let i=0;for(;Pc(e);){if(i===Gp)throw new G(103,!1);i++,K0(e,1)}}(e,i)}catch(he){throw t&&ku(e,he),he}finally{var H,W;null===(H=x.end)||void 0===H||H.call(x),null===(W=l.inlineEffectRunner)||void 0===W||W.flush()}}function n9(e,t,i,l){var x;const b=t[On];if(!(256&~b))return;null===(x=t[Bi].inlineEffectRunner)||void 0===x||x.flush(),Vc(t);let H=null,W=null;(function r9(e){return 2!==e.type})(e)&&(W=function Q8(e){var t;return null!==(t=e[io])&&void 0!==t?t:function J8(e){var t;const i=null!==(t=Wp.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)}(W));try{Pf(t),function Vf(e){return er.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[On]&eu.HasTransplantedViews))continue;const i=t[jo];for(let l=0;le.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(W,H),function q8(e){e.lView[io]!==e&&(e.lView=null,Wp.push(e))}(W)),jc()}}function Xp(e,t){for(let i=Bh(e);null!==i;i=Sh(i))for(let l=Lr;l-1&&(sl(t,l),Ne(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[On]&=-129}reattach(){Rc(this._lView),this._lView[On]|=128}detectChanges(){this._lView[On]|=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,Rc(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 W=t.tView,Oe=Ou(e,W,i,4096&e[On]?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);Oe[Uo]=e[t.index];const At=e[ki];return null!==At&&(Oe[ki]=At.createEmbeddedView(W)),H0(W,Oe,i),Oe}finally{C(x)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:l});return new pl(x)}};function l9(){return $u(br(),sn())}function $u(e,t){return 4&e.type?new a9(t,e,Hs(e,t)):null}class Q0{}class F9{}class rx{}class R9{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 R9,t})();class ox{}let O9=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function N9(){const e=sn(),i=Ii(br().index,e);return(ri(i)?i:e)[Zn]}(),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 Kr{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,W)=>{try{return lx(e),i.invoke(x,b,N,H,W)}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(!Kr.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(Kr.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:Vn(Ti);if(!function Wi(e){return"browser"===(null!=e?e:Vn(Ti)).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,W=null!==(x=null==t?void 0:t.phase)&&void 0!==x?x:gs.MixedReadWrite,he=()=>{H.unregister(Oe),we()},we=b.get(js).onDestroy(he),Oe=ro(b,()=>new hx(W,()=>{he(),e()}));return H.register(Oe),{destroy:he}}class hx{constructor(t,i){var l;this.phase=t,this.callbackFn=i,this.zone=Vn(Kr),this.errorHandler=Vn(Bo,{optional:!0}),null===(l=Vn(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!!Gr(e)}function Wu(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,Yi,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(br(),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 Yr(this._hostTNode,this._hostLView)}get parentInjector(){const t=uu(this._hostTNode,this._hostLView);if(Kc(t)){const i=Ya(t,this._hostLView),l=Xa(t);return new Yr(i[mn].data[l+8],i)}return new Yr(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-Lr}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,W;const he=t&&!function Jt(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 Oe=he?t:new Dl(qn(t)),ct=l||this.parentInjector;if(!b&&null==Oe.ngModule){const rn=(he?ct:this.parentInjector).get(hi,null);rn&&(b=rn)}const At=qn(null!==(N=Oe.componentType)&&void 0!==N?N:{}),Vt=(null==At?void 0:At.id,null),en=null!==(W=null==Vt?void 0:Vt.firstChild)&&void 0!==W?W:null,dn=Oe.create(ct,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 qr(e[ir])}(x)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const W=x[ir],he=new Ex(W,W[wr],W[ir]);he.detach(he.indexOf(t))}}const b=this._adjustIndex(i),N=this._lContainer;return dl(N,x,b,l),t.attachToViewContainerRef(),He(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&&(Ne(id(this._lContainer),i),Tu(l[mn],l))}detach(t){const i=this._adjustIndex(t,-1),l=sl(this._lContainer,i);return l&&null!=Ne(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 qr(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[zi])return;let x;x=8&i.type?Ar(l):function iC(e,t){const i=e[Zn],l=i.createComment(""),x=pi(t,e);return ms(i,Fu(i,x),l,function E8(e,t){return e.nextSibling(t)}(i,x),!1),l}(t,i),e[zi]=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[-W];for(let Oe=Lr;Oe=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===dr?{}:e===ur?[]: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 RC(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=Gr(t);this._bootstrapComponents=Fi(x.bootstrap),this._r3Injector=ph(t,i,[{provide:Es,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 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 Ur(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function ys(e,t,i,l){const x=Ur(e,t,i);return Ur(e,t+1,l)||x}function ra(e,t,i,l,x,b,N,H){const W=sn(),he=cr(),we=e+Qn,Oe=he.firstCreatePass?function VC(e,t,i,l,x,b,N,H,W){const he=t.consts,we=Js(t,e,4,N||null,so(he,H));L0(t,i,we,so(he,W)),iu(t,we);const Oe=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),Oe.queries=t.queries.embeddedTView(we)),we}(we,he,W,t,i,l,x,b,N):he.data[we];ao(Oe,!1);const ct=Jx(he,W,Oe,e);Wa()&&Pu(he,W,ct,Oe),li(ct,W);const At=$p(ct,W,ct,Oe);return W[we]=At,Nu(W,At),function Dx(e,t,i){return od(e,t,i)}(At,Oe,W),ls(Oe)&&O0(he,W,Oe),null!=N&&N0(W,Oe,H),ra}let Jx=function qx(e,t,i,l){return lo(!0),t[Zn].createComment("")};function Bd(e,t,i,l){const x=sn();return Ur(x,Ki(),t)&&(cr(),fo(Ir(),x,e,t,i,l)),Bd}function da(e,t,i,l){return Ur(e,Ki(),i)?t+dt(i)+l:rr}function fa(e,t,i,l,x,b){const H=ys(e,function wo(){return er.lFrame.bindingIndex}(),i,x);return _o(2),H?t+dt(i)+l+dt(x)+b:rr}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)&&ar(e,t)>=0}const Zr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tv(e){return e.substring(Zr.key,Zr.keyEnd)}function B2(e){return e.substring(Zr.value,Zr.valueEnd)}function Fv(e,t){const i=Zr.textEnd;return i===t?-1:(t=Zr.keyEnd=function T2(e,t,i){for(;t32;)t++;return t}(e,Zr.key=t,i),Ea(e,t,i))}function Pv(e,t){const i=Zr.textEnd;let l=Zr.key=Ea(e,t,i);return i===l?-1:(l=Zr.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=Ov(e,l,i),l=Zr.value=Ea(e,l,i),l=Zr.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&W}return H}(e,l,i),Ov(e,l,i))}function Rv(e){Zr.key=0,Zr.keyEnd=0,Zr.value=0,Zr.valueEnd=0,Zr.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 Rv(e),Fv(e,Ea(e,0,Zr.textEnd))}(t);i>=0;i=Fv(t,i))Dn(e,Tv(t),!0)}function Xi(e,t,i,l){const x=cr(),b=_o(2);x.firstUpdatePass&&$v(x,null,b,l);const N=sn();if(i!==rr&&Ur(N,b,i)){const H=x.data[ai()];if(Hv(H,l)&&!Lv(x,b)){let W=l?H.classesWithoutHost:H.stylesWithoutHost;null!==W&&(i=kt(W,i||"")),Pd(x,H,N,i,l)}else!function j2(e,t,i,l,x,b,N,H){x===rr&&(x=ur);let W=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=er.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=Od(null,e,t,i,l),t.attrs,l),b=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==x)if(i=Od(x,e,t,i,l),null===b){let W=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!==W&&Array.isArray(W)&&(W=Od(null,e,t,W[1],l),W=Il(W,t.attrs,l),function L2(e,t,i,l){e[Zo(i?t.classBindings:t.styleBindings)]=l}(e,t,l,W))}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!==W){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(W,0),0===H?H=l:e[W+1]=Id(e[W+1],l),W=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&&ar(b,t)>=0&&(i[l+1]=Td(i[l+1]))}(t,we,e,l,b),N=oc(H,W),b?t.classBindings=N:t.styleBindings=N}(x,b,t,i,N,l)}}function Od(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 W=e[x],he=Array.isArray(W),we=he?W[1]:W,Oe=null===we;let ct=i[x+1];ct===rr&&(ct=Oe?ur:void 0);let At=Oe?Wn(ct,l):we===l?ct:void 0;if(he&&!sc(At)&&(At=Wn(W,l)),sc(At)&&(H=At,N))return H;const Vt=e[x+1];x=N?Zo(Vt):bs(Vt)}if(null!==t){let W=b?t.residualClasses:t.residualStyles;null!=W&&(H=Wn(W,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){Xi(Dn,vo,da(sn(),e,t,i),!0)}function ac(e,t,i,l){const x=sn(),b=cr(),N=Qn+e,H=x[Zn],W=b.firstCreatePass?function d6(e,t,i,l,x,b){const N=t.consts,W=Js(t,e,2,l,so(N,x));return L0(t,i,W,so(N,b)),null!==W.attrs&&Wu(W,W.attrs,!1),null!==W.mergedAttrs&&Wu(W,W.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,W),W}(N,b,x,t,i,l):b.data[N],he=Xv(b,x,W,H,t,e);x[N]=he;const we=ls(W);return ao(W,!0),_p(H,he,W),!function wl(e){return!(32&~e.flags)}(W)&&Wa()&&Pu(b,x,he,W),0===function Z1(){return er.lFrame.elementDepthCount}()&&li(he,x),function Q1(){er.lFrame.elementDepthCount++}(),we&&(O0(b,x,W),R0(b,W,x)),null!==l&&N0(x,W),ac}function lc(){let e=br();Nc()?kc():(e=e.parent,ao(e,!1));const t=e;(function q1(e){return er.skipHydrationRootTNode===e})(t)&&function rE(){er.skipHydrationRootTNode=null}(),function J1(){er.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 er.lFrame.currentNamespace}()));function Vd(e,t,i){const l=sn(),x=cr(),b=e+Qn,N=x.firstCreatePass?function p6(e,t,i,l,x){const b=t.consts,N=so(b,l),H=Js(t,e,8,"ng-container",N);return null!==N&&Wu(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,Wa()&&Pu(x,l,H,N),li(H,l),ls(N)&&(O0(x,l,N),R0(x,N,l)),null!=i&&N0(l,N),Vd}function jd(){let e=br();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[Zn],""));function Zv(){return sn()}const Ds=void 0;var g6=["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 m6(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 E6(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 g6;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=br();return Xd(b,x,x[Zn],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[Dr],Oe=Vp(t);let ct=!0;if(3&l.type||N){const en=pi(l,t),dn=N?N(en):en,xn=Oe.length,rn=N?or=>N(Ar(or[l.index])):l.index;let Gn=null;if(!N&&H&&(Gn=function xb(e,t,i,l){const x=e.cleanup;if(null!=x)for(let b=0;bW?H[W]:null}"string"==typeof N&&(b+=2)}return null}(e,t,x,l.index)),null!==Gn)(Gn.__ngLastListenerFn__||Gn).__ngNextListenerFn__=b,Gn.__ngLastListenerFn__=b,ct=!1;else{b=Sm(l,t,we,b,!1);const or=i.listen(dn,x,b);Oe.push(b,or),he&&he.push(x,rn,xn,xn+1)}}else b=Sm(l,t,we,b,!1);const At=l.outputs;let Vt;if(ct&&null!==At&&(Vt=At[x])){const en=Vt.length;if(en)for(let dn=0;dn-1?Ii(e.index,t):t);let W=Bm(t,i,l,N),he=b.__ngNextListenerFn__;for(;he;)W=Bm(t,i,he,N)&&W,he=he.__ngNextListenerFn__;return x&&!1===W&&N.preventDefault(),W}}function Im(e=1){return function uE(e){return(er.lFrame.contextLView=function Rf(e,t){for(;e>0;)t=t[Do],e--;return t}(e,er.lFrame.contextLView))[Dr]}(e)}function vb(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[Zn],l));function Qd(e){return hc("",e,""),Qd}function hc(e,t,i){const l=sn(),x=da(l,e,t,i);return x!==rr&&To(l,ai(),x),hc}function Jd(e,t,i,l,x){const b=sn(),N=fa(b,e,t,i,l,x);return N!==rr&&To(b,ai(),N),Jd}function qd(e,t,i){Rx(t)&&(t=t());const l=sn();return Ur(l,Ki(),t)&&Ci(cr(),Ir(),l,e,t,l[Zn],i,!1),qd}function cg(e,t){const i=Rx(e);return i&&e.set(t),i}function ef(e,t){const i=sn(),l=cr(),x=br();return Xd(l,i,i[Zn],x,e,t),ef}function tf(e,t,i,l,x){if(e=Le(e),Array.isArray(e))for(let b=0;b>20;if(Hi(e)||!e.multi){const At=new Ga(he,x,Qs),Vt=rf(W,t,x?we:we+ct,Oe);-1===Vt?(Xc(lu(H,N),b,W),nf(b,e,t.length),t.push(W),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(At),N.push(At)):(i[Vt]=At,N[Vt]=At)}else{const At=rf(W,t,we+ct,Oe),Vt=rf(W,t,we,we+ct),dn=Vt>=0&&i[Vt];if(x&&!dn||!x&&!(At>=0&&i[At])){Xc(lu(H,N),b,W);const xn=function Ob(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?Rb:Pb,i.length,x,l,he);!x&&dn&&(i[Vt].providerFactory=xn),nf(b,e,t.length,0),t.push(W),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(xn),N.push(xn)}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=Hi(t),b=function Ra(e){return!!e.useClass}(t);if(x||b){const W=(b?Le(t.useClass):t).prototype.ngOnDestroy;if(W){const he=e.destroyHooks||(e.destroyHooks=[]);if(!x&&t.multi){const we=he.indexOf(i);-1===we?he.push(i,[l,W]):he[we+1].push(l,W)}else he.push(i,W)}}}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 Fb(e,t,i){const l=cr();if(l.firstCreatePass){const x=Si(e);tf(i,l.data,l.blueprint,x,!0),tf(t,l.data,l.blueprint,x,!1)}}(l,x?x(e):e,t)}}let Nb=(()=>{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=Oo(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(Mr(hi))}),t})();function hg(e){ho("NgStandalone"),e.getStandaloneInjector=t=>t.get(Nb).getOrCreateStandaloneInjector(e)}function xg(e,t,i){const l=xi()+e,x=sn();return x[l]===rr?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(),xi(),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(),xi(),e,t,i,l,x)}function kl(e,t){const i=e[t];return i===rr?void 0:i}function gg(e,t,i,l,x,b){const N=t+i;return Ur(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 Wb(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=ti(l.type)),W=Rn(Qs);try{const he=au(!1),we=N();return au(he),function yb(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{Rn(W)}}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[mn].data[t].pure}(x,l)?gg(x,xi(),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 Kg=new Nt(""),Wg=new Nt("");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 KD(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:()=>{Kr.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)(Mr(Kr),Mr(Gg),Mr(Wg))},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 Nt("");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=Vn(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((W,he)=>{N.subscribe({complete:W,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 Nt("");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=Vn(vh),this.afterRenderEffectManager=Vn(yl),this.externalTestViews=new Set,this.beforeRender=new Re.B,this.afterTick=new Re.B,this.componentTypes=[],this.components=[],this.isStable=Vn(na).hasPendingTasks.pipe((0,Se.T)(l=>!l)),this._injector=Vn(hi)}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 W=function WD(e){return e.isBoundToModule}(H)?void 0:this._injector.get(Es),we=H.create(Ti.NULL,[],x||H.selector,W),Oe=we.location.nativeElement,ct=we.injector.get(Kg,null);return null==ct||ct.registerApplication(Oe),we.onDestroy(()=>{this.detachView(we.hostView),mc(this.components,we),null==ct||ct.unregisterApplication(Oe)}),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:W}of this._views)XD(H,N,W)}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[On]|=1024):l=64&e[On]?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=Fi(Gr(l).declarations).reduce((H,W)=>{const he=qn(W);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=Vn(Kr),this.applicationRef=Vn(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=Vn(Kr),t=Vn(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=Vn(Kr),this.pendingTasks=Vn(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(()=>{Kr.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;Kr.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 Nt("",{providedIn:"root",factory:()=>Vn(gc,tn.Optional|tn.SkipSelf)||function iA(){return typeof $localize<"u"&&$localize.locale||ba}()}),oA=new Nt("",{providedIn:"root",factory:()=>"USD"}),gf=new Nt("");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 Kr(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 OC(e,t,i){return new xd(e,t,i)}(l.moduleType,this.injector,function e1(e){return[{provide:Kr,useFactory:e},{provide:ci,multi:!0,useFactory:()=>{const t=Vn(eA,{optional:!0});return()=>t.initialize()}},{provide:ci,multi:!0,useFactory:()=>{const t=Vn(rA);return()=>{t.initialize()}}},{provide:vh,useFactory:tA}]}(()=>b)),H=N.injector.get(Bo,null);return b.runOutsideAngular(()=>{const W=b.onError.subscribe({next:he=>{H.handleError(he)}});N.onDestroy(()=>{mc(this._modules,N),W.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 W=N.injector.get(xf);return W.runInitializers(),W.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)(Mr(Ti))},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Jo=null;const r1=new Nt("");function i1(e,t,i=[]){const l=`Platform: ${t}`,x=new Nt(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 Ti.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=Ii(e.index,t);return new pl(l,l)}return 47&e.type?new pl(t[Fr],t):null}(br(),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 _i,new Hr]]}}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 _i,new Hr]]}}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)(Mr(Qo))},e.\u0275mod=es({type:e}),e.\u0275inj=Un({}),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=qn(e),l=t.elementInjector||ko();return new Dl(i).create(l,t.projectableNodes,t.hostElement,t.environmentInjector)}function u3(e){const t=qn(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:(be,ee,E)=>{"use strict";E.d(ee,{BC:()=>ne,VZ:()=>ti,X1:()=>Ei,YN:()=>qo,cz:()=>k,kq:()=>_,vO:()=>pe,vS:()=>xt,zX:()=>_i});var a=E(4438),S=E(177),p=E(6648),O=E(7468),c=E(6354);let D=(()=>{var Ce;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(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)(a.rXU(a.sFG),a.rXU(a.aKT))},Ce.\u0275dir=a.FsC({type:Ce}),ce})(),C=(()=>{var Ce;class ce extends D{}return(Ce=ce).\u0275fac=(()=>{let Ge;return function(ot){return(Ge||(Ge=a.xGo(Ce)))(ot||Ce)}})(),Ce.\u0275dir=a.FsC({type:Ce,features:[a.Vt3]}),ce})();const _=new a.nKC(""),g={provide:_,useExisting:(0,a.Rfq)(()=>B),multi:!0},A=new a.nKC("");let B=(()=>{var Ce;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 Ce=(0,S.QT)()?(0,S.QT)().getUserAgent():"";return/android (\d+)/.test(Ce.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(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(A,8))},Ce.\u0275dir=a.FsC({type:Ce,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(Hn){return ot._handleInput(Hn.target.value)})("blur",function(){return ot.onTouched()})("compositionstart",function(){return ot._compositionStart()})("compositionend",function(Hn){return ot._compositionEnd(Hn.target.value)})},features:[a.Jv_([g]),a.Vt3]}),ce})();function P(Ce){return null==Ce||("string"==typeof Ce||Array.isArray(Ce))&&0===Ce.length}const k=new a.nKC(""),M=new a.nKC("");function o(Ce){return null}function u(Ce){return null!=Ce}function s(Ce){return(0,a.jNT)(Ce)?(0,p.H)(Ce):Ce}function h(Ce){let ce={};return Ce.forEach(Ge=>{ce=null!=Ge?{...ce,...Ge}:ce}),0===Object.keys(ce).length?null:ce}function v(Ce,ce){return ce.map(Ge=>Ge(Ce))}function f(Ce){return Ce.map(ce=>function y(Ce){return!Ce.validate}(ce)?ce:Ge=>ce.validate(Ge))}function d(Ce){return null!=Ce?function r(Ce){if(!Ce)return null;const ce=Ce.filter(u);return 0==ce.length?null:function(Ge){return h(v(Ge,ce))}}(f(Ce)):null}function I(Ce){return null!=Ce?function L(Ce){if(!Ce)return null;const ce=Ce.filter(u);return 0==ce.length?null:function(Ge){const ge=v(Ge,ce).map(s);return(0,O.p)(ge).pipe((0,c.T)(h))}}(f(Ce)):null}function V(Ce,ce){return null===Ce?[ce]:Array.isArray(Ce)?[...Ce,ce]:[Ce,ce]}function me(Ce){return Ce?Array.isArray(Ce)?Ce:[Ce]:[]}function Me(Ce,ce){return Array.isArray(Ce)?Ce.includes(ce):Ce===ce}function Q(Ce,ce){const Ge=me(ce);return me(Ce).forEach(ot=>{Me(Ge,ot)||Ge.push(ot)}),Ge}function ae(Ce,ce){return me(ce).filter(Ge=>!Me(Ce,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 Re 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 Ce;class ce extends Ie{constructor(ge){super(ge)}}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)(a.rXU(pe,2))},Ce.\u0275dir=a.FsC({type:Ce,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",Lt="INVALID",In="PENDING",kt="DISABLED";function _e(Ce){return null!=Ce&&!Array.isArray(Ce)&&"object"==typeof Ce}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===Lt}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 Me(this._rawValidators,ce)}hasAsyncValidator(ce){return Me(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=In,!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===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(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=In,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?Lt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(In)?In:this._anyControlsHaveStatus(Lt)?Lt: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 Ln(Ce){return Array.isArray(Ce)?d(Ce):Ce||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function Le(Ce){return Array.isArray(Ce)?I(Ce):Ce||null}(this._rawAsyncValidators)}}const Je=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>lt}),lt="always";function Ct(Ce,ce,Ge=lt){var ge,ot;(function Ft(Ce,ce){const Ge=function J(Ce){return Ce._rawValidators}(Ce);null!==ce.validator?Ce.setValidators(V(Ge,ce.validator)):"function"==typeof Ge&&Ce.setValidators([Ge]);const ge=function re(Ce){return Ce._rawAsyncValidators}(Ce);null!==ce.asyncValidator?Ce.setAsyncValidators(V(ge,ce.asyncValidator)):"function"==typeof ge&&Ce.setAsyncValidators([ge]);const ot=()=>Ce.updateValueAndValidity();Kt(ce._rawValidators,ot),Kt(ce._rawAsyncValidators,ot)})(Ce,ce),ce.valueAccessor.writeValue(Ce.value),(Ce.disabled||"always"===Ge)&&(null===(ge=(ot=ce.valueAccessor).setDisabledState)||void 0===ge||ge.call(ot,Ce.disabled)),function wn(Ce,ce){ce.valueAccessor.registerOnChange(Ge=>{Ce._pendingValue=Ge,Ce._pendingChange=!0,Ce._pendingDirty=!0,"change"===Ce.updateOn&&bn(Ce,ce)})}(Ce,ce),function zn(Ce,ce){const Ge=(ge,ot)=>{ce.valueAccessor.writeValue(ge),ot&&ce.viewToModelUpdate(ge)};Ce.registerOnChange(Ge),ce._registerOnDestroy(()=>{Ce._unregisterOnChange(Ge)})}(Ce,ce),function _n(Ce,ce){ce.valueAccessor.registerOnTouched(()=>{Ce._pendingTouched=!0,"blur"===Ce.updateOn&&Ce._pendingChange&&bn(Ce,ce),"submit"!==Ce.updateOn&&Ce.markAsTouched()})}(Ce,ce),function Rt(Ce,ce){if(ce.valueAccessor.setDisabledState){const Ge=ge=>{ce.valueAccessor.setDisabledState(ge)};Ce.registerOnDisabledChange(Ge),ce._registerOnDestroy(()=>{Ce._unregisterOnDisabledChange(Ge)})}}(Ce,ce)}function Kt(Ce,ce){Ce.forEach(Ge=>{Ge.registerOnValidatorChange&&Ge.registerOnValidatorChange(ce)})}function bn(Ce,ce){Ce._pendingDirty&&Ce.markAsDirty(),Ce.setValue(Ce._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(Ce._pendingValue),Ce._pendingChange=!1}function Xn(Ce,ce){const Ge=Ce.indexOf(ce);Ge>-1&&Ce.splice(Ge,1)}function pr(Ce){return"object"==typeof Ce&&null!==Ce&&2===Object.keys(Ce).length&&"value"in Ce&&"disabled"in Ce}Promise.resolve();const We=class extends Ze{constructor(ce=null,Ge,ge){super(function Ot(Ce){return(_e(Ce)?Ce.validators:Ce)||null}(Ge),function Ut(Ce,ce){return(_e(ce)?ce.asyncValidators:Ce)||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=pr(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){pr(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}},Ke={provide:pe,useExisting:(0,a.Rfq)(()=>xt)},dt=Promise.resolve();let xt=(()=>{var Ce;class ce extends pe{constructor(ge,ot,vn,Hn,Rr,fi){super(),this._changeDetectorRef=Rr,this.callSetDisabledState=fi,this.control=new We,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=ge,this._setValidators(ot),this._setAsyncValidators(vn),this.valueAccessor=function Nt(Ce,ce){if(!ce)return null;let Ge,ge,ot;return Array.isArray(ce),ce.forEach(vn=>{vn.constructor===B?Ge=vn:function It(Ce){return Object.getPrototypeOf(Ce.constructor)===C}(vn)?ge=vn:ot=vn}),ot||ge||Ge||null}(0,Hn)}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 ut(Ce,ce){if(!Ce.hasOwnProperty("model"))return!1;const Ge=Ce.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(){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 Hn;vn&&!this.control.disabled?this.control.disable():!vn&&this.control.disabled&&this.control.enable(),null===(Hn=this._changeDetectorRef)||void 0===Hn||Hn.markForCheck()})}_getPath(ge){return this._parent?function Qt(Ce,ce){return[...ce.path,Ce]}(ge,this._parent):[ge]}}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)(a.rXU(Re,9),a.rXU(k,10),a.rXU(M,10),a.rXU(_,10),a.rXU(a.gRc,8),a.rXU(Je,8))},Ce.\u0275dir=a.FsC({type:Ce,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_([Ke]),a.Vt3,a.OA$]}),ce})();const Rn=new a.nKC("");function Zi(Ce){return"number"==typeof Ce?Ce:parseFloat(Ce)}let Hr=(()=>{var Ce;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(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)},Ce.\u0275dir=a.FsC({type:Ce,features:[a.OA$]}),ce})();const wi={provide:k,useExisting:(0,a.Rfq)(()=>_i),multi:!0};let _i=(()=>{var Ce;class ce extends Hr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ge=>Zi(ge),this.createValidator=ge=>function K(Ce){return ce=>{if(P(ce.value)||P(Ce))return null;const Ge=parseFloat(ce.value);return!isNaN(Ge)&&Ge>Ce?{max:{max:Ce,actual:ce.value}}:null}}(ge)}}return(Ce=ce).\u0275fac=(()=>{let Ge;return function(ot){return(Ge||(Ge=a.xGo(Ce)))(ot||Ce)}})(),Ce.\u0275dir=a.FsC({type:Ce,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_([wi]),a.Vt3]}),ce})();const Fo={provide:k,useExisting:(0,a.Rfq)(()=>ti),multi:!0};let ti=(()=>{var Ce;class ce extends Hr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ge=>Zi(ge),this.createValidator=ge=>function j(Ce){return ce=>{if(P(ce.value)||P(Ce))return null;const Ge=parseFloat(ce.value);return!isNaN(Ge)&&Ge{let Ge;return function(ot){return(Ge||(Ge=a.xGo(Ce)))(ot||Ce)}})(),Ce.\u0275dir=a.FsC({type:Ce,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})(),dr=(()=>{var Ce;class ce{}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)},Ce.\u0275mod=a.$C({type:Ce}),Ce.\u0275inj=a.G2t({}),ce})(),qo=(()=>{var Ce;class ce{static withConfig(ge){var ot;return{ngModule:ce,providers:[{provide:Je,useValue:null!==(ot=ge.callSetDisabledState)&&void 0!==ot?ot:lt}]}}}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)},Ce.\u0275mod=a.$C({type:Ce}),Ce.\u0275inj=a.G2t({imports:[dr]}),ce})(),Ei=(()=>{var Ce;class ce{static withConfig(ge){var ot,vn;return{ngModule:ce,providers:[{provide:Rn,useValue:null!==(ot=ge.warnOnNgModelWithFormControl)&&void 0!==ot?ot:"always"},{provide:Je,useValue:null!==(vn=ge.callSetDisabledState)&&void 0!==vn?vn:lt}]}}}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)},Ce.\u0275mod=a.$C({type:Ce}),Ce.\u0275inj=a.G2t({imports:[dr]}),ce})()},345:(be,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 O extends p{static makeCurrent(){(0,S.ZD)(new O)}onAndCancel(_e,De,Ae){return _e.addEventListener(De,Ae),()=>{_e.removeEventListener(De,Ae)}}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(Le){return new URL(Le,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 Le;class _e{build(){return new XMLHttpRequest}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac}),_e})();const w=new a.nKC("");let g=(()=>{var Le;class _e{constructor(Ae,Ze){this._zone=Ze,this._eventNameToPlugin=new Map,Ae.forEach(Ue=>{Ue.manager=this}),this._plugins=Ae.slice().reverse()}addEventListener(Ae,Ze,Ue){return this._findPluginFor(Ze).addEventListener(Ae,Ze,Ue)}getZone(){return this._zone}_findPluginFor(Ae){let Ze=this._eventNameToPlugin.get(Ae);if(Ze)return Ze;if(Ze=this._plugins.find(it=>it.supports(Ae)),!Ze)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(Ae,Ze),Ze}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(w),a.KVO(a.SKi))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac}),_e})();class F{constructor(_e){this._doc=_e}}const A="ng-app-id";let B=(()=>{var Le;class _e{constructor(Ae,Ze,Ue,it={}){this.doc=Ae,this.appId=Ze,this.nonce=Ue,this.platformId=it,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,S.Vy)(it),this.resetHostNodes()}addStyles(Ae){for(const Ze of Ae)1===this.changeUsageCount(Ze,1)&&this.onStyleAdded(Ze)}removeStyles(Ae){for(const Ze of Ae)this.changeUsageCount(Ze,-1)<=0&&this.onStyleRemoved(Ze)}ngOnDestroy(){const Ae=this.styleNodesInDOM;Ae&&(Ae.forEach(Ze=>Ze.remove()),Ae.clear());for(const Ze of this.getAllStyles())this.onStyleRemoved(Ze);this.resetHostNodes()}addHost(Ae){this.hostNodes.add(Ae);for(const Ze of this.getAllStyles())this.addStyleToHost(Ae,Ze)}removeHost(Ae){this.hostNodes.delete(Ae)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ae){for(const Ze of this.hostNodes)this.addStyleToHost(Ze,Ae)}onStyleRemoved(Ae){var Ze;const Ue=this.styleRef;null===(Ze=Ue.get(Ae))||void 0===Ze||null===(Ze=Ze.elements)||void 0===Ze||Ze.forEach(it=>it.remove()),Ue.delete(Ae)}collectServerRenderedStyles(){var Ae;const Ze=null===(Ae=this.doc.head)||void 0===Ae?void 0:Ae.querySelectorAll(`style[${A}="${this.appId}"]`);if(null!=Ze&&Ze.length){const Ue=new Map;return Ze.forEach(it=>{null!=it.textContent&&Ue.set(it.textContent,it)}),Ue}return null}changeUsageCount(Ae,Ze){const Ue=this.styleRef;if(Ue.has(Ae)){const it=Ue.get(Ae);return it.usage+=Ze,it.usage}return Ue.set(Ae,{usage:Ze,elements:[]}),Ze}getStyleElement(Ae,Ze){const Ue=this.styleNodesInDOM,it=null==Ue?void 0:Ue.get(Ze);if((null==it?void 0:it.parentNode)===Ae)return Ue.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),Ae.appendChild(Pe),Pe}}addStyleToHost(Ae,Ze){var Ue;const it=this.getStyleElement(Ae,Ze),Pe=this.styleRef,Be=null===(Ue=Pe.get(Ze))||void 0===Ue?void 0:Ue.elements;Be?Be.push(it):Pe.set(Ze,{elements:[it],usage:1})}resetHostNodes(){const Ae=this.hostNodes;Ae.clear(),Ae.add(this.doc.head)}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\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}`,R=`_ngcontent-${k}`,j=new a.nKC("",{providedIn:"root",factory:()=>!0});function ve(Le,_e){return _e.map(De=>De.replace($,Le))}let te=(()=>{var Le;class _e{constructor(Ae,Ze,Ue,it,Pe,Be,Ve,yt=null){this.eventManager=Ae,this.sharedStylesHost=Ze,this.appId=Ue,this.removeStylesOnCompDestroy=it,this.doc=Pe,this.platformId=Be,this.ngZone=Ve,this.nonce=yt,this.rendererByCompId=new Map,this.platformIsServer=(0,S.Vy)(Be),this.defaultRenderer=new se(Ae,Pe,Ve,this.platformIsServer)}createRenderer(Ae,Ze){if(!Ae||!Ze)return this.defaultRenderer;this.platformIsServer&&Ze.encapsulation===a.gXe.ShadowDom&&(Ze={...Ze,encapsulation:a.gXe.Emulated});const Ue=this.getOrCreateRenderer(Ae,Ze);return Ue instanceof h?Ue.applyToHost(Ae):Ue instanceof s&&Ue.applyStyles(),Ue}getOrCreateRenderer(Ae,Ze){const Ue=this.rendererByCompId;let it=Ue.get(Ze.id);if(!it){const Pe=this.doc,Be=this.ngZone,Ve=this.eventManager,yt=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,lt=this.platformIsServer;switch(Ze.encapsulation){case a.gXe.Emulated:it=new h(Ve,yt,Ze,this.appId,Je,Pe,Be,lt);break;case a.gXe.ShadowDom:return new u(Ve,yt,Ae,Ze,Pe,Be,this.nonce,lt);default:it=new s(Ve,yt,Ze,Je,Pe,Be,lt)}Ue.set(Ze.id,it)}return it}ngOnDestroy(){this.rendererByCompId.clear()}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(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))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac}),_e})();class se{constructor(_e,De,Ae,Ze){this.eventManager=_e,this.doc=De,this.ngZone=Ae,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,Ae){_e&&(o(_e)?_e.content:_e).insertBefore(De,Ae)}removeChild(_e,De){_e&&_e.removeChild(De)}selectRootElement(_e,De){let Ae="string"==typeof _e?this.doc.querySelector(_e):_e;if(!Ae)throw new a.wOt(-5104,!1);return De||(Ae.textContent=""),Ae}parentNode(_e){return _e.parentNode}nextSibling(_e){return _e.nextSibling}setAttribute(_e,De,Ae,Ze){if(Ze){De=Ze+":"+De;const Ue=P[Ze];Ue?_e.setAttributeNS(Ue,De,Ae):_e.setAttribute(De,Ae)}else _e.setAttribute(De,Ae)}removeAttribute(_e,De,Ae){if(Ae){const Ze=P[Ae];Ze?_e.removeAttributeNS(Ze,De):_e.removeAttribute(`${Ae}:${De}`)}else _e.removeAttribute(De)}addClass(_e,De){_e.classList.add(De)}removeClass(_e,De){_e.classList.remove(De)}setStyle(_e,De,Ae,Ze){Ze&(a.czy.DashCase|a.czy.Important)?_e.style.setProperty(De,Ae,Ze&a.czy.Important?"important":""):_e.style[De]=Ae}removeStyle(_e,De,Ae){Ae&a.czy.DashCase?_e.style.removeProperty(De):_e.style[De]=""}setProperty(_e,De,Ae){null!=_e&&(_e[De]=Ae)}setValue(_e,De){_e.nodeValue=De}listen(_e,De,Ae){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(Ae))}decoratePreventDefault(_e){return De=>{if("__ngUnwrap__"===De)return _e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>_e(De)):_e(De))&&De.preventDefault()}}}function o(Le){return"TEMPLATE"===Le.tagName&&void 0!==Le.content}class u extends se{constructor(_e,De,Ae,Ze,Ue,it,Pe,Be){super(_e,Ue,it,Be),this.sharedStylesHost=De,this.hostEl=Ae,this.shadowRoot=Ae.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ve=ve(Ze.id,Ze.styles);for(const yt of Ve){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,Ae){return super.insertBefore(this.nodeOrShadowRoot(_e),De,Ae)}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,Ae,Ze,Ue,it,Pe,Be){super(_e,Ue,it,Pe),this.sharedStylesHost=De,this.removeStylesOnCompDestroy=Ze,this.styles=Be?ve(Be,Ae.styles):Ae.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class h extends s{constructor(_e,De,Ae,Ze,Ue,it,Pe,Be){const Ve=Ze+"-"+Ae.id;super(_e,De,Ae,Ue,it,Pe,Be,Ve),this.contentAttr=function K(Le){return R.replace($,Le)}(Ve),this.hostAttr=function oe(Le){return M.replace($,Le)}(Ve)}applyToHost(_e){this.applyStyles(),this.setAttribute(_e,this.hostAttr,"")}createElement(_e,De){const Ae=super.createElement(_e,De);return super.setAttribute(Ae,this.contentAttr,""),Ae}}let v=(()=>{var Le;class _e extends F{constructor(Ae){super(Ae)}supports(Ae){return!0}addEventListener(Ae,Ze,Ue){return Ae.addEventListener(Ze,Ue,!1),()=>this.removeEventListener(Ae,Ze,Ue)}removeEventListener(Ae,Ze,Ue){return Ae.removeEventListener(Ze,Ue)}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\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:Le=>Le.altKey,control:Le=>Le.ctrlKey,meta:Le=>Le.metaKey,shift:Le=>Le.shiftKey};let d=(()=>{var Le;class _e extends F{constructor(Ae){super(Ae)}supports(Ae){return null!=_e.parseEventName(Ae)}addEventListener(Ae,Ze,Ue){const it=_e.parseEventName(Ze),Pe=_e.eventCallback(it.fullKey,Ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,S.QT)().onAndCancel(Ae,it.domEventName,Pe))}static parseEventName(Ae){const Ze=Ae.toLowerCase().split("."),Ue=Ze.shift();if(0===Ze.length||"keydown"!==Ue&&"keyup"!==Ue)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 Ve={};return Ve.domEventName=Ue,Ve.fullKey=Pe,Ve}static matchEventFullKeyCode(Ae,Ze){let Ue=f[Ae.key]||Ae.key,it="";return Ze.indexOf("code.")>-1&&(Ue=Ae.code,it="code."),!(null==Ue||!Ue)&&(Ue=Ue.toLowerCase()," "===Ue?Ue="space":"."===Ue&&(Ue="dot"),y.forEach(Pe=>{Pe!==Ue&&(0,r[Pe])(Ae)&&(it+=Pe+".")}),it+=Ue,it===Ze)}static eventCallback(Ae,Ze,Ue){return it=>{_e.matchEventFullKeyCode(it,Ae)&&Ue.runGuarded(()=>Ze(it))}}static _normalizeKey(Ae){return"esc"===Ae?"escape":Ae}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac}),_e})();const ae=(0,a.oH4)(a.fpN,"browser",[{provide:a.Agw,useValue:S.AJ},{provide:a.PLl,useValue:function re(){O.makeCurrent()},multi:!0},{provide:S.qQ,useFactory:function Me(){return(0,a.TL$)(document),document},deps:[]}]),tt=new a.nKC(""),Re=[{provide:a.e01,useClass:class _{addToWindow(_e){a.JZv.getAngularTestability=(Ae,Ze=!0)=>{const Ue=_e.findTestabilityInTree(Ae,Ze);if(null==Ue)throw new a.wOt(5103,!1);return Ue},a.JZv.getAllAngularTestabilities=()=>_e.getAllTestabilities(),a.JZv.getAllAngularRootElements=()=>_e.getAllRootElements(),a.JZv.frameworkStabilizers||(a.JZv.frameworkStabilizers=[]),a.JZv.frameworkStabilizers.push(Ae=>{const Ze=a.JZv.getAllAngularTestabilities();let Ue=Ze.length;const it=function(){Ue--,0==Ue&&Ae()};Ze.forEach(Pe=>{Pe.whenStable(it)})})}findTestabilityInTree(_e,De,Ae){if(null==De)return null;const Ze=_e.getTestability(De);return null!=Ze?Ze:Ae?(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 me(){return new a.zcH},deps:[]},{provide:w,useClass:v,multi:!0,deps:[S.qQ,a.SKi,a.Agw]},{provide:w,useClass:d,multi:!0,deps:[S.qQ]},te,B,g,{provide:a._9s,useExisting:te},{provide:S.N0,useClass:T,deps:[]},[]];let Ie=(()=>{var Le;class _e{constructor(Ae){}static withServerTransition(Ae){return{ngModule:_e,providers:[{provide:a.sZ2,useValue:Ae.appId}]}}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(tt,12))},Le.\u0275mod=a.$C({type:Le}),Le.\u0275inj=a.G2t({providers:[...pe,...Re],imports:[S.MD,a.Hbi]}),_e})(),ne=(()=>{var Le;class _e{constructor(Ae){this._doc=Ae}getTitle(){return this._doc.title}setTitle(Ae){this._doc.title=Ae||""}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),_e})(),yn=(()=>{var Le;class _e{}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)},Le.\u0275prov=a.jDH({token:Le,factory:function(Ae){let Ze=null;return Ze=Ae?new(Ae||Le):a.KVO(Dt),Ze},providedIn:"root"}),_e})(),Dt=(()=>{var Le;class _e extends yn{constructor(Ae){super(),this._doc=Ae}sanitize(Ae,Ze){if(null==Ze)return null;switch(Ae){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(Ae){return(0,a.Kcf)(Ae)}bypassSecurityTrustStyle(Ae){return(0,a.cWb)(Ae)}bypassSecurityTrustScript(Ae){return(0,a.UyX)(Ae)}bypassSecurityTrustUrl(Ae){return(0,a.osQ)(Ae)}bypassSecurityTrustResourceUrl(Ae){return(0,a.e5t)(Ae)}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),_e})()},3021:(be,ee,E)=>{"use strict";E.d(ee,{nX:()=>oi,Zp:()=>$e,Z:()=>Te,Xk:()=>tt,Kp:()=>Bi,b:()=>Yn,Ix:()=>ir,Wk:()=>Tr,iI:()=>$a,Sd:()=>Lt});var a=E(467),S=E(4438),p=E(4402),O=E(6648),c=E(7673),D=E(4412),C=E(4572),_=E(9350),T=E(8793),w=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),R=E(5558),U=E(6697),j=E(9326),K=E(9974),ve=E(5964),te=E(3028),se=E(4360);function m(z){return(0,K.N)((q,ue)=>{let Z=!1;q.subscribe((0,se._)(ue,fe=>{Z=!0,ue.next(fe)},()=>{Z||ue.next(z),ue.complete()}))})}function n(z=o){return(0,K.N)((q,ue)=>{let Z=!1;q.subscribe((0,se._)(ue,fe=>{Z=!0,ue.next(fe)},()=>Z?ue.complete():ue.error(z())))})}function o(){return new _.G}var u=E(3669);function s(z,q){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,ve.p)((fe,ke)=>z(fe,ke,Z)):u.D,(0,U.s)(1),ue?m(q):n(()=>new _.G))}var h=E(274),v=E(8141),y=E(9437),f=E(6649);function d(z){return z<=0?()=>A.w:(0,K.N)((q,ue)=>{let Z=[];q.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),J=E(9898),re=E(8750),me=E(5343),Q=E(6365),ae=E(345);const tt="primary",Re=Symbol("RouteTitle");class pe{constructor(q){this.params=q||{}}has(q){return Object.prototype.hasOwnProperty.call(this.params,q)}get(q){if(this.has(q)){const ue=this.params[q];return Array.isArray(ue)?ue[0]:ue}return null}getAll(q){if(this.has(q)){const ue=this.params[q];return Array.isArray(ue)?ue:[ue]}return[]}get keys(){return Object.keys(this.params)}}function Ie(z){return new pe(z)}function Se(z,q,ue){const Z=ue.path.split("/");if(Z.length>z.length||"full"===ue.pathMatch&&(q.hasChildren()||Z.lengthZ[ke]===fe)}return z===q}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,O.H)(Promise.resolve(z)):(0,c.of)(z)}const rt={exact:function on(z,q,ue){if(!Cn(z.segments,q.segments)||!St(z.segments,q.segments,ue)||z.numberOfChildren!==q.numberOfChildren)return!1;for(const Z in q.children)if(!z.children[Z]||!on(z.children[Z],q.children[Z],ue))return!1;return!0},subset:Pt},nn={exact:function ft(z,q){return ne(z,q)},subset:function wt(z,q){return Object.keys(q).length<=Object.keys(z).length&&Object.keys(q).every(ue=>Ee(z[ue],q[ue]))},ignored:()=>!0};function gt(z,q,ue){return rt[ue.paths](z.root,q.root,ue.matrixParams)&&nn[ue.queryParams](z.queryParams,q.queryParams)&&!("exact"===ue.fragment&&z.fragment!==q.fragment)}function Pt(z,q,ue){return En(z,q,q.segments,ue)}function En(z,q,ue,Z){if(z.segments.length>ue.length){const fe=z.segments.slice(0,ue.length);return!(!Cn(fe,ue)||q.hasChildren()||!St(fe,ue,Z))}if(z.segments.length===ue.length){if(!Cn(z.segments,ue)||!St(z.segments,ue,Z))return!1;for(const fe in q.children)if(!z.children[fe]||!Pt(z.children[fe],q.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)&&St(z.segments,fe,Z)&&z.children[tt])&&En(z.children[tt],q,ke,Z)}}function St(z,q,ue){return q.every((Z,fe)=>nn[ue](z[fe].parameters,Z.parameters))}class Tt{constructor(q=new yn([],{}),ue={},Z=null){this.root=q,this.queryParams=ue,this.fragment=Z}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(this._queryParamMap=Ie(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class yn{constructor(q,ue){this.segments=q,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 Ot(this)}}class Dt{constructor(q,ue){this.path=q,this.parameters=ue}get parameterMap(){var q;return null!==(q=this._parameterMap)&&void 0!==q||(this._parameterMap=Ie(this.parameters)),this._parameterMap}toString(){return Ue(this)}}function Cn(z,q){return z.length===q.length&&z.every((ue,Z)=>ue.path===q[Z].path)}let Lt=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>new In,providedIn:"root"}),q})();class In{parse(q){const ue=new Kt(q);return new Tt(ue.parseRootSegment(),ue.parseQueryParams(),ue.parseFragment())}serialize(q){const ue=`/${Ln(q.root,!0)}`,Z=function Pe(z){const q=Object.entries(z).map(([ue,Z])=>Array.isArray(Z)?Z.map(fe=>`${Le(ue)}=${Le(fe)}`).join("&"):`${Le(ue)}=${Le(Z)}`).filter(ue=>ue);return q.length?`?${q.join("&")}`:""}(q.queryParams);return`${ue}${Z}${"string"==typeof q.fragment?`#${function _e(z){return encodeURI(z)}(q.fragment)}`:""}`}}const kt=new In;function Ot(z){return z.segments.map(q=>Ue(q)).join("/")}function Ln(z,q){if(!z.hasChildren())return Ot(z);if(q){const ue=z.children[tt]?Ln(z.children[tt],!1):"",Z=[];return Object.entries(z.children).forEach(([fe,ke])=>{fe!==tt&&Z.push(`${fe}:${Ln(ke,!1)}`)}),Z.length>0?`${ue}(${Z.join("//")})`:ue}{const ue=function st(z,q){let ue=[];return Object.entries(z.children).forEach(([Z,fe])=>{Z===tt&&(ue=ue.concat(q(fe,Z)))}),Object.entries(z.children).forEach(([Z,fe])=>{Z!==tt&&(ue=ue.concat(q(fe,Z)))}),ue}(z,(Z,fe)=>fe===tt?[Ln(z.children[tt],!1)]:[`${fe}:${Ln(Z,!1)}`]);return 1===Object.keys(z.children).length&&null!=z.children[tt]?`${Ot(z)}/${ue[0]}`:`${Ot(z)}/(${ue.join("//")})`}}function Ut(z){return encodeURIComponent(z).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Le(z){return Ut(z).replace(/%3B/gi,";")}function De(z){return Ut(z).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ae(z){return decodeURIComponent(z)}function Ze(z){return Ae(z.replace(/\+/g,"%20"))}function Ue(z){return`${De(z.path)}${function it(z){return Object.entries(z).map(([q,ue])=>`;${De(q)}=${De(ue)}`).join("")}(z.parameters)}`}const Be=/^[^\/()?;#]+/;function Ve(z){const q=z.match(Be);return q?q[0]:""}const yt=/^[^\/()?;=#]+/,lt=/^[^=?&#]+/,Ct=/^[^&#]+/;class Kt{constructor(q){this.url=q,this.remaining=q}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yn([],{}):new yn([],this.parseChildren())}parseQueryParams(){const q={};if(this.consumeOptional("?"))do{this.parseQueryParam(q)}while(this.consumeOptional("&"));return q}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const q=[];for(this.peekStartsWith("(")||q.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),q.push(this.parseSegment());let ue={};this.peekStartsWith("/(")&&(this.capture("/"),ue=this.parseParens(!0));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1)),(q.length>0||Object.keys(ue).length>0)&&(Z[tt]=new yn(q,ue)),Z}parseSegment(){const q=Ve(this.remaining);if(""===q&&this.peekStartsWith(";"))throw new S.wOt(4009,!1);return this.capture(q),new Dt(Ae(q),this.parseMatrixParams())}parseMatrixParams(){const q={};for(;this.consumeOptional(";");)this.parseParam(q);return q}parseParam(q){const ue=function Je(z){const q=z.match(yt);return q?q[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const fe=Ve(this.remaining);fe&&(Z=fe,this.capture(Z))}q[Ae(ue)]=Ae(Z)}parseQueryParam(q){const ue=function Qt(z){const q=z.match(lt);return q?q[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const nt=function mt(z){const q=z.match(Ct);return q?q[0]:""}(this.remaining);nt&&(Z=nt,this.capture(Z))}const fe=Ze(ue),ke=Ze(Z);if(q.hasOwnProperty(fe)){let nt=q[fe];Array.isArray(nt)||(nt=[nt],q[fe]=nt),nt.push(ke)}else q[fe]=ke}parseParens(q){const ue={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=Ve(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(":")):q&&(ke=tt);const nt=this.parseChildren();ue[ke]=1===Object.keys(nt).length?nt[tt]:new yn([],nt),this.consumeOptional("//")}return ue}peekStartsWith(q){return this.remaining.startsWith(q)}consumeOptional(q){return!!this.peekStartsWith(q)&&(this.remaining=this.remaining.substring(q.length),!0)}capture(q){if(!this.consumeOptional(q))throw new S.wOt(4011,!1)}}function Rt(z){return z.segments.length>0?new yn([],{[tt]:z}):z}function Ft(z){const q={};for(const[Z,fe]of Object.entries(z.children)){const ke=Ft(fe);if(Z===tt&&0===ke.segments.length&&ke.hasChildren())for(const[nt,jt]of Object.entries(ke.children))q[nt]=jt;else(ke.segments.length>0||ke.hasChildren())&&(q[Z]=ke)}return function Pn(z){if(1===z.numberOfChildren&&z.children[tt]){const q=z.children[tt];return new yn(z.segments.concat(q.segments),q.children)}return z}(new yn(z.segments,q))}function wn(z){return z instanceof Tt}function bn(z){var q;let ue;const ke=Rt(function Z(nt){const jt={};for(const Gt of nt.children){const Sn=Z(Gt);jt[Gt.outlet]=Sn}const cn=new yn(nt.url,jt);return nt===z&&(ue=cn),cn}(z.root));return null!==(q=ue)&&void 0!==q?q:ke}function zn(z,q,ue,Z){let fe=z;for(;fe.parent;)fe=fe.parent;if(0===q.length)return kn(fe,fe,fe,ue,Z);const ke=function jn(z){if("string"==typeof z[0]&&1===z.length&&"/"===z[0])return new $n(!0,0,z);let q=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?q++:""!=jt&&fe.push(jt))}),fe):[...fe,ke]},[]);return new $n(ue,q,Z)}(q);if(ke.toRoot())return kn(fe,fe,new yn([],{}),ue,Z);const nt=function ut(z,q,ue){if(z.isAbsolute)return new je(q,!0,0);if(!ue)return new je(q,!1,NaN);if(null===ue.parent)return new je(ue,!0,0);const Z=Un(z.commands[0])?0:1;return function It(z,q,ue){let Z=z,fe=q,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?Zt(nt.segmentGroup,nt.index,ke.commands):Nt(nt.segmentGroup,nt.index,ke.commands);return kn(fe,nt.segmentGroup,jt,ue,Z)}function Un(z){return"object"==typeof z&&null!=z&&!z.outlets&&!z.segmentPath}function Fn(z){return"object"==typeof z&&null!=z&&z.outlets}function kn(z,q,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===q?ue:Kn(z,q,ue);const jt=Rt(Ft(nt));return new Tt(jt,ke,fe)}function Kn(z,q,ue){const Z={};return Object.entries(z.children).forEach(([fe,ke])=>{Z[fe]=ke===q?ue:Kn(ke,q,ue)}),new yn(z.segments,Z)}class $n{constructor(q,ue,Z){if(this.isAbsolute=q,this.numberOfDoubleDots=ue,this.commands=Z,q&&Z.length>0&&Un(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 je{constructor(q,ue,Z){this.segmentGroup=q,this.processChildren=ue,this.index=Z}}function Nt(z,q,ue){var Z;if(null!==(Z=z)&&void 0!==Z||(z=new yn([],{})),0===z.segments.length&&z.hasChildren())return Zt(z,q,ue);const fe=function qt(z,q,ue){let Z=0,fe=q;const ke={match:!1,pathIndex:0,commandIndex:0};for(;fe=ue.length)return ke;const nt=z.segments[fe],jt=ue[Z];if(Fn(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,q,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=Zt(z.children[tt],q,ue);return new yn(z.segments,ke.children)}return Object.entries(Z).forEach(([ke,nt])=>{"string"==typeof nt&&(nt=[nt]),null!==nt&&(fe[ke]=Nt(z.children[ke],q,nt))}),Object.entries(z.children).forEach(([ke,nt])=>{void 0===Z[ke]&&(fe[ke]=nt)}),new yn(z.segments,fe)}}function Yt(z,q,ue){const Z=z.segments.slice(0,q);let fe=0;for(;fe{"string"==typeof Z&&(Z=[Z]),null!==Z&&(q[ue]=Yt(new yn([],{}),0,Z))}),q}function An(z){const q={};return Object.entries(z).forEach(([ue,Z])=>q[ue]=`${Z}`),q}function Xn(z,q,ue){return z==ue.path&&ne(q,ue.parameters)}const pr="imperative";var We=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}(We||{});class et{constructor(q,ue){this.id=q,this.url=ue}}class Te extends et{constructor(q,ue,Z="imperative",fe=null){super(q,ue),this.type=We.NavigationStart,this.navigationTrigger=Z,this.restoredState=fe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qe extends et{constructor(q,ue,Z){super(q,ue),this.urlAfterRedirects=Z,this.type=We.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||{}),Wt=function(z){return z[z.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",z[z.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",z}(Wt||{});class hn extends et{constructor(q,ue,Z,fe){super(q,ue),this.reason=Z,this.code=fe,this.type=We.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Et extends et{constructor(q,ue,Z,fe){super(q,ue),this.reason=Z,this.code=fe,this.type=We.NavigationSkipped}}class zt extends et{constructor(q,ue,Z,fe){super(q,ue),this.error=Z,this.target=fe,this.type=We.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ye extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=We.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ke extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=We.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt extends et{constructor(q,ue,Z,fe,ke){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.shouldActivate=ke,this.type=We.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xt extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=We.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xt extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=We.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $t{constructor(q){this.route=q,this.type=We.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class an{constructor(q){this.route=q,this.type=We.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ln{constructor(q){this.snapshot=q,this.type=We.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(q){this.snapshot=q,this.type=We.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class un{constructor(q){this.snapshot=q,this.type=We.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tn{constructor(q){this.snapshot=q,this.type=We.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mn{constructor(q,ue,Z){this.routerEvent=q,this.position=ue,this.anchor=Z,this.type=We.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Bn{}class Rn{constructor(q){this.url=q}}class X{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new $e,this.attachRef=null}}let $e=(()=>{var z;class q{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=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();class le{constructor(q){this._root=q}get root(){return this._root.value}parent(q){const ue=this.pathFromRoot(q);return ue.length>1?ue[ue.length-2]:null}children(q){const ue=Xe(q,this._root);return ue?ue.children.map(Z=>Z.value):[]}firstChild(q){const ue=Xe(q,this._root);return ue&&ue.children.length>0?ue.children[0].value:null}siblings(q){const ue=_t(q,this._root);return ue.length<2?[]:ue[ue.length-2].children.map(fe=>fe.value).filter(fe=>fe!==q)}pathFromRoot(q){return _t(q,this._root).map(ue=>ue.value)}}function Xe(z,q){if(z===q.value)return q;for(const ue of q.children){const Z=Xe(z,ue);if(Z)return Z}return null}function _t(z,q){if(z===q.value)return[q];for(const ue of q.children){const Z=_t(z,ue);if(Z.length)return Z.unshift(q),Z}return[]}class Nn{constructor(q,ue){this.value=q,this.children=ue}toString(){return`TreeNode(${this.value})`}}function vr(z){const q={};return z&&z.children.forEach(ue=>q[ue.value.outlet]=ue),q}class Br extends le{constructor(q,ue){super(q),this.snapshot=ue,mi(this,q)}toString(){return this.snapshot.toString()}}function ei(z){const q=function Jr(z){const ke=new Ui([],{},{},"",{},tt,z,null,{});return new Mr("",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,q.root);return jt.snapshot=q.root,new Br(new Nn(jt,[]),q)}class oi{constructor(q,ue,Z,fe,ke,nt,jt,cn){var Gt,Sn;this.urlSubject=q,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===(Sn=this.dataSubject)||void 0===Sn?void 0:Sn.pipe((0,M.T)(Jn=>Jn[Re])))&&void 0!==Gt?Gt:(0,c.of)(void 0),this.url=q,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 q;return null!==(q=this._paramMap)&&void 0!==q||(this._paramMap=this.params.pipe((0,M.T)(ue=>Ie(ue)))),this._paramMap}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(this._queryParamMap=this.queryParams.pipe((0,M.T)(ue=>Ie(ue)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wr(z,q,ue="emptyOnly"){var Z;let fe;const{routeConfig:ke}=z;var nt;return fe=null===q||"always"!==ue&&""!==(null==ke?void 0:ke.path)&&(q.component||null!==(Z=q.routeConfig)&&void 0!==Z&&Z.loadComponent)?{params:{...z.params},data:{...z.data},resolve:{...z.data,...null!==(nt=z._resolvedData)&&void 0!==nt?nt:{}}}:{params:{...q.params,...z.params},data:{...q.data,...z.data},resolve:{...z.data,...q.data,...null==ke?void 0:ke.data,...z._resolvedData}},ke&&Di(ke)&&(fe.resolve[Re]=ke.title),fe}class Ui{get title(){var q;return null===(q=this.data)||void 0===q?void 0:q[Re]}constructor(q,ue,Z,fe,ke,nt,jt,cn,Gt){this.url=q,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 q;return null!==(q=this._paramMap)&&void 0!==q||(this._paramMap=Ie(this.params)),this._paramMap}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(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 Mr extends le{constructor(q,ue){super(ue),this.url=q,mi(this,ue)}toString(){return Vn(this._root)}}function mi(z,q){q.value._routerState=z,q.children.forEach(ue=>mi(z,ue))}function Vn(z){const q=z.children.length>0?` { ${z.children.map(Vn).join(", ")} } `:"";return`${z.value}${q}`}function gi(z){if(z.snapshot){const q=z.snapshot,ue=z._futureSnapshot;z.snapshot=ue,ne(q.queryParams,ue.queryParams)||z.queryParamsSubject.next(ue.queryParams),q.fragment!==ue.fragment&&z.fragmentSubject.next(ue.fragment),ne(q.params,ue.params)||z.paramsSubject.next(ue.params),function ie(z,q){if(z.length!==q.length)return!1;for(let ue=0;uene(ue.parameters,q[Z].parameters))}(z.url,q.url);return ue&&!(!z.parent!=!q.parent)&&(!z.parent||Ri(z.parent,q.parent))}function Di(z){return"string"==typeof z.title||null===z.title}let Ai=(()=>{var z;class q{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)($e),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,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=q).\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$]}),q})();class Vi{__ngOutletInjector(q){return new Vi(this.route,this.childContexts,q)}constructor(q,ue,Z){this.route=q,this.childContexts=ue,this.parent=Z}get(q,ue){return q===oi?this.route:q===$e?this.childContexts:this.parent.get(q,ue)}}const Mi=new S.nKC("");let Zi=(()=>{var z;class q{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,R.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=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac}),q})();function wi(z,q,ue){if(ue&&z.shouldReuseRoute(q.value,ue.value.snapshot)){const Z=ue.value;Z._futureSnapshot=q.value;const fe=function _i(z,q,ue){return q.children.map(Z=>{for(const fe of ue.children)if(z.shouldReuseRoute(Z.value,fe.value.snapshot))return wi(z,Z,fe);return wi(z,Z)})}(z,q,ue);return new Nn(Z,fe)}{if(z.shouldAttach(q.value)){const ke=z.retrieve(q.value);if(null!==ke){const nt=ke.route;return nt.value._futureSnapshot=q.value,nt.children=q.children.map(jt=>wi(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)}(q.value),fe=q.children.map(ke=>wi(z,ke));return new Nn(Z,fe)}}const ti="ngNavigationCancelingError";function Qi(z,q){const{redirectTo:ue,navigationBehaviorOptions:Z}=wn(q)?{redirectTo:q,navigationBehaviorOptions:void 0}:q,fe=Pr(!1,bt.Redirect);return fe.url=ue,fe.navigationBehaviorOptions=Z,fe}function Pr(z,q){const ue=new Error(`NavigationCancelingError: ${z||""}`);return ue[ti]=!0,ue.cancellationCode=q,ue}function He(z){return!!z&&z[ti]}let Ne=(()=>{var z;class q{}return(z=q).\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}),q})();function Er(z){const q=z.children&&z.children.map(Er),ue=q?{...z,children:q}:{...z};return!ue.component&&!ue.loadComponent&&(q||ue.loadChildren)&&ue.outlet&&ue.outlet!==tt&&(ue.component=Ne),ue}function dr(z){return z.outlet||tt}function ci(z){var q;if(!z)return null;if(null!==(q=z.routeConfig)&&void 0!==q&&q._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(q,ue,Z,fe,ke){this.routeReuseStrategy=q,this.futureState=ue,this.currState=Z,this.forwardEvent=fe,this.inputBindingEnabled=ke}activate(q){const ue=this.futureState._root,Z=this.currState?this.currState._root:null;this.deactivateChildRoutes(ue,Z,q),gi(this.futureState.root),this.activateChildRoutes(ue,Z,q)}deactivateChildRoutes(q,ue,Z){const fe=vr(ue);q.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(q,ue,Z){const fe=q.value,ke=ue?ue.value:null;if(fe===ke)if(fe.component){const nt=Z.getContext(fe.outlet);nt&&this.deactivateChildRoutes(q,ue,nt.children)}else this.deactivateChildRoutes(q,ue,Z);else ke&&this.deactivateRouteAndItsChildren(ue,Z)}deactivateRouteAndItsChildren(q,ue){q.value.component&&this.routeReuseStrategy.shouldDetach(q.value.snapshot)?this.detachAndStoreRouteSubtree(q,ue):this.deactivateRouteAndOutlet(q,ue)}detachAndStoreRouteSubtree(q,ue){const Z=ue.getContext(q.value.outlet),fe=Z&&q.value.component?Z.children:ue,ke=vr(q);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(q.value.snapshot,{componentRef:nt,route:q,contexts:jt})}}deactivateRouteAndOutlet(q,ue){const Z=ue.getContext(q.value.outlet),fe=Z&&q.value.component?Z.children:ue,ke=vr(q);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(q,ue,Z){const fe=vr(ue);q.children.forEach(ke=>{this.activateRoutes(ke,fe[ke.value.outlet],Z),this.forwardEvent(new tn(ke.value.snapshot))}),q.children.length&&this.forwardEvent(new fn(q.value.snapshot))}activateRoutes(q,ue,Z){const fe=q.value,ke=ue?ue.value:null;if(gi(fe),fe===ke)if(fe.component){const nt=Z.getOrCreateContext(fe.outlet);this.activateChildRoutes(q,ue,nt.children)}else this.activateChildRoutes(q,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),gi(jt.route.value),this.activateChildRoutes(q,null,nt.children)}else{const jt=ci(fe.snapshot);nt.attachRef=null,nt.route=fe,nt.injector=jt,nt.outlet&&nt.outlet.activateWith(fe,nt.injector),this.activateChildRoutes(q,null,nt.children)}}else this.activateChildRoutes(q,null,Z)}}class Ji{constructor(q){this.path=q,this.route=this.path[this.path.length-1]}}class di{constructor(q,ue){this.component=q,this.route=ue}}function Oi(z,q,ue){const Z=z._root;return Ce(Z,q?q._root:null,ue,[Z.value])}function Ei(z,q){const ue=Symbol(),Z=q.get(z,ue);return Z===ue?"function"!=typeof z||(0,S.LfX)(z)?q.get(z):z:Z}function Ce(z,q,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=vr(q);return z.children.forEach(nt=>{(function ce(z,q,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=z.value,nt=q?q.value:null,jt=ue?ue.getContext(z.value.outlet):null;if(nt&&ke.routeConfig===nt.routeConfig){const cn=function Ge(z,q,ue){if("function"==typeof ue)return ue(z,q);switch(ue){case"pathParamsChange":return!Cn(z.url,q.url);case"pathParamsOrQueryParamsChange":return!Cn(z.url,q.url)||!ne(z.queryParams,q.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ri(z,q)||!ne(z.queryParams,q.queryParams);default:return!Ri(z,q)}}(nt,ke,ke.routeConfig.runGuardsAndResolvers);cn?fe.canActivateChecks.push(new Ji(Z)):(ke.data=nt.data,ke._resolvedData=nt._resolvedData),Ce(z,q,ke.component?jt?jt.children:null:ue,Z,fe),cn&&jt&&jt.outlet&&jt.outlet.isActivated&&fe.canDeactivateChecks.push(new di(jt.outlet.component,nt))}else nt&&ge(q,jt,fe),fe.canActivateChecks.push(new Ji(Z)),Ce(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,q,ue){const Z=vr(z),fe=z.value;Object.entries(Z).forEach(([ke,nt])=>{ge(nt,fe.component?q?q.children.getContext(ke):null:q,ue)}),ue.canDeactivateChecks.push(new di(fe.component&&q&&q.outlet&&q.outlet.isActivated?q.outlet.component:null,fe))}function ot(z){return"function"==typeof z}function ws(z){return z instanceof _.G||"EmptyError"===(null==z?void 0:z.name)}const Eo=Symbol("INITIAL_VALUE");function qi(){return(0,R.n)(z=>(0,C.z)(z.map(q=>q.pipe((0,U.s)(1),function oe(...z){const q=(0,j.lI)(z);return(0,K.N)((ue,Z)=>{(q?(0,T.x)(z,ue,q):(0,T.x)(z,ue)).subscribe(Z)})}(Eo)))).pipe((0,M.T)(q=>{for(const ue of q)if(!0!==ue){if(ue===Eo)return Eo;if(!1===ue||ue instanceof Tt)return ue}return!0}),(0,ve.p)(q=>q!==Eo),(0,U.s)(1)))}function es(z){return(0,g.F)((0,v.M)(q=>{if(wn(q))throw Qi(0,q)}),(0,M.T)(q=>!0===q))}class ts{constructor(q){this.segmentGroup=q||null}}class yo extends Error{constructor(q){super(),this.urlTree=q}}function qn(z){return(0,F.$)(new ts(z))}class Gr{constructor(q,ue){this.urlSerializer=q,this.urlTree=ue}lineralizeSegments(q,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(q,ue,Z){const fe=this.applyRedirectCreateUrlTree(ue,this.urlSerializer.parse(ue),q,Z);if(ue.startsWith("/"))throw new yo(fe);return fe}applyRedirectCreateUrlTree(q,ue,Z,fe){const ke=this.createSegmentGroup(q,ue.root,Z,fe);return new Tt(ke,this.createQueryParams(ue.queryParams,this.urlTree.queryParams),ue.fragment)}createQueryParams(q,ue){const Z={};return Object.entries(q).forEach(([fe,ke])=>{if("string"==typeof ke&&ke.startsWith(":")){const jt=ke.substring(1);Z[fe]=ue[jt]}else Z[fe]=ke}),Z}createSegmentGroup(q,ue,Z,fe){const ke=this.createSegments(q,ue.segments,Z,fe);let nt={};return Object.entries(ue.children).forEach(([jt,cn])=>{nt[jt]=this.createSegmentGroup(q,cn,Z,fe)}),new yn(ke,nt)}createSegments(q,ue,Z,fe){return ue.map(ke=>ke.path.startsWith(":")?this.findPosParam(q,ke,fe):this.findOrReturn(ke,Z))}findPosParam(q,ue,Z){const fe=Z[ue.path.substring(1)];if(!fe)throw new S.wOt(4001,!1);return fe}findOrReturn(q,ue){let Z=0;for(const fe of ue){if(fe.path===q.path)return ue.splice(Z),fe;Z++}return q}}const ns={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rs(z,q,ue,Z,fe){const ke=ji(z,q,ue);return ke.matched?(Z=function Ye(z,q){var ue;return z.providers&&!z._injector&&(z._injector=(0,S.Ol2)(z.providers,q,`Route: ${z.path}`)),null!==(ue=z._injector)&&void 0!==ue?ue:q}(q,Z),function Ia(z,q,ue,Z){const fe=q.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(q,ue):(0,S.N4e)(z,()=>jt(q,ue)))});return(0,c.of)(ke).pipe(qi(),es())}(Z,q,ue).pipe((0,M.T)(nt=>!0===nt?ke:{...ns}))):(0,c.of)(ke)}function ji(z,q,ue){var Z,fe;if("**"===q.path)return function Yl(z){return{matched:!0,parameters:z.length>0?vt(z).parameters:{},consumedSegments:z,remainingSegments:[],positionalParamSegments:{}}}(ue);if(""===q.path)return"full"===q.pathMatch&&(z.hasChildren()||ue.length>0)?{...ns}:{matched:!0,consumedSegments:[],remainingSegments:ue,parameters:{},positionalParamSegments:{}};const nt=(q.matcher||Se)(ue,z,q);if(!nt)return{...ns};const jt={};Object.entries(null!==(Z=nt.posParams)&&void 0!==Z?Z:{}).forEach(([Gt,Sn])=>{jt[Gt]=Sn.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,q,ue,Z){return ue.length>0&&function Oo(z,q,ue){return ue.some(Z=>eo(z,q,Z)&&dr(Z)!==tt)}(z,ue,Z)?{segmentGroup:new yn(q,_s(Z,new yn(ue,z.children))),slicedSegments:[]}:0===ue.length&&function Bs(z,q,ue){return ue.some(Z=>eo(z,q,Z))}(z,ue,Z)?{segmentGroup:new yn(z.segments,Ro(z,ue,Z,z.children)),slicedSegments:ue}:{segmentGroup:new yn(z.segments,z.children),slicedSegments:ue}}function Ro(z,q,ue,Z){const fe={};for(const ke of ue)if(eo(z,q,ke)&&!Z[dr(ke)]){const nt=new yn([],{});fe[dr(ke)]=nt}return{...Z,...fe}}function _s(z,q){const ue={};ue[tt]=q;for(const Z of z)if(""===Z.path&&dr(Z)!==tt){const fe=new yn([],{});ue[dr(Z)]=fe}return ue}function eo(z,q,ue){return(!(z.hasChildren()||q.length>0)||"full"!==ue.pathMatch)&&""===ue.path}class Zl{}class Pa{constructor(q,ue,Z,fe,ke,nt,jt){this.injector=q,this.configLoader=ue,this.rootComponentType=Z,this.config=fe,this.urlTree=ke,this.paramsInheritanceStrategy=nt,this.urlSerializer=jt,this.applyRedirects=new Gr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(q){return new S.wOt(4002,`'${q.segmentGroup}'`)}recognize(){const q=Ta(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(q).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 Nn(Z,ue),ke=new Mr("",fe),nt=function _n(z,q,ue=null,Z=null){return zn(bn(z),q,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(q){return this.processSegmentGroup(this.injector,this.config,q,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(q,ue){const Z=q.value,fe=Wr(Z,ue,this.paramsInheritanceStrategy);Z.params=Object.freeze(fe.params),Z.data=Object.freeze(fe.data),q.children.forEach(ke=>this.inheritParamsAndData(ke,Z))}processSegmentGroup(q,ue,Z,fe){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(q,ue,Z):this.processSegment(q,ue,Z,Z.segments,fe,!0).pipe((0,M.T)(ke=>ke instanceof Nn?[ke]:[]))}processChildren(q,ue,Z){const fe=[];for(const ke of Object.keys(Z.children))"primary"===ke?fe.unshift(ke):fe.push(ke);return(0,O.H)(fe).pipe((0,h.H)(ke=>{const nt=Z.children[ke],jt=function ur(z,q){const ue=z.filter(Z=>dr(Z)===q);return ue.push(...z.filter(Z=>dr(Z)!==q)),ue}(ue,ke);return this.processSegmentGroup(q,jt,nt,ke)}),function r(z,q){return(0,K.N)((0,f.S)(z,q,arguments.length>=2,!0))}((ke,nt)=>(ke.push(...nt),ke)),m(null),function L(z,q){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,ve.p)((fe,ke)=>z(fe,ke,Z)):u.D,d(1),ue?m(q):n(()=>new _.G))}(),(0,te.Z)(ke=>{if(null===ke)return qn(Z);const nt=No(ke);return function Hi(z){z.sort((q,ue)=>q.value.outlet===tt?-1:ue.value.outlet===tt?1:q.value.outlet.localeCompare(ue.value.outlet))}(nt),(0,c.of)(nt)}))}processSegment(q,ue,Z,fe,ke,nt){return(0,O.H)(ue).pipe((0,h.H)(jt=>{var cn;return this.processSegmentAgainstRoute(null!==(cn=jt._injector)&&void 0!==cn?cn:q,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,q,ue){return 0===q.length&&!z.children[ue]}(Z,fe,ke)?(0,c.of)(new Zl):qn(Z);throw jt}))}processSegmentAgainstRoute(q,ue,Z,fe,ke,nt,jt){return function wc(z,q,ue,Z){return!!(dr(z)===Z||Z!==tt&&eo(q,ue,z))&&ji(q,z,ue).matched}(Z,fe,ke,nt)?void 0===Z.redirectTo?this.matchSegmentAgainstRoute(q,fe,Z,ke,nt):this.allowRedirects&&jt?this.expandSegmentAgainstRouteUsingRedirect(q,fe,ue,Z,ke,nt):qn(fe):qn(fe)}expandSegmentAgainstRouteUsingRedirect(q,ue,Z,fe,ke,nt){const{matched:jt,consumedSegments:cn,positionalParamSegments:Gt,remainingSegments:Sn}=ji(ue,fe,ke);if(!jt)return qn(ue);fe.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Jn=this.applyRedirects.applyRedirectCommands(cn,fe.redirectTo,Gt);return this.applyRedirects.lineralizeSegments(fe,Jn).pipe((0,te.Z)(_r=>this.processSegment(q,Z,ue,_r.concat(Sn),nt,!1)))}matchSegmentAgainstRoute(q,ue,Z,fe,ke){const nt=rs(ue,Z,fe,q);return"**"===Z.path&&(ue.children={}),nt.pipe((0,R.n)(jt=>{var cn;return jt.matched?(q=null!==(cn=Z._injector)&&void 0!==cn?cn:q,this.getChildConfig(q,Z,fe).pipe((0,R.n)(({routes:Gt})=>{var Sn,Jn,_r;const hr=null!==(Sn=Z._loadedInjector)&&void 0!==Sn?Sn:q,{consumedSegments:Xr,remainingSegments:Mo,parameters:us}=jt,zo=new Ui(Xr,us,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Oa(z){return z.data||{}}(Z),dr(Z),null!==(Jn=null!==(_r=Z.component)&&void 0!==_r?_r:Z._loadedComponent)&&void 0!==Jn?Jn:null,Z,function Fs(z){return z.resolve||{}}(Z)),{segmentGroup:Ko,slicedSegments:cs}=Ta(ue,Xr,Mo,Gt);if(0===cs.length&&Ko.hasChildren())return this.processChildren(hr,Gt,Ko).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=dr(Z)===ke;return this.processSegment(hr,Gt,Ko,cs,Va?tt:ke,!0).pipe((0,M.T)(ds=>new Nn(zo,ds instanceof Nn?[ds]:[])))}))):qn(ue)}))}getChildConfig(q,ue,Z){return ue.children?(0,c.of)({routes:ue.children,injector:q}):ue.loadChildren?void 0!==ue._loadedRoutes?(0,c.of)({routes:ue._loadedRoutes,injector:ue._loadedInjector}):function Sa(z,q,ue,Z){const fe=q.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 Hn(z){return z&&ot(z.canLoad)}(jt)?jt.canLoad(q,ue):(0,S.N4e)(z,()=>jt(q,ue)))});return(0,c.of)(ke).pipe(qi(),es())}(q,ue,Z).pipe((0,te.Z)(fe=>fe?this.configLoader.loadChildren(q,ue).pipe((0,v.M)(ke=>{ue._loadedRoutes=ke.routes,ue._loadedInjector=ke.injector})):function si(z){return(0,F.$)(Pr(!1,bt.GuardRejected))}())):(0,c.of)({routes:[],injector:q})}}function Ra(z){const q=z.value.routeConfig;return q&&""===q.path}function No(z){const q=[],ue=new Set;for(const Z of z){if(!Ra(Z)){q.push(Z);continue}const fe=q.find(ke=>Z.value.routeConfig===ke.value.routeConfig);void 0!==fe?(fe.children.push(...Z.children),ue.add(fe)):q.push(Z)}for(const Z of ue){const fe=No(Z.children);q.push(new Nn(Z.value,fe))}return q.filter(Z=>!ue.has(Z))}function to(z){const q=z.children.map(ue=>to(ue)).flat();return[z,...q]}function is(z){return(0,R.n)(q=>{const ue=z(q);return ue?(0,O.H)(ue).pipe((0,M.T)(()=>q)):(0,c.of)(q)})}let no=(()=>{var z;class q{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[Re]}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(ql),providedIn:"root"}),q})(),ql=(()=>{var z;class q extends no{constructor(Z){super(),this.title=Z}updateTitle(Z){const fe=this.buildTitle(Z);void 0!==fe&&this.title.setTitle(fe)}}return(z=q).\u0275fac=function(Z){return new(Z||z)(S.KVO(ae.hE))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();const Co=new S.nKC("",{providedIn:"root",factory:()=>({})}),bo=new S.nKC("");let Lo=(()=>{var z;class q{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,J.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,q,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,O.H)(q.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(Er),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,J.B)());return this.childrenLoaders.set(fe,jt),jt}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();function $o(z){return function Na(z){return z&&"object"==typeof z&&"default"in z}(z)?z.default:z}let Y=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(xe),providedIn:"root"}),q})(),xe=(()=>{var z;class q{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,fe){return Z}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();const at=new S.nKC(""),de=new S.nKC("");function ze(z,q,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(q=>{(0,S.mal)(q,{injector:z})})}(z))),{onViewTransitionCreated:cn}=Z;return cn&&(0,S.N4e)(z,()=>cn({transition:jt,from:q,to:ue})),nt})}let Jt=(()=>{var z;class q{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)(Lt),this.rootContexts=(0,S.WQX)($e),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)(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:pr,restoredState:null,currentSnapshot:ke.snapshot,targetSnapshot:null,currentRouterState:ke,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ve.p)(nt=>0!==nt.id),(0,M.T)(nt=>({...nt,extractedUrl:this.urlHandlingStrategy.extract(nt.rawUrl)})),(0,R.n)(nt=>{let jt=!1,cn=!1;return(0,c.of)(nt).pipe((0,R.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 Jn=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),_r=null!==(Sn=Gt.extras.onSameUrlNavigation)&&void 0!==Sn?Sn:Z.onSameUrlNavigation;if(!Jn&&"reload"!==_r){const hr="";return this.events.next(new Et(Gt.id,this.urlSerializer.serialize(Gt.rawUrl),hr,Wt.IgnoredSameUrlNavigation)),Gt.resolve(null),A.w}if(this.urlHandlingStrategy.shouldProcessUrl(Gt.rawUrl))return(0,c.of)(Gt).pipe((0,R.n)(hr=>{var Xr,Mo;const us=null===(Xr=this.transitions)||void 0===Xr?void 0:Xr.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,q,ue,Z,fe,ke){return(0,te.Z)(nt=>function Is(z,q,ue,Z,fe,ke,nt="emptyOnly"){return new Pa(z,q,ue,Z,fe,nt,ke).recognize()}(z,q,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 Xr=new ye(hr.id,this.urlSerializer.serialize(hr.extractedUrl),this.urlSerializer.serialize(hr.urlAfterRedirects),hr.targetSnapshot);this.events.next(Xr)}));if(Jn&&this.urlHandlingStrategy.shouldProcessUrl(Gt.currentRawUrl)){const{id:hr,extractedUrl:Xr,source:Mo,restoredState:us,extras:zo}=Gt,Ko=new Te(hr,this.urlSerializer.serialize(Xr),Mo,us);this.events.next(Ko);const cs=ei(this.rootComponentType).snapshot;return this.currentTransition=nt={...Gt,targetSnapshot:cs,urlAfterRedirects:Xr,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Xr,(0,c.of)(nt)}{const hr="";return this.events.next(new Et(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),hr,Wt.IgnoredByUrlHandlingStrategy)),Gt.resolve(null),A.w}}),(0,v.M)(Gt=>{const Sn=new Ke(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:Oi(Gt.targetSnapshot,Gt.currentSnapshot,this.rootContexts)},nt)),function Cr(z,q){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,q,ue,Z){return(0,O.H)(z).pipe((0,te.Z)(fe=>function Xl(z,q,ue,Z,fe){const ke=q&&q.routeConfig?q.routeConfig.canDeactivate:null;if(!ke||0===ke.length)return(0,c.of)(!0);const nt=ke.map(jt=>{var cn;const Gt=null!==(cn=ci(q))&&void 0!==cn?cn:fe,Sn=Ei(jt,Gt);return Qe(function zr(z){return z&&ot(z.canDeactivate)}(Sn)?Sn.canDeactivate(z,q,ue,Z):(0,S.N4e)(Gt,()=>Sn(z,q,ue,Z))).pipe(s())});return(0,c.of)(nt).pipe(qi())}(fe.component,fe.route,ue,q,Z)),s(fe=>!0!==fe,!0))}(nt,Z,fe,z).pipe((0,te.Z)(jt=>jt&&function vn(z){return"boolean"==typeof z}(jt)?function _a(z,q,ue,Z){return(0,O.H)(q).pipe((0,h.H)(fe=>(0,T.x)(function Wl(z,q){return null!==z&&q&&q(new ln(z)),(0,c.of)(!0)}(fe.route.parent,Z),function Kl(z,q){return null!==z&&q&&q(new un(z)),(0,c.of)(!0)}(fe.route,Z),function Ba(z,q,ue){const Z=q[q.length-1],ke=q.slice(0,q.length-1).reverse().map(nt=>function qo(z){const q=z.routeConfig?z.routeConfig.canActivateChild:null;return q&&0!==q.length?{node:z,guards:q}:null}(nt)).filter(nt=>null!==nt).map(nt=>(0,w.v)(()=>{const jt=nt.guards.map(cn=>{var Gt;const Sn=null!==(Gt=ci(nt.node))&&void 0!==Gt?Gt:ue,Jn=Ei(cn,Sn);return Qe(function fi(z){return z&&ot(z.canActivateChild)}(Jn)?Jn.canActivateChild(Z,z):(0,S.N4e)(Sn,()=>Jn(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,q,ue){const Z=q.routeConfig?q.routeConfig.canActivate:null;if(!Z||0===Z.length)return(0,c.of)(!0);const fe=Z.map(ke=>(0,w.v)(()=>{var nt;const jt=null!==(nt=ci(q))&&void 0!==nt?nt:ue,cn=Ei(ke,jt);return Qe(function Rr(z){return z&&ot(z.canActivate)}(cn)?cn.canActivate(q,z):(0,S.N4e)(jt,()=>cn(q,z))).pipe(s())}));return(0,c.of)(fe).pipe(qi())}(z,fe.route,ue))),s(fe=>!0!==fe,!0))}(Z,ke,z,q):(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,wn(Gt.guardsResult))throw Qi(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,ve.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)(Sn=>{const Jn=new xt(Sn.id,this.urlSerializer.serialize(Sn.extractedUrl),this.urlSerializer.serialize(Sn.urlAfterRedirects),Sn.targetSnapshot);this.events.next(Jn)}),(0,R.n)(Sn=>{let Jn=!1;return(0,c.of)(Sn).pipe(function hi(z,q){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,O.H)(nt).pipe((0,h.H)(cn=>ke.has(cn)?function Ps(z,q,ue,Z){const fe=z.routeConfig,ke=z._resolve;return void 0!==(null==fe?void 0:fe.title)&&!Di(fe)&&(ke[Re]=fe.title),function Ql(z,q,ue,Z){const fe=G(z);if(0===fe.length)return(0,c.of)({});const ke={};return(0,O.H)(fe).pipe((0,te.Z)(nt=>function Jl(z,q,ue,Z){var fe;const ke=null!==(fe=ci(q))&&void 0!==fe?fe:Z,nt=Ei(z,ke);return Qe(nt.resolve?nt.resolve(q,ue):(0,S.N4e)(ke,()=>nt(q,ue)))}(z[nt],q,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,q,Z).pipe((0,M.T)(nt=>(z._resolvedData=nt,z.data=Wr(z,z.parent,ue).resolve,null)))}(cn,Z,z,q):(cn.data=Wr(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:()=>Jn=!0,complete:()=>{Jn||this.cancelNavigationTransition(Sn,"",bt.NoDataFromResolver)}}))}),(0,v.M)(Sn=>{const Jn=new Xt(Sn.id,this.urlSerializer.serialize(Sn.extractedUrl),this.urlSerializer.serialize(Sn.urlAfterRedirects),Sn.targetSnapshot);this.events.next(Jn)}))}),is(Gt=>{const Sn=Jn=>{var _r;const hr=[];null!==(_r=Jn.routeConfig)&&void 0!==_r&&_r.loadComponent&&!Jn.routeConfig._loadedComponent&&hr.push(this.configLoader.loadComponent(Jn.routeConfig).pipe((0,v.M)(Xr=>{Jn.component=Xr}),(0,M.T)(()=>{})));for(const Xr of Jn.children)hr.push(...Sn(Xr));return hr};return(0,C.z)(Sn(Gt.targetSnapshot.root)).pipe(m(null),(0,U.s)(1))}),is(()=>this.afterPreactivation()),(0,R.n)(()=>{var Gt;const{currentSnapshot:Sn,targetSnapshot:Jn}=nt,_r=null===(Gt=this.createViewTransition)||void 0===Gt?void 0:Gt.call(this,this.environmentInjector,Sn.root,Jn.root);return _r?(0,O.H)(_r).pipe((0,M.T)(()=>nt)):(0,c.of)(nt)}),(0,M.T)(Gt=>{const Sn=function Hr(z,q,ue){const Z=wi(z,q._root,ue?ue._root:void 0);return new Br(Z,q)}(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,q,ue,Z)=>(0,M.T)(fe=>(new mo(q,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;jt=!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:()=>{jt=!0}}),function Me(z){return(0,K.N)((q,ue)=>{(0,re.Tg)(z).subscribe((0,se._)(ue,()=>ue.complete(),me.l)),!ue.closed&&q.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,He(Gt))this.events.next(new hn(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Gt.message,Gt.cancellationCode)),function ui(z){return He(z)&&wn(z.url)}(Gt)?this.events.next(new Rn(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(Jn){this.options.resolveNavigationPromiseOnError?nt.resolve(!1):nt.reject(Jn)}}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=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();function pn(z){return z!==pr}let Yn=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(fr),providedIn:"root"}),q})();class sr{shouldDetach(q){return!1}store(q,ue){}shouldAttach(q){return!1}retrieve(q){return null}shouldReuseRoute(q,ue){return q.routeConfig===ue.routeConfig}}let fr=(()=>{var z;class q extends sr{}return(z=q).\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"}),q})(),tr=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(yr),providedIn:"root"}),q})(),yr=(()=>{var z;class q extends tr{constructor(){super(...arguments),this.location=(0,S.WQX)(k.aZ),this.urlSerializer=(0,S.WQX)(Lt),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 Tt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ei(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 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=q).\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"}),q})();var lr=function(z){return z[z.COMPLETE=0]="COMPLETE",z[z.FAILED=1]="FAILED",z[z.REDIRECTING=2]="REDIRECTING",z}(lr||{});function Sr(z,q){z.events.pipe((0,ve.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,ve.p)(ue=>ue!==lr.REDIRECTING),(0,U.s)(1)).subscribe(()=>{q()})}function mr(z){throw z}const mn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},On={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ir=(()=>{var z;class q{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)(tr),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)(Jt),this.urlSerializer=(0,S.WQX)(Lt),this.location=(0,S.WQX)(k.aZ),this.urlHandlingStrategy=(0,S.WQX)(Y),this._events=new P.B,this.errorHandler=this.options.errorHandler||mr,this.navigated=!1,this.routeReuseStrategy=(0,S.WQX)(Yn),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 Rn){const jt=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(jt,pr,null,cn,{resolve:ke.resolve,reject:ke.reject,promise:ke.promise})}(function wr(z){return!(z instanceof Bn||z instanceof Rn)})(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),pr,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(Er),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,Sn=Gt?this.currentUrlTree.fragment:jt;let _r,Jn=null;switch(cn){case"merge":Jn={...this.currentUrlTree.queryParams,...nt};break;case"preserve":Jn=this.currentUrlTree.queryParams;break;default:Jn=nt||null}null!==Jn&&(Jn=this.removeEmptyProps(Jn));try{_r=bn(ke?ke.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),_r=this.currentUrlTree.root}return zn(_r,Z,Jn,null!=Sn?Sn:null)}navigateByUrl(Z,fe={skipLocationChange:!1}){const ke=wn(Z)?Z:this.parseUrl(Z),nt=this.urlHandlingStrategy.merge(ke,this.rawUrlTree);return this.scheduleNavigation(nt,pr,null,fe)}navigate(Z,fe={skipLocationChange:!1}){return function $r(z){for(let q=0;q(null!=nt&&(fe[ke]=nt),fe),{})}scheduleNavigation(Z,fe,ke,nt,jt){if(this.disposed)return Promise.resolve(!1);let cn,Gt,Sn;jt?(cn=jt.resolve,Gt=jt.reject,Sn=jt.promise):Sn=new Promise((_r,hr)=>{cn=_r,Gt=hr});const Jn=this.pendingTasks.add();return Sr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Jn))}),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=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})(),Tr=(()=>{var z;class q{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 Sn=null===(Gt=jt.nativeElement.tagName)||void 0===Gt?void 0:Gt.toLowerCase();this.isAnchorElement="a"===Sn||"area"===Sn,this.isAnchorElement?this.subscription=Z.events.subscribe(Jn=>{Jn 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=q).\u0275fac=function(Z){return new(Z||z)(S.rXU(ir),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$]}),q})();class Nr{}let Bi=(()=>{var z;class q{preload(Z,fe){return fe().pipe((0,y.W)(()=>(0,c.of)(null)))}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})(),os=(()=>{var z;class q{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,ve.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 Sn=null!==(nt=Gt._injector)&&void 0!==nt?nt:Z,Jn=null!==(jt=Gt._loadedInjector)&&void 0!==jt?jt: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(Jn,null!==(cn=Gt.children)&&void 0!==cn?cn:Gt._loadedRoutes))}return(0,O.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,O.H)([nt,jt]).pipe((0,Q.U)())}return nt})}}return(z=q).\u0275fac=function(Z){return new(Z||z)(S.KVO(ir),S.KVO(S.Ql9),S.KVO(S.uvJ),S.KVO(Nr),S.KVO(Lo))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();const Rs=new S.nKC("");let Do=(()=>{var z;class q{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===Wt.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=q).\u0275fac=function(Z){S.QTQ()},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac}),q})();function ni(z,q){return{\u0275kind:z,\u0275providers:q}}function Vo(){const z=(0,S.WQX)(S.zZn);return q=>{var ue,Z;const fe=z.get(S.o8S);if(q!==fe.components[0])return;const ke=z.get(ir),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(Rs,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:Nr,useExisting:z}])}function La(z){return ni(9,[{provide:at,useValue:ze},{provide:de,useValue:{skipNextTransition:!(null==z||!z.skipInitialTransition),...z}}])}const ls=new S.nKC("ROUTER_FORROOT_GUARD"),Si=[k.aZ,{provide:Lt,useClass:In},ir,$e,{provide:oi,useFactory:function Uo(z){return z.routerState.root},deps:[ir]},Lo,[]];let $a=(()=>{var z;class q{constructor(Z){}static forRoot(Z,fe){return{ngModule:q,providers:[Si,[],{provide:bo,multi:!0,useValue:Z},{provide:ls,useFactory:tu,deps:[[ir,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:Rs,useFactory:()=>{const z=(0,S.WQX)(k.Xr),q=(0,S.WQX)(S.SKi),ue=(0,S.WQX)(Co),Z=(0,S.WQX)(Jt),fe=(0,S.WQX)(Lt);return ue.scrollOffset&&z.setOffset(ue.scrollOffset),new Do(fe,Z,z,q,ue)}},null!=fe&&fe.preloadingStrategy?jo(fe.preloadingStrategy).\u0275providers:[],null!=fe&&fe.initialNavigation?Ic(fe):[],null!=fe&&fe.bindToComponentInputs?ni(8,[Zi,{provide:Mi,useExisting:Zi}]).\u0275providers:[],null!=fe&&fe.enableViewTransitions?La().\u0275providers:[],[{provide:Ns,useFactory:Vo},{provide:S.iLQ,multi:!0,useExisting:Ns}]]}}static forChild(Z){return{ngModule:q,providers:[{provide:bo,multi:!0,useValue:Z}]}}}return(z=q).\u0275fac=function(Z){return new(Z||z)(S.KVO(ls,8))},z.\u0275mod=S.$C({type:z}),z.\u0275inj=S.G2t({}),q})();function tu(z){return"guarded"}function Ic(z){return["disabled"===z.initialNavigation?ni(3,[{provide:S.hnV,multi:!0,useFactory:()=>{const q=(0,S.WQX)(ir);return()=>{q.setUpLocationChangeListener()}}},{provide:Qn,useValue:2}]).\u0275providers:[],"enabledBlocking"===z.initialNavigation?ni(2,[{provide:Qn,useValue:0},{provide:S.hnV,multi:!0,deps:[S.zZn],useFactory:q=>{const ue=q.get(k.hj,Promise.resolve());return()=>ue.then(()=>new Promise(Z=>{const fe=q.get(ir),ke=q.get(io);Sr(fe,()=>{Z(!0)}),q.get(Jt).afterPreactivation=()=>(Z(!0),ke.closed?(0,c.of)(void 0):ke),fe.initialNavigation()}))}}]).\u0275providers:[]]}const Ns=new S.nKC("")},4517:(be,ee,E)=>{"use strict";E.d(ee,{Yq:()=>Dt,TS:()=>En,sR:()=>St,el:()=>Kn,Sb:()=>Pe,QE:()=>It,CF:()=>Ze,Rg:()=>wn,p4:()=>Mt,jM:()=>Xn,_t:()=>Ee,q9:()=>ft,y8:()=>yn,Kb:()=>pr,OD:()=>rt,CE:()=>$n,pF:()=>jn,fL:()=>Zt,YV:()=>Un,er:()=>Nt,z3:()=>qt});var a=E(467),S=E(4438),p=E(3021),O=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=We=>P(We),P=(We=window)=>{if(typeof We>"u")return[];We.Ionic=We.Ionic||{};let et=We.Ionic.platforms;return null==et&&(et=We.Ionic.platforms=$(We),et.forEach(Te=>We.document.documentElement.classList.add(`plt-${Te}`))),et},$=We=>{const et=D.get("platform");return Object.keys(y).filter(Te=>{const qe=null==et?void 0:et[Te];return"function"==typeof qe?qe(We):y[Te](We)})},M=We=>!!(h(We,/iPad/i)||h(We,/Macintosh/i)&&te(We)),j=We=>h(We,/android|sink/i),te=We=>v(We,"(any-pointer:coarse)"),m=We=>n(We)||o(We),n=We=>!!(We.cordova||We.phonegap||We.PhoneGap),o=We=>{const et=We.Capacitor;return!(null==et||!et.isNative)},h=(We,et)=>et.test(We.navigator.userAgent),v=(We,et)=>{var Te;return null===(Te=We.matchMedia)||void 0===Te?void 0:Te.call(We,et).matches},y={ipad:M,iphone:We=>h(We,/iPhone/i),ios:We=>h(We,/iPhone|iPod/i)||M(We),android:j,phablet:We=>{const et=We.innerWidth,Te=We.innerHeight,qe=Math.min(et,Te),bt=Math.max(et,Te);return qe>390&&qe<520&&bt>620&&bt<800},tablet:We=>{const et=We.innerWidth,Te=We.innerHeight,qe=Math.min(et,Te),bt=Math.max(et,Te);return M(We)||(We=>j(We)&&!h(We,/mobile/i))(We)||qe>460&&qe<820&&bt>780&&bt<1400},cordova:n,capacitor:o,electron:We=>h(We,/electron/i),pwa:We=>{var et;return!!(null!==(et=We.matchMedia)&&void 0!==et&&et.call(We,"(display-mode: standalone)").matches||We.navigator.standalone)},mobile:te,mobileweb:We=>te(We)&&!m(We),desktop:We=>!te(We),hybrid:m};var L=E(6031),I=E(1656),V=E(1413),J=E(3726),re=E(4412),me=E(4572),Me=E(7673),Q=E(1635),ae=E(5964),tt=E(5558),Re=E(3669),pe=E(9974),Ie=E(4360);function ie(We,et){return We===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 We{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 Wt;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=>{Wt=hn}),null!==(bt=this.win)&&void 0!==bt&&bt.cordova?Te.addEventListener("deviceready",()=>{Wt("cordova")},{once:!0}):Wt("dom")})}is(Te){return((We,et)=>("string"==typeof We&&(et=We,We=void 0),A(We).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 We.\u0275fac=function(Te){return new(Te||We)(S.KVO(O.qQ),S.KVO(S.SKi))},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const nn=(We,et)=>{et=et.replace(/[[\]\\]/g,"\\$&");const qe=new RegExp("[\\?&]"+et+"=([^&#]*)").exec(We);return qe?decodeURIComponent(qe[1].replace(/\+/g," ")):null},gt=(We,et,Te,qe)=>{et&&et.addEventListener(Te,bt=>{qe.run(()=>{We.next(null!=bt?bt.detail:void 0)})})};let ft=(()=>{class We{constructor(Te,qe,bt,Wt){this.location=qe,this.serializer=bt,this.router=Wt,this.direction=wt,this.animated=Pt,this.guessDirection="forward",this.lastNavId=-1,Wt&&Wt.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,Wt){this.direction=Te,this.animated=on(Te,qe,bt),this.animationBuilder=Wt}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=wt,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 We.\u0275fac=function(Te){return new(Te||We)(S.KVO(rt),S.KVO(O.aZ),S.KVO(p.Sd),S.KVO(p.Ix,8))},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const on=(We,et,Te)=>{if(!1!==et){if(void 0!==Te)return Te;if("forward"===We||"back"===We)return We;if("root"===We&&!0===et)return"forward"}},wt="auto",Pt=void 0;let En=(()=>{class We{get(Te,qe){const bt=Tt();return bt?bt.get(Te,qe):null}getBoolean(Te,qe){const bt=Tt();return!!bt&&bt.getBoolean(Te,qe)}getNumber(Te,qe){const bt=Tt();return bt?bt.getNumber(Te,qe):0}}return We.\u0275fac=function(Te){return new(Te||We)},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const St=new S.nKC("USERCONFIG"),Tt=()=>{if(typeof window<"u"){const We=window.Ionic;if(null!=We&&We.config)return We.config}return null};class yn{constructor(et={}){this.data=et}get(et){return this.data[et]}}let Dt=(()=>{class We{constructor(){this.zone=(0,S.WQX)(S.SKi),this.applicationRef=(0,S.WQX)(S.o8S)}create(Te,qe,bt){return new Bt(Te,qe,this.applicationRef,this.zone,bt)}}return We.\u0275fac=function(Te){return new(Te||We)},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac}),We})();class Bt{constructor(et,Te,qe,bt,Wt){this.environmentInjector=et,this.injector=Te,this.applicationRef=qe,this.zone=bt,this.elementReferenceKey=Wt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(et,Te,qe,bt){return this.zone.run(()=>new Promise(Wt=>{const hn={...qe};void 0!==this.elementReferenceKey&&(hn[this.elementReferenceKey]=et),Wt(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 Wt=this.elEventsMap.get(Te);Wt&&(Wt(),this.elEventsMap.delete(Te))}qe()}))}}const Cn=(We,et,Te,qe,bt,Wt,hn,Et,zt,ye,Ke)=>{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&&(Ke&&void 0!==Xt[Ke]&&console.error(`[Ionic Error]: ${Ke} is a reserved property when using ${hn.tagName.toLowerCase()}. Rename or remove the "${Ke}" property from ${Et.name}.`),Object.assign(Xt,zt)),ye)for(const ln of ye)$t.classList.add(ln);const an=Lt(We,Xt,$t);return hn.appendChild($t),qe.attachView(xt.hostView),bt.set($t,xt),Wt.set($t,an),$t},st=[L.L,L.a,L.b,L.c,L.d],Lt=(We,et,Te)=>We.run(()=>{const qe=st.filter(bt=>"function"==typeof et[bt]).map(bt=>{const Wt=hn=>et[bt](hn.detail);return Te.addEventListener(bt,Wt),()=>Te.removeEventListener(bt,Wt)});return()=>qe.forEach(bt=>bt())}),In=new S.nKC("NavParamsToken"),kt=We=>[{provide:In,useValue:We},{provide:yn,useFactory:Ot,deps:[In]}],Ot=We=>new yn(We),Ln=(We,et)=>{const Te=We.prototype;et.forEach(qe=>{Object.defineProperty(Te,qe,{get(){return this.el[qe]},set(bt){this.z.runOutsideAngular(()=>this.el[qe]=bt)}})})},Ut=(We,et)=>{const Te=We.prototype;et.forEach(qe=>{Te[qe]=function(){const bt=arguments;return this.z.runOutsideAngular(()=>this.el[qe].apply(this.el,bt))}})},Le=(We,et,Te)=>{Te.forEach(qe=>We[qe]=(0,J.R)(et,qe))};function _e(We){return function(Te){const{defineCustomElementFn:qe,inputs:bt,methods:Wt}=We;return void 0!==qe&&qe(),bt&&Ln(Te,bt),Wt&&Ut(Te,Wt),Te}}const De=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Ae=["present","dismiss","onDidDismiss","onWillDismiss"];let Ze=(()=>{let We=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()}),Le(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return We.\u0275fac=function(Te){return new(Te||We)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},We.\u0275dir=S.FsC({type:We,selectors:[["ion-popover"]],contentQueries:function(Te,qe,bt){if(1&Te&&S.wni(bt,S.C4Q,5),2&Te){let Wt;S.mGM(Wt=S.lsd())&&(qe.template=Wt.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"}}),We=(0,Q.Cg)([_e({inputs:De,methods:Ae})],We),We})();const Ue=["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 We=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()}),Le(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return We.\u0275fac=function(Te){return new(Te||We)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},We.\u0275dir=S.FsC({type:We,selectors:[["ion-modal"]],contentQueries:function(Te,qe,bt){if(1&Te&&S.wni(bt,S.C4Q,5),2&Te){let Wt;S.mGM(Wt=S.lsd())&&(qe.template=Wt.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"}}),We=(0,Q.Cg)([_e({inputs:Ue,methods:it})],We),We})();const Ve=(We,et)=>((We=We.filter(Te=>Te.stackId!==et.stackId)).push(et),We),lt=(We,et)=>{const Te=We.createUrlTree(["."],{relativeTo:et});return We.serializeUrl(Te)},Qt=(We,et)=>!et||We.stackId!==et.stackId,Ct=(We,et)=>{if(!We)return;const Te=mt(et);for(let qe=0;qe=We.length)return Te[qe];if(Te[qe]!==We[qe])return}},mt=We=>We.split("/").map(et=>et.trim()).filter(et=>""!==et),Kt=We=>{We&&(We.ref.destroy(),We.unlistenEvents())};class Rt{constructor(et,Te,qe,bt,Wt,hn){this.containerEl=Te,this.router=qe,this.navCtrl=bt,this.zone=Wt,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=lt(this.router,Te),Wt=null==et||null===(qe=et.location)||void 0===qe?void 0:qe.nativeElement,hn=Lt(this.zone,et.instance,Wt);return{id:this.nextId++,stackId:Ct(this.tabsPrefix,bt),unlistenEvents:hn,element:Wt,ref:et,url:bt}}getExistingView(et){const Te=lt(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:Wt,animation:hn,animationBuilder:Et}=bt;const zt=this.activeView,ye=Qt(et,zt);ye&&(Wt="back",hn=void 0);const Ke=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,Wt);Xt||et.ref.changeDetectorRef.detectChanges();const an=et.animationBuilder;return void 0===Et&&"back"===Wt&&!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(()=>Ft(et,$t,Ke,this.location,this.zone)).then(()=>({enteringView:et,direction:Wt,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 Wt=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&&(Wt=ye.route._routerState.snapshot.url)}const{animationBuilder:zt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Wt,{...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&&Pn(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(Kt),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=((We,et,Te)=>"root"===Te?Ve(We,et):"forward"===Te?((We,et)=>(We.indexOf(et)>=0?We=We.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):We.push(et),We))(We,et):((We,et)=>We.indexOf(et)>=0?We.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):Ve(We,et))(We,et))(this.views,et,Te),this.views.slice()}transition(et,Te,qe,bt,Wt,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:Wt,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 Ft=(We,et,Te,qe,bt)=>"function"==typeof requestAnimationFrame?new Promise(Wt=>{requestAnimationFrame(()=>{Pn(We,et,Te,qe,bt),Wt()})}):Promise.resolve(),Pn=(We,et,Te,qe,bt)=>{bt.run(()=>Te.filter(Wt=>!et.includes(Wt)).forEach(Kt)),et.forEach(Wt=>{const Et=qe.path().split("?")[0].split("#")[0];if(Wt!==We&&Wt.url!==Et){const zt=Wt.element;zt.setAttribute("aria-hidden","true"),zt.classList.add("ion-page-hidden"),Wt.ref.changeDetectorRef.detach()}})};let wn=(()=>{class We{constructor(Te,qe,bt,Wt,hn,Et,zt,ye){this.parentOutlet=ye,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new re.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)(ft),this.nativeEl=Wt.nativeElement,this.name=Te||p.Xk,this.tabsPrefix="true"===qe?lt(hn,zt):void 0,this.stackCtrl=new Rt(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 Wt=qe.route.snapshot;this.activatedView.savedExtras.queryParams=Wt.queryParams,this.activatedView.savedExtras.fragment=Wt.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 Wt,hn=this.stackCtrl.getExistingView(Te);if(hn){Wt=this.activated=hn.ref;const ye=hn.savedData;ye&&(this.getContext().children.contexts=ye),this.updateActivatedRouteProxy(Wt.instance,Te)}else{var Et;const ye=Te._futureSnapshot,Ke=this.parentContexts.getOrCreateContext(this.name).children,dt=new re.t(null),xt=this.createActivatedRouteProxy(dt,Te),Xt=new _n(xt,Ke,this.location.injector),$t=null!==(Et=ye.routeConfig.component)&&void 0!==Et?Et:ye.component;Wt=this.activated=this.location.createComponent($t,{index:this.location.length,injector:Xt,environmentInjector:null!=qe?qe:this.environmentInjector}),dt.next(Wt.instance),hn=this.stackCtrl.createView(this.activated,Te),this.proxyMap.set(Wt.instance,xt),this.currentActivatedRoute$.next({component:Wt.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(Wt.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)(Wt=>null!==Wt&&Wt.component===bt),(0,tt.n)(Wt=>Wt&&Wt.activatedRoute[qe]),function Se(We,et=Re.D){return We=null!=We?We:ie,(0,pe.N)((Te,qe)=>{let bt,Wt=!0;Te.subscribe((0,Ie._)(qe,hn=>{const Et=et(hn);(Wt||!We(bt,Et))&&(Wt=!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 We.\u0275fac=function(Te){return new(Te||We)(S.kS0("name"),S.kS0("tabs"),S.rXU(O.aZ),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(S.SKi),S.rXU(p.nX),S.rXU(We,12))},We.\u0275dir=S.FsC({type:We,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"]}),We})();class _n{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 zn=(()=>{class We{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,me.z)([qe.queryParams,qe.params,qe.data]).pipe((0,tt.n)(([Wt,hn,Et],zt)=>(Et={...Wt,...hn,...Et},0===zt?(0,Me.of)(Et):Promise.resolve(Et)))).subscribe(Wt=>{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,Wt[Et]);else this.unsubscribeFromRouteData(Te)});this.outletDataSubscriptions.set(Te,bt)}}return We.\u0275fac=function(Te){return new(Te||We)},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac}),We})();const Un=()=>({provide:bn,useFactory:Fn,deps:[p.Ix]});function Fn(We){return null!=We&&We.componentInputBindingEnabled?new zn:null}const kn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Kn=(()=>{let We=class{constructor(Te,qe,bt,Wt,hn,Et){this.routerOutlet=Te,this.navCtrl=qe,this.config=bt,this.r=Wt,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 We.\u0275fac=function(Te){return new(Te||We)(S.rXU(wn,8),S.rXU(ft),S.rXU(En),S.rXU(S.aKT),S.rXU(S.SKi),S.rXU(S.gRc))},We.\u0275dir=S.FsC({type:We,hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(Wt){return qe.onClick(Wt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),We=(0,Q.Cg)([_e({inputs:kn})],We),We})(),$n=(()=>{class We{constructor(Te,qe,bt,Wt,hn){this.locationStrategy=Te,this.navCtrl=qe,this.elementRef=bt,this.router=Wt,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 We.\u0275fac=function(Te){return new(Te||We)(S.rXU(O.hb),S.rXU(ft),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},We.\u0275dir=S.FsC({type:We,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(Wt){return qe.onClick(Wt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),We})(),jn=(()=>{class We{constructor(Te,qe,bt,Wt,hn){this.locationStrategy=Te,this.navCtrl=qe,this.elementRef=bt,this.router=Wt,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 We.\u0275fac=function(Te){return new(Te||We)(S.rXU(O.hb),S.rXU(ft),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},We.\u0275dir=S.FsC({type:We,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$]}),We})();const je=["animated","animation","root","rootParams","swipeGesture"],ut=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let It=(()=>{let We=class{constructor(Te,qe,bt,Wt,hn,Et){this.z=hn,Et.detach(),this.el=Te.nativeElement,Te.nativeElement.delegate=Wt.create(qe,bt),Le(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return We.\u0275fac=function(Te){return new(Te||We)(S.rXU(S.aKT),S.rXU(S.uvJ),S.rXU(S.zZn),S.rXU(Dt),S.rXU(S.SKi),S.rXU(S.gRc))},We.\u0275dir=S.FsC({type:We,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),We=(0,Q.Cg)([_e({inputs:je,methods:ut})],We),We})(),Mt=(()=>{class We{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,Wt=this.outlet.getActiveStackId()===bt,hn=`${this.outlet.tabsPrefix}/${bt}`;if(qe||Te.stopPropagation(),Wt){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 We.\u0275fac=function(Te){return new(Te||We)(S.rXU(ft))},We.\u0275dir=S.FsC({type:We,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(Wt){return qe.select(Wt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),We})();const Nt=We=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(We):"function"==typeof requestAnimationFrame?requestAnimationFrame(We):setTimeout(We);let Zt=(()=>{class We{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(Wt=>{if(typeof qe[Wt]<"u"){const hn=qe[Wt].bind(qe);qe[Wt]=(...Et)=>{hn(...Et),qt(this.elementRef)}}})}}return We.\u0275fac=function(Te){return new(Te||We)(S.rXU(S.zZn),S.rXU(S.aKT))},We.\u0275dir=S.FsC({type:We,hostBindings:function(Te,qe){1&Te&&S.bIt("ionBlur",function(Wt){return qe._handleBlurEvent(Wt.target)})}}),We})();const qt=We=>{Nt(()=>{const et=We.nativeElement,Te=null!=et.value&&et.value.toString().length>0,qe=Yt(et);Tn(et,qe);const bt=et.closest("ion-item");bt&&Tn(bt,Te?[...qe,"item-has-value"]:qe)})},Yt=We=>{const et=We.classList,Te=[];for(let qe=0;qe{const Te=We.classList;Te.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),Te.add(...et)},An=(We,et)=>We.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,Wt=Object.keys(qe),hn=Object.keys(bt);if(Wt.length!==hn.length)return!1;for(const Et of Wt)if(bt[Et]!==qe[Et])return!1;return!0}}class pr{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:(be,ee,E)=>{"use strict";E.d(ee,{hG:()=>Ke,hB:()=>h,wH:()=>Xt,U1:()=>ae,Jm:()=>ie,QW:()=>ne,b_:()=>G,I9:()=>Ee,ME:()=>vt,tN:()=>rt,eY:()=>nn,ZB:()=>gt,hU:()=>ft,W9:()=>on,Q8:()=>En,YW:()=>St,M0:()=>yn,eU:()=>Bt,iq:()=>Cn,Ax:()=>Lt,Hp:()=>In,$w:()=>kt,uz:()=>Ot,he:()=>Ae,nf:()=>Ze,oS:()=>Pe,Sb:()=>bt,KO:()=>Ct,f0:()=>mt,To:()=>Rt,Ki:()=>Ft,Rg:()=>Xn,ln:()=>bn,w2:()=>jn,HP:()=>je,Jq:()=>ut,qW:()=>It,p4:()=>pr,IO:()=>Mt,BC:()=>qt,ai:()=>An,bv:()=>xr,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),O=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 oe=E(467);const ve=A.i,te=function(){var X=(0,oe.A)(function*($e,le){if(!(typeof window>"u"))return yield ve(),(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,Xe){return X.apply(this,arguments)}}(),se=["*"],m=["outlet"],n=[[["","slot","top"]],"*"],o=["[slot=top]","*"];function u(X,$e){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,Xe){super(le,Xe)}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,Xe){1&le&&a.bIt("ionChange",function(Nn){return Xe._handleIonChange(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),y=(()=>{class X extends p.fL{constructor(le,Xe){super(le,Xe)}_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,Xe){1&le&&a.bIt("ionSelect",function(Nn){return Xe._handleIonSelect(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),f=(()=>{class X extends p.fL{constructor(le,Xe){super(le,Xe)}_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,Xe){1&le&&a.bIt("ionChange",function(Nn){return Xe._handleChangeEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),r=(()=>{class X extends p.fL{constructor(le,Xe){super(le,Xe)}_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,Xe){1&le&&a.bIt("ionInput",function(Nn){return Xe._handleInputEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})();const d=(X,$e)=>{const le=X.prototype;$e.forEach(Xe=>{Object.defineProperty(le,Xe,{get(){return this.el[Xe]},set(_t){this.z.runOutsideAngular(()=>this.el[Xe]=_t)},configurable:!0})})},L=(X,$e)=>{const le=X.prototype;$e.forEach(Xe=>{le[Xe]=function(){const _t=arguments;return this.z.runOutsideAngular(()=>this.el[Xe].apply(this.el,_t))}})},I=(X,$e,le)=>{le.forEach(Xe=>X[Xe]=(0,c.R)($e,Xe))};function J(X){return function(le){const{defineCustomElementFn:Xe,inputs:_t,methods:Nn}=X;return void 0!==Xe&&Xe(),_t&&d(le,_t),Nn&&L(le,Nn),le}}let ae=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({})],X),X})(),ie=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({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,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse"]})],X),X})(),G=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],X),X})(),Ee=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["mode"]})],X),X})(),vt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","translucent"]})],X),X})(),rt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),nn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),gt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","disabled","mode","outline"]})],X),X})(),ft=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({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,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],X),X})(),En=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],X),X})(),St=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],X),X})(),yn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse","mode","translucent"]})],X),X})(),Bt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse","mode","translucent"]})],X),X})(),Cn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],X),X})(),Lt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["disabled","position","threshold"],methods:["complete"]})],X),X})(),In=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["loadingSpinner","loadingText"]})],X),X})(),kt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({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})(),Ot=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],X),X})(),Ae=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","position"]})],X),X})(),Ze=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],X),X})(),Pe=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],X),X})(),Ct=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),mt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["allowEmptySelection","compareWith","name","value"]})],X),X})(),Rt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],X),X})(),Ft=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],X),X})(),bn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({})],X),X})(),jn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","duration","name","paused"]})],X),X})(),je=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["contentId","disabled","when"]})],X),X})(),ut=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","selectedTab","translucent"]})],X),X})(),It=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],X),X})(),Mt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),qt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","size"]})],X),X})(),An=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),Xn=(()=>{class X extends p.Rg{constructor(le,Xe,_t,Nn,vr,Br,ei,Jr){super(le,Xe,_t,Nn,vr,Br,ei,Jr),this.parentOutlet=Jr}}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})(),pr=(()=>{class X extends p.p4{}return X.\u0275fac=(()=>{let $e;return function(Xe){return($e||($e=a.xGo(X)))(Xe||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tabs"]],contentQueries:function(le,Xe,_t){if(1&le&&(a.wni(_t,ut,5),a.wni(_t,ut,4)),2&le){let Nn;a.mGM(Nn=a.lsd())&&(Xe.tabBar=Nn.first),a.mGM(Nn=a.lsd())&&(Xe.tabBars=Nn)}},viewQuery:function(le,Xe){if(1&le&&a.GBs(m,5,Xn),2&le){let _t;a.mGM(_t=a.lsd())&&(Xe.outlet=_t.first)}},features:[a.Vt3],ngContentSelectors:o,decls:6,vars:0,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(le,Xe){if(1&le){const _t=a.RV6();a.NAR(n),a.SdG(0),a.j41(1,"div",2,0)(3,"ion-router-outlet",3,1),a.bIt("stackWillChange",function(vr){return a.eBV(_t),a.Njj(Xe.onStackWillChange(vr))})("stackDidChange",function(vr){return a.eBV(_t),a.Njj(Xe.onStackDidChange(vr))}),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 $e;return function(Xe){return($e||($e=a.xGo(X)))(Xe||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,Xe){1&le&&a.DNE(0,u,2,1,"div",0),2&le&&a.Y8G("ngIf",Xe.isCmpOpen||Xe.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 $e;return function(Xe){return($e||($e=a.xGo(X)))(Xe||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,Xe){2&le&&a.BMQ("max",Xe._enabled?Xe.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 $e;return function(Xe){return($e||($e=a.xGo(X)))(Xe||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,Xe){2&le&&a.BMQ("min",Xe._enabled?Xe.min:null)},features:[a.Jv_([zt]),a.Vt3]}),X})(),Ke=(()=>{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,Xe=!1){return Xe&&Object.getOwnPropertyNames(le).forEach(_t=>{if("function"==typeof le[_t]){const Nn=le[_t];le[_t]=(...vr)=>this.zone.run(()=>Nn(...vr))}}),(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($e){return super.create({...$e,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,$e,le)=>()=>{const Xe=$e.defaultView;if(Xe&&typeof window<"u"){(0,B.s)({...X,_zoneGate:Nn=>le.run(Nn)});const _t="__zone_symbol__addEventListener"in $e.body?"__zone_symbol__addEventListener":"addEventListener";return function K(){var X=[];if(typeof window<"u"){var $e=window;(!$e.customElements||$e.Element&&(!$e.Element.prototype.closest||!$e.Element.prototype.matches||!$e.Element.prototype.remove||!$e.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||$e.NodeList&&!$e.NodeList.prototype.forEach||!$e.fetch||!function(){try{var Xe=new URL("b","http://a");return Xe.pathname="c%20d","http://a/c%20d"===Xe.href&&Xe.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(Xe,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:p.er,jmp:Nn=>le.runOutsideAngular(Nn),ael(Nn,vr,Br,ei){Nn[_t](vr,Br,ei)},rel(Nn,vr,Br,ei){Nn.removeEventListener(vr,Br,ei)}}))}};let xr=(()=>{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:(be,ee,E)=>{"use strict";E.d(ee,{Wr:()=>R,h:()=>I,D9:()=>L,c$:()=>r});var a=E(4438),S=E(7673),p=E(4402),O=E(7468),c=E(8793),D=E(9030),C=E(6697),_=E(2771),T=E(8750),w=E(1413),g=E(7707),F=E(9974);function B(V,J,...re){if(!0===J)return void V();if(!1===J)return;const me=new g.Ms({next:()=>{me.unsubscribe(),V()}});return(0,T.Tg)(J(...re)).subscribe(me)}function P(V,J,re){let me,Me=!1;return V&&"object"==typeof V?({bufferSize:me=1/0,windowTime:J=1/0,refCount:Me=!1,scheduler:re}=V):me=null!=V?V:1/0,function A(V={}){const{connector:J=(()=>new w.B),resetOnError:re=!0,resetOnComplete:me=!0,resetOnRefCountZero:Me=!0}=V;return Q=>{let ae,tt,Re,pe=0,Ie=!1,Se=!1;const ie=()=>{null==tt||tt.unsubscribe(),tt=void 0},ne=()=>{ie(),ae=Re=void 0,Ie=Se=!1},G=()=>{const Ee=ae;ne(),null==Ee||Ee.unsubscribe()};return(0,F.N)((Ee,vt)=>{pe++,!Se&&!Ie&&ie();const Qe=Re=null!=Re?Re:J();vt.add(()=>{pe--,0===pe&&!Se&&!Ie&&(tt=B(G,Me))}),Qe.subscribe(vt),!ae&&pe>0&&(ae=new g.Ms({next:rt=>Qe.next(rt),error:rt=>{Se=!0,ie(),tt=B(ne,re,rt),Qe.error(rt)},complete:()=>{Ie=!0,ie(),tt=B(ne,me),Qe.complete()}}),(0,T.Tg)(Ee).subscribe(ae))})(Q)}}({connector:()=>new _.m(me,J,re),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Me})}var $=E(6354),k=E(274),M=E(5558);class R{}let U=(()=>{class V extends R{getTranslation(re){return(0,S.of)({})}}return V.\u0275fac=(()=>{let J;return function(me){return(J||(J=a.xGo(V)))(me||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class j{}let K=(()=>{class V{handle(re){return re.key}}return V.\u0275fac=function(re){return new(re||V)},V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();function oe(V,J){if(V===J)return!0;if(null===V||null===J)return!1;if(V!=V&&J!=J)return!0;let Me,Q,ae,re=typeof V;if(re==typeof J&&"object"==re){if(!Array.isArray(V)){if(Array.isArray(J))return!1;for(Q in ae=Object.create(null),V){if(!oe(V[Q],J[Q]))return!1;ae[Q]=!0}for(Q in J)if(!(Q in ae)&&typeof J[Q]<"u")return!1;return!0}if(!Array.isArray(J))return!1;if((Me=V.length)==J.length){for(Q=0;Q{te(J[me])?me in V?re[me]=se(V[me],J[me]):Object.assign(re,{[me]:J[me]}):Object.assign(re,{[me]:J[me]})}),re}class m{}let n=(()=>{class V extends m{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(re,me){let Me;return Me="string"==typeof re?this.interpolateString(re,me):"function"==typeof re?this.interpolateFunction(re,me):re,Me}getValue(re,me){let Me="string"==typeof me?me.split("."):[me];me="";do{me+=Me.shift(),!ve(re)||!ve(re[me])||"object"!=typeof re[me]&&Me.length?Me.length?me+=".":re=void 0:(re=re[me],me="")}while(Me.length);return re}interpolateFunction(re,me){return re(me)}interpolateString(re,me){return me?re.replace(this.templateMatcher,(Me,Q)=>{let ae=this.getValue(me,Q);return ve(ae)?ae:Me}):re}}return V.\u0275fac=(()=>{let J;return function(me){return(J||(J=a.xGo(V)))(me||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class o{}let u=(()=>{class V extends o{compile(re,me){return re}compileTranslations(re,me){return re}}return V.\u0275fac=(()=>{let J;return function(me){return(J||(J=a.xGo(V)))(me||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(re,me,Me,Q,ae,tt=!0,Re=!1,pe=!1,Ie){this.store=re,this.currentLoader=me,this.compiler=Me,this.parser=Q,this.missingTranslationHandler=ae,this.useDefaultLang=tt,this.isolate=Re,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(re){this.isolate?this._defaultLang=re:this.store.defaultLang=re}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(re){this.isolate?this._currentLang=re:this.store.currentLang=re}get langs(){return this.isolate?this._langs:this.store.langs}set langs(re){this.isolate?this._langs=re:this.store.langs=re}get translations(){return this.isolate?this._translations:this.store.translations}set translations(re){this.isolate?this._translations=re:this.store.translations=re}setDefaultLang(re){if(re===this.defaultLang)return;let me=this.retrieveTranslations(re);typeof me<"u"?(null==this.defaultLang&&(this.defaultLang=re),me.pipe((0,C.s)(1)).subscribe(Me=>{this.changeDefaultLang(re)})):this.changeDefaultLang(re)}getDefaultLang(){return this.defaultLang}use(re){if(re===this.currentLang)return(0,S.of)(this.translations[re]);let me=this.retrieveTranslations(re);return typeof me<"u"?(this.currentLang||(this.currentLang=re),me.pipe((0,C.s)(1)).subscribe(Me=>{this.changeLang(re)}),me):(this.changeLang(re),(0,S.of)(this.translations[re]))}retrieveTranslations(re){let me;return(typeof this.translations[re]>"u"||this.extend)&&(this._translationRequests[re]=this._translationRequests[re]||this.getTranslation(re),me=this._translationRequests[re]),me}getTranslation(re){this.pending=!0;const me=this.currentLoader.getTranslation(re).pipe(P(1),(0,C.s)(1));return this.loadingTranslations=me.pipe((0,$.T)(Me=>this.compiler.compileTranslations(Me,re)),P(1),(0,C.s)(1)),this.loadingTranslations.subscribe({next:Me=>{this.translations[re]=this.extend&&this.translations[re]?{...Me,...this.translations[re]}:Me,this.updateLangs(),this.pending=!1},error:Me=>{this.pending=!1}}),me}setTranslation(re,me,Me=!1){me=this.compiler.compileTranslations(me,re),this.translations[re]=(Me||this.extend)&&this.translations[re]?se(this.translations[re],me):me,this.updateLangs(),this.onTranslationChange.emit({lang:re,translations:this.translations[re]})}getLangs(){return this.langs}addLangs(re){re.forEach(me=>{-1===this.langs.indexOf(me)&&this.langs.push(me)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(re,me,Me){let Q;if(me instanceof Array){let ae={},tt=!1;for(let Re of me)ae[Re]=this.getParsedResult(re,Re,Me),(0,p.A)(ae[Re])&&(tt=!0);if(tt){const Re=me.map(pe=>(0,p.A)(ae[pe])?ae[pe]:(0,S.of)(ae[pe]));return(0,O.p)(Re).pipe((0,$.T)(pe=>{let Ie={};return pe.forEach((Se,ie)=>{Ie[me[ie]]=Se}),Ie}))}return ae}if(re&&(Q=this.parser.interpolate(this.parser.getValue(re,me),Me)),typeof Q>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Q=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],me),Me)),typeof Q>"u"){let ae={key:me,translateService:this};typeof Me<"u"&&(ae.interpolateParams=Me),Q=this.missingTranslationHandler.handle(ae)}return typeof Q<"u"?Q:me}get(re,me){if(!ve(re)||!re.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,k.H)(Me=>(Me=this.getParsedResult(Me,re,me),(0,p.A)(Me)?Me:(0,S.of)(Me))));{let Me=this.getParsedResult(this.translations[this.currentLang],re,me);return(0,p.A)(Me)?Me:(0,S.of)(Me)}}getStreamOnTranslationChange(re,me){if(!ve(re)||!re.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(re,me)),this.onTranslationChange.pipe((0,M.n)(Me=>{const Q=this.getParsedResult(Me.translations,re,me);return"function"==typeof Q.subscribe?Q:(0,S.of)(Q)})))}stream(re,me){if(!ve(re)||!re.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(re,me)),this.onLangChange.pipe((0,M.n)(Me=>{const Q=this.getParsedResult(Me.translations,re,me);return(0,p.A)(Q)?Q:(0,S.of)(Q)})))}instant(re,me){if(!ve(re)||!re.length)throw new Error('Parameter "key" required');let Me=this.getParsedResult(this.translations[this.currentLang],re,me);if((0,p.A)(Me)){if(re instanceof Array){let Q={};return re.forEach((ae,tt)=>{Q[re[tt]]=re[tt]}),Q}return re}return Me}set(re,me,Me=this.currentLang){this.translations[Me][re]=this.compiler.compile(me,Me),this.updateLangs(),this.onTranslationChange.emit({lang:Me,translations:this.translations[Me]})}changeLang(re){this.currentLang=re,this.onLangChange.emit({lang:re,translations:this.translations[re]}),null==this.defaultLang&&this.changeDefaultLang(re)}changeDefaultLang(re){this.defaultLang=re,this.onDefaultLangChange.emit({lang:re,translations:this.translations[re]})}reloadLang(re){return this.resetLang(re),this.getTranslation(re)}resetLang(re){this._translationRequests[re]=void 0,this.translations[re]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let re=window.navigator.languages?window.navigator.languages[0]:null;return re=re||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof re>"u"?void 0:(-1!==re.indexOf("-")&&(re=re.split("-")[0]),-1!==re.indexOf("_")&&(re=re.split("_")[0]),re)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let re=window.navigator.languages?window.navigator.languages[0]:null;return re=re||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,re}}return V.\u0275fac=function(re){return new(re||V)(a.KVO(s),a.KVO(R),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(re,me){this.translate=re,this._ref=me,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(re,me,Me){let Q=ae=>{this.value=void 0!==ae?ae:re,this.lastKey=re,this._ref.markForCheck()};if(Me){let ae=this.translate.getParsedResult(Me,re,me);(0,p.A)(ae.subscribe)?ae.subscribe(Q):Q(ae)}this.translate.get(re,me).subscribe(Q)}transform(re,...me){if(!re||!re.length)return re;if(oe(re,this.lastKey)&&oe(me,this.lastParams))return this.value;let Me;if(ve(me[0])&&me.length)if("string"==typeof me[0]&&me[0].length){let Q=me[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Me=JSON.parse(Q)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${me[0]}`)}}else"object"==typeof me[0]&&!Array.isArray(me[0])&&(Me=me[0]);return this.lastKey=re,this.lastParams=me,this.updateValue(re,Me),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Q=>{this.lastKey&&Q.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(re,Me,Q.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Q=>{this.lastKey&&(this.lastKey=null,this.updateValue(re,Me,Q.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(re,Me))})),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(re){return new(re||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(re={}){return{ngModule:V,providers:[re.loader||{provide:R,useClass:U},re.compiler||{provide:o,useClass:u},re.parser||{provide:m,useClass:n},re.missingTranslationHandler||{provide:j,useClass:K},s,{provide:h,useValue:re.isolate},{provide:v,useValue:re.useDefaultLang},{provide:f,useValue:re.extend},{provide:y,useValue:re.defaultLanguage},r]}}static forChild(re={}){return{ngModule:V,providers:[re.loader||{provide:R,useClass:U},re.compiler||{provide:o,useClass:u},re.parser||{provide:m,useClass:n},re.missingTranslationHandler||{provide:j,useClass:K},{provide:h,useValue:re.isolate},{provide:v,useValue:re.useDefaultLang},{provide:f,useValue:re.extend},{provide:y,useValue:re.defaultLanguage},r]}}}return V.\u0275fac=function(re){return new(re||V)},V.\u0275mod=a.$C({type:V}),V.\u0275inj=a.G2t({}),V})()},467:(be,ee,E)=>{"use strict";function a(p,O,c,D,C,_,T){try{var w=p[_](T),g=w.value}catch(F){return void c(F)}w.done?O(g):Promise.resolve(g).then(D,C)}function S(p){return function(){var O=this,c=arguments;return new Promise(function(D,C){var _=p.apply(O,c);function T(g){a(_,D,C,T,w,"next",g)}function w(g){a(_,D,C,T,w,"throw",g)}T(void 0)})}}E.d(ee,{A:()=>S})},1635:(be,ee,E)=>{"use strict";E.d(ee,{AQ:()=>K,C6:()=>S,Cg:()=>c,N3:()=>j,sH:()=>F,xN:()=>ve});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 re,V=arguments.length,J=V<3?d:null===I?I=Object.getOwnPropertyDescriptor(d,L):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)J=Reflect.decorate(r,d,L,I);else for(var me=r.length-1;me>=0;me--)(re=r[me])&&(J=(V<3?re(J):V>3?re(d,L,J):re(d,L))||J);return V>3&&J&&Object.defineProperty(d,L,J),J}function F(r,d,L,I){return new(L||(L=Promise))(function(J,re){function me(ae){try{Q(I.next(ae))}catch(tt){re(tt)}}function Me(ae){try{Q(I.throw(ae))}catch(tt){re(tt)}}function Q(ae){ae.done?J(ae.value):function V(J){return J instanceof L?J:new L(function(re){re(J)})}(ae.value).then(me,Me)}Q((I=I.apply(r,d||[])).next())})}function j(r){return this instanceof j?(this.v=r,this):new j(r)}function K(r,d,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,I=L.apply(r,d||[]),J=[];return V={},re("next"),re("throw"),re("return"),V[Symbol.asyncIterator]=function(){return this},V;function re(Re){I[Re]&&(V[Re]=function(pe){return new Promise(function(Ie,Se){J.push([Re,pe,Ie,Se])>1||me(Re,pe)})})}function me(Re,pe){try{!function Me(Re){Re.value instanceof j?Promise.resolve(Re.value.v).then(Q,ae):tt(J[0][2],Re)}(I[Re](pe))}catch(Ie){tt(J[0][3],Ie)}}function Q(Re){me("next",Re)}function ae(Re){me("throw",Re)}function tt(Re,pe){Re(pe),J.shift(),J.length&&me(J[0][0],J[0][1])}}function ve(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(J){L[J]=r[J]&&function(re){return new Promise(function(me,Me){!function V(J,re,me,Me){Promise.resolve(Me).then(function(Q){J({value:Q,done:me})},re)}(me,Me,(re=r[J](re)).done,re.value)})}}}"function"==typeof SuppressedError&&SuppressedError},3219:be=>{"use strict";be.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:be=>{"use strict";be.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:be=>{"use strict";be.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:be=>{"use strict";be.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:be=>{"use strict";be.exports={rE:"6.5.5"}},5579:be=>{"use strict";be.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"}')}},be=>{be(be.s=6313)}]); \ No newline at end of file diff --git a/www/main.bafa0614efc2f09c.js b/www/main.bafa0614efc2f09c.js deleted file mode 100644 index 0829e29..0000000 --- a/www/main.bafa0614efc2f09c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{8941:(be,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:(be,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 _=function(o){return o.Unimplemented="UNIMPLEMENTED",o.Unavailable="UNAVAILABLE",o}(_||{});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)),re=(null===(s=null==L?void 0:L.currentPlatform)||void 0===s?void 0:s.isNativePlatform)||(()=>"web"!==V()),Me=(null===(h=null==L?void 0:L.currentPlatform)||void 0===h?void 0:h.isPluginAvailable)||(ie=>{const ne=pe.get(ie);return!!(null!=ne&&ne.platforms.has(V())||ae(ie))}),ae=(null===(v=null==L?void 0:L.currentPlatform)||void 0===v?void 0:v.getPluginHeader)||(ie=>{var ne;return null===(ne=r.PluginHeaders)||void 0===ne?void 0:ne.find(G=>G.name===ie)}),pe=new Map,Se=(null===(y=null==L?void 0:L.currentPlatform)||void 0===y?void 0:y.registerPlugin)||((ie,ne={})=>{const G=pe.get(ie);if(G)return console.warn(`Capacitor plugin "${ie}" already registered. Cannot register plugins twice.`),G.proxy;const Ee=V(),vt=ae(ie);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 St;const Tt=(...yn)=>{const Dt=rt().then(Bt=>{const Cn=((En,St)=>{var Tt,yn;if(!vt){if(En)return null===(yn=En[St])||void 0===yn?void 0:yn.bind(En);throw new T(`"${ie}" plugin is not implemented on ${Ee}`,_.Unimplemented)}{const Dt=null==vt?void 0:vt.methods.find(Bt=>St===Bt.name);if(Dt)return"promise"===Dt.rtype?Bt=>r.nativePromise(ie,St.toString(),Bt):(Bt,Cn)=>r.nativeCallback(ie,St.toString(),Bt,Cn);if(En)return null===(Tt=En[St])||void 0===Tt?void 0:Tt.bind(En)}})(Bt,En);if(Cn){const st=Cn(...yn);return St=null==st?void 0:st.remove,st}throw new T(`"${ie}.${En}()" is not implemented on ${Ee}`,_.Unimplemented)});return"addListener"===En&&(Dt.remove=(0,a.A)(function*(){return St()})),Dt};return Tt.toString=()=>`${En.toString()}() { [capacitor code] }`,Object.defineProperty(Tt,"name",{value:En,writable:!1,configurable:!1}),Tt},ft=gt("addListener"),on=gt("removeListener"),wt=(En,St)=>{const Tt=ft({eventName:En},St),yn=function(){var Bt=(0,a.A)(function*(){const Cn=yield Tt;on({eventName:En,callbackId:Cn},St)});return function(){return Bt.apply(this,arguments)}}(),Dt=new Promise(Bt=>Tt.then(()=>Bt({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,St){switch(St){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return vt?wt:ft;case"removeListener":return on;default:return gt(St)}}});return d[ie]=Pt,pe.set(ie,{name:ie,proxy:Pt,platforms:new Set([...Object.keys(ne),...vt?[Ee]:[]])}),Pt});return r.convertFileSrc||(r.convertFileSrc=ie=>ie),r.getPlatform=V,r.handleError=ie=>o.console.error(ie),r.isNativePlatform=re,r.isPluginAvailable=Me,r.pluginMethodNoop=(ie,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,_.Unimplemented)}unavailable(u="not available"){return new A.Exception(u,_.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 R=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=R(u.key),h=R(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 oe=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 oe(L);break;case"json":d=yield y.json();break;default:d=yield y.text()}const I={};return y.headers.forEach((V,J)=>{I[J]=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:(be,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:(be,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:(be,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(O=>new O.FilesystemWeb)})},9182:(be,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:(be,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:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{L:()=>a,a:()=>S,b:()=>p,c:()=>O,d:()=>c,g:()=>te});const a="ionViewWillEnter",S="ionViewDidEnter",p="ionViewWillLeave",O="ionViewDidLeave",c="ionViewWillUnload",te=se=>se.classList.contains("ion-page")?se:se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||se},3503:(be,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,R)=>{const U=M.startsWith("animation")?D(k):"";k.style.setProperty(U+M,R)},_=(k,M)=>{const R=M.startsWith("animation")?D(k):"";k.style.removeProperty(R+M)},g=[],P=(k=[],M)=>{if(void 0!==M){const R=Array.isArray(M)?M:[M];return[...k,...R]}return k},$=k=>{let M,R,U,j,K,oe,n,r,d,L,I,me,Me,ve=[],te=[],se=[],m=!1,o={},u=[],s=[],h={},v=0,y=!1,f=!1,V=!0,J=!1,re=!0,Q=!1;const ae=k,tt=[],Re=[],pe=[],Ie=[],Se=[],ie=[],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,ft=()=>Qe,St=(Et,zt)=>{const ye=zt.findIndex(Ke=>Ke.c===Et);ye>-1&&zt.splice(ye,1)},yn=(Et,zt)=>((null!=zt&&zt.oneTimeCallback?Re:tt).push({c:Et,o:zt}),Me),Bt=()=>{if(nn)Qe.forEach(Et=>{Et.cancel()}),Qe.length=0;else{const Et=Ie.slice();(0,S.r)(()=>{Et.forEach(zt=>{_(zt,"animation-name"),_(zt,"animation-duration"),_(zt,"animation-timing-function"),_(zt,"animation-iteration-count"),_(zt,"animation-delay"),_(zt,"animation-play-state"),_(zt,"animation-fill-mode"),_(zt,"animation-direction")})})}},Cn=()=>{ie.forEach(Et=>{null!=Et&&Et.parentNode&&Et.parentNode.removeChild(Et)}),ie.length=0},Ue=()=>void 0!==K?K:n?n.getFill():"both",it=()=>void 0!==d?d:void 0!==oe?oe:n?n.getDirection():"normal",Pe=()=>y?"linear":void 0!==U?U:n?n.getEasing():"linear",Be=()=>f?0:void 0!==L?L:void 0!==R?R:n?n.getDuration():0,Ve=()=>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,Ke=h;Ie.forEach(dt=>{const xt=dt.classList;zt.forEach(Xt=>xt.add(Xt)),ye.forEach(Xt=>xt.remove(Xt));for(const Xt in Ke)Ke.hasOwnProperty(Xt)&&C(dt,Xt,Ke[Xt])}),L=void 0,d=void 0,I=void 0,tt.forEach(dt=>dt.c(Et,Me)),Re.forEach(dt=>dt.c(Et,Me)),Re.length=0,re=!0,V&&(J=!0),V=!0})(),n&&n.animationFinish()))},kn=(Et=!0)=>{Cn();const zt=(k=>(k.forEach(M=>{for(const R in M)if(M.hasOwnProperty(R)){const U=M[R];if("easing"===R)M["animation-timing-function"]=U,delete M[R];else{const j=c(R);j!==R&&(M[j]=U,delete M[R])}}}),k))(ve);Ie.forEach(ye=>{if(zt.length>0){const Ke=((k=[])=>k.map(M=>{const R=M.offset,U=[];for(const j in M)M.hasOwnProperty(j)&&"offset"!==j&&U.push(`${j}: ${M[j]};`);return`${100*R}% { ${U.join(" ")} }`}).join(" "))(zt);me=void 0!==k?k:(k=>{let M=g.indexOf(k);return M<0&&(M=g.push(k)-1),`ion-animation-${M}`})(Ke);const dt=((k,M,R)=>{var U;const j=(k=>{const M=void 0!==k.getRootNode?k.getRootNode():k;return M.head||M})(R),K=D(R),oe=j.querySelector("#"+k);if(oe)return oe;const ve=(null!==(U=R.ownerDocument)&&void 0!==U?U:document).createElement("style");return ve.id=k,ve.textContent=`@${K}keyframes ${k} { ${M} } @${K}keyframes ${k}-alt { ${M} }`,j.appendChild(ve),ve})(me,Ke,ye);ie.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",Ue()),C(ye,"animation-direction",it());const xt=Ve()===1/0?"infinite":Ve().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)})}})},$n=(Et=!0)=>{(()=>{ne.forEach(Ke=>Ke()),G.forEach(Ke=>Ke());const Et=te,zt=se,ye=o;Ie.forEach(Ke=>{const dt=Ke.classList;Et.forEach(xt=>dt.add(xt)),zt.forEach(xt=>dt.remove(xt));for(const xt in ye)ye.hasOwnProperty(xt)&&C(Ke,xt,ye[xt])})})(),ve.length>0&&(nn?(Ie.forEach(Et=>{const zt=Et.animate(ve,{id:ae,delay:yt(),duration:Be(),easing:Pe(),iterations:Ve(),fill:Ue(),direction:it()});zt.pause(),Qe.push(zt)}),Qe.length>0&&(Qe[0].onfinish=()=>{Fn()})):kn(Et)),m=!0},jn=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=>{ve.length>0&&(C(ye,"animation-delay",zt),C(ye,"animation-play-state","paused"))})}},je=Et=>{Qe.forEach(zt=>{zt.effect.updateTiming({delay:yt(),duration:Be(),easing:Pe(),iterations:Ve(),fill:Ue(),direction:it()})}),void 0!==Et&&jn(Et)},ut=(Et=!0,zt)=>{(0,S.r)(()=>{Ie.forEach(ye=>{C(ye,"animation-name",me||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",Ue()||null),C(ye,"animation-direction",it()||null);const Ke=Ve()===1/0?"infinite":Ve().toString();C(ye,"animation-iteration-count",Ke),Et&&C(ye,"animation-name",`${me}-alt`),(0,S.r)(()=>{C(ye,"animation-name",me||null)})})})},It=(Et=!1,zt=!0,ye)=>(Et&&Se.forEach(Ke=>{Ke.update(Et,zt,ye)}),nn?je(ye):ut(zt,ye),Me),qt=()=>{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||$n(),J&&(nn?(jn(0),je()):ut(),J=!1),re&&(v=Se.length+1,re=!1);const ye=()=>{St(Ke,Re),zt()},Ke=()=>{St(ye,pe),zt()};yn(Ke,{oneTimeCallback:!0}),((Et,zt)=>{pe.push({c:Et,o:{oneTimeCallback:!0}})})(ye),Se.forEach(dt=>{dt.play()}),nn?(Qe.forEach(Et=>{Et.play()}),(0===ve.length||0===Ie.length)&&Fn()):(()=>{if(An(),(0,S.r)(()=>{Ie.forEach(Et=>{ve.length>0&&C(Et,"animation-play-state","running")})}),0===ve.length||0===Ie.length)Fn();else{const Et=yt()||0,zt=Be()||0,ye=Ve()||1;isFinite(ye)&&(r=setTimeout(Tn,Et+zt*ye+100)),((k,M)=>{let R;const U={passive:!0},K=oe=>{k===oe.target&&(R&&R(),An(),(0,S.r)(()=>{Ie.forEach(Et=>{_(Et,"animation-duration"),_(Et,"animation-delay"),_(Et,"animation-play-state")}),(0,S.r)(Fn)}))};k&&(k.addEventListener("webkitAnimationEnd",K,U),k.addEventListener("animationend",K,U),R=()=>{k.removeEventListener("webkitAnimationEnd",K,U),k.removeEventListener("animationend",K,U)})})(Ie[0])}})(),Q=!1}),bt=(Et,zt)=>{const ye=ve[0];return void 0===ye||void 0!==ye.offset&&0!==ye.offset?ve=[{offset:0,[Et]:zt},...ve]:ye[Et]=zt,Me};return Me={parentAnimation:n,elements:Ie,childAnimations:Se,id:ae,animationFinish:Fn,from:bt,to:(Et,zt)=>{const ye=ve[ve.length-1];return void 0===ye||void 0!==ye.offset&&1!==ye.offset?ve=[...ve,{offset:1,[Et]:zt}]:ye[Et]=zt,Me},fromTo:(Et,zt,ye)=>bt(Et,zt).to(Et,ye),parent:Et=>(n=Et,Me),play:Te,pause:()=>(Se.forEach(Et=>{Et.pause()}),qt(),Me),stop:()=>{Se.forEach(Et=>{Et.stop()}),m&&(Bt(),m=!1),y=!1,f=!1,re=!0,d=void 0,L=void 0,I=void 0,v=0,J=!1,V=!0,Q=!1,pe.forEach(Et=>Et.c(0,Me)),pe.length=0},destroy:Et=>(Se.forEach(zt=>{zt.destroy(Et)}),(Et=>{Bt(),Et&&Cn()})(Et),Ie.length=0,Se.length=0,ve.length=0,tt.length=0,Re.length=0,m=!1,re=!0,Me),keyframes:Et=>{const zt=ve!==Et;return ve=Et,zt&&(Et=>{nn?ft().forEach(zt=>{const ye=zt.effect;if(ye.setKeyframes)ye.setKeyframes(Et);else{const Ke=new KeyframeEffect(ye.target,Et,ye.getTiming());zt.effect=Ke}}):kn()})(ve),Me},addAnimation:Et=>{if(null!=Et)if(Array.isArray(Et))for(const zt of Et)zt.parent(Me),Se.push(zt);else Et.parent(Me),Se.push(Et);return Me},addElement:Et=>{if(null!=Et)if(1===Et.nodeType)Ie.push(Et);else if(Et.length>=0)for(let zt=0;zt(K=Et,It(!0),Me),direction:Et=>(oe=Et,It(!0),Me),iterations:Et=>(j=Et,It(!0),Me),duration:Et=>(!nn&&0===Et&&(Et=1),R=Et,It(!0),Me),easing:Et=>(U=Et,It(!0),Me),delay:Et=>(M=Et,It(!0),Me),getWebAnimations:ft,getKeyframes:()=>ve,getFill:Ue,getDirection:it,getDelay:yt,getIterations:Ve,getEasing:Pe,getDuration:Be,afterAddRead:Et=>(Ee.push(Et),Me),afterAddWrite:Et=>(vt.push(Et),Me),afterClearStyles:(Et=[])=>{for(const zt of Et)h[zt]="";return Me},afterStyles:(Et={})=>(h=Et,Me),afterRemoveClass:Et=>(s=P(s,Et),Me),afterAddClass:Et=>(u=P(u,Et),Me),beforeAddRead:Et=>(ne.push(Et),Me),beforeAddWrite:Et=>(G.push(Et),Me),beforeClearStyles:(Et=[])=>{for(const zt of Et)o[zt]="";return Me},beforeStyles:(Et={})=>(o=Et,Me),beforeRemoveClass:Et=>(se=P(se,Et),Me),beforeAddClass:Et=>(te=P(te,Et),Me),onFinish:yn,isRunning:()=>0!==v&&!Q,progressStart:(Et=!1,zt)=>(Se.forEach(ye=>{ye.progressStart(Et,zt)}),qt(),y=Et,m||$n(),It(!1,!0,zt),Me),progressStep:Et=>(Se.forEach(zt=>{zt.progressStep(Et)}),jn(Et),Me),progressEnd:(Et,zt,ye)=>(y=!1,Se.forEach(Ke=>{Ke.progressEnd(Et,zt,ye)}),void 0!==ye&&(L=ye),J=!1,V=!0,0===Et?(d="reverse"===it()?"normal":"reverse","reverse"===d&&(V=!1),nn?(It(),jn(1-zt)):(I=(1-zt)*Be()*-1,It(!1,!1))):1===Et&&(nn?(It(),jn(zt)):(I=zt*Be()*-1,It(!1,!1))),void 0!==Et&&!n&&Te(),Me)}}},464:(be,ee,E)=>{"use strict";E.d(ee,{E:()=>w,a:()=>a,s:()=>_});const a=g=>{try{if(g instanceof C)return g.value;if(!O()||"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 R=M.length-1;R>=0;R--){const U=M[R];U.parentNode?U.parentNode.removeChild(U):F.removeChild(U);const j=p(U);for(let K=0;K{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,O=()=>{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 _=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},w=!1},5938:(be,ee,E)=>{"use strict";E.d(ee,{C:()=>c,a:()=>p,d:()=>O});var a=E(467),S=E(5638);const p=function(){var D=(0,a.A)(function*(C,_,T,w,g,F){var A;if(C)return C.attachViewToDom(_,T,g,w);if(!(F||"string"==typeof T||T instanceof HTMLElement))throw new Error("framework delegate is missing");const B="string"==typeof T?null===(A=_.ownerDocument)||void 0===A?void 0:A.createElement(T):T;return w&&w.forEach(P=>B.classList.add(P)),g&&Object.assign(B,g),_.appendChild(B),yield new Promise(P=>(0,S.c)(B,P)),B});return function(_,T,w,g,F,A){return D.apply(this,arguments)}}(),O=(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 w=(0,a.A)(function*(g,F,A={},B=[]){var P,$;let k;if(D=g,F){const R="string"==typeof F?null===(P=D.ownerDocument)||void 0===P?void 0:P.createElement(F):F;B.forEach(U=>R.classList.add(U)),Object.assign(R,A),D.appendChild(R),k=R,yield new Promise(U=>(0,S.c)(R,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 w.apply(this,arguments)}}(),removeViewFromDom:()=>(D&&C&&(C.parentNode.insertBefore(D,C),C.remove()),Promise.resolve())}}},8221:(be,ee,E)=>{"use strict";E.d(ee,{G:()=>c});class S{constructor(C,_,T,w,g){this.id=_,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,_,T,w){this.id=_,this.disable=T,this.disableScroll=w,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 O="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 _;return new S(this,this.newID(),C.name,null!==(_=C.priority)&&void 0!==_?_:0,!!C.disableScroll)}createBlocker(C={}){return new p(this,this.newID(),C.disable,!!C.disableScroll)}start(C,_,T){return this.canStart(C)?(this.requestedStart.set(_,T),!0):(this.requestedStart.delete(_),!1)}capture(C,_,T){if(!this.start(C,_,T))return!1;const w=this.requestedStart;let g=-1e4;if(w.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 w.delete(_),!1}release(C){this.requestedStart.delete(C),this.capturedId===C&&(this.capturedId=void 0)}disableGesture(C,_){let T=this.disabledGestures.get(C);void 0===T&&(T=new Set,this.disabledGestures.set(C,T)),T.add(_)}enableGesture(C,_){const T=this.disabledGestures.get(C);void 0!==T&&T.delete(_)}disableScroll(C){this.disabledScroll.add(C),1===this.disabledScroll.size&&document.body.classList.add(O)}enableScroll(C){this.disabledScroll.delete(C),0===this.disabledScroll.size&&document.body.classList.remove(O)}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 _=this.disabledGestures.get(C);return!!(_&&_.size>0)}newID(){return this.gestureId++,this.gestureId}}},3113:(be,ee,E)=>{"use strict";E.r(ee),E.d(ee,{MENU_BACK_BUTTON_PRIORITY:()=>T,OVERLAY_BACK_BUTTON_PRIORITY:()=>_,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 w=document;let g=!1;const F=()=>{if(g)return;let A=0,B=[];const P=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,R){B.push({priority:M,handler:R,id:A++})}}});w.dispatchEvent(P);const $=function(){var M=(0,a.A)(function*(R){try{if(null!=R&&R.handler){const U=R.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(R=>{R.priority>=M.priority&&(M=R)}),g=!0,B=B.filter(R=>R.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 w.addEventListener("backbutton",F)},_=100,T=99},5638:(be,ee,E)=>{"use strict";E.d(ee,{a:()=>_,b:()=>T,c:()=>p,d:()=>$,e:()=>P,f:()=>B,g:()=>w,h:()=>A,i:()=>C,j:()=>K,k:()=>c,l:()=>k,m:()=>O,n:()=>F,o:()=>M,p:()=>j,q:()=>oe,r:()=>g,s:()=>ve,t:()=>a,u:()=>R,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))},O=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)},_=(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)},w=(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)}},R=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.`)}},K=(te,se)=>{const m=te._original||te;return{_original:te,emit:oe(m.emit.bind(m),se)}},oe=(te,se=0)=>{let m;return(...n)=>{clearTimeout(m),m=setTimeout(te,se,...n)}},ve=(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:(be,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,R;return A.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",R="__zone_symbol__removeEventListener"):(M="addEventListener",R="removeEventListener"),A[M](B,P,k),()=>{A[R](B,P,k)}},p=A=>{if(void 0===O)try{const B=Object.defineProperty({},"passive",{get:()=>{O=!0}});A.addEventListener("optsTest",()=>{},B)}catch{O=!1}return!!O};let O;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),R=M.canStart,U=M.onWillStart,j=M.onStart,K=M.onEnd,oe=M.notCaptured,ve=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($),R=B*B;let U=0,j=0,K=!1,oe=0;return{start(ve,te){U=ve,j=te,oe=0,K=!0},detect(ve,te){if(!K)return!1;const se=ve-U,m=te-j,n=se*se+m*m;if(nM?1:u<-M?-1:0,K=!1,!0},isGesture:()=>0!==oe,getDirection:()=>oe}})(M.direction,M.threshold,M.maxAngle),u=a.G.createGesture({name:A.gestureName,priority:A.gesturePriority,disableScroll:A.disableScroll}),v=()=>{B&&(k=!1,ve&&ve(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 J=document.activeElement;null!=J&&J.blur&&J.blur()}})(),j&&j(n),$=!0},d=()=>{B=!1,P=!1,k=!1,$=!0,u.release()},L=J=>{const re=B,me=$;if(d(),me){if(w(n,J),re)return void(K&&K(n));oe&&oe(n)}},I=((A,B,P,$,k)=>{let M,R,U,j,K,oe,ve,te=0;const se=f=>{te=Date.now()+2e3,B(f)&&(!R&&P&&(R=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)&&(!oe&&P&&(oe=S(C(A),"mousemove",P,k)),ve||(ve=S(C(A),"mouseup",o,k)))},n=f=>{u(),$&&$(f)},o=f=>{s(),$&&$(f)},u=()=>{R&&R(),U&&U(),j&&j(),R=U=j=void 0},s=()=>{oe&&oe(),ve&&ve(),oe=ve=void 0},h=()=>{u(),s()},v=(f=!0)=>{f?(M||(M=S(A,"touchstart",se,k)),K||(K=S(A,"mousedown",m,k))):(M&&M(),K&&K(),M=K=void 0,h())};return{enable:v,stop:h,destroy:()=>{v(!1),$=P=B=void 0}}})(M.el,J=>{const re=F(J);return!(P||!$||(g(J,n),n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime=re,n.velocityX=n.velocityY=n.deltaX=n.deltaY=0,n.event=J,R&&!1===R(n))||(u.release(),!u.start()))&&(P=!0,0===te?y():(o.start(n.startX,n.startY),!0))},J=>{B?!k&&$&&(k=!0,w(n,J),requestAnimationFrame(v)):(w(n,J),o.detect(n.currentX,n.currentY)&&(!o.isGesture()||!y())&&V())},L,{capture:!1,passive:se}),V=()=>{d(),I.stop(),oe&&oe(n)};return{enable(J=!0){J||(B&&L(void 0),d()),I.enable(J)},destroy(){u.destroy(),I.destroy()}}},w=(A,B)=>{if(!B)return;const P=A.currentX,$=A.currentY,k=A.currentTime;g(B,A);const M=A.currentX,R=A.currentY,j=(A.currentTime=F(B))-k;if(j>0&&j<100){const oe=(R-$)/j;A.velocityX=(M-P)/j*.7+.3*A.velocityX,A.velocityY=.7*oe+.3*A.velocityY}A.deltaX=M-A.startX,A.deltaY=R-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:(be,ee,E)=>{"use strict";E.d(ee,{m:()=>A});var a=E(467),S=E(8476),p=E(3113),O=E(4929),c=E(5638),D=E(611),C=E(3503);const _=B=>(0,C.c)().duration(B?400:300),T=B=>{let P,$;const k=B.width+8,M=(0,C.c)(),R=(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),K=j?.2:.25;return R.addElement(B.backdropEl).fromTo("opacity",.01,K),_(j).addAnimation([M,R])},w=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 R=(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 _("ios"===k).addAnimation([R,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 _("ios"===P).addAnimation(k)},A=(()=>{const B=new Map,P=[],$=function(){var d=(0,a.A)(function*(L){const I=yield oe(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?oe(L,!0):ve();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 oe(L,!0);return!!I&&I.toggle()});return function(I){return d.apply(this,arguments)}}(),R=function(){var d=(0,a.A)(function*(L,I){const V=yield oe(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 oe(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 oe(L);return void 0!==I&&I.isOpen()}return void 0!==(yield ve())});return function(I){return d.apply(this,arguments)}}(),K=function(){var d=(0,a.A)(function*(L){const I=yield oe(L);return!!I&&!I.disabled});return function(I){return d.apply(this,arguments)}}(),oe=function(){var d=(0,a.A)(function*(L,I=!1){if(yield r(),"start"===L||"end"===L){const J=P.filter(me=>me.side===L&&!me.disabled);if(J.length>=1)return J.length>1&&I&&(0,O.p)(`menuController queried for a menu on the "${L}" side, but ${J.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.`,J.map(me=>me.el)),J[0].el;const re=P.filter(me=>me.side===L);if(re.length>=1)return re.length>1&&I&&(0,O.p)(`menuController queried for a menu on the "${L}" side, but ${re.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.`,re.map(me=>me.el)),re[0].el}else if(null!=L)return f(J=>J.menuId===L);return f(J=>!J.disabled)||(P.length>0?P[0].el:void 0)});return function(I){return d.apply(this,arguments)}}(),ve=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 J=yield ve();J&&L.el!==J&&(yield J.setOpen(!1,!1))}return L._setOpen(I,V)});return function(I,V,J){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",w),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:oe,getMenus:te,getOpen:ve,isEnabled:K,swipeGesture:U,isAnimating:se,isOpen:j,enable:R,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:(be,ee,E)=>{"use strict";E.d(ee,{a:()=>S,b:()=>p,p:()=>a});const a=(O,...c)=>console.warn(`[Ionic Warning]: ${O}`,...c),S=(O,...c)=>console.error(`[Ionic Error]: ${O}`,...c),p=(O,...c)=>console.error(`<${O.tagName.toLowerCase()}> must be used inside ${c.join(" or ")}.`)},4363:(be,ee,E)=>{"use strict";E.d(ee,{B:()=>F,H:()=>y,a:()=>Tn,b:()=>Pn,c:()=>me,d:()=>tt,e:()=>Et,f:()=>ae,g:()=>Me,h:()=>h,i:()=>it,j:()=>A,r:()=>Kn,w:()=>zt});var a=E(467);let O,c,D,C=!1,_=!1,T=!1,w=!1,g=!1;const F={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},A=ye=>{const Ke=new URL(ye,Yt.$resourcesUrl$);return Ke.origin!==Zt.location.origin?Ke.href:Ke.pathname},U="s-id",j="sty-id",K="c-id",ve="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 Ke,dt,xt;return null!==(xt=null===(dt=null===(Ke=ye.head)||void 0===Ke?void 0:Ke.querySelector('meta[name="csp-nonce"]'))||void 0===dt?void 0:dt.getAttribute("content"))&&void 0!==xt?xt:void 0}const h=(ye,Ke,...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===Ke?{}:Ke,fn,r);const tn=v(ye,null);return tn.$attrs$=Ke,fn.length>0&&(tn.$children$=fn),tn.$key$=Xt,tn.$name$=$t,tn},v=(ye,Ke)=>({$flags$:0,$tag$:ye,$text$:Ke,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),y={},r={forEach:(ye,Ke)=>ye.map(d).forEach(Ke),map:(ye,Ke)=>ye.map(d).map(Ke).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 Ke=v(ye.vtag,ye.vtext);return Ke.$attrs$=ye.vattrs,Ke.$children$=ye.vchildren,Ke.$key$=ye.vkey,Ke.$name$=ye.vname,Ke},V=(ye,Ke,dt,xt,Xt,$t,an)=>{let ln,fn,un,tn;if(1===$t.nodeType){for(ln=$t.getAttribute(K),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},Ke.push(un),$t.removeAttribute(K),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,Ke,dt,xt,Xt,$t.childNodes[tn],an);if($t.shadowRoot)for(tn=$t.shadowRoot.childNodes.length-1;tn>=0;tn--)V(ye,Ke,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,Ke.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$)),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]}},J=(ye,Ke)=>{if(1===ye.nodeType){let dt=0;for(;dtNt.push(ye),Me=ye=>kn(ye).$modeName$,ae=ye=>kn(ye).$hostElement$,tt=(ye,Ke,dt)=>{const xt=ae(ye);return{emit:Xt=>Re(xt,Ke,{bubbles:!!(4&dt),composed:!!(2&dt),cancelable:!!(1&dt),detail:Xt})}},Re=(ye,Ke,dt)=>{const xt=Yt.ce(Ke,dt);return ye.dispatchEvent(xt),xt},pe=new WeakMap,Ie=(ye,Ke,dt)=>{let xt=Mt.get(ye);We&&dt?(xt=xt||new CSSStyleSheet,"string"==typeof xt?xt=Ke:xt.replaceSync(Ke)):xt=Ke,Mt.set(ye,xt)},Se=(ye,Ke,dt)=>{var xt;const Xt=ne(Ke,dt),$t=Mt.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=Yt.$nonce$)&&void 0!==xt?xt:s(qt);null!=fn&&ln.setAttribute("nonce",fn),ye.insertBefore(ln,ye.querySelector("link"))}4&Ke.$flags$&&(ln.innerHTML+=ve),an&&an.add(Xt)}}else ye.adoptedStyleSheets.includes($t)||(ye.adoptedStyleSheets=[...ye.adoptedStyleSheets,$t]);return Xt},ne=(ye,Ke)=>"sc-"+(Ke&&32&ye.$flags$?ye.$tagName$+"-"+Ke:ye.$tagName$),G=ye=>ye.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ee=(ye,Ke,dt,xt,Xt,$t)=>{if(dt!==xt){let an=jn(ye,Ke),ln=Ke.toLowerCase();if("class"===Ke){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"===Ke){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"!==Ke)if("ref"===Ke)xt&&xt(ye);else if(an||"o"!==Ke[0]||"n"!==Ke[1]){const fn=u(xt);if((an||fn&&null!==xt)&&!Xt)try{if(ye.tagName.includes("-"))ye[Ke]=xt;else{const tn=null==xt?"":xt;"list"===Ke?an=!1:(null==dt||ye[Ke]!=tn)&&(ye[Ke]=tn)}}catch{}let un=!1;ln!==(ln=ln.replace(/^xlink\:?/,""))&&(Ke=ln,un=!0),null==xt||!1===xt?(!1!==xt||""===ye.getAttribute(Ke))&&(un?ye.removeAttributeNS(te,Ke):ye.removeAttribute(Ke)):(!an||4&$t||Xt)&&!fn&&(xt=!0===xt?"":xt,un?ye.setAttributeNS(te,Ke,xt):ye.setAttribute(Ke,xt))}else if(Ke="-"===Ke[2]?Ke.slice(3):jn(Zt,ln)?ln.slice(2):ln[2]+Ke.slice(3),dt||xt){const fn=Ke.endsWith(rt);Ke=Ke.replace(nn,""),dt&&Yt.rel(ye,Ke,dt,fn),xt&&Yt.ael(ye,Ke,xt,fn)}}},vt=/\s/,Qe=ye=>ye?ye.split(vt):[],rt="Capture",nn=new RegExp(rt+"$"),gt=(ye,Ke,dt,xt)=>{const Xt=11===Ke.$elm$.nodeType&&Ke.$elm$.host?Ke.$elm$.host:Ke.$elm$,$t=ye&&ye.$attrs$||se,an=Ke.$attrs$||se;for(xt of ft(Object.keys($t)))xt in an||Ee(Xt,xt,$t[xt],void 0,dt,Ke.$flags$);for(xt of ft(Object.keys(an)))Ee(Xt,xt,$t[xt],an[xt],dt,Ke.$flags$)};function ft(ye){return ye.includes("ref")?[...ye.filter(Ke=>"ref"!==Ke),"ref"]:ye}const on=(ye,Ke,dt,xt)=>{var Xt;const $t=Ke.$children$[dt];let ln,fn,un,an=0;if(C||(T=!0,"slot"===$t.$tag$&&(O&&xt.classList.add(O+"-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(w||(w="svg"===$t.$tag$),ln=$t.$elm$=qt.createElementNS(w?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$t.$flags$?"slot-fb":$t.$tag$),w&&"foreignObject"===$t.$tag$&&(w=!1),gt(null,$t,w),(ye=>null!=ye)(O)&&ln["s-si"]!==O&&ln.classList.add(ln["s-si"]=O),$t.$children$)for(an=0;an<$t.$children$.length;++an)fn=on(ye,$t,an,ln),fn&&ln.appendChild(fn);"svg"===$t.$tag$?w=!1:"foreignObject"===ln.tagName&&(w=!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$&&wt(ye.$elm$,!1)),ln},wt=(ye,Ke)=>{Yt.$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),Ke&&wt(Xt,Ke)}Yt.$flags$&=-2},Pt=(ye,Ke,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(Ke))))},En=(ye,Ke,dt)=>{for(let xt=Ke;xt<=dt;++xt){const Xt=ye[xt];if(Xt){const $t=Xt.$elm$;kt(Xt),$t&&(_=!0,$t["s-ol"]?$t["s-ol"].remove():wt($t,!0),$t.remove())}}},Tt=(ye,Ke,dt=!1)=>ye.$tag$===Ke.$tag$&&("slot"===ye.$tag$?ye.$name$===Ke.$name$:!!dt||ye.$key$===Ke.$key$),yn=ye=>ye&&ye["s-ol"]||ye,Dt=ye=>(ye["s-ol"]?ye["s-ol"]:ye).parentNode,Bt=(ye,Ke,dt=!1)=>{const xt=Ke.$elm$=ye.$elm$,Xt=ye.$children$,$t=Ke.$children$,an=Ke.$tag$,ln=Ke.$text$;let fn;null===ln?(w="svg"===an||"foreignObject"!==an&&w,"slot"===an&&!C||gt(ye,Ke,w),null!==Xt&&null!==$t?((ye,Ke,dt,xt,Xt=!1)=>{let X,$e,$t=0,an=0,ln=0,fn=0,un=Ke.length-1,tn=Ke[0],Mn=Ke[un],Bn=xt.length-1,Rn=xt[0],xr=xt[Bn];for(;$t<=un&&an<=Bn;)if(null==tn)tn=Ke[++$t];else if(null==Mn)Mn=Ke[--un];else if(null==Rn)Rn=xt[++an];else if(null==xr)xr=xt[--Bn];else if(Tt(tn,Rn,Xt))Bt(tn,Rn,Xt),tn=Ke[++$t],Rn=xt[++an];else if(Tt(Mn,xr,Xt))Bt(Mn,xr,Xt),Mn=Ke[--un],xr=xt[--Bn];else if(Tt(tn,xr,Xt))("slot"===tn.$tag$||"slot"===xr.$tag$)&&wt(tn.$elm$.parentNode,!1),Bt(tn,xr,Xt),ye.insertBefore(tn.$elm$,Mn.$elm$.nextSibling),tn=Ke[++$t],xr=xt[--Bn];else if(Tt(Mn,Rn,Xt))("slot"===tn.$tag$||"slot"===xr.$tag$)&&wt(Mn.$elm$.parentNode,!1),Bt(Mn,Rn,Xt),ye.insertBefore(Mn.$elm$,tn.$elm$),Mn=Ke[--un],Rn=xt[++an];else{for(ln=-1,fn=$t;fn<=un;++fn)if(Ke[fn]&&null!==Ke[fn].$key$&&Ke[fn].$key$===Rn.$key$){ln=fn;break}ln>=0?($e=Ke[ln],$e.$tag$!==Rn.$tag$?X=on(Ke&&Ke[an],dt,ln,ye):(Bt($e,Rn,Xt),Ke[ln]=void 0,X=$e.$elm$),Rn=xt[++an]):(X=on(Ke&&Ke[an],dt,an,ye),Rn=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(Ke,$t,un)})(xt,Xt,Ke,$t,dt):null!==$t?(null!==ye.$text$&&(xt.textContent=""),Pt(xt,null,Ke,$t,0,$t.length-1)):null!==Xt&&En(Xt,0,Xt.length-1),w&&"svg"===an&&(w=!1)):(fn=xt["s-cr"])?fn.parentNode.textContent=ln:ye.$text$!==ln&&(xt.data=ln)},Cn=ye=>{const Ke=ye.childNodes;for(const dt of Ke)if(1===dt.nodeType){if(dt["s-sr"]){const xt=dt["s-sn"];dt.hidden=!1;for(const Xt of Ke)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=[],Lt=ye=>{let Ke,dt,xt;for(const Xt of ye.childNodes){if(Xt["s-sr"]&&(Ke=Xt["s-cr"])&&Ke.parentNode){dt=Ke.parentNode.childNodes;const $t=Xt["s-sn"];for(xt=dt.length-1;xt>=0;xt--)if(Ke=dt[xt],!Ke["s-cn"]&&!Ke["s-nr"]&&Ke["s-hn"]!==Xt["s-hn"])if(In(Ke,$t)){let an=st.find(ln=>ln.$nodeToRelocate$===Ke);_=!0,Ke["s-sn"]=Ke["s-sn"]||$t,an?(an.$nodeToRelocate$["s-sh"]=Xt["s-hn"],an.$slotRefNode$=Xt):(Ke["s-sh"]=Xt["s-hn"],st.push({$slotRefNode$:Xt,$nodeToRelocate$:Ke})),Ke["s-sr"]&&st.map(ln=>{In(ln.$nodeToRelocate$,Ke["s-sn"])&&(an=st.find(fn=>fn.$nodeToRelocate$===Ke),an&&!ln.$slotRefNode$&&(ln.$slotRefNode$=an.$slotRefNode$))})}else st.some(an=>an.$nodeToRelocate$===Ke)||st.push({$nodeToRelocate$:Ke})}1===Xt.nodeType&&Lt(Xt)}},In=(ye,Ke)=>1===ye.nodeType?null===ye.getAttribute("slot")&&""===Ke||ye.getAttribute("slot")===Ke:ye["s-sn"]===Ke||""===Ke,kt=ye=>{ye.$attrs$&&ye.$attrs$.ref&&ye.$attrs$.ref(null),ye.$children$&&ye.$children$.map(kt)},Ln=(ye,Ke)=>{Ke&&!ye.$onRenderResolve$&&Ke["s-p"]&&Ke["s-p"].push(new Promise(dt=>ye.$onRenderResolve$=dt))},Ut=(ye,Ke)=>{if(ye.$flags$|=16,!(4&ye.$flags$))return Ln(ye,ye.$ancestorComponent$),zt(()=>Le(ye,Ke));ye.$flags$|=512},Le=(ye,Ke)=>{const xt=ye.$lazyInstance$;let Xt;return Ke&&(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,()=>Ae(ye,xt,Ke))},_e=(ye,Ke)=>De(ye)?ye.then(Ke):Ke(),De=ye=>ye instanceof Promise||ye&&ye.then&&"function"==typeof ye.then,Ae=function(){var ye=(0,a.A)(function*(Ke,dt,xt){var Xt;const $t=Ke.$hostElement$,ln=$t["s-rc"];xt&&(ye=>{const Ke=ye.$cmpMeta$,dt=ye.$hostElement$,xt=Ke.$flags$,$t=Se(dt.shadowRoot?dt.shadowRoot:dt.getRootNode(),Ke,ye.$modeName$);10&xt&&(dt["s-sc"]=$t,dt.classList.add($t+"-h"),2&xt&&dt.classList.add($t+"-s"))})(Ke);Ze(Ke,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=()=>Ue(Ke);0===un.length?tn():(Promise.all(un).then(tn),Ke.$flags$|=4,un.length=0)}});return function(dt,xt,Xt){return ye.apply(this,arguments)}}(),Ze=(ye,Ke,dt,xt)=>{try{Ke=Ke.render&&Ke.render(),ye.$flags$&=-17,ye.$flags$|=2,((ye,Ke,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)(Ke)?Ke:h(null,null,Ke);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,O=ln["s-sc"],C=!!(1&fn.$flags$),c=ln["s-cr"],_=!1,Bt(un,tn,dt),Yt.$flags$|=1,T){Lt(tn.$elm$);for(const Mn of st){const Bn=Mn.$nodeToRelocate$;if(!Bn["s-ol"]){const Rn=qt.createTextNode("");Rn["s-nr"]=Bn,Bn.parentNode.insertBefore(Bn["s-ol"]=Rn,Bn)}}for(const Mn of st){const Bn=Mn.$nodeToRelocate$,Rn=Mn.$slotRefNode$;if(Rn){const xr=Rn.parentNode;let X=Rn.nextSibling;{let $e=null===(xt=Bn["s-ol"])||void 0===xt?void 0:xt.previousSibling;for(;$e;){let le=null!==(Xt=$e["s-nr"])&&void 0!==Xt?Xt:null;if(le&&le["s-sn"]===Bn["s-sn"]&&xr===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}}$e=$e.previousSibling}}(!X&&xr!==Bn.parentNode||Bn.nextSibling!==X)&&Bn!==X&&(!Bn["s-hn"]&&Bn["s-ol"]&&(Bn["s-hn"]=Bn["s-ol"].parentNode.nodeName),xr.insertBefore(Bn,X),1===Bn.nodeType&&(Bn.hidden=null!==($t=Bn["s-ih"])&&void 0!==$t&&$t)),Bn&&"function"==typeof Rn["s-rf"]&&Rn["s-rf"](Bn)}else 1===Bn.nodeType&&(dt&&(Bn["s-ih"]=null!==(an=Bn.hidden)&&void 0!==an&&an),Bn.hidden=!0)}}_&&Cn(tn.$elm$),Yt.$flags$&=-2,st.length=0,c=void 0})(ye,Ke,xt)}catch(Xt){je(Xt,ye.$hostElement$)}return null},Ue=ye=>{const dt=ye.$hostElement$,Xt=ye.$lazyInstance$,$t=ye.$ancestorComponent$;Be(Xt,"componentDidRender"),64&ye.$flags$?Be(Xt,"componentDidUpdate"):(ye.$flags$|=64,Ve(dt),Be(Xt,"componentDidLoad"),ye.$onReadyResolve$(dt),$t||Pe()),ye.$onInstanceResolve$(dt),ye.$onRenderResolve$&&(ye.$onRenderResolve$(),ye.$onRenderResolve$=void 0),512&ye.$flags$&&hn(()=>Ut(ye,!1)),ye.$flags$&=-517},it=ye=>{{const Ke=kn(ye),dt=Ke.$hostElement$.isConnected;return dt&&2==(18&Ke.$flags$)&&Ut(Ke,!1),dt}},Pe=ye=>{Ve(qt.documentElement),hn(()=>Re(Zt,"appload",{detail:{namespace:"ionic"}}))},Be=(ye,Ke,dt)=>{if(ye&&ye[Ke])try{return ye[Ke](dt)}catch(xt){je(xt)}},Ve=ye=>ye.classList.add("hydrated"),lt=(ye,Ke,dt)=>{var xt;const Xt=ye.prototype;if(Ke.$members$){ye.watchers&&(Ke.$watchers$=ye.watchers);const $t=Object.entries(Ke.$members$);if($t.map(([an,[ln]])=>{31&ln||2&dt&&32&ln?Object.defineProperty(Xt,an,{get(){return((ye,Ke)=>kn(this).$instanceValues$.get(Ke))(0,an)},set(fn){((ye,Ke,dt,xt)=>{const Xt=kn(ye),$t=Xt.$hostElement$,an=Xt.$instanceValues$.get(Ke),ln=Xt.$flags$,fn=Xt.$lazyInstance$;dt=((ye,Ke)=>null==ye||u(ye)?ye:4&Ke?"false"!==ye&&(""===ye||!!ye):2&Ke?parseFloat(ye):1&Ke?String(ye):ye)(dt,xt.$members$[Ke][0]);const un=Number.isNaN(an)&&Number.isNaN(dt);if((!(8&ln)||void 0===an)&&dt!==an&&!un&&(Xt.$instanceValues$.set(Ke,dt),fn)){if(xt.$watchers$&&128&ln){const Mn=xt.$watchers$[Ke];Mn&&Mn.map(Bn=>{try{fn[Bn](dt,an,Ke)}catch(Rn){je(Rn,$t)}})}2==(18&ln)&&Ut(Xt,!1)}})(this,an,fn,Ke)},configurable:!0,enumerable:!0}):1&dt&&64&ln&&Object.defineProperty(Xt,an,{value(...fn){var un;const tn=kn(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){Yt.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=kn(this),Rn=null==Bn?void 0:Bn.$flags$;if(Rn&&!(8&Rn)&&128&Rn&&un!==fn){const xr=Bn.$lazyInstance$,X=null===(tn=Ke.$watchers$)||void 0===tn?void 0:tn[ln];null==X||X.forEach($e=>{null!=xr[$e]&&xr[$e].call(xr,un,fn,ln)})}return}}this[Mn]=(null!==un||"boolean"!=typeof this[Mn])&&un})},ye.observedAttributes=Array.from(new Set([...Object.keys(null!==(xt=Ke.$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=Ke.$attrsToReflect$)||void 0===un||un.push([ln,tn])),tn})]))}}return ye},Qt=function(){var ye=(0,a.A)(function*(Ke,dt,xt,Xt){let $t;if(!(32&dt.$flags$)){if(dt.$flags$|=32,xt.$lazyBundleId$){if($t=It(xt),$t.then){const tn=()=>{};$t=yield $t,tn()}$t.isProxied||(xt.$watchers$=$t.watchers,lt($t,xt,2),$t.isProxied=!0);const un=()=>{};dt.$flags$|=8;try{new $t(dt)}catch(tn){je(tn)}dt.$flags$&=-9,dt.$flags$|=128,un(),Ct(dt.$lazyInstance$)}else $t=Ke.constructor,customElements.whenDefined(xt.$tagName$).then(()=>dt.$flags$|=128);if($t.style){let un=$t.style;"string"!=typeof un&&(un=un[dt.$modeName$=(ye=>Nt.map(Ke=>Ke(ye)).find(Ke=>!!Ke))(Ke)]);const tn=ne(xt,dt.$modeName$);if(!Mt.has(tn)){const Mn=()=>{};Ie(tn,un,!!(1&xt.$flags$)),Mn()}}}const an=dt.$ancestorComponent$,ln=()=>Ut(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")},Kt=ye=>{const Ke=ye["s-cr"]=qt.createComment("");Ke["s-cn"]=!0,ye.insertBefore(Ke,ye.firstChild)},Rt=ye=>{Be(ye,"disconnectedCallback")},Ft=function(){var ye=(0,a.A)(function*(Ke){if(!(1&Yt.$flags$)){const dt=kn(Ke);dt.$rmListeners$&&(dt.$rmListeners$.map(xt=>xt()),dt.$rmListeners$=void 0),null!=dt&&dt.$lazyInstance$?Rt(dt.$lazyInstance$):null!=dt&&dt.$onReadyPromise$&&dt.$onReadyPromise$.then(()=>Rt(dt.$lazyInstance$))}});return function(dt){return ye.apply(this,arguments)}}(),Pn=(ye,Ke={})=>{var dt;const Xt=[],$t=Ke.exclude||[],an=Zt.customElements,ln=qt.head,fn=ln.querySelector("meta[charset]"),un=qt.createElement("style"),tn=[],Mn=qt.querySelectorAll(`[${j}]`);let Bn,Rn=!0,xr=0;for(Object.assign(Yt,Ke),Yt.$resourcesUrl$=new URL(Ke.resourcesUrl||"./",qt.baseURI).href,Yt.$flags$|=2;xr{$e[1].map(le=>{var Xe;const _t={$flags$:le[0],$tagName$:le[1],$members$:le[2],$listeners$:le[3]};4&_t.$flags$&&(X=!0),_t.$members$=le[2],_t.$listeners$=le[3],_t.$attrsToReflect$=[],_t.$watchers$=null!==(Xe=le[4])&&void 0!==Xe?Xe:{};const Nn=_t.$tagName$,vr=class extends HTMLElement{constructor(Br){super(Br),$n(Br=this,_t),1&_t.$flags$&&Br.attachShadow({mode:"open",delegatesFocus:!!(16&_t.$flags$)})}connectedCallback(){Bn&&(clearTimeout(Bn),Bn=null),Rn?tn.push(this):Yt.jmp(()=>(ye=>{if(!(1&Yt.$flags$)){const Ke=kn(ye),dt=Ke.$cmpMeta$,xt=()=>{};if(1&Ke.$flags$)wn(ye,Ke,dt.$listeners$),null!=Ke&&Ke.$lazyInstance$?Ct(Ke.$lazyInstance$):null!=Ke&&Ke.$onReadyPromise$&&Ke.$onReadyPromise$.then(()=>Ct(Ke.$lazyInstance$));else{let Xt;if(Ke.$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,Ke,dt,xt)=>{const $t=ye.shadowRoot,an=[],fn=$t?[]:null,un=xt.$vnode$=v(Ke,null);Yt.$orgLocNodes$||J(qt.body,Yt.$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=Yt.$orgLocNodes$.get(Mn),Rn=tn.$elm$;Bn&&An&&""===Bn["s-en"]&&Bn.parentNode.insertBefore(Rn,Bn.nextSibling),$t||(Rn["s-hn"]=Ke,Bn&&(Rn["s-ol"]=Bn,Rn["s-ol"]["s-nr"]=Rn)),Yt.$orgLocNodes$.delete(Mn)}),$t&&fn.map(tn=>{tn&&$t.appendChild(tn)})})(ye,dt.$tagName$,Xt,Ke)}Xt||12&dt.$flags$&&Kt(ye);{let $t=ye;for(;$t=$t.parentNode||$t.host;)if(1===$t.nodeType&&$t.hasAttribute("s-id")&&$t["s-p"]||$t["s-p"]){Ln(Ke,Ke.$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,Ke,dt)}xt()}})(this))}disconnectedCallback(){Yt.jmp(()=>Ft(this))}componentOnReady(){return kn(this).$onReadyPromise$}};_t.$lazyBundleId$=$e[0],!$t.includes(Nn)&&!an.get(Nn)&&(Xt.push(Nn),an.define(Nn,lt(vr,_t,1)))})}),Xt.length>0&&(X&&(un.textContent+=ve),un.textContent+=Xt+"{visibility:hidden}.hydrated{visibility:inherit}",un.innerHTML.length)){un.setAttribute("data-styles","");const $e=null!==(dt=Yt.$nonce$)&&void 0!==dt?dt:s(qt);null!=$e&&un.setAttribute("nonce",$e),ln.insertBefore(un,fn?fn.nextSibling:ln.firstChild)}Rn=!1,tn.length?tn.map($e=>$e.connectedCallback()):Yt.jmp(()=>Bn=setTimeout(Pe,30))},wn=(ye,Ke,dt,xt)=>{dt&&dt.map(([Xt,$t,an])=>{const ln=bn(ye,Xt),fn=_n(Ke,an),un=zn(Xt);Yt.ael(ln,$t,fn,un),(Ke.$rmListeners$=Ke.$rmListeners$||[]).push(()=>Yt.rel(ln,$t,fn,un))})},_n=(ye,Ke)=>dt=>{try{256&ye.$flags$?ye.$lazyInstance$[Ke](dt):(ye.$queuedListeners$=ye.$queuedListeners$||[]).push([Ke,dt])}catch(xt){je(xt)}},bn=(ye,Ke)=>4&Ke?qt:8&Ke?Zt:16&Ke?qt.body:ye,zn=ye=>Xn?{passive:!!(1&ye),capture:!!(2&ye)}:!!(2&ye),Fn=new WeakMap,kn=ye=>Fn.get(ye),Kn=(ye,Ke)=>Fn.set(Ke.$lazyInstance$=ye,Ke),$n=(ye,Ke)=>{const dt={$flags$:0,$hostElement$:ye,$cmpMeta$:Ke,$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"]=[],wn(ye,dt,Ke.$listeners$),Fn.set(ye,dt)},jn=(ye,Ke)=>Ke in ye,je=(ye,Ke)=>(0,console.error)(ye,Ke),ut=new Map,It=(ye,Ke,dt)=>{const xt=ye.$tagName$.replace(/-/g,"_"),Xt=ye.$lazyBundleId$,$t=ut.get(Xt);return $t?$t[xt]:E(8996)(`./${Xt}.entry.js`).then(an=>(ut.set(Xt,an),an[xt]),je)},Mt=new Map,Nt=[],Zt=typeof window<"u"?window:{},qt=Zt.document||{head:{}},Yt={$flags$:0,$resourcesUrl$:"",jmp:ye=>ye(),raf:ye=>requestAnimationFrame(ye),ael:(ye,Ke,dt,xt)=>ye.addEventListener(Ke,dt,xt),rel:(ye,Ke,dt,xt)=>ye.removeEventListener(Ke,dt,xt),ce:(ye,Ke)=>new CustomEvent(ye,Ke)},Tn=ye=>{Object.assign(Yt,ye)},An=!0,Xn=(()=>{let ye=!1;try{qt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){ye=!0}}))}catch{}return ye})(),We=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),et=[],Te=[],qe=(ye,Ke)=>dt=>{ye.push(dt),g||(g=!0,Ke&&4&Yt.$flags$?hn(Wt):Yt.raf(Wt))},bt=ye=>{for(let Ke=0;Ke{bt(et),bt(Te),(g=et.length>0)&&Yt.raf(Wt)},hn=ye=>Promise.resolve(void 0).then(ye),Et=qe(et,!1),zt=qe(Te,!0)},8476:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{b:()=>D,c:()=>C,d:()=>_,e:()=>te,g:()=>n,l:()=>oe,s:()=>se,t:()=>g,w:()=>ve});var a=E(467),S=E(4363),p=E(5638);const D="ionViewWillLeave",C="ionViewDidLeave",_="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&&K(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),K(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 R(u.viewIsReady,u.enteringEl)});return function(s,h){return o.apply(this,arguments)}}(),R=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)=>{oe(u,D),oe(o,"ionViewWillEnter")},K=(o,u)=>{oe(o,"ionViewDidEnter"),oe(u,C)},oe=(o,u)=>{if(o){const s=new CustomEvent(u,{bubbles:!1,cancelable:!1});o.dispatchEvent(s)}},ve=()=>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:(be,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,_="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)&&K(f)),M=f=>o(f,/android|sink/i),K=f=>u(f,"(any-pointer:coarse)"),ve=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:K,mobileweb:f=>K(f)&&!ve(f),desktop:f=>!K(f),hybrid:ve};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,_)).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 J=me=>{var Me;return null===(Me=me.tagName)||void 0===Me?void 0:Me.startsWith("ION-")},re=me=>["ios","md"].includes(me);(0,a.c)(me=>{for(;me;){const Me=me.mode||me.getAttribute("mode");if(Me){if(re(Me))return Me;J(me)&&console.warn('Invalid ionic mode: "'+Me+'", expected: "ios" or "md"')}me=me.parentElement}return h})}},4569:(be,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,_=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 R=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=R&&(M=R.querySelectorAll("ion-buttons"))}else M=P.querySelectorAll("ion-buttons");for(const R of M){const U=R.closest("ion-header"),j=U&&!U.classList.contains("header-collapse-condense-inactive"),K=R.querySelector("ion-back-button"),oe=R.classList.contains("buttons-collapse");if(null!==K&&("start"===R.slot||""===R.slot)&&(oe&&j&&$||!oe))return K}return null},g=(P,$,k,M,R,U,j,K,oe)=>{var ve,te;const se=$?`calc(100% - ${R.right+4}px)`:R.left-4+"px",m=$?"right":"left",n=$?"left":"right",o=$?"right":"left",u=(null===(ve=U.textContent)||void 0===ve?void 0:ve.trim())===(null===(te=K.textContent)||void 0===te?void 0:te.trim()),h=(oe.height-B)/j.height,v=u?`scale(${oe.width/j.width}, ${h})`:`scale(${h})`,y="scale(1)",r=C(M).querySelector("ion-icon").getBoundingClientRect(),d=$?r.width/2-(r.right-R.right)+"px":R.left-r.width/2+"px",L=$?`-${window.innerWidth-R.right}px`:`${R.left}px`,I=`${oe.top}px`,V=`${R.top}px`,me=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)(),ie=(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),ie.addElement(ne),ie.beforeStyles({position:"absolute",top:"0px",[o]:"0px"}).keyframes(me),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,ie])},F=(P,$,k,M,R,U,j,K)=>{var oe,ve;const te=$?"right":"left",se=$?`calc(100% - ${R.right}px)`:`${R.left}px`,n=`${R.top}px`,u=$?`-${window.innerWidth-K.right-8}px`:K.x-8+"px",h=K.y-2+"px",v=(null===(oe=j.textContent)||void 0===oe?void 0:oe.trim())===(null===(ve=M.textContent)||void 0===ve?void 0:ve.trim()),f=K.height/(U.height-B),r="scale(1)",d=v?`scale(${K.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}`}],J=D("ion-title"),re=(0,a.c)();J.innerText=M.innerText,J.size=M.size,J.color=M.color,re.addElement(J),re.beforeStyles({"transform-origin":`${te} top`,height:`${R.height}px`,display:"",position:"relative",[te]:se}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),J.style.setProperty("display","none")}).keyframes(V),P.addAnimation(re)},A=(P,$)=>{var k;try{const M="cubic-bezier(0.32,0.72,0,1)",R="opacity",U="transform",j="0%",oe="rtl"===P.ownerDocument.dir,ve=oe?"-99.5%":"99.5%",te=oe?"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([R]).fromTo("transform",`translateX(${te})`,`translateX(${j})`).fromTo(R,.8,1):v.beforeClearStyles([R]).fromTo("transform",`translateX(${ve})`,`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)(),J=(0,a.c)(),re=(0,a.c)();V.addElement(d).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),J.addElement(L).beforeClearStyles([R]).fromTo(R,0,.1),re.addElement(I).beforeClearStyles([R]).fromTo(R,.03,.7),V.addAnimation([J,re]),v.addAnimation([V])}}const y=se.querySelector("ion-header.header-collapse-condense"),{forward:f,backward:r}=((P,$,k,M,R)=>{const U=T(M,k),j=_(R),K=_(M),oe=T(R,k),ve=null!==U&&null!==j&&!k,te=null!==K&&null!==oe&&k;if(ve){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=K.getBoundingClientRect(),m=oe.getBoundingClientRect(),n=C(oe).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(K).querySelector(".toolbar-title").getBoundingClientRect();F(P,$,k,K,se,s,n,o),g(P,$,k,oe,m,n,o,K,s)}return{forward:ve,backward:te}})(h,oe,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)(),J=Array.from(d.querySelectorAll("ion-buttons,[menuToggle]")),re=d.closest("ion-header"),me=null==re?void 0:re.classList.contains("header-collapse-condense-inactive");let Me;Me=J.filter(n?pe=>{const Ie=pe.classList.contains("buttons-collapse");return Ie&&!me||!Ie}:pe=>!pe.classList.contains("buttons-collapse")),V.addElement(Me);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)(),Re=d.querySelector("ion-back-button");if(Re&&tt.addElement(Re),L.addAnimation([I,V,Q,ae,tt]),V.fromTo(R,.01,1),Q.fromTo(R,.01,1),n)me||I.fromTo("transform",`translateX(${te})`,`translateX(${j})`).fromTo(R,.01,1),Q.fromTo("transform",`translateX(${te})`,`translateX(${j})`),tt.fromTo(R,.01,1);else if(y||I.fromTo("transform",`translateX(${ve})`,`translateX(${j})`).fromTo(R,.01,1),Q.fromTo("transform",`translateX(${ve})`,`translateX(${j})`),ae.beforeClearStyles([R,"transform"]),(null==re?void 0:re.translucent)?ae.fromTo("transform",oe?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ae.fromTo(R,.01,"var(--opacity)"),f||tt.fromTo(R,.01,1),Re&&!f){const Ie=(0,a.c)();Ie.addElement(C(Re).querySelector(".button-text")).fromTo("transform",oe?"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([R]).fromTo("transform",`translateX(${j})`,oe?"translateX(-100%)":"translateX(100%)");const J=(0,S.g)(m);h.afterAddWrite(()=>{"normal"===h.getDirection()&&J.style.setProperty("display","none")})}else d.fromTo("transform",`translateX(${j})`,`translateX(${te})`).fromTo(R,1,.8);if(L){const J=C(L).querySelector(".transition-effect");if(J){const re=J.querySelector(".transition-cover"),me=J.querySelector(".transition-shadow"),Me=(0,a.c)(),Q=(0,a.c)(),ae=(0,a.c)();Me.addElement(J).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Q.addElement(re).beforeClearStyles([R]).fromTo(R,.1,0),ae.addElement(me).beforeClearStyles([R]).fromTo(R,.7,.03),Me.addAnimation([Q,ae]),d.addAnimation([Me])}}I.forEach(J=>{const re=(0,a.c)();re.addElement(J);const me=(0,a.c)();me.addElement(J.querySelector("ion-title"));const Me=(0,a.c)(),Q=J.querySelectorAll("ion-buttons,[menuToggle]"),ae=J.closest("ion-header"),tt=null==ae?void 0:ae.classList.contains("header-collapse-condense-inactive"),Re=Array.from(Q).filter(G=>{const Ee=G.classList.contains("buttons-collapse");return Ee&&!tt||!Ee});Me.addElement(Re);const pe=(0,a.c)(),Ie=J.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Ie.length>0&&pe.addElement(Ie);const Se=(0,a.c)();Se.addElement(C(J).querySelector(".toolbar-background"));const ie=(0,a.c)(),ne=J.querySelector("ion-back-button");if(ne&&ie.addElement(ne),re.addAnimation([me,Me,pe,ie,Se]),h.addAnimation(re),ie.fromTo(R,.99,0),Me.fromTo(R,.99,0),pe.fromTo(R,.99,0),n){if(tt||me.fromTo("transform",`translateX(${j})`,oe?"translateX(-100%)":"translateX(100%)").fromTo(R,.99,0),pe.fromTo("transform",`translateX(${j})`,oe?"translateX(-100%)":"translateX(100%)"),Se.beforeClearStyles([R,"transform"]),(null==ae?void 0:ae.translucent)?Se.fromTo("transform","translateX(0px)",oe?"translateX(-100%)":"translateX(100%)"):Se.fromTo(R,"var(--opacity)",0),ne&&!r){const Ee=(0,a.c)();Ee.addElement(C(ne).querySelector(".button-text")).fromTo("transform",`translateX(${j})`,`translateX(${(oe?-124:124)+"px"})`),re.addAnimation(Ee)}}else tt||me.fromTo("transform",`translateX(${j})`,`translateX(${te})`).fromTo(R,.99,0).afterClearStyles([U,R]),pe.fromTo("transform",`translateX(${j})`,`translateX(${te})`).afterClearStyles([U,R]),ie.afterClearStyles([R]),me.afterClearStyles([R]),Me.afterClearStyles([R])})}return h}catch(M){throw M}},B=10},2942:(be,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 _,T,w;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!==(_=C.duration)&&void 0!==_?_: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 R=(0,a.c)();R.addElement(k),M.addAnimation(R)}if(P&&A){M.duration((null!==(w=C.duration)&&void 0!==w?w:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const R=(0,a.c)();R.addElement((0,S.g)(P)).onFinish(U=>{1===U&&R.elements.length>0&&R.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${g})`).fromTo("opacity",1,0),M.addAnimation(R)}return M}},5516:(be,ee,E)=>{"use strict";E.d(ee,{B:()=>Me,G:()=>Q,O:()=>ae,a:()=>F,b:()=>A,c:()=>k,d:()=>tt,e:()=>Re,f:()=>y,g:()=>r,h:()=>I,i:()=>J,j:()=>R,k:()=>U,l:()=>B,m:()=>P,n:()=>ve,o:()=>h,s:()=>me,t:()=>M});var a=E(467),S=E(8476),p=E(3113),O=E(611),c=E(5938),D=E(5638),C=E(4929);let _=0,T=0;const w=new WeakMap,g=Se=>({create:ie=>j(Se,ie),dismiss:(ie,ne,G)=>o(document,ie,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"),R=Se=>{typeof document<"u"&&n(document);const ie=_++;Se.overlayIndex=ie},U=Se=>(Se.hasAttribute("id")||(Se.id="ion-overlay-"+ ++T),Se.id),j=(Se,ie)=>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({},ie),{hasController:!0})),d(document).appendChild(ne),new Promise(G=>(0,D.c)(ne,G))}):Promise.resolve(),K='[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])',ve=(Se,ie)=>{const ne=Se.querySelector(K);se(ne,ie)},te=(Se,ie)=>{const ne=Array.from(Se.querySelectorAll(K));se(ne.length>0?ne[ne.length-1]:null,ie)},se=(Se,ie)=>{let ne=Se;const G=null==Se?void 0:Se.shadowRoot;G&&(ne=G.querySelector(K)||Se),ne?(0,D.f)(ne):ie.focus()},n=Se=>{0===_&&(_=1,Se.addEventListener("focus",ie=>{((Se,ie)=>{const ne=h(ie,"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;ve(ne,ne),Qe===ie.activeElement&&te(ne,ne),ne.lastFocus=ie.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;ve(rt,ne),nn===ie.activeElement&&te(rt,ne),ne.lastFocus=ie.activeElement}}})())})(ie,Se)},!0),Se.addEventListener("ionBackButton",ie=>{const ne=h(Se);null!=ne&&ne.backdropDismiss&&ie.detail.register(p.OVERLAY_BACK_BUTTON_PRIORITY,()=>{ne.dismiss(void 0,Me)})}),(0,p.shouldUseCloseWatcher)()||Se.addEventListener("keydown",ie=>{if("Escape"===ie.key){const ne=h(Se);null!=ne&&ne.backdropDismiss&&ne.dismiss(void 0,Me)}}))},o=(Se,ie,ne,G,Ee)=>{const vt=h(Se,G,Ee);return vt?vt.dismiss(ie,ne):Promise.reject("overlay does not exist")},s=(Se,ie)=>((Se,ie)=>(void 0===ie&&(ie="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Se.querySelectorAll(ie)).filter(ne=>ne.overlayIndex>0)))(Se,ie).filter(ne=>!(Se=>Se.classList.contains("overlay-hidden"))(ne)),h=(Se,ie,ne)=>{const G=s(Se,ie);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*(ie,ne,G,Ee,vt){var Qe,rt;if(ie.presented)return;v(!0),pe(ie.el),ie.presented=!0,ie.willPresent.emit(),null===(Qe=ie.willPresentShorthand)||void 0===Qe||Qe.emit();const nn=(0,O.b)(ie),gt=ie.enterAnimation?ie.enterAnimation:O.c.get(ne,"ios"===nn?G:Ee);(yield L(ie,gt,ie.el,vt))&&(ie.didPresent.emit(),null===(rt=ie.didPresentShorthand)||void 0===rt||rt.emit()),"ION-TOAST"!==ie.el.tagName&&f(ie.el),ie.keyboardClose&&(null===document.activeElement||!ie.el.contains(document.activeElement))&&ie.el.focus(),ie.el.removeAttribute("aria-hidden")});return function(ne,G,Ee,vt,Qe){return Se.apply(this,arguments)}}(),f=function(){var Se=(0,a.A)(function*(ie){let ne=document.activeElement;if(!ne)return;const G=null==ne?void 0:ne.shadowRoot;G&&(ne=G.querySelector(K)||ne),yield ie.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*(ie,ne,G,Ee,vt,Qe,rt){var nn,gt;if(!ie.presented)return!1;void 0!==S.d&&1===s(S.d).length&&v(!1),ie.presented=!1;try{ie.el.style.setProperty("pointer-events","none"),ie.willDismiss.emit({data:ne,role:G}),null===(nn=ie.willDismissShorthand)||void 0===nn||nn.emit({data:ne,role:G});const ft=(0,O.b)(ie),on=ie.leaveAnimation?ie.leaveAnimation:O.c.get(Ee,"ios"===ft?vt:Qe);G!==Q&&(yield L(ie,on,ie.el,rt)),ie.didDismiss.emit({data:ne,role:G}),null===(gt=ie.didDismissShorthand)||void 0===gt||gt.emit({data:ne,role:G}),(w.get(ie)||[]).forEach(Pt=>Pt.destroy()),w.delete(ie),ie.el.classList.add("overlay-hidden"),ie.el.style.removeProperty("pointer-events"),void 0!==ie.el.lastFocus&&(ie.el.lastFocus=void 0)}catch(ft){console.error(ft)}return ie.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*(ie,ne,G,Ee){G.classList.remove("overlay-hidden");const Qe=ne(ie.el,Ee);(!ie.animated||!O.c.getBoolean("animated",!0))&&Qe.duration(0),ie.keyboardClose&&Qe.beforeAddWrite(()=>{const nn=G.ownerDocument.activeElement;null!=nn&&nn.matches("input,ion-input, ion-textarea")&&nn.blur()});const rt=w.get(ie)||[];return w.set(ie,[...rt,Qe]),yield Qe.play(),!0});return function(ne,G,Ee,vt){return Se.apply(this,arguments)}}(),I=(Se,ie)=>{let ne;const G=new Promise(Ee=>ne=Ee);return V(Se,ie,Ee=>{ne(Ee.detail)}),G},V=(Se,ie,ne)=>{const G=Ee=>{(0,D.b)(Se,ie,G),ne(Ee)};(0,D.a)(Se,ie,G)},J=Se=>"cancel"===Se||Se===Me,re=Se=>Se(),me=(Se,ie)=>{if("function"==typeof Se)return O.c.get("_zoneGate",re)(()=>{try{return Se(ie)}catch(G){throw G}})},Me="backdrop",Q="gesture",ae=39,tt=Se=>{let ne,ie=!1;const G=(0,c.C)(),Ee=(rt=!1)=>{if(ne&&!rt)return{delegate:ne,inline:ie};const{el:nn,hasController:gt,delegate:ft}=Se;return ie=null!==nn.parentNode&&!gt,ne=ie?ft||G:ft,{inline:ie,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:ft}=Se;if(ft&&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)}}},Re=()=>{let Se;const ie=()=>{Se&&(Se(),Se=void 0)};return{addClickListener:(G,Ee)=>{ie();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:ie}},pe=Se=>{var ie;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!==(ie=ne[G+1])&&void 0!==ie?ie: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 ie=Se.length-1;ie>=0;ie--){const ne=Se[ie];if(ne.removeAttribute("aria-hidden"),"ION-TOAST"!==ne.tagName)break}}},1288:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>M,b:()=>nn,c:()=>K,f:()=>pe,g:()=>j,h:()=>$,p:()=>Ln,r:()=>Tt});var a=E(467);let p,O,c=!1,D=!1;const w={},B=Pe=>"object"==(Pe=typeof Pe)||"function"===Pe;function P(Pe){var Be,Ve,yt;return null!==(yt=null===(Ve=null===(Be=Pe.head)||void 0===Be?void 0:Be.querySelector('meta[name="csp-nonce"]'))||void 0===Ve?void 0:Ve.getAttribute("content"))&&void 0!==yt?yt:void 0}const $=(Pe,Be,...Ve)=>{let yt=null,Je=!1,lt=!1;const Qt=[],Ct=Kt=>{for(let Rt=0;RtKt[Rt]).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=>St(Pe).$hostElement$,K=(Pe,Be,Ve)=>{const yt=j(Pe);return{emit:Je=>oe(yt,Be,{bubbles:!!(4&Ve),composed:!!(2&Ve),cancelable:!!(1&Ve),detail:Je})}},oe=(Pe,Be,Ve)=>{const yt=Ot.ce(Be,Ve);return Pe.dispatchEvent(yt),yt},ve=new WeakMap,n=(Pe,Be)=>"sc-"+Pe.$tagName$,o=(Pe,Be,Ve,yt,Je,lt)=>{if(Ve!==yt){let Qt=Dt(Pe,Be),Ct=Be.toLowerCase();if("class"===Be){const mt=Pe.classList,Kt=s(Ve),Rt=s(yt);mt.remove(...Kt.filter(Ft=>Ft&&!Rt.includes(Ft))),mt.add(...Rt.filter(Ft=>Ft&&!Kt.includes(Ft)))}else if("style"===Be){for(const mt in Ve)(!yt||null==yt[mt])&&(mt.includes("-")?Pe.style.removeProperty(mt):Pe.style[mt]="");for(const mt in yt)(!Ve||yt[mt]!==Ve[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 Kt=null==yt?"":yt;"list"===Be?Qt=!1:(null==Ve||Pe[Be]!=Kt)&&(Pe[Be]=Kt)}}catch{}null==yt||!1===yt?(!1!==yt||""===Pe.getAttribute(Be))&&Pe.removeAttribute(Be):(!Qt||4<||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),Ve&&Ot.rel(Pe,Be,Ve,!1),yt&&Ot.ael(Pe,Be,yt,!1)}},u=/\s/,s=Pe=>Pe?Pe.split(u):[],h=(Pe,Be,Ve,yt)=>{const Je=11===Be.$elm$.nodeType&&Be.$elm$.host?Be.$elm$.host:Be.$elm$,lt=Pe&&Pe.$attrs$||w,Qt=Be.$attrs$||w;for(yt in lt)yt in Qt||o(Je,yt,lt[yt],void 0,Ve,Be.$flags$);for(yt in Qt)o(Je,yt,lt[yt],Qt[yt],Ve,Be.$flags$)},v=(Pe,Be,Ve,yt)=>{const Je=Be.$children$[Ve];let Qt,Ct,lt=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(lt=0;lt{let Ct,Qt=Pe;for(Qt.shadowRoot&&Qt.tagName===O&&(Qt=Qt.shadowRoot);Je<=lt;++Je)yt[Je]&&(Ct=v(null,Ve,Je),Ct&&(yt[Je].$elm$=Ct,Qt.insertBefore(Ct,Be)))},f=(Pe,Be,Ve)=>{for(let yt=Be;yt<=Ve;++yt){const Je=Pe[yt];if(Je){const lt=Je.$elm$;I(Je),lt&<.remove()}}},d=(Pe,Be)=>Pe.$tag$===Be.$tag$,L=(Pe,Be)=>{const Ve=Be.$elm$=Pe.$elm$,yt=Pe.$children$,Je=Be.$children$,lt=Be.$tag$,Qt=Be.$text$;null===Qt?(c="svg"===lt||"foreignObject"!==lt&&c,h(Pe,Be,c),null!==yt&&null!==Je?((Pe,Be,Ve,yt)=>{let Pn,Je=0,lt=0,Qt=Be.length-1,Ct=Be[0],mt=Be[Qt],Kt=yt.length-1,Rt=yt[0],Ft=yt[Kt];for(;Je<=Qt&<<=Kt;)null==Ct?Ct=Be[++Je]:null==mt?mt=Be[--Qt]:null==Rt?Rt=yt[++lt]:null==Ft?Ft=yt[--Kt]:d(Ct,Rt)?(L(Ct,Rt),Ct=Be[++Je],Rt=yt[++lt]):d(mt,Ft)?(L(mt,Ft),mt=Be[--Qt],Ft=yt[--Kt]):d(Ct,Ft)?(L(Ct,Ft),Pe.insertBefore(Ct.$elm$,mt.$elm$.nextSibling),Ct=Be[++Je],Ft=yt[--Kt]):d(mt,Rt)?(L(mt,Rt),Pe.insertBefore(mt.$elm$,Ct.$elm$),mt=Be[--Qt],Rt=yt[++lt]):(Pn=v(Be&&Be[lt],Ve,lt),Rt=yt[++lt],Pn&&Ct.$elm$.parentNode.insertBefore(Pn,Ct.$elm$));Je>Qt?y(Pe,null==yt[Kt+1]?null:yt[Kt+1].$elm$,Ve,yt,lt,Kt):lt>Kt&&f(Be,Je,Qt)})(Ve,yt,Be,Je):null!==Je?(null!==Pe.$text$&&(Ve.textContent=""),y(Ve,null,Be,Je,0,Je.length-1)):null!==yt&&f(yt,0,yt.length-1),c&&"svg"===lt&&(c=!1)):Pe.$text$!==Qt&&(Ve.data=Qt)},I=Pe=>{Pe.$attrs$&&Pe.$attrs$.ref&&Pe.$attrs$.ref(null),Pe.$children$&&Pe.$children$.map(I)},J=(Pe,Be)=>{Be&&!Pe.$onRenderResolve$&&Be["s-p"]&&Be["s-p"].push(new Promise(Ve=>Pe.$onRenderResolve$=Ve))},re=(Pe,Be)=>{if(Pe.$flags$|=16,!(4&Pe.$flags$))return J(Pe,Pe.$ancestorComponent$),it(()=>me(Pe,Be));Pe.$flags$|=512},me=(Pe,Be)=>{const yt=Pe.$lazyInstance$;return Be&&(Pe.$flags$|=256,Pe.$queuedListeners$&&(Pe.$queuedListeners$.map(([lt,Qt])=>Se(yt,lt,Qt)),Pe.$queuedListeners$=void 0)),Me(void 0,()=>ae(Pe,yt,Be))},Me=(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,Ve,yt){var Je;const lt=Be.$hostElement$,Ct=lt["s-rc"];yt&&(Pe=>{const Be=Pe.$cmpMeta$,Ve=Pe.$hostElement$,yt=Be.$flags$,lt=((Pe,Be,Ve,yt)=>{var Je;let lt=n(Be);const Qt=Lt.get(lt);if(Pe=11===Pe.nodeType?Pe:kt,Qt)if("string"==typeof Qt){let mt,Ct=ve.get(Pe=Pe.head||Pe);if(Ct||ve.set(Pe,Ct=new Set),!Ct.has(lt)){{mt=kt.createElement("style"),mt.innerHTML=Qt;const Kt=null!==(Je=Ot.$nonce$)&&void 0!==Je?Je:P(kt);null!=Kt&&mt.setAttribute("nonce",Kt),Pe.insertBefore(mt,Pe.querySelector("link"))}Ct&&Ct.add(lt)}}else Pe.adoptedStyleSheets.includes(Qt)||(Pe.adoptedStyleSheets=[...Pe.adoptedStyleSheets,Qt]);return lt})(Ve.shadowRoot?Ve.shadowRoot:Ve.getRootNode(),Be);10&yt&&(Ve["s-sc"]=lt,Ve.classList.add(lt+"-h"))})(Be);tt(Be,Ve),Ct&&(Ct.map(Kt=>Kt()),lt["s-rc"]=void 0);{const Kt=null!==(Je=lt["s-p"])&&void 0!==Je?Je:[],Rt=()=>Re(Be);0===Kt.length?Rt():(Promise.all(Kt).then(Rt),Be.$flags$|=4,Kt.length=0)}});return function(Ve,yt,Je){return Pe.apply(this,arguments)}}(),tt=(Pe,Be,Ve)=>{try{Be=Be.render(),Pe.$flags$&=-17,Pe.$flags$|=2,((Pe,Be)=>{const Ve=Pe.$hostElement$,yt=Pe.$vnode$||k(null,null),Je=(Pe=>Pe&&Pe.$tag$===M)(Be)?Be:$(null,null,Be);O=Ve.tagName,Je.$tag$=null,Je.$flags$|=4,Pe.$vnode$=Je,Je.$elm$=yt.$elm$=Ve.shadowRoot||Ve,p=Ve["s-sc"],L(yt,Je)})(Pe,Be)}catch(yt){Bt(yt,Pe.$hostElement$)}return null},Re=Pe=>{const Ve=Pe.$hostElement$,Je=Pe.$lazyInstance$,lt=Pe.$ancestorComponent$;64&Pe.$flags$||(Pe.$flags$|=64,ie(Ve),Se(Je,"componentDidLoad"),Pe.$onReadyResolve$(Ve),lt||Ie()),Pe.$onInstanceResolve$(Ve),Pe.$onRenderResolve$&&(Pe.$onRenderResolve$(),Pe.$onRenderResolve$=void 0),512&Pe.$flags$&&Ue(()=>re(Pe,!1)),Pe.$flags$&=-517},pe=Pe=>{{const Be=St(Pe),Ve=Be.$hostElement$.isConnected;return Ve&&2==(18&Be.$flags$)&&re(Be,!1),Ve}},Ie=Pe=>{ie(kt.documentElement),Ue(()=>oe(In,"appload",{detail:{namespace:"ionicpwaelements"}}))},Se=(Pe,Be,Ve)=>{if(Pe&&Pe[Be])try{return Pe[Be](Ve)}catch(yt){Bt(yt)}},ie=Pe=>Pe.classList.add("hydrated"),Ee=(Pe,Be,Ve)=>{if(Be.$members$){const yt=Object.entries(Be.$members$),Je=Pe.prototype;if(yt.map(([lt,[Qt]])=>{31&Qt||2&Ve&&32&Qt?Object.defineProperty(Je,lt,{get(){return((Pe,Be)=>St(this).$instanceValues$.get(Be))(0,lt)},set(Ct){((Pe,Be,Ve,yt)=>{const Je=St(Pe),lt=Je.$instanceValues$.get(Be),Qt=Je.$flags$,Ct=Je.$lazyInstance$;Ve=((Pe,Be)=>null==Pe||B(Pe)?Pe:4&Be?"false"!==Pe&&(""===Pe||!!Pe):2&Be?parseFloat(Pe):1&Be?String(Pe):Pe)(Ve,yt.$members$[Be][0]);const mt=Number.isNaN(lt)&&Number.isNaN(Ve);(!(8&Qt)||void 0===lt)&&Ve!==lt&&!mt&&(Je.$instanceValues$.set(Be,Ve),Ct&&2==(18&Qt)&&re(Je,!1))})(this,lt,Ct,Be)},configurable:!0,enumerable:!0}):1&Ve&&64&Qt&&Object.defineProperty(Je,lt,{value(...Ct){const mt=St(this);return mt.$onInstancePromise$.then(()=>mt.$lazyInstance$[lt](...Ct))}})}),1&Ve){const lt=new Map;Je.attributeChangedCallback=function(Qt,Ct,mt){Ot.jmp(()=>{const Kt=lt.get(Qt);if(this.hasOwnProperty(Kt))mt=this[Kt],delete this[Kt];else if(Je.hasOwnProperty(Kt)&&"number"==typeof this[Kt]&&this[Kt]==mt)return;this[Kt]=(null!==mt||"boolean"!=typeof this[Kt])&&mt})},Pe.observedAttributes=yt.filter(([Qt,Ct])=>15&Ct[0]).map(([Qt,Ct])=>{const mt=Ct[1]||Qt;return lt.set(mt,Qt),mt})}}return Pe},vt=function(){var Pe=(0,a.A)(function*(Be,Ve,yt,Je,lt){if(!(32&Ve.$flags$)){Ve.$flags$|=32;{if((lt=st(yt)).then){const Kt=()=>{};lt=yield lt,Kt()}lt.isProxied||(Ee(lt,yt,2),lt.isProxied=!0);const mt=()=>{};Ve.$flags$|=8;try{new lt(Ve)}catch(Kt){Bt(Kt)}Ve.$flags$&=-9,mt()}if(lt.style){let mt=lt.style;const Kt=n(yt);if(!Lt.has(Kt)){const Rt=()=>{};((Pe,Be,Ve)=>{let yt=Lt.get(Pe);Ut&&Ve?(yt=yt||new CSSStyleSheet,"string"==typeof yt?yt=Be:yt.replaceSync(Be)):yt=Be,Lt.set(Pe,yt)})(Kt,mt,!!(1&yt.$flags$)),Rt()}}}const Qt=Ve.$ancestorComponent$,Ct=()=>re(Ve,!0);Qt&&Qt["s-rc"]?Qt["s-rc"].push(Ct):Ct()});return function(Ve,yt,Je,lt,Qt){return Pe.apply(this,arguments)}}(),nn=(Pe,Be={})=>{var Ve;const Je=[],lt=Be.exclude||[],Qt=In.customElements,Ct=kt.head,mt=Ct.querySelector("meta[charset]"),Kt=kt.createElement("style"),Rt=[];let Ft,Pn=!0;Object.assign(Ot,Be),Ot.$resourcesUrl$=new URL(Be.resourcesUrl||"./",kt.baseURI).href,Pe.map(wn=>{wn[1].map(_n=>{const bn={$flags$:_n[0],$tagName$:_n[1],$members$:_n[2],$listeners$:_n[3]};bn.$members$=_n[2],bn.$listeners$=_n[3];const zn=bn.$tagName$,Un=class extends HTMLElement{constructor(Fn){super(Fn),yn(Fn=this,bn),1&bn.$flags$&&Fn.attachShadow({mode:"open"})}connectedCallback(){Ft&&(clearTimeout(Ft),Ft=null),Pn?Rt.push(this):Ot.jmp(()=>(Pe=>{if(!(1&Ot.$flags$)){const Be=St(Pe),Ve=Be.$cmpMeta$,yt=()=>{};if(1&Be.$flags$)gt(Pe,Be,Ve.$listeners$);else{Be.$flags$|=1;{let Je=Pe;for(;Je=Je.parentNode||Je.host;)if(Je["s-p"]){J(Be,Be.$ancestorComponent$=Je);break}}Ve.$members$&&Object.entries(Ve.$members$).map(([Je,[lt]])=>{if(31<&&Pe.hasOwnProperty(Je)){const Qt=Pe[Je];delete Pe[Je],Pe[Je]=Qt}}),vt(Pe,Be,Ve)}yt()}})(this))}disconnectedCallback(){Ot.jmp(()=>(Pe=>{if(!(1&Ot.$flags$)){const Be=St(this),Ve=Be.$lazyInstance$;Be.$rmListeners$&&(Be.$rmListeners$.map(yt=>yt()),Be.$rmListeners$=void 0),Se(Ve,"disconnectedCallback")}})())}componentOnReady(){return St(this).$onReadyPromise$}};bn.$lazyBundleId$=wn[0],!lt.includes(zn)&&!Qt.get(zn)&&(Je.push(zn),Qt.define(zn,Ee(Un,bn,1)))})});{Kt.innerHTML=Je+"{visibility:hidden}.hydrated{visibility:inherit}",Kt.setAttribute("data-styles","");const wn=null!==(Ve=Ot.$nonce$)&&void 0!==Ve?Ve:P(kt);null!=wn&&Kt.setAttribute("nonce",wn),Ct.insertBefore(Kt,mt?mt.nextSibling:Ct.firstChild)}Pn=!1,Rt.length?Rt.map(wn=>wn.connectedCallback()):Ot.jmp(()=>Ft=setTimeout(Ie,30))},gt=(Pe,Be,Ve,yt)=>{Ve&&Ve.map(([Je,lt,Qt])=>{const Ct=on(Pe,Je),mt=ft(Be,Qt),Kt=wt(Je);Ot.ael(Ct,lt,mt,Kt),(Be.$rmListeners$=Be.$rmListeners$||[]).push(()=>Ot.rel(Ct,lt,mt,Kt))})},ft=(Pe,Be)=>Ve=>{try{256&Pe.$flags$?Pe.$lazyInstance$[Be](Ve):(Pe.$queuedListeners$=Pe.$queuedListeners$||[]).push([Be,Ve])}catch(yt){Bt(yt)}},on=(Pe,Be)=>16&Be?kt.body:Pe,wt=Pe=>!!(2&Pe),En=new WeakMap,St=Pe=>En.get(Pe),Tt=(Pe,Be)=>En.set(Be.$lazyInstance$=Pe,Be),yn=(Pe,Be)=>{const Ve={$flags$:0,$hostElement$:Pe,$cmpMeta$:Be,$instanceValues$:new Map};return Ve.$onInstancePromise$=new Promise(yt=>Ve.$onInstanceResolve$=yt),Ve.$onReadyPromise$=new Promise(yt=>Ve.$onReadyResolve$=yt),Pe["s-p"]=[],Pe["s-rc"]=[],gt(Pe,Ve,Be.$listeners$),En.set(Pe,Ve)},Dt=(Pe,Be)=>Be in Pe,Bt=(Pe,Be)=>(0,console.error)(Pe,Be),Cn=new Map,st=(Pe,Be,Ve)=>{const yt=Pe.$tagName$.replace(/-/g,"_"),Je=Pe.$lazyBundleId$,lt=Cn.get(Je);if(lt)return lt[yt];if(!Ve||!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,Bt);case"pwa-camera-modal":return E.e(2982).then(E.bind(E,2982)).then(Qt,Bt);case"pwa-toast":return E.e(3574).then(E.bind(E,3574)).then(Qt,Bt);case"pwa-camera-modal-instance":return E.e(5640).then(E.bind(E,5640)).then(Qt,Bt);case"pwa-camera":return E.e(6086).then(E.bind(E,6086)).then(Qt,Bt)}}return E(5235)(`./${Je}.entry.js`).then(Qt=>(Cn.set(Je,Qt),Qt[yt]),Bt)},Lt=new Map,In=typeof window<"u"?window:{},kt=In.document||{head:{}},Ot={$flags$:0,$resourcesUrl$:"",jmp:Pe=>Pe(),raf:Pe=>requestAnimationFrame(Pe),ael:(Pe,Be,Ve,yt)=>Pe.addEventListener(Be,Ve,yt),rel:(Pe,Be,Ve,yt)=>Pe.removeEventListener(Be,Ve,yt),ce:(Pe,Be)=>new CustomEvent(Pe,Be)},Ln=Pe=>Promise.resolve(Pe),Ut=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Le=[],_e=[],De=(Pe,Be)=>Ve=>{Pe.push(Ve),D||(D=!0,Be&&4&Ot.$flags$?Ue(Ze):Ot.raf(Ze))},Ae=Pe=>{for(let Be=0;Be{Ae(Le),Ae(_e),(D=Le.length>0)&&Ot.raf(Ze)},Ue=Pe=>Ln().then(Pe),it=De(_e,!0)},3172:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{B$:()=>S,Cc:()=>a,Hs:()=>D,K:()=>O,Th:()=>C,Zm:()=>w,cM:()=>_,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 O=(()=>{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||{}),_=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}(_||{});let w=(()=>{var g;class F{}return(g=F).TEACHER="teacher",g.STORY="story",g.PARENT="parent",F})()},5553:(be,ee,E)=>{"use strict";E.d(ee,{h:()=>C});var a=E(177),S=E(9417),p=E(8974),O=E(5402),c=E(2904),D=E(4438);let C=(()=>{var _;class T{}return(_=T).\u0275fac=function(g){return new(g||_)},_.\u0275mod=D.$C({type:_}),_.\u0275inj=D.G2t({providers:[c.a0,c.H0,c.n$],imports:[a.MD,S.YN,S.X1,p.bv,S.X1,O.h.forChild()]}),T})()},446:(be,ee,E)=>{"use strict";E.d(ee,{g:()=>a});const a={tenantLogo:"assets/school/GEMS.svg",siteName:"Garhwal English Medium School",siteByLine:"Listen, Learn & Grow !!!",splashImage:"assets/school/GEMS.jpeg",headerFilters:[{defaultFilter:{id:"All",label:"All",query:"",filters:"All"},additionalFilters:[{id:"Stories",label:"Stories",query:"Stories and poems",filters:"Stories"},{id:"Activities",label:"Activities",query:"Activity Sheets",filters:"Activities"},{id:"Songs",label:"Songs",query:"Songs",filters:"Songs"},{id:"Audio Books",label:"Audio Books",query:"Audio Books",filters:"Audio Books"},{id:"Handbooks",label:"Handbooks",query:"Handbooks",filters:"Handbooks"}]}],languages:[{id:"en",label:"English",default:!1},{id:"hi",label:"\u0939\u093f\u0902\u0926\u0940",default:!0}],footerText:"Developed with \u2764\ufe0f by Tekdi Technologies ",headerColor:"brown",headerFontSize:"16",footerColor:"brown",footerFontSize:"16"}},3721:(be,ee,E)=>{"use strict";E.d(ee,{h:()=>S});var a=E(4438);let S=(()=>{var p;class O{}return(p=O).\u0275fac=function(D){return new(D||p)},p.\u0275mod=a.$C({type:p}),p.\u0275inj=a.G2t({}),O})()},1984:(be,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(O){var c=this;return(0,a.A)(function*(){c._isInitialised=!0,c.config={authentication:{bearerToken:""},deviceInfo:{did:O}}})()}getSakhiResponse(){return this.botMsg}setSakhiResponse(O){var c=this;return(0,a.A)(function*(){c.botMsg={storySakhi:O.story,teacherSakhi:O.teacher,paretSakhi:O.parent}})()}}},2700:(be,ee,E)=>{"use strict";E.d(ee,{G:()=>o});var a=E(467),S=E(6648),p=E(3028),O=E(9437),c=E(7673),D=E(8810),C=E(1984),_=E(8141),T=E(985),w=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:w().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,_.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 R=(()=>{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),K=E(5083),oe=E(1413);let ve=(()=>{var u;class s{constructor(){this.http=K.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 oe.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),console.log("requestOptions",L),this.http.request(L).then(I=>{I.data=I.data;let V=I.data;const J=[];if(V.data&&null!=V.data.djp_contents&&V.data.djp_contents.forEach(re=>{let me=null!=re&&re.url?this.checkMimieType(null==re?void 0:re.url):"text/html";J.push({agegroup:re.agegroup,audience:re.audience,bpp_id:re.bpp_id,bpp_uri:re.bpp_uri,competency:re.competencies,category:re.category,createdon:re.createdon,curriculargoal:re.curriculargoal,id:re.item_id,identifier:re.identifier,provider_id:re.provider_id,provider_name:re.provider_name,name:re.name,description:re.description,thumbnail:re.thumbnail,domain:re.domain,unique_id:re.unique_id,language:re.language,url:re.url,sourceOrganisation:re.sourceorg,midea:re.midea,keywords:re.keywords,lastupdatedon:re.lastupdatedon,learningOutcomes:re.learningOutcomes,status:re.status,mimetype:me})}),J){let re;re=V.data&&null!=V.data.djp_contents?{body:{result:J},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers}:{body:{result:I.data},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers},console.log("apiResponse",re),d.next(re),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(J){if(V.body=I.error,I.status<=0)throw J}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 R(`\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(!R.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(ve),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,O.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,O.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:(be,ee,E)=>{"use strict";E.d(ee,{_g:()=>p,kr:()=>a,xl:()=>S});var a=function(O){return O.GET="GET",O.POST="POST",O.PATCH="PATCH",O.DELETE="DELETE",O.PUT="PUT",O}(a||{}),S=function(O){return O[O.HTTP_UNAUTHORISED=401]="HTTP_UNAUTHORISED",O[O.HTTP_FORBIDDEN=403]="HTTP_FORBIDDEN",O[O.HTTP_SUCCESS=200]="HTTP_SUCCESS",O[O.HTTP_BAD_REQUEST=400]="HTTP_BAD_REQUEST",O[O.HTTP_KONG_FAILURE=447]="HTTP_KONG_FAILURE",O[O.HTTP_INTERNAL_SERVER_ERROR=500]="HTTP_INTERNAL_SERVER_ERROR",O}(S||{});let p=(()=>{var O;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(O=c).Builder=class{constructor(){this.request=new O}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:(be,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||{}),O=function(F){return F.None="NONE",F.Slide="SLIDE",F.Fade="FADE",F}(O||{});const C=(0,S.F3)("StatusBar");var _=E(1413),T=E(8941),w=E(4438);let g=(()=>{var F;class A{constructor(){this.appName="",this.headerEvent=new _.B,this.headerEventEmitted$=this.headerEvent.asObservable(),this.headerConfig=new _.B,this.headerConfigEmitted$=this.headerConfig.asObservable(),this.deviceBackbtnConfig=new _.B,this.deviceBackbtnEmitted$=this.deviceBackbtnConfig.asObservable(),this.filterConfig=new _.B,this.filterConfigEmitted$=this.filterConfig.asObservable(),this.sideMenuItemEvent=new _.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 R=M.getDefaultPageConfig();R.pageTitle=null!=P?P:M.appName,R.showbackButton=null!=$&&$,R.actionButtons=null!=k?k:[""],M.updatePageConfig(R)})()}hideStatusBar(){C.hide()}showStatusBar(P,$){C.show({animation:O.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=w.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),A})()},4447:(be,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),_=E(8974),T=E(5402);let w=(()=>{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(_.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:[_.Jm,_.QW,_.W9,_.eU,_.uz,_.he,_.BC,_.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,R){this.router=k,this.platform=M,this.popoverController=R,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 R=yield k.popoverController.create({component:w,cssClass:"update-modal",translucent:!0,dismissOnSelect:!0});yield R.present(),R.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(_.IE))},B.\u0275prov=C.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),P})()},6011:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>c});var a=E(467),S=E(4438),p=E(4591),O=E(1765);let c=(()=>{var D;class C{constructor(T,w){this.dbService=T,this.telemetryService=w}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(O.H))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},4999:(be,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:(be,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 w=(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(w))})()}getCacheTimeout(){var T=this;return(0,a.A)(function*(){let w=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"===w&&(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:(be,ee,E)=>{"use strict";E.d(ee,{w:()=>T});var a=E(467),S=E(3172),p=E(985),O=E(3207),c=E(6354),D=E(9437),C=E(4438),_=E(2700);let T=(()=>{var w;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,O.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,O.s)(P.apiService.fetch(k).pipe((0,c.T)(M=>M.body.result),(0,D.W)(M=>{throw M})))})()}}return(w=g).\u0275fac=function(A){return new(A||w)(C.KVO(_.G))},w.\u0275prov=C.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),g})()},444:(be,ee,E)=>{"use strict";E.d(ee,{f:()=>P});var a=E(467),S=E(532),p=E(5396),O=E(4870);class c{static mapContentToRecentlyViewedContentEntry(k,M,R){return{[p.a.COLUMN_NAME_IDENTIFIER]:R,[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 R=JSON.parse(k.content_metadata);return R.isLiked=!!k.reaction_identifier,k.content_metadata=JSON.stringify(R),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),_=E(56),T=E(985),w=E(3207),g=E(742),F=E(4438),A=E(2904),B=E(2700);let P=(()=>{var $;class k{constructor(R,U){this.dbService=R,this.apiService=U,this.results=[]}deleteAllContents(){return this.dbService.remove(S.a.deleteQuery(),{source:"djp"})}saveContents(R){const U=[];return R.map(j=>{U.push({statement:S.a.insertQuery(),values:O.Z.mapContentToValues(j)})}),this.dbService.executeSet(U)}getRecentlyViewedContent(R){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='${R}' ORDER BY rvc.ts DESC`,K=yield U.dbService.executeQuery(j),oe=[];return null==K||K.map(ve=>{oe.push(D.mapContentRVCtoRecentlyViedContent(ve,(0,C.A)()))}),Promise.resolve(oe)})()}getAllContent(){var R=this;return(0,a.A)(function*(){const j=[];return R.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(K=>(K.map(oe=>{const ve=JSON.parse(oe.metadata);oe.metaData=ve,j.push(oe)}),Promise.resolve(j)))})()}likeContent(R,U,j){var K=this;return(0,a.A)(function*(){return j?K.dbService.readDbData(g.S.readQuery(),{content_identifier:R.metaData.identifier}).then(oe=>{const ve=oe?g.S.updateQuery():g.S.insertQuery(),te=oe?{content_identifier:R.metaData.identifier,uid:U}:void 0;return K.dbService.save(ve,O.Z.mapContentReactionEntry(R.metaData.identifier,"guest"),te)}):K.dbService.remove(g.S.deleteQuery(),{content_identifier:R.metaData.identifier,uid:U})})()}markContentAsViewed(R){var U=this;return(0,a.A)(function*(){return(yield U.dbService.readDbData(S.a.readQuery(),{identifier:R.metaData.identifier}))||(yield U.dbService.executeSet([{statement:S.a.insertQuery(),values:O.Z.mapContentToValues(R)}])),U.dbService.readDbData(p.a.readQuery(),{content_identifier:R.metaData.identifier}).then(K=>{const oe=K?p.a.updateQuery():p.a.insertQuery(),ve=K?{identifier:R.metaData.identifier}:void 0;return U.dbService.save(oe,c.mapContentToRecentlyViewedContentEntry(R,"guest",(0,C.A)()),ve)})})()}searchContentInDiksha(R){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:R,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,w.s)(this.apiService.fetch(j))}getCollectionHierarchy(R){const U=(new T._g.Builder).withHost("https://diksha.gov.in/action/content/v3/hierarchy/").withPath(`${R}`).withType(T.kr.GET).build();return(0,w.s)(this.apiService.fetch(U))}getContents(R){return this.searchContentInDiksha(R).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(K=>{j.push({source:"dialcode",sourceType:"Diksha",metaData:{identifier:null==K?void 0:K.identifier,name:null==K?void 0:K.name,thumbnail:null==K?void 0:K.posterImage,description:null==K?void 0:K.name,mimetype:(null==K?void 0:K.mimetype)||(null==K?void 0:K.mimeType),url:null==K?void 0:K.streamingUrl,focus:null==K?void 0:K.focus,keyword:null==K?void 0:K.keyword,domain:null==K?void 0:K.domain,curriculargoal:null==K?void 0:K.curriculargoal,competencies:null==K?void 0:K.competencies,language:null==K?void 0:K.language,category:null==K?void 0:K.category,audience:null==K?void 0:K.audience,status:null==K?void 0:K.status,createdon:null==K?void 0:K.createdOn,lastupdatedon:(null==K?void 0:K.lastupdatedon)||(null==K?void 0:K.lastUpdatedOn),artifactUrl:null==K?void 0:K.artifactUrl}})})),j}).catch(U=>{throw console.error(U),U})}showAllChild(R){let U=_.z5.VIDEOS;U.indexOf(_.z5.PDF)>-1||U.push(_.z5.PDF),void 0!==R.children&&R.children.length?(R.children.forEach(j=>{this.showAllChild(j)}),console.log("Results",this.results)):U.indexOf(R.mimeType)>-1&&this.results.push(R)}readDikshaContents(R){const U=(new T._g.Builder).withHost("https://diksha.gov.in/api/content/v1/read/").withPath(`${R}`).withType(T.kr.GET).build();return(0,w.s)(this.apiService.fetch(U))}}return($=k).\u0275fac=function(R){return new(R||$)(F.KVO(A.at),F.KVO(B.G))},$.\u0275prov=F.jDH({token:$,factory:$.\u0275fac,providedIn:"root"}),k})()},742:(be,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:(be,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:(be,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:(be,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:(be,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(R){return Promise.reject(R)}})()}saveToStore(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.saveToStore({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}saveToLocalDisk(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.saveToLocalDisk({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getFromLocalDiskToStore(M){var R=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield R.sqlite.getFromLocalDiskToStore({overwrite:U}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}echo(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.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 R=yield M.sqlite.isSecretStored();return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}setEncryptionSecret(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.setEncryptionSecret({passphrase:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}changeEncryptionSecret(M,R){var U=this;return(0,a.A)(function*(){try{return yield U.sqlite.changeEncryptionSecret({passphrase:M,oldpassphrase:R}),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(R){return Promise.reject(R)}})()}checkEncryptionSecret(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.sqlite.checkEncryptionSecret({passphrase:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}addUpgradeStatement(M,R){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:R}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}createConnection(M,R,U,j,K){var oe=this;return(0,a.A)(function*(){try{M.endsWith(".db")&&(M=M.slice(0,-3)),yield oe.sqlite.createConnection({database:M,encrypted:R,mode:U,version:j,readonly:K});const ve=new O(M,K,oe.sqlite);return oe._connectionDict.set(K?`RO_${M}`:`RW_${M}`,ve),Promise.resolve(ve)}catch(ve){return Promise.reject(ve)}})()}closeConnection(M,R){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:R}),U._connectionDict.delete(R?`RO_${M}`:`RW_${M}`),Promise.resolve()}catch(j){return Promise.reject(j)}})()}isConnection(M,R){var U=this;return(0,a.A)(function*(){const j={};return M.endsWith(".db")&&(M=M.slice(0,-3)),j.result=U._connectionDict.has(R?`RO_${M}`:`RW_${M}`),Promise.resolve(j)})()}retrieveConnection(M,R){var U=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));const j=R?`RO_${M}`:`RW_${M}`;if(U._connectionDict.has(j)){const K=U._connectionDict.get(j);return typeof K<"u"?Promise.resolve(K):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}getNCDatabasePath(M,R){var U=this;return(0,a.A)(function*(){try{const j=yield U.sqlite.getNCDatabasePath({path:M,database:R});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}createNCConnection(M,R){var U=this;return(0,a.A)(function*(){try{yield U.sqlite.createNCConnection({databasePath:M,version:R});const j=new O(M,!0,U.sqlite);return U._connectionDict.set(`RO_${M})`,j),Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}closeNCConnection(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.closeNCConnection({databasePath:M}),R._connectionDict.delete(`RO_${M})`),Promise.resolve()}catch(U){return Promise.reject(U)}})()}isNCConnection(M){var R=this;return(0,a.A)(function*(){const U={};return U.result=R._connectionDict.has(`RO_${M})`),Promise.resolve(U)})()}retrieveNCConnection(M){var R=this;return(0,a.A)(function*(){if(R._connectionDict.has(M)){const j=R._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 R=this;return(0,a.A)(function*(){try{const U=yield R.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 R=new Map;try{for(const U of M._connectionDict.keys()){const j=U.substring(3),K="RO_"===U.substring(0,3);yield M.sqlite.closeConnection({database:j,readonly:K}),R.set(U,null)}for(const U of R.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 R=[...M._connectionDict.keys()],U=[],j=[];for(const oe of R)U.push(oe.substring(0,2)),j.push(oe.substring(3));const K=yield M.sqlite.checkConnectionsConsistency({dbNames:j,openModes:U});return K.result||(M._connectionDict=new Map),Promise.resolve(K)}catch(R){return M._connectionDict=new Map,Promise.reject(R)}})()}importFromJson(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.sqlite.importFromJson({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isJsonValid(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.sqlite.isJsonValid({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}copyFromAssets(M){var R=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield R.sqlite.copyFromAssets({overwrite:U}),Promise.resolve()}catch(j){return Promise.reject(j)}})()}getFromHTTPRequest(M,R){var U=this;return(0,a.A)(function*(){const j=null==R||R;try{return yield U.sqlite.getFromHTTPRequest({url:M,overwrite:j}),Promise.resolve()}catch(K){return Promise.reject(K)}})()}isDatabaseEncrypted(M){var R=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield R.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 R=yield M.sqlite.isInConfigEncryption();return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}isInConfigBiometricAuth(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.isInConfigBiometricAuth();return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}isDatabase(M){var R=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield R.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(R){return Promise.reject(R)}})()}getMigratableDbList(M){var R=this;return(0,a.A)(function*(){const U=M||"default";try{const j=yield R.sqlite.getMigratableDbList({folderPath:U});return Promise.resolve(j)}catch(j){return Promise.reject(j)}})()}addSQLiteSuffix(M,R){var U=this;return(0,a.A)(function*(){const j=M||"default",K=R||[];try{const oe=yield U.sqlite.addSQLiteSuffix({folderPath:j,dbNameList:K});return Promise.resolve(oe)}catch(oe){return Promise.reject(oe)}})()}deleteOldDatabases(M,R){var U=this;return(0,a.A)(function*(){const j=M||"default",K=R||[];try{const oe=yield U.sqlite.deleteOldDatabases({folderPath:j,dbNameList:K});return Promise.resolve(oe)}catch(oe){return Promise.reject(oe)}})()}moveDatabasesAndAddSuffix(M,R){var U=this;return(0,a.A)(function*(){return U.sqlite.moveDatabasesAndAddSuffix({folderPath:M||"default",dbNameList:R||[]})})()}}class O{constructor(M,R,U){this.dbName=M,this.readonly=R,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(R){return Promise.reject(R)}})()}close(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.close({database:M.dbName,readonly:M.readonly}),Promise.resolve()}catch(R){return Promise.reject(R)}})()}beginTransaction(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.beginTransaction({database:M.dbName});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}commitTransaction(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.commitTransaction({database:M.dbName});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}rollbackTransaction(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.rollbackTransaction({database:M.dbName});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}isTransactionActive(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.isTransactionActive({database:M.dbName});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}loadExtension(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.loadExtension({database:R.dbName,path:M,readonly:R.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}enableLoadExtension(M){var R=this;return(0,a.A)(function*(){try{return yield R.sqlite.enableLoadExtension({database:R.dbName,toggle:M,readonly:R.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getUrl(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.getUrl({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}getVersion(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.getVersion({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}getTableList(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.getTableList({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}execute(M,R=!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 K=yield j.sqlite.execute({database:j.dbName,statements:M,transaction:R,readonly:!1,isSQL92:U});return Promise.resolve(K)}}catch(K){return Promise.reject(K)}})()}query(M,R,U=!0){var j=this;return(0,a.A)(function*(){let K;try{return K=R&&R.length>0?yield j.sqlite.query({database:j.dbName,statement:M,values:R,readonly:j.readonly,isSQL92:!0}):yield j.sqlite.query({database:j.dbName,statement:M,values:[],readonly:j.readonly,isSQL92:U}),K=yield j.reorderRows(K),Promise.resolve(K)}catch(oe){return Promise.reject(oe)}})()}run(M,R,U=!0,j="no",K=!0){var oe=this;return(0,a.A)(function*(){let ve;try{return oe.readonly?Promise.reject("not allowed in read-only mode"):(ve=R&&R.length>0?yield oe.sqlite.run({database:oe.dbName,statement:M,values:R,transaction:U,readonly:!1,returnMode:j,isSQL92:!0}):yield oe.sqlite.run({database:oe.dbName,statement:M,values:[],transaction:U,readonly:!1,returnMode:j,isSQL92:K}),ve.changes=yield oe.reorderRows(ve.changes),Promise.resolve(ve))}catch(te){return Promise.reject(te)}})()}executeSet(M,R=!0,U="no",j=!0){var K=this;return(0,a.A)(function*(){let oe;try{return K.readonly?Promise.reject("not allowed in read-only mode"):(oe=yield K.sqlite.executeSet({database:K.dbName,set:M,transaction:R,readonly:!1,returnMode:U,isSQL92:j}),oe.changes=yield K.reorderRows(oe.changes),Promise.resolve(oe))}catch(ve){return Promise.reject(ve)}})()}isExists(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.isDBExists({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}isTable(M){var R=this;return(0,a.A)(function*(){try{const U=yield R.sqlite.isTableExists({database:R.dbName,table:M,readonly:R.readonly});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isDBOpen(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.isDBOpen({database:M.dbName,readonly:M.readonly});return Promise.resolve(R)}catch(R){return Promise.reject(R)}})()}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(R){return Promise.reject(R)}})()}createSyncTable(){var M=this;return(0,a.A)(function*(){try{if(M.readonly)return Promise.reject("not allowed in read-only mode");{const R=yield M.sqlite.createSyncTable({database:M.dbName,readonly:!1});return Promise.resolve(R)}}catch(R){return Promise.reject(R)}})()}setSyncDate(M){var R=this;return(0,a.A)(function*(){try{return R.readonly?Promise.reject("not allowed in read-only mode"):(yield R.sqlite.setSyncDate({database:R.dbName,syncdate:M,readonly:!1}),Promise.resolve())}catch(U){return Promise.reject(U)}})()}getSyncDate(){var M=this;return(0,a.A)(function*(){try{const R=yield M.sqlite.getSyncDate({database:M.dbName,readonly:M.readonly});let U="";return R.syncDate>0&&(U=new Date(1e3*R.syncDate).toISOString()),Promise.resolve(U)}catch(R){return Promise.reject(R)}})()}exportToJson(M,R=!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:R});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(R){return Promise.reject(R)}})()}executeTransaction(M,R=!0){var U=this;return(0,a.A)(function*(){let j=0,K=!1;if(U.readonly)return Promise.reject("not allowed in read-only mode");if(yield U.sqlite.beginTransaction({database:U.dbName}),K=yield U.sqlite.isTransactionActive({database:U.dbName}),!K)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:R});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(oe){const ve=oe.message?oe.message:oe;return yield U.sqlite.rollbackTransaction({database:U.dbName}),Promise.reject(ve)}})()}reorderRows(M){return(0,a.A)(function*(){const R=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 K=1;KE.e(4612).then(E.bind(E,4612)).then(k=>new k.CapacitorSQLiteWeb),electron:()=>window.CapacitorCustomPlatform.plugins.CapacitorSQLite});var D=E(56),C=E(1503),_=E(2798),T=E(5396),w=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(w.C.getCreateEntry()),yield U.createTable(F.K.getCreateEntry()),yield U.createTable(g.a.getCreateEntry()),yield U.createTable(T.a.getCreateEntry()),yield U.createTable(_.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,K,oe,ve){var te=this;return(0,a.A)(function*(){let se;const m=(yield te.sqliteConnection.checkConnectionsConsistency()).result;let n=(yield te.sqliteConnection.isConnection(U,ve)).result;return se=m&&n?yield te.sqliteConnection.retrieveConnection(U,ve):yield te.sqliteConnection.createConnection(U,j,K,oe,ve),yield se.open(),te.sqliteDBConnection=se,!0})()}closeConnection(U,j){var K=this;return(0,a.A)(function*(){const oe=j||!1;return yield K.sqliteConnection.closeConnection(U,oe)})()}createTable(U){var j=this;return(0,a.A)(function*(){try{const K=(yield j.sqliteDBConnection.query(U)).values;return K.length>0?K:null}catch(K){return Promise.reject(`create table err: ${K.message?K.message:K}`)}})()}executeQuery(U){var j=this;return(0,a.A)(function*(){try{const K=(yield j.sqliteDBConnection.query(U)).values;return K.length>0?K:null}catch(K){return Promise.reject(`select table err: ${K.message?K.message:K}`)}})()}executeSet(U){var j=this;return(0,a.A)(function*(){try{return yield j.sqliteDBConnection.executeSet(U)}catch(K){return Promise.reject(`create table err: ${K.message?K.message:K}`)}})()}readDbData(U,j,K){var oe=this;return(0,a.A)(function*(){try{if(j){const ve=Object.keys(j)[0],te=`${U} WHERE ${ve}='${j[ve]}' ${K||""}`,se=(yield oe.sqliteDBConnection.query(te)).values;return se.length>0?se:null}{const ve=(yield oe.sqliteDBConnection.query(U)).values;return ve.length>0?ve:null}}catch(ve){return Promise.reject(`readDbData err: ${ve.message?ve.message:ve}`)}})()}save(U,j,K){var oe=this;return(0,a.A)(function*(){const ve=!!K,te=Object.keys(j);let n,se="",m=[];for(const o of te)m.push(j[o]);if(ve){Object.keys(K);const u=yield oe.setNameForUpdate(te,m);if(0===u.length)return Promise.reject("save: update no SET");se=`${U} ${u} WHERE ${oe.getWhereStatement(K)}`;const s=yield oe.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 oe.sqliteDBConnection.run(se,m),console.log("ret",n),1!=n.changes.changes)return Promise.reject("save: insert changes != 1")}})()}remove(U,j){var K=this;return(0,a.A)(function*(){Object.keys(j);const ve=`${U} WHERE ${K.getWhereStatement(j)};`;return(yield K.sqliteDBConnection.run(ve)).changes})()}getWhereStatement(U){let j="";const K=Object.keys(U);for(let oe=0;oe1?(K=K.slice(0,-1),K):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:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(467),S=E(2739),p=E(4438),O=E(8974),c=E(5402);let D=(()=>{var C;class _{constructor(w,g){this.toastController=w,this.translate=g}downlaodContent(w){var g=this;return(0,a.A)(function*(){var F;g.presentToast("Downloading ....");let A=w.metaData.artifactUrl?w.metaData.artifactUrl.split("/"):w.metaData.url.split("/");console.log(A,A[A.length-1]);let B=null!==(F=w.metaData.artifactUrl)&&void 0!==F?F:w.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(w,g){var F=this;return(0,a.A)(function*(){try{let A=yield S.YA.writeFile({path:`downloadedContents/${w[w.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(w){var g=this;return(0,a.A)(function*(){g.toast=yield g.toastController.create({message:g.translate.instant(w),position:"bottom",color:"dark"}),yield g.toast.present()})()}convertBlobToBase64(w){return new Promise((g,F)=>{const A=new FileReader;A.onerror=F,A.onload=()=>{g(A.result)},A.readAsDataURL(w)})}}return(C=_).\u0275fac=function(w){return new(w||C)(p.KVO(O.K_),p.KVO(c.c$))},C.\u0275prov=p.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}),_})()},2904:(be,ee,E)=>{"use strict";E.d(ee,{Gf:()=>C.G,Ux:()=>c.U,F_:()=>n,dk:()=>B.d,we:()=>_.w,at:()=>S.a,XU:()=>A,Ze:()=>o.Z,MK:()=>r,hs:()=>T.h,XI:()=>P.X,Sc:()=>$.S,n$:()=>a.n,q4:()=>w.q,H0:()=>O.H,a0:()=>D.a});var a=E(3486),S=E(4591),O=(E(6011),E(1765)),c=E(3568),D=E(2342),C=E(2700),_=E(3696),T=E(8014),w=E(7594),g=E(467),F=E(4438);let A=(()=>{var d;class L{constructor(V,J){this.apiService=V,this.preprocessService=J}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),R=E(3207),U=E(6354),j=E(9437),K=E(56),oe=E(4999);class ve{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[oe.O.COLUMN_NAME_IDENTIFIER],message:L[oe.O.COLUMN_NAME_MESSAGE],messageType:L[oe.O.COLUMN_NAME_MEDIA_TYPE],botType:L[oe.O.COLUMN_NAME_BOT_TYPE],fromMe:L[oe.O.COLUMN_NAME_FROM_ME],mediaMimeType:L[oe.O.COLUMN_NAME_MEDIA_TYPE],mediaData:L[oe.O.COLUMN_NAME_MEDIA_DATA],mediaUrl:L[oe.O.COLUMN_NAME_MEDIA_PATH],duration:L[oe.O.COLUMN_NAME_DURATION],ts:L[oe.O.COLUMN_NAME_TIME_STAMP],reaction:L[oe.O.COLUMN_NAME_REACTIONS]}}}var te=E(2739),se=E(1626),m=E(5402);let n=(()=>{var d;class L{constructor(V,J,re){this.apiService=V,this.translate=J,this.dbService=re}getBotMessage(V,J,re,me){var Me=this;return(0,g.A)(function*(){console.log("text ",V,""!==V),console.log("audio ",J,""!==J);let Q=Me.getBotApiPath(re),ae={input:{},output:{format:V?"text":"audio"}};""!==V?ae.input={language:me,text:V,audio:"",context:re}:""!==J&&(ae.input={language:me,audio:J,text:"",context:re});let tt=(new se.Lr).set("Authorization","Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtb2JpbGVfZGV2aWNlIn0.W9cvngZh0_Y6hcGCBqS8MZOejkUxU9ptnJFji6VBHtA").set("Content-Type","application/json");const Re=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(Re).withBody(ae).withLanguge(me).build();return(0,R.s)(Me.apiService.fetch(pe).pipe((0,U.T)(Ie=>Ie),(0,j.W)(Ie=>{throw Ie})))})()}getBotApiPath(V){switch(V){case K.Zm.STORY:case K.Zm.PARENT:case K.Zm.TEACHER:return k.$.api.BOT_ACTIVITY_API_PATH;default:return""}}saveChatMessage(V){const J=[];return J.push({statement:oe.O.insertQueryWithColumns(),values:ve.mapChatToChatValues(V)}),this.dbService.executeSet(J)}getAllChatMessages(V){return this.dbService.readDbData(oe.O.readQuery(),{bot_type:V}).then(J=>{const re=[];return J&&J.length>0&&J.map(me=>{re.push(ve.mapChatToChatEntryToModel(me))}),re})}updateMessageReactions(V,J){return this.dbService.executeQuery(`UPDATE ${oe.O.TABLE_NAME}\n SET ${oe.O.COLUMN_NAME_REACTIONS} = ${J}\n WHERE ${oe.O.COLUMN_NAME_IDENTIFIER} = '${V}';`)}deleteExpiredChatMessages(){var V=this;return(0,g.A)(function*(){const J=yield te.YA.readdir({path:"",directory:te.__.Data});console.log(J);for(let re=0;reMe&&(yield te.YA.deleteFile({path:me.uri,directory:te.__.Data})),V.dbService.executeQuery(`DELETE FROM ${oe.O.TABLE_NAME} WHERE ${oe.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,J){this.router=V,this.tabService=J,this.notifEvent=new v.B,this.notificationEventEmitted$=this.notifEvent.asObservable()}initializeLocalNotif(V){var J=this;return(0,g.A)(function*(){let re=J;try{var me,Me,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===(me=V.schedule)||void 0===me?void 0:me.on,repeats:null===(Me=V.schedule)||void 0===Me?void 0:Me.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*(Re){let pe=re.router.location._locationStrategy._platformLocation._location;"/parent-sakhi"!==pe.pathname?(console.log("router page ",pe.pathname),re.tabService.hide(),"/"===pe.pathname?setTimeout((0,g.A)(function*(){yield re.router.navigate(["/parent-sakhi"],{state:{notif:Re.notification}})}),3e3):yield re.router.navigate(["/parent-sakhi"],{state:{notif:Re.notification}})):J.notifEvent.next(Re.notification)});return function(Re){return tt.apply(this,arguments)}}())})()}cancelNotification(V){return(0,g.A)(function*(){try{yield h.cancel({notifications:[{id:V}]})}catch(J){console.log("Error on cancel local notification ",J)}})()}}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:(be,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:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{q:()=>w});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 O=E(6421),c=E(1503),D=E(532),C=E(4870),_=E(4438),T=E(2904);let w=(()=>{var g;class F{constructor(B){this.dbService=B}createPlayList(B,P,$,k){const M=k?S.J.updateQuery():S.J.insertQuery(),R=k?{identifier:k}:void 0,U=!!k;return k||(k=(0,O.A)()),this.dbService.save(M,p.mapContentToPlayListEntry(B,P,k,$.length),R).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)(_.KVO(T.at))},g.\u0275prov=_.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),F})()},9836:(be,ee,E)=>{"use strict";E.d(ee,{X:()=>T});var a=E(467),S=E(5293),p=E(5083),O=E(9182);const c=(0,p.F3)("Haptics",{web:()=>E.e(3558).then(E.bind(E,3558)).then(w=>new w.HapticsWeb)});var D=E(1413),C=E(4438),_=E(8974);let T=(()=>{var w;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:O.kn.Light})},onMove:P=>{c.impact({style:O.kn.Light}),this.recordEvent.next(!1),this.cancelRecording=!0},onEnd:P=>{console.log("swipe left end ",P),c.impact({style:O.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:O.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:O.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(w=g).\u0275fac=function(A){return new(A||w)(C.KVO(_.wH))},w.\u0275prov=C.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),g})()},2186:(be,ee,E)=>{"use strict";E.d(ee,{S:()=>T});var a=E(467),S=E(3207),p=E(6354),O=E(9437),c=E(3172),D=E(985),C=E(4438),_=E(2700);let T=(()=>{var w;class g{constructor(A){this.apiService=A}postSearchContext(A,B){var P=this;return(0,a.A)(function*(){let $={};$=B?{audio:A.text,language:A.currentLang}:{name:A.text,language:A.currentLang};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)(R=>R.body),(0,O.W)(R=>{throw R})))})()}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),P.language=B;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,O.W)(k=>{throw k})))}}return(w=g).\u0275fac=function(A){return new(A||w)(C.KVO(_.G))},w.\u0275prov=C.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),g})()},8014:(be,ee,E)=>{"use strict";E.d(ee,{h:()=>p});var a=E(1413),S=E(4438);let p=(()=>{var O;class c{constructor(){this.sourceEvent=new a.B,this.sourceProcessEmitted$=this.sourceEvent.asObservable()}sunbirdSrcProcess(C){this.contentConfig=[],C.forEach(_=>{this.contentConfig.push(_)}),console.log("contentconfig ",this.contentConfig),this.sourceEvent.next(this.contentConfig)}}return(O=c).\u0275fac=function(C){return new(C||O)},O.\u0275prov=S.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),c})()},7594:(be,ee,E)=>{"use strict";E.d(ee,{q:()=>c});var a=E(467),S=E(4438),p=E(2700),O=E(8014);let c=(()=>{var D;class C{constructor(T,w){this.apiService=T,this.preprocessService=w}process(T,w){return(0,a.A)(function*(){})()}}return(D=C).\u0275fac=function(T){return new(T||D)(S.KVO(p.G),S.KVO(O.h))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3486:(be,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 O=E(4438);let c=(()=>{var D;class C{constructor(){}setData(T,w){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.set({key:T,value:w}).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(w=>w.value).catch(w=>w)})()}removeData(T){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.remove({key:T}).then(w=>!0).catch(w=>w)})()}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=O.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},1113:(be,ee,E)=>{"use strict";E.d(ee,{q:()=>S});var a=E(4438);let S=(()=>{var p;class O{constructor(){}hide(){let D=document.querySelectorAll(".tabbar"),C=document.querySelectorAll(".home-screen"),_=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(_).map(T=>{_[T].style.marginBottom="0"})}))}show(){let D=document.querySelectorAll(".tabbar"),C=document.querySelectorAll(".home-screen");null!==D&&null!==C&&(Object.keys(C).map(_=>{"rotate(-45deg)"!==C[_].style.transform&&(C[_].style.transform="rotate(-45deg)")}),Object.keys(D).map(_=>{"translateY(0px)"!==D[_].style.transform&&(D[_].style.transform="translateY(0px)")}))}}return(p=O).\u0275fac=function(D){return new(D||p)},p.\u0275prov=a.jDH({token:p,factory:p.\u0275fac}),O})()},5870:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{B:()=>C});var a=E(8855),p=E(3172),O=E(3649),c=E(4438),D=E(2904);let C=(()=>{var _;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 O.Ag);const A=g.actor;A.id||(A.id=F),A.type||(A.type=O.Ag.TYPE_USER)}patchContext(g,F,A,B,P,$){g.context||(g.context=new O.ob),g.context=this.buildContext(F,A,P,g.context,B,$)}patchPData(g,F){g.pdata||(g.pdata=new O.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(_=T).\u0275fac=function(g){return new(g||_)(c.KVO(D.a0))},_.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),T})()},3649:(be,ee,E)=>{"use strict";E.d(ee,{$i:()=>C,Ag:()=>a,Q$:()=>_,ob:()=>S,zE:()=>c});let a=(()=>{var T;class w{constructor(){this.id="",this.type=w.TYPE_USER}}return(T=w).TYPE_SYSTEM="System",T.TYPE_USER="User",w})();class S{}class c{ProducerData(){this.id="",this.pid="",this.ver=""}}class C{constructor(w,g,F){this.id=w,this.type=g,this.version=F}setRollup(w){this.rollup=w}}var _;!function(T){let w=(()=>{class k{constructor(R){this.ver=k.TELEMETRY_VERSION,this.eid=R,this.ets=Date.now(),this.actor=new a,this.context=new S,this.edata={}}}return k.TELEMETRY_VERSION="3.0",k})();T.Telemetry=w,T.Interact=(()=>{class k extends w{constructor(R,U,j,K,oe,ve,te,se="",m="",n="",o={},u=[]){super(k.EID),this.edata={type:R,subtype:U,...j?{id:j}:{},...K?{pageid:K}:{},extra:{...oe?{pos:oe}:{},...ve?{values:[ve]}:{}}},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 w{constructor(R,U,j,K,oe,ve,te="",se="",m="",n={},o=[]){super(k.EID),this.edata={...R?{type:R}:{},...j?{duration:j}:{},...K?{pageid:K}:{},...U?{mode:U}:{},...oe?{summaryList:oe}:{}},this.context.cdata=o,this.context.env=ve,this.object=new C(te,se,m),this.object.rollup=n}}return k.EID="END",k})(),T.Start=(()=>{class k extends w{constructor(R="",U,j,K,oe,ve,te,se="",m="",n="",o={},u=[]){super(k.EID),this.edata={...R?{type:R}:{type:""},...U?{dspec:U}:{},...j?{loc:j}:{},...K?{mode:K}:{},...oe?{mode:K}:{},...ve?{pageid:ve}:{}},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 w{constructor(R,U,j,K,oe,ve="",te="",se="",m={},n=[]){super(k.EID),this.edata={...R?{type:R}:{type:""},...U?{subtype:U}:{},...j?{pageid:j}:{},...j?{uri:j}:{},...K?{visits:K}:{}},this.context.cdata=n,this.context.env=oe,ve&&te&&(this.object=new C(ve,te,se),m&&(this.object.rollup=m||{}))}}return k.EID="IMPRESSION",k})(),T.Search=(()=>{class k extends w{constructor(R,U,j,K,oe,ve,te=0,se=[]){super(k.EID),this.edata={...R?{type:R}:{type:""},...U?{query:U}:{},...j?{filters:j}:{},...K?{sort:K}:{},...ve?{correlationid:ve}:{},...te?{size:te}:{}},this.context.cdata=se,this.context.env=oe}}return k.EID="SEARCH",k})()}(_||(_={}))},5173:(be,ee,E)=>{"use strict";E.d(ee,{O:()=>_});class a{constructor(){this.pos=[]}}class S{constructor(){this.env=""}}class p{constructor(){this.env=""}}class O{constructor(){this.env=""}}class c{}var D=E(4438),C=E(2904);let _=(()=>{var T;class w{constructor(F){this.telemetryService=F}generateInteractTelemetry(F,A,B,P,$,k,M,R,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!==R&&(j.correlationData=R),$&&$.id&&(j.objId=$.id),$&&$.type&&(j.objType=$.type),$&&$.version&&(j.objVer=$.version+""),this.telemetryService.interact(j).subscribe()}generateImpressionTelemetry(F,A,B,P,$,k,M,R,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!==R&&(j.rollup=R),void 0!==U&&(j.correlationData=U),this.telemetryService.impression(j).subscribe()}generateEndTelemetry(F,A,B,P,$,k,M,R,U){const j=new O;j.type=F,j.pageId=B,j.env=P,j.mode=A,R&&(j.duration=R),$&&$.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,R){const U=new c;U.type=F,U.query=A,U.env=P,U.size=B,$&&(U.filters=$),k&&(U.sort=k),void 0!==R&&(U.correlationData=R),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=w).\u0275fac=function(F){return new(F||T)(D.KVO(C.H0))},T.\u0275prov=D.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),w})()},1765:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>d});var a=E(2814),S=E(1985),p=E(8750);const{isArray:O}=Array;var D=E(983),C=E(4360),_=E(9326);var w=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)((J,re)=>(0,$.h)(J,re,L,I,void 0,!0,V))}var M=E(6649);function R(L,I){return(0,P.N)((0,M.S)(L,I,arguments.length>=2,!1,!0))}var U=E(3703),j=E(6354),K=E(9437),oe=E(7374),ve=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(J=>J?this.processEventsBatch(I):D.w),R(()=>{},void 0),(0,g.Z)(()=>this.handleProcessedEventsBatch()),k(J=>J.syncedEventCount?this.handleProcessedEventsBatch():D.w),R((J,re)=>({syncedEventCount:J.syncedEventCount+re.syncedEventCount,syncTime:Date.now(),syncedFileSize:J.syncedFileSize+re.syncedFileSize,error:re.error?re.error:J.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)(J=>this.persistProcessedEvents(J,J.processedEventsSize).pipe((0,g.Z)(()=>this.deleteEvents(V)),(0,U.u)(V.length)))):(0,A.of)(0)))}hasTelemetryThresholdCrossed(){return(0,w.H)(this.dbService.executeQuery(`\n SELECT count(*) as COUNT FROM ${a.C.TABLE_NAME}`)).pipe((0,j.T)(I=>!0))}fetchEvents(){return(0,w.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 J=(0,te.A)();return(0,A.of)({processedEvents:this.preprocessors.reduce((re,me)=>me.process(re),{id:"ekstep.telemetry",ver:"1.0",ts:oe().format("YYYY-MM-DDTHH:mm:ss[Z]"),events:I.map(re=>JSON.parse(re[a.C.COLUMN_EVENT])),params:{did:V,msgid:J,key:"",requesterId:""}}),processedEventsSize:I.length,messageId:J})}persistProcessedEvents({processedEvents:I,messageId:V},J){return I?(0,w.H)(this.dbService.save(ve.K.insertQuery(),{[ve.K.COLUMN_NAME_MSG_ID]:V,[ve.K.COLUMN_NAME_NUMBER_OF_EVENTS]:J,[ve.K.COLUMN_NAME_PRIORITY]:1,[ve.K.COLUMN_NAME_DATA]:I})).pipe((0,U.u)(void 0)):(0,A.of)(void 0)}deleteEvents(I){return I.length?(0,w.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)(J=>this.deleteProcessedEvent(V).pipe((0,U.u)(J||{syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})))))).pipe()}fetchProcessedEventsBatch(){return(0,w.H)(this.dbService.executeQuery(`SELECT * FROM ${ve.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[ve.K.COLUMN_NAME_DATA])).build();return this.apiService.fetch(V).pipe((0,j.T)(()=>({syncedEventCount:I[ve.K.COLUMN_NAME_NUMBER_OF_EVENTS],syncTime:Date.now(),syncedFileSize:0})),(0,K.W)(J=>(0,A.of)({syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0,error:J})))}deleteProcessedEvent(I){return I?(0,w.H)(this.dbService.executeQuery(`DELETE FROM ${ve.K.TABLE_NAME} WHERE ${ve.K._ID}='${I[ve.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(J,re,me,Me,Q){this.dbService=J,this.storageService=re,this.utilService=me,this.apiService=Me,this.decorator=Q,this.deviceId="",B.p.getId().then(ae=>(this.deviceId=ae.identifier,this.deviceId))}start({type:J,deviceSpecification:re,loc:me,mode:Me,duration:Q,pageId:ae,env:tt,objId:Re,objType:pe,objVer:Ie,rollup:Se,correlationData:ie}){const ne=new u.Q$.Start(J,re,me,Me,Q,ae,tt,Re,pe,Ie,Se,ie);return this.decorateAndPersist(ne)}end({type:J,mode:re,duration:me,pageId:Me,summaryList:Q,env:ae,objId:tt,objType:Re,objVer:pe,rollup:Ie,correlationData:Se}){const ie=new u.Q$.End(J,re,me,Me,Q,ae,tt,Re,pe,Ie,Se);return this.decorateAndPersist(ie)}interact({type:J,subType:re,id:me,pageId:Me,pos:Q,env:ae,rollup:tt,valueMap:Re,correlationData:pe,objId:Ie,objType:Se,objVer:ie}){const ne=new u.Q$.Interact(J,re,me,Me,Q,Re,ae,Ie,Se,ie,tt,pe);return this.decorateAndPersist(ne)}impression({type:J,subType:re,pageId:me,env:Me,objId:Q,objType:ae,objVer:tt,rollup:Re,correlationData:pe}){const Ie=new u.Q$.Impression(J,re,me,[],Me,Q,ae,tt,Re,pe);return this.decorateAndPersist(Ie)}search({type:J,query:re,filters:me,sort:Me,correlationid:Q,size:ae,env:tt,correlationData:Re}){const pe=new u.Q$.Search(J,re,me,Me,tt,Q,ae,Re);return this.decorateAndPersist(pe)}decorateAndPersist(J){let re="";const me=localStorage.getItem("subDomain");return re=null!=me?me:new URL(document.baseURI).hostname,function T(...L){const I=(0,_.ms)(L),V=function c(L){return 1===L.length&&O(L[0])?L[0]:L}(L);return V.length?new S.c(J=>{let re=V.map(()=>[]),me=V.map(()=>!1);J.add(()=>{re=me=null});for(let Me=0;!J.closed&&Me{if(re[Me].push(Q),re.every(ae=>ae.length)){const ae=re.map(tt=>tt.shift());J.next(I?I(...ae):ae),re.some((tt,Re)=>!tt.length&&me[Re])&&J.complete()}},()=>{me[Me]=!0,!re[Me].length&&J.complete()}));return()=>{re=me=null}}):D.w}((0,w.H)(this.utilService.getAppInfo()),(0,w.H)(this.utilService.getDeviceId())).pipe((0,g.Z)(Me=>{const Q=Me[0].version,ae=Me[1];return(0,w.H)(this.storageService.getData("sid")).pipe((0,g.Z)(tt=>{const Re=this.decorator.prepare(this.decorator.decorate(J,null!=tt?tt:"",ae,(0,te.A)(),Q,re,[]),1);return console.log("Telemetry Generated",J),this.dbService.save(a.C.insertData(),Re)}))}))}saveTelemetry(J){return(0,F.v)(()=>{try{const re=JSON.parse(J);return this.decorateAndPersist(re)}catch(re){return console.error(re),(0,A.of)(!1)}})}sync(){return new o(this.dbService,this.apiService).handle(this.deviceId)}}return(L=I).\u0275fac=function(J){return new(J||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:(be,ee,E)=>{"use strict";E.d(ee,{a:()=>w});var a=E(467),S=E(8941),p=E(9316),O=E(9986),D=E(5083),C=E(4438),_=E(5402),T=E(8974);let w=(()=>{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 O(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(_.c$),C.KVO(T.Xi))},g.\u0275prov=C.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),F})()},6313:(be,ee,E)=>{"use strict";var a=E(467),S=E(345),p=E(4438),O=E(3021),c=E(4517),D=E(8974),C=E(8941),_=E(5402),T=E(2904),w=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 Ye=Ne.$implicit;p.R7$(2),p.JRh(Ye.label),p.R7$(),p.FS9("value",Ye.id)}}let A=(()=>{var He;class Ne{constructor(Fe,ht,Ht,gn){this.translateService=Fe,this.navParams=ht,this.modalCtrl=Ht,this.storage=gn,this.selectedLanguage=""}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.languages=[],Fe.languages=Fe.navParams.get("languages");let ht=yield Fe.storage.getData("lang");console.log("current lang ",ht),Fe.selectedLanguage=ht})()}languageSelected(Fe){let ht=Fe.detail.value;console.log("Current value:",JSON.stringify(ht)),this.storage.setData("lang",ht),this.translateService.use(ht),this.selectedLanguage=ht,this.dismissModal()}dismissModal(){this.modalCtrl.dismiss()}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.rXU(_.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,ht){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(ht.selectedLanguage,gn)||(ht.selectedLanguage=gn),gn}),p.bIt("ionChange",function(gn){return ht.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",ht.selectedLanguage),p.R7$(2),p.Y8G("ngForOf",ht.languages))},dependencies:[w.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,_.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 R(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"ion-button",13),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.reset())}),p.nrm(1,"ion-icon",14),p.EFF(2," Reset "),p.k0s()}}function U(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"ion-button",15),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.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 Ye=p.XpG();p.R7$(5),p.SpI(" ",Ye.scanResult," ")}}function K(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.openLink())}),p.EFF(2),p.nI1(3,"translate"),p.k0s(),p.j41(4,"ion-button",18),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.close())}),p.EFF(5,"Close"),p.k0s()()}2&He&&(p.R7$(2),p.JRh(p.bMT(3,1,"OPEN_IN_BROWSER")))}function oe(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.close())}),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}2&He&&(p.R7$(2),p.JRh(p.bMT(3,1,"CLOSE")))}let ve=(()=>{var He;class Ne{constructor(Fe,ht,Ht,gn,Dn){this.navParams=Fe,this.modalCtrl=ht,this.toastCtrl=Ht,this.loadingCtrl=gn,this.plt=Dn,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 ht=yield navigator.mediaDevices.getUserMedia({video:{facingMode:"environment"}});Fe.videoElement.srcObject=ht,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),gn=P()(Ht.data,Ht.width,Ht.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(ht){console.error("Error accessing camera:",ht)}})()}captureImage(){this.fileinput.nativeElement.click()}handleFile(Fe){const ht=Fe.target;if(ht instanceof HTMLInputElement&&ht.files&&ht.files.length>0){const gn=ht.files[0];var Ht=new Image;Ht.onload=()=>{this.canvasContext.drawImage(Ht,0,0,this.canvasElement.width,this.canvasElement.height);const Dn=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Wn=P()(Dn.data,Dn.width,Dn.height,{inversionAttempts:"dontInvert"});Wn&&(this.scanResult=Wn.data,this.showQrToast())},Ht.src=URL.createObjectURL(gn)}}}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,ht){if(1&Fe&&(p.GBs($,5),p.GBs(k,5),p.GBs(M,5)),2&Fe){let Ht;p.mGM(Ht=p.lsd())&&(ht.video=Ht.first),p.mGM(Ht=p.lsd())&&(ht.canvas=Ht.first),p.mGM(Ht=p.lsd())&&(ht.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,ht){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(ht.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(ht.startScan())}),p.nrm(9,"ion-icon",7),p.EFF(10," Start scan "),p.k0s(),p.DNE(11,R,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,K,6,3,"div",12)(19,oe,4,3,"div",12),p.k0s()}2&Fe&&(p.R7$(2),p.JRh(ht.scanText),p.R7$(9),p.Y8G("ngIf",ht.scanResult),p.R7$(),p.Y8G("hidden",!ht.scanActive),p.R7$(4),p.Y8G("ngIf",ht.scanActive),p.R7$(),p.Y8G("ngIf",ht.scanResult),p.R7$(),p.Y8G("ngIf",ht.isValidURL),p.R7$(),p.Y8G("ngIf",!ht.isValidURL))},dependencies:[w.bT,D.Jm,D.b_,D.I9,D.ME,D.tN,D.iq,_.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(3568),se=E(8359);class m extends se.yU{constructor(Ne,Ye){super()}schedule(Ne,Ye=0){return this}}const n={setInterval(He,Ne,...Ye){const{delegate:Fe}=n;return null!=Fe&&Fe.setInterval?Fe.setInterval(He,Ne,...Ye):setInterval(He,Ne,...Ye)},clearInterval(He){const{delegate:Ne}=n;return((null==Ne?void 0:Ne.clearInterval)||clearInterval)(He)},delegate:void 0};var o=E(7908),s=E(6129);class h{constructor(Ne,Ye=h.now){this.schedulerActionCtor=Ne,this.now=Ye}schedule(Ne,Ye=0,Fe){return new this.schedulerActionCtor(this,Ne).schedule(Fe,Ye)}}h.now=s.U.now;const y=new class v extends h{constructor(Ne,Ye=h.now){super(Ne,Ye),this.actions=[],this._active=!1}flush(Ne){const{actions:Ye}=this;if(this._active)return void Ye.push(Ne);let Fe;this._active=!0;do{if(Fe=Ne.execute(Ne.state,Ne.delay))break}while(Ne=Ye.shift());if(this._active=!1,Fe){for(;Ne=Ye.shift();)Ne.unsubscribe();throw Fe}}}(class u extends m{constructor(Ne,Ye){super(Ne,Ye),this.scheduler=Ne,this.work=Ye,this.pending=!1}schedule(Ne,Ye=0){var Fe;if(this.closed)return this;this.state=Ne;const ht=this.id,Ht=this.scheduler;return null!=ht&&(this.id=this.recycleAsyncId(Ht,ht,Ye)),this.pending=!0,this.delay=Ye,this.id=null!==(Fe=this.id)&&void 0!==Fe?Fe:this.requestAsyncId(Ht,this.id,Ye),this}requestAsyncId(Ne,Ye,Fe=0){return n.setInterval(Ne.flush.bind(Ne,this),Fe)}recycleAsyncId(Ne,Ye,Fe=0){if(null!=Fe&&this.delay===Fe&&!1===this.pending)return Ye;null!=Ye&&n.clearInterval(Ye)}execute(Ne,Ye){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Fe=this._execute(Ne,Ye);if(Fe)return Fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Ne,Ye){let ht,Fe=!1;try{this.work(Ne)}catch(Ht){Fe=!0,ht=Ht||new Error("Scheduled action threw falsy error")}if(Fe)return this.unsubscribe(),ht}unsubscribe(){if(!this.closed){const{id:Ne,scheduler:Ye}=this,{actions:Fe}=Ye;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.o)(Fe,this),null!=Ne&&(this.id=this.recycleAsyncId(Ye,Ne,null)),this.delay=null,super.unsubscribe()}}}),f=y;var r=E(1985),d=E(9470);function I(He=0,Ne,Ye=f){let Fe=-1;return null!=Ne&&((0,d.m)(Ne)?Ye=Ne:Fe=Ne),new r.c(ht=>{let Ht=function L(He){return He instanceof Date&&!isNaN(He)}(He)?+He-Ye.now():He;Ht<0&&(Ht=0);let gn=0;return Ye.schedule(function(){ht.closed||(ht.next(gn++),0<=Fe?this.schedule(void 0,Fe):ht.complete())},Ht)})}var J=E(7673),re=E(8141),me=E(5964),Me=E(9437),Q=E(3703);let ae=(()=>{var He;class Ne{constructor(Fe){this.telemetryService=Fe,this.shouldSync=!1}start(Fe){return this.shouldSync=!0,function V(He=0,Ne=y){return He<0&&(He=0),I(He,He,Ne)}(Fe).pipe((0,re.M)(ht=>{}),(0,me.p)(()=>this.shouldSync),(0,re.M)(()=>this.telemetryService.sync().pipe((0,re.M)(ht=>{}),(0,Me.W)(ht=>(console.error(ht),(0,J.of)(void 0)))).toPromise()),(0,Q.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 tt=E(2771),Re=E(1635),Ie=E(3726),Se={error:"cordova_not_available"},ie={error:"plugin_not_installed"};function ne(He){if(typeof window<"u"&&window.angular){var Ye=window.document,Fe=window.angular.element(Ye.querySelector("[ng-app]")||Ye.body).injector();if(Fe)return Fe.get("$q")(function(Ht,gn){He(Ht,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(Ht,gn){He(Ht,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 rt(He,Ne,Ye){var Fe,ht;"string"==typeof He?Fe=He:(Fe=He.constructor.getPluginRef(),Ye=He.constructor.getPluginName(),ht=He.constructor.getPluginInstallName());var Ht=wt(Fe);return!(!Ht||Ne&&typeof Ht[Ne]>"u")||(typeof window>"u"||!window.cordova?(function St(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")}(Ye,Ne),Se):(function En(He,Ne,Ye){console.warn(Ye?"Native: tried calling "+He+"."+Ye+", 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+"'")}(Ye,ht,Ne),ie))}function ft(He,Ne,Ye,Fe,ht,Ht){void 0===Fe&&(Fe={}),Ye=function gt(He,Ne,Ye,Fe){if(void 0===Ne&&(Ne={}),Ne.sync)return He;if("reverse"===Ne.callbackOrder)He.unshift(Fe),He.unshift(Ye);else if("node"===Ne.callbackStyle)He.push(function(Dn,Wn){Dn?Fe(Dn):Ye(Wn)});else if("object"===Ne.callbackStyle&&Ne.successName&&Ne.errorName){var ht={};ht[Ne.successName]=Ye,ht[Ne.errorName]=Fe,He.push(ht)}else if(typeof Ne.successIndex<"u"||typeof Ne.errorIndex<"u"){var Ht=function(){Ne.successIndex>He.length?He[Ne.successIndex]=Ye:He.splice(Ne.successIndex,0,Ye)},gn=function(){Ne.errorIndex>He.length?He[Ne.errorIndex]=Fe:He.splice(Ne.errorIndex,0,Fe)};Ne.successIndex>Ne.errorIndex?(gn(),Ht()):(Ht(),gn())}else He.push(Ye),He.push(Fe);return He}(Ye,Fe,ht,Ht);var gn=rt(He,Ne);if(!0===gn){var Dn=wt(He.constructor.getPluginRef());return Dn[Ne].apply(Dn,Ye)}return gn}function wt(He){return typeof window<"u"?Pt(window,He):null}function Pt(He,Ne){for(var Ye=Ne.split("."),Fe=He,ht=0;ht"u"){var He=typeof window<"u"?window:{},Ye=Date.now(),Fe=!1;He.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-Ye)+" 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 Ut=function(He){function Ne(){var Ye=null!==He&&He.apply(this,arguments)||this;return Ye.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"},Ye.locationAuthorizationMode={ALWAYS:"always",WHEN_IN_USE:"when_in_use"},Ye.locationAccuracyAuthorization={FULL:"full",REDUCED:"reduced"},Ye.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"]},Ye.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},Ye.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"},Ye.photoLibraryAccessLevel={ADD_ONLY:"add_only",READ_WRITE:"read_write"},Ye}return(0,Re.C6)(Ne,He),Ne.prototype.isLocationAvailable=function(){return st(this,"isLocationAvailable",{},arguments)},Ne.prototype.isWifiAvailable=function(){return st(this,"isWifiAvailable",{},arguments)},Ne.prototype.isCameraAvailable=function(Ye){return st(this,"isCameraAvailable",{callbackOrder:"reverse"},arguments)},Ne.prototype.isBluetoothAvailable=function(){return st(this,"isBluetoothAvailable",{},arguments)},Ne.prototype.switchToLocationSettings=function(){return st(this,"switchToLocationSettings",{sync:!0,platforms:["Android","Windows 10","iOS"]},arguments)},Ne.prototype.switchToMobileDataSettings=function(){return st(this,"switchToMobileDataSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.switchToBluetoothSettings=function(){return st(this,"switchToBluetoothSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.switchToWifiSettings=function(){return st(this,"switchToWifiSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Ne.prototype.isWifiEnabled=function(){return st(this,"isWifiEnabled",{platforms:["Android","Windows 10"]},arguments)},Ne.prototype.setWifiState=function(Ye){return st(this,"setWifiState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Ne.prototype.setBluetoothState=function(Ye){return st(this,"setBluetoothState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Ne.prototype.enableDebug=function(){return st(this,"enableDebug",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isLocationEnabled=function(){return st(this,"isLocationEnabled",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isLocationAuthorized=function(){return st(this,"isLocationAuthorized",{},arguments)},Ne.prototype.getLocationAuthorizationStatus=function(){return st(this,"getLocationAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getLocationAuthorizationStatuses=function(){return st(this,"getLocationAuthorizationStatuses",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestLocationAuthorization=function(Ye,Fe){return st(this,"requestLocationAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.isCameraPresent=function(){return st(this,"isCameraPresent",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isCameraAuthorized=function(Ye){return st(this,"isCameraAuthorized",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.getCameraAuthorizationStatus=function(Ye){return st(this,"getCameraAuthorizationStatus",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestCameraAuthorization=function(Ye){return st(this,"requestCameraAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.isMicrophoneAuthorized=function(){return st(this,"isMicrophoneAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getMicrophoneAuthorizationStatus=function(){return st(this,"getMicrophoneAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestMicrophoneAuthorization=function(){return st(this,"requestMicrophoneAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isContactsAuthorized=function(){return st(this,"isContactsAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getContactsAuthorizationStatus=function(){return st(this,"getContactsAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestContactsAuthorization=function(){return st(this,"requestContactsAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.isCalendarAuthorized=function(){return st(this,"isCalendarAuthorized",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getCalendarAuthorizationStatus=function(){return st(this,"getCalendarAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.requestCalendarAuthorization=function(){return st(this,"requestCalendarAuthorization",{platforms:["Android","iOS"]},arguments)},Ne.prototype.switchToSettings=function(){return st(this,"switchToSettings",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getBluetoothState=function(){return st(this,"getBluetoothState",{platforms:["Android","iOS"]},arguments)},Ne.prototype.registerBluetoothStateChangeHandler=function(Ye){return st(this,"registerBluetoothStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Ne.prototype.registerLocationStateChangeHandler=function(Ye){return st(this,"registerLocationStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Ne.prototype.getArchitecture=function(){return st(this,"getArchitecture",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getCurrentBatteryLevel=function(){return st(this,"getCurrentBatteryLevel",{platforms:["Android","iOS"]},arguments)},Ne.prototype.restart=function(Ye){return st(this,"restart",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.isGpsLocationAvailable=function(){return st(this,"isGpsLocationAvailable",{platforms:["Android"]},arguments)},Ne.prototype.isGpsLocationEnabled=function(){return st(this,"isGpsLocationEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isNetworkLocationAvailable=function(){return st(this,"isNetworkLocationAvailable",{platforms:["Android"]},arguments)},Ne.prototype.isNetworkLocationEnabled=function(){return st(this,"isNetworkLocationEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isAirplaneModeEnabled=function(){return st(this,"isAirplaneModeEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isMobileDataEnabled=function(){return st(this,"isMobileDataEnabled",{platforms:["Android"]},arguments)},Ne.prototype.getLocationMode=function(){return st(this,"getLocationMode",{platforms:["Android"]},arguments)},Ne.prototype.getDeviceOSVersion=function(){return st(this,"getDeviceOSVersion",{platforms:["Android"]},arguments)},Ne.prototype.getBuildOSVersion=function(){return st(this,"getBuildOSVersion",{platforms:["Android"]},arguments)},Ne.prototype.getPermissionAuthorizationStatus=function(Ye){return st(this,"getPermissionAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.getPermissionsAuthorizationStatus=function(Ye){return st(this,"getPermissionsAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestRuntimePermission=function(Ye){return st(this,"requestRuntimePermission",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestRuntimePermissions=function(Ye){return st(this,"requestRuntimePermissions",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Ne.prototype.isRequestingPermission=function(){return st(this,"isRequestingPermission",{sync:!0},arguments)},Ne.prototype.registerPermissionRequestCompleteHandler=function(Ye){return st(this,"registerPermissionRequestCompleteHandler",{sync:!0},arguments)},Ne.prototype.isBluetoothEnabled=function(){return st(this,"isBluetoothEnabled",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothSupport=function(){return st(this,"hasBluetoothSupport",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothLESupport=function(){return st(this,"hasBluetoothLESupport",{platforms:["Android"]},arguments)},Ne.prototype.hasBluetoothLEPeripheralSupport=function(){return st(this,"hasBluetoothLEPeripheralSupport",{platforms:["Android"]},arguments)},Ne.prototype.getBluetoothAuthorizationStatus=function(){return st(this,"getBluetoothAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Ne.prototype.getBluetoothAuthorizationStatuses=function(){return st(this,"getBluetoothAuthorizationStatuses",{platforms:["Android"]},arguments)},Ne.prototype.isExternalStorageAuthorized=function(){return st(this,"isExternalStorageAuthorized",{platforms:["Android"]},arguments)},Ne.prototype.getExternalStorageAuthorizationStatus=function(){return st(this,"getExternalStorageAuthorizationStatus",{platforms:["Android"]},arguments)},Ne.prototype.requestExternalStorageAuthorization=function(){return st(this,"requestExternalStorageAuthorization",{platforms:["Android"]},arguments)},Ne.prototype.getExternalSdCardDetails=function(){return st(this,"getExternalSdCardDetails",{platforms:["Android"]},arguments)},Ne.prototype.switchToWirelessSettings=function(){return st(this,"switchToWirelessSettings",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.switchToNFCSettings=function(){return st(this,"switchToNFCSettings",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.isNFCPresent=function(){return st(this,"isNFCPresent",{platforms:["Android"]},arguments)},Ne.prototype.isNFCEnabled=function(){return st(this,"isNFCEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isNFCAvailable=function(){return st(this,"isNFCAvailable",{platforms:["Android"]},arguments)},Ne.prototype.registerNFCStateChangeHandler=function(Ye){return st(this,"registerNFCStateChangeHandler",{platforms:["Android"],sync:!0},arguments)},Ne.prototype.isDataRoamingEnabled=function(){return st(this,"isDataRoamingEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isADBModeEnabled=function(){return st(this,"isADBModeEnabled",{platforms:["Android"]},arguments)},Ne.prototype.isDeviceRooted=function(){return st(this,"isDeviceRooted",{platforms:["Android"]},arguments)},Ne.prototype.isCameraRollAuthorized=function(Ye){return st(this,"isCameraRollAuthorized",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.getCameraRollAuthorizationStatus=function(Ye){return st(this,"getCameraRollAuthorizationStatus",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.requestCameraRollAuthorization=function(Ye){return st(this,"requestCameraRollAuthorization",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Ne.prototype.presentLimitedLibraryPicker=function(){return st(this,"presentLimitedLibraryPicker",{platforms:["iOS"]},arguments)},Ne.prototype.isRemoteNotificationsEnabled=function(){return st(this,"isRemoteNotificationsEnabled",{platforms:["iOS","Android"]},arguments)},Ne.prototype.isRegisteredForRemoteNotifications=function(){return st(this,"isRegisteredForRemoteNotifications",{platforms:["iOS"]},arguments)},Ne.prototype.getRemoteNotificationsAuthorizationStatus=function(){return st(this,"getRemoteNotificationsAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestRemoteNotificationsAuthorization=function(Ye,Fe){return st(this,"requestRemoteNotificationsAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.getRemoteNotificationTypes=function(){return st(this,"getRemoteNotificationTypes",{platforms:["iOS"]},arguments)},Ne.prototype.isRemindersAuthorized=function(){return st(this,"isRemindersAuthorized",{platforms:["iOS"]},arguments)},Ne.prototype.getRemindersAuthorizationStatus=function(){return st(this,"getRemindersAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestRemindersAuthorization=function(){return st(this,"requestRemindersAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.isBackgroundRefreshAuthorized=function(){return st(this,"isBackgroundRefreshAuthorized",{platforms:["iOS"]},arguments)},Ne.prototype.getBackgroundRefreshStatus=function(){return st(this,"getBackgroundRefreshStatus",{platforms:["iOS"]},arguments)},Ne.prototype.requestBluetoothAuthorization=function(){return st(this,"requestBluetoothAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.isMotionAvailable=function(){return st(this,"isMotionAvailable",{platforms:["iOS"]},arguments)},Ne.prototype.isMotionRequestOutcomeAvailable=function(){return st(this,"isMotionRequestOutcomeAvailable",{platforms:["iOS"]},arguments)},Ne.prototype.requestMotionAuthorization=function(){return st(this,"requestMotionAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.getMotionAuthorizationStatus=function(){return st(this,"getMotionAuthorizationStatus",{platforms:["iOS"]},arguments)},Ne.prototype.getLocationAccuracyAuthorization=function(){return st(this,"getLocationAccuracyAuthorization",{platforms:["iOS","Android"]},arguments)},Ne.prototype.requestTemporaryFullAccuracyAuthorization=function(Ye){return st(this,"requestTemporaryFullAccuracyAuthorization",{platforms:["iOS"]},arguments)},Ne.prototype.registerLocationAccuracyAuthorizationChangeHandler=function(Ye){return st(this,"registerLocationAccuracyAuthorizationChangeHandler",{platforms:["iOS"],sync:!0},arguments)},Object.defineProperty(Ne.prototype,"permissionStatus",{get:function(){return Ot(this,"permissionStatus")},set:function(Ye){Ln(this,"permissionStatus",Ye)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"NFCState",{get:function(){return Ot(this,"NFCState")},set:function(Ye){Ln(this,"NFCState",Ye)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"cpuArchitecture",{get:function(){return Ot(this,"cpuArchitecture")},set:function(Ye){Ln(this,"cpuArchitecture",Ye)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"remoteNotificationType",{get:function(){return Ot(this,"remoteNotificationType")},set:function(Ye){Ln(this,"remoteNotificationType",Ye)},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"motionStatus",{get:function(){return Ot(this,"motionStatus")},set:function(Ye){Ln(this,"motionStatus",Ye)},enumerable:!1,configurable:!0}),Ne.\u0275fac=(()=>{let Ye;return function(ht){return(Ye||(Ye=p.xGo(Ne)))(ht||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,Re.Cg)([],Ne)}(Cn),Le=function(He){return He.GRANTED="GRANTED",He.NOT_REQUESTED="NOT_REQUESTED",He.DENIED_ALWAYS="DENIED_ALWAYS",He.DENIED="DENIED",He.UNKNOWN="UNKNOWN",He}(Le||{}),_e=function(He){return He.CAMERA="CAMERA",He.MICROPHONE="MICROPHONE",He}(_e||{});let De=(()=>{var He;class Ne{constructor(Fe,ht){this.platform=Fe,this.diagnostic=ht}hasCameraPermission(){var Fe=this;return(0,a.A)(function*(){const ht=yield Fe.diagnostic.getCameraAuthorizationStatus(!1);return Fe.getPermissionStatus(ht)})()}hasMicrophonePermission(){var Fe=this;return(0,a.A)(function*(){const ht=yield Fe.diagnostic.getMicrophoneAuthorizationStatus();return Fe.getPermissionStatus(ht)})()}requestPermissions(Fe){var ht=this;return(0,a.A)(function*(){if(ht.platform.is("android")){const Ht=[];Fe.indexOf(_e.CAMERA)>=0&&Ht.push(ht.diagnostic.permission.CAMERA),Fe.indexOf(_e.MICROPHONE)>=0&&Ht.push(ht.diagnostic.permission.RECORD_AUDIO),yield ht.diagnostic.requestRuntimePermissions(Ht)}else ht.platform.is("ios")?(Fe.indexOf(_e.CAMERA)>=0&&(yield ht.diagnostic.requestCameraAuthorization(!1)),Fe.indexOf(_e.MICROPHONE)>=0&&(yield ht.diagnostic.requestMicrophoneAuthorization())):console.warn("requesting permission in browser")})()}userRequestsPermissions(Fe){var ht=this;return(0,a.A)(function*(){let Ht=!1;for(const gn of Fe)Ht=(yield ht.canAskForPermission(gn))||Ht;Ht&&(yield ht.requestPermissions(Fe))})()}canAskForPermission(Fe){var ht=this;return(0,a.A)(function*(){let Ht=!0;return ht.platform.is("android")?Fe===_e.CAMERA?Ht=(yield ht.hasCameraPermission())!==Le.DENIED_ALWAYS:Fe===_e.MICROPHONE&&(Ht=(yield ht.hasMicrophonePermission())!==Le.DENIED_ALWAYS):ht.platform.is("ios")&&(Fe===_e.CAMERA?Ht=(yield ht.hasCameraPermission())!==Le.DENIED:Fe===_e.MICROPHONE&&(Ht=(yield ht.hasMicrophonePermission())!==Le.DENIED)),Ht})()}getPermissionStatus(Fe){var ht=this;return(0,a.A)(function*(){return ht.isGranted(Fe)?Le.GRANTED:ht.isNotRequested(Fe)?Le.NOT_REQUESTED:ht.isDeniedAlways(Fe)?Le.DENIED_ALWAYS:ht.isDenied(Fe)?Le.DENIED:Le.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(Ut))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),Ne})();var Ae=E(2342);let Ze=(()=>{var He;class Ne{constructor(Fe,ht,Ht){this.platform=Fe,this.utilService=ht,this.permissionsService=Ht,this.hasCameras=!1,this.isActive=!1,this._hasCameraPermission=new tt.m,this.hasCameraPermission=this._hasCameraPermission.asObservable()}requestPermission(Fe,ht){var Ht=this;return(0,a.A)(function*(){yield Ht.permissionsService.userRequestsPermissions([_e.CAMERA]),yield Ht.checkCameraPermissionsAndActivate(Fe,ht)})()}checkCameraPermissionsAndActivate(Fe,ht){var Ht=this;return(0,a.A)(function*(){(yield Ht.permissionsService.hasCameraPermission())===Le.GRANTED?(document.body.style.backgroundColor="transparent",Ht._hasCameraPermission.next(!0),Ht.startScan(Fe,ht)):Ht._hasCameraPermission.next(!1)})()}startScan(Fe,ht=null){this.scan(Fe,ht)}checkScan(Fe){console.error(`The checkScan method needs to be overwritten. Ignoring text ${Fe}`)}scan(Fe,ht=null){var Ht=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 Dn=(0,a.A)(function*(Wn){Fe(Wn),Ht.stopScanner()});return function(Wn){return Dn.apply(this,arguments)}}(),Dn=>{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(Ae.a),p.KVO(De))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),Ne})();var Ue=E(9030),it=E(8810),Pe=E(8793),Be=E(1413),Ve=E(5343);const yt=new r.c(Ve.l);var lt=E(6365),Qt=E(8750),Ct=E(983),mt=E(9326),Kt=E(6648);function Rt(...He){const Ne=(0,mt.lI)(He),Ye=(0,mt.R0)(He,1/0),Fe=He;return Fe.length?1===Fe.length?(0,Qt.Tg)(Fe[0]):(0,lt.U)(Ye)((0,Kt.H)(Fe,Ne)):Ct.w}var Ft=E(6354),Pn=E(5558),wn=E(17),_n=E(8071),bn=E(9974);const Un={connector:()=>new Be.B};function Fn(He,Ne=Un){const{connector:Ye}=Ne;return(0,bn.N)((Fe,ht)=>{const Ht=Ye();(0,Qt.Tg)(He(function zn(He){return new r.c(Ne=>He.subscribe(Ne))}(Ht))).subscribe(ht),ht.add(Fe.subscribe(Ht))})}var $n=E(6697),jn=E(4360),ut=E(3028);function It(He,Ne){return Ne?Ye=>(0,Pe.x)(Ne.pipe((0,$n.s)(1),function je(){return(0,bn.N)((He,Ne)=>{He.subscribe((0,jn._)(Ne,Ve.l))})}()),Ye.pipe(It(He))):(0,ut.Z)((Ye,Fe)=>(0,Qt.Tg)(He(Ye,Fe)).pipe((0,$n.s)(1),(0,Q.u)(Ye)))}const Nt="Service workers are disabled or not supported by this browser";class qt{constructor(Ne){if(this.serviceWorker=Ne,Ne){const Fe=(0,Ie.R)(Ne,"controllerchange").pipe((0,Ft.T)(()=>Ne.controller)),ht=(0,Ue.v)(()=>(0,J.of)(Ne.controller)),Ht=(0,Pe.x)(ht,Fe);this.worker=Ht.pipe((0,me.p)(nr=>!!nr)),this.registration=this.worker.pipe((0,Pn.n)(()=>Ne.getRegistration()));const ar=(0,Ie.R)(Ne,"message").pipe((0,Ft.T)(nr=>nr.data)).pipe((0,me.p)(nr=>nr&&nr.type)).pipe(function Kn(He){return He?Ne=>Fn(He)(Ne):Ne=>function kn(He,Ne){const Ye=(0,_n.T)(He)?He:()=>He;return(0,_n.T)(Ne)?Fn(Ne,{connector:Ye}):Fe=>new wn.G(Fe,Ye)}(new Be.B)(Ne)}());ar.connect(),this.events=ar}else this.worker=this.events=this.registration=function Zt(He){return(0,Ue.v)(()=>(0,it.$)(new Error(He)))}(Nt)}postMessage(Ne,Ye){return this.worker.pipe((0,$n.s)(1),(0,re.M)(Fe=>{Fe.postMessage({action:Ne,...Ye})})).toPromise().then(()=>{})}postMessageWithOperation(Ne,Ye,Fe){const ht=this.waitForOperationCompleted(Fe),Ht=this.postMessage(Ne,Ye);return Promise.all([Ht,ht]).then(([,gn])=>gn)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Ne){let Ye;return Ye="string"==typeof Ne?Fe=>Fe.type===Ne:Fe=>Ne.includes(Fe.type),this.events.pipe((0,me.p)(Ye))}nextEventOfType(Ne){return this.eventsOfType(Ne).pipe((0,$n.s)(1))}waitForOperationCompleted(Ne){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,me.p)(Ye=>Ye.nonce===Ne),(0,$n.s)(1),(0,Ft.T)(Ye=>{if(void 0!==Ye.result)return Ye.result;throw new Error(Ye.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Yt=(()=>{var He;class Ne{get isEnabled(){return this.sw.isEnabled}constructor(Fe){if(this.sw=Fe,this.pushManager=null,this.subscriptionChanges=new Be.B,!Fe.isEnabled)return this.messages=yt,this.notificationClicks=yt,void(this.subscription=yt);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Ft.T)(Ht=>Ht.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Ft.T)(Ht=>Ht.data)),this.pushManager=this.sw.registration.pipe((0,Ft.T)(Ht=>Ht.pushManager));const ht=this.pushManager.pipe((0,Pn.n)(Ht=>Ht.getSubscription()));this.subscription=Rt(ht,this.subscriptionChanges)}requestSubscription(Fe){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Nt));const ht={userVisibleOnly:!0};let Ht=this.decodeBase64(Fe.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),gn=new Uint8Array(new ArrayBuffer(Ht.length));for(let Dn=0;DnDn.subscribe(ht)),(0,$n.s)(1)).toPromise().then(Dn=>(this.subscriptionChanges.next(Dn),Dn))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,$n.s)(1),(0,Pn.n)(ht=>{if(null===ht)throw new Error("Not subscribed to push notifications.");return ht.unsubscribe().then(Ht=>{if(!Ht)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Nt))}decodeBase64(Fe){return atob(Fe)}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)(p.KVO(qt))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac}),Ne})(),Tn=(()=>{var He;class Ne{get isEnabled(){return this.sw.isEnabled}constructor(Fe){if(this.sw=Fe,!Fe.isEnabled)return this.versionUpdates=yt,void(this.unrecoverable=yt);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(Nt));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(Nt));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(qt))},He.\u0275prov=p.jDH({token:He,factory:He.\u0275fac}),Ne})();const An=new p.nKC("");function Xn(He,Ne,Ye,Fe){return()=>{if(!(0,w.UE)(Fe)||!("serviceWorker"in navigator)||!1===Ye.enabled)return;let ht;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof Ye.registrationStrategy)ht=Ye.registrationStrategy();else{const[gn,...Dn]=(Ye.registrationStrategy||"registerWhenStable:30000").split(":");switch(gn){case"registerImmediately":ht=(0,J.of)(null);break;case"registerWithDelay":ht=pr(+Dn[0]||0);break;case"registerWhenStable":ht=Dn[0]?Rt(We(He),pr(+Dn[0])):We(He);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${Ye.registrationStrategy}`)}}He.get(p.SKi).runOutsideAngular(()=>ht.pipe((0,$n.s)(1)).subscribe(()=>navigator.serviceWorker.register(Ne,{scope:Ye.scope}).catch(gn=>console.error("Service worker registration failed with:",gn))))}}function pr(He){return(0,J.of)(null).pipe(function Mt(He,Ne=y){const Ye=I(He,Ne);return It(()=>Ye)}(He))}function We(He){return He.get(p.o8S).isStable.pipe((0,me.p)(Ye=>Ye))}function et(He,Ne){return new qt((0,w.UE)(Ne)&&!1!==He.enabled?navigator.serviceWorker:void 0)}class Te{}function qe(He,Ne={}){return(0,p.EmA)([Yt,Tn,{provide:An,useValue:He},{provide:Te,useValue:Ne},{provide:qt,useFactory:et,deps:[Te,p.Agw]},{provide:p.hnV,useFactory:Xn,deps:[p.zZn,An,Te,p.Agw],multi:!0}])}let bt=(()=>{var He;class Ne{static register(Fe,ht={}){return{ngModule:Ne,providers:[qe(Fe,ht)]}}}return(He=Ne).\u0275fac=function(Fe){return new(Fe||He)},He.\u0275mod=p.$C({type:He}),He.\u0275inj=p.G2t({providers:[Yt,Tn]}),Ne})();var Wt=E(446),hn=E(5173);const Et=(He,Ne)=>({title_bb:He,animate_title:Ne});function zt(He,Ne){if(1&He&&(p.j41(0,"ion-title",27),p.EFF(1),p.k0s()),2&He){const Ye=p.XpG(2);p.Y8G("ngClass",p.l_i(2,Et,null==Ye.headerConfig?null:Ye.headerConfig.showbackButton,(null==Ye.headerConfig?null:Ye.headerConfig.pageTitle)==Ye.appName)),p.R7$(),p.JRh(Ye.configVariables.siteName)}}function ye(He,Ne){if(1&He&&(p.j41(0,"ion-title",28),p.EFF(1),p.k0s()),2&He){const Ye=p.XpG(2);p.R7$(),p.JRh(Ye.headerConfig.pageTitle)}}function Ke(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 dt(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"ion-button",23),p.bIt("click",function(ht){p.eBV(Ye);const Ht=p.XpG(2);return p.Njj(Ht.emitEvent(ht,"edit"))}),p.nrm(1,"ion-icon",30),p.k0s()}}function xt(He,Ne){if(1&He){const Ye=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(ht){p.eBV(Ye);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ht,"back"))}),p.nrm(5,"ion-icon",18),p.k0s()(),p.DNE(6,zt,2,5,"ion-title",19)(7,ye,2,1,"ion-title",20)(8,Ke,3,3,"ion-input",21),p.j41(9,"ion-buttons",22)(10,"ion-button",23),p.bIt("click",function(ht){p.eBV(Ye);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ht,"search"))}),p.nrm(11,"ion-icon",24),p.k0s(),p.j41(12,"ion-button",23),p.bIt("click",function(ht){p.eBV(Ye);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ht,"profile"))}),p.nrm(13,"ion-icon",25),p.k0s()(),p.j41(14,"ion-buttons",22),p.DNE(15,dt,2,0,"ion-button",26),p.k0s()()}if(2&He){const Ye=p.XpG();p.R7$(2),p.Y8G("hidden",null==Ye.headerConfig?null:Ye.headerConfig.showbackButton),p.R7$(),p.FS9("src",Ye.configVariables.tenantLogo),p.R7$(),p.Y8G("hidden",!(null!=Ye.headerConfig&&Ye.headerConfig.showbackButton)),p.R7$(2),p.Y8G("ngIf",!(null!=Ye.headerConfig&&Ye.headerConfig.showbackButton&&((null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("search"))>=0||(null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("edit"))>=0))),p.R7$(),p.Y8G("ngIf",(null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("edit"))>=0),p.R7$(),p.Y8G("ngIf",(null==Ye.headerConfig?null:Ye.headerConfig.showbackButton)&&(null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("search"))>=0),p.R7$(),p.Y8G("hidden",null==Ye.headerConfig?null:Ye.headerConfig.showbackButton),p.R7$(5),p.Y8G("hidden",!(null!=Ye.headerConfig&&Ye.headerConfig.showbackButton)),p.R7$(),p.Y8G("ngIf",(null==Ye.headerConfig||null==Ye.headerConfig.actionButtons?null:Ye.headerConfig.actionButtons.indexOf("edit"))>=0)}}function Xt(He,Ne){1&He&&p.nrm(0,"img",39)}function $t(He,Ne){1&He&&p.nrm(0,"img",40)}function an(He,Ne){1&He&&p.nrm(0,"img",41)}function ln(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div",31)(1,"div",32),p.bIt("click",function(ht){p.eBV(Ye);const Ht=p.XpG();return p.Njj(Ht.emitEvent(ht,"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,Xt,1,0,"img",36)(8,$t,1,0,"img",37)(9,an,1,0,"img",38),p.k0s()()()}if(2&He){const Ye=p.XpG();p.R7$(),p.Y8G("ngClass","Parent Tara"===Ye.headerConfig.pageTitle||"Teacher Tara"===Ye.headerConfig.pageTitle?"question-bot":""),p.R7$(3),p.JRh(p.bMT(5,5,Ye.headerConfig.pageTitle)),p.R7$(3),p.Y8G("ngIf","Katha Sakhi"===Ye.headerConfig.pageTitle),p.R7$(),p.Y8G("ngIf","Parent Tara"===Ye.headerConfig.pageTitle),p.R7$(),p.Y8G("ngIf","Teacher Tara"===Ye.headerConfig.pageTitle)}}function fn(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div",23),p.bIt("click",function(){const ht=p.eBV(Ye).$implicit,Ht=p.XpG(2);return p.Njj(Ht.handleFilter(ht))}),p.j41(1,"ion-chip",46),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&He){const Ye=Ne.$implicit,Fe=p.XpG(2);p.R7$(),p.Y8G("ngClass",(null==Ye?null:Ye.label)==(null==Fe.defaultFilter?null:Fe.defaultFilter.label)?"active":""),p.R7$(),p.JRh(p.bMT(3,2,Ye.label))}}function un(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"div",42)(1,"ion-chip",43),p.bIt("click",function(){p.eBV(Ye);const ht=p.XpG();return p.Njj(ht.toggleMenu())}),p.nrm(2,"ion-icon",44),p.k0s(),p.DNE(3,fn,4,4,"div",45),p.k0s()}if(2&He){const Ye=p.XpG();p.R7$(3),p.Y8G("ngForOf",Ye.filters)}}function tn(He,Ne){if(1&He){const Ye=p.RV6();p.j41(0,"ion-item",47),p.bIt("click",function(ht){const Ht=p.eBV(Ye).$implicit,gn=p.XpG();return p.Njj(gn.emitSideMenuItemEvent(ht,Ht))}),p.j41(1,"ion-label",48),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&He){const Ye=Ne.$implicit,Fe=p.XpG();p.R7$(),p.Y8G("ngClass",(null==Ye?null:Ye.label)==(null==Fe.defaultFilter?null:Fe.defaultFilter.label)?"active-label":""),p.R7$(),p.JRh(p.bMT(3,2,Ye.label))}}let Mn=(()=>{var He;class Ne{constructor(Fe,ht,Ht,gn,Dn){this.utilService=Fe,this.telemetryGeneratorService=ht,this.menuCtrl=Ht,this.headerService=gn,this.modalCtrl=Dn,this.headerConfig=!1,this.headerEvents=new p.bkB,this.sideMenuItemEvent=new p.bkB,this.isMenuOpen=!1,this.filters=[],this.appVersion="",this.appName="",this.configVariables=Wt.g,C.q.getInfo().then(Wn=>{this.appVersion=`v${Wn.version}.${Wn.build}`,this.appName=Wn.name})}ngOnInit(){var Fe=this;return(0,a.A)(function*(){Fe.defaultFilter={},Fe.headerService.filterConfigEmitted$.subscribe(ht=>{Fe.filters=[],Fe.defaultFilter=ht.defaultFilter,Fe.filters.push(ht.defaultFilter),ht.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 ht=this;return(0,a.A)(function*(){ht.emitEvent(Fe,"search")})()}emitEvent(Fe,ht){"scan"==ht&&this.scan(),this.headerEvents.emit({event:Fe,name:ht})}toggleMenu(){var Fe=this;return(0,a.A)(function*(){yield Fe.menuCtrl.toggle(),Fe.isMenuOpen=yield Fe.menuCtrl.isEnabled()})()}emitSideMenuItemEvent(Fe,ht){this.menuCtrl.close().then(()=>{this.handleFilter(ht)}).catch(Ht=>{this.handleFilter(ht)})}handleFilter(Fe){this.defaultFilter=Fe,this.sideMenuItemEvent.emit({filter:Fe})}navigateToQRScreen(){var Fe=this;return(0,a.A)(function*(){const ht=yield Fe.modalCtrl.create({component:ve,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(T.a0),p.rXU(hn.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,ht){1&Fe&&(p.j41(0,"ion-header",1)(1,"ion-toolbar",2),p.DNE(2,xt,16,9,"div",3)(3,ln,10,7,"div",4)(4,un,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,tn,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!=ht.headerConfig&&ht.headerConfig.showHeader)),p.R7$(2),p.Y8G("ngIf","bot"!==(null==ht.headerConfig?null:ht.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf","bot"===(null==ht.headerConfig?null:ht.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf",!(null!=ht.headerConfig&&ht.headerConfig.showbackButton)&&"My Jaadui Pitara"!==(null==ht.headerConfig?null:ht.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",ht.filters),p.R7$(4),p.Lme("",p.bMT(18,12,"Version: ")," ",ht.appVersion,""),p.R7$(4),p.JRh(ht.configVariables.siteName))},dependencies:[w.YU,w.Sq,w.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,_.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 Bn=["mainContent"];let Rn=(()=>{var He;class Ne{constructor(Fe,ht,Ht,gn,Dn,Wn,ar,nr){this.headerService=Fe,this.telemetryAutoSyncService=ht,this.scannerService=Ht,this.popoverCtrl=gn,this.modalCtrl=Dn,this.router=Wn,this.alertController=ar,this.swUpdate=nr,this.langModalOpen=!1,this.languages=[],this.environmentInjector=(0,p.WQX)(p.uvJ),this.initializeApp()}initializeApp(){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}`)}})}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(ht=>{Fe.headerConfig=ht}),Fe.headerService.filterConfigEmitted$.subscribe(ht=>{Fe.languages=ht.languages,console.log(ht,Fe.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]),console.log(Ht[0])}handleHeaderEvents(Fe){var ht=this;return(0,a.A)(function*(){console.log("events",Fe),"scan"==Fe.name?ht.scannerService.requestPermission(Ht=>{if("cancel"===Ht||"cancel_hw_back"===Ht||"cancel_nav_back"===Ht)return;console.log("Scan Result",Ht);let gn="";const Dn=new RegExp("(/dial/(?[a-zA-Z0-9]+)|(/QR/\\?id=(?[a-zA-Z0-9]+)))").exec(Ht);Dn&&Dn.length>1&&(gn=null==Dn?void 0:Dn.groups[Object.keys(null==Dn?void 0:Dn.groups).find(Wn=>!(null==Dn||!Dn.groups[Wn]))]),console.log("Scanned Value",gn),gn?ht.router.navigate(["/qr-scan-result"],{state:{scannedData:gn}}):ht.handleInvalidQRcode(Ht)},Ht=>{console.warn(Ht)}):"profile"==Fe.name?ht.langModalOpen||(ht.presentModal(Fe),ht.langModalOpen=!0):"search"==Fe.name&&ht.router.navigate(["/search"]),ht.headerService.sidebarEvent(Fe)})()}presentModal(Fe){var ht=this;return(0,a.A)(function*(){const Ht=yield ht.popoverCtrl.create({component:A,componentProps:{languages:ht.languages},cssClass:"lang-modal",event:Fe,translucent:!0,dismissOnSelect:!0});yield Ht.present(),Ht.onDidDismiss().then(gn=>{console.log("dismiss"),ht.langModalOpen=!1,ht.headerService.sidebarEvent({name:"language"})})})()}menuItemAction(Fe){var ht=this;return(0,a.A)(function*(){ht.headerService.sideMenuItemEvents(Fe)})()}autoSyncTelemetry(){this.telemetryAutoSyncService.start(3e4).subscribe()}handleInvalidQRcode(Fe){var ht=this;return(0,a.A)(function*(){const Ht=yield ht.modalCtrl.create({component:ve,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(te.U),p.rXU(ae),p.rXU(Ze),p.rXU(D.IE),p.rXU(D.W3),p.rXU(O.Ix),p.rXU(D.hG),p.rXU(Tn))},He.\u0275cmp=p.VBU({type:He,selectors:[["app-root"]],viewQuery:function(Fe,ht){if(1&Fe&&p.GBs(Bn,5,D.Rg),2&Fe){let Ht;p.mGM(Ht=p.lsd())&&(ht.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,ht){if(1&Fe){const Ht=p.RV6();p.j41(0,"ion-app")(1,"div",1)(2,"app-application-header",2),p.bIt("headerEvents",function(Dn){return p.eBV(Ht),p.Njj(ht.handleHeaderEvents(Dn))})("sideMenuItemEvent",function(Dn){return p.eBV(Ht),p.Njj(ht.menuItemAction(Dn))}),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",ht.headerConfig),p.R7$(2),p.Y8G("swipeGesture",!1))},dependencies:[D.U1,D.HP,D.Rg,Mn]}),Ne})();const xr=[{path:"",loadChildren:()=>E.e(786).then(E.bind(E,786)).then(He=>He.SplashPageModule),pathMatch:"full"},{path:"tabs",loadChildren:()=>E.e(1476).then(E.bind(E,1476)).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 X=(()=>{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:[O.iI.forRoot(xr,{preloadingStrategy:O.Kp}),O.iI]}),Ne})();var $e=E(5553);class le{constructor(Ne,Ye="/assets/i18n/",Fe=".json"){this.http=Ne,this.prefix=Ye,this.suffix=Fe}getTranslation(Ne){return this.http.get(`${this.prefix}${Ne}${this.suffix}`)}}var Xe=E(1626),_t=E(3486),Nn=E(4591),vr=E(6011),Br=E(1765),ei=E(444),Jr=E(7803),oi=E(3696),Wr=E(3871),Ui=E(2918),Mr=E(1113),mi=E(3721),Vn=E(8402),gi=E(4447),Ri=E(3172);function Di(He){return new le(He,"./assets/i18n/",".json")}function Ai(He){return()=>He.initializePlugin()}let Vi=(()=>{var He;class Ne{constructor(Fe,ht){this.translate=Fe,this.storage=ht,this.storage.getData("lang").then(Ht=>{console.log(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(_.c$),p.KVO(_t.n))},He.\u0275mod=p.$C({type:He,bootstrap:[Rn]}),He.\u0275inj=p.G2t({providers:[{provide:O.b,useClass:c.jM},_t.n,Nn.a,vr.H,Br.H,ae,te.U,Ae.a,ei.f,Jr.q,T.Gf,oi.w,T.hs,T.q4,T.XU,Wr.d,T.XI,Ui.B,hn.O,Ze,De,Ut,T.Sc,Mr.q,T.F_,Vn.Z,T.MK,gi.i,Tn,{provide:p.hnV,useFactory:Ai,deps:[Nn.a],multi:!0}],imports:[S.Bb,D.bv.forRoot(),X,Xe.q1,_.h.forRoot({loader:{provide:_.Wr,useFactory:Di,deps:[Xe.Qq]}}),$e.h,mi.h,bt.register("ngsw-worker.js",{enabled:Ri.c.production})]}),Ne})();var Hr=E(1288),Fo=E(9657);const Qi=function(){var He=(0,a.A)(function*(Ne,Ye){if(!(typeof window>"u"))return yield,(0,Fo.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"]}]]]],Ye)});return function(Ye,Fe){return He.apply(this,arguments)}}();var Pr=E(5083);(0,p.SmG)(),"web"===Pr.Ii.getPlatform()&&(window,typeof window>"u"?Promise.resolve():(0,Hr.p)().then(()=>(0,Hr.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)),Qi(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(Vi).catch(He=>console.log(He))},1990:(be,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:(be,ee,E)=>{var a=E(1990),S=E(1993);function O(c,D){this.name=c,this.body=D,this.decoders={},this.encoders={}}ee.define=function(D,C){return new O(D,C)},O.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)},O.prototype._getDecoder=function(D){return this.decoders.hasOwnProperty(D=D||"der")||(this.decoders[D]=this._createNamed(a.decoders[D])),this.decoders[D]},O.prototype.decode=function(D,C,_){return this._getDecoder(C).decode(D,_)},O.prototype._getEncoder=function(D){return this.encoders.hasOwnProperty(D=D||"der")||(this.encoders[D]=this._createNamed(a.encoders[D])),this.encoders[D]},O.prototype.encode=function(D,C,_){return this._getEncoder(C).encode(D,_)}},7290:(be,ee,E)=>{var a=E(1993),S=E(5066).Reporter,p=E(3838).Buffer;function O(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(_){return _ instanceof c||(_=new c(_,C)),this.length+=_.length,_},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(O,S),ee.t=O,O.prototype.save=function(){return{offset:this.offset,reporter:S.prototype.save.call(this)}},O.prototype.restore=function(C){var _=new O(this.base);return _.offset=C.offset,_.length=this.offset,this.offset=C.offset,S.prototype.restore.call(this,C.reporter),_},O.prototype.isEmpty=function(){return this.offset===this.length},O.prototype.readUInt8=function(C){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(C||"DecoderBuffer overrun")},O.prototype.skip=function(C,_){if(!(this.offset+C<=this.length))return this.error(_||"DecoderBuffer overrun");var T=new O(this.base);return T._reporterState=this._reporterState,T.offset=this.offset,T.length=this.offset+C,this.offset+=C,T},O.prototype.raw=function(C){return this.base.slice(C?C.offset:this.offset,this.length)},ee.d=c,c.prototype.join=function(C,_){return C||(C=new p(this.length)),_||(_=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(T){T.join(C,_),_+=T.length}):("number"==typeof this.value?C[_]=this.value:"string"==typeof this.value?C.write(this.value,_):p.isBuffer(this.value)&&this.value.copy(C,_),_+=this.length)),C}},5066:(be,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:(be,ee,E)=>{var a=E(5066).Reporter,S=E(5066).EncoderBuffer,p=E(5066).DecoderBuffer,O=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=w,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())}be.exports=_;var T=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];_.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},_.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)},_.prototype._init=function(g){var F=this._baseState;O(null===F.parent),g.call(this),F.children=F.children.filter(function(A){return A._baseState.parent===this},this),O.equal(F.children.length,1,"Root node can have only one child")},_.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&&(O(null===F.children),F.children=A,A.forEach(function(B){B._baseState.parent=this},this)),0!==g.length&&(O(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[w]=function(){throw new Error(w+" not implemented for encoding: "+this._baseState.enc)}}),c.forEach(function(w){_.prototype[w]=function(){var F=this._baseState,A=Array.prototype.slice.call(arguments);return O(null===F.tag),F.tag=w,this._useArgs(A),this}}),_.prototype.use=function(g){O(g);var F=this._baseState;return O(null===F.use),F.use=g,this},_.prototype.optional=function(){return this._baseState.optional=!0,this},_.prototype.def=function(g){var F=this._baseState;return O(null===F.default),F.default=g,F.optional=!0,this},_.prototype.explicit=function(g){var F=this._baseState;return O(null===F.explicit&&null===F.implicit),F.explicit=g,this},_.prototype.implicit=function(g){var F=this._baseState;return O(null===F.explicit&&null===F.implicit),F.implicit=g,this},_.prototype.obj=function(){var g=this._baseState,F=Array.prototype.slice.call(arguments);return g.obj=!0,0!==F.length&&this._useArgs(F),this},_.prototype.key=function(g){var F=this._baseState;return O(null===F.key),F.key=g,this},_.prototype.any=function(){return this._baseState.any=!0,this},_.prototype.choice=function(g){var F=this._baseState;return O(null===F.choice),F.choice=g,this._useArgs(Object.keys(g).map(function(A){return g[A]})),this},_.prototype.contains=function(g){var F=this._baseState;return O(null===F.use),F.contains=g,this},_.prototype._decode=function(g,F){var A=this._baseState;if(null===A.parent)return g.wrapResult(A.children[0]._decode(g,F));var R,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&&(R=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 K=this._decodeTag(g,null!==A.implicit?A.implicit:A.tag,A.any);if(g.isError(K))return K;A.any?B=g.raw(M):g=K}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 oe=new p(B);B=this._getUse(A.contains,g._reporterState.obj)._decode(oe,F)}}return A.obj&&P&&(B=g.leaveObject(R)),null===A.key||null===B&&!0!==P?null!==$&&g.exitKey($):g.leaveKey($,A.key,B),B},_.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)},_.prototype._getUse=function(g,F){var A=this._baseState;return A.useDecoder=this._use(g,F),O(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},_.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 R=M._decode(g,F);if(g.isError(R))return!1;B={type:$,value:R},P=!0}catch{return g.restore(k),!1}return!0},this),P?B:g.error("Choice not matched")},_.prototype._createEncoderBuffer=function(g){return new S(g,this.reporter)},_.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}},_.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 K=F.enterKey(j._baseState.key);if("object"!=typeof g)return F.error("Child expected, but input is not object");var oe=j._encode(g[j._baseState.key],F,g);return F.leaveKey(K),oe},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 R=null!==B.implicit?B.implicit:B.tag,U=null===B.implicit?"universal":"context";null===R?null===B.use&&F.error("Tag could be omitted only for .use()"):null===B.use&&(M=this._encodeComposite(R,$,U,P))}return null!==B.explicit&&(M=this._encodeComposite(B.explicit,!1,"context",M)),M},_.prototype._encodeChoice=function(g,F){var A=this._baseState,B=A.choice[g.type];return B||O(!1,g.type+" not found in "+JSON.stringify(Object.keys(A.choice))),B._encode(g.value,F)},_.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)},_.prototype._isNumstr=function(g){return/^[0-9 ]*$/.test(g)},_.prototype._isPrintstr=function(g){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(g)}},5697:(be,ee,E)=>{var a=E(1993);function S(O){this._reporterState={obj:null,path:[],options:O||{},errors:[]}}function p(O,c){this.path=O,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 _=this._reporterState;this.exitKey(c),null!==_.obj&&(_.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,_=c instanceof p;if(D=_?c:new p(C.path.map(function(T){return"["+JSON.stringify(T)+"]"}).join(""),c.message||c,c.stack),!C.options.partial)throw D;return _||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:(be,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:(be,ee,E)=>{var a=ee;a._reverse=function(p){var O={};return Object.keys(p).forEach(function(c){(0|c)==c&&(c|=0),O[p[c]]=c}),O},a.der=E(6283)},5941:(be,ee,E)=>{var a=E(1993),S=E(1990),p=S.base,O=S.bignum,c=S.constants.der;function D(w){this.enc="der",this.name=w.name,this.entity=w,this.tree=new C,this.tree._init(w.body)}function C(w){p.Node.call(this,"der",w)}function _(w,g){var F=w.readUInt8(g);if(w.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=w.readUInt8(g),w.isError(P))return P;F<<=7,F|=127&P}}return{cls:A,primitive:B,tag:F,tagStr:c.tag[F]}}function T(w,g,F){var A=w.readUInt8(F);if(w.isError(A))return A;if(!g&&128===A)return null;if(!(128&A))return A;var B=127&A;if(B>4)return w.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:(be,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(5941);function O(c){p.call(this,c),this.enc="pem"}a(O,p),be.exports=O,O.prototype.decode=function(D,C){for(var _=D.toString().split(/[\r\n]+/g),T=C.label.toUpperCase(),w=/^-----(BEGIN|END) ([^-]+)-----$/,g=-1,F=-1,A=0;A<_.length;A++){var B=_[A].match(w);if(null!==B&&B[2]===T){if(-1!==g){if("END"!==B[1])break;F=A;break}if("BEGIN"!==B[1])break;g=A}}if(-1===g||-1===F)throw new Error("PEM section not found for: "+T);var P=_.slice(g+1,F).join("");P.replace(/[^a-z0-9\+\/=]+/gi,"");var $=new S(P,"base64");return p.prototype.decode.call(this,$,C)}},2193:(be,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(1990),O=p.base,c=p.constants.der;function D(w){this.enc="der",this.name=w.name,this.entity=w,this.tree=new C,this.tree._init(w.body)}function C(w){O.Node.call(this,"der",w)}function _(w){return w<10?"0"+w:w}be.exports=D,D.prototype.encode=function(g,F){return this.tree._encode(g,F).join()},a(C,O.Node),C.prototype._encodeComposite=function(g,F,A,B){var M,P=function T(w,g,F,A){var B;if("seqof"===w?w="seq":"setof"===w&&(w="set"),c.tagByName.hasOwnProperty(w))B=c.tagByName[w];else{if("number"!=typeof w||(0|w)!==w)return A.error("Unknown tag: "+w);B=w}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 R=B.length;R>0;k--,R>>=8)M[k]=255&R;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=[_(B.getFullYear()),_(B.getUTCMonth()+1),_(B.getUTCDate()),_(B.getUTCHours()),_(B.getUTCMinutes()),_(B.getUTCSeconds()),"Z"].join(""):"utctime"===F?A=[_(B.getFullYear()%100),_(B.getUTCMonth()+1),_(B.getUTCDate()),_(B.getUTCHours()),_(B.getUTCMinutes()),_(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:(be,ee,E)=>{var a=ee;a.der=E(2193),a.pem=E(4816)},4816:(be,ee,E)=>{var a=E(1993),S=E(2193);function p(O){S.call(this,O),this.enc="pem"}a(p,S),be.exports=p,p.prototype.encode=function(c,D){for(var _=S.prototype.encode.call(this,c).toString("base64"),T=["-----BEGIN "+D.label+"-----"],w=0;w<_.length;w+=64)T.push(_.slice(w,w+64));return T.push("-----END "+D.label+"-----"),T.join("\n")}},6867:function(be,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function O(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(8982).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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},3981:(be,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 _(A,B,P){return 3*(B+P)/4-P}(0,$,k)),R=0,U=k>0?$-4:$;for(j=0;j>16&255,M[R++]=B>>8&255,M[R++]=255&B;return 2===k&&(B=a[A.charCodeAt(j)]<<2|a[A.charCodeAt(j+1)]>>4,M[R++]=255&B),1===k&&(B=a[A.charCodeAt(j)]<<10|a[A.charCodeAt(j+1)]<<4|a[A.charCodeAt(j+2)]>>2,M[R++]=B>>8&255,M[R++]=255&B),M},ee.fromByteArray=function F(A){for(var B,P=A.length,$=P%3,k=[],M=16383,R=0,U=P-$;RU?U:R+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+/",O=0;O<64;++O)E[O]=p[O],a[p.charCodeAt(O)]=O;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 w(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 _(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=_(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,J=67108863&L,re=Math.min(I,s.length-1),me=Math.max(0,I-u.length+1);me<=re;me++)V+=(r=(y=0|u.words[I-me|0])*(f=0|s.words[me])+J)/67108864|0,J=67108863&r;h.words[I]=0|J,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 J=this.clone();for(J.negative=0;!J.isZero();){var re=J.modrn(V).toString(s);v=(J=J.idivn(V)).isZero()?re+v:F[I-re.length]+re+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,Me=0|y[1],Q=8191&Me,ae=Me>>>13,tt=0|y[2],Re=8191&tt,pe=tt>>>13,Ie=0|y[3],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|y[7],wt=8191&on,Pt=on>>>13,En=0|y[8],St=8191&En,Tt=En>>>13,yn=0|y[9],Dt=8191&yn,Bt=yn>>>13,Cn=0|f[0],st=8191&Cn,Lt=Cn>>>13,In=0|f[1],kt=8191&In,Ot=In>>>13,Ln=0|f[2],Ut=8191&Ln,Le=Ln>>>13,_e=0|f[3],De=8191&_e,Ae=_e>>>13,Ze=0|f[4],Ue=8191&Ze,it=Ze>>>13,Pe=0|f[5],Be=8191&Pe,Ve=Pe>>>13,yt=0|f[6],Je=8191&yt,lt=yt>>>13,Qt=0|f[7],Ct=8191&Qt,mt=Qt>>>13,Kt=0|f[8],Rt=8191&Kt,Ft=Kt>>>13,Pn=0|f[9],wn=8191&Pn,_n=Pn>>>13;v.negative=s.negative^h.negative,v.length=19;var bn=(d+(L=Math.imul(re,st))|0)+((8191&(I=(I=Math.imul(re,Lt))+Math.imul(me,st)|0))<<13)|0;d=((V=Math.imul(me,Lt))+(I>>>13)|0)+(bn>>>26)|0,bn&=67108863,L=Math.imul(Q,st),I=(I=Math.imul(Q,Lt))+Math.imul(ae,st)|0,V=Math.imul(ae,Lt);var zn=(d+(L=L+Math.imul(re,kt)|0)|0)+((8191&(I=(I=I+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0))<<13)|0;d=((V=V+Math.imul(me,Ot)|0)+(I>>>13)|0)+(zn>>>26)|0,zn&=67108863,L=Math.imul(Re,st),I=(I=Math.imul(Re,Lt))+Math.imul(pe,st)|0,V=Math.imul(pe,Lt),L=L+Math.imul(Q,kt)|0,I=(I=I+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,V=V+Math.imul(ae,Ot)|0;var Un=(d+(L=L+Math.imul(re,Ut)|0)|0)+((8191&(I=(I=I+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0))<<13)|0;d=((V=V+Math.imul(me,Le)|0)+(I>>>13)|0)+(Un>>>26)|0,Un&=67108863,L=Math.imul(Se,st),I=(I=Math.imul(Se,Lt))+Math.imul(ie,st)|0,V=Math.imul(ie,Lt),L=L+Math.imul(Re,kt)|0,I=(I=I+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,V=V+Math.imul(pe,Ot)|0,L=L+Math.imul(Q,Ut)|0,I=(I=I+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,V=V+Math.imul(ae,Le)|0;var Fn=(d+(L=L+Math.imul(re,De)|0)|0)+((8191&(I=(I=I+Math.imul(re,Ae)|0)+Math.imul(me,De)|0))<<13)|0;d=((V=V+Math.imul(me,Ae)|0)+(I>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,L=Math.imul(G,st),I=(I=Math.imul(G,Lt))+Math.imul(Ee,st)|0,V=Math.imul(Ee,Lt),L=L+Math.imul(Se,kt)|0,I=(I=I+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,V=V+Math.imul(ie,Ot)|0,L=L+Math.imul(Re,Ut)|0,I=(I=I+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,V=V+Math.imul(pe,Le)|0,L=L+Math.imul(Q,De)|0,I=(I=I+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,V=V+Math.imul(ae,Ae)|0;var kn=(d+(L=L+Math.imul(re,Ue)|0)|0)+((8191&(I=(I=I+Math.imul(re,it)|0)+Math.imul(me,Ue)|0))<<13)|0;d=((V=V+Math.imul(me,it)|0)+(I>>>13)|0)+(kn>>>26)|0,kn&=67108863,L=Math.imul(Qe,st),I=(I=Math.imul(Qe,Lt))+Math.imul(rt,st)|0,V=Math.imul(rt,Lt),L=L+Math.imul(G,kt)|0,I=(I=I+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,V=V+Math.imul(Ee,Ot)|0,L=L+Math.imul(Se,Ut)|0,I=(I=I+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,V=V+Math.imul(ie,Le)|0,L=L+Math.imul(Re,De)|0,I=(I=I+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,V=V+Math.imul(pe,Ae)|0,L=L+Math.imul(Q,Ue)|0,I=(I=I+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,V=V+Math.imul(ae,it)|0;var Kn=(d+(L=L+Math.imul(re,Be)|0)|0)+((8191&(I=(I=I+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0))<<13)|0;d=((V=V+Math.imul(me,Ve)|0)+(I>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,L=Math.imul(gt,st),I=(I=Math.imul(gt,Lt))+Math.imul(ft,st)|0,V=Math.imul(ft,Lt),L=L+Math.imul(Qe,kt)|0,I=(I=I+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,V=V+Math.imul(rt,Ot)|0,L=L+Math.imul(G,Ut)|0,I=(I=I+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,V=V+Math.imul(Ee,Le)|0,L=L+Math.imul(Se,De)|0,I=(I=I+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,V=V+Math.imul(ie,Ae)|0,L=L+Math.imul(Re,Ue)|0,I=(I=I+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,V=V+Math.imul(pe,it)|0,L=L+Math.imul(Q,Be)|0,I=(I=I+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,V=V+Math.imul(ae,Ve)|0;var $n=(d+(L=L+Math.imul(re,Je)|0)|0)+((8191&(I=(I=I+Math.imul(re,lt)|0)+Math.imul(me,Je)|0))<<13)|0;d=((V=V+Math.imul(me,lt)|0)+(I>>>13)|0)+($n>>>26)|0,$n&=67108863,L=Math.imul(wt,st),I=(I=Math.imul(wt,Lt))+Math.imul(Pt,st)|0,V=Math.imul(Pt,Lt),L=L+Math.imul(gt,kt)|0,I=(I=I+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,V=V+Math.imul(ft,Ot)|0,L=L+Math.imul(Qe,Ut)|0,I=(I=I+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,V=V+Math.imul(rt,Le)|0,L=L+Math.imul(G,De)|0,I=(I=I+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,V=V+Math.imul(Ee,Ae)|0,L=L+Math.imul(Se,Ue)|0,I=(I=I+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,V=V+Math.imul(ie,it)|0,L=L+Math.imul(Re,Be)|0,I=(I=I+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,V=V+Math.imul(pe,Ve)|0,L=L+Math.imul(Q,Je)|0,I=(I=I+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,V=V+Math.imul(ae,lt)|0;var jn=(d+(L=L+Math.imul(re,Ct)|0)|0)+((8191&(I=(I=I+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0))<<13)|0;d=((V=V+Math.imul(me,mt)|0)+(I>>>13)|0)+(jn>>>26)|0,jn&=67108863,L=Math.imul(St,st),I=(I=Math.imul(St,Lt))+Math.imul(Tt,st)|0,V=Math.imul(Tt,Lt),L=L+Math.imul(wt,kt)|0,I=(I=I+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,V=V+Math.imul(Pt,Ot)|0,L=L+Math.imul(gt,Ut)|0,I=(I=I+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,V=V+Math.imul(ft,Le)|0,L=L+Math.imul(Qe,De)|0,I=(I=I+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,V=V+Math.imul(rt,Ae)|0,L=L+Math.imul(G,Ue)|0,I=(I=I+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,V=V+Math.imul(Ee,it)|0,L=L+Math.imul(Se,Be)|0,I=(I=I+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,V=V+Math.imul(ie,Ve)|0,L=L+Math.imul(Re,Je)|0,I=(I=I+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,V=V+Math.imul(pe,lt)|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 je=(d+(L=L+Math.imul(re,Rt)|0)|0)+((8191&(I=(I=I+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;d=((V=V+Math.imul(me,Ft)|0)+(I>>>13)|0)+(je>>>26)|0,je&=67108863,L=Math.imul(Dt,st),I=(I=Math.imul(Dt,Lt))+Math.imul(Bt,st)|0,V=Math.imul(Bt,Lt),L=L+Math.imul(St,kt)|0,I=(I=I+Math.imul(St,Ot)|0)+Math.imul(Tt,kt)|0,V=V+Math.imul(Tt,Ot)|0,L=L+Math.imul(wt,Ut)|0,I=(I=I+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,V=V+Math.imul(Pt,Le)|0,L=L+Math.imul(gt,De)|0,I=(I=I+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,V=V+Math.imul(ft,Ae)|0,L=L+Math.imul(Qe,Ue)|0,I=(I=I+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,V=V+Math.imul(rt,it)|0,L=L+Math.imul(G,Be)|0,I=(I=I+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,V=V+Math.imul(Ee,Ve)|0,L=L+Math.imul(Se,Je)|0,I=(I=I+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,V=V+Math.imul(ie,lt)|0,L=L+Math.imul(Re,Ct)|0,I=(I=I+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,V=V+Math.imul(pe,mt)|0,L=L+Math.imul(Q,Rt)|0,I=(I=I+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0,V=V+Math.imul(ae,Ft)|0;var ut=(d+(L=L+Math.imul(re,wn)|0)|0)+((8191&(I=(I=I+Math.imul(re,_n)|0)+Math.imul(me,wn)|0))<<13)|0;d=((V=V+Math.imul(me,_n)|0)+(I>>>13)|0)+(ut>>>26)|0,ut&=67108863,L=Math.imul(Dt,kt),I=(I=Math.imul(Dt,Ot))+Math.imul(Bt,kt)|0,V=Math.imul(Bt,Ot),L=L+Math.imul(St,Ut)|0,I=(I=I+Math.imul(St,Le)|0)+Math.imul(Tt,Ut)|0,V=V+Math.imul(Tt,Le)|0,L=L+Math.imul(wt,De)|0,I=(I=I+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,V=V+Math.imul(Pt,Ae)|0,L=L+Math.imul(gt,Ue)|0,I=(I=I+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,V=V+Math.imul(ft,it)|0,L=L+Math.imul(Qe,Be)|0,I=(I=I+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,V=V+Math.imul(rt,Ve)|0,L=L+Math.imul(G,Je)|0,I=(I=I+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,V=V+Math.imul(Ee,lt)|0,L=L+Math.imul(Se,Ct)|0,I=(I=I+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,V=V+Math.imul(ie,mt)|0,L=L+Math.imul(Re,Rt)|0,I=(I=I+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0,V=V+Math.imul(pe,Ft)|0;var It=(d+(L=L+Math.imul(Q,wn)|0)|0)+((8191&(I=(I=I+Math.imul(Q,_n)|0)+Math.imul(ae,wn)|0))<<13)|0;d=((V=V+Math.imul(ae,_n)|0)+(I>>>13)|0)+(It>>>26)|0,It&=67108863,L=Math.imul(Dt,Ut),I=(I=Math.imul(Dt,Le))+Math.imul(Bt,Ut)|0,V=Math.imul(Bt,Le),L=L+Math.imul(St,De)|0,I=(I=I+Math.imul(St,Ae)|0)+Math.imul(Tt,De)|0,V=V+Math.imul(Tt,Ae)|0,L=L+Math.imul(wt,Ue)|0,I=(I=I+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,V=V+Math.imul(Pt,it)|0,L=L+Math.imul(gt,Be)|0,I=(I=I+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,V=V+Math.imul(ft,Ve)|0,L=L+Math.imul(Qe,Je)|0,I=(I=I+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,V=V+Math.imul(rt,lt)|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,Rt)|0,I=(I=I+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0,V=V+Math.imul(ie,Ft)|0;var Mt=(d+(L=L+Math.imul(Re,wn)|0)|0)+((8191&(I=(I=I+Math.imul(Re,_n)|0)+Math.imul(pe,wn)|0))<<13)|0;d=((V=V+Math.imul(pe,_n)|0)+(I>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,L=Math.imul(Dt,De),I=(I=Math.imul(Dt,Ae))+Math.imul(Bt,De)|0,V=Math.imul(Bt,Ae),L=L+Math.imul(St,Ue)|0,I=(I=I+Math.imul(St,it)|0)+Math.imul(Tt,Ue)|0,V=V+Math.imul(Tt,it)|0,L=L+Math.imul(wt,Be)|0,I=(I=I+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,V=V+Math.imul(Pt,Ve)|0,L=L+Math.imul(gt,Je)|0,I=(I=I+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,V=V+Math.imul(ft,lt)|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,Rt)|0,I=(I=I+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0,V=V+Math.imul(Ee,Ft)|0;var Nt=(d+(L=L+Math.imul(Se,wn)|0)|0)+((8191&(I=(I=I+Math.imul(Se,_n)|0)+Math.imul(ie,wn)|0))<<13)|0;d=((V=V+Math.imul(ie,_n)|0)+(I>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,L=Math.imul(Dt,Ue),I=(I=Math.imul(Dt,it))+Math.imul(Bt,Ue)|0,V=Math.imul(Bt,it),L=L+Math.imul(St,Be)|0,I=(I=I+Math.imul(St,Ve)|0)+Math.imul(Tt,Be)|0,V=V+Math.imul(Tt,Ve)|0,L=L+Math.imul(wt,Je)|0,I=(I=I+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,V=V+Math.imul(Pt,lt)|0,L=L+Math.imul(gt,Ct)|0,I=(I=I+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,V=V+Math.imul(ft,mt)|0,L=L+Math.imul(Qe,Rt)|0,I=(I=I+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0,V=V+Math.imul(rt,Ft)|0;var Zt=(d+(L=L+Math.imul(G,wn)|0)|0)+((8191&(I=(I=I+Math.imul(G,_n)|0)+Math.imul(Ee,wn)|0))<<13)|0;d=((V=V+Math.imul(Ee,_n)|0)+(I>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,L=Math.imul(Dt,Be),I=(I=Math.imul(Dt,Ve))+Math.imul(Bt,Be)|0,V=Math.imul(Bt,Ve),L=L+Math.imul(St,Je)|0,I=(I=I+Math.imul(St,lt)|0)+Math.imul(Tt,Je)|0,V=V+Math.imul(Tt,lt)|0,L=L+Math.imul(wt,Ct)|0,I=(I=I+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,V=V+Math.imul(Pt,mt)|0,L=L+Math.imul(gt,Rt)|0,I=(I=I+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0,V=V+Math.imul(ft,Ft)|0;var qt=(d+(L=L+Math.imul(Qe,wn)|0)|0)+((8191&(I=(I=I+Math.imul(Qe,_n)|0)+Math.imul(rt,wn)|0))<<13)|0;d=((V=V+Math.imul(rt,_n)|0)+(I>>>13)|0)+(qt>>>26)|0,qt&=67108863,L=Math.imul(Dt,Je),I=(I=Math.imul(Dt,lt))+Math.imul(Bt,Je)|0,V=Math.imul(Bt,lt),L=L+Math.imul(St,Ct)|0,I=(I=I+Math.imul(St,mt)|0)+Math.imul(Tt,Ct)|0,V=V+Math.imul(Tt,mt)|0,L=L+Math.imul(wt,Rt)|0,I=(I=I+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0,V=V+Math.imul(Pt,Ft)|0;var Yt=(d+(L=L+Math.imul(gt,wn)|0)|0)+((8191&(I=(I=I+Math.imul(gt,_n)|0)+Math.imul(ft,wn)|0))<<13)|0;d=((V=V+Math.imul(ft,_n)|0)+(I>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,L=Math.imul(Dt,Ct),I=(I=Math.imul(Dt,mt))+Math.imul(Bt,Ct)|0,V=Math.imul(Bt,mt),L=L+Math.imul(St,Rt)|0,I=(I=I+Math.imul(St,Ft)|0)+Math.imul(Tt,Rt)|0,V=V+Math.imul(Tt,Ft)|0;var Tn=(d+(L=L+Math.imul(wt,wn)|0)|0)+((8191&(I=(I=I+Math.imul(wt,_n)|0)+Math.imul(Pt,wn)|0))<<13)|0;d=((V=V+Math.imul(Pt,_n)|0)+(I>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,L=Math.imul(Dt,Rt),I=(I=Math.imul(Dt,Ft))+Math.imul(Bt,Rt)|0,V=Math.imul(Bt,Ft);var An=(d+(L=L+Math.imul(St,wn)|0)|0)+((8191&(I=(I=I+Math.imul(St,_n)|0)+Math.imul(Tt,wn)|0))<<13)|0;d=((V=V+Math.imul(Tt,_n)|0)+(I>>>13)|0)+(An>>>26)|0,An&=67108863;var Xn=(d+(L=Math.imul(Dt,wn))|0)+((8191&(I=(I=Math.imul(Dt,_n))+Math.imul(Bt,wn)|0))<<13)|0;return d=((V=Math.imul(Bt,_n))+(I>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,r[0]=bn,r[1]=zn,r[2]=Un,r[3]=Fn,r[4]=kn,r[5]=Kn,r[6]=$n,r[7]=jn,r[8]=je,r[9]=ut,r[10]=It,r[11]=Mt,r[12]=Nt,r[13]=Zt,r[14]=qt,r[15]=Yt,r[16]=Tn,r[17]=An,r[18]=Xn,0!==d&&(r[19]=d,v.length++),v};function R(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 R(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?R(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 J=0|this.words[I];this.words[I]=V<<26-f|J>>>f,V=J&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;re--){var me=67108864*(0|y.words[f.length+re])+(0|y.words[f.length+re-1]);for(me=Math.min(me/r|0,67108863),y._ishlnsubmul(f,me,re);0!==y.negative;)me--,y.negative=0,y._ishlnsubmul(f,1,re),y.isZero()||(y.negative^=1);I&&(I.words[re]=me)}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 J=0,re=1;!(h.words[0]&re)&&J<26;++J,re<<=1);if(J>0)for(h.iushrn(J);J-- >0;)(y.isOdd()||f.isOdd())&&(y.iadd(I),f.isub(V)),y.iushrn(1),f.iushrn(1);for(var me=0,Me=1;!(v.words[0]&Me)&&me<26;++me,Me<<=1);if(me>0)for(v.iushrn(me);me-- >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 J,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(J=0===h.cmpn(1)?y:f).cmpn(0)<0&&J.iadd(s),J},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 K={k256:null,p224:null,p192:null,p25519:null};function oe(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 ve(){oe.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function te(){oe.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function se(){oe.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function m(){oe.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)}oe.prototype._tmp=function(){var s=new c(null);return s.words=new Array(Math.ceil(this.n/13)),s},oe.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},oe.prototype.split=function(s,h){s.iushrn(this.n,0,h)},oe.prototype.imulK=function(s){return s.imul(this.k)},O(ve,oe),ve.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},ve.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(K[s])return K[s];var h;if("k256"===s)h=new ve;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 K[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):(w(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),J=this.pow(s,y.addn(1).iushrn(1)),re=this.pow(s,y),me=f;0!==re.cmp(r);){for(var Me=re,Q=0;0!==Me.cmp(r);Q++)Me=Me.redSqr();p(Q=0;f--){for(var V=h.words[f],J=I-1;J>=0;J--){var re=V>>J&1;r!==y[0]&&(r=this.sqr(r)),0!==re||0!==d?(d<<=1,d|=re,(4==++L||0===f&&0===J)&&(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)},O(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)}}(be=E.nmd(be),this)},5294:(be,ee,E)=>{var a;function S(O){this.rand=O}if(be.exports=function(c){return a||(a=new S(null)),a.generate(c)},be.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(_){a.isBuffer(_)||(_=a.from(_));for(var T=_.length/4|0,w=new Array(T),g=0;g>>24]^B[M>>>16&255]^P[R>>>8&255]^$[255&U]^T[te++],K=A[M>>>24]^B[R>>>16&255]^P[U>>>8&255]^$[255&k]^T[te++],oe=A[R>>>24]^B[U>>>16&255]^P[k>>>8&255]^$[255&M]^T[te++],ve=A[U>>>24]^B[k>>>16&255]^P[M>>>8&255]^$[255&R]^T[te++],k=j,M=K,R=oe,U=ve;return j=(g[k>>>24]<<24|g[M>>>16&255]<<16|g[R>>>8&255]<<8|g[255&U])^T[te++],K=(g[M>>>24]<<24|g[R>>>16&255]<<16|g[U>>>8&255]<<8|g[255&k])^T[te++],oe=(g[R>>>24]<<24|g[U>>>16&255]<<16|g[k>>>8&255]<<8|g[255&M])^T[te++],ve=(g[U>>>24]<<24|g[k>>>16&255]<<16|g[M>>>8&255]<<8|g[255&R])^T[te++],[j>>>=0,K>>>=0,oe>>>=0,ve>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],D=function(){for(var _=new Array(256),T=0;T<256;T++)_[T]=T<128?T<<1:T<<1^283;for(var w=[],g=[],F=[[],[],[],[]],A=[[],[],[],[]],B=0,P=0,$=0;$<256;++$){var k=P^P<<1^P<<2^P<<3^P<<4;w[B]=k=k>>>8^255&k^99,g[k]=B;var M=_[B],R=_[M],U=_[R],j=257*_[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*R^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^_[_[_[U^M]]],P^=_[_[P]])}return{SBOX:w,INV_SBOX:g,SUB_MIX:F,INV_SUB_MIX:A}}();function C(_){this._key=S(_),this._reset()}C.blockSize=16,C.keySize=32,C.prototype.blockSize=C.blockSize,C.prototype.keySize=C.keySize,C.prototype._reset=function(){for(var _=this._key,T=_.length,w=T+6,g=4*(w+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=w,this._keySchedule=F,this._invKeySchedule=P},C.prototype.encryptBlockRaw=function(_){return O(_=S(_),this._keySchedule,D.SUB_MIX,D.SBOX,this._nRounds)},C.prototype.encryptBlock=function(_){var T=this.encryptBlockRaw(_),w=a.allocUnsafe(16);return w.writeUInt32BE(T[0],0),w.writeUInt32BE(T[1],4),w.writeUInt32BE(T[2],8),w.writeUInt32BE(T[3],12),w},C.prototype.decryptBlock=function(_){var T=(_=S(_))[1];_[1]=_[3],_[3]=T;var w=O(_,this._invKeySchedule,D.INV_SUB_MIX,D.INV_SBOX,this._nRounds),g=a.allocUnsafe(16);return g.writeUInt32BE(w[0],0),g.writeUInt32BE(w[3],4),g.writeUInt32BE(w[2],8),g.writeUInt32BE(w[1],12),g},C.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},be.exports.AES=C},9307:(be,ee,E)=>{var a=E(2375),S=E(7054).Buffer,p=E(3247),O=E(1993),c=E(5917),D=E(3546),C=E(5725);function w(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 R=S.from(g._finID);return C(R),R}(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}O(w,p),w.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},w.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 _(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 O(){return Object.keys(p)}},102:(be,ee,E)=>{var a=E(9307),S=E(7054).Buffer,p=E(503),O=E(1821),c=E(3247),D=E(2375),C=E(8211);function T(B,P,$){c.call(this),this._cache=new w,this._last=void 0,this._cipher=new D.AES(P),this._prev=S.from($),this._mode=B,this._autopadding=!0}function w(){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 O(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},w.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:(be,ee,E)=>{var a=E(503),S=E(9307),p=E(7054).Buffer,O=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 w=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 O(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(w))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 O(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;_--)D[_]=D[_]>>>1|(1&D[_-1])<<31;D[0]=D[0]>>>1,w&&(D[0]=D[0]^225<<24)}this.state=O(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(O([0,D,0,C])),this.state},be.exports=c},5725:be=>{be.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:(be,ee,E)=>{var a=E(3546);ee.encrypt=function(S,p){var O=a(p,S._prev);return S._prev=S._cipher.encryptBlock(O),S._prev},ee.decrypt=function(S,p){var O=S._prev;S._prev=p;var c=S._cipher.decryptBlock(p);return a(c,O)}},7090:(be,ee,E)=>{var a=E(7054).Buffer,S=E(3546);function p(O,c,D){var C=c.length,_=S(c,O._cache);return O._cache=O._cache.slice(C),O._prev=a.concat([O._prev,D?c:_]),_}ee.encrypt=function(O,c,D){for(var _,C=a.allocUnsafe(0);c.length;){if(0===O._cache.length&&(O._cache=O._cipher.encryptBlock(O._prev),O._prev=a.allocUnsafe(0)),!(O._cache.length<=c.length)){C=a.concat([C,p(O,c,D)]);break}C=a.concat([C,p(O,c.slice(0,_=O._cache.length),D)]),c=c.slice(_)}return C}},1039:(be,ee,E)=>{var a=E(7054).Buffer;function S(O,c,D){for(var g,F,_=-1,w=0;++_<8;)w+=(128&(F=O._cipher.encryptBlock(O._prev)[0]^(g=c&1<<7-_?128:0)))>>_%8,O._prev=p(O._prev,D?g:F);return w}function p(O,c){var D=O.length,C=-1,_=a.allocUnsafe(O.length);for(O=a.concat([O,a.from([c])]);++C>7;return _}ee.encrypt=function(O,c,D){for(var C=c.length,_=a.allocUnsafe(C),T=-1;++T{var a=E(7054).Buffer;function S(p,O,c){var C=p._cipher.encryptBlock(p._prev)[0]^O;return p._prev=a.concat([p._prev.slice(1),a.from([c?O:C])]),C}ee.encrypt=function(p,O,c){for(var D=O.length,C=a.allocUnsafe(D),_=-1;++_{var a=E(3546),S=E(7054).Buffer,p=E(5725);function O(D){var C=D._cipher.encryptBlockRaw(D._prev);return p(D._prev),C}ee.encrypt=function(D,C){var _=Math.ceil(C.length/16),T=D._cache.length;D._cache=S.concat([D._cache,S.allocUnsafe(16*_)]);for(var w=0;w<_;w++){var g=O(D),F=T+16*w;D._cache.writeUInt32BE(g[0],F+0),D._cache.writeUInt32BE(g[1],F+4),D._cache.writeUInt32BE(g[2],F+8),D._cache.writeUInt32BE(g[3],F+12)}var A=D._cache.slice(0,C.length);return D._cache=D._cache.slice(C.length),a(C,A)}},7513:(be,ee)=>{ee.encrypt=function(E,a){return E._cipher.encryptBlock(a)},ee.decrypt=function(E,a){return E._cipher.decryptBlock(a)}},503:(be,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];be.exports=S},6854:(be,ee,E)=>{var a=E(3546);function S(p){return p._prev=p._cipher.encryptBlock(p._prev),p._prev}ee.encrypt=function(p,O){for(;p._cache.length{var a=E(2375),S=E(7054).Buffer,p=E(3247);function c(D,C,_,T){p.call(this),this._cipher=new a.AES(C),this._prev=S.from(_),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()},be.exports=c},8862:(be,ee,E)=>{var a=E(9799),S=E(3388),p=E(503),O=E(9571),c=E(8211);function _(g,F,A){if(g=g.toLowerCase(),p[g])return S.createCipheriv(g,F,A);if(O[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(O[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(!O[g])throw new TypeError("invalid suite type");A=8*O[g].key,B=O[g].iv}var P=c(F,!1,A,B);return _(g,P.key,P.iv)},ee.createCipheriv=ee.Cipheriv=_,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(!O[g])throw new TypeError("invalid suite type");A=8*O[g].key,B=O[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 w(){return Object.keys(O).concat(S.getCiphers())}},9799:(be,ee,E)=>{var a=E(3247),S=E(1549),p=E(1993),O=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;O.isBuffer(g)||(g=O.from(g)),("des-ede"===_||"des-ede-cbc"===_)&&(g=O.concat([g,g.slice(0,8)]));var F=C.iv;O.isBuffer(F)||(F=O.from(F)),this._des=T.create({key:g,iv:F,type:w})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],be.exports=D,p(D,a),D.prototype._update=function(C){return O.from(this._des.update(C))},D.prototype._final=function(){return O.from(this._des.final())}},9571:(be,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:(be,ee,E)=>{var a=E(917),S=E(3342);function O(D){var _,C=D.modulus.byteLength();do{_=new a(S(C))}while(_.cmp(D.modulus)>=0||!_.umod(D.prime1)||!_.umod(D.prime2));return _}function c(D,C){var _=function p(D){var C=O(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(),w=new a(D).mul(_.blinder).umod(C.modulus),g=w.toRed(a.mont(C.prime1)),F=w.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(_.unblinder).umod(C.modulus).toArrayLike(Buffer,"be",T)}c.getr=O,be.exports=c},9560:(be,ee,E)=>{"use strict";be.exports=E(2951)},9143:(be,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7211),p=E(5942),O=E(1993),c=E(3150),D=E(4754),C=E(2951);function _(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 w(F){return new _(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]}),O(_,p.Writable),_.prototype._write=function(A,B,P){this._hash.update(A),P()},_.prototype.update=function(A,B){return this._hash.update("string"==typeof A?a.from(A,B):A),this},_.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):$},O(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)},be.exports={Sign:w,Verify:g,createSign:w,createVerify:g}},3150:(be,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(6432),p=E(4105),O=E(518).ec,c=E(917),D=E(5667),C=E(4589);function A(M,R,U,j){if((M=a.from(M.toArray())).length0&&U.ishrn(j),U}function $(M,R,U){var j,K;do{for(j=a.alloc(0);8*j.length{"use strict";var a=E(7054).Buffer,S=E(917),p=E(518).ec,O=E(5667),c=E(4589);function T(w,g){if(w.cmpn(0)<=0)throw new Error("invalid sig");if(w.cmp(g)>=0)throw new Error("invalid sig")}be.exports=function D(w,g,F,A,B){var P=O(F);if("ec"===P.type){if("ecdsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");return function C(w,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,w,F.data.subjectPrivateKey.data)}(w,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=O.signature.decode(w,"der"),M=k.s,R=k.r;T(M,B),T(R,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(R.mul(j).mod(B)).fromRed()).mod(A).mod(B).cmp(R)}(w,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 R=-1;++R{be.exports=function(E,a){for(var S=Math.min(E.length,a.length),p=new Buffer(S),O=0;O{"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(ie){return+ie!=ie&&(ie=0),C.alloc(+ie)},ee.INSPECT_MAX_BYTES=50;var O=2147483647;function D(ie){if(ie>O)throw new RangeError('The value "'+ie+'" is invalid for option "size"');var ne=new Uint8Array(ie);return Object.setPrototypeOf(ne,C.prototype),ne}function C(ie,ne,G){if("number"==typeof ie){if("string"==typeof ne)throw new TypeError('The "string" argument must be of type string. Received type number');return g(ie)}return _(ie,ne,G)}function _(ie,ne,G){if("string"==typeof ie)return function F(ie,ne){if(("string"!=typeof ne||""===ne)&&(ne="utf8"),!C.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);var G=0|R(ie,ne),Ee=D(G),vt=Ee.write(ie,ne);return vt!==G&&(Ee=Ee.slice(0,vt)),Ee}(ie,ne);if(ArrayBuffer.isView(ie))return function B(ie){if(pe(ie,Uint8Array)){var ne=new Uint8Array(ie);return P(ne.buffer,ne.byteOffset,ne.byteLength)}return A(ie)}(ie);if(null==ie)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(pe(ie,ArrayBuffer)||ie&&pe(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(ie,SharedArrayBuffer)||ie&&pe(ie.buffer,SharedArrayBuffer)))return P(ie,ne,G);if("number"==typeof ie)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ee=ie.valueOf&&ie.valueOf();if(null!=Ee&&Ee!==ie)return C.from(Ee,ne,G);var vt=function $(ie){if(C.isBuffer(ie)){var ne=0|k(ie.length),G=D(ne);return 0===G.length||ie.copy(G,0,0,ne),G}return void 0!==ie.length?"number"!=typeof ie.length||Ie(ie.length)?D(0):A(ie):"Buffer"===ie.type&&Array.isArray(ie.data)?A(ie.data):void 0}(ie);if(vt)return vt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof ie[Symbol.toPrimitive])return C.from(ie[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 ie)}function T(ie){if("number"!=typeof ie)throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function g(ie){return T(ie),D(ie<0?0:0|k(ie))}function A(ie){for(var ne=ie.length<0?0:0|k(ie.length),G=D(ne),Ee=0;Ee=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return 0|ie}function R(ie,ne){if(C.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||pe(ie,ArrayBuffer))return ie.byteLength;if("string"!=typeof ie)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);var G=ie.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 Me(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*G;case"hex":return G>>>1;case"base64":return tt(ie).length;default:if(vt)return Ee?-1:Me(ie).length;ne=(""+ne).toLowerCase(),vt=!0}}function U(ie,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(ie||(ie="utf8");;)switch(ie){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: "+ie);ie=(ie+"").toLowerCase(),Ee=!0}}function j(ie,ne,G){var Ee=ie[ne];ie[ne]=ie[G],ie[G]=Ee}function K(ie,ne,G,Ee,vt){if(0===ie.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:ie.length-1),G<0&&(G=ie.length+G),G>=ie.length){if(vt)return-1;G=ie.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:oe(ie,ne,G,Ee,vt);if("number"==typeof ne)return ne&=255,"function"==typeof Uint8Array.prototype.indexOf?vt?Uint8Array.prototype.indexOf.call(ie,ne,G):Uint8Array.prototype.lastIndexOf.call(ie,ne,G):oe(ie,[ne],G,Ee,vt);throw new TypeError("val must be string, number or Buffer")}function oe(ie,ne,G,Ee,vt){var ft,Qe=1,rt=ie.length,nn=ne.length;if(void 0!==Ee&&("ucs2"===(Ee=String(Ee).toLowerCase())||"ucs-2"===Ee||"utf16le"===Ee||"utf-16le"===Ee)){if(ie.length<2||ne.length<2)return-1;Qe=2,rt/=2,nn/=2,G/=2}function gt(En,St){return 1===Qe?En[St]:En.readUInt16BE(St*Qe)}if(vt){var on=-1;for(ft=G;ftrt&&(G=rt-nn),ft=G;ft>=0;ft--){for(var wt=!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,ie.length-G),ie,G,Ee)}function o(ie,ne,G){return a.fromByteArray(0===ne&&G===ie.length?ie:ie.slice(ne,G))}function u(ie,ne,G){G=Math.min(ie.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=ie[vt+1]))&&(wt=(31&Qe)<<6|63>)>127&&(rt=wt);break;case 3:ft=ie[vt+2],128==(192&(gt=ie[vt+1]))&&128==(192&ft)&&(wt=(15&Qe)<<12|(63>)<<6|63&ft)>2047&&(wt<55296||wt>57343)&&(rt=wt);break;case 4:ft=ie[vt+2],on=ie[vt+3],128==(192&(gt=ie[vt+1]))&&128==(192&ft)&&128==(192&on)&&(wt=(15&Qe)<<18|(63>)<<12|(63&ft)<<6|63&on)>65535&&wt<1114112&&(rt=wt)}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(ie){var ne=ie.length;if(ne<=s)return String.fromCharCode.apply(String,ie);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=R,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),ft=this.slice(vt,Qe),on=ne.slice(G,Ee),wt=0;wt>>=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 ve(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(ie,ne,G){var Ee="";G=Math.min(ie.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(ie,ne,G,Ee,vt,Qe){if(!C.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ne>vt||neie.length)throw new RangeError("Index out of range")}function I(ie,ne,G,Ee,vt,Qe){if(G+Ee>ie.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function V(ie,ne,G,Ee,vt){return ne=+ne,G>>>=0,vt||I(ie,0,G,4),S.write(ie,ne,G,Ee,23,4),G+4}function J(ie,ne,G,Ee,vt){return ne=+ne,G>>>=0,vt||I(ie,0,G,8),S.write(ie,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 J(this,ne,G,!0,Ee)},C.prototype.writeDoubleBE=function(ne,G,Ee){return J(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(ie){return a.toByteArray(function me(ie){if((ie=(ie=ie.split("=")[0]).trim().replace(re,"")).length<2)return"";for(;ie.length%4!=0;)ie+="=";return ie}(ie))}function Re(ie,ne,G,Ee){for(var vt=0;vt=ne.length||vt>=ie.length);++vt)ne[vt+G]=ie[vt];return vt}function pe(ie,ne){return ie instanceof ne||null!=ie&&null!=ie.constructor&&null!=ie.constructor.name&&ie.constructor.name===ne.name}function Ie(ie){return ie!=ie}var Se=function(){for(var ie="0123456789abcdef",ne=new Array(256),G=0;G<16;++G)for(var Ee=16*G,vt=0;vt<16;++vt)ne[Ee+vt]=ie[G]+ie[vt];return ne}()},5293:(be,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:(be,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,_){"string"==typeof D&&(D=a.from(D,C));var T=this._update(D);return this.hashMode?this:(_&&(T=this._toString(T,_)),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,_){var T;try{this.hashMode?this._update(D):this.push(this._update(D))}catch(w){T=w}finally{_(T)}},c.prototype._flush=function(D){var C;try{this.push(this.__final())}catch(_){C=_}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,_){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 _&&(T+=this._decoder.end()),T},be.exports=c},7637:(be,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 O($){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 _($){return void 0===$},ee.isRegExp=function T($){return"[object RegExp]"===P($)},ee.isObject=function w($){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:(be,ee,E)=>{var a=E(518),S=E(9606);be.exports=function(C){return new O(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 O(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,_){Array.isArray(D)||(D=D.toArray());var T=new Buffer(D);if(_&&T.length<_){var w=new Buffer(_-T.length);w.fill(0),T=Buffer.concat([w,T])}return C?T.toString(C):T}p.p224=p.secp224r1,p.p256=p.secp256r1=p.prime256v1,p.p192=p.secp192r1=p.prime192v1,p.p384=p.secp384r1,p.p521=p.secp521r1,O.prototype.generateKeys=function(D,C){return this.keys=this.curve.genKeyPair(),this.getPublicKey(D,C)},O.prototype.computeSecret=function(D,C,_){return C=C||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,C)),c(this.curve.keyFromPublic(D).getPublic().mul(this.keys.getPrivate()).getX(),_,this.curveType.byteLength)},O.prototype.getPublicKey=function(D,C){var _=this.keys.getPublic("compressed"===C,!0);return"hybrid"===C&&(_[0]=_[_.length-1]%2?7:6),c(_,D)},O.prototype.getPrivateKey=function(D){return c(this.keys.getPrivate(),D)},O.prototype.setPublicKey=function(D,C){return C=C||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,C)),this.keys._importPublic(D),this},O.prototype.setPrivateKey=function(D,C){C=C||"utf8",Buffer.isBuffer(D)||(D=new Buffer(D,C));var _=new S(D);return _=_.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(_),this}},9606:function(be,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function O(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(7965).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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},7211:(be,ee,E)=>{"use strict";var a=E(1993),S=E(4725),p=E(6636),O=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()},be.exports=function(_){return"md5"===(_=_.toLowerCase())?new S:"rmd160"===_||"ripemd160"===_?new p:new D(O(_))}},3407:(be,ee,E)=>{var a=E(4725);be.exports=function(S){return(new a).update(S).digest()}},6432:(be,ee,E)=>{"use strict";var a=E(1993),S=E(509),p=E(3247),O=E(7054).Buffer,c=E(3407),D=E(6636),C=E(5443),_=O.alloc(128);function T(w,g){p.call(this,"digest"),"string"==typeof g&&(g=O.from(g));var F="sha512"===w||"sha384"===w?128:64;this._alg=w,this._key=g,g.length>F?g=("rmd160"===w?new D:C(w)).update(g).digest():g.length{"use strict";var a=E(1993),S=E(7054).Buffer,p=E(3247),O=S.alloc(128),c=64;function D(C,_){p.call(this,"digest"),"string"==typeof _&&(_=S.from(_)),this._alg=C,this._key=_,_.length>c?_=C(_):_.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 O=E(3397);ee.pbkdf2=O.pbkdf2,ee.pbkdf2Sync=O.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 _=E(2965);ee.publicEncrypt=_.publicEncrypt,ee.privateEncrypt=_.privateEncrypt,ee.publicDecrypt=_.publicDecrypt,ee.privateDecrypt=_.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(be,ee,E){var a;be.exports=(a=a||function(S,p){var O;if(typeof window<"u"&&window.crypto&&(O=window.crypto),typeof self<"u"&&self.crypto&&(O=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(O=globalThis.crypto),!O&&typeof window<"u"&&window.msCrypto&&(O=window.msCrypto),!O&&typeof global<"u"&&global.crypto&&(O=global.crypto),!O)try{O=E(1426)}catch{}var c=function(){if(O){if("function"==typeof O.getRandomValues)try{return O.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof O.randomBytes)try{return O.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(R){var U;return M.prototype=R,U=new M,M.prototype=null,U}}(),C={},_=C.lib={},T=_.Base=function(){return{extend:function(M){var R=D(this);return M&&R.mixIn(M),(!R.hasOwnProperty("init")||this.init===R.init)&&(R.init=function(){R.$super.init.apply(this,arguments)}),R.init.prototype=R,R.$super=this,R},create:function(){var M=this.extend();return M.init.apply(M,arguments),M},init:function(){},mixIn:function(M){for(var R in M)M.hasOwnProperty(R)&&(this[R]=M[R]);M.hasOwnProperty("toString")&&(this.toString=M.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),w=_.WordArray=T.extend({init:function(M,R){M=this.words=M||[],this.sigBytes=null!=R?R:4*M.length},toString:function(M){return(M||F).stringify(this)},concat:function(M){var R=this.words,U=M.words,j=this.sigBytes,K=M.sigBytes;if(this.clamp(),j%4)for(var oe=0;oe>>2]|=(U[oe>>>2]>>>24-oe%4*8&255)<<24-(j+oe)%4*8;else for(var te=0;te>>2]=U[te>>>2];return this.sigBytes+=K,this},clamp:function(){var M=this.words,R=this.sigBytes;M[R>>>2]&=4294967295<<32-R%4*8,M.length=S.ceil(R/4)},clone:function(){var M=T.clone.call(this);return M.words=this.words.slice(0),M},random:function(M){for(var R=[],U=0;U>>2]>>>24-K%4*8&255;j.push((oe>>>4).toString(16)),j.push((15&oe).toString(16))}return j.join("")},parse:function(M){for(var R=M.length,U=[],j=0;j>>3]|=parseInt(M.substr(j,2),16)<<24-j%8*4;return new w.init(U,R/2)}},A=g.Latin1={stringify:function(M){for(var R=M.words,U=M.sigBytes,j=[],K=0;K>>2]>>>24-K%4*8&255));return j.join("")},parse:function(M){for(var R=M.length,U=[],j=0;j>>2]|=(255&M.charCodeAt(j))<<24-j%4*8;return new w.init(U,R)}},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=_.BufferedBlockAlgorithm=T.extend({reset:function(){this._data=new w.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 R,U=this._data,j=U.words,K=U.sigBytes,oe=this.blockSize,te=K/(4*oe),se=(te=M?S.ceil(te):S.max((0|te)-this._minBufferSize,0))*oe,m=S.min(4*se,K);if(se){for(var n=0;n>>24)|4278255360&(M<<24|M>>>8)}var R=this._hash.words,U=B[P+0],j=B[P+1],K=B[P+2],oe=B[P+3],ve=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=R[0],d=R[1],L=R[2],I=R[3];r=w(r,d,L,I,U,7,_[0]),I=w(I,r,d,L,j,12,_[1]),L=w(L,I,r,d,K,17,_[2]),d=w(d,L,I,r,oe,22,_[3]),r=w(r,d,L,I,ve,7,_[4]),I=w(I,r,d,L,te,12,_[5]),L=w(L,I,r,d,se,17,_[6]),d=w(d,L,I,r,m,22,_[7]),r=w(r,d,L,I,n,7,_[8]),I=w(I,r,d,L,o,12,_[9]),L=w(L,I,r,d,u,17,_[10]),d=w(d,L,I,r,s,22,_[11]),r=w(r,d,L,I,h,7,_[12]),I=w(I,r,d,L,v,12,_[13]),L=w(L,I,r,d,y,17,_[14]),r=g(r,d=w(d,L,I,r,f,22,_[15]),L,I,j,5,_[16]),I=g(I,r,d,L,se,9,_[17]),L=g(L,I,r,d,s,14,_[18]),d=g(d,L,I,r,U,20,_[19]),r=g(r,d,L,I,te,5,_[20]),I=g(I,r,d,L,u,9,_[21]),L=g(L,I,r,d,f,14,_[22]),d=g(d,L,I,r,ve,20,_[23]),r=g(r,d,L,I,o,5,_[24]),I=g(I,r,d,L,y,9,_[25]),L=g(L,I,r,d,oe,14,_[26]),d=g(d,L,I,r,n,20,_[27]),r=g(r,d,L,I,v,5,_[28]),I=g(I,r,d,L,K,9,_[29]),L=g(L,I,r,d,m,14,_[30]),r=F(r,d=g(d,L,I,r,h,20,_[31]),L,I,te,4,_[32]),I=F(I,r,d,L,n,11,_[33]),L=F(L,I,r,d,s,16,_[34]),d=F(d,L,I,r,y,23,_[35]),r=F(r,d,L,I,j,4,_[36]),I=F(I,r,d,L,ve,11,_[37]),L=F(L,I,r,d,m,16,_[38]),d=F(d,L,I,r,u,23,_[39]),r=F(r,d,L,I,v,4,_[40]),I=F(I,r,d,L,U,11,_[41]),L=F(L,I,r,d,oe,16,_[42]),d=F(d,L,I,r,se,23,_[43]),r=F(r,d,L,I,o,4,_[44]),I=F(I,r,d,L,h,11,_[45]),L=F(L,I,r,d,f,16,_[46]),r=A(r,d=F(d,L,I,r,K,23,_[47]),L,I,U,6,_[48]),I=A(I,r,d,L,m,10,_[49]),L=A(L,I,r,d,y,15,_[50]),d=A(d,L,I,r,te,21,_[51]),r=A(r,d,L,I,h,6,_[52]),I=A(I,r,d,L,oe,10,_[53]),L=A(L,I,r,d,u,15,_[54]),d=A(d,L,I,r,j,21,_[55]),r=A(r,d,L,I,n,6,_[56]),I=A(I,r,d,L,f,10,_[57]),L=A(L,I,r,d,se,15,_[58]),d=A(d,L,I,r,v,21,_[59]),r=A(r,d,L,I,ve,6,_[60]),I=A(I,r,d,L,s,10,_[61]),L=A(L,I,r,d,K,15,_[62]),d=A(d,L,I,r,o,21,_[63]),R[0]=R[0]+r|0,R[1]=R[1]+d|0,R[2]=R[2]+L|0,R[3]=R[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),R=$;P[15+(k+64>>>9<<4)]=16711935&(M<<8|M>>>24)|4278255360&(M<<24|M>>>8),P[14+(k+64>>>9<<4)]=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8),B.sigBytes=4*(P.length+1),this._process();for(var U=this._hash,j=U.words,K=0;K<4;K++){var oe=j[K];j[K]=16711935&(oe<<8|oe>>>24)|4278255360&(oe<<24|oe>>>8)}return U},clone:function(){var B=D.clone.call(this);return B._hash=this._hash.clone(),B}});function w(B,P,$,k,M,R,U){var j=B+(P&$|~P&k)+M+U;return(j<>>32-R)+P}function g(B,P,$,k,M,R,U){var j=B+(P&k|$&~k)+M+U;return(j<>>32-R)+P}function F(B,P,$,k,M,R,U){var j=B+(P^$^k)+M+U;return(j<>>32-R)+P}function A(B,P,$,k,M,R,U){var j=B+($^(P|~k))+M+U;return(j<>>32-R)+P}p.MD5=D._createHelper(T),p.HmacMD5=D._createHmacHelper(T)}(Math),a.MD5)},9986:function(be,ee,E){var S,p,O,c,C,_,a;be.exports=(a=E(7656),O=(p=(S=a).lib).WordArray,C=[],_=S.algo.SHA1=(c=p.Hasher).extend({_doReset:function(){this._hash=new O.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,w){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[w+k];else{var M=C[k-3]^C[k-8]^C[k-14]^C[k-16];C[k]=M<<1|M>>>31}var R=(F<<5|F>>>27)+$+C[k];R+=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=R}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,w=T.words,g=8*this._nDataBytes,F=8*T.sigBytes;return w[F>>>5]|=128<<24-F%32,w[14+(F+64>>>9<<4)]=Math.floor(g/4294967296),w[15+(F+64>>>9<<4)]=g,T.sigBytes=4*w.length,this._process(),this._hash},clone:function(){var T=c.clone.call(this);return T._hash=this._hash.clone(),T}}),S.SHA1=c._createHelper(_),S.HmacSHA1=c._createHmacHelper(_),a.SHA1)},7374:function(be){be.exports=function(){"use strict";var E=6e4,a=36e5,S="millisecond",p="second",O="minute",c="hour",D="day",C="week",_="month",T="quarter",w="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;R[y]=n,s=y}return!u&&s&&(M=s),s||!u&&M},oe=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)},ve=k;ve.l=K,ve.i=j,ve.w=function(m,n){return oe(m,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var te=function(){function m(o){this.$L=K(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(ve.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 ve},n.isValid=function(){return this.$d.toString()!==F},n.isSame=function(o,u){var s=oe(o);return this.startOf(u)<=s&&s<=this.endOf(u)},n.isAfter=function(o,u){return oe(o){"use strict";ee.utils=E(5671),ee.Cipher=E(219),ee.DES=E(4166),ee.CBC=E(8800),ee.EDE=E(2122)},8800:(be,ee,E)=>{"use strict";var a=E(9210),S=E(1993),p={};function O(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}be.exports=S,S.prototype._init=function(){},S.prototype.update=function(O){return 0===O.length?[]:"decrypt"===this.type?this._updateDecrypt(O):this._updateEncrypt(O)},S.prototype._buffer=function(O,c){for(var D=Math.min(this.buffer.length-this.bufferOff,O.length-c),C=0;C0;C--)c+=this._buffer(O,c),D+=this._flushBuffer(_,D);return c+=this._buffer(O,c),_},S.prototype.final=function(O){var c,D;return O&&(c=this.update(O)),D="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),c?c.concat(D):D},S.prototype._pad=function(O,c){if(0===c)return!1;for(;c{"use strict";var a=E(9210),S=E(1993),p=E(5671),O=E(219);function c(){this.tmp=new Array(2),this.keys=null}function D(_){O.call(this,_);var T=new c;this._desState=T,this.deriveKeys(T,_.key)}S(D,O),be.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,w){T.keys=new Array(32),a.equal(w.length,this.blockSize,"Invalid key length");var g=p.readUInt32BE(w,0),F=p.readUInt32BE(w,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,w,g,F){var A=this._desState,B=p.readUInt32BE(T,w),P=p.readUInt32BE(T,w+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,w){if(!1===this.padding)return!1;for(var g=T.length-w,F=w;F>>0,B=j}p.rip(P,B,F,A)},D.prototype._decrypt=function(T,w,g,F,A){for(var B=g,P=w,$=T.keys.length-2;$>=0;$-=2){var k=T.keys[$],M=T.keys[$+1];p.expand(B,T.tmp,0);var R=p.substitute(k^=T.tmp[0],M^=T.tmp[1]),j=B;B=(P^p.permute(R))>>>0,P=j}p.rip(B,P,F,A)}},2122:(be,ee,E)=>{"use strict";var a=E(9210),S=E(1993),p=E(219),O=E(4166);function c(C,_){a.equal(_.length,24,"Invalid key length");var T=_.slice(0,8),w=_.slice(8,16),g=_.slice(16,24);this.ciphers="encrypt"===C?[O.create({type:"encrypt",key:T}),O.create({type:"decrypt",key:w}),O.create({type:"encrypt",key:g})]:[O.create({type:"decrypt",key:g}),O.create({type:"encrypt",key:w}),O.create({type:"decrypt",key:T})]}function D(C){p.call(this,C);var _=new c(this.type,this.options.key);this._edeState=_}S(D,p),be.exports=D,D.create=function(_){return new D(_)},D.prototype._update=function(_,T,w,g){var F=this._edeState;F.ciphers[0]._update(_,T,w,g),F.ciphers[1]._update(w,g,w,g),F.ciphers[2]._update(w,g,w,g)},D.prototype._pad=O.prototype._pad,D.prototype._unpad=O.prototype._unpad},5671:(be,ee)=>{"use strict";ee.readUInt32BE=function(O,c){return(O[0+c]<<24|O[1+c]<<16|O[2+c]<<8|O[3+c])>>>0},ee.writeUInt32BE=function(O,c,D){O[0+D]=c>>>24,O[1+D]=c>>>16&255,O[2+D]=c>>>8&255,O[3+D]=255&c},ee.ip=function(O,c,D,C){for(var _=0,T=0,w=6;w>=0;w-=2){for(var g=0;g<=24;g+=8)_<<=1,_|=c>>>g+w&1;for(g=0;g<=24;g+=8)_<<=1,_|=O>>>g+w&1}for(w=6;w>=0;w-=2){for(g=1;g<=25;g+=8)T<<=1,T|=c>>>g+w&1;for(g=1;g<=25;g+=8)T<<=1,T|=O>>>g+w&1}D[C+0]=_>>>0,D[C+1]=T>>>0},ee.rip=function(O,c,D,C){for(var _=0,T=0,w=0;w<4;w++)for(var g=24;g>=0;g-=8)_<<=1,_|=c>>>g+w&1,_<<=1,_|=O>>>g+w&1;for(w=4;w<8;w++)for(g=24;g>=0;g-=8)T<<=1,T|=c>>>g+w&1,T<<=1,T|=O>>>g+w&1;D[C+0]=_>>>0,D[C+1]=T>>>0},ee.pc1=function(O,c,D,C){for(var _=0,T=0,w=7;w>=5;w--){for(var g=0;g<=24;g+=8)_<<=1,_|=c>>g+w&1;for(g=0;g<=24;g+=8)_<<=1,_|=O>>g+w&1}for(g=0;g<=24;g+=8)_<<=1,_|=c>>g+w&1;for(w=1;w<=3;w++){for(g=0;g<=24;g+=8)T<<=1,T|=c>>g+w&1;for(g=0;g<=24;g+=8)T<<=1,T|=O>>g+w&1}for(g=0;g<=24;g+=8)T<<=1,T|=O>>g+w&1;D[C+0]=_>>>0,D[C+1]=T>>>0},ee.r28shl=function(O,c){return O<>>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(O,c,D,C){for(var _=0,T=0,w=E.length>>>1,g=0;g>>E[g]&1;for(g=w;g>>E[g]&1;D[C+0]=_>>>0,D[C+1]=T>>>0},ee.expand=function(O,c,D){var C=0,_=0;C=(1&O)<<5|O>>>27;for(var T=23;T>=15;T-=4)C<<=6,C|=O>>>T&63;for(T=11;T>=3;T-=4)_|=O>>>T&63,_<<=6;_|=(31&O)<<1|O>>>31,c[D+0]=C>>>0,c[D+1]=_>>>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(O,c){for(var D=0,C=0;C<4;C++)D<<=4,D|=a[64*C+(O>>>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(O){for(var c=0,D=0;D>>S[D]&1;return c>>>0},ee.padSplit=function(O,c,D){for(var C=O.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 O(C){var _=new Buffer(S[C].prime,"hex"),T=new Buffer(S[C].gen,"hex");return new p(_,T)},ee.createDiffieHellman=ee.DiffieHellman=function D(C,_,T,w){return Buffer.isBuffer(_)||void 0===c[_]?D(C,"binary",_,T):(_=_||"binary",w=w||"binary",T=T||new Buffer([2]),Buffer.isBuffer(T)||(T=new Buffer(T,w)),"number"==typeof C?new p(a(C,T),T,!0):(Buffer.isBuffer(C)||(C=new Buffer(C,_)),new p(C,T,!0)))}},4593:(be,ee,E)=>{var a=E(8280),p=new(E(3459)),O=new a(24),c=new a(11),D=new a(10),C=new a(3),_=new a(7),T=E(2727),w=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}be.exports=P;var A={};function P(k,M,R){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,R?(this.setPublicKey=g,this.setPrivateKey=F):this._primeCode=8}function $(k,M){var R=new Buffer(k.toArray());return M?R.toString(M):R}Object.defineProperty(P.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function B(k,M){var R=M.toString("hex"),U=[R,k.toString(16)].join("_");if(U in A)return A[U];var K,j=0;if(k.isEven()||!T.simpleSieve||!T.fermatTest(k)||!p.test(k))return j+=1,A[U]=j+="02"===R||"05"===R?8:4,j;switch(p.test(k.shrn(1))||(j+=2),R){case"02":k.mod(O).cmp(c)&&(j+=8);break;case"05":(K=k.mod(D)).cmp(C)&&K.cmp(_)&&(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(w(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(),R=new Buffer(M.toArray()),U=this.getPrime();if(R.length{var a=E(3342);be.exports=j,j.simpleSieve=R,j.fermatTest=U;var S=E(8280),p=new S(24),c=new(E(3459)),D=new S(1),C=new S(2),_=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 R(K){for(var oe=function M(){if(null!==k)return k;var oe=[];oe[0]=2;for(var ve=1,te=3;te<1048576;te+=2){for(var se=Math.ceil(Math.sqrt(te)),m=0;mK;)ve.ishrn(1);if(ve.isEven()&&ve.iadd(D),ve.testn(1)||ve.iadd(C),oe.cmp(C)){if(!oe.cmp(_))for(;ve.mod(g).cmp(F);)ve.iadd(P)}else for(;ve.mod(p).cmp(B);)ve.iadd(P);if(R(te=ve.shrn(1))&&R(ve)&&U(te)&&U(ve)&&c.test(te)&&c.test(ve))return ve}}},8280:function(be,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function O(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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},518:(be,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:(be,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.getNAF,O=S.getJSF,c=S.assert;function D(_,T){this.type=_,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 w=this.n&&this.p.div(this.n);!w||w.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function C(_,T){this.curve=_,this.type=T,this.precomputed=null}be.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,w){c(T.precomputed);var g=T._getDoubles(),F=p(w,1,this._bitLength),A=(1<=P;k--)$=($<<1)+F[k];B.push($)}for(var M=this.jpoint(null,null,null),R=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,w,g,F,A){var M,R,U,B=this._wnafT1,P=this._wnafT2,$=this._wnafT3,k=0;for(M=0;M=1;M-=2){var K=M-1,oe=M;if(1===B[K]&&1===B[oe]){var ve=[w[K],null,null,w[oe]];0===w[K].y.cmp(w[oe].y)?(ve[1]=w[K].add(w[oe]),ve[2]=w[K].toJ().mixedAdd(w[oe].neg())):0===w[K].y.cmp(w[oe].y.redNeg())?(ve[1]=w[K].toJ().mixedAdd(w[oe]),ve[2]=w[K].add(w[oe].neg())):(ve[1]=w[K].toJ().mixedAdd(w[oe]),ve[2]=w[K].toJ().mixedAdd(w[oe].neg()));var te=[-3,-1,-5,-7,0,7,5,1,3],se=O(g[K],g[oe]);for(k=Math.max(se[0].length,k),$[K]=new Array(k),$[oe]=new Array(k),R=0;R=0;M--){for(var s=0;M>=0;){var h=!0;for(R=0;R=0&&s++,o=o.dblp(s),M<0)break;for(R=0;R0?U=P[R][v-1>>1]:v<0&&(U=P[R][-v-1>>1].neg()),o="affine"===U.type?o.mixedAdd(U):o.add(U))}}for(M=0;M=Math.ceil((T.bitLength()+1)/w.step)},C.prototype._getDoubles=function(T,w){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var g=[this],F=this,A=0;A{"use strict";var a=E(3136),S=E(8723),p=E(1993),O=E(8828),c=a.assert;function D(_){this.twisted=1!=(0|_.a),this.mOneA=this.twisted&&-1==(0|_.a),this.extended=this.mOneA,O.call(this,"edwards",_),this.a=new S(_.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new S(_.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new S(_.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|_.c)}function C(_,T,w,g,F){O.BasePoint.call(this,_,"projective"),null===T&&null===w&&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(w,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,O),be.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,w,g,F){return this.point(T,w,g,F)},D.prototype.pointFromX=function(T,w){(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(w&&!$||!w&&$)&&(P=P.redNeg()),this.point(T,P)},D.prototype.pointFromY=function(T,w){(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(w)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()!==w&&(P=P.redNeg()),this.point(P,T)},D.prototype.validate=function(T){if(T.isInfinity())return!0;T.normalize();var w=T.x.redSqr(),g=T.y.redSqr(),F=w.redMul(this.a).redAdd(g),A=this.c2.redMul(this.one.redAdd(this.d.redMul(w).redMul(g)));return 0===F.cmp(A)},p(C,O.BasePoint),D.prototype.pointFromJSON=function(T){return C.fromJSON(this,T)},D.prototype.point=function(T,w,g,F){return new C(this,T,w,g,F)},C.fromJSON=function(T,w){return new C(T,w[0],w[1],w[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(),w=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(w),B=F.redAdd(w),P=B.redSub(g),$=F.redSub(w),k=A.redMul(P),M=B.redMul($),R=A.redMul($),U=P.redMul(B);return this.curve.point(k,M,U,R)},C.prototype._projDbl=function(){var F,A,B,P,$,k,T=this.x.redAdd(this.y).redSqr(),w=this.x.redSqr(),g=this.y.redSqr();if(this.curve.twisted){var M=(P=this.curve._mulA(w)).redAdd(g);this.zOne?(F=T.redSub(w).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(w).redISub(g).redMul(k),A=M.redMul(P.redSub(g)),B=M.redMul(k))}else P=w.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(w.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 w=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(w),P=A.redSub(F),$=A.redAdd(F),k=g.redAdd(w),M=B.redMul(P),R=$.redMul(k),U=B.redMul(k),j=P.redMul($);return this.curve.point(M,R,j,U)},C.prototype._projAdd=function(T){var R,U,w=this.z.redMul(T.z),g=w.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=w.redMul(P).redMul(k);return this.curve.twisted?(R=w.redMul($).redMul(A.redSub(this.curve._mulA(F))),U=P.redMul($)):(R=w.redMul($).redMul(A.redSub(F)),U=this.curve._mulC(P).redMul($)),this.curve.point(M,R,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,w,g){return this.curve._wnafMulAdd(1,[this,w],[T,g],2,!1)},C.prototype.jmulAdd=function(T,w,g){return this.curve._wnafMulAdd(1,[this,w],[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 w=T.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(w))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(w.redIAdd(F),0===this.x.cmp(w))return!0}},C.prototype.toP=C.prototype.normalize,C.prototype.mixedAdd=C.prototype.add},8729:(be,ee,E)=>{"use strict";var a=ee;a.base=E(8828),a.short=E(8075),a.mont=E(4947),a.edwards=E(5537)},4947:(be,ee,E)=>{"use strict";var a=E(8723),S=E(1993),p=E(8828),O=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,_,T){p.BasePoint.call(this,C,"projective"),null===_&&null===T?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a(_,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),be.exports=c,c.prototype.validate=function(_){var T=_.normalize().x,w=T.redSqr(),g=w.redMul(T).redAdd(w.redMul(this.a)).redAdd(T);return 0===g.redSqrt().redSqr().cmp(g)},S(D,p.BasePoint),c.prototype.decodePoint=function(_,T){return this.point(O.toArray(_,T),1)},c.prototype.point=function(_,T){return new D(this,_,T)},c.prototype.pointFromJSON=function(_){return D.fromJSON(this,_)},D.prototype.precompute=function(){},D.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},D.fromJSON=function(_,T){return new D(_,T[0],T[1]||_.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(_,T){var w=this.x.redAdd(this.z),g=this.x.redSub(this.z),F=_.x.redAdd(_.z),B=_.x.redSub(_.z).redMul(w),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(_){for(var T=_.clone(),w=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]?(w=w.diffAdd(g,this),g=g.dbl()):(g=w.diffAdd(g,this),w=w.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(_){return 0===this.getX().cmp(_.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:(be,ee,E)=>{"use strict";var a=E(3136),S=E(8723),p=E(1993),O=E(8828),c=a.assert;function D(T){O.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,w,g,F){O.BasePoint.call(this,T,"affine"),null===w&&null===g?(this.x=null,this.y=null,this.inf=!0):(this.x=new S(w,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 _(T,w,g,F){O.BasePoint.call(this,T,"jacobian"),null===w&&null===g&&null===F?(this.x=this.curve.one,this.y=this.curve.one,this.z=new S(0)):(this.x=new S(w,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,O),be.exports=D,D.prototype._getEndomorphism=function(w){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var g,F;if(w.beta)g=new S(w.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(w.lambda)F=new S(w.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:w.basis?w.basis.map(function($){return{a:new S($.a,16),b:new S($.b,16)}}):this._getEndoBasis(F)}}},D.prototype._getEndoRoots=function(w){var g=w===this.p?this.red:S.mont(w),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(w){for(var M,R,U,j,K,oe,ve,se,m,g=this.n.ushrn(Math.floor(this.n.bitLength()/2)),F=w,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=ve.neg(),R=B,U=se.neg(),j=m;else if(U&&2==++te)break;ve=se,A=F,F=se,$=B,B=m,k=P,P=o}K=se.neg(),oe=m;var u=U.sqr().add(j.sqr());return K.sqr().add(oe.sqr()).cmp(u)>=0&&(K=M,oe=R),U.negative&&(U=U.neg(),j=j.neg()),K.negative&&(K=K.neg(),oe=oe.neg()),[{a:U,b:j},{a:K,b:oe}]},D.prototype._endoSplit=function(w){var g=this.endo.basis,F=g[0],A=g[1],B=A.b.mul(w).divRound(this.n),P=F.b.neg().mul(w).divRound(this.n),$=B.mul(F.a),k=P.mul(A.a),M=B.mul(F.b),R=P.mul(A.b);return{k1:w.sub($).sub(k),k2:M.add(R).neg()}},D.prototype.pointFromX=function(w,g){(w=new S(w,16)).red||(w=w.toRed(this.red));var F=w.redSqr().redMul(w).redIAdd(w.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(w,A)},D.prototype.validate=function(w){if(w.inf)return!0;var g=w.x,F=w.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(w,g,F){for(var A=this._endoWnafT1,B=this._endoWnafT2,P=0;P":""},C.prototype.isInfinity=function(){return this.inf},C.prototype.add=function(w){if(this.inf)return w;if(w.inf)return this;if(this.eq(w))return this.dbl();if(this.neg().eq(w))return this.curve.point(null,null);if(0===this.x.cmp(w.x))return this.curve.point(null,null);var g=this.y.redSub(w.y);0!==g.cmpn(0)&&(g=g.redMul(this.x.redSub(w.x).redInvm()));var F=g.redSqr().redISub(this.x).redISub(w.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 w=this.y.redAdd(this.y);if(0===w.cmpn(0))return this.curve.point(null,null);var g=this.curve.a,F=this.x.redSqr(),A=w.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(w){return w=new S(w,16),this.isInfinity()?this:this._hasDoubles(w)?this.curve._fixedNafMul(this,w):this.curve.endo?this.curve._endoWnafMulAdd([this],[w]):this.curve._wnafMul(this,w)},C.prototype.mulAdd=function(w,g,F){var A=[this,g],B=[w,F];return this.curve.endo?this.curve._endoWnafMulAdd(A,B):this.curve._wnafMulAdd(1,A,B,2)},C.prototype.jmulAdd=function(w,g,F){var A=[this,g],B=[w,F];return this.curve.endo?this.curve._endoWnafMulAdd(A,B,!0):this.curve._wnafMulAdd(1,A,B,2,!0)},C.prototype.eq=function(w){return this===w||this.inf===w.inf&&(this.inf||0===this.x.cmp(w.x)&&0===this.y.cmp(w.y))},C.prototype.neg=function(w){if(this.inf)return this;var g=this.curve.point(this.x,this.y.redNeg());if(w&&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(_,O.BasePoint),D.prototype.jpoint=function(w,g,F){return new _(this,w,g,F)},_.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var w=this.z.redInvm(),g=w.redSqr(),F=this.x.redMul(g),A=this.y.redMul(g).redMul(w);return this.curve.point(F,A)},_.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},_.prototype.add=function(w){if(this.isInfinity())return w;if(w.isInfinity())return this;var g=w.z.redSqr(),F=this.z.redSqr(),A=this.x.redMul(g),B=w.x.redMul(F),P=this.y.redMul(g.redMul(w.z)),$=w.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 R=k.redSqr(),U=R.redMul(k),j=A.redMul(R),K=M.redSqr().redIAdd(U).redISub(j).redISub(j),oe=M.redMul(j.redISub(K)).redISub(P.redMul(U)),ve=this.z.redMul(w.z).redMul(k);return this.curve.jpoint(K,oe,ve)},_.prototype.mixedAdd=function(w){if(this.isInfinity())return w.toJ();if(w.isInfinity())return this;var g=this.z.redSqr(),F=this.x,A=w.x.redMul(g),B=this.y,P=w.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(),R=M.redMul($),U=F.redMul(M),j=k.redSqr().redIAdd(R).redISub(U).redISub(U),K=k.redMul(U.redISub(j)).redISub(B.redMul(R)),oe=this.z.redMul($);return this.curve.jpoint(j,K,oe)},_.prototype.dblp=function(w){if(0===w)return this;if(this.isInfinity())return this;if(!w)return this.dbl();var g;if(this.curve.zeroA||this.curve.threeA){var F=this;for(g=0;g=0)return!1;if(F.redIAdd(B),0===this.x.cmp(F))return!0}},_.prototype.inspect=function(){return this.isInfinity()?"":""},_.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(be,ee,E)=>{"use strict";var _,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,w){Object.defineProperty(a,T,{configurable:!0,enumerable:!0,get:function(){var g=new D(w);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{_=E(1416)}catch{_=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",_]})},9042:(be,ee,E)=>{"use strict";var a=E(8723),S=E(3556),p=E(3136),O=E(3401),c=E(5294),D=p.assert,C=E(541),_=E(484);function T(w){if(!(this instanceof T))return new T(w);"string"==typeof w&&(D(Object.prototype.hasOwnProperty.call(O,w),"Unknown curve "+w),w=O[w]),w instanceof O.PresetCurve&&(w={curve:w}),this.curve=w.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=w.curve.g,this.g.precompute(w.curve.n.bitLength()+1),this.hash=w.hash||w.curve.hash}be.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"}),R=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(R)>=0)){var K=this.g.mul(j);if(!K.isInfinity()){var oe=K.getX(),ve=oe.umod(this.n);if(0!==ve.cmpn(0)){var te=j.invm(this.n).mul(ve.mul(F.getPrivate()).iadd(g));if(0!==(te=te.umod(this.n)).cmpn(0)){var se=(K.getY().isOdd()?1:0)|(0!==oe.cmp(ve)?2:0);return B.canonical&&te.cmp(this.nh)>0&&(te=this.n.sub(te),se^=1),new _({r:ve,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 _(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),R=k.mul(P).umod(this.n);return this.curve._maxwellTrick?!(U=this.g.jmulAdd(M,A.getPublic(),R)).isInfinity()&&U.eqXToP(P):!(U=this.g.mulAdd(M,A.getPublic(),R)).isInfinity()&&0===U.getX().umod(this.n).cmp(P)},T.prototype.recoverPubKey=function(w,g,F,A){D((3&F)===F,"The recovery param is more than two bits"),g=new _(g,A);var B=this.n,P=new a(w),$=g.r,k=g.s,M=1&F,R=F>>1;if($.cmp(this.curve.p.umod(this.curve.n))>=0&&R)throw new Error("Unable to find sencond key candinate");$=this.curve.pointFromX(R?$.add(this.curve.n):$,M);var U=g.r.invm(B),j=B.sub(P).mul(U).umod(B),K=k.mul(U).umod(B);return this.g.mulAdd(j,$,K)},T.prototype.getKeyRecoveryParam=function(w,g,F,A){if(null!==(g=new _(g,A)).recoveryParam)return g.recoveryParam;for(var B=0;B<4;B++){var P;try{P=this.recoverPubKey(w,g,B)}catch{continue}if(P.eq(F))return B}throw new Error("Unable to find valid recovery factor")}},541:(be,ee,E)=>{"use strict";var a=E(8723),p=E(3136).assert;function O(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)}be.exports=O,O.fromPublic=function(D,C,_){return C instanceof O?C:new O(D,{pub:C,pubEnc:_})},O.fromPrivate=function(D,C,_){return C instanceof O?C:new O(D,{priv:C,privEnc:_})},O.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"}},O.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},O.prototype.getPrivate=function(D){return"hex"===D?this.priv.toString(16,2):this.priv},O.prototype._importPrivate=function(D,C){this.priv=new a(D,C||16),this.priv=this.priv.umod(this.ec.curve.n)},O.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)},O.prototype.derive=function(D){return D.validate()||p(D.validate(),"public point not validated"),D.mul(this.priv).getX()},O.prototype.sign=function(D,C,_){return this.ec.sign(D,this,C,_)},O.prototype.verify=function(D,C){return this.ec.verify(D,C,this)},O.prototype.inspect=function(){return""}},484:(be,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert;function O(T,w){if(T instanceof O)return T;this._importDER(T,w)||(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,w){var g=T[w.place++];if(!(128&g))return g;var F=15&g;if(0===F||F>4)return!1;for(var A=0,B=0,P=w.place;B>>=0;return!(A<=127)&&(w.place=P,A)}function C(T){for(var w=0,g=T.length-1;!T[w]&&!(128&T[w+1])&&w>>3);for(T.push(128|g);--g;)T.push(w>>>(g<<3)&255);T.push(w)}}be.exports=O,O.prototype._importDER=function(w,g){w=S.toArray(w,g);var F=new c;if(48!==w[F.place++])return!1;var A=D(w,F);if(!1===A||A+F.place!==w.length||2!==w[F.place++])return!1;var B=D(w,F);if(!1===B)return!1;var P=w.slice(F.place,B+F.place);if(F.place+=B,2!==w[F.place++])return!1;var $=D(w,F);if(!1===$||w.length!==$+F.place)return!1;var k=w.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},O.prototype.toDER=function(w){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];_(A,g.length),(A=A.concat(g)).push(2),_(A,F.length);var B=A.concat(F),P=[48];return _(P,B.length),P=P.concat(B),S.encode(P,w)}},3045:(be,ee,E)=>{"use strict";var a=E(2529),S=E(3401),p=E(3136),O=p.assert,c=p.parseBytes,D=E(7222),C=E(5451);function _(T){if(O("ed25519"===T,"only tested with ed25519 so far"),!(this instanceof _))return new _(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}be.exports=_,_.prototype.sign=function(w,g){w=c(w);var F=this.keyFromSecret(g),A=this.hashInt(F.messagePrefix(),w),B=this.g.mul(A),P=this.encodePoint(B),$=this.hashInt(P,F.pubBytes(),w).mul(F.priv()),k=A.add($).umod(this.curve.n);return this.makeSignature({R:B,S:k,Rencoded:P})},_.prototype.verify=function(w,g,F){w=c(w),g=this.makeSignature(g);var A=this.keyFromPublic(F),B=this.hashInt(g.Rencoded(),A.pubBytes(),w),P=this.g.mul(g.S());return g.R().add(A.pub().mul(B)).eq(P)},_.prototype.hashInt=function(){for(var w=this.hash(),g=0;g{"use strict";var a=E(3136),S=a.assert,p=a.parseBytes,O=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,_){return _ instanceof c?_:new c(C,{pub:_})},c.fromSecret=function(C,_){return _ instanceof c?_:new c(C,{secret:_})},c.prototype.secret=function(){return this._secret},O(c,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),O(c,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),O(c,"privBytes",function(){var C=this.eddsa,_=this.hash(),T=C.encodingLength-1,w=_.slice(0,C.encodingLength);return w[0]&=248,w[T]&=127,w[T]|=64,w}),O(c,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),O(c,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),O(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,_){return this.eddsa.verify(C,_,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)},be.exports=c},5451:(be,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert,O=S.cachedProperty,c=S.parseBytes;function D(C,_){this.eddsa=C,"object"!=typeof _&&(_=c(_)),Array.isArray(_)&&(_={R:_.slice(0,C.encodingLength),S:_.slice(C.encodingLength)}),p(_.R&&_.S,"Signature without R or S"),C.isPoint(_.R)&&(this._R=_.R),_.S instanceof a&&(this._S=_.S),this._Rencoded=Array.isArray(_.R)?_.R:_.Rencoded,this._Sencoded=Array.isArray(_.S)?_.S:_.Sencoded}O(D,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),O(D,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),O(D,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),O(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()},be.exports=D},1416:be=>{be.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:(be,ee,E)=>{"use strict";var a=ee,S=E(8723),p=E(9210),O=E(1832);a.assert=p,a.toArray=O.toArray,a.zero2=O.zero2,a.toHex=O.toHex,a.encode=O.encode,a.getNAF=function c(w,g,F){var B,A=new Array(Math.max(w.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(w,g){var F=[[],[]];w=w.clone(),g=g.clone();for(var P,A=0,B=0;w.cmpn(-A)>0||g.cmpn(-B)>0;){var M,R,$=w.andln(3)+A&3,k=g.andln(3)+B&3;3===$&&($=-1),3===k&&(k=-1),M=1&$?3!=(P=w.andln(7)+A&7)&&5!==P||2!==k?$:-$:0,F[0].push(M),R=1&k?3!=(P=g.andln(7)+B&7)&&5!==P||2!==$?k:-k:0,F[1].push(R),2*A===M+1&&(A=1-A),2*B===R+1&&(B=1-B),w.iushrn(1),g.iushrn(1)}return F},a.cachedProperty=function C(w,g,F){var A="_"+g;w.prototype[g]=function(){return void 0!==this[A]?this[A]:this[A]=F.call(this)}},a.parseBytes=function _(w){return"string"==typeof w?a.toArray(w,"hex"):w},a.intFromLE=function T(w){return new S(w,"hex","le")}},8723:function(be,ee,E){!function(a,S){"use strict";function p(m,n){if(!m)throw new Error(n||"Assertion failed")}function O(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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},4356:be=>{"use strict";var a,ee="object"==typeof Reflect?Reflect:null,E=ee&&"function"==typeof ee.apply?ee.apply:function(U,j,K){return Function.prototype.apply.call(U,j,K)};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 O(){O.init.call(this)}be.exports=O,be.exports.once=function $(R,U){return new Promise(function(j,K){function oe(te){R.removeListener(U,ve),K(te)}function ve(){"function"==typeof R.removeListener&&R.removeListener("error",oe),j([].slice.call(arguments))}M(R,U,ve,{once:!0}),"error"!==U&&function k(R,U,j){"function"==typeof R.on&&M(R,"error",U,j)}(R,oe,{once:!0})})},O.EventEmitter=O,O.prototype._events=void 0,O.prototype._eventsCount=0,O.prototype._maxListeners=void 0;var c=10;function D(R){if("function"!=typeof R)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof R)}function C(R){return void 0===R._maxListeners?O.defaultMaxListeners:R._maxListeners}function _(R,U,j,K){var oe,ve,te;if(D(j),void 0===(ve=R._events)?(ve=R._events=Object.create(null),R._eventsCount=0):(void 0!==ve.newListener&&(R.emit("newListener",U,j.listener?j.listener:j),ve=R._events),te=ve[U]),void 0===te)te=ve[U]=j,++R._eventsCount;else if("function"==typeof te?te=ve[U]=K?[j,te]:[te,j]:K?te.unshift(j):te.push(j),(oe=C(R))>0&&te.length>oe&&!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=R,se.type=U,se.count=te.length,function S(R){console&&console.warn&&console.warn(R)}(se)}return R}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 w(R,U,j){var K={fired:!1,wrapFn:void 0,target:R,type:U,listener:j},oe=T.bind(K);return oe.listener=j,K.wrapFn=oe,oe}function g(R,U,j){var K=R._events;if(void 0===K)return[];var oe=K[U];return void 0===oe?[]:"function"==typeof oe?j?[oe.listener||oe]:[oe]:j?function P(R){for(var U=new Array(R.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=ve[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(K=0;K=0;te--)if(K[te]===j||K[te].listener===j){se=K[te].listener,ve=te;break}if(ve<0)return this;0===ve?K.shift():function B(R,U){for(;U+1=0;oe--)this.removeListener(U,j[oe]);return this},O.prototype.listeners=function(U){return g(this,U,!0)},O.prototype.rawListeners=function(U){return g(this,U,!1)},O.listenerCount=function(R,U){return"function"==typeof R.listenerCount?R.listenerCount(U):F.call(R,U)},O.prototype.listenerCount=F,O.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},8211:(be,ee,E)=>{var a=E(7054).Buffer,S=E(4725);be.exports=function p(O,c,D,C){if(a.isBuffer(O)||(O=a.from(O,"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 _=D/8,T=a.alloc(_),w=a.alloc(C||0),g=a.alloc(0);_>0||C>0;){var F=new S;F.update(g),F.update(O),c&&F.update(c),g=F.digest();var A=0;if(_>0){var B=T.length-_;A=Math.min(_,g.length),g.copy(T,B,0,A),_-=A}if(A0){var P=w.length-C,$=Math.min(C,g.length-A);g.copy(w,P,A,A+$),C-=$}}return g.fill(0),{key:T,iv:w}}},3686:(be,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,_){var T=null;try{this.update(D,C)}catch(w){T=w}_(T)},c.prototype._flush=function(D){var C=null;try{this.push(this.digest())}catch(_){C=_}D(C)},c.prototype.update=function(D,C){if(function O(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 _=this._block,T=0;this._blockOffset+D.length-T>=this._blockSize;){for(var w=this._blockOffset;w0;++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 _=0;_<4;++_)this._length[_]=0;return C},c.prototype._digest=function(){throw new Error("_digest is not implemented")},be.exports=c},2529:(be,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:(be,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 _=0;_>>24&255,_[T++]=c>>>16&255,_[T++]=c>>>8&255,_[T++]=255&c}else for(_[T++]=255&c,_[T++]=c>>>8&255,_[T++]=c>>>16&255,_[T++]=c>>>24&255,_[T++]=0,_[T++]=0,_[T++]=0,_[T++]=0,w=8;w{"use strict";var a=E(8283),S=E(9210);function p(O,c,D){if(!(this instanceof p))return new p(O,c,D);this.Hash=O,this.blockSize=O.blockSize/8,this.outSize=O.outSize/8,this.inner=null,this.outer=null,this._init(a.toArray(c,D))}be.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,O=a.sum32,c=a.sum32_3,D=a.sum32_4,C=S.BlockHash;function _(){if(!(this instanceof _))return new _;C.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function T($,k,M,R){return $<=15?k^M^R:$<=31?k&M|~k&R:$<=47?(k|~M)^R:$<=63?k&R|M&~R:k^(M|~R)}function g($){return $<=15?1352829926:$<=31?1548603684:$<=47?1836072691:$<=63?2053994217:0}a.inherits(_,C),ee.ripemd160=_,_.blockSize=512,_.outSize=160,_.hmacStrength=192,_.padLength=64,_.prototype._update=function(k,M){for(var R=this.h[0],U=this.h[1],j=this.h[2],K=this.h[3],oe=this.h[4],ve=R,te=U,se=j,m=K,n=oe,o=0;o<80;o++){var u=O(p(D(R,T(o,U,j,K),k[F[o]+M],($=o)<=15?0:$<=31?1518500249:$<=47?1859775393:$<=63?2400959708:2840853838),B[o]),oe);R=oe,oe=K,K=p(j,10),j=U,U=u,u=O(p(D(ve,T(79-o,te,se,m),k[A[o]+M],g(o)),P[o]),n),ve=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],K,n),this.h[2]=c(this.h[3],oe,ve),this.h[3]=c(this.h[4],R,te),this.h[4]=c(this.h[0],U,se),this.h[0]=u},_.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:(be,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:(be,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),O=a.rotl32,c=a.sum32,D=a.sum32_5,C=p.ft_1,_=S.BlockHash,T=[1518500249,1859775393,2400959708,3395469782];function w(){if(!(this instanceof w))return new w;_.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}a.inherits(w,_),be.exports=w,w.blockSize=512,w.outSize=160,w.hmacStrength=80,w.padLength=64,w.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),be.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:(be,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),O=E(9210),c=a.sum32,D=a.sum32_4,C=a.sum32_5,_=p.ch32,T=p.maj32,w=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),be.exports=$,$.blockSize=512,$.outSize=256,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(M,R){for(var U=this.W,j=0;j<16;j++)U[j]=M[R+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),be.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:(be,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(9210),O=a.rotr64_hi,c=a.rotr64_lo,D=a.shr64_hi,C=a.shr64_lo,_=a.sum64,T=a.sum64_hi,w=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 R(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 K(u,s){var f=O(u,s,28)^O(s,u,2)^O(s,u,7);return f<0&&(f+=4294967296),f}function oe(u,s){var f=c(u,s,28)^c(s,u,2)^c(s,u,7);return f<0&&(f+=4294967296),f}function ve(u,s){var f=O(u,s,14)^O(u,s,18)^O(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=O(u,s,1)^O(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=O(u,s,19)^O(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),be.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 O(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?O(F,A,B):1===g||3===g?D(F,A,B):2===g?c(F,A,B):void 0},ee.ch32=O,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 _(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 w(g){return S(g,17)^S(g,19)^g>>>10}},8283:(be,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 _(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 O(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 R(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 K(o,u,s,h,v,y,f,r){return u+h+y+r>>>0},ee.sum64_5_hi=function oe(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 ve(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:(be,ee,E)=>{"use strict";var a=E(2529),S=E(1832),p=E(9210);function O(c){if(!(this instanceof O))return new O(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"),_=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,_)}be.exports=O,O.prototype._init=function(D,C,_){var T=D.concat(C).concat(_);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var w=0;w=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(D.concat(_||[])),this._reseed=1},O.prototype.generate=function(D,C,_,T){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof C&&(T=_,_=C,C=null),_&&(_=S.toArray(_,T||"hex"),this._update(_));for(var w=[];w.length{ee.read=function(E,a,S,p,O){var c,D,C=8*O-p-1,_=(1<>1,w=-7,g=S?O-1:0,F=S?-1:1,A=E[a+g];for(g+=F,c=A&(1<<-w)-1,A>>=-w,w+=C;w>0;c=256*c+E[a+g],g+=F,w-=8);for(D=c&(1<<-w)-1,c>>=-w,w+=p;w>0;D=256*D+E[a+g],g+=F,w-=8);if(0===c)c=1-T;else{if(c===_)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,O,c){var D,C,_,T=8*c-O-1,w=(1<>1,F=23===O?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=w):(D=Math.floor(Math.log(a)/Math.LN2),a*(_=Math.pow(2,-D))<1&&(D--,_*=2),(a+=D+g>=1?F/_:F*Math.pow(2,1-g))*_>=2&&(D++,_/=2),D+g>=w?(C=0,D=w):D+g>=1?(C=(a*_-1)*Math.pow(2,O),D+=g):(C=a*Math.pow(2,g-1)*Math.pow(2,O),D=0));O>=8;E[S+A]=255&C,A+=B,C/=256,O-=8);for(D=D<0;E[S+A]=255&D,A+=B,D/=256,T-=8);E[S+A-B]|=128*P}},1993:be=>{be.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:be=>{var ee={}.toString;be.exports=Array.isArray||function(E){return"[object Array]"==ee.call(E)}},9657:(be,ee,E)=>{"use strict";E.d(ee,{b:()=>Qe,c:()=>j,g:()=>U,r:()=>ft});var a=E(467);let p,O,D=!1;const w="slot-fb{display:contents}slot-fb[hidden]{display:none}",g={},A=_e=>"object"==(_e=typeof _e)||"function"===_e;function B(_e){var De,Ae,Ze;return null!==(Ze=null===(Ae=null===(De=_e.head)||void 0===De?void 0:De.querySelector('meta[name="csp-nonce"]'))||void 0===Ae?void 0:Ae.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,Ae)=>{const Ze=U(_e);return{emit:Ue=>K(Ze,De,{bubbles:!!(4&Ae),composed:!!(2&Ae),cancelable:!!(1&Ae),detail:Ue})}},K=(_e,De,Ae)=>{const Ze=Bt.ce(De,Ae);return _e.dispatchEvent(Ze),Ze},oe=new WeakMap,m=(_e,De)=>"sc-"+_e.$tagName$,n=(_e,De,Ae,Ze,Ue,it)=>{if(Ae!==Ze){let Pe=wt(_e,De);De.toLowerCase();{const Be=A(Ze);if((Pe||Be&&null!==Ze)&&!Ue)try{if(_e.tagName.includes("-"))_e[De]=Ze;else{const Ve=null==Ze?"":Ze;"list"===De?Pe=!1:(null==Ae||_e[De]!=Ve)&&(_e[De]=Ve)}}catch{}null==Ze||!1===Ze?(!1!==Ze||""===_e.getAttribute(De))&&_e.removeAttribute(De):(!Pe||4&it||Ue)&&!Be&&_e.setAttribute(De,Ze=!0===Ze?"":Ze)}}},o=(_e,De,Ae,Ze)=>{const Ue=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(Ue,Ze,it[Ze],void 0,Ae,De.$flags$);for(Ze of u(Object.keys(Pe)))n(Ue,Ze,it[Ze],Pe[Ze],Ae,De.$flags$)};function u(_e){return _e.includes("ref")?[..._e.filter(De=>"ref"!==De),"ref"]:_e}const s=(_e,De,Ae,Ze)=>{const Ue=De.$children$[Ae];let Pe,Be,it=0;if(Pe=Ue.$elm$=Dt.createElement(Ue.$tag$),o(null,Ue,!1),(_e=>null!=_e)(p)&&Pe["s-si"]!==p&&Pe.classList.add(Pe["s-si"]=p),Ue.$children$)for(it=0;it{let Be,Pe=_e;for(Pe.shadowRoot&&Pe.tagName===O&&(Pe=Pe.shadowRoot);Ue<=it;++Ue)Ze[Ue]&&(Be=s(null,Ae,Ue),Be&&(Ze[Ue].$elm$=Be,Pe.insertBefore(Be,De)))},v=(_e,De,Ae)=>{for(let Ze=De;Ze<=Ae;++Ze){const Ue=_e[Ze];if(Ue){const it=Ue.$elm$;it&&it.remove()}}},f=(_e,De,Ae=!1)=>_e.$tag$===De.$tag$,r=(_e,De,Ae=!1)=>{const Ze=De.$elm$=_e.$elm$,Ue=_e.$children$,it=De.$children$;o(_e,De,!1),null!==Ue&&null!==it?((_e,De,Ae,Ze,Ue=!1)=>{let Ct,it=0,Pe=0,Be=De.length-1,Ve=De[0],yt=De[Be],Je=Ze.length-1,lt=Ze[0],Qt=Ze[Je];for(;it<=Be&&Pe<=Je;)null==Ve?Ve=De[++it]:null==yt?yt=De[--Be]:null==lt?lt=Ze[++Pe]:null==Qt?Qt=Ze[--Je]:f(Ve,lt,Ue)?(r(Ve,lt,Ue),Ve=De[++it],lt=Ze[++Pe]):f(yt,Qt,Ue)?(r(yt,Qt,Ue),yt=De[--Be],Qt=Ze[--Je]):f(Ve,Qt,Ue)?(r(Ve,Qt,Ue),_e.insertBefore(Ve.$elm$,yt.$elm$.nextSibling),Ve=De[++it],Qt=Ze[--Je]):f(yt,lt,Ue)?(r(yt,lt,Ue),_e.insertBefore(yt.$elm$,Ve.$elm$),yt=De[--Be],lt=Ze[++Pe]):(Ct=s(De&&De[Pe],Ae,Pe),lt=Ze[++Pe],Ct&&Ve.$elm$.parentNode.insertBefore(Ct,Ve.$elm$));it>Be?h(_e,null==Ze[Je+1]?null:Ze[Je+1].$elm$,Ae,Ze,Pe,Je):Pe>Je&&v(De,it,Be)})(Ze,Ue,De,it,Ae):null!==it?h(Ze,null,De,it,0,it.length-1):null!==Ue&&v(Ue,0,Ue.length-1)},L=(_e,De)=>{De&&!_e.$onRenderResolve$&&De["s-p"]&&De["s-p"].push(new Promise(Ae=>_e.$onRenderResolve$=Ae))},I=(_e,De)=>{if(_e.$flags$|=16,!(4&_e.$flags$))return L(_e,_e.$ancestorComponent$),Le(()=>V(_e,De));_e.$flags$|=512},V=(_e,De)=>{const Ze=_e.$lazyInstance$;let Ue;return De&&(Ue=tt(Ze,"componentWillLoad")),J(Ue,()=>me(_e,Ze,De))},J=(_e,De)=>re(_e)?_e.then(De):De(),re=_e=>_e instanceof Promise||_e&&_e.then&&"function"==typeof _e.then,me=function(){var _e=(0,a.A)(function*(De,Ae,Ze){var Ue;const it=De.$hostElement$,Be=it["s-rc"];Ze&&(_e=>{const De=_e.$cmpMeta$,Ae=_e.$hostElement$,Ze=De.$flags$,it=((_e,De,Ae)=>{var Ze;const Ue=m(De),it=Tt.get(Ue);if(_e=11===_e.nodeType?_e:Dt,it)if("string"==typeof it){let Be,Pe=oe.get(_e=_e.head||_e);if(Pe||oe.set(_e,Pe=new Set),!Pe.has(Ue)){{Be=Dt.createElement("style"),Be.innerHTML=it;const Ve=null!==(Ze=Bt.$nonce$)&&void 0!==Ze?Ze:B(Dt);null!=Ve&&Be.setAttribute("nonce",Ve),_e.insertBefore(Be,_e.querySelector("link"))}4&De.$flags$&&(Be.innerHTML+=w),Pe&&Pe.add(Ue)}}else _e.adoptedStyleSheets.includes(it)||(_e.adoptedStyleSheets=[..._e.adoptedStyleSheets,it]);return Ue})(Ae.shadowRoot?Ae.shadowRoot:Ae.getRootNode(),De);10&Ze&&(Ae["s-sc"]=it,Ae.classList.add(it+"-h"))})(De);Me(De,Ae,it,Ze),Be&&(Be.map(yt=>yt()),it["s-rc"]=void 0);{const yt=null!==(Ue=it["s-p"])&&void 0!==Ue?Ue:[],Je=()=>Q(De);0===yt.length?Je():(Promise.all(yt).then(Je),De.$flags$|=4,yt.length=0)}});return function(Ae,Ze,Ue){return _e.apply(this,arguments)}}(),Me=(_e,De,Ae,Ze)=>{try{De=De.render(),_e.$flags$&=-17,_e.$flags$|=2,((_e,De,Ae=!1)=>{const Ze=_e.$hostElement$,Ue=_e.$cmpMeta$,it=_e.$vnode$||$(null,null),Pe=(_e=>_e&&_e.$tag$===k)(De)?De:((_e,De,...Ae)=>{let Ze=null,Ue=!1,it=!1;const Pe=[],Be=yt=>{for(let Je=0;Je0&&(Ve.$children$=Pe),Ve})(null,null,De);if(O=Ze.tagName,Ue.$attrsToReflect$&&(Pe.$attrs$=Pe.$attrs$||{},Ue.$attrsToReflect$.map(([Be,Ve])=>Pe.$attrs$[Ve]=Ze[Be])),Ae&&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,Ae)})(_e,De,Ze)}catch(Ue){Pt(Ue,_e.$hostElement$)}return null},Q=_e=>{const Ae=_e.$hostElement$,Ue=_e.$lazyInstance$,it=_e.$ancestorComponent$;64&_e.$flags$||(_e.$flags$|=64,Re(Ae),tt(Ue,"componentDidLoad"),_e.$onReadyResolve$(Ae),it||ae()),_e.$onInstanceResolve$(Ae),_e.$onRenderResolve$&&(_e.$onRenderResolve$(),_e.$onRenderResolve$=void 0),512&_e.$flags$&&Ut(()=>I(_e,!1)),_e.$flags$&=-517},ae=_e=>{Re(Dt.documentElement),Ut(()=>K(yn,"appload",{detail:{namespace:"jeep-sqlite"}}))},tt=(_e,De,Ae)=>{if(_e&&_e[De])try{return _e[De](Ae)}catch(Ze){Pt(Ze)}},Re=_e=>_e.classList.add("hydrated"),Se=(_e,De,Ae)=>{var Ze;const Ue=_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&Ae&&32&Be?Object.defineProperty(Ue,Pe,{get(){return((_e,De)=>gt(this).$instanceValues$.get(De))(0,Pe)},set(Ve){((_e,De,Ae,Ze)=>{const Ue=gt(_e),it=Ue.$hostElement$,Pe=Ue.$instanceValues$.get(De),Be=Ue.$flags$,Ve=Ue.$lazyInstance$;Ae=((_e,De)=>null==_e||A(_e)?_e:4&De?"false"!==_e&&(""===_e||!!_e):1&De?String(_e):_e)(Ae,Ze.$members$[De][0]);const yt=Number.isNaN(Pe)&&Number.isNaN(Ae);if((!(8&Be)||void 0===Pe)&&Ae!==Pe&&!yt&&(Ue.$instanceValues$.set(De,Ae),Ve)){if(Ze.$watchers$&&128&Be){const lt=Ze.$watchers$[De];lt&<.map(Qt=>{try{Ve[Qt](Ae,Pe,De)}catch(Ct){Pt(Ct,it)}})}2==(18&Be)&&I(Ue,!1)}})(this,Pe,Ve,De)},configurable:!0,enumerable:!0}):1&Ae&&64&Be&&Object.defineProperty(Ue,Pe,{value(...Ve){var yt;const Je=gt(this);return null===(yt=null==Je?void 0:Je.$onInstancePromise$)||void 0===yt?void 0:yt.then(()=>{var lt;return null===(lt=Je.$lazyInstance$)||void 0===lt?void 0:lt[Pe](...Ve)})}})}),1&Ae){const Pe=new Map;Ue.attributeChangedCallback=function(Be,Ve,yt){Bt.jmp(()=>{var Je;const lt=Pe.get(Be);if(this.hasOwnProperty(lt))yt=this[lt],delete this[lt];else{if(Ue.hasOwnProperty(lt)&&"number"==typeof this[lt]&&this[lt]==yt)return;if(null==lt){const Qt=gt(this),Ct=null==Qt?void 0:Qt.$flags$;if(Ct&&!(8&Ct)&&128&Ct&&yt!==Ve){const mt=Qt.$lazyInstance$,Kt=null===(Je=De.$watchers$)||void 0===Je?void 0:Je[Be];null==Kt||Kt.forEach(Rt=>{null!=mt[Rt]&&mt[Rt].call(mt,yt,Ve,Be)})}return}}this[lt]=(null!==yt||"boolean"!=typeof this[lt])&&yt})},_e.observedAttributes=Array.from(new Set([...Object.keys(null!==(Ze=De.$watchers$)&&void 0!==Ze?Ze:{}),...it.filter(([Be,Ve])=>15&Ve[0]).map(([Be,Ve])=>{var yt;const Je=Ve[1]||Be;return Pe.set(Je,Be),512&Ve[0]&&(null===(yt=De.$attrsToReflect$)||void 0===yt||yt.push([Be,Je])),Je})]))}}return _e},ie=function(){var _e=(0,a.A)(function*(De,Ae,Ze,Ue){let it;if(!(32&Ae.$flags$)){if(Ae.$flags$|=32,Ze.$lazyBundleId$){if(it=St(Ze),it.then){const Je=()=>{};it=yield it,Je()}it.isProxied||(Ze.$watchers$=it.watchers,Se(it,Ze,2),it.isProxied=!0);const yt=()=>{};Ae.$flags$|=8;try{new it(Ae)}catch(Je){Pt(Je)}Ae.$flags$&=-9,Ae.$flags$|=128,yt(),ne(Ae.$lazyInstance$)}else it=De.constructor,customElements.whenDefined(Ze.$tagName$).then(()=>Ae.$flags$|=128);if(it.style){let yt=it.style;const Je=m(Ze);if(!Tt.has(Je)){const lt=()=>{};((_e,De,Ae)=>{let Ze=Tt.get(_e);st&&Ae?(Ze=Ze||new CSSStyleSheet,"string"==typeof Ze?Ze=De:Ze.replaceSync(De)):Ze=De,Tt.set(_e,Ze)})(Je,yt,!!(1&Ze.$flags$)),lt()}}}const Pe=Ae.$ancestorComponent$,Be=()=>I(Ae,!0);Pe&&Pe["s-rc"]?Pe["s-rc"].push(Be):Be()});return function(Ae,Ze,Ue,it){return _e.apply(this,arguments)}}(),ne=_e=>{tt(_e,"connectedCallback")},vt=function(){var _e=(0,a.A)(function*(De){if(!(1&Bt.$flags$)){const Ae=gt(De);null!=Ae&&Ae.$lazyInstance$||null!=Ae&&Ae.$onReadyPromise$&&Ae.$onReadyPromise$.then(()=>{})}});return function(Ae){return _e.apply(this,arguments)}}(),Qe=(_e,De={})=>{var Ae;const Ue=[],it=De.exclude||[],Pe=yn.customElements,Be=Dt.head,Ve=Be.querySelector("meta[charset]"),yt=Dt.createElement("style"),Je=[];let lt,Qt=!0;Object.assign(Bt,De),Bt.$resourcesUrl$=new URL(De.resourcesUrl||"./",Dt.baseURI).href;let Ct=!1;if(_e.map(mt=>{mt[1].map(Kt=>{var Rt;const Ft={$flags$:Kt[0],$tagName$:Kt[1],$members$:Kt[2],$listeners$:Kt[3]};4&Ft.$flags$&&(Ct=!0),Ft.$members$=Kt[2],Ft.$attrsToReflect$=[],Ft.$watchers$=null!==(Rt=Kt[4])&&void 0!==Rt?Rt:{};const Pn=Ft.$tagName$,wn=class extends HTMLElement{constructor(_n){super(_n),on(_n=this,Ft),1&Ft.$flags$&&_n.attachShadow({mode:"open"})}connectedCallback(){lt&&(clearTimeout(lt),lt=null),Qt?Je.push(this):Bt.jmp(()=>(_e=>{if(!(1&Bt.$flags$)){const De=gt(_e),Ae=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 Ue=_e;for(;Ue=Ue.parentNode||Ue.host;)if(Ue["s-p"]){L(De,De.$ancestorComponent$=Ue);break}}Ae.$members$&&Object.entries(Ae.$members$).map(([Ue,[it]])=>{if(31&it&&_e.hasOwnProperty(Ue)){const Pe=_e[Ue];delete _e[Ue],_e[Ue]=Pe}}),ie(_e,De,Ae)}Ze()}})(this))}disconnectedCallback(){Bt.jmp(()=>vt(this))}componentOnReady(){return gt(this).$onReadyPromise$}};Ft.$lazyBundleId$=mt[0],!it.includes(Pn)&&!Pe.get(Pn)&&(Ue.push(Pn),Pe.define(Pn,Se(wn,Ft,1)))})}),Ue.length>0&&(Ct&&(yt.textContent+=w),yt.textContent+=Ue+"{visibility:hidden}.hydrated{visibility:inherit}",yt.innerHTML.length)){yt.setAttribute("data-styles","");const mt=null!==(Ae=Bt.$nonce$)&&void 0!==Ae?Ae:B(Dt);null!=mt&&yt.setAttribute("nonce",mt),Be.insertBefore(yt,Ve?Ve.nextSibling:Be.firstChild)}Qt=!1,Je.length?Je.map(mt=>mt.connectedCallback()):Bt.jmp(()=>lt=setTimeout(ae,30))},nn=new WeakMap,gt=_e=>nn.get(_e),ft=(_e,De)=>nn.set(De.$lazyInstance$=_e,De),on=(_e,De)=>{const Ae={$flags$:0,$hostElement$:_e,$cmpMeta$:De,$instanceValues$:new Map};return Ae.$onInstancePromise$=new Promise(Ze=>Ae.$onInstanceResolve$=Ze),Ae.$onReadyPromise$=new Promise(Ze=>Ae.$onReadyResolve$=Ze),_e["s-p"]=[],_e["s-rc"]=[],nn.set(_e,Ae)},wt=(_e,De)=>De in _e,Pt=(_e,De)=>(0,console.error)(_e,De),En=new Map,St=(_e,De,Ae)=>{const Ze=_e.$tagName$.replace(/-/g,"_"),Ue=_e.$lazyBundleId$,it=En.get(Ue);return it?it[Ze]:E(7321)(`./${Ue}.entry.js`).then(Pe=>(En.set(Ue,Pe),Pe[Ze]),Pt)},Tt=new Map,yn=typeof window<"u"?window:{},Dt=yn.document||{head:{}},Bt={$flags$:0,$resourcesUrl$:"",jmp:_e=>_e(),raf:_e=>requestAnimationFrame(_e),ael:(_e,De,Ae,Ze)=>_e.addEventListener(De,Ae,Ze),rel:(_e,De,Ae,Ze)=>_e.removeEventListener(De,Ae,Ze),ce:(_e,De)=>new CustomEvent(_e,De)},st=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Lt=[],In=[],kt=(_e,De)=>Ae=>{_e.push(Ae),D||(D=!0,De&&4&Bt.$flags$?Ut(Ln):Bt.raf(Ln))},Ot=_e=>{for(let De=0;De<_e.length;De++)try{_e[De](performance.now())}catch(Ae){Pt(Ae)}_e.length=0},Ln=()=>{Ot(Lt),Ot(In),(D=Lt.length>0)&&Bt.raf(Ln)},Ut=_e=>Promise.resolve(void 0).then(_e),Le=kt(In,!0)},4801:function(be){typeof self<"u"&&self,be.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,O){a.o(S,p)||Object.defineProperty(S,p,{configurable:!1,enumerable:!0,get:O})},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(O,c){this.width=c,this.height=O.length/c,this.data=O}return p.createEmpty=function(O,c){return new p(new Uint8ClampedArray(O*c),O)},p.prototype.get=function(O,c){return!(O<0||O>=this.width||c<0||c>=this.height||!this.data[c*this.width+O])},p.prototype.set=function(O,c,D){this.data[c*this.width+O]=D?1:0},p.prototype.setRegion=function(O,c,D,C,_){for(var T=c;T=this.size&&(T=(T^this.primitive)&this.size-1);for(w=0;w1&&0===D[0]){for(var _=1;__.length&&(C=(D=[_,C])[0],_=D[1]);for(var T=new Uint8ClampedArray(_.length),w=_.length-C.length,g=0;gw?w:_}var D=function(){function _(T,w){this.width=T,this.data=new Uint8ClampedArray(T*w)}return _.prototype.get=function(T,w){return this.data[w*this.width+T]},_.prototype.set=function(T,w,g){this.data[w*this.width+T]=g},_}();E.binarize=function C(_,T,w,g){if(_.length!==T*w*4)throw new Error("Malformed data passed to binarizer.");for(var F=new D(T,w),A=0;A0&&K>0)){var n=(U.get(K,j-1)+2*U.get(K-1,j)+U.get(K-1,j-1))/4;ve6&&(R.setRegion(M-11,0,3,6,!0),R.setRegion(0,M-11,6,3,!0)),R}(M),oe=[],ve=0,te=0,se=!0,m=j-1;m>0;m-=2){6===m&&m--;for(var n=0;n=0;j--)for(var K=M-9;K>=M-11;K--)U=C(k.get(K,j),U);var oe=0;for(K=5;K>=0;K--)for(j=M-9;j>=M-11;j--)oe=C(k.get(K,j),oe);for(var te,ve=1/0,se=0,m=c.VERSIONS;se=0;U--)6!==U&&(M=C(k.get(8,U),M));var j=k.height,K=0;for(U=j-1;U>=j-7;U--)K=C(k.get(8,U),K);for(R=j-8;R1){var n=U.ecBlocks[0].numBlocks,o=U.ecBlocks[1].numBlocks;for(ve=0;ve0;)for(var u=0,s=j;u=3;){if((M=F.readBits(10))>=1e3)throw new Error("Invalid numeric value above 999");var R=Math.floor(M/100),U=Math.floor(M/10)%10,j=M%10;B.push(48+R,48+U,48+j),P+=R.toString()+U.toString()+j.toString(),k-=3}if(2===k){if((M=F.readBits(7))>=100)throw new Error("Invalid numeric value above 99");R=Math.floor(M/10),B.push(48+R,48+(U=M%10)),P+=R.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 _(F,A){for(var B=[],P="",k=F.readBits([9,11,13][A]);k>=2;){var M=F.readBits(11),R=Math.floor(M/45),U=M%45;B.push(C[R].charCodeAt(0),C[U].charCodeAt(0)),P+=C[R]+C[U],k-=2}return 1===k&&(R=F.readBits(6),B.push(C[R].charCodeAt(0)),P+=C[R]),{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),R=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:O.ECI,assignmentNumber:M.readBits(7)}):0===M.readBits(1)?U.chunks.push({type:O.ECI,assignmentNumber:M.readBits(14)}):0===M.readBits(1)?U.chunks.push({type:O.ECI,assignmentNumber:M.readBits(21)}):U.chunks.push({type:O.ECI,assignmentNumber:-1});else if(j===c.Numeric){var K=D(M,R);U.text+=K.text,(B=U.bytes).push.apply(B,K.bytes),U.chunks.push({type:O.Numeric,text:K.text})}else if(j===c.Alphanumeric){var oe=_(M,R);U.text+=oe.text,(P=U.bytes).push.apply(P,oe.bytes),U.chunks.push({type:O.Alphanumeric,text:oe.text})}else if(j===c.Byte){var ve=T(M,R);U.text+=ve.text,($=U.bytes).push.apply($,ve.bytes),U.chunks.push({type:O.Byte,bytes:ve.bytes,text:ve.text})}else if(j===c.Kanji){var te=w(M,R);U.text+=te.text,(k=U.bytes).push.apply(k,te.bytes),U.chunks.push({type:O.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(O){this.byteOffset=0,this.bitOffset=0,this.bytes=O}return p.prototype.readBits=function(O){if(O<1||O>32||O>this.available())throw new Error("Cannot read "+O.toString()+" bits");var c=0;if(this.bitOffset>0){var D=8-this.bitOffset,C=O>8-C<<(_=D-C))>>_,O-=C,this.bitOffset+=C,8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(O>0){for(;O>=8;)c=c<<8|255&this.bytes[this.byteOffset],this.byteOffset++,O-=8;var _;O>0&&(c=c<>(_=8-O)<<_)>>_,this.bitOffset+=O)}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(_,T){var w=new Uint8ClampedArray(_.length);w.set(_);for(var g=new S.default(285,256,0),F=new p.default(g,w),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 R=_.zero,U=A.getCoefficient(A.degree()),j=_.inverse(U);B.degree()>=A.degree()&&!B.isZero();){var K=B.degree()-A.degree(),oe=_.multiply(B.getCoefficient(B.degree()),j);R=R.addOrSubtract(_.buildMonomial(K,oe)),B=B.addOrSubtract(A.multiplyByMonomial(K,oe))}if($=R.multiplyPoly(P).addOrSubtract(M),B.degree()>=A.degree())return null}var ve=$.getCoefficient(0);if(0===ve)return null;var te=_.inverse(ve);return[$.multiply(te),B.multiply(te)]}(g,g.buildMonomial(T,1),k,T);if(null===M)return null;var R=function c(_,T){var w=T.degree();if(1===w)return[T.getCoefficient(1)];for(var g=new Array(w),F=0,A=1;A<_.size&&FMath.abs(k.x-$.x);j?(K=Math.floor($.y),oe=Math.floor($.x),ve=Math.floor(k.y),te=Math.floor(k.x)):(K=Math.floor($.x),oe=Math.floor($.y),ve=Math.floor(k.x),te=Math.floor(k.y));for(var se=Math.abs(ve-K),m=Math.abs(te-oe),n=Math.floor(-se/2),o=K0){if(v===te)break;v+=u,n-=se}}for(var r=[],d=0;d=15&&n.length?n[0]:m,dimension:K}}E.locate=function B($){for(var k=[],M=[],R=[],U=[],j=function(y){for(var f=0,r=!1,d=[0,0,0,0,0],L=function(V){var J=$.get(V,y);if(J===r)f++;else{d=[d[1],d[2],d[3],d[4],f],f=1,r=J;var re=D(d)/7,me=Math.abs(d[0]-re)=ie.bottom.startX&&tt<=ie.bottom.endX||ae>=ie.bottom.startX&&tt<=ie.bottom.endX||tt<=ie.bottom.startX&&ae>=ie.bottom.endX&&d[2]/(ie.bottom.endX-ie.bottom.startX)<1.5&&d[2]/(ie.bottom.endX-ie.bottom.startX)>.5})).length>0?pe[0].bottom=Re:M.push({top:Re,bottom:Re})}if(Q){var pe,Ie=V-d[4],Se=Ie-d[3];Re={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=Re:U.push({top:Re,bottom:Re})}}},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}),R.push.apply(R,U.filter(function(V){return V.bottom.y!==y})),U=U.filter(function(V){return V.bottom.y===y})},K=0;K<=$.height;K++)j(K);k.push.apply(k,M.filter(function(y){return y.bottom.y-y.top.y>=2})),R.push.apply(R,U);var oe=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===oe.length)return null;var ve=function C($,k,M){var R,U,j,K,se,m,n,oe=c($,k),ve=c(k,M),te=c($,M);return ve>=oe&&ve>=te?(se=(R=[k,$,M])[0],m=R[1],n=R[2]):te>=ve&&te>=oe?(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=(K=[n,se])[0],n=K[1]),{bottomLeft:se,topLeft:m,topRight:n}}(oe[0].points[0],oe[0].points[1],oe[0].points[2]),te=ve.topRight,se=ve.topLeft,m=ve.bottomLeft,n=P($,R,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($,R,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:(be,ee,E)=>{"use strict";var a=E(1993),S=E(3686),p=E(7054).Buffer,O=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 _(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 w(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=O,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=_(A,B=C(B,P,$,A,g[15],1236535329,22),P,$,g[1],4129170786,5),$=_($,A,B,P,g[6],3225465664,9),P=_(P,$,A,B,g[11],643717713,14),B=_(B,P,$,A,g[0],3921069994,20),A=_(A,B,P,$,g[5],3593408605,5),$=_($,A,B,P,g[10],38016083,9),P=_(P,$,A,B,g[15],3634488961,14),B=_(B,P,$,A,g[4],3889429448,20),A=_(A,B,P,$,g[9],568446438,5),$=_($,A,B,P,g[14],3275163606,9),P=_(P,$,A,B,g[3],4107603335,14),B=_(B,P,$,A,g[8],1163531501,20),A=_(A,B,P,$,g[13],2850285829,5),$=_($,A,B,P,g[2],4243563512,9),P=_(P,$,A,B,g[7],1735328473,14),A=T(A,B=_(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=w(A,B=T(B,P,$,A,g[2],3299628645,23),P,$,g[0],4096336452,6),$=w($,A,B,P,g[7],1126891415,10),P=w(P,$,A,B,g[14],2878612391,15),B=w(B,P,$,A,g[5],4237533241,21),A=w(A,B,P,$,g[12],1700485571,6),$=w($,A,B,P,g[3],2399980690,10),P=w(P,$,A,B,g[10],4293915773,15),B=w(B,P,$,A,g[1],2240044497,21),A=w(A,B,P,$,g[8],1873313359,6),$=w($,A,B,P,g[15],4264355552,10),P=w(P,$,A,B,g[6],2734768916,15),B=w(B,P,$,A,g[13],1309151649,21),A=w(A,B,P,$,g[4],4149444226,6),$=w($,A,B,P,g[11],3174756917,10),P=w(P,$,A,B,g[2],718787259,15),B=w(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},be.exports=c},3459:(be,ee,E)=>{var a=E(7223),S=E(5294);function p(O){this.rand=O||new S.Rand}be.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 _=new a(this.rand.generate(C))}while(_.cmp(c)>=0);return _},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 _=c.bitLength(),T=a.mont(c),w=new a(1).toRed(T);D||(D=Math.max(1,_/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(w)&&0!==k.cmp(B)){for(var M=1;M0;D--){var B=this._randrange(new a(2),w),P=c.gcd(B);if(0!==P.cmpn(1))return P;var $=B.toRed(_).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 _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},9210:be=>{function ee(E,a){if(!E)throw new Error(a||"Assertion failed")}be.exports=ee,ee.equal=function(a,S,p){if(a!=S)throw new Error(p||"Assertion failed: "+a+" != "+S)}},1832:(be,ee)=>{"use strict";var E=ee;function S(O){return 1===O.length?"0"+O:O}function p(O){for(var c="",D=0;D>8,w=255&_;T?D.push(T,w):D.push(w)}return D},E.zero2=S,E.toHex=p,E.encode=function(c,D){return"hex"===D?p(c):c}},3138:(be,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 O=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(O),this.key("subjectPublicKey").bitstr())});ee.PublicKey=c;var D=a.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(O),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 _=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=_,ee.DSAparam=a.define("DSAparam",function(){this.int()});var T=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),w=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=w,ee.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(be,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())}),O=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(O),this.key("subjectPublicKey").bitstr())}),D=a.define("RelativeDistinguishedName",function(){this.setof(p)}),C=a.define("RDNSequence",function(){this.seqof(D)}),_=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))}),w=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(O),this.key("issuer").use(_),this.key("validity").use(T),this.key("subject").use(_),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(w).optional())}),F=a.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(g),this.key("signatureAlgorithm").use(O),this.key("signatureValue").bitstr())});be.exports=F},9472:(be,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,O=E(8211),c=E(3388),D=E(7054).Buffer;be.exports=function(C,_){var g,T=C.toString(),w=T.match(a);if(w){var A="aes"+w[1],B=D.from(w[2],"hex"),P=D.from(w[3].replace(/[\r\n]/g,""),"base64"),$=O(_,B.slice(0,8),parseInt(w[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:(be,ee,E)=>{"use strict";var a=E(3138),S=E(5579),p=E(9472),O=E(3388),c=E(3397),D=E(7054).Buffer;function _(T){var w;"object"==typeof T&&!D.isBuffer(T)&&(w=T.passphrase,T=T.key),"string"==typeof T&&(T=D.from(T));var B,P,g=p(T,w),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,w){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(w,g,F,$,"sha1"),M=O.createDecipheriv(A,k,B),R=[];return R.push(M.update(P)),R.push(M.final()),D.concat(R)}(A=a.EncryptedPrivateKey.decode(A,"der"),w);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)}}_.signature=a.signature,be.exports=_},3397:(be,ee,E)=>{ee.pbkdf2=E(2685),ee.pbkdf2Sync=E(9111)},2685:(be,ee,E)=>{var D,g,a=E(7054).Buffer,S=E(6111),p=E(5392),O=E(9111),c=E(6643),C=global.crypto&&global.crypto.subtle,_={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,R){return C.importKey("raw",P,{name:"PBKDF2"},!1,["deriveBits"]).then(function(U){return C.deriveBits({name:"PBKDF2",salt:$,iterations:k,hash:{name:R}},U,M<<3)}).then(function(U){return a.from(U)})}be.exports=function(P,$,k,M,R,U){"function"==typeof R&&(U=R,R=void 0);var j=_[(R=R||"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 w(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(K){return K?A(P,$,k,M,j):O(P,$,k,M,R)}),U)}else F()(function(){var K;try{K=O(P,$,k,M,R)}catch(oe){return U(oe)}U(null,K)})}},5392:be=>{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",be.exports=ee},6111:be=>{var ee=Math.pow(2,30)-1;be.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:(be,ee,E)=>{var a=E(3407),S=E(6636),p=E(5443),O=E(7054).Buffer,c=E(6111),D=E(5392),C=E(6643),_=O.alloc(128),T={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function w(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;be.exports=function(S,p,O){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(O+" must be a string, a Buffer, a typed array or a DataView")}},9656:be=>{"use strict";be.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,O=arguments.length;switch(O){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(O-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:(be,ee,E)=>{var a=E(7211),S=E(7054).Buffer;function p(O){var c=S.allocUnsafe(4);return c.writeUInt32BE(O,0),c}be.exports=function(O,c){for(var _,D=S.alloc(0),C=0;D.length=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(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=_(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 w=["","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?w[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:w[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,J=0|s[1],re=8191&J,me=J>>>13,Me=0|s[2],Q=8191&Me,ae=Me>>>13,tt=0|s[3],Re=8191&tt,pe=tt>>>13,Ie=0|s[4],Se=8191&Ie,ie=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,ft=nn>>>13,on=0|s[8],wt=8191&on,Pt=on>>>13,En=0|s[9],St=8191&En,Tt=En>>>13,yn=0|h[0],Dt=8191&yn,Bt=yn>>>13,Cn=0|h[1],st=8191&Cn,Lt=Cn>>>13,In=0|h[2],kt=8191&In,Ot=In>>>13,Ln=0|h[3],Ut=8191&Ln,Le=Ln>>>13,_e=0|h[4],De=8191&_e,Ae=_e>>>13,Ze=0|h[5],Ue=8191&Ze,it=Ze>>>13,Pe=0|h[6],Be=8191&Pe,Ve=Pe>>>13,yt=0|h[7],Je=8191&yt,lt=yt>>>13,Qt=0|h[8],Ct=8191&Qt,mt=Qt>>>13,Kt=0|h[9],Rt=8191&Kt,Ft=Kt>>>13;u.negative=n.negative^o.negative,u.length=19;var Pn=(y+(f=Math.imul(I,Dt))|0)+((8191&(r=(r=Math.imul(I,Bt))+Math.imul(V,Dt)|0))<<13)|0;y=((d=Math.imul(V,Bt))+(r>>>13)|0)+(Pn>>>26)|0,Pn&=67108863,f=Math.imul(re,Dt),r=(r=Math.imul(re,Bt))+Math.imul(me,Dt)|0,d=Math.imul(me,Bt);var wn=(y+(f=f+Math.imul(I,st)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(V,st)|0))<<13)|0;y=((d=d+Math.imul(V,Lt)|0)+(r>>>13)|0)+(wn>>>26)|0,wn&=67108863,f=Math.imul(Q,Dt),r=(r=Math.imul(Q,Bt))+Math.imul(ae,Dt)|0,d=Math.imul(ae,Bt),f=f+Math.imul(re,st)|0,r=(r=r+Math.imul(re,Lt)|0)+Math.imul(me,st)|0,d=d+Math.imul(me,Lt)|0;var _n=(y+(f=f+Math.imul(I,kt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(V,kt)|0))<<13)|0;y=((d=d+Math.imul(V,Ot)|0)+(r>>>13)|0)+(_n>>>26)|0,_n&=67108863,f=Math.imul(Re,Dt),r=(r=Math.imul(Re,Bt))+Math.imul(pe,Dt)|0,d=Math.imul(pe,Bt),f=f+Math.imul(Q,st)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,st)|0,d=d+Math.imul(ae,Lt)|0,f=f+Math.imul(re,kt)|0,r=(r=r+Math.imul(re,Ot)|0)+Math.imul(me,kt)|0,d=d+Math.imul(me,Ot)|0;var bn=(y+(f=f+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,Le)|0)+Math.imul(V,Ut)|0))<<13)|0;y=((d=d+Math.imul(V,Le)|0)+(r>>>13)|0)+(bn>>>26)|0,bn&=67108863,f=Math.imul(Se,Dt),r=(r=Math.imul(Se,Bt))+Math.imul(ie,Dt)|0,d=Math.imul(ie,Bt),f=f+Math.imul(Re,st)|0,r=(r=r+Math.imul(Re,Lt)|0)+Math.imul(pe,st)|0,d=d+Math.imul(pe,Lt)|0,f=f+Math.imul(Q,kt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,kt)|0,d=d+Math.imul(ae,Ot)|0,f=f+Math.imul(re,Ut)|0,r=(r=r+Math.imul(re,Le)|0)+Math.imul(me,Ut)|0,d=d+Math.imul(me,Le)|0;var zn=(y+(f=f+Math.imul(I,De)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ae)|0)+Math.imul(V,De)|0))<<13)|0;y=((d=d+Math.imul(V,Ae)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,f=Math.imul(G,Dt),r=(r=Math.imul(G,Bt))+Math.imul(Ee,Dt)|0,d=Math.imul(Ee,Bt),f=f+Math.imul(Se,st)|0,r=(r=r+Math.imul(Se,Lt)|0)+Math.imul(ie,st)|0,d=d+Math.imul(ie,Lt)|0,f=f+Math.imul(Re,kt)|0,r=(r=r+Math.imul(Re,Ot)|0)+Math.imul(pe,kt)|0,d=d+Math.imul(pe,Ot)|0,f=f+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,Le)|0)+Math.imul(ae,Ut)|0,d=d+Math.imul(ae,Le)|0,f=f+Math.imul(re,De)|0,r=(r=r+Math.imul(re,Ae)|0)+Math.imul(me,De)|0,d=d+Math.imul(me,Ae)|0;var Un=(y+(f=f+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(V,Ue)|0))<<13)|0;y=((d=d+Math.imul(V,it)|0)+(r>>>13)|0)+(Un>>>26)|0,Un&=67108863,f=Math.imul(Qe,Dt),r=(r=Math.imul(Qe,Bt))+Math.imul(rt,Dt)|0,d=Math.imul(rt,Bt),f=f+Math.imul(G,st)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(Ee,st)|0,d=d+Math.imul(Ee,Lt)|0,f=f+Math.imul(Se,kt)|0,r=(r=r+Math.imul(Se,Ot)|0)+Math.imul(ie,kt)|0,d=d+Math.imul(ie,Ot)|0,f=f+Math.imul(Re,Ut)|0,r=(r=r+Math.imul(Re,Le)|0)+Math.imul(pe,Ut)|0,d=d+Math.imul(pe,Le)|0,f=f+Math.imul(Q,De)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(ae,De)|0,d=d+Math.imul(ae,Ae)|0,f=f+Math.imul(re,Ue)|0,r=(r=r+Math.imul(re,it)|0)+Math.imul(me,Ue)|0,d=d+Math.imul(me,it)|0;var Fn=(y+(f=f+Math.imul(I,Be)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ve)|0)+Math.imul(V,Be)|0))<<13)|0;y=((d=d+Math.imul(V,Ve)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,f=Math.imul(gt,Dt),r=(r=Math.imul(gt,Bt))+Math.imul(ft,Dt)|0,d=Math.imul(ft,Bt),f=f+Math.imul(Qe,st)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,st)|0,d=d+Math.imul(rt,Lt)|0,f=f+Math.imul(G,kt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(Ee,kt)|0,d=d+Math.imul(Ee,Ot)|0,f=f+Math.imul(Se,Ut)|0,r=(r=r+Math.imul(Se,Le)|0)+Math.imul(ie,Ut)|0,d=d+Math.imul(ie,Le)|0,f=f+Math.imul(Re,De)|0,r=(r=r+Math.imul(Re,Ae)|0)+Math.imul(pe,De)|0,d=d+Math.imul(pe,Ae)|0,f=f+Math.imul(Q,Ue)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,Ue)|0,d=d+Math.imul(ae,it)|0,f=f+Math.imul(re,Be)|0,r=(r=r+Math.imul(re,Ve)|0)+Math.imul(me,Be)|0,d=d+Math.imul(me,Ve)|0;var kn=(y+(f=f+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,lt)|0)+Math.imul(V,Je)|0))<<13)|0;y=((d=d+Math.imul(V,lt)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,f=Math.imul(wt,Dt),r=(r=Math.imul(wt,Bt))+Math.imul(Pt,Dt)|0,d=Math.imul(Pt,Bt),f=f+Math.imul(gt,st)|0,r=(r=r+Math.imul(gt,Lt)|0)+Math.imul(ft,st)|0,d=d+Math.imul(ft,Lt)|0,f=f+Math.imul(Qe,kt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,kt)|0,d=d+Math.imul(rt,Ot)|0,f=f+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,Le)|0)+Math.imul(Ee,Ut)|0,d=d+Math.imul(Ee,Le)|0,f=f+Math.imul(Se,De)|0,r=(r=r+Math.imul(Se,Ae)|0)+Math.imul(ie,De)|0,d=d+Math.imul(ie,Ae)|0,f=f+Math.imul(Re,Ue)|0,r=(r=r+Math.imul(Re,it)|0)+Math.imul(pe,Ue)|0,d=d+Math.imul(pe,it)|0,f=f+Math.imul(Q,Be)|0,r=(r=r+Math.imul(Q,Ve)|0)+Math.imul(ae,Be)|0,d=d+Math.imul(ae,Ve)|0,f=f+Math.imul(re,Je)|0,r=(r=r+Math.imul(re,lt)|0)+Math.imul(me,Je)|0,d=d+Math.imul(me,lt)|0;var Kn=(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)+(Kn>>>26)|0,Kn&=67108863,f=Math.imul(St,Dt),r=(r=Math.imul(St,Bt))+Math.imul(Tt,Dt)|0,d=Math.imul(Tt,Bt),f=f+Math.imul(wt,st)|0,r=(r=r+Math.imul(wt,Lt)|0)+Math.imul(Pt,st)|0,d=d+Math.imul(Pt,Lt)|0,f=f+Math.imul(gt,kt)|0,r=(r=r+Math.imul(gt,Ot)|0)+Math.imul(ft,kt)|0,d=d+Math.imul(ft,Ot)|0,f=f+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,Le)|0)+Math.imul(rt,Ut)|0,d=d+Math.imul(rt,Le)|0,f=f+Math.imul(G,De)|0,r=(r=r+Math.imul(G,Ae)|0)+Math.imul(Ee,De)|0,d=d+Math.imul(Ee,Ae)|0,f=f+Math.imul(Se,Ue)|0,r=(r=r+Math.imul(Se,it)|0)+Math.imul(ie,Ue)|0,d=d+Math.imul(ie,it)|0,f=f+Math.imul(Re,Be)|0,r=(r=r+Math.imul(Re,Ve)|0)+Math.imul(pe,Be)|0,d=d+Math.imul(pe,Ve)|0,f=f+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,lt)|0)+Math.imul(ae,Je)|0,d=d+Math.imul(ae,lt)|0,f=f+Math.imul(re,Ct)|0,r=(r=r+Math.imul(re,mt)|0)+Math.imul(me,Ct)|0,d=d+Math.imul(me,mt)|0;var $n=(y+(f=f+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ft)|0)+Math.imul(V,Rt)|0))<<13)|0;y=((d=d+Math.imul(V,Ft)|0)+(r>>>13)|0)+($n>>>26)|0,$n&=67108863,f=Math.imul(St,st),r=(r=Math.imul(St,Lt))+Math.imul(Tt,st)|0,d=Math.imul(Tt,Lt),f=f+Math.imul(wt,kt)|0,r=(r=r+Math.imul(wt,Ot)|0)+Math.imul(Pt,kt)|0,d=d+Math.imul(Pt,Ot)|0,f=f+Math.imul(gt,Ut)|0,r=(r=r+Math.imul(gt,Le)|0)+Math.imul(ft,Ut)|0,d=d+Math.imul(ft,Le)|0,f=f+Math.imul(Qe,De)|0,r=(r=r+Math.imul(Qe,Ae)|0)+Math.imul(rt,De)|0,d=d+Math.imul(rt,Ae)|0,f=f+Math.imul(G,Ue)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(Ee,Ue)|0,d=d+Math.imul(Ee,it)|0,f=f+Math.imul(Se,Be)|0,r=(r=r+Math.imul(Se,Ve)|0)+Math.imul(ie,Be)|0,d=d+Math.imul(ie,Ve)|0,f=f+Math.imul(Re,Je)|0,r=(r=r+Math.imul(Re,lt)|0)+Math.imul(pe,Je)|0,d=d+Math.imul(pe,lt)|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 jn=(y+(f=f+Math.imul(re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(re,Ft)|0)+Math.imul(me,Rt)|0))<<13)|0;y=((d=d+Math.imul(me,Ft)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,f=Math.imul(St,kt),r=(r=Math.imul(St,Ot))+Math.imul(Tt,kt)|0,d=Math.imul(Tt,Ot),f=f+Math.imul(wt,Ut)|0,r=(r=r+Math.imul(wt,Le)|0)+Math.imul(Pt,Ut)|0,d=d+Math.imul(Pt,Le)|0,f=f+Math.imul(gt,De)|0,r=(r=r+Math.imul(gt,Ae)|0)+Math.imul(ft,De)|0,d=d+Math.imul(ft,Ae)|0,f=f+Math.imul(Qe,Ue)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,Ue)|0,d=d+Math.imul(rt,it)|0,f=f+Math.imul(G,Be)|0,r=(r=r+Math.imul(G,Ve)|0)+Math.imul(Ee,Be)|0,d=d+Math.imul(Ee,Ve)|0,f=f+Math.imul(Se,Je)|0,r=(r=r+Math.imul(Se,lt)|0)+Math.imul(ie,Je)|0,d=d+Math.imul(ie,lt)|0,f=f+Math.imul(Re,Ct)|0,r=(r=r+Math.imul(Re,mt)|0)+Math.imul(pe,Ct)|0,d=d+Math.imul(pe,mt)|0;var je=(y+(f=f+Math.imul(Q,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Ft)|0)+Math.imul(ae,Rt)|0))<<13)|0;y=((d=d+Math.imul(ae,Ft)|0)+(r>>>13)|0)+(je>>>26)|0,je&=67108863,f=Math.imul(St,Ut),r=(r=Math.imul(St,Le))+Math.imul(Tt,Ut)|0,d=Math.imul(Tt,Le),f=f+Math.imul(wt,De)|0,r=(r=r+Math.imul(wt,Ae)|0)+Math.imul(Pt,De)|0,d=d+Math.imul(Pt,Ae)|0,f=f+Math.imul(gt,Ue)|0,r=(r=r+Math.imul(gt,it)|0)+Math.imul(ft,Ue)|0,d=d+Math.imul(ft,it)|0,f=f+Math.imul(Qe,Be)|0,r=(r=r+Math.imul(Qe,Ve)|0)+Math.imul(rt,Be)|0,d=d+Math.imul(rt,Ve)|0,f=f+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,lt)|0)+Math.imul(Ee,Je)|0,d=d+Math.imul(Ee,lt)|0,f=f+Math.imul(Se,Ct)|0,r=(r=r+Math.imul(Se,mt)|0)+Math.imul(ie,Ct)|0,d=d+Math.imul(ie,mt)|0;var ut=(y+(f=f+Math.imul(Re,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Re,Ft)|0)+Math.imul(pe,Rt)|0))<<13)|0;y=((d=d+Math.imul(pe,Ft)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,f=Math.imul(St,De),r=(r=Math.imul(St,Ae))+Math.imul(Tt,De)|0,d=Math.imul(Tt,Ae),f=f+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,it)|0)+Math.imul(Pt,Ue)|0,d=d+Math.imul(Pt,it)|0,f=f+Math.imul(gt,Be)|0,r=(r=r+Math.imul(gt,Ve)|0)+Math.imul(ft,Be)|0,d=d+Math.imul(ft,Ve)|0,f=f+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,lt)|0)+Math.imul(rt,Je)|0,d=d+Math.imul(rt,lt)|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 It=(y+(f=f+Math.imul(Se,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Se,Ft)|0)+Math.imul(ie,Rt)|0))<<13)|0;y=((d=d+Math.imul(ie,Ft)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,f=Math.imul(St,Ue),r=(r=Math.imul(St,it))+Math.imul(Tt,Ue)|0,d=Math.imul(Tt,it),f=f+Math.imul(wt,Be)|0,r=(r=r+Math.imul(wt,Ve)|0)+Math.imul(Pt,Be)|0,d=d+Math.imul(Pt,Ve)|0,f=f+Math.imul(gt,Je)|0,r=(r=r+Math.imul(gt,lt)|0)+Math.imul(ft,Je)|0,d=d+Math.imul(ft,lt)|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 Mt=(y+(f=f+Math.imul(G,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Ft)|0)+Math.imul(Ee,Rt)|0))<<13)|0;y=((d=d+Math.imul(Ee,Ft)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,f=Math.imul(St,Be),r=(r=Math.imul(St,Ve))+Math.imul(Tt,Be)|0,d=Math.imul(Tt,Ve),f=f+Math.imul(wt,Je)|0,r=(r=r+Math.imul(wt,lt)|0)+Math.imul(Pt,Je)|0,d=d+Math.imul(Pt,lt)|0,f=f+Math.imul(gt,Ct)|0,r=(r=r+Math.imul(gt,mt)|0)+Math.imul(ft,Ct)|0,d=d+Math.imul(ft,mt)|0;var Nt=(y+(f=f+Math.imul(Qe,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Ft)|0)+Math.imul(rt,Rt)|0))<<13)|0;y=((d=d+Math.imul(rt,Ft)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,f=Math.imul(St,Je),r=(r=Math.imul(St,lt))+Math.imul(Tt,Je)|0,d=Math.imul(Tt,lt),f=f+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,mt)|0)+Math.imul(Pt,Ct)|0,d=d+Math.imul(Pt,mt)|0;var Zt=(y+(f=f+Math.imul(gt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(gt,Ft)|0)+Math.imul(ft,Rt)|0))<<13)|0;y=((d=d+Math.imul(ft,Ft)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,f=Math.imul(St,Ct),r=(r=Math.imul(St,mt))+Math.imul(Tt,Ct)|0,d=Math.imul(Tt,mt);var qt=(y+(f=f+Math.imul(wt,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(wt,Ft)|0)+Math.imul(Pt,Rt)|0))<<13)|0;y=((d=d+Math.imul(Pt,Ft)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Yt=(y+(f=Math.imul(St,Rt))|0)+((8191&(r=(r=Math.imul(St,Ft))+Math.imul(Tt,Rt)|0))<<13)|0;return y=((d=Math.imul(Tt,Ft))+(r>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,v[0]=Pn,v[1]=wn,v[2]=_n,v[3]=bn,v[4]=zn,v[5]=Un,v[6]=Fn,v[7]=kn,v[8]=Kn,v[9]=$n,v[10]=jn,v[11]=je,v[12]=ut,v[13]=It,v[14]=Mt,v[15]=Nt,v[16]=Zt,v[17]=qt,v[18]=Yt,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,J=1;!(u.words[0]&J)&&V<26;++V,J<<=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 R={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 K(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ve(){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)},O(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(R[n])return R[n];var o;if("k256"===n)o=new j;else if("p224"===n)o=new K;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new ve}return R[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 J=I,re=0;0!==J.cmp(v);re++)J=J.redSqr();p(re=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)},O(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)}}(be=E.nmd(be),this)},8613:(be,ee,E)=>{var a=E(5667),S=E(715),p=E(7196),O=E(6508),c=E(4105),D=E(7211),C=E(568),_=E(7054).Buffer;be.exports=function(A,B,P){var $;$=A.padding?A.padding:P?1:4;var R,k=a(A),M=k.modulus.byteLength();if(B.length>M||new O(B).cmp(k.modulus)>=0)throw new Error("decryption error");R=P?C(new O(B),k):c(B,k);var U=_.alloc(M-R.length);if(R=_.concat([U,R],M),4===$)return function T(F,A){var B=F.modulus.byteLength(),P=D("sha1").update(_.alloc(0)).digest(),$=P.length;if(0!==A[0])throw new Error("decryption error");var k=A.slice(1,$+1),M=A.slice($+1),R=p(k,S(M,$)),U=p(M,S(R,B-$-1));if(function g(F,A){F=_.from(F),A=_.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,R,P);if(3===$)return R;throw new Error("unknown padding")}},7267:(be,ee,E)=>{var a=E(5667),S=E(3342),p=E(7211),O=E(715),c=E(7196),D=E(6508),C=E(568),_=E(4105),T=E(7054).Buffer;be.exports=function(B,P,$){var k;k=B.padding?B.padding:$?1:4;var R,M=a(B);if(4===k)R=function w(A,B){var P=A.modulus.byteLength(),$=B.length,k=p("sha1").update(T.alloc(0)).digest(),M=k.length,R=2*M;if($>P-R-2)throw new Error("message too long");var U=T.alloc(P-$-R-2),j=P-M-1,K=S(M),oe=c(T.concat([k,U,T.alloc(1,1),B],j),O(K,j)),ve=c(K,O(oe,M));return new D(T.concat([T.alloc(1),ve,oe],P))}(M,P);else if(1===k)R=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 $?_(R,M):C(R,M)}},568:(be,ee,E)=>{var a=E(6508),S=E(7054).Buffer;be.exports=function p(O,c){return S.from(O.toRed(a.mont(c.modulus)).redPow(new a(c.publicExponent)).fromRed().toArray())}},7196:be=>{be.exports=function(E,a){for(var S=E.length,p=-1;++p{"use strict";var a=65536,O=E(7054).Buffer,c=global.crypto||global.msCrypto;be.exports=c&&c.getRandomValues?function D(C,_){if(C>4294967295)throw new RangeError("requested too many random bytes");var T=O.allocUnsafe(C);if(C>0)if(C>a)for(var w=0;w{"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),O=S.Buffer,c=S.kMaxLength,D=global.crypto||global.msCrypto,C=Math.pow(2,32)-1;function _(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 w(A,B,P,$){if(!(O.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 _(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),!(O.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return _(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:(be,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};be.exports=T;var p=Object.create(E(7637));p.inherits=E(1993);var O=E(9609),c=E(7849);p.inherits(T,O);for(var D=S(c.prototype),C=0;C{"use strict";be.exports=p;var a=E(2909),S=Object.create(E(7637));function p(O){if(!(this instanceof p))return new p(O);a.call(this,O)}S.inherits=E(1993),S.inherits(p,a),p.prototype._transform=function(O,c,D){D(null,O)}},9609:(be,ee,E)=>{"use strict";var a=E(9656);be.exports=U;var p,S=E(53);U.ReadableState=R,E(4356);var c=function(Q,ae){return Q.listeners(ae).length},D=E(8342),C=E(2655).Buffer,_=(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 R(Q,ae){var tt=ae instanceof(p=p||E(4075));this.objectMode=!!(Q=Q||{}).objectMode,tt&&(this.objectMode=this.objectMode||!!Q.readableObjectMode);var Re=Q.highWaterMark,pe=Q.readableHighWaterMark;this.highWaterMark=Re||0===Re?Re: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 R(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,Re,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 oe(Q,ae){var tt;return!function w(Q){return C.isBuffer(Q)||Q instanceof _}(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)),Re?Ie.endEmitted?Q.emit("error",new Error("stream.unshift() after end event")):K(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?K(Q,Ie,ae,!1):s(Q,Ie)):K(Q,Ie,ae,!1))):Re||(Ie.reading=!1)),function ve(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 Re;return QIe.length?Ie.length:Q;if(pe+=Se===Ie.length?Ie:Ie.slice(0,Q),0==(Q-=Se)){Se===Ie.length?(++Re,ae.head=tt.next?tt.next:ae.tail=null):(ae.head=tt,tt.data=Ie.slice(Se));break}++Re}return ae.length-=Re,pe}(Q,ae):function J(Q,ae){var tt=C.allocUnsafe(Q),Re=ae.head,pe=1;for(Re.data.copy(tt),Q-=Re.data.length;Re=Re.next;){var Ie=Re.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=Re.next?Re.next:ae.tail=null):(ae.head=Re,Re.data=Ie.slice(Se));break}++pe}return ae.length-=pe,tt}(Q,ae),Re}(Q,ae.buffer,ae.decoder),tt);var tt}function re(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(me,ae,Q))}function me(Q,ae){!Q.endEmitted&&0===Q.length&&(Q.endEmitted=!0,ae.readable=!1,ae.emit("end"))}function Me(Q,ae){for(var tt=0,Re=Q.length;tt=ae.highWaterMark||ae.ended))return A("read: emitReadable",ae.length,ae.ended),0===ae.length&&ae.ended?re(this):o(this),null;if(0===(Q=m(Q,ae))&&ae.ended)return 0===ae.length&&re(this),null;var pe,Re=ae.needReadable;return A("need readable",Re),(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&&re(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,Re=this._readableState;switch(Re.pipesCount){case 0:Re.pipes=Q;break;case 1:Re.pipes=[Re.pipes,Q];break;default:Re.pipes.push(Q)}Re.pipesCount+=1,A("pipe count=%d opts=%j",Re.pipesCount,ae);var Ie=ae&&!1===ae.end||Q===process.stdout||Q===process.stderr?ft:ie;function ie(){A("onend"),Q.end()}Re.endEmitted?a.nextTick(Ie):tt.once("end",Ie),Q.on("unpipe",function Se(on,wt){A("onunpipe"),on===tt&&wt&&!1===wt.hasUnpiped&&(wt.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",ie),tt.removeListener("end",ft),tt.removeListener("data",Qe),G=!0,Re.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===Re.pipesCount&&Re.pipes===Q||Re.pipesCount>1&&-1!==Me(Re.pipes,Q))&&!G&&(A("false write response, pause",Re.awaitDrain),Re.awaitDrain++,vt=!0),tt.pause())}function rt(on){A("onerror",on),ft(),Q.removeListener("error",rt),0===c(Q,"error")&&Q.emit("error",on)}function nn(){Q.removeListener("finish",gt),ft()}function gt(){A("onfinish"),Q.removeListener("close",nn),ft()}function ft(){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),Re.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 Re=ae.pipes,pe=ae.pipesCount;ae.pipes=null,ae.pipesCount=0,ae.flowing=!1;for(var Ie=0;Ie{"use strict";be.exports=O;var a=E(4075),S=Object.create(E(7637));function p(C,_){var T=this._transformState;T.transforming=!1;var w=T.writecb;if(!w)return this.emit("error",new Error("write callback called multiple times"));T.writechunk=null,T.writecb=null,null!=_&&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)}}be.exports=k;var c,O=!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)},_=E(8342),T=E(2655).Buffer,w=(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(re){!function te(f,r){var d=f._writableState,L=d.sync,I=d.writecb;if(function ve(f){f.writing=!1,f.writecb=null,f.length-=f.writelen,f.writelen=0}(d),r)!function oe(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?O(se,f,d,V,I):se(f,d,V,I)}}(r,re)},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)),_.call(this)}function K(f,r,d,L,I,V,J){r.writelen=L,r.writecb=J,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 J=0,re=!0;d;)I[J]=d,d.isBuf||(re=!1),d=d.next,J+=1;I.allBuffers=re,K(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 me=d.chunk;if(K(f,r,!1,r.objectMode?1:me.length,me,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,_),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 w}(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 R(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 J=function U(f,r,d){return!f.objectMode&&!1!==f.decodeStrings&&"string"==typeof r&&(r=T.from(r,d)),r}(r,L,I);L!==J&&(d=!0,I="buffer",L=J)}var re=r.objectMode?1:L.length;r.length+=re;var me=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:(be,ee,E)=>{"use strict";var S=E(2655).Buffer,p=E(5340);function O(c,D,C){c.copy(D,C)}be.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 _={data:C,next:null};this.length>0?this.tail.next=_:this.head=_,this.tail=_,++this.length},c.prototype.unshift=function(C){var _={data:C,next:this.head};0===this.length&&(this.tail=_),this.head=_,++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 _=this.head,T=""+_.data;_=_.next;)T+=C+_.data;return T},c.prototype.concat=function(C){if(0===this.length)return S.alloc(0);for(var _=S.allocUnsafe(C>>>0),T=this.head,w=0;T;)O(T.data,_,w),w+=T.data.length,T=T.next;return _},c}(),p&&p.inspect&&p.inspect.custom&&(be.exports.prototype[p.inspect.custom]=function(){var c=p.inspect({length:this.length});return this.constructor.name+" "+c})},1509:(be,ee,E)=>{"use strict";var a=E(9656);function O(c,D){c.emit("error",D)}be.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(O,this,c)):a.nextTick(O,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(w){!D&&w?C._writableState?C._writableState.errorEmitted||(C._writableState.errorEmitted=!0,a.nextTick(O,C,w)):a.nextTick(O,C,w):D&&D(w)}),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:(be,ee,E)=>{be.exports=E(4356).EventEmitter},2655:(be,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?be.exports=a:(p(a,ee),ee.Buffer=O),p(S,O),O.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},O.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var _=S(c);return void 0!==D?"string"==typeof C?_.fill(D,C):_.fill(D):_.fill(0),_},O.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},O.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},5942:(be,ee,E)=>{(ee=be.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:(be,ee,E)=>{"use strict";var a=E(3838).Buffer,S=E(1993),p=E(3686),O=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],_=[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],w=[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,R){return M<>>32-R}function A(M,R,U,j,K,oe,ve,te){return F(M+(R^U^j)+oe+ve|0,te)+K|0}function B(M,R,U,j,K,oe,ve,te){return F(M+(R&U|~R&j)+oe+ve|0,te)+K|0}function P(M,R,U,j,K,oe,ve,te){return F(M+((R|~U)^j)+oe+ve|0,te)+K|0}function $(M,R,U,j,K,oe,ve,te){return F(M+(R&j|U&~j)+oe+ve|0,te)+K|0}function k(M,R,U,j,K,oe,ve,te){return F(M+(R^(U|~j))+oe+ve|0,te)+K|0}S(g,p),g.prototype._update=function(){for(var M=O,R=0;R<16;++R)M[R]=this._block.readInt32LE(4*R);for(var U=0|this._a,j=0|this._b,K=0|this._c,oe=0|this._d,ve=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,K,oe,ve,M[c[u]],T[0],C[u]),h=k(te,se,m,n,o,M[D[u]],w[0],_[u])):u<32?(s=B(U,j,K,oe,ve,M[c[u]],T[1],C[u]),h=$(te,se,m,n,o,M[D[u]],w[1],_[u])):u<48?(s=P(U,j,K,oe,ve,M[c[u]],T[2],C[u]),h=P(te,se,m,n,o,M[D[u]],w[2],_[u])):u<64?(s=$(U,j,K,oe,ve,M[c[u]],T[3],C[u]),h=B(te,se,m,n,o,M[D[u]],w[3],_[u])):(s=k(U,j,K,oe,ve,M[c[u]],T[4],C[u]),h=A(te,se,m,n,o,M[D[u]],w[4],_[u])),U=ve,ve=oe,oe=F(K,10),K=j,j=s,te=o,o=n,n=F(m,10),m=se,se=h}var v=this._b+K+n|0;this._b=this._c+oe+o|0,this._c=this._d+ve+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},be.exports=g},4412:(be,ee,E)=>{"use strict";E.d(ee,{t:()=>S});var a=E(1413);class S extends a.B{constructor(O){super(),this._value=O}get value(){return this.getValue()}_subscribe(O){const c=super._subscribe(O);return!c.closed&&O.next(this._value),c}getValue(){const{hasError:O,thrownError:c,_value:D}=this;if(O)throw c;return this._throwIfClosed(),D}next(O){super.next(this._value=O)}}},1985:(be,ee,E)=>{"use strict";E.d(ee,{c:()=>_});var a=E(7707),S=E(8359),p=E(3494),O=E(1203),c=E(1026),D=E(8071),C=E(9786);let _=(()=>{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 w(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:R}=this;k.add(M?M.call(k,R):R?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:R=>{try{B(R)}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,O.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:(be,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:_,_timestampProvider:T,_windowTime:w}=this;D||(C.push(c),!_&&C.push(T.now()+w)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const D=this._innerSubscribe(c),{_infiniteTimeWindow:C,_buffer:_}=this,T=_.slice();for(let w=0;w{"use strict";E.d(ee,{B:()=>C});var a=E(1985),S=E(8359);const O=(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 _(this,this);return F.operator=g,F}_throwIfClosed(){if(this.closed)throw new O}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=(w,g)=>new _(w,g),T})();class _ extends C{constructor(w,g){super(),this.destination=w,this.source=g}next(w){var g,F;null===(F=null===(g=this.destination)||void 0===g?void 0:g.next)||void 0===F||F.call(g,w)}error(w){var g,F;null===(F=null===(g=this.destination)||void 0===g?void 0:g.error)||void 0===F||F.call(g,w)}complete(){var w,g;null===(g=null===(w=this.destination)||void 0===w?void 0:w.complete)||void 0===g||g.call(w)}_subscribe(w){var g,F;return null!==(F=null===(g=this.source)||void 0===g?void 0:g.subscribe(w))&&void 0!==F?F:S.Kn}}},7707:(be,ee,E)=>{"use strict";E.d(ee,{Ms:()=>$,vU:()=>F});var a=E(8071),S=E(8359),p=E(1026),O=E(5334),c=E(5343);const D=T("C",void 0,void 0);function T(j,K,oe){return{kind:j,value:K,error:oe}}var w=E(9270),g=E(9786);class F extends S.yU{constructor(K){super(),this.isStopped=!1,K?(this.destination=K,(0,S.Uv)(K)&&K.add(this)):this.destination=U}static create(K,oe,ve){return new $(K,oe,ve)}next(K){this.isStopped?R(function _(j){return T("N",j,void 0)}(K),this):this._next(K)}error(K){this.isStopped?R(function C(j){return T("E",void 0,j)}(K),this):(this.isStopped=!0,this._error(K))}complete(){this.isStopped?R(D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(K){this.destination.next(K)}_error(K){try{this.destination.error(K)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function B(j,K){return A.call(j,K)}class P{constructor(K){this.partialObserver=K}next(K){const{partialObserver:oe}=this;if(oe.next)try{oe.next(K)}catch(ve){k(ve)}}error(K){const{partialObserver:oe}=this;if(oe.error)try{oe.error(K)}catch(ve){k(ve)}else k(K)}complete(){const{partialObserver:K}=this;if(K.complete)try{K.complete()}catch(oe){k(oe)}}}class $ extends F{constructor(K,oe,ve){let te;if(super(),(0,a.T)(K)||!K)te={next:null!=K?K:void 0,error:null!=oe?oe:void 0,complete:null!=ve?ve:void 0};else{let se;this&&p.$.useDeprecatedNextContext?(se=Object.create(K),se.unsubscribe=()=>this.unsubscribe(),te={next:K.next&&B(K.next,se),error:K.error&&B(K.error,se),complete:K.complete&&B(K.complete,se)}):te=K}this.destination=new P(te)}}function k(j){p.$.useDeprecatedSynchronousErrorHandling?(0,g.l)(j):(0,O.m)(j)}function R(j,K){const{onStoppedNotification:oe}=p.$;oe&&w.f.setTimeout(()=>oe(j,K))}const U={closed:!0,next:c.l,error:function M(j){throw j},complete:c.l}},8359:(be,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 O=E(7908);class c{constructor(w){this.initialTeardown=w,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let w;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){w=B instanceof p?B.errors:[B]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const B of A)try{_(B)}catch(P){w=null!=w?w:[],P instanceof p?w=[...w,...P.errors]:w.push(P)}}if(w)throw new p(w)}}add(w){var g;if(w&&w!==this)if(this.closed)_(w);else{if(w instanceof c){if(w.closed||w._hasParent(this))return;w._addParent(this)}(this._finalizers=null!==(g=this._finalizers)&&void 0!==g?g:[]).push(w)}}_hasParent(w){const{_parentage:g}=this;return g===w||Array.isArray(g)&&g.includes(w)}_addParent(w){const{_parentage:g}=this;this._parentage=Array.isArray(g)?(g.push(w),g):g?[g,w]:w}_removeParent(w){const{_parentage:g}=this;g===w?this._parentage=null:Array.isArray(g)&&(0,O.o)(g,w)}remove(w){const{_finalizers:g}=this;g&&(0,O.o)(g,w),w instanceof c&&w._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 _(T){(0,a.T)(T)?T():T.unsubscribe()}},1026:(be,ee,E)=>{"use strict";E.d(ee,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3207:(be,ee,E)=>{"use strict";E.d(ee,{s:()=>S});var a=E(9350);function S(p,O){const c="object"==typeof O;return new Promise((D,C)=>{let T,_=!1;p.subscribe({next:w=>{T=w,_=!0},error:C,complete:()=>{_?D(T):c?D(O.defaultValue):C(new a.G)}})})}},17:(be,ee,E)=>{"use strict";E.d(ee,{G:()=>D});var a=E(1985),S=E(8359),p=E(9898),O=E(4360),c=E(9974);class D extends a.c{constructor(_,T){super(),this.source=_,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,c.S)(_)&&(this.lift=_.lift)}_subscribe(_){return this.getSubject().subscribe(_)}getSubject(){const _=this._subject;return(!_||_.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:_}=this;this._subject=this._connection=null,null==_||_.unsubscribe()}connect(){let _=this._connection;if(!_){_=this._connection=new S.yU;const T=this.getSubject();_.add(this.source.subscribe((0,O._)(T,void 0,()=>{this._teardown(),T.complete()},w=>{this._teardown(),T.error(w)},()=>this._teardown()))),_.closed&&(this._connection=null,_=S.yU.EMPTY)}return _}refCount(){return(0,p.B)()(this)}}},4572:(be,ee,E)=>{"use strict";E.d(ee,{z:()=>w});var a=E(1985),S=E(3073),p=E(6648),O=E(3669),c=E(6450),D=E(9326),C=E(8496),_=E(4360),T=E(5225);function w(...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=O.D){return $=>{F(B,()=>{const{length:k}=A,M=new Array(k);let R=k,U=k;for(let j=0;j{const K=(0,p.H)(A[j],B);let oe=!1;K.subscribe((0,_._)($,ve=>{M[j]=ve,oe||(oe=!0,U--),U||$.next(P(M.slice()))},()=>{--R||$.complete()}))},$)},$)}}($,B,k?R=>(0,C.e)(k,R):O.D));return P?M.pipe((0,c.I)(P)):M}function F(A,B,P){A?(0,T.N)(P,A,B):B()}},8793:(be,ee,E)=>{"use strict";E.d(ee,{x:()=>c});var a=E(6365),p=E(9326),O=E(6648);function c(...D){return function S(){return(0,a.U)(1)}()((0,O.H)(D,(0,p.lI)(D)))}},9030:(be,ee,E)=>{"use strict";E.d(ee,{v:()=>p});var a=E(1985),S=E(8750);function p(O){return new a.c(c=>{(0,S.Tg)(O()).subscribe(c)})}},983:(be,ee,E)=>{"use strict";E.d(ee,{w:()=>S});const S=new(E(1985).c)(c=>c.complete())},7468:(be,ee,E)=>{"use strict";E.d(ee,{p:()=>_});var a=E(1985),S=E(3073),p=E(8750),O=E(9326),c=E(4360),D=E(6450),C=E(8496);function _(...T){const w=(0,O.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 R=0;R{U||(U=!0,M--),$[R]=j},()=>k--,void 0,()=>{(!k||!U)&&(M||B.next(F?(0,C.e)(F,$):$),B.complete())}))}});return w?A.pipe((0,D.I)(w)):A}},6648:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>ve});var a=E(8750),S=E(5225),p=E(9974),O=E(4360);function c(te,se=0){return(0,p.N)((m,n)=>{m.subscribe((0,O._)(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),R=E(7953),U=E(591),j=E(5196);function ve(te,se){return se?function oe(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 w(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 _(te,se){return(0,a.Tg)(te).pipe(D(se),c(se))}(te,se);if((0,R.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 K(te,se){return B((0,j.C)(te),se)}(te,se)}throw(0,U.L)(te)}(te,se):(0,a.Tg)(te)}},3726:(be,ee,E)=>{"use strict";E.d(ee,{R:()=>w});var a=E(8750),S=E(1985),p=E(3028),O=E(7441),c=E(8071),D=E(6450);const C=["addListener","removeListener"],_=["addEventListener","removeEventListener"],T=["on","off"];function w(P,$,k,M){if((0,c.T)(k)&&(M=k,k=void 0),M)return w(P,$,k).pipe((0,D.I)(M));const[R,U]=function B(P){return(0,c.T)(P.addEventListener)&&(0,c.T)(P.removeEventListener)}(P)?_.map(j=>K=>P[j]($,K,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(!R&&(0,O.X)(P))return(0,p.Z)(j=>w(j,$,k))((0,a.Tg)(P));if(!R)throw new TypeError("Invalid event target");return new S.c(j=>{const K=(...oe)=>j.next(1U(K)})}function g(P,$){return k=>M=>P[k]($,M)}},8750:(be,ee,E)=>{"use strict";E.d(ee,{Tg:()=>A});var a=E(1635),S=E(7441),p=E(9858),O=E(1985),c=E(5055),D=E(7953),C=E(591),_=E(5397),T=E(5196),w=E(8071),g=E(5334),F=E(3494);function A(j){if(j instanceof O.c)return j;if(null!=j){if((0,c.l)(j))return function B(j){return new O.c(K=>{const oe=j[F.s]();if((0,w.T)(oe.subscribe))return oe.subscribe(K);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(j);if((0,S.X)(j))return function P(j){return new O.c(K=>{for(let oe=0;oe{j.then(oe=>{K.closed||(K.next(oe),K.complete())},oe=>K.error(oe)).then(null,g.m)})}(j);if((0,D.T)(j))return M(j);if((0,_.x)(j))return function k(j){return new O.c(K=>{for(const oe of j)if(K.next(oe),K.closed)return;K.complete()})}(j);if((0,T.U)(j))return function R(j){return M((0,T.C)(j))}(j)}throw(0,C.L)(j)}function M(j){return new O.c(K=>{(function U(j,K){var oe,ve,te,se;return(0,a.sH)(this,void 0,void 0,function*(){try{for(oe=(0,a.xN)(j);!(ve=yield oe.next()).done;)if(K.next(ve.value),K.closed)return}catch(m){te={error:m}}finally{try{ve&&!ve.done&&(se=oe.return)&&(yield se.call(oe))}finally{if(te)throw te.error}}K.complete()})})(j,K).catch(oe=>K.error(oe))})}},7673:(be,ee,E)=>{"use strict";E.d(ee,{of:()=>p});var a=E(9326),S=E(6648);function p(...O){const c=(0,a.lI)(O);return(0,S.H)(O,c)}},8810:(be,ee,E)=>{"use strict";E.d(ee,{$:()=>p});var a=E(1985),S=E(8071);function p(O,c){const D=(0,S.T)(O)?O:()=>O,C=_=>_.error(D());return new a.c(c?_=>c.schedule(C,0,_):C)}},4360:(be,ee,E)=>{"use strict";E.d(ee,{_:()=>S});var a=E(7707);function S(O,c,D,C,_){return new p(O,c,D,C,_)}class p extends a.vU{constructor(c,D,C,_,T,w){super(c),this.onFinalize=T,this.shouldUnsubscribe=w,this._next=D?function(g){try{D(g)}catch(F){c.error(F)}}:super._next,this._error=_?function(g){try{_(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:(be,ee,E)=>{"use strict";E.d(ee,{W:()=>O});var a=E(8750),S=E(4360),p=E(9974);function O(c){return(0,p.N)((D,C)=>{let w,_=null,T=!1;_=D.subscribe((0,S._)(C,void 0,void 0,g=>{w=(0,a.Tg)(c(g,O(c)(D))),_?(_.unsubscribe(),_=null,w.subscribe(C)):T=!0})),T&&(_.unsubscribe(),_=null,w.subscribe(C))})}},274:(be,ee,E)=>{"use strict";E.d(ee,{H:()=>p});var a=E(3028),S=E(8071);function p(O,c){return(0,S.T)(c)?(0,a.Z)(O,c,1):(0,a.Z)(O,1)}},5964:(be,ee,E)=>{"use strict";E.d(ee,{p:()=>p});var a=E(9974),S=E(4360);function p(O,c){return(0,a.N)((D,C)=>{let _=0;D.subscribe((0,S._)(C,T=>O.call(c,T,_++)&&C.next(T)))})}},980:(be,ee,E)=>{"use strict";E.d(ee,{j:()=>S});var a=E(9974);function S(p){return(0,a.N)((O,c)=>{try{O.subscribe(c)}finally{c.add(p)}})}},6354:(be,ee,E)=>{"use strict";E.d(ee,{T:()=>p});var a=E(9974),S=E(4360);function p(O,c){return(0,a.N)((D,C)=>{let _=0;D.subscribe((0,S._)(C,T=>{C.next(O.call(c,T,_++))}))})}},3703:(be,ee,E)=>{"use strict";E.d(ee,{u:()=>S});var a=E(6354);function S(p){return(0,a.T)(()=>p)}},6365:(be,ee,E)=>{"use strict";E.d(ee,{U:()=>p});var a=E(3028),S=E(3669);function p(O=1/0){return(0,a.Z)(S.D,O)}},5412:(be,ee,E)=>{"use strict";E.d(ee,{h:()=>O});var a=E(8750),S=E(5225),p=E(4360);function O(c,D,C,_,T,w,g,F){const A=[];let B=0,P=0,$=!1;const k=()=>{$&&!A.length&&!B&&D.complete()},M=U=>B<_?R(U):A.push(U),R=U=>{w&&D.next(U),B++;let j=!1;(0,a.Tg)(C(U,P++)).subscribe((0,p._)(D,K=>{null==T||T(K),w?M(K):D.next(K)},()=>{j=!0},void 0,()=>{if(j)try{for(B--;A.length&&B<_;){const K=A.shift();g?(0,S.N)(D,g,()=>R(K)):R(K)}k()}catch(K){D.error(K)}}))};return c.subscribe((0,p._)(D,M,()=>{$=!0,k()})),()=>{null==F||F()}}},3028:(be,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(6354),S=E(8750),p=E(9974),O=E(5412),c=E(8071);function D(C,_,T=1/0){return(0,c.T)(_)?D((w,g)=>(0,a.T)((F,A)=>_(w,F,g,A))((0,S.Tg)(C(w,g))),T):("number"==typeof _&&(T=_),(0,p.N)((w,g)=>(0,O.h)(w,g,C,T)))}},9898:(be,ee,E)=>{"use strict";E.d(ee,{B:()=>p});var a=E(9974),S=E(4360);function p(){return(0,a.N)((O,c)=>{let D=null;O._refCount++;const C=(0,S._)(c,void 0,void 0,void 0,()=>{if(!O||O._refCount<=0||0<--O._refCount)return void(D=null);const _=O._connection,T=D;D=null,_&&(!T||_===T)&&_.unsubscribe(),c.unsubscribe()});O.subscribe(C),C.closed||(D=O.connect())})}},6649:(be,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(4360);function S(p,O,c,D,C){return(_,T)=>{let w=c,g=O,F=0;_.subscribe((0,a._)(T,A=>{const B=F++;g=w?p(g,A,B):(w=!0,A),D&&T.next(g)},C&&(()=>{w&&T.next(g),T.complete()})))}}},5558:(be,ee,E)=>{"use strict";E.d(ee,{n:()=>O});var a=E(8750),S=E(9974),p=E(4360);function O(c,D){return(0,S.N)((C,_)=>{let T=null,w=0,g=!1;const F=()=>g&&!T&&_.complete();C.subscribe((0,p._)(_,A=>{null==T||T.unsubscribe();let B=0;const P=w++;(0,a.Tg)(c(A,P)).subscribe(T=(0,p._)(_,$=>_.next(D?D(A,$,P,B++):$),()=>{T=null,F()}))},()=>{g=!0,F()}))})}},6697:(be,ee,E)=>{"use strict";E.d(ee,{s:()=>O});var a=E(983),S=E(9974),p=E(4360);function O(c){return c<=0?()=>a.w:(0,S.N)((D,C)=>{let _=0;D.subscribe((0,p._)(C,T=>{++_<=c&&(C.next(T),c<=_&&C.complete())}))})}},8141:(be,ee,E)=>{"use strict";E.d(ee,{M:()=>c});var a=E(8071),S=E(9974),p=E(4360),O=E(3669);function c(D,C,_){const T=(0,a.T)(D)||C||_?{next:D,error:C,complete:_}:D;return T?(0,S.N)((w,g)=>{var F;null===(F=T.subscribe)||void 0===F||F.call(T);let A=!0;w.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)}))}):O.D}},6129:(be,ee,E)=>{"use strict";E.d(ee,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},9270:(be,ee,E)=>{"use strict";E.d(ee,{f:()=>a});const a={setTimeout(S,p,...O){const{delegate:c}=a;return null!=c&&c.setTimeout?c.setTimeout(S,p,...O):setTimeout(S,p,...O)},clearTimeout(S){const{delegate:p}=a;return((null==p?void 0:p.clearTimeout)||clearTimeout)(S)},delegate:void 0}},4761:(be,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(be,ee,E)=>{"use strict";E.d(ee,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{R0:()=>D,lI:()=>c,ms:()=>O});var a=E(8071),S=E(9470);function p(C){return C[C.length-1]}function O(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,_){return"number"==typeof p(C)?C.pop():_}},3073:(be,ee,E)=>{"use strict";E.d(ee,{D:()=>c});const{isArray:a}=Array,{getPrototypeOf:S,prototype:p,keys:O}=Object;function c(C){if(1===C.length){const _=C[0];if(a(_))return{args:_,keys:null};if(function D(C){return C&&"object"==typeof C&&S(C)===p}(_)){const T=O(_);return{args:T.map(w=>_[w]),keys:T}}}return{args:C,keys:null}}},7908:(be,ee,E)=>{"use strict";function a(S,p){if(S){const O=S.indexOf(p);0<=O&&S.splice(O,1)}}E.d(ee,{o:()=>a})},1853:(be,ee,E)=>{"use strict";function a(S){const O=S(c=>{Error.call(c),c.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}E.d(ee,{L:()=>a})},8496:(be,ee,E)=>{"use strict";function a(S,p){return S.reduce((O,c,D)=>(O[c]=p[D],O),{})}E.d(ee,{e:()=>a})},9786:(be,ee,E)=>{"use strict";E.d(ee,{Y:()=>p,l:()=>O});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:_}=S;if(S=null,C)throw _}}else c()}function O(c){a.$.useDeprecatedSynchronousErrorHandling&&S&&(S.errorThrown=!0,S.error=c)}},5225:(be,ee,E)=>{"use strict";function a(S,p,O,c=0,D=!1){const C=p.schedule(function(){O(),D?S.add(this.schedule(null,c)):this.unsubscribe()},c);if(S.add(C),!D)return C}E.d(ee,{N:()=>a})},3669:(be,ee,E)=>{"use strict";function a(S){return S}E.d(ee,{D:()=>a})},7441:(be,ee,E)=>{"use strict";E.d(ee,{X:()=>a});const a=S=>S&&"number"==typeof S.length&&"function"!=typeof S},7953:(be,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:(be,ee,E)=>{"use strict";function a(S){return"function"==typeof S}E.d(ee,{T:()=>a})},5055:(be,ee,E)=>{"use strict";E.d(ee,{l:()=>p});var a=E(3494),S=E(8071);function p(O){return(0,S.T)(O[a.s])}},5397:(be,ee,E)=>{"use strict";E.d(ee,{x:()=>p});var a=E(4761),S=E(8071);function p(O){return(0,S.T)(null==O?void 0:O[a.l])}},4402:(be,ee,E)=>{"use strict";E.d(ee,{A:()=>p});var a=E(1985),S=E(8071);function p(O){return!!O&&(O instanceof a.c||(0,S.T)(O.lift)&&(0,S.T)(O.subscribe))}},9858:(be,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:(be,ee,E)=>{"use strict";E.d(ee,{C:()=>p,U:()=>O});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:_,done:T}=yield(0,a.N3)(C.read());if(T)return yield(0,a.N3)(void 0);yield yield(0,a.N3)(_)}}finally{C.releaseLock()}})}function O(c){return(0,S.T)(null==c?void 0:c.getReader)}},9470:(be,ee,E)=>{"use strict";E.d(ee,{m:()=>S});var a=E(8071);function S(p){return p&&(0,a.T)(p.schedule)}},9974:(be,ee,E)=>{"use strict";E.d(ee,{N:()=>p,S:()=>S});var a=E(8071);function S(O){return(0,a.T)(null==O?void 0:O.lift)}function p(O){return c=>{if(S(c))return c.lift(function(D){try{return O(D,this)}catch(C){this.error(C)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(be,ee,E)=>{"use strict";E.d(ee,{I:()=>O});var a=E(6354);const{isArray:S}=Array;function O(c){return(0,a.T)(D=>function p(c,D){return S(D)?c(...D):c(D)}(c,D))}},5343:(be,ee,E)=>{"use strict";function a(){}E.d(ee,{l:()=>a})},1203:(be,ee,E)=>{"use strict";E.d(ee,{F:()=>S,m:()=>p});var a=E(3669);function S(...O){return p(O)}function p(O){return 0===O.length?a.D:1===O.length?O[0]:function(D){return O.reduce((C,_)=>_(C),D)}}},5334:(be,ee,E)=>{"use strict";E.d(ee,{m:()=>p});var a=E(1026),S=E(9270);function p(O){S.f.setTimeout(()=>{const{onUnhandledError:c}=a.$;if(!c)throw O;c(O)})}},591:(be,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:(be,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?be.exports=a:(p(a,ee),ee.Buffer=O),O.prototype=Object.create(S.prototype),p(S,O),O.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},O.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var _=S(c);return void 0!==D?"string"==typeof C?_.fill(D,C):_.fill(D):_.fill(0),_},O.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},O.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},463:(be,ee,E)=>{var a=E(7054).Buffer;function S(p,O){this._block=a.alloc(p),this._finalSize=O,this._blockSize=p,this._len=0}S.prototype.update=function(p,O){"string"==typeof p&&(p=a.from(p,O=O||"utf8"));for(var c=this._block,D=this._blockSize,C=p.length,_=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 _=this._hash();return p?_.toString(p):_},S.prototype._update=function(){throw new Error("_update must be implemented by subclass")},be.exports=S},5443:(be,ee,E)=>{var a=be.exports=function(p){p=p.toLowerCase();var O=a[p];if(!O)throw new Error(p+" is not supported (we accept pull requests)");return new O};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:(be,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,O=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function D(){this.init(),this._w=c,S.call(this,64,56)}function C(w){return w<<5|w>>>27}function _(w){return w<<30|w>>>2}function T(w,g,F,A){return 0===w?g&F|~g&A:2===w?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(w){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]=w.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 R=~~(M/20),U=C(F)+T(R,A,B,P)+$+g[M]+O[R]|0;$=P,P=B,B=_(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 w=p.allocUnsafe(20);return w.writeInt32BE(0|this._a,0),w.writeInt32BE(0|this._b,4),w.writeInt32BE(0|this._c,8),w.writeInt32BE(0|this._d,12),w.writeInt32BE(0|this._e,16),w},be.exports=D},1270:(be,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,O=[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 _(g){return g<<5|g>>>27}function T(g){return g<<30|g>>>2}function w(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 R=0;R<80;++R){var U=~~(R/20),j=_(A)+w(U,B,P,$)+k+F[R]+O[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},be.exports=D},2709:(be,ee,E)=>{var a=E(1993),S=E(2148),p=E(463),O=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=O.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},be.exports=D},2148:(be,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,O=[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 _(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 w(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,R=0|this._e,U=0|this._f,j=0|this._g,K=0|this._h,oe=0;oe<16;++oe)B[oe]=A.readInt32BE(4*oe);for(;oe<64;++oe)B[oe]=F(B[oe-2])+B[oe-7]+g(B[oe-15])+B[oe-16]|0;for(var ve=0;ve<64;++ve){var te=K+w(R)+C(R,U,j)+O[ve]+B[ve]|0,se=T(P)+_(P,$,k)|0;K=j,j=U,U=R,R=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=R+this._e|0,this._f=U+this._f|0,this._g=j+this._g|0,this._h=K+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},be.exports=D},1856:(be,ee,E)=>{var a=E(1993),S=E(3121),p=E(463),O=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=O.allocUnsafe(48);function _(T,w,g){C.writeInt32BE(T,g),C.writeInt32BE(w,g+4)}return _(this._ah,this._al,0),_(this._bh,this._bl,8),_(this._ch,this._cl,16),_(this._dh,this._dl,24),_(this._eh,this._el,32),_(this._fh,this._fl,40),C},be.exports=D},3121:(be,ee,E)=>{var a=E(1993),S=E(463),p=E(7054).Buffer,O=[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 _($,k,M){return $&k|M&($|k)}function T($,k){return($>>>28|k<<4)^(k>>>2|$<<30)^(k>>>7|$<<25)}function w($,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,R=0|this._bh,U=0|this._ch,j=0|this._dh,K=0|this._eh,oe=0|this._fh,ve=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),me=k[y-32],Me=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)+me+P(Q=Q+Me|0,Me)|0,k[y]=ae,k[y+1]=Q}for(var tt=0;tt<160;tt+=2){ae=k[tt],Q=k[tt+1];var Re=_(M,R,U),pe=_(se,m,n),Ie=T(M,se),Se=T(se,M),ie=w(K,u),ne=w(u,K),G=O[tt],Ee=O[tt+1],vt=C(K,oe,ve),Qe=C(u,s,h),rt=v+ne|0,nn=te+ie+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,ft=Ie+Re+P(gt,Se)|0;te=ve,v=h,ve=oe,h=s,oe=K,s=u,K=j+nn+P(u=o+rt|0,o)|0,j=U,o=n,U=R,n=m,R=M,m=se,M=nn+ft+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+R+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+K+P(this._el,u)|0,this._fh=this._fh+oe+P(this._fl,s)|0,this._gh=this._gh+ve+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,R,U){$.writeInt32BE(M,U),$.writeInt32BE(R,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),$},be.exports=D},7045:(be,ee,E)=>{be.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(O,c){var D=this;function C(B){O.writable&&!1===O.write(B)&&D.pause&&D.pause()}function _(){D.readable&&D.resume&&D.resume()}D.on("data",C),O.on("drain",_),!O._isStdio&&(!c||!1!==c.end)&&(D.on("end",w),D.on("close",g));var T=!1;function w(){T||(T=!0,O.end())}function g(){T||(T=!0,"function"==typeof O.destroy&&O.destroy())}function F(B){if(A(),0===a.listenerCount(this,"error"))throw B}function A(){D.removeListener("data",C),O.removeListener("drain",_),D.removeListener("end",w),D.removeListener("close",g),D.removeListener("error",F),O.removeListener("error",F),D.removeListener("end",A),D.removeListener("close",A),O.removeListener("close",A)}return D.on("error",F),O.on("error",F),D.on("end",A),D.on("close",A),O.on("close",A),O.emit("pipe",D),O}},8083:be=>{"use strict";var E={};function a(D,C,_){_||(_=Error);var w=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=_.name,w.prototype.code=D,E[D]=w}function S(D,C){if(Array.isArray(D)){var _=D.length;return D=D.map(function(T){return String(T)}),_>2?"one of ".concat(C," ").concat(D.slice(0,_-1).join(", "),", or ")+D[_-1]:2===_?"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,_){var T,w;if("string"==typeof C&&function p(D,C,_){return D.substr(!_||_<0?0:+_,C.length)===C}(C,"not ")?(T="must not be",C=C.replace(/^not /,"")):T="must be",function O(D,C,_){return(void 0===_||_>D.length)&&(_=D.length),D.substring(_-C.length,_)===C}(D," argument"))w="The ".concat(D," ").concat(T," ").concat(S(C,"type"));else{var g=function c(D,C,_){return"number"!=typeof _&&(_=0),!(_+C.length>D.length)&&-1!==D.indexOf(C,_)}(D,".")?"property":"argument";w='The "'.concat(D,'" ').concat(g," ").concat(T," ").concat(S(C,"type"))}return w+". Received type ".concat(typeof _)},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"),be.exports.F=E},1030:(be,ee,E)=>{"use strict";var a=Object.keys||function(w){var g=[];for(var F in w)g.push(F);return g};be.exports=C;var S=E(1092),p=E(5492);E(1993)(C,S);for(var O=a(p.prototype),c=0;c{"use strict";be.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,O,c){c(null,p)}},1092:(be,ee,E)=>{"use strict";var a;be.exports=m,m.ReadableState=se,E(4356);var w,p=function(Ie,Se){return Ie.listeners(Se).length},O=E(2601),c=E(3838).Buffer,D=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},T=E(7199);w=T&&T.debuglog?T.debuglog("stream"):function(){};var U,j,K,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,R=P.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;E(1993)(m,O);var oe=F.errorOrDestroy,ve=["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)),O.call(this)}function n(pe,Ie,Se,ie,ne){w("readableAddChunk",Ie);var Ee,G=pe._readableState;if(null===Ie)G.reading=!1,function y(pe,Ie){if(w("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 _(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)oe(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)),ie)G.endEmitted?oe(pe,new R):o(pe,G,Ie,!0);else if(G.ended)oe(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 ie||(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;w("emitReadable",Ie.needReadable,Ie.emittedReadable),Ie.needReadable=!1,Ie.emittedReadable||(w("emitReadable",Ie.flowing),Ie.emittedReadable=!0,process.nextTick(r,pe))}function r(pe){var Ie=pe._readableState;w("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,Me(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 J(pe){w("readable nexttick read 0"),pe.read(0)}function me(pe,Ie){w("resume",Ie.reading),Ie.reading||pe.read(0),Ie.resumeScheduled=!1,pe.emit("resume"),Me(pe),Ie.flowing&&!Ie.reading&&pe.read(0)}function Me(pe){var Ie=pe._readableState;for(w("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;w("endReadable",Ie.endEmitted),Ie.endEmitted||(Ie.ended=!0,process.nextTick(tt,Ie,pe))}function tt(pe,Ie){if(w("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 Re(pe,Ie){for(var Se=0,ie=pe.length;Se=Ie.highWaterMark:Ie.length>0)||Ie.ended))return w("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,ie=Ie.needReadable;return w("need readable",ie),(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){oe(this,new M("_read()"))},m.prototype.pipe=function(pe,Ie){var Se=this,ie=this._readableState;switch(ie.pipesCount){case 0:ie.pipes=pe;break;case 1:ie.pipes=[ie.pipes,pe];break;default:ie.pipes.push(pe)}ie.pipesCount+=1,w("pipe count=%d opts=%j",ie.pipesCount,Ie);var G=Ie&&!1===Ie.end||pe===process.stdout||pe===process.stderr?Pt:vt;function vt(){w("onend"),pe.end()}ie.endEmitted?process.nextTick(G):Se.once("end",G),pe.on("unpipe",function Ee(En,St){w("onunpipe"),En===Se&&St&&!1===St.hasUnpiped&&(St.hasUnpiped=!0,function nn(){w("cleanup"),pe.removeListener("close",on),pe.removeListener("finish",wt),pe.removeListener("drain",Qe),pe.removeListener("error",ft),pe.removeListener("unpipe",Ee),Se.removeListener("end",vt),Se.removeListener("end",Pt),Se.removeListener("data",gt),rt=!0,ie.awaitDrain&&(!pe._writableState||pe._writableState.needDrain)&&Qe()}())});var Qe=function I(pe){return function(){var Se=pe._readableState;w("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,0===Se.awaitDrain&&p(pe,"data")&&(Se.flowing=!0,Me(pe))}}(Se);pe.on("drain",Qe);var rt=!1;function gt(En){w("ondata");var St=pe.write(En);w("dest.write",St),!1===St&&((1===ie.pipesCount&&ie.pipes===pe||ie.pipesCount>1&&-1!==Re(ie.pipes,pe))&&!rt&&(w("false write response, pause",ie.awaitDrain),ie.awaitDrain++),Se.pause())}function ft(En){w("onerror",En),Pt(),pe.removeListener("error",ft),0===p(pe,"error")&&oe(pe,En)}function on(){pe.removeListener("finish",wt),Pt()}function wt(){w("onfinish"),pe.removeListener("close",on),Pt()}function Pt(){w("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",ft),pe.once("close",on),pe.once("finish",wt),pe.emit("pipe",Se),ie.flowing||(w("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 ie=Ie.pipes,ne=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var G=0;G0,!1!==ie.flowing&&this.resume()):"readable"===pe&&!ie.endEmitted&&!ie.readableListening&&(ie.readableListening=ie.needReadable=!0,ie.flowing=!1,ie.emittedReadable=!1,w("on readable",ie.length,ie.reading),ie.length?f(this):ie.reading||process.nextTick(J,this)),Se},m.prototype.removeListener=function(pe,Ie){var Se=O.prototype.removeListener.call(this,pe,Ie);return"readable"===pe&&process.nextTick(V,this),Se},m.prototype.removeAllListeners=function(pe){var Ie=O.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||(w("resume"),pe.flowing=!pe.readableListening,function re(pe,Ie){Ie.resumeScheduled||(Ie.resumeScheduled=!0,process.nextTick(me,pe,Ie))}(this,pe)),pe.paused=!1,this},m.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},m.prototype.wrap=function(pe){var Ie=this,Se=this._readableState,ie=!1;for(var ne in pe.on("end",function(){if(w("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){w("wrapped data"),Se.decoder&&(Ee=Se.decoder.write(Ee)),Se.objectMode&&null==Ee||!(Se.objectMode||Ee&&Ee.length)||Ie.push(Ee)||(ie=!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";be.exports=_;var a=E(8083).F,S=a.ERR_METHOD_NOT_IMPLEMENTED,p=a.ERR_MULTIPLE_CALLBACK,O=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(Me){var Q=this;this.next=null,this.entry=null,this.finish=function(){!function me(Me,Q,ae){var tt=Me.entry;for(Me.entry=null;tt;){var Re=tt.callback;Q.pendingcb--,Re(ae),tt=tt.next}Q.corkedRequestsFree.next=Me}(Q,Me)}}var p;be.exports=se,se.WritableState=ve;var te,O={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(){},w=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,R=A.ERR_STREAM_NULL_VALUES,U=A.ERR_STREAM_WRITE_AFTER_END,j=A.ERR_UNKNOWN_ENCODING,K=w.errorOrDestroy;function oe(){}function ve(Me,Q,ae){p=p||E(1030),"boolean"!=typeof ae&&(ae=Q instanceof p),this.objectMode=!!(Me=Me||{}).objectMode,ae&&(this.objectMode=this.objectMode||!!Me.writableObjectMode),this.highWaterMark=F(this,Me,"writableHighWaterMark",ae),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Me.decodeStrings),this.defaultEncoding=Me.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Re){!function y(Me,Q){var ae=Me._writableState,tt=ae.sync,Re=ae.writecb;if("function"!=typeof Re)throw new $;if(function v(Me){Me.writing=!1,Me.writecb=null,Me.length-=Me.writelen,Me.writelen=0}(ae),Q)!function h(Me,Q,ae,tt,Re){--Q.pendingcb,ae?(process.nextTick(Re,tt),process.nextTick(J,Me,Q),Me._writableState.errorEmitted=!0,K(Me,tt)):(Re(tt),Me._writableState.errorEmitted=!0,K(Me,tt),J(Me,Q))}(Me,ae,tt,Q,Re);else{var pe=L(ae)||Me.destroyed;!pe&&!ae.corked&&!ae.bufferProcessing&&ae.bufferedRequest&&d(Me,ae),tt?process.nextTick(f,Me,ae,pe,Re):f(Me,ae,pe,Re)}}(Q,Re)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Me.emitClose,this.autoDestroy=!!Me.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new S(this)}function se(Me){var Q=this instanceof(p=p||E(1030));if(!Q&&!te.call(se,this))return new se(Me);this._writableState=new ve(Me,this,Q),this.writable=!0,Me&&("function"==typeof Me.write&&(this._write=Me.write),"function"==typeof Me.writev&&(this._writev=Me.writev),"function"==typeof Me.destroy&&(this._destroy=Me.destroy),"function"==typeof Me.final&&(this._final=Me.final)),c.call(this)}function s(Me,Q,ae,tt,Re,pe,Ie){Q.writelen=tt,Q.writecb=Ie,Q.writing=!0,Q.sync=!0,Q.destroyed?Q.onwrite(new M("write")):ae?Me._writev(Re,Q.onwrite):Me._write(Re,pe,Q.onwrite),Q.sync=!1}function f(Me,Q,ae,tt){ae||function r(Me,Q){0===Q.length&&Q.needDrain&&(Q.needDrain=!1,Me.emit("drain"))}(Me,Q),Q.pendingcb--,tt(),J(Me,Q)}function d(Me,Q){Q.bufferProcessing=!0;var ae=Q.bufferedRequest;if(Me._writev&&ae&&ae.next){var Re=new Array(Q.bufferedRequestCount),pe=Q.corkedRequestsFree;pe.entry=ae;for(var Ie=0,Se=!0;ae;)Re[Ie]=ae,ae.isBuf||(Se=!1),ae=ae.next,Ie+=1;Re.allBuffers=Se,s(Me,Q,!0,Q.length,Re,"",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 ie=ae.chunk;if(s(Me,Q,!1,Q.objectMode?1:ie.length,ie,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(Me){return Me.ending&&0===Me.length&&null===Me.bufferedRequest&&!Me.finished&&!Me.writing}function I(Me,Q){Me._final(function(ae){Q.pendingcb--,ae&&K(Me,ae),Q.prefinished=!0,Me.emit("prefinish"),J(Me,Q)})}function J(Me,Q){var ae=L(Q);if(ae&&(function V(Me,Q){!Q.prefinished&&!Q.finalCalled&&("function"!=typeof Me._final||Q.destroyed?(Q.prefinished=!0,Me.emit("prefinish")):(Q.pendingcb++,Q.finalCalled=!0,process.nextTick(I,Me,Q)))}(Me,Q),0===Q.pendingcb&&(Q.finished=!0,Me.emit("finish"),Q.autoDestroy))){var tt=Me._readableState;(!tt||tt.autoDestroy&&tt.endEmitted)&&Me.destroy()}return ae}E(1993)(se,c),ve.prototype.getBuffer=function(){for(var Q=this.bufferedRequest,ae=[];Q;)ae.push(Q),Q=Q.next;return ae},function(){try{Object.defineProperty(ve.prototype,"buffer",{get:O.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 ve}})):te=function(Q){return Q instanceof this},se.prototype.pipe=function(){K(this,new k)},se.prototype.write=function(Me,Q,ae){var tt=this._writableState,Re=!1,pe=!tt.objectMode&&function T(Me){return D.isBuffer(Me)||Me instanceof C}(Me);return pe&&!D.isBuffer(Me)&&(Me=function _(Me){return D.from(Me)}(Me)),"function"==typeof Q&&(ae=Q,Q=null),pe?Q="buffer":Q||(Q=tt.defaultEncoding),"function"!=typeof ae&&(ae=oe),tt.ending?function m(Me,Q){var ae=new U;K(Me,ae),process.nextTick(Q,ae)}(this,ae):(pe||function n(Me,Q,ae,tt){var Re;return null===ae?Re=new R:"string"!=typeof ae&&!Q.objectMode&&(Re=new B("chunk",["string","Buffer"],ae)),!Re||(K(Me,Re),process.nextTick(tt,Re),!1)}(this,tt,Me,ae))&&(tt.pendingcb++,Re=function u(Me,Q,ae,tt,Re,pe){if(!ae){var Ie=function o(Me,Q,ae){return!Me.objectMode&&!1!==Me.decodeStrings&&"string"==typeof Q&&(Q=D.from(Q,ae)),Q}(Q,tt,Re);tt!==Ie&&(ae=!0,Re="buffer",tt=Ie)}var Se=Q.objectMode?1:tt.length;Q.length+=Se;var ie=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(Me,Q,ae){ae(new P("_write()"))},se.prototype._writev=null,se.prototype.end=function(Me,Q,ae){var tt=this._writableState;return"function"==typeof Me?(ae=Me,Me=null,Q=null):"function"==typeof Q&&(ae=Q,Q=null),null!=Me&&this.write(Me,Q),tt.corked&&(tt.corked=1,this.uncork()),tt.ending||function re(Me,Q,ae){Q.ending=!0,J(Me,Q),ae&&(Q.finished?process.nextTick(ae):Me.once("finish",ae)),Q.ended=!0,Me.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=w.destroy,se.prototype._undestroy=w.undestroy,se.prototype._destroy=function(Me,Q){Q(Me)}},2683:(be,ee,E)=>{"use strict";var a;function S(U,j,K){return j=function p(U){var j=function O(U,j){if("object"!=typeof U||null===U)return U;var K=U[Symbol.toPrimitive];if(void 0!==K){var oe=K.call(U,j||"default");if("object"!=typeof oe)return oe;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:K,enumerable:!0,configurable:!0,writable:!0}):U[j]=K,U}var c=E(7854),D=Symbol("lastResolve"),C=Symbol("lastReject"),_=Symbol("error"),T=Symbol("ended"),w=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 K=U[F].read();null!==K&&(U[w]=null,U[D]=null,U[C]=null,j(A(K,!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,K=this[_];if(null!==K)return Promise.reject(K);if(this[T])return Promise.resolve(A(void 0,!0));if(this[F].destroyed)return new Promise(function(se,m){process.nextTick(function(){j[_]?m(j[_]):se(A(void 0,!0))})});var ve,oe=this[w];if(oe)ve=new Promise(function $(U,j){return function(K,oe){U.then(function(){j[T]?K(A(void 0,!0)):j[g](K,oe)},oe)}}(oe,this));else{var te=this[F].read();if(null!==te)return Promise.resolve(A(te,!1));ve=new Promise(this[g])}return this[w]=ve,ve}},Symbol.asyncIterator,function(){return this}),S(a,"return",function(){var j=this;return new Promise(function(K,oe){j[F].destroy(null,function(ve){ve?oe(ve):K(A(void 0,!0))})})}),a),k);be.exports=function(j){var K,oe=Object.create(M,(S(K={},F,{value:j,writable:!0}),S(K,D,{value:null,writable:!0}),S(K,C,{value:null,writable:!0}),S(K,_,{value:null,writable:!0}),S(K,T,{value:j._readableState.endEmitted,writable:!0}),S(K,g,{value:function(te,se){var m=oe[F].read();m?(oe[w]=null,oe[D]=null,oe[C]=null,te(A(m,!1))):(oe[D]=te,oe[C]=se)},writable:!0}),K));return oe[w]=null,c(j,function(ve){if(ve&&"ERR_STREAM_PREMATURE_CLOSE"!==ve.code){var te=oe[C];return null!==te&&(oe[w]=null,oe[D]=null,oe[C]=null,te(ve)),void(oe[_]=ve)}var se=oe[D];null!==se&&(oe[w]=null,oe[D]=null,oe[C]=null,se(A(void 0,!0))),oe[T]=!0}),j.on("readable",P.bind(null,oe)),oe}},7606:(be,ee,E)=>{"use strict";function a(P,$){var k=Object.keys(P);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(P);$&&(M=M.filter(function(R){return Object.getOwnPropertyDescriptor(P,R).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,R=""+M.data;M=M.next;)R+=k+M.data;return R}},{key:"concat",value:function(k){if(0===this.length)return w.alloc(0);for(var M=w.allocUnsafe(k>>>0),R=this.head,U=0;R;)B(R.data,M,U),U+=R.data.length,R=R.next;return M}},{key:"consume",value:function(k,M){var R;return kj.length?j.length:k;if(U+=K===j.length?j:j.slice(0,k),0==(k-=K)){K===j.length?(++R,this.head=M.next?M.next:this.tail=null):(this.head=M,M.data=j.slice(K));break}++R}return this.length-=R,U}},{key:"_getBuffer",value:function(k){var M=w.allocUnsafe(k),R=this.head,U=1;for(R.data.copy(M),k-=R.data.length;R=R.next;){var j=R.data,K=k>j.length?j.length:k;if(j.copy(M,M.length-k,0,K),0==(k-=K)){K===j.length?(++U,this.head=R.next?R.next:this.tail=null):(this.head=R,R.data=j.slice(K));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:be=>{"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)}be.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(w){!D&&w?C._writableState?C._writableState.errorEmitted?process.nextTick(a,C):(C._writableState.errorEmitted=!0,process.nextTick(E,C,w)):process.nextTick(E,C,w):D?(process.nextTick(a,C),D(w)):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 O(c,D){var C=c._readableState,_=c._writableState;C&&C.autoDestroy||_&&_.autoDestroy?c.destroy(D):c.emit("error",D)}}},7854:(be,ee,E)=>{"use strict";var a=E(8083).F.ERR_STREAM_PREMATURE_CLOSE;function p(){}be.exports=function c(D,C,_){if("function"==typeof C)return c(D,null,C);C||(C={}),_=function S(D){var C=!1;return function(){if(!C){C=!0;for(var _=arguments.length,T=new Array(_),w=0;w<_;w++)T[w]=arguments[w];D.apply(this,T)}}}(_||p);var T=C.readable||!1!==C.readable&&D.readable,w=C.writable||!1!==C.writable&&D.writable,g=function(){D.writable||A()},F=D._writableState&&D._writableState.finished,A=function(){w=!1,F=!0,T||_.call(D)},B=D._readableState&&D._readableState.endEmitted,P=function(){T=!1,B=!0,w||_.call(D)},$=function(U){_.call(D,U)},k=function(){var U;return T&&!B?((!D._readableState||!D._readableState.ended)&&(U=new a),_.call(D,U)):w&&!F?((!D._writableState||!D._writableState.ended)&&(U=new a),_.call(D,U)):void 0},M=function(){D.req.on("finish",A)};return function O(D){return D.setHeader&&"function"==typeof D.abort}(D)?(D.on("complete",A),D.on("abort",k),D.req?M():D.on("request",M)):w&&!D._writableState&&(D.on("end",g),D.on("close",g)),D.on("end",P),D.on("finish",A),!1!==C.error&&D.on("error",$),D.on("close",k),function(){D.removeListener("complete",A),D.removeListener("abort",k),D.removeListener("request",M),D.req&&D.req.removeListener("finish",A),D.removeListener("end",g),D.removeListener("close",g),D.removeListener("finish",A),D.removeListener("end",P),D.removeListener("error",$),D.removeListener("close",k)}}},7765:be=>{be.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(be,ee,E)=>{"use strict";var a,p=E(8083).F,O=p.ERR_MISSING_ARGS,c=p.ERR_STREAM_DESTROYED;function D(A){if(A)throw A}function T(A){A()}function w(A,B){return A.pipe(B)}be.exports=function F(){for(var A=arguments.length,B=new Array(A),P=0;P0,function(oe){k||(k=oe),oe&&M.forEach(T),!j&&(M.forEach(T),$(k))})});return B.reduce(w)}},2827:(be,ee,E)=>{"use strict";var a=E(8083).F.ERR_INVALID_OPT_VALUE;be.exports={getHighWaterMark:function p(O,c,D,C){var _=function S(O,c,D){return null!=O.highWaterMark?O.highWaterMark:c?O[D]:null}(c,C,D);if(null!=_){if(!isFinite(_)||Math.floor(_)!==_||_<0)throw new a(C?D:"highWaterMark",_);return Math.floor(_)}return O.objectMode?16:16384}}},2601:(be,ee,E)=>{be.exports=E(4356).EventEmitter},8454:(be,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 R;switch(this.encoding=function O(M){var R=function p(M){if(!M)return"utf8";for(var R;;)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(R)return;M=(""+M).toLowerCase(),R=!0}}(M);if("string"!=typeof R&&(a.isEncoding===S||!S(M)))throw new Error("Unknown encoding: "+M);return R||M}(M),this.encoding){case"utf16le":this.text=F,this.end=A,R=4;break;case"utf8":this.fillLast=T,R=4;break;case"base64":this.text=B,this.end=P,R=3;break;default:return this.write=$,void(this.end=k)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(R)}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 R=this.lastTotal-this.lastNeed,U=function _(M,R,U){if(128!=(192&R[0]))return M.lastNeed=0,"\ufffd";if(M.lastNeed>1&&R.length>1){if(128!=(192&R[1]))return M.lastNeed=1,"\ufffd";if(M.lastNeed>2&&R.length>2&&128!=(192&R[2]))return M.lastNeed=2,"\ufffd"}}(this,M);return void 0!==U?U:this.lastNeed<=M.length?(M.copy(this.lastChar,R,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,R,0,M.length),void(this.lastNeed-=M.length))}function F(M,R){if((M.length-R)%2==0){var U=M.toString("utf16le",R);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",R,M.length-1)}function A(M){var R=M&&M.length?this.write(M):"";return this.lastNeed?R+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):R}function B(M,R){var U=(M.length-R)%3;return 0===U?M.toString("base64",R):(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",R,M.length-U))}function P(M){var R=M&&M.length?this.write(M):"";return this.lastNeed?R+this.lastChar.toString("base64",0,3-this.lastNeed):R}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 R,U;if(this.lastNeed){if(void 0===(R=this.fillLast(M)))return"";U=this.lastNeed,this.lastNeed=0}else U=0;return U=0?(K>0&&(M.lastNeed=K-1),K):--j=0?(K>0&&(M.lastNeed=K-2),K):--j=0?(K>0&&(2===K?K=0:M.lastNeed=K-3),K):0}(this,M,R);if(!this.lastNeed)return M.toString("utf8",R);this.lastTotal=U;var j=M.length-(U-this.lastNeed);return M.copy(this.lastChar,0,j),M.toString("utf8",R,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:(be,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?be.exports=a:(p(a,ee),ee.Buffer=O),p(S,O),O.from=function(c,D,C){if("number"==typeof c)throw new TypeError("Argument must not be a number");return S(c,D,C)},O.alloc=function(c,D,C){if("number"!=typeof c)throw new TypeError("Argument must be a number");var _=S(c);return void 0!==D?"string"==typeof C?_.fill(D,C):_.fill(D):_.fill(0),_},O.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return S(c)},O.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return a.SlowBuffer(c)}},3398:be=>{function E(a){try{if(!global.localStorage)return!1}catch{return!1}var S=global.localStorage[a];return null!=S&&"true"===String(S).toLowerCase()}be.exports=function ee(a,S){if(E("noDeprecation"))return a;var p=!1;return function O(){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:(be,ee,E)=>{"use strict";E.d(ee,{A:()=>g});const S={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let p;const O=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(O)}const D=[];for(let F=0;F<256;++F)D.push((F+256).toString(16).slice(1));const g=function w(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(be,ee){if(be.indexOf)return be.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 O=a[p],c=O[0];return Promise.all(O.slice(1).map(E.e)).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=8996,be.exports=S},5235:(be,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 O=a[p],c=O[0];return E.e(O[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=5235,be.exports=S},7321:(be,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 O=a[p],c=O[0];return E.e(O[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=7321,be.exports=S},8982:()=>{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},177:(be,ee,E)=>{"use strict";E.d(ee,{AJ:()=>Ai,B3:()=>dt,MD:()=>Di,N0:()=>Ne,QT:()=>p,Sm:()=>$,Sq:()=>Tn,T3:()=>xt,UE:()=>Hr,VF:()=>c,Vy:()=>wi,Xr:()=>Qi,YU:()=>Nt,ZD:()=>O,_b:()=>ut,aZ:()=>M,bT:()=>pr,fw:()=>k,hb:()=>B,hj:()=>T,qQ:()=>C});var a=E(4438);let S=null;function p(){return S}function O(Y){var xe;null!==(xe=S)&&void 0!==xe||(S=Y)}class c{}const C=new a.nKC("");let _=(()=>{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)(w),providedIn:"platform"}),xe})();const T=new a.nKC("");let w=(()=>{var Y;class xe extends _{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,Jt,pn;super(),this._platformLocation=de,this._removeListenerFns=[],this._baseHref=null!==(pt=null!==(Jt=null!=ze?ze:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Jt?Jt: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,Jt){const pn=this.prepareExternalUrl(pt+A(Jt));this._platformLocation.pushState(de,ze,pn)}replaceState(de,ze,pt,Jt){const pn=this.prepareExternalUrl(pt+A(Jt));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(_),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,Jt){let pn=this.prepareExternalUrl(pt+A(Jt));0==pn.length&&(pn=this._platformLocation.pathname),this._platformLocation.pushState(de,ze,pn)}replaceState(de,ze,pt,Jt){let pn=this.prepareExternalUrl(pt+A(Jt));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(_),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 K(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 Jt;this._urlChangeListeners.splice(pt,1),0===this._urlChangeListeners.length&&(null===(Jt=this._urlChangeSubscription)||void 0===Jt||Jt.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 R(){return new M((0,a.KVO)(B))}(),providedIn:"root"}),xe})();function j(Y){return Y.replace(/\/index.html$/,"")}function ut(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 It=/\s+/,Mt=[];let Nt=(()=>{var Y;class xe{constructor(de,ze){this._ngEl=de,this._renderer=ze,this.initialClasses=Mt,this.stateMap=new Map}set klass(de){this.initialClasses=null!=de?de.trim().split(It):Mt}set ngClass(de){this.rawClass="string"==typeof de?de.trim().split(It):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(It).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 Yt{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,Jt,pn)=>{if(null==pt.previousIndex)ze.createEmbeddedView(this._template,new Yt(pt.item,this._ngForOf,-1,-1),null===pn?void 0:pn);else if(null==pn)ze.remove(null===Jt?void 0:Jt);else if(null!==Jt){const Yn=ze.get(Jt);ze.move(Yn,pn),An(Yn,pt)}});for(let pt=0,Jt=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 pr=(()=>{var Y;class xe{constructor(de,ze){this._viewContainer=de,this._context=new We,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 We{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,Jt]=de.split("."),pn=-1===pt.indexOf("-")?void 0:a.czy.DashCase;null!=ze?this._renderer.setStyle(this._ngEl.nativeElement,pt,Jt?`${ze}${Jt}`: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 Jt=this._createContextForwardProxy();this._viewRef=pt.createEmbeddedView(this.ngTemplateOutlet,Jt,{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",Vi="server";function Hr(Y){return Y===Ai}function wi(Y){return Y===Vi}let Qi=(()=>{var Y;class xe{}return(Y=xe).\u0275prov=(0,a.jDH)({token:Y,providedIn:"root",factory:()=>Hr((0,a.WQX)(a.Agw))?new Pr((0,a.WQX)(C),window):new He}),xe})();class Pr{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 ui(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 Jt=pt.getElementById(xe)||pt.querySelector(`[name="${xe}"]`);if(Jt)return Jt}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 He{setOffset(xe){}getScrollPosition(){return[0,0]}scrollToPosition(xe){}scrollToAnchor(xe){}setHistoryScrollRestoration(xe){}}class Ne{}},1626:(be,ee,E)=>{"use strict";E.d(ee,{Lr:()=>B,Qq:()=>L,q1:()=>Qt}),E(467);var S=E(4438),p=E(7673),O=E(1985),c=E(6648),D=E(274),C=E(5964),_=E(6354),T=E(980),w=E(5558),g=E(177);class F{}class A{}class B{constructor(ut){this.normalizedNames=new Map,this.lazyUpdate=null,ut?"string"==typeof ut?this.lazyInit=()=>{this.headers=new Map,ut.split("\n").forEach(It=>{const Mt=It.indexOf(":");if(Mt>0){const Nt=It.slice(0,Mt),Zt=Nt.toLowerCase(),qt=It.slice(Mt+1).trim();this.maybeSetNormalizedName(Nt,Zt),this.headers.has(Zt)?this.headers.get(Zt).push(qt):this.headers.set(Zt,[qt])}})}:typeof Headers<"u"&&ut instanceof Headers?(this.headers=new Map,ut.forEach((It,Mt)=>{this.setHeaderEntries(Mt,It)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ut).forEach(([It,Mt])=>{this.setHeaderEntries(It,Mt)})}:this.headers=new Map}has(ut){return this.init(),this.headers.has(ut.toLowerCase())}get(ut){this.init();const It=this.headers.get(ut.toLowerCase());return It&&It.length>0?It[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ut){return this.init(),this.headers.get(ut.toLowerCase())||null}append(ut,It){return this.clone({name:ut,value:It,op:"a"})}set(ut,It){return this.clone({name:ut,value:It,op:"s"})}delete(ut,It){return this.clone({name:ut,value:It,op:"d"})}maybeSetNormalizedName(ut,It){this.normalizedNames.has(It)||this.normalizedNames.set(It,ut)}init(){this.lazyInit&&(this.lazyInit instanceof B?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ut=>this.applyUpdate(ut)),this.lazyUpdate=null))}copyFrom(ut){ut.init(),Array.from(ut.headers.keys()).forEach(It=>{this.headers.set(It,ut.headers.get(It)),this.normalizedNames.set(It,ut.normalizedNames.get(It))})}clone(ut){const It=new B;return It.lazyInit=this.lazyInit&&this.lazyInit instanceof B?this.lazyInit:this,It.lazyUpdate=(this.lazyUpdate||[]).concat([ut]),It}applyUpdate(ut){const It=ut.name.toLowerCase();switch(ut.op){case"a":case"s":let Mt=ut.value;if("string"==typeof Mt&&(Mt=[Mt]),0===Mt.length)return;this.maybeSetNormalizedName(ut.name,It);const Nt=("a"===ut.op?this.headers.get(It):void 0)||[];Nt.push(...Mt),this.headers.set(It,Nt);break;case"d":const Zt=ut.value;if(Zt){let qt=this.headers.get(It);if(!qt)return;qt=qt.filter(Yt=>-1===Zt.indexOf(Yt)),0===qt.length?(this.headers.delete(It),this.normalizedNames.delete(It)):this.headers.set(It,qt)}else this.headers.delete(It),this.normalizedNames.delete(It)}}setHeaderEntries(ut,It){const Mt=(Array.isArray(It)?It:[It]).map(Zt=>Zt.toString()),Nt=ut.toLowerCase();this.headers.set(Nt,Mt),this.maybeSetNormalizedName(ut,Nt)}forEach(ut){this.init(),Array.from(this.normalizedNames.keys()).forEach(It=>ut(this.normalizedNames.get(It),this.headers.get(It)))}}class ${encodeKey(ut){return U(ut)}encodeValue(ut){return U(ut)}decodeKey(ut){return decodeURIComponent(ut)}decodeValue(ut){return decodeURIComponent(ut)}}const M=/%(\d[a-f0-9])/gi,R={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U(je){return encodeURIComponent(je).replace(M,(ut,It)=>{var Mt;return null!==(Mt=R[It])&&void 0!==Mt?Mt:ut})}function j(je){return`${je}`}class K{constructor(ut={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ut.encoder||new $,ut.fromString){if(ut.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(je,ut){const It=new Map;return je.length>0&&je.replace(/^\?/,"").split("&").forEach(Nt=>{const Zt=Nt.indexOf("="),[qt,Yt]=-1==Zt?[ut.decodeKey(Nt),""]:[ut.decodeKey(Nt.slice(0,Zt)),ut.decodeValue(Nt.slice(Zt+1))],Tn=It.get(qt)||[];Tn.push(Yt),It.set(qt,Tn)}),It}(ut.fromString,this.encoder)}else ut.fromObject?(this.map=new Map,Object.keys(ut.fromObject).forEach(It=>{const Mt=ut.fromObject[It],Nt=Array.isArray(Mt)?Mt.map(j):[j(Mt)];this.map.set(It,Nt)})):this.map=null}has(ut){return this.init(),this.map.has(ut)}get(ut){this.init();const It=this.map.get(ut);return It?It[0]:null}getAll(ut){return this.init(),this.map.get(ut)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ut,It){return this.clone({param:ut,value:It,op:"a"})}appendAll(ut){const It=[];return Object.keys(ut).forEach(Mt=>{const Nt=ut[Mt];Array.isArray(Nt)?Nt.forEach(Zt=>{It.push({param:Mt,value:Zt,op:"a"})}):It.push({param:Mt,value:Nt,op:"a"})}),this.clone(It)}set(ut,It){return this.clone({param:ut,value:It,op:"s"})}delete(ut,It){return this.clone({param:ut,value:It,op:"d"})}toString(){return this.init(),this.keys().map(ut=>{const It=this.encoder.encodeKey(ut);return this.map.get(ut).map(Mt=>It+"="+this.encoder.encodeValue(Mt)).join("&")}).filter(ut=>""!==ut).join("&")}clone(ut){const It=new K({encoder:this.encoder});return It.cloneFrom=this.cloneFrom||this,It.updates=(this.updates||[]).concat(ut),It}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ut=>this.map.set(ut,this.cloneFrom.map.get(ut))),this.updates.forEach(ut=>{switch(ut.op){case"a":case"s":const It=("a"===ut.op?this.map.get(ut.param):void 0)||[];It.push(j(ut.value)),this.map.set(ut.param,It);break;case"d":if(void 0===ut.value){this.map.delete(ut.param);break}{let Mt=this.map.get(ut.param)||[];const Nt=Mt.indexOf(j(ut.value));-1!==Nt&&Mt.splice(Nt,1),Mt.length>0?this.map.set(ut.param,Mt):this.map.delete(ut.param)}}}),this.cloneFrom=this.updates=null)}}class ve{constructor(){this.map=new Map}set(ut,It){return this.map.set(ut,It),this}get(ut){return this.map.has(ut)||this.map.set(ut,ut.defaultValue()),this.map.get(ut)}delete(ut){return this.map.delete(ut),this}has(ut){return this.map.has(ut)}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(ut,It,Mt,Nt){var Zt,qt;let Yt;if(this.url=It,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ut.toUpperCase(),function te(je){switch(je){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Nt?(this.body=void 0!==Mt?Mt:null,Yt=Nt):Yt=Mt,Yt&&(this.reportProgress=!!Yt.reportProgress,this.withCredentials=!!Yt.withCredentials,Yt.responseType&&(this.responseType=Yt.responseType),Yt.headers&&(this.headers=Yt.headers),Yt.context&&(this.context=Yt.context),Yt.params&&(this.params=Yt.params),this.transferCache=Yt.transferCache),null!==(Zt=this.headers)&&void 0!==Zt||(this.headers=new B),null!==(qt=this.context)&&void 0!==qt||(this.context=new ve),this.params){const Tn=this.params.toString();if(0===Tn.length)this.urlWithParams=It;else{const An=It.indexOf("?");this.urlWithParams=It+(-1===An?"?":Anbt.set(Wt,ut.setHeaders[Wt]),et)),ut.setParams&&(Te=Object.keys(ut.setParams).reduce((bt,Wt)=>bt.set(Wt,ut.setParams[Wt]),Te)),new u(qt,Yt,Xn,{params:Te,headers:et,context:qe,reportProgress:We,responseType:Tn,withCredentials:pr,transferCache:An})}}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(ut,It=r.Ok,Mt="OK"){this.headers=ut.headers||new B,this.status=void 0!==ut.status?ut.status:It,this.statusText=ut.statusText||Mt,this.url=ut.url||null,this.ok=this.status>=200&&this.status<300}}class v extends h{constructor(ut={}){super(ut),this.type=s.ResponseHeader}clone(ut={}){return new v({headers:ut.headers||this.headers,status:void 0!==ut.status?ut.status:this.status,statusText:ut.statusText||this.statusText,url:ut.url||this.url||void 0})}}class y extends h{constructor(ut={}){super(ut),this.type=s.Response,this.body=void 0!==ut.body?ut.body:null}clone(ut={}){return new y({body:void 0!==ut.body?ut.body:this.body,headers:ut.headers||this.headers,status:void 0!==ut.status?ut.status:this.status,statusText:ut.statusText||this.statusText,url:ut.url||this.url||void 0})}}class f extends h{constructor(ut){super(ut,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ut.url||"(unknown url)"}`:`Http failure response for ${ut.url||"(unknown url)"}: ${ut.status} ${ut.statusText}`,this.error=ut.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,ut){return{body:ut,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 ut{constructor(Mt){this.handler=Mt}request(Mt,Nt,Zt={}){let qt;if(Mt instanceof u)qt=Mt;else{let An,Xn;An=Zt.headers instanceof B?Zt.headers:new B(Zt.headers),Zt.params&&(Xn=Zt.params instanceof K?Zt.params:new K({fromObject:Zt.params})),qt=new u(Mt,Nt,void 0!==Zt.body?Zt.body:null,{headers:An,context:Zt.context,params:Xn,reportProgress:Zt.reportProgress,responseType:Zt.responseType||"json",withCredentials:Zt.withCredentials,transferCache:Zt.transferCache})}const Yt=(0,p.of)(qt).pipe((0,D.H)(An=>this.handler.handle(An)));if(Mt instanceof u||"events"===Zt.observe)return Yt;const Tn=Yt.pipe((0,C.p)(An=>An instanceof y));switch(Zt.observe||"body"){case"body":switch(qt.responseType){case"arraybuffer":return Tn.pipe((0,_.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,_.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,_.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,_.T)(An=>An.body))}case"response":return Tn;default:throw new Error(`Unreachable: unhandled observe type ${Zt.observe}}`)}}delete(Mt,Nt={}){return this.request("DELETE",Mt,Nt)}get(Mt,Nt={}){return this.request("GET",Mt,Nt)}head(Mt,Nt={}){return this.request("HEAD",Mt,Nt)}jsonp(Mt,Nt){return this.request("JSONP",Mt,{params:(new K).append(Nt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Mt,Nt={}){return this.request("OPTIONS",Mt,Nt)}patch(Mt,Nt,Zt={}){return this.request("PATCH",Mt,d(Zt,Nt))}post(Mt,Nt,Zt={}){return this.request("POST",Mt,d(Zt,Nt))}put(Mt,Nt,Zt={}){return this.request("PUT",Mt,d(Zt,Nt))}}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)(S.KVO(F))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),ut})();function ae(je,ut){return ut(je)}function tt(je,ut){return(It,Mt)=>ut.intercept(It,{handle:Nt=>je(Nt,Mt)})}const pe=new S.nKC(""),Ie=new S.nKC(""),Se=new S.nKC(""),ie=new S.nKC("");function ne(){let je=null;return(ut,It)=>{var Mt;null===je&&(je=(null!==(Mt=(0,S.WQX)(pe,{optional:!0}))&&void 0!==Mt?Mt:[]).reduceRight(tt,ae));const Nt=(0,S.WQX)(S.TgB),Zt=Nt.add();return je(ut,It).pipe((0,T.j)(()=>Nt.remove(Zt)))}}let vt=(()=>{var je;class ut extends F{constructor(Mt,Nt){super(),this.backend=Mt,this.injector=Nt,this.chain=null,this.pendingTasks=(0,S.WQX)(S.TgB);const Zt=(0,S.WQX)(ie,{optional:!0});this.backend=null!=Zt?Zt:Mt}handle(Mt){if(null===this.chain){const Zt=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(Se,[])]));this.chain=Zt.reduceRight((qt,Yt)=>function Re(je,ut,It){return(Mt,Nt)=>(0,S.N4e)(It,()=>ut(Mt,Zt=>je(Zt,Nt)))}(qt,Yt,this.injector),ae)}const Nt=this.pendingTasks.add();return this.chain(Mt,Zt=>this.backend.handle(Zt)).pipe((0,T.j)(()=>this.pendingTasks.remove(Nt)))}}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)(S.KVO(A),S.KVO(S.uvJ))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),ut})();const yn=/^\)\]\}',?\n/;let Bt=(()=>{var je;class ut{constructor(Mt){this.xhrFactory=Mt}handle(Mt){if("JSONP"===Mt.method)throw new S.wOt(-2800,!1);const Nt=this.xhrFactory;return(Nt.\u0275loadImpl?(0,c.H)(Nt.\u0275loadImpl()):(0,p.of)(null)).pipe((0,w.n)(()=>new O.c(qt=>{const Yt=Nt.build();if(Yt.open(Mt.method,Mt.urlWithParams),Mt.withCredentials&&(Yt.withCredentials=!0),Mt.headers.forEach((bt,Wt)=>Yt.setRequestHeader(bt,Wt.join(","))),Mt.headers.has("Accept")||Yt.setRequestHeader("Accept","application/json, text/plain, */*"),!Mt.headers.has("Content-Type")){const bt=Mt.detectContentTypeHeader();null!==bt&&Yt.setRequestHeader("Content-Type",bt)}if(Mt.responseType){const bt=Mt.responseType.toLowerCase();Yt.responseType="json"!==bt?bt:"text"}const Tn=Mt.serializeBody();let An=null;const Xn=()=>{if(null!==An)return An;const bt=Yt.statusText||"OK",Wt=new B(Yt.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}(Yt)||Mt.url;return An=new v({headers:Wt,status:Yt.status,statusText:bt,url:hn}),An},pr=()=>{let{headers:bt,status:Wt,statusText:hn,url:Et}=Xn(),zt=null;Wt!==r.NoContent&&(zt=typeof Yt.response>"u"?Yt.responseText:Yt.response),0===Wt&&(Wt=zt?r.Ok:0);let ye=Wt>=200&&Wt<300;if("json"===Mt.responseType&&"string"==typeof zt){const Ke=zt;zt=zt.replace(yn,"");try{zt=""!==zt?JSON.parse(zt):null}catch(dt){zt=Ke,ye&&(ye=!1,zt={error:dt,text:zt})}}ye?(qt.next(new y({body:zt,headers:bt,status:Wt,statusText:hn,url:Et||void 0})),qt.complete()):qt.error(new f({error:zt,headers:bt,status:Wt,statusText:hn,url:Et||void 0}))},We=bt=>{const{url:Wt}=Xn(),hn=new f({error:bt,status:Yt.status||0,statusText:Yt.statusText||"Unknown Error",url:Wt||void 0});qt.error(hn)};let et=!1;const Te=bt=>{et||(qt.next(Xn()),et=!0);let Wt={type:s.DownloadProgress,loaded:bt.loaded};bt.lengthComputable&&(Wt.total=bt.total),"text"===Mt.responseType&&Yt.responseText&&(Wt.partialText=Yt.responseText),qt.next(Wt)},qe=bt=>{let Wt={type:s.UploadProgress,loaded:bt.loaded};bt.lengthComputable&&(Wt.total=bt.total),qt.next(Wt)};return Yt.addEventListener("load",pr),Yt.addEventListener("error",We),Yt.addEventListener("timeout",We),Yt.addEventListener("abort",We),Mt.reportProgress&&(Yt.addEventListener("progress",Te),null!==Tn&&Yt.upload&&Yt.upload.addEventListener("progress",qe)),Yt.send(Tn),qt.next({type:s.Sent}),()=>{Yt.removeEventListener("error",We),Yt.removeEventListener("abort",We),Yt.removeEventListener("load",pr),Yt.removeEventListener("timeout",We),Mt.reportProgress&&(Yt.removeEventListener("progress",Te),null!==Tn&&Yt.upload&&Yt.upload.removeEventListener("progress",qe)),Yt.readyState!==Yt.DONE&&Yt.abort()}})))}}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)(S.KVO(g.N0))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),ut})();const Cn=new S.nKC(""),Lt=new S.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),kt=new S.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ot{}let Ln=(()=>{var je;class ut{constructor(Mt,Nt,Zt){this.doc=Mt,this.platform=Nt,this.cookieName=Zt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Mt=this.doc.cookie||"";return Mt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,g._b)(Mt,this.cookieName),this.lastCookieString=Mt),this.lastToken}}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)(S.KVO(g.qQ),S.KVO(S.Agw),S.KVO(Lt))},je.\u0275prov=S.jDH({token:je,factory:je.\u0275fac}),ut})();function Ut(je,ut){const It=je.url.toLowerCase();if(!(0,S.WQX)(Cn)||"GET"===je.method||"HEAD"===je.method||It.startsWith("http://")||It.startsWith("https://"))return ut(je);const Mt=(0,S.WQX)(Ot).getToken(),Nt=(0,S.WQX)(kt);return null!=Mt&&!je.headers.has(Nt)&&(je=je.clone({headers:je.headers.set(Nt,Mt)})),ut(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,ut){return{\u0275kind:je,\u0275providers:ut}}function Ae(...je){const ut=[L,Bt,vt,{provide:F,useExisting:vt},{provide:A,useExisting:Bt},{provide:Ie,useValue:Ut,multi:!0},{provide:Cn,useValue:!0},{provide:Ot,useClass:Ln}];for(const It of je)ut.push(...It.\u0275providers);return(0,S.EmA)(ut)}const Ue=new S.nKC("");let Qt=(()=>{var je;class ut{}return(je=ut).\u0275fac=function(Mt){return new(Mt||je)},je.\u0275mod=S.$C({type:je}),je.\u0275inj=S.G2t({providers:[Ae(De(_e.LegacyInterceptors,[{provide:Ue,useFactory:ne},{provide:Ie,useExisting:Ue,multi:!0}]))]}),ut})()},4438:(be,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:()=>ci,aKT:()=>Za,uvJ:()=>hi,zcH:()=>Bo,bkB:()=>co,$GK:()=>tn,nKC:()=>Nt,zZn:()=>Ti,_q3:()=>Af,MKu:()=>Mf,xe9:()=>gc,Co$:()=>Zx,Vns:()=>Es,SKi:()=>Kr,Xx1:()=>Hr,Agw:()=>o0,PLl:()=>$h,sFG:()=>O9,_9s:()=>ox,czy:()=>Su,WPN:()=>vs,kdw:()=>_i,C4Q:()=>xl,NYb:()=>zD,giA:()=>Gg,RxE:()=>Ug,c1b:()=>Xu,gXe:()=>di,mal:()=>fx,L39:()=>e3,a0P:()=>l3,Ol2:()=>md,w6W:()=>RC,oH4:()=>i1,SmG:()=>cA,Rfq:()=>Ut,WQX:()=>Vn,QuC:()=>si,EmA:()=>Ro,fpN:()=>AA,HJs:()=>u3,N4e:()=>ro,O8t:()=>n3,H3F:()=>Vg,H8p:()=>No,KH2:()=>Ca,TgB:()=>na,wOt:()=>G,WHO:()=>Kg,e01:()=>Wg,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:()=>kn,plB:()=>Go,jNT:()=>pf,zjR:()=>Xg,TL$:()=>sy,Tbb:()=>In,rcV:()=>So,Vt3:()=>pd,Mj6:()=>Oi,GFd:()=>Yx,OA$:()=>hr,Jv_:()=>fg,aNF:()=>hg,R7$:()=>Bp,BMQ:()=>Bd,ZvI:()=>zv,AVh:()=>Rd,wni:()=>Vm,VBU:()=>Ba,FsC:()=>ts,jDH:()=>bn,G2t:()=>Un,$C:()=>es,EJ8:()=>yo,rXU:()=>Qs,nrm:()=>Ud,eu8:()=>Hd,k0s:()=>lc,j41:()=>ac,RV6:()=>Zv,xGo:()=>ah,KVO:()=>Mr,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:()=>Km,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((!ve(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 Re=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 ft(e){return{toString:e}.toString()}const wt="__parameters__";function Tt(e,t,i){return ft(()=>{const l=function St(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(W,he,we){const Oe=W.hasOwnProperty(wt)?W[wt]:Object.defineProperty(W,wt,{value:[]})[wt];for(;Oe.length<=we;)Oe.push(null);return(Oe[we]=Oe[we]||[]).push(N),W}}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 Lt(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 Ln=st({__forward_ref__:st});function Ut(e){return e.__forward_ref__=Ut,e.toString=function(){return In(this())},e}function Le(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(Ln)&&e.__forward_ref__===Ut}function bn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Un(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fn(e){return Kn(e,je)||Kn(e,It)}function kn(e){return null!==Fn(e)}function Kn(e,t){return e.hasOwnProperty(t)?e[t]:null}function jn(e){return e&&(e.hasOwnProperty(ut)||e.hasOwnProperty(Mt))?e[ut]:null}const je=st({\u0275prov:st}),ut=st({\u0275inj:st}),It=st({ngInjectableDef:st}),Mt=st({ngInjectorDef:st});class Nt{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}),Wt=st({\u0275dir:st}),hn=st({\u0275pipe:st}),Et=st({\u0275mod:st}),zt=st({\u0275fac:st}),ye=st({__NG_ELEMENT_ID__:st}),Ke=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 Rn(e){const t=Mn;return Mn=e,t}function xr(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={},Xe="__NG_DI_FLAG__",_t="ngTempTokenPath",vr=/\n/gm,ei="__source";let Jr;function Wr(e){const t=Jr;return Jr=e,t}function Ui(e,t=tn.Default){if(void 0===Jr)throw new G(-203,!1);return null===Jr?xr(e,void 0,t):Jr.get(e,t&tn.Optional?null:void 0,t)}function Mr(e,t=tn.Default){return(Bn()||Ui)(Le(e),t)}function Vn(e,t=tn.Default){return Mr(e,gi(t))}function gi(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ri(e){const t=[];for(let i=0;iArray.isArray(i)?ui(i,t):t(i))}function He(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Ne(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dn(e,t,i){let l=ar(e,t);return l>=0?e[1|l]=i:(l=~l,function Ht(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 Wn(e,t){const i=ar(e,t);if(i>=0)return e[1|i]}function ar(e,t){return function Er(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!==Oe){if(zr(l))return!1;N=!0}}}}else{if(!N&&!zr(l)&&!zr(W))return!1;if(N&&zr(W))continue;N=!1,l=W|1&l}}return zr(l)||N}function zr(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&&!zr(N)&&(t+=_a(b,x),x=""),l=N,b=b||!zr(l);i++}return""!==x&&(t+=_a(b,x)),t}function Ba(e){return ft(()=>{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||di.Emulated,styles:e.styles||ur,_:null,schemas:e.schemas||null,tView:null,id:""};rs(l);const x=e.dependencies;return l.directiveDefs=ji(x,!1),l.pipeDefs=ji(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 qn(e)||kr(e)}function Sa(e){return null!==e}function es(e){return ft(()=>({type:e.type,bootstrap:e.bootstrap||ur,declarations:e.declarations||ur,imports:e.imports||ur,exports:e.exports||ur,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ia(e,t){if(null==e)return dr;const i={};for(const x in e)if(e.hasOwnProperty(x)){const b=e[x];let N,H,W=Oi.None;var l;Array.isArray(b)?(W=b[0],N=b[1],H=null!==(l=b[2])&&void 0!==l?l:N):(N=b,H=b),t?(i[N]=W!==Oi.None?[x,W]:x,t[N]=H):i[N]=x}return i}function ts(e){return ft(()=>{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 qn(e){return e[bt]||null}function kr(e){return e[Wt]||null}function Or(e){return e[hn]||null}function si(e){const t=qn(e)||kr(e)||Or(e);return null!==t&&t.standalone}function Gr(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 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||dr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ur,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 ji(e,t){if(!e)return null;const i=t?Or:Xl;return()=>("function"==typeof e?e():e).map(l=>i(l)).filter(Sa)}function Ro(e){return{\u0275providers:e}}function _s(...e){return{\u0275providers:Oo(0,e),\u0275fromNgModule:!0}}function Oo(e,...t){const i=[],l=new Set;let x;const b=N=>{i.push(N)};return ui(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=Le(e)))return!1;let x=null,b=jn(e);const N=!b&&qn(e);if(b||N){if(N&&!N.standalone)return!1;x=e}else{const W=e.ngModule;if(b=jn(W),!b)return!1;x=W}const H=l.has(x);if(N){if(H)return!1;if(l.add(x),N.dependencies){const W="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const he of W)eo(he,t,i,l)}}else{if(!b)return!1;{if(null!=b.imports&&!H){let he;l.add(x);try{ui(b.imports,we=>{eo(we,t,i,l)&&(he||(he=[]),he.push(we))})}finally{}void 0!==he&&Bs(he,t)}if(!H){const he=ti(x)||(()=>new x);t({provide:x,useFactory:he,deps:ur},x),t({provide:Po,useValue:x,multi:!0},x),t({provide:ci,useValue:()=>Mr(x),multi:!0},x)}const W=b.providers;if(null!=W&&!H){const he=e;Ss(W,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 Hi(e){return"function"==typeof e}const No=new Nt(""),Ts={},Oa={};let Fs;function ko(){return void 0===Fs&&(Fs=new mo),Fs}class hi{}class to extends hi{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(hi,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,ur,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=Wr(this),l=Rn(void 0);try{return t()}finally{Wr(i),Rn(l)}}get(t,i=le,l=tn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ke))return t[Ke](this);l=gi(l);const b=Wr(this),N=Rn(void 0);try{if(!(l&tn.SkipSelf)){let W=this.records.get(t);if(void 0===W){const he=function bo(e){return"function"==typeof e||"object"==typeof e&&e instanceof Nt}(t)&&Fn(t);W=he&&this.injectableDefInScope(he)?no(Ps(t),Ts):null,this.records.set(t,W)}if(null!=W)return this.hydrate(t,W)}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[_t]=H[_t]||[]).unshift(In(t)),b)throw H;return function Vi(e,t,i,l){const x=e[_t];throw t[ei]&&x.unshift(t[ei]),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=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(vr,"\n ")}`}("\n"+e.message,x,i,l),e.ngTokenPath=x,e[_t]=null,e}(H,t,"R3InjectorError",this.source)}throw H}finally{Rn(N),Wr(b)}}resolveInjectorInitializers(){const t=C(null),i=Wr(this),l=Rn(void 0);try{const b=this.get(ci,ur,tn.Self);for(const N of b)N()}finally{Wr(i),Rn(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=Hi(t=Le(t))?t:Le(t&&t.provide);const l=function Jl(e){return Is(e)?no(void 0,e.useValue):no(is(e),Ts)}(t);if(!Hi(t)&&!0===t.multi){let x=this.records.get(i);x||(x=no(void 0,Ts,!0),x.factory=()=>Ri(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=Oa,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=Le(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=Fn(e),i=null!==t?t.factory:ti(e);if(null!==i)return i;if(e instanceof Nt)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 $n(e){return e&&(e[je]||e[It])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new G(204,!1)}function is(e,t,i){let l;if(Hi(e)){const x=Le(e);return ti(x)||Ps(x)}if(Is(e))l=()=>Le(e.useValue);else if(function Pa(e){return!(!e||!e.useFactory)}(e))l=()=>e.useFactory(...Ri(e.deps||[]));else if(function Fa(e){return!(!e||!e.useExisting)}(e))l=()=>Mr(Le(e.useExisting));else{const x=Le(e&&(e.useClass||e.provide));if(!function ql(e){return!!e.deps}(e))return ti(x)||Ps(x);l=()=>new x(...Ri(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=Wr(e),x=Rn(void 0);try{return t()}finally{Wr(l),Rn(x)}}function Na(){return void 0!==Bn()||null!=function oi(){return Jr}()}const mr=0,mn=1,On=2,ir=3,$r=4,wr=5,Tr=6,Ni=7,Dr=8,Nr=9,Bi=10,Zn=11,os=12,Rs=13,Do=14,Fr=15,Uo=16,ni=17,ki=18,Os=19,_c=20,Ao=21,Vo=22,io=23,Qn=25,ka=1,zi=7,jo=9,Lr=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 qr(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 Si(e){return!!e.template}function $a(e){return!!(512&e[On])}class Jn{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 hr(){return Xr}function Xr(e){return e.type.prototype.ngOnChanges&&(e.setInput=us),Mo}function Mo(){const e=Ko(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===dr)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=Ko(e)||function cs(e,t){return e[zo]=t}(e,{previous:dr,current:null}),H=N.current||(N.current={}),W=N.previous,he=W[b];H[b]=new Jn(he&&he.currentValue,i,W===dr),_r(e,t,x,i)}hr.ngInherit=!0;const zo="__ngSimpleChanges__";function Ko(e){return e[zo]||null}const oo=function(e,t,i){};let Ff=!1;function Ar(e){for(;Array.isArray(e);)e=e[mr];return e}function ja(e,t){return Ar(t[e])}function pi(e,t){return Ar(t[e.index])}function Ha(e,t){return e.data[t]}function Ii(e,t){const i=t[e];return ri(i)?i:i[mr]}function Fc(e){return!(128&~e[On])}function so(e,t){return null==t?null:e[t]}function Pf(e){e[ni]=0}function Y1(e){1024&e[On]||(e[On]|=1024,Fc(e)&&za(e))}function Pc(e){var t;return!!(9216&e[On]||null!==(t=e[io])&&void 0!==t&&t.dirty)}function Rc(e){var t;if(null===(t=e[Bi].changeDetectionScheduler)||void 0===t||t.notify(1),Pc(e))za(e);else if(64&e[On])if(function K1(){return Ff}())e[On]|=1024,za(e);else{var i;null===(i=e[Bi].changeDetectionScheduler)||void 0===i||i.notify()}}function za(e){var t;null===(t=e[Bi].changeDetectionScheduler)||void 0===t||t.notify();let i=fs(e);for(;null!==i&&!(8192&i[On])&&(i[On]|=8192,Fc(i));)i=fs(i)}function nu(e,t){if(!(256&~e[On]))throw new G(911,!1);null===e[Ao]&&(e[Ao]=[]),e[Ao].push(t)}function fs(e){const t=e[ir];return qr(t)?t[ir]:t}const er={lFrame:Kf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nf(){return er.bindingsEnabled}function Ls(){return null!==er.skipHydrationRootTNode}function sn(){return er.lFrame.lView}function cr(){return er.lFrame.tView}function kf(e){return er.lFrame.contextLView=e,e[Dr]}function Lf(e){return er.lFrame.contextLView=null,e}function br(){let e=$f();for(;null!==e&&64===e.type;)e=e.parent;return e}function $f(){return er.lFrame.currentTNode}function ao(e,t){const i=er.lFrame;i.currentTNode=e,i.isParent=t}function Nc(){return er.lFrame.isParent}function kc(){er.lFrame.isParent=!1}function xi(){const e=er.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ki(){return er.lFrame.bindingIndex++}function _o(e){const t=er.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function sE(e,t){const i=er.lFrame;i.bindingIndex=i.bindingRootIndex=e,Lc(t)}function Lc(e){er.lFrame.currentDirectiveIndex=e}function Uc(){return er.lFrame.currentQueryIndex}function ru(e){er.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[Do],10&x.type))););if(null===x)return!1;t=x,e=b}const l=er.lFrame=zf();return l.currentTNode=t,l.lView=e,!0}function Vc(e){const t=zf(),i=e[mn];er.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=er.lFrame,t=null===e?null:e.child;return null===t?Kf(e):t}function Kf(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 Wf(){const e=er.lFrame;return er.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gf=Wf;function jc(){const e=Wf();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 er.lFrame.selectedIndex}function hs(e){er.lFrame.selectedIndex=e}function Ir(){const e=er.lFrame;return Ha(e.tView,e.selectedIndex)}let Yf=!0;function Wa(){return Yf}function lo(e){Yf=e}function iu(e,t){for(let he=t.directiveStart,we=t.directiveEnd;he=l)break}else t[W]<0&&(e[ni]+=65536),(H>14>16&&(3&e[On])===t&&(e[On]+=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 Kc(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 Wc=!0;function au(e){const t=Wc;return Wc=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[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(Kc(x)){const N=Xa(x),H=Ya(x,t),W=H[mn].data;for(let he=0;he<8;he++)t[b+he]=H[N+he]|W[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),W=$s,he=l&tn.Host?t[Fr][wr]:null;for((-1===H||l&tn.SkipSelf)&&(W=-1===H?uu(e,t):t[H+8],W!==$s&&sh(l,!1)?(N=t[mn],H=Xa(W),t=Ya(W,t)):H=-1);-1!==H;){const we=t[mn];if(oh(b,H,we.data)){const Oe=AE(H,t,i,N,l,he);if(Oe!==uo)return Oe}W=t[H+8],W!==$s&&sh(l,t[mn].data[H+8]===he)&&oh(b,H,t)?(N=we,H=Xa(W),t=Ya(W,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)&&Wc: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,W=e.directiveStart,we=b>>20,ct=x?H+we:e.directiveEnd;for(let At=l?H:H+we;At=W&&Vt.type===i)return At}if(x){const At=N[W];if(At&&Si(At)&&At.type===i)return W}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():dt(e)}(b[i]));const H=au(N.canSeeViewProviders);N.resolving=!0;const he=N.injectImpl?Rn(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 Oe=Xr(t);(null!==(N=i.preOrderHooks)&&void 0!==N?N:i.preOrderHooks=[]).push(e,Oe),(null!==(H=i.preOrderCheckHooks)&&void 0!==H?H:i.preOrderCheckHooks=[]).push(e,Oe)}var W,he,we;x&&(null!==(W=i.preOrderHooks)&&void 0!==W?W: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&&Rn(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(Le(e));return t&&t()}:ti(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 mo,e.\u0275prov=bn({token:e,providedIn:"any",factory:()=>Mr(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 Nt("",{providedIn:"root",factory:()=>Vn(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 OE extends js{constructor(t){super(),this._lView=t}onDestroy(t){return nu(this._lView,t),()=>function Oc(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 OE(sn())}function kE(){return Hs(br(),sn())}function Hs(e,t){return new Za(pi(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 Re.B{constructor(t=!1){var i;super(),this.destroyRef=void 0,this.__isAsync=t,Na()&&(this.destroyRef=null!==(i=Vn(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,W,he;const Oe=t;x=null===(H=Oe.next)||void 0===H?void 0:H.bind(Oe),b=null===(W=Oe.error)||void 0===W?void 0:W.bind(Oe),N=null===(he=Oe.complete)||void 0===he?void 0:he.bind(Oe)}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 Pr(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 Nt(""),o0=new Nt("",{providedIn:"platform",factory:()=>"unknown"}),ly=new Nt("",{providedIn:"root",factory:()=>{var e;return(null===(e=function Wo(){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 Kh=new Nt("",{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 Ry{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 Ry(e);return function Oy(){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(dt(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[Bi].sanitizer}const Qy=/^>|^->||--!>|)/g,qy="\u200b$1\u200b";function Fi(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;qr(l)?b=l:ri(l)&&(N=!0,l=l[mr]);const H=Ar(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[zi];b!==Ar(i)&&Zs(t,e,l,b,x);for(let H=Lr;Ht.replace(Jy,qy))}(t))}function Iu(e,t,i){return e.createElement(t,i)}function pp(e,t){var i;null===(i=t[Bi].changeDetectionScheduler)||void 0===i||i.notify(1),Ru(e,t,t[Zn],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<=Lr)return;const i=Lr+t,l=e[i];if(l){const x=l[Uo];null!==x&&x!==e&&xp(x,l),t>0&&(e[i-1][$r]=l[$r]);const b=Ne(e,Lr+t);!function d8(e,t){pp(e,t),t[mr]=null,t[wr]=null}(l[mn],l);const N=b[ki];null!==N&&N.detachView(b[mn]),l[ir]=null,l[$r]=null,l[On]&=-129}return l}function Tu(e,t){if(!(256&t[On])){const i=t[Zn];i.destroyNode&&Ru(e,t,i,3,null,null),function h8(e){let t=e[os];if(!t)return B0(e[mn],e);for(;t;){let i=null;if(ri(t))i=t[os];else{const l=t[Lr];l&&(i=l)}if(!i){for(;t&&!t[$r]&&t!==e;)ri(t)&&B0(t[mn],t),t=t[ir];null===t&&(t=e),ri(t)&&B0(t[mn],t),i=t&&t[$r]}t=i}}(t)}}function B0(e,t){if(256&t[On])return;const i=C(null);try{t[On]&=-129,t[On]|=256,t[io]&&function j(e){if(te(e),ve(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[Ao];if(null!==x){t[Ao]=null;for(let b=0;b-1){const{encapsulation:b}=e.data[l.directiveStart+x];if(b===di.None||b===di.Emulated)return null}return pi(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?pi(e,i):null};function Pu(e,t,i,l){const x=S0(e,l,t),b=t[Zn],H=Ep(l.parent||t[wr],l,t);if(null!=x)if(Array.isArray(i))for(let W=0;WQn&&Sp(e,t,Qn,!1),oo(N?2:0,x),i(l,x)}finally{hs(b),oo(N?3:1,x)}}function R0(e,t,i){if(La(t)){const l=C(null);try{const b=t.directiveEnd;for(let N=t.directiveStart;Nnull;function Op(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 W,he=Oi.None;Array.isArray(H)?(W=H[0],he=H[1]):W=H;let we=N;if(null!==x){if(!x.hasOwnProperty(N))continue;we=x[N]}0===e?Np(l,i,we,W,he):Np(l,i,we,W)}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 W=pi(t,i);let we,he=t.inputs;!H&&null!=he&&(we=he[l])?(j0(e,i,we,l,x),Ho(t)&&function R8(e,t){const i=Ii(t,e);16&i[On]||(i[On]|=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(W,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,rr),x)}function fo(e,t,i,l,x,b){const N=pi(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[Zn],N,b,e.value,i,l,x)}function W8(e,t,i,l,x,b){const N=b[t];if(null!==N)for(let H=0;H0&&(i[x-1][$r]=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[Bi],x=l.rendererFactory;var N;null===(N=x.begin)||void 0===N||N.call(x);try{!function t9(e,t){K0(e,t);let i=0;for(;Pc(e);){if(i===Gp)throw new G(103,!1);i++,K0(e,1)}}(e,i)}catch(he){throw t&&ku(e,he),he}finally{var H,W;null===(H=x.end)||void 0===H||H.call(x),null===(W=l.inlineEffectRunner)||void 0===W||W.flush()}}function n9(e,t,i,l){var x;const b=t[On];if(!(256&~b))return;null===(x=t[Bi].inlineEffectRunner)||void 0===x||x.flush(),Vc(t);let H=null,W=null;(function r9(e){return 2!==e.type})(e)&&(W=function Q8(e){var t;return null!==(t=e[io])&&void 0!==t?t:function J8(e){var t;const i=null!==(t=Wp.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)}(W));try{Pf(t),function Vf(e){return er.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[On]&eu.HasTransplantedViews))continue;const i=t[jo];for(let l=0;le.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(W,H),function q8(e){e.lView[io]!==e&&(e.lView=null,Wp.push(e))}(W)),jc()}}function Xp(e,t){for(let i=Bh(e);null!==i;i=Sh(i))for(let l=Lr;l-1&&(sl(t,l),Ne(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[On]&=-129}reattach(){Rc(this._lView),this._lView[On]|=128}detectChanges(){this._lView[On]|=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,Rc(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 W=t.tView,Oe=Ou(e,W,i,4096&e[On]?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);Oe[Uo]=e[t.index];const At=e[ki];return null!==At&&(Oe[ki]=At.createEmbeddedView(W)),H0(W,Oe,i),Oe}finally{C(x)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:l});return new pl(x)}};function l9(){return $u(br(),sn())}function $u(e,t){return 4&e.type?new a9(t,e,Hs(e,t)):null}class Q0{}class F9{}class rx{}class R9{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 R9,t})();class ox{}let O9=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function N9(){const e=sn(),i=Ii(br().index,e);return(ri(i)?i:e)[Zn]}(),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 Kr{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,W)=>{try{return lx(e),i.invoke(x,b,N,H,W)}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(!Kr.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(Kr.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:Vn(Ti);if(!function Wi(e){return"browser"===(null!=e?e:Vn(Ti)).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,W=null!==(x=null==t?void 0:t.phase)&&void 0!==x?x:gs.MixedReadWrite,he=()=>{H.unregister(Oe),we()},we=b.get(js).onDestroy(he),Oe=ro(b,()=>new hx(W,()=>{he(),e()}));return H.register(Oe),{destroy:he}}class hx{constructor(t,i){var l;this.phase=t,this.callbackFn=i,this.zone=Vn(Kr),this.errorHandler=Vn(Bo,{optional:!0}),null===(l=Vn(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!!Gr(e)}function Wu(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,Yi,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(br(),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 Yr(this._hostTNode,this._hostLView)}get parentInjector(){const t=uu(this._hostTNode,this._hostLView);if(Kc(t)){const i=Ya(t,this._hostLView),l=Xa(t);return new Yr(i[mn].data[l+8],i)}return new Yr(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-Lr}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,W;const he=t&&!function Jt(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 Oe=he?t:new Dl(qn(t)),ct=l||this.parentInjector;if(!b&&null==Oe.ngModule){const rn=(he?ct:this.parentInjector).get(hi,null);rn&&(b=rn)}const At=qn(null!==(N=Oe.componentType)&&void 0!==N?N:{}),Vt=(null==At?void 0:At.id,null),en=null!==(W=null==Vt?void 0:Vt.firstChild)&&void 0!==W?W:null,dn=Oe.create(ct,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 qr(e[ir])}(x)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const W=x[ir],he=new Ex(W,W[wr],W[ir]);he.detach(he.indexOf(t))}}const b=this._adjustIndex(i),N=this._lContainer;return dl(N,x,b,l),t.attachToViewContainerRef(),He(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&&(Ne(id(this._lContainer),i),Tu(l[mn],l))}detach(t){const i=this._adjustIndex(t,-1),l=sl(this._lContainer,i);return l&&null!=Ne(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 qr(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[zi])return;let x;x=8&i.type?Ar(l):function iC(e,t){const i=e[Zn],l=i.createComment(""),x=pi(t,e);return ms(i,Fu(i,x),l,function E8(e,t){return e.nextSibling(t)}(i,x),!1),l}(t,i),e[zi]=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[-W];for(let Oe=Lr;Oe=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===dr?{}:e===ur?[]: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 RC(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=Gr(t);this._bootstrapComponents=Fi(x.bootstrap),this._r3Injector=ph(t,i,[{provide:Es,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 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 Ur(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function ys(e,t,i,l){const x=Ur(e,t,i);return Ur(e,t+1,l)||x}function ra(e,t,i,l,x,b,N,H){const W=sn(),he=cr(),we=e+Qn,Oe=he.firstCreatePass?function VC(e,t,i,l,x,b,N,H,W){const he=t.consts,we=Js(t,e,4,N||null,so(he,H));L0(t,i,we,so(he,W)),iu(t,we);const Oe=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),Oe.queries=t.queries.embeddedTView(we)),we}(we,he,W,t,i,l,x,b,N):he.data[we];ao(Oe,!1);const ct=Jx(he,W,Oe,e);Wa()&&Pu(he,W,ct,Oe),li(ct,W);const At=$p(ct,W,ct,Oe);return W[we]=At,Nu(W,At),function Dx(e,t,i){return od(e,t,i)}(At,Oe,W),ls(Oe)&&O0(he,W,Oe),null!=N&&N0(W,Oe,H),ra}let Jx=function qx(e,t,i,l){return lo(!0),t[Zn].createComment("")};function Bd(e,t,i,l){const x=sn();return Ur(x,Ki(),t)&&(cr(),fo(Ir(),x,e,t,i,l)),Bd}function da(e,t,i,l){return Ur(e,Ki(),i)?t+dt(i)+l:rr}function fa(e,t,i,l,x,b){const H=ys(e,function wo(){return er.lFrame.bindingIndex}(),i,x);return _o(2),H?t+dt(i)+l+dt(x)+b:rr}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)&&ar(e,t)>=0}const Zr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tv(e){return e.substring(Zr.key,Zr.keyEnd)}function B2(e){return e.substring(Zr.value,Zr.valueEnd)}function Fv(e,t){const i=Zr.textEnd;return i===t?-1:(t=Zr.keyEnd=function T2(e,t,i){for(;t32;)t++;return t}(e,Zr.key=t,i),Ea(e,t,i))}function Pv(e,t){const i=Zr.textEnd;let l=Zr.key=Ea(e,t,i);return i===l?-1:(l=Zr.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=Ov(e,l,i),l=Zr.value=Ea(e,l,i),l=Zr.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&W}return H}(e,l,i),Ov(e,l,i))}function Rv(e){Zr.key=0,Zr.keyEnd=0,Zr.value=0,Zr.valueEnd=0,Zr.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 Rv(e),Fv(e,Ea(e,0,Zr.textEnd))}(t);i>=0;i=Fv(t,i))Dn(e,Tv(t),!0)}function Xi(e,t,i,l){const x=cr(),b=_o(2);x.firstUpdatePass&&$v(x,null,b,l);const N=sn();if(i!==rr&&Ur(N,b,i)){const H=x.data[ai()];if(Hv(H,l)&&!Lv(x,b)){let W=l?H.classesWithoutHost:H.stylesWithoutHost;null!==W&&(i=kt(W,i||"")),Pd(x,H,N,i,l)}else!function j2(e,t,i,l,x,b,N,H){x===rr&&(x=ur);let W=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=er.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=Od(null,e,t,i,l),t.attrs,l),b=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==x)if(i=Od(x,e,t,i,l),null===b){let W=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!==W&&Array.isArray(W)&&(W=Od(null,e,t,W[1],l),W=Il(W,t.attrs,l),function L2(e,t,i,l){e[Zo(i?t.classBindings:t.styleBindings)]=l}(e,t,l,W))}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!==W){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(W,0),0===H?H=l:e[W+1]=Id(e[W+1],l),W=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&&ar(b,t)>=0&&(i[l+1]=Td(i[l+1]))}(t,we,e,l,b),N=oc(H,W),b?t.classBindings=N:t.styleBindings=N}(x,b,t,i,N,l)}}function Od(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 W=e[x],he=Array.isArray(W),we=he?W[1]:W,Oe=null===we;let ct=i[x+1];ct===rr&&(ct=Oe?ur:void 0);let At=Oe?Wn(ct,l):we===l?ct:void 0;if(he&&!sc(At)&&(At=Wn(W,l)),sc(At)&&(H=At,N))return H;const Vt=e[x+1];x=N?Zo(Vt):bs(Vt)}if(null!==t){let W=b?t.residualClasses:t.residualStyles;null!=W&&(H=Wn(W,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){Xi(Dn,vo,da(sn(),e,t,i),!0)}function ac(e,t,i,l){const x=sn(),b=cr(),N=Qn+e,H=x[Zn],W=b.firstCreatePass?function d6(e,t,i,l,x,b){const N=t.consts,W=Js(t,e,2,l,so(N,x));return L0(t,i,W,so(N,b)),null!==W.attrs&&Wu(W,W.attrs,!1),null!==W.mergedAttrs&&Wu(W,W.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,W),W}(N,b,x,t,i,l):b.data[N],he=Xv(b,x,W,H,t,e);x[N]=he;const we=ls(W);return ao(W,!0),_p(H,he,W),!function wl(e){return!(32&~e.flags)}(W)&&Wa()&&Pu(b,x,he,W),0===function Z1(){return er.lFrame.elementDepthCount}()&&li(he,x),function Q1(){er.lFrame.elementDepthCount++}(),we&&(O0(b,x,W),R0(b,W,x)),null!==l&&N0(x,W),ac}function lc(){let e=br();Nc()?kc():(e=e.parent,ao(e,!1));const t=e;(function q1(e){return er.skipHydrationRootTNode===e})(t)&&function rE(){er.skipHydrationRootTNode=null}(),function J1(){er.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 er.lFrame.currentNamespace}()));function Vd(e,t,i){const l=sn(),x=cr(),b=e+Qn,N=x.firstCreatePass?function p6(e,t,i,l,x){const b=t.consts,N=so(b,l),H=Js(t,e,8,"ng-container",N);return null!==N&&Wu(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,Wa()&&Pu(x,l,H,N),li(H,l),ls(N)&&(O0(x,l,N),R0(x,N,l)),null!=i&&N0(l,N),Vd}function jd(){let e=br();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[Zn],""));function Zv(){return sn()}const Ds=void 0;var g6=["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 m6(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 E6(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 g6;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=br();return Xd(b,x,x[Zn],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[Dr],Oe=Vp(t);let ct=!0;if(3&l.type||N){const en=pi(l,t),dn=N?N(en):en,xn=Oe.length,rn=N?or=>N(Ar(or[l.index])):l.index;let Gn=null;if(!N&&H&&(Gn=function xb(e,t,i,l){const x=e.cleanup;if(null!=x)for(let b=0;bW?H[W]:null}"string"==typeof N&&(b+=2)}return null}(e,t,x,l.index)),null!==Gn)(Gn.__ngLastListenerFn__||Gn).__ngNextListenerFn__=b,Gn.__ngLastListenerFn__=b,ct=!1;else{b=Sm(l,t,we,b,!1);const or=i.listen(dn,x,b);Oe.push(b,or),he&&he.push(x,rn,xn,xn+1)}}else b=Sm(l,t,we,b,!1);const At=l.outputs;let Vt;if(ct&&null!==At&&(Vt=At[x])){const en=Vt.length;if(en)for(let dn=0;dn-1?Ii(e.index,t):t);let W=Bm(t,i,l,N),he=b.__ngNextListenerFn__;for(;he;)W=Bm(t,i,he,N)&&W,he=he.__ngNextListenerFn__;return x&&!1===W&&N.preventDefault(),W}}function Im(e=1){return function uE(e){return(er.lFrame.contextLView=function Rf(e,t){for(;e>0;)t=t[Do],e--;return t}(e,er.lFrame.contextLView))[Dr]}(e)}function vb(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[Zn],l));function Qd(e){return hc("",e,""),Qd}function hc(e,t,i){const l=sn(),x=da(l,e,t,i);return x!==rr&&To(l,ai(),x),hc}function Jd(e,t,i,l,x){const b=sn(),N=fa(b,e,t,i,l,x);return N!==rr&&To(b,ai(),N),Jd}function qd(e,t,i){Rx(t)&&(t=t());const l=sn();return Ur(l,Ki(),t)&&Ci(cr(),Ir(),l,e,t,l[Zn],i,!1),qd}function cg(e,t){const i=Rx(e);return i&&e.set(t),i}function ef(e,t){const i=sn(),l=cr(),x=br();return Xd(l,i,i[Zn],x,e,t),ef}function tf(e,t,i,l,x){if(e=Le(e),Array.isArray(e))for(let b=0;b>20;if(Hi(e)||!e.multi){const At=new Ga(he,x,Qs),Vt=rf(W,t,x?we:we+ct,Oe);-1===Vt?(Xc(lu(H,N),b,W),nf(b,e,t.length),t.push(W),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(At),N.push(At)):(i[Vt]=At,N[Vt]=At)}else{const At=rf(W,t,we+ct,Oe),Vt=rf(W,t,we,we+ct),dn=Vt>=0&&i[Vt];if(x&&!dn||!x&&!(At>=0&&i[At])){Xc(lu(H,N),b,W);const xn=function Ob(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?Rb:Pb,i.length,x,l,he);!x&&dn&&(i[Vt].providerFactory=xn),nf(b,e,t.length,0),t.push(W),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(xn),N.push(xn)}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=Hi(t),b=function Ra(e){return!!e.useClass}(t);if(x||b){const W=(b?Le(t.useClass):t).prototype.ngOnDestroy;if(W){const he=e.destroyHooks||(e.destroyHooks=[]);if(!x&&t.multi){const we=he.indexOf(i);-1===we?he.push(i,[l,W]):he[we+1].push(l,W)}else he.push(i,W)}}}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 Fb(e,t,i){const l=cr();if(l.firstCreatePass){const x=Si(e);tf(i,l.data,l.blueprint,x,!0),tf(t,l.data,l.blueprint,x,!1)}}(l,x?x(e):e,t)}}let Nb=(()=>{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=Oo(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(Mr(hi))}),t})();function hg(e){ho("NgStandalone"),e.getStandaloneInjector=t=>t.get(Nb).getOrCreateStandaloneInjector(e)}function xg(e,t,i){const l=xi()+e,x=sn();return x[l]===rr?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(),xi(),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(),xi(),e,t,i,l,x)}function kl(e,t){const i=e[t];return i===rr?void 0:i}function gg(e,t,i,l,x,b){const N=t+i;return Ur(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 Wb(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=ti(l.type)),W=Rn(Qs);try{const he=au(!1),we=N();return au(he),function yb(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{Rn(W)}}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[mn].data[t].pure}(x,l)?gg(x,xi(),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 Kg=new Nt(""),Wg=new Nt("");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 KD(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:()=>{Kr.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)(Mr(Kr),Mr(Gg),Mr(Wg))},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 Nt("");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=Vn(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((W,he)=>{N.subscribe({complete:W,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 Nt("");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=Vn(vh),this.afterRenderEffectManager=Vn(yl),this.externalTestViews=new Set,this.beforeRender=new Re.B,this.afterTick=new Re.B,this.componentTypes=[],this.components=[],this.isStable=Vn(na).hasPendingTasks.pipe((0,Se.T)(l=>!l)),this._injector=Vn(hi)}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 W=function WD(e){return e.isBoundToModule}(H)?void 0:this._injector.get(Es),we=H.create(Ti.NULL,[],x||H.selector,W),Oe=we.location.nativeElement,ct=we.injector.get(Kg,null);return null==ct||ct.registerApplication(Oe),we.onDestroy(()=>{this.detachView(we.hostView),mc(this.components,we),null==ct||ct.unregisterApplication(Oe)}),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:W}of this._views)XD(H,N,W)}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[On]|=1024):l=64&e[On]?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=Fi(Gr(l).declarations).reduce((H,W)=>{const he=qn(W);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=Vn(Kr),this.applicationRef=Vn(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=Vn(Kr),t=Vn(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=Vn(Kr),this.pendingTasks=Vn(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(()=>{Kr.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;Kr.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 Nt("",{providedIn:"root",factory:()=>Vn(gc,tn.Optional|tn.SkipSelf)||function iA(){return typeof $localize<"u"&&$localize.locale||ba}()}),oA=new Nt("",{providedIn:"root",factory:()=>"USD"}),gf=new Nt("");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 Kr(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 OC(e,t,i){return new xd(e,t,i)}(l.moduleType,this.injector,function e1(e){return[{provide:Kr,useFactory:e},{provide:ci,multi:!0,useFactory:()=>{const t=Vn(eA,{optional:!0});return()=>t.initialize()}},{provide:ci,multi:!0,useFactory:()=>{const t=Vn(rA);return()=>{t.initialize()}}},{provide:vh,useFactory:tA}]}(()=>b)),H=N.injector.get(Bo,null);return b.runOutsideAngular(()=>{const W=b.onError.subscribe({next:he=>{H.handleError(he)}});N.onDestroy(()=>{mc(this._modules,N),W.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 W=N.injector.get(xf);return W.runInitializers(),W.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)(Mr(Ti))},e.\u0275prov=bn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Jo=null;const r1=new Nt("");function i1(e,t,i=[]){const l=`Platform: ${t}`,x=new Nt(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 Ti.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=Ii(e.index,t);return new pl(l,l)}return 47&e.type?new pl(t[Fr],t):null}(br(),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 _i,new Hr]]}}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 _i,new Hr]]}}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)(Mr(Qo))},e.\u0275mod=es({type:e}),e.\u0275inj=Un({}),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=qn(e),l=t.elementInjector||ko();return new Dl(i).create(l,t.projectableNodes,t.hostElement,t.environmentInjector)}function u3(e){const t=qn(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:(be,ee,E)=>{"use strict";E.d(ee,{BC:()=>ne,VZ:()=>ti,X1:()=>Ei,YN:()=>qo,cz:()=>k,kq:()=>_,vO:()=>pe,vS:()=>xt,zX:()=>_i});var a=E(4438),S=E(177),p=E(6648),O=E(7468),c=E(6354);let D=(()=>{var Ce;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(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)(a.rXU(a.sFG),a.rXU(a.aKT))},Ce.\u0275dir=a.FsC({type:Ce}),ce})(),C=(()=>{var Ce;class ce extends D{}return(Ce=ce).\u0275fac=(()=>{let Ge;return function(ot){return(Ge||(Ge=a.xGo(Ce)))(ot||Ce)}})(),Ce.\u0275dir=a.FsC({type:Ce,features:[a.Vt3]}),ce})();const _=new a.nKC(""),g={provide:_,useExisting:(0,a.Rfq)(()=>B),multi:!0},A=new a.nKC("");let B=(()=>{var Ce;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 Ce=(0,S.QT)()?(0,S.QT)().getUserAgent():"";return/android (\d+)/.test(Ce.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(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(A,8))},Ce.\u0275dir=a.FsC({type:Ce,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(Hn){return ot._handleInput(Hn.target.value)})("blur",function(){return ot.onTouched()})("compositionstart",function(){return ot._compositionStart()})("compositionend",function(Hn){return ot._compositionEnd(Hn.target.value)})},features:[a.Jv_([g]),a.Vt3]}),ce})();function P(Ce){return null==Ce||("string"==typeof Ce||Array.isArray(Ce))&&0===Ce.length}const k=new a.nKC(""),M=new a.nKC("");function o(Ce){return null}function u(Ce){return null!=Ce}function s(Ce){return(0,a.jNT)(Ce)?(0,p.H)(Ce):Ce}function h(Ce){let ce={};return Ce.forEach(Ge=>{ce=null!=Ge?{...ce,...Ge}:ce}),0===Object.keys(ce).length?null:ce}function v(Ce,ce){return ce.map(Ge=>Ge(Ce))}function f(Ce){return Ce.map(ce=>function y(Ce){return!Ce.validate}(ce)?ce:Ge=>ce.validate(Ge))}function d(Ce){return null!=Ce?function r(Ce){if(!Ce)return null;const ce=Ce.filter(u);return 0==ce.length?null:function(Ge){return h(v(Ge,ce))}}(f(Ce)):null}function I(Ce){return null!=Ce?function L(Ce){if(!Ce)return null;const ce=Ce.filter(u);return 0==ce.length?null:function(Ge){const ge=v(Ge,ce).map(s);return(0,O.p)(ge).pipe((0,c.T)(h))}}(f(Ce)):null}function V(Ce,ce){return null===Ce?[ce]:Array.isArray(Ce)?[...Ce,ce]:[Ce,ce]}function me(Ce){return Ce?Array.isArray(Ce)?Ce:[Ce]:[]}function Me(Ce,ce){return Array.isArray(Ce)?Ce.includes(ce):Ce===ce}function Q(Ce,ce){const Ge=me(ce);return me(Ce).forEach(ot=>{Me(Ge,ot)||Ge.push(ot)}),Ge}function ae(Ce,ce){return me(ce).filter(Ge=>!Me(Ce,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 Re 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 Ce;class ce extends Ie{constructor(ge){super(ge)}}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)(a.rXU(pe,2))},Ce.\u0275dir=a.FsC({type:Ce,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",Lt="INVALID",In="PENDING",kt="DISABLED";function _e(Ce){return null!=Ce&&!Array.isArray(Ce)&&"object"==typeof Ce}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===Lt}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 Me(this._rawValidators,ce)}hasAsyncValidator(ce){return Me(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=In,!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===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(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=In,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?Lt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(In)?In:this._anyControlsHaveStatus(Lt)?Lt: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 Ln(Ce){return Array.isArray(Ce)?d(Ce):Ce||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function Le(Ce){return Array.isArray(Ce)?I(Ce):Ce||null}(this._rawAsyncValidators)}}const Je=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>lt}),lt="always";function Ct(Ce,ce,Ge=lt){var ge,ot;(function Ft(Ce,ce){const Ge=function J(Ce){return Ce._rawValidators}(Ce);null!==ce.validator?Ce.setValidators(V(Ge,ce.validator)):"function"==typeof Ge&&Ce.setValidators([Ge]);const ge=function re(Ce){return Ce._rawAsyncValidators}(Ce);null!==ce.asyncValidator?Ce.setAsyncValidators(V(ge,ce.asyncValidator)):"function"==typeof ge&&Ce.setAsyncValidators([ge]);const ot=()=>Ce.updateValueAndValidity();Kt(ce._rawValidators,ot),Kt(ce._rawAsyncValidators,ot)})(Ce,ce),ce.valueAccessor.writeValue(Ce.value),(Ce.disabled||"always"===Ge)&&(null===(ge=(ot=ce.valueAccessor).setDisabledState)||void 0===ge||ge.call(ot,Ce.disabled)),function wn(Ce,ce){ce.valueAccessor.registerOnChange(Ge=>{Ce._pendingValue=Ge,Ce._pendingChange=!0,Ce._pendingDirty=!0,"change"===Ce.updateOn&&bn(Ce,ce)})}(Ce,ce),function zn(Ce,ce){const Ge=(ge,ot)=>{ce.valueAccessor.writeValue(ge),ot&&ce.viewToModelUpdate(ge)};Ce.registerOnChange(Ge),ce._registerOnDestroy(()=>{Ce._unregisterOnChange(Ge)})}(Ce,ce),function _n(Ce,ce){ce.valueAccessor.registerOnTouched(()=>{Ce._pendingTouched=!0,"blur"===Ce.updateOn&&Ce._pendingChange&&bn(Ce,ce),"submit"!==Ce.updateOn&&Ce.markAsTouched()})}(Ce,ce),function Rt(Ce,ce){if(ce.valueAccessor.setDisabledState){const Ge=ge=>{ce.valueAccessor.setDisabledState(ge)};Ce.registerOnDisabledChange(Ge),ce._registerOnDestroy(()=>{Ce._unregisterOnDisabledChange(Ge)})}}(Ce,ce)}function Kt(Ce,ce){Ce.forEach(Ge=>{Ge.registerOnValidatorChange&&Ge.registerOnValidatorChange(ce)})}function bn(Ce,ce){Ce._pendingDirty&&Ce.markAsDirty(),Ce.setValue(Ce._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(Ce._pendingValue),Ce._pendingChange=!1}function Xn(Ce,ce){const Ge=Ce.indexOf(ce);Ge>-1&&Ce.splice(Ge,1)}function pr(Ce){return"object"==typeof Ce&&null!==Ce&&2===Object.keys(Ce).length&&"value"in Ce&&"disabled"in Ce}Promise.resolve();const We=class extends Ze{constructor(ce=null,Ge,ge){super(function Ot(Ce){return(_e(Ce)?Ce.validators:Ce)||null}(Ge),function Ut(Ce,ce){return(_e(ce)?ce.asyncValidators:Ce)||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=pr(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){pr(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}},Ke={provide:pe,useExisting:(0,a.Rfq)(()=>xt)},dt=Promise.resolve();let xt=(()=>{var Ce;class ce extends pe{constructor(ge,ot,vn,Hn,Rr,fi){super(),this._changeDetectorRef=Rr,this.callSetDisabledState=fi,this.control=new We,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=ge,this._setValidators(ot),this._setAsyncValidators(vn),this.valueAccessor=function Nt(Ce,ce){if(!ce)return null;let Ge,ge,ot;return Array.isArray(ce),ce.forEach(vn=>{vn.constructor===B?Ge=vn:function It(Ce){return Object.getPrototypeOf(Ce.constructor)===C}(vn)?ge=vn:ot=vn}),ot||ge||Ge||null}(0,Hn)}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 ut(Ce,ce){if(!Ce.hasOwnProperty("model"))return!1;const Ge=Ce.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(){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 Hn;vn&&!this.control.disabled?this.control.disable():!vn&&this.control.disabled&&this.control.enable(),null===(Hn=this._changeDetectorRef)||void 0===Hn||Hn.markForCheck()})}_getPath(ge){return this._parent?function Qt(Ce,ce){return[...ce.path,Ce]}(ge,this._parent):[ge]}}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)(a.rXU(Re,9),a.rXU(k,10),a.rXU(M,10),a.rXU(_,10),a.rXU(a.gRc,8),a.rXU(Je,8))},Ce.\u0275dir=a.FsC({type:Ce,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_([Ke]),a.Vt3,a.OA$]}),ce})();const Rn=new a.nKC("");function Zi(Ce){return"number"==typeof Ce?Ce:parseFloat(Ce)}let Hr=(()=>{var Ce;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(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)},Ce.\u0275dir=a.FsC({type:Ce,features:[a.OA$]}),ce})();const wi={provide:k,useExisting:(0,a.Rfq)(()=>_i),multi:!0};let _i=(()=>{var Ce;class ce extends Hr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ge=>Zi(ge),this.createValidator=ge=>function K(Ce){return ce=>{if(P(ce.value)||P(Ce))return null;const Ge=parseFloat(ce.value);return!isNaN(Ge)&&Ge>Ce?{max:{max:Ce,actual:ce.value}}:null}}(ge)}}return(Ce=ce).\u0275fac=(()=>{let Ge;return function(ot){return(Ge||(Ge=a.xGo(Ce)))(ot||Ce)}})(),Ce.\u0275dir=a.FsC({type:Ce,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_([wi]),a.Vt3]}),ce})();const Fo={provide:k,useExisting:(0,a.Rfq)(()=>ti),multi:!0};let ti=(()=>{var Ce;class ce extends Hr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ge=>Zi(ge),this.createValidator=ge=>function j(Ce){return ce=>{if(P(ce.value)||P(Ce))return null;const Ge=parseFloat(ce.value);return!isNaN(Ge)&&Ge{let Ge;return function(ot){return(Ge||(Ge=a.xGo(Ce)))(ot||Ce)}})(),Ce.\u0275dir=a.FsC({type:Ce,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})(),dr=(()=>{var Ce;class ce{}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)},Ce.\u0275mod=a.$C({type:Ce}),Ce.\u0275inj=a.G2t({}),ce})(),qo=(()=>{var Ce;class ce{static withConfig(ge){var ot;return{ngModule:ce,providers:[{provide:Je,useValue:null!==(ot=ge.callSetDisabledState)&&void 0!==ot?ot:lt}]}}}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)},Ce.\u0275mod=a.$C({type:Ce}),Ce.\u0275inj=a.G2t({imports:[dr]}),ce})(),Ei=(()=>{var Ce;class ce{static withConfig(ge){var ot,vn;return{ngModule:ce,providers:[{provide:Rn,useValue:null!==(ot=ge.warnOnNgModelWithFormControl)&&void 0!==ot?ot:"always"},{provide:Je,useValue:null!==(vn=ge.callSetDisabledState)&&void 0!==vn?vn:lt}]}}}return(Ce=ce).\u0275fac=function(ge){return new(ge||Ce)},Ce.\u0275mod=a.$C({type:Ce}),Ce.\u0275inj=a.G2t({imports:[dr]}),ce})()},345:(be,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 O extends p{static makeCurrent(){(0,S.ZD)(new O)}onAndCancel(_e,De,Ae){return _e.addEventListener(De,Ae),()=>{_e.removeEventListener(De,Ae)}}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(Le){return new URL(Le,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 Le;class _e{build(){return new XMLHttpRequest}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac}),_e})();const w=new a.nKC("");let g=(()=>{var Le;class _e{constructor(Ae,Ze){this._zone=Ze,this._eventNameToPlugin=new Map,Ae.forEach(Ue=>{Ue.manager=this}),this._plugins=Ae.slice().reverse()}addEventListener(Ae,Ze,Ue){return this._findPluginFor(Ze).addEventListener(Ae,Ze,Ue)}getZone(){return this._zone}_findPluginFor(Ae){let Ze=this._eventNameToPlugin.get(Ae);if(Ze)return Ze;if(Ze=this._plugins.find(it=>it.supports(Ae)),!Ze)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(Ae,Ze),Ze}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(w),a.KVO(a.SKi))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac}),_e})();class F{constructor(_e){this._doc=_e}}const A="ng-app-id";let B=(()=>{var Le;class _e{constructor(Ae,Ze,Ue,it={}){this.doc=Ae,this.appId=Ze,this.nonce=Ue,this.platformId=it,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,S.Vy)(it),this.resetHostNodes()}addStyles(Ae){for(const Ze of Ae)1===this.changeUsageCount(Ze,1)&&this.onStyleAdded(Ze)}removeStyles(Ae){for(const Ze of Ae)this.changeUsageCount(Ze,-1)<=0&&this.onStyleRemoved(Ze)}ngOnDestroy(){const Ae=this.styleNodesInDOM;Ae&&(Ae.forEach(Ze=>Ze.remove()),Ae.clear());for(const Ze of this.getAllStyles())this.onStyleRemoved(Ze);this.resetHostNodes()}addHost(Ae){this.hostNodes.add(Ae);for(const Ze of this.getAllStyles())this.addStyleToHost(Ae,Ze)}removeHost(Ae){this.hostNodes.delete(Ae)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ae){for(const Ze of this.hostNodes)this.addStyleToHost(Ze,Ae)}onStyleRemoved(Ae){var Ze;const Ue=this.styleRef;null===(Ze=Ue.get(Ae))||void 0===Ze||null===(Ze=Ze.elements)||void 0===Ze||Ze.forEach(it=>it.remove()),Ue.delete(Ae)}collectServerRenderedStyles(){var Ae;const Ze=null===(Ae=this.doc.head)||void 0===Ae?void 0:Ae.querySelectorAll(`style[${A}="${this.appId}"]`);if(null!=Ze&&Ze.length){const Ue=new Map;return Ze.forEach(it=>{null!=it.textContent&&Ue.set(it.textContent,it)}),Ue}return null}changeUsageCount(Ae,Ze){const Ue=this.styleRef;if(Ue.has(Ae)){const it=Ue.get(Ae);return it.usage+=Ze,it.usage}return Ue.set(Ae,{usage:Ze,elements:[]}),Ze}getStyleElement(Ae,Ze){const Ue=this.styleNodesInDOM,it=null==Ue?void 0:Ue.get(Ze);if((null==it?void 0:it.parentNode)===Ae)return Ue.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),Ae.appendChild(Pe),Pe}}addStyleToHost(Ae,Ze){var Ue;const it=this.getStyleElement(Ae,Ze),Pe=this.styleRef,Be=null===(Ue=Pe.get(Ze))||void 0===Ue?void 0:Ue.elements;Be?Be.push(it):Pe.set(Ze,{elements:[it],usage:1})}resetHostNodes(){const Ae=this.hostNodes;Ae.clear(),Ae.add(this.doc.head)}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\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}`,R=`_ngcontent-${k}`,j=new a.nKC("",{providedIn:"root",factory:()=>!0});function ve(Le,_e){return _e.map(De=>De.replace($,Le))}let te=(()=>{var Le;class _e{constructor(Ae,Ze,Ue,it,Pe,Be,Ve,yt=null){this.eventManager=Ae,this.sharedStylesHost=Ze,this.appId=Ue,this.removeStylesOnCompDestroy=it,this.doc=Pe,this.platformId=Be,this.ngZone=Ve,this.nonce=yt,this.rendererByCompId=new Map,this.platformIsServer=(0,S.Vy)(Be),this.defaultRenderer=new se(Ae,Pe,Ve,this.platformIsServer)}createRenderer(Ae,Ze){if(!Ae||!Ze)return this.defaultRenderer;this.platformIsServer&&Ze.encapsulation===a.gXe.ShadowDom&&(Ze={...Ze,encapsulation:a.gXe.Emulated});const Ue=this.getOrCreateRenderer(Ae,Ze);return Ue instanceof h?Ue.applyToHost(Ae):Ue instanceof s&&Ue.applyStyles(),Ue}getOrCreateRenderer(Ae,Ze){const Ue=this.rendererByCompId;let it=Ue.get(Ze.id);if(!it){const Pe=this.doc,Be=this.ngZone,Ve=this.eventManager,yt=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,lt=this.platformIsServer;switch(Ze.encapsulation){case a.gXe.Emulated:it=new h(Ve,yt,Ze,this.appId,Je,Pe,Be,lt);break;case a.gXe.ShadowDom:return new u(Ve,yt,Ae,Ze,Pe,Be,this.nonce,lt);default:it=new s(Ve,yt,Ze,Je,Pe,Be,lt)}Ue.set(Ze.id,it)}return it}ngOnDestroy(){this.rendererByCompId.clear()}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(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))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac}),_e})();class se{constructor(_e,De,Ae,Ze){this.eventManager=_e,this.doc=De,this.ngZone=Ae,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,Ae){_e&&(o(_e)?_e.content:_e).insertBefore(De,Ae)}removeChild(_e,De){_e&&_e.removeChild(De)}selectRootElement(_e,De){let Ae="string"==typeof _e?this.doc.querySelector(_e):_e;if(!Ae)throw new a.wOt(-5104,!1);return De||(Ae.textContent=""),Ae}parentNode(_e){return _e.parentNode}nextSibling(_e){return _e.nextSibling}setAttribute(_e,De,Ae,Ze){if(Ze){De=Ze+":"+De;const Ue=P[Ze];Ue?_e.setAttributeNS(Ue,De,Ae):_e.setAttribute(De,Ae)}else _e.setAttribute(De,Ae)}removeAttribute(_e,De,Ae){if(Ae){const Ze=P[Ae];Ze?_e.removeAttributeNS(Ze,De):_e.removeAttribute(`${Ae}:${De}`)}else _e.removeAttribute(De)}addClass(_e,De){_e.classList.add(De)}removeClass(_e,De){_e.classList.remove(De)}setStyle(_e,De,Ae,Ze){Ze&(a.czy.DashCase|a.czy.Important)?_e.style.setProperty(De,Ae,Ze&a.czy.Important?"important":""):_e.style[De]=Ae}removeStyle(_e,De,Ae){Ae&a.czy.DashCase?_e.style.removeProperty(De):_e.style[De]=""}setProperty(_e,De,Ae){null!=_e&&(_e[De]=Ae)}setValue(_e,De){_e.nodeValue=De}listen(_e,De,Ae){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(Ae))}decoratePreventDefault(_e){return De=>{if("__ngUnwrap__"===De)return _e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>_e(De)):_e(De))&&De.preventDefault()}}}function o(Le){return"TEMPLATE"===Le.tagName&&void 0!==Le.content}class u extends se{constructor(_e,De,Ae,Ze,Ue,it,Pe,Be){super(_e,Ue,it,Be),this.sharedStylesHost=De,this.hostEl=Ae,this.shadowRoot=Ae.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ve=ve(Ze.id,Ze.styles);for(const yt of Ve){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,Ae){return super.insertBefore(this.nodeOrShadowRoot(_e),De,Ae)}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,Ae,Ze,Ue,it,Pe,Be){super(_e,Ue,it,Pe),this.sharedStylesHost=De,this.removeStylesOnCompDestroy=Ze,this.styles=Be?ve(Be,Ae.styles):Ae.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class h extends s{constructor(_e,De,Ae,Ze,Ue,it,Pe,Be){const Ve=Ze+"-"+Ae.id;super(_e,De,Ae,Ue,it,Pe,Be,Ve),this.contentAttr=function K(Le){return R.replace($,Le)}(Ve),this.hostAttr=function oe(Le){return M.replace($,Le)}(Ve)}applyToHost(_e){this.applyStyles(),this.setAttribute(_e,this.hostAttr,"")}createElement(_e,De){const Ae=super.createElement(_e,De);return super.setAttribute(Ae,this.contentAttr,""),Ae}}let v=(()=>{var Le;class _e extends F{constructor(Ae){super(Ae)}supports(Ae){return!0}addEventListener(Ae,Ze,Ue){return Ae.addEventListener(Ze,Ue,!1),()=>this.removeEventListener(Ae,Ze,Ue)}removeEventListener(Ae,Ze,Ue){return Ae.removeEventListener(Ze,Ue)}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\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:Le=>Le.altKey,control:Le=>Le.ctrlKey,meta:Le=>Le.metaKey,shift:Le=>Le.shiftKey};let d=(()=>{var Le;class _e extends F{constructor(Ae){super(Ae)}supports(Ae){return null!=_e.parseEventName(Ae)}addEventListener(Ae,Ze,Ue){const it=_e.parseEventName(Ze),Pe=_e.eventCallback(it.fullKey,Ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,S.QT)().onAndCancel(Ae,it.domEventName,Pe))}static parseEventName(Ae){const Ze=Ae.toLowerCase().split("."),Ue=Ze.shift();if(0===Ze.length||"keydown"!==Ue&&"keyup"!==Ue)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 Ve={};return Ve.domEventName=Ue,Ve.fullKey=Pe,Ve}static matchEventFullKeyCode(Ae,Ze){let Ue=f[Ae.key]||Ae.key,it="";return Ze.indexOf("code.")>-1&&(Ue=Ae.code,it="code."),!(null==Ue||!Ue)&&(Ue=Ue.toLowerCase()," "===Ue?Ue="space":"."===Ue&&(Ue="dot"),y.forEach(Pe=>{Pe!==Ue&&(0,r[Pe])(Ae)&&(it+=Pe+".")}),it+=Ue,it===Ze)}static eventCallback(Ae,Ze,Ue){return it=>{_e.matchEventFullKeyCode(it,Ae)&&Ue.runGuarded(()=>Ze(it))}}static _normalizeKey(Ae){return"esc"===Ae?"escape":Ae}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac}),_e})();const ae=(0,a.oH4)(a.fpN,"browser",[{provide:a.Agw,useValue:S.AJ},{provide:a.PLl,useValue:function re(){O.makeCurrent()},multi:!0},{provide:S.qQ,useFactory:function Me(){return(0,a.TL$)(document),document},deps:[]}]),tt=new a.nKC(""),Re=[{provide:a.e01,useClass:class _{addToWindow(_e){a.JZv.getAngularTestability=(Ae,Ze=!0)=>{const Ue=_e.findTestabilityInTree(Ae,Ze);if(null==Ue)throw new a.wOt(5103,!1);return Ue},a.JZv.getAllAngularTestabilities=()=>_e.getAllTestabilities(),a.JZv.getAllAngularRootElements=()=>_e.getAllRootElements(),a.JZv.frameworkStabilizers||(a.JZv.frameworkStabilizers=[]),a.JZv.frameworkStabilizers.push(Ae=>{const Ze=a.JZv.getAllAngularTestabilities();let Ue=Ze.length;const it=function(){Ue--,0==Ue&&Ae()};Ze.forEach(Pe=>{Pe.whenStable(it)})})}findTestabilityInTree(_e,De,Ae){if(null==De)return null;const Ze=_e.getTestability(De);return null!=Ze?Ze:Ae?(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 me(){return new a.zcH},deps:[]},{provide:w,useClass:v,multi:!0,deps:[S.qQ,a.SKi,a.Agw]},{provide:w,useClass:d,multi:!0,deps:[S.qQ]},te,B,g,{provide:a._9s,useExisting:te},{provide:S.N0,useClass:T,deps:[]},[]];let Ie=(()=>{var Le;class _e{constructor(Ae){}static withServerTransition(Ae){return{ngModule:_e,providers:[{provide:a.sZ2,useValue:Ae.appId}]}}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(tt,12))},Le.\u0275mod=a.$C({type:Le}),Le.\u0275inj=a.G2t({providers:[...pe,...Re],imports:[S.MD,a.Hbi]}),_e})(),ne=(()=>{var Le;class _e{constructor(Ae){this._doc=Ae}getTitle(){return this._doc.title}setTitle(Ae){this._doc.title=Ae||""}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),_e})(),yn=(()=>{var Le;class _e{}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)},Le.\u0275prov=a.jDH({token:Le,factory:function(Ae){let Ze=null;return Ze=Ae?new(Ae||Le):a.KVO(Dt),Ze},providedIn:"root"}),_e})(),Dt=(()=>{var Le;class _e extends yn{constructor(Ae){super(),this._doc=Ae}sanitize(Ae,Ze){if(null==Ze)return null;switch(Ae){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(Ae){return(0,a.Kcf)(Ae)}bypassSecurityTrustStyle(Ae){return(0,a.cWb)(Ae)}bypassSecurityTrustScript(Ae){return(0,a.UyX)(Ae)}bypassSecurityTrustUrl(Ae){return(0,a.osQ)(Ae)}bypassSecurityTrustResourceUrl(Ae){return(0,a.e5t)(Ae)}}return(Le=_e).\u0275fac=function(Ae){return new(Ae||Le)(a.KVO(S.qQ))},Le.\u0275prov=a.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),_e})()},3021:(be,ee,E)=>{"use strict";E.d(ee,{nX:()=>oi,Zp:()=>$e,Z:()=>Te,Xk:()=>tt,Kp:()=>Bi,b:()=>Yn,Ix:()=>ir,Wk:()=>Tr,iI:()=>$a,Sd:()=>Lt});var a=E(467),S=E(4438),p=E(4402),O=E(6648),c=E(7673),D=E(4412),C=E(4572),_=E(9350),T=E(8793),w=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),R=E(5558),U=E(6697),j=E(9326),K=E(9974),ve=E(5964),te=E(3028),se=E(4360);function m(z){return(0,K.N)((q,ue)=>{let Z=!1;q.subscribe((0,se._)(ue,fe=>{Z=!0,ue.next(fe)},()=>{Z||ue.next(z),ue.complete()}))})}function n(z=o){return(0,K.N)((q,ue)=>{let Z=!1;q.subscribe((0,se._)(ue,fe=>{Z=!0,ue.next(fe)},()=>Z?ue.complete():ue.error(z())))})}function o(){return new _.G}var u=E(3669);function s(z,q){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,ve.p)((fe,ke)=>z(fe,ke,Z)):u.D,(0,U.s)(1),ue?m(q):n(()=>new _.G))}var h=E(274),v=E(8141),y=E(9437),f=E(6649);function d(z){return z<=0?()=>A.w:(0,K.N)((q,ue)=>{let Z=[];q.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),J=E(9898),re=E(8750),me=E(5343),Q=E(6365),ae=E(345);const tt="primary",Re=Symbol("RouteTitle");class pe{constructor(q){this.params=q||{}}has(q){return Object.prototype.hasOwnProperty.call(this.params,q)}get(q){if(this.has(q)){const ue=this.params[q];return Array.isArray(ue)?ue[0]:ue}return null}getAll(q){if(this.has(q)){const ue=this.params[q];return Array.isArray(ue)?ue:[ue]}return[]}get keys(){return Object.keys(this.params)}}function Ie(z){return new pe(z)}function Se(z,q,ue){const Z=ue.path.split("/");if(Z.length>z.length||"full"===ue.pathMatch&&(q.hasChildren()||Z.lengthZ[ke]===fe)}return z===q}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,O.H)(Promise.resolve(z)):(0,c.of)(z)}const rt={exact:function on(z,q,ue){if(!Cn(z.segments,q.segments)||!St(z.segments,q.segments,ue)||z.numberOfChildren!==q.numberOfChildren)return!1;for(const Z in q.children)if(!z.children[Z]||!on(z.children[Z],q.children[Z],ue))return!1;return!0},subset:Pt},nn={exact:function ft(z,q){return ne(z,q)},subset:function wt(z,q){return Object.keys(q).length<=Object.keys(z).length&&Object.keys(q).every(ue=>Ee(z[ue],q[ue]))},ignored:()=>!0};function gt(z,q,ue){return rt[ue.paths](z.root,q.root,ue.matrixParams)&&nn[ue.queryParams](z.queryParams,q.queryParams)&&!("exact"===ue.fragment&&z.fragment!==q.fragment)}function Pt(z,q,ue){return En(z,q,q.segments,ue)}function En(z,q,ue,Z){if(z.segments.length>ue.length){const fe=z.segments.slice(0,ue.length);return!(!Cn(fe,ue)||q.hasChildren()||!St(fe,ue,Z))}if(z.segments.length===ue.length){if(!Cn(z.segments,ue)||!St(z.segments,ue,Z))return!1;for(const fe in q.children)if(!z.children[fe]||!Pt(z.children[fe],q.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)&&St(z.segments,fe,Z)&&z.children[tt])&&En(z.children[tt],q,ke,Z)}}function St(z,q,ue){return q.every((Z,fe)=>nn[ue](z[fe].parameters,Z.parameters))}class Tt{constructor(q=new yn([],{}),ue={},Z=null){this.root=q,this.queryParams=ue,this.fragment=Z}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(this._queryParamMap=Ie(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class yn{constructor(q,ue){this.segments=q,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 Ot(this)}}class Dt{constructor(q,ue){this.path=q,this.parameters=ue}get parameterMap(){var q;return null!==(q=this._parameterMap)&&void 0!==q||(this._parameterMap=Ie(this.parameters)),this._parameterMap}toString(){return Ue(this)}}function Cn(z,q){return z.length===q.length&&z.every((ue,Z)=>ue.path===q[Z].path)}let Lt=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>new In,providedIn:"root"}),q})();class In{parse(q){const ue=new Kt(q);return new Tt(ue.parseRootSegment(),ue.parseQueryParams(),ue.parseFragment())}serialize(q){const ue=`/${Ln(q.root,!0)}`,Z=function Pe(z){const q=Object.entries(z).map(([ue,Z])=>Array.isArray(Z)?Z.map(fe=>`${Le(ue)}=${Le(fe)}`).join("&"):`${Le(ue)}=${Le(Z)}`).filter(ue=>ue);return q.length?`?${q.join("&")}`:""}(q.queryParams);return`${ue}${Z}${"string"==typeof q.fragment?`#${function _e(z){return encodeURI(z)}(q.fragment)}`:""}`}}const kt=new In;function Ot(z){return z.segments.map(q=>Ue(q)).join("/")}function Ln(z,q){if(!z.hasChildren())return Ot(z);if(q){const ue=z.children[tt]?Ln(z.children[tt],!1):"",Z=[];return Object.entries(z.children).forEach(([fe,ke])=>{fe!==tt&&Z.push(`${fe}:${Ln(ke,!1)}`)}),Z.length>0?`${ue}(${Z.join("//")})`:ue}{const ue=function st(z,q){let ue=[];return Object.entries(z.children).forEach(([Z,fe])=>{Z===tt&&(ue=ue.concat(q(fe,Z)))}),Object.entries(z.children).forEach(([Z,fe])=>{Z!==tt&&(ue=ue.concat(q(fe,Z)))}),ue}(z,(Z,fe)=>fe===tt?[Ln(z.children[tt],!1)]:[`${fe}:${Ln(Z,!1)}`]);return 1===Object.keys(z.children).length&&null!=z.children[tt]?`${Ot(z)}/${ue[0]}`:`${Ot(z)}/(${ue.join("//")})`}}function Ut(z){return encodeURIComponent(z).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Le(z){return Ut(z).replace(/%3B/gi,";")}function De(z){return Ut(z).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ae(z){return decodeURIComponent(z)}function Ze(z){return Ae(z.replace(/\+/g,"%20"))}function Ue(z){return`${De(z.path)}${function it(z){return Object.entries(z).map(([q,ue])=>`;${De(q)}=${De(ue)}`).join("")}(z.parameters)}`}const Be=/^[^\/()?;#]+/;function Ve(z){const q=z.match(Be);return q?q[0]:""}const yt=/^[^\/()?;=#]+/,lt=/^[^=?&#]+/,Ct=/^[^&#]+/;class Kt{constructor(q){this.url=q,this.remaining=q}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yn([],{}):new yn([],this.parseChildren())}parseQueryParams(){const q={};if(this.consumeOptional("?"))do{this.parseQueryParam(q)}while(this.consumeOptional("&"));return q}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const q=[];for(this.peekStartsWith("(")||q.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),q.push(this.parseSegment());let ue={};this.peekStartsWith("/(")&&(this.capture("/"),ue=this.parseParens(!0));let Z={};return this.peekStartsWith("(")&&(Z=this.parseParens(!1)),(q.length>0||Object.keys(ue).length>0)&&(Z[tt]=new yn(q,ue)),Z}parseSegment(){const q=Ve(this.remaining);if(""===q&&this.peekStartsWith(";"))throw new S.wOt(4009,!1);return this.capture(q),new Dt(Ae(q),this.parseMatrixParams())}parseMatrixParams(){const q={};for(;this.consumeOptional(";");)this.parseParam(q);return q}parseParam(q){const ue=function Je(z){const q=z.match(yt);return q?q[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const fe=Ve(this.remaining);fe&&(Z=fe,this.capture(Z))}q[Ae(ue)]=Ae(Z)}parseQueryParam(q){const ue=function Qt(z){const q=z.match(lt);return q?q[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const nt=function mt(z){const q=z.match(Ct);return q?q[0]:""}(this.remaining);nt&&(Z=nt,this.capture(Z))}const fe=Ze(ue),ke=Ze(Z);if(q.hasOwnProperty(fe)){let nt=q[fe];Array.isArray(nt)||(nt=[nt],q[fe]=nt),nt.push(ke)}else q[fe]=ke}parseParens(q){const ue={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Z=Ve(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(":")):q&&(ke=tt);const nt=this.parseChildren();ue[ke]=1===Object.keys(nt).length?nt[tt]:new yn([],nt),this.consumeOptional("//")}return ue}peekStartsWith(q){return this.remaining.startsWith(q)}consumeOptional(q){return!!this.peekStartsWith(q)&&(this.remaining=this.remaining.substring(q.length),!0)}capture(q){if(!this.consumeOptional(q))throw new S.wOt(4011,!1)}}function Rt(z){return z.segments.length>0?new yn([],{[tt]:z}):z}function Ft(z){const q={};for(const[Z,fe]of Object.entries(z.children)){const ke=Ft(fe);if(Z===tt&&0===ke.segments.length&&ke.hasChildren())for(const[nt,jt]of Object.entries(ke.children))q[nt]=jt;else(ke.segments.length>0||ke.hasChildren())&&(q[Z]=ke)}return function Pn(z){if(1===z.numberOfChildren&&z.children[tt]){const q=z.children[tt];return new yn(z.segments.concat(q.segments),q.children)}return z}(new yn(z.segments,q))}function wn(z){return z instanceof Tt}function bn(z){var q;let ue;const ke=Rt(function Z(nt){const jt={};for(const Gt of nt.children){const Sn=Z(Gt);jt[Gt.outlet]=Sn}const cn=new yn(nt.url,jt);return nt===z&&(ue=cn),cn}(z.root));return null!==(q=ue)&&void 0!==q?q:ke}function zn(z,q,ue,Z){let fe=z;for(;fe.parent;)fe=fe.parent;if(0===q.length)return kn(fe,fe,fe,ue,Z);const ke=function jn(z){if("string"==typeof z[0]&&1===z.length&&"/"===z[0])return new $n(!0,0,z);let q=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?q++:""!=jt&&fe.push(jt))}),fe):[...fe,ke]},[]);return new $n(ue,q,Z)}(q);if(ke.toRoot())return kn(fe,fe,new yn([],{}),ue,Z);const nt=function ut(z,q,ue){if(z.isAbsolute)return new je(q,!0,0);if(!ue)return new je(q,!1,NaN);if(null===ue.parent)return new je(ue,!0,0);const Z=Un(z.commands[0])?0:1;return function It(z,q,ue){let Z=z,fe=q,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?Zt(nt.segmentGroup,nt.index,ke.commands):Nt(nt.segmentGroup,nt.index,ke.commands);return kn(fe,nt.segmentGroup,jt,ue,Z)}function Un(z){return"object"==typeof z&&null!=z&&!z.outlets&&!z.segmentPath}function Fn(z){return"object"==typeof z&&null!=z&&z.outlets}function kn(z,q,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===q?ue:Kn(z,q,ue);const jt=Rt(Ft(nt));return new Tt(jt,ke,fe)}function Kn(z,q,ue){const Z={};return Object.entries(z.children).forEach(([fe,ke])=>{Z[fe]=ke===q?ue:Kn(ke,q,ue)}),new yn(z.segments,Z)}class $n{constructor(q,ue,Z){if(this.isAbsolute=q,this.numberOfDoubleDots=ue,this.commands=Z,q&&Z.length>0&&Un(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 je{constructor(q,ue,Z){this.segmentGroup=q,this.processChildren=ue,this.index=Z}}function Nt(z,q,ue){var Z;if(null!==(Z=z)&&void 0!==Z||(z=new yn([],{})),0===z.segments.length&&z.hasChildren())return Zt(z,q,ue);const fe=function qt(z,q,ue){let Z=0,fe=q;const ke={match:!1,pathIndex:0,commandIndex:0};for(;fe=ue.length)return ke;const nt=z.segments[fe],jt=ue[Z];if(Fn(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,q,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=Zt(z.children[tt],q,ue);return new yn(z.segments,ke.children)}return Object.entries(Z).forEach(([ke,nt])=>{"string"==typeof nt&&(nt=[nt]),null!==nt&&(fe[ke]=Nt(z.children[ke],q,nt))}),Object.entries(z.children).forEach(([ke,nt])=>{void 0===Z[ke]&&(fe[ke]=nt)}),new yn(z.segments,fe)}}function Yt(z,q,ue){const Z=z.segments.slice(0,q);let fe=0;for(;fe{"string"==typeof Z&&(Z=[Z]),null!==Z&&(q[ue]=Yt(new yn([],{}),0,Z))}),q}function An(z){const q={};return Object.entries(z).forEach(([ue,Z])=>q[ue]=`${Z}`),q}function Xn(z,q,ue){return z==ue.path&&ne(q,ue.parameters)}const pr="imperative";var We=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}(We||{});class et{constructor(q,ue){this.id=q,this.url=ue}}class Te extends et{constructor(q,ue,Z="imperative",fe=null){super(q,ue),this.type=We.NavigationStart,this.navigationTrigger=Z,this.restoredState=fe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qe extends et{constructor(q,ue,Z){super(q,ue),this.urlAfterRedirects=Z,this.type=We.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||{}),Wt=function(z){return z[z.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",z[z.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",z}(Wt||{});class hn extends et{constructor(q,ue,Z,fe){super(q,ue),this.reason=Z,this.code=fe,this.type=We.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Et extends et{constructor(q,ue,Z,fe){super(q,ue),this.reason=Z,this.code=fe,this.type=We.NavigationSkipped}}class zt extends et{constructor(q,ue,Z,fe){super(q,ue),this.error=Z,this.target=fe,this.type=We.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ye extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=We.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ke extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=We.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt extends et{constructor(q,ue,Z,fe,ke){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.shouldActivate=ke,this.type=We.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xt extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=We.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xt extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=We.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $t{constructor(q){this.route=q,this.type=We.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class an{constructor(q){this.route=q,this.type=We.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ln{constructor(q){this.snapshot=q,this.type=We.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(q){this.snapshot=q,this.type=We.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class un{constructor(q){this.snapshot=q,this.type=We.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tn{constructor(q){this.snapshot=q,this.type=We.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mn{constructor(q,ue,Z){this.routerEvent=q,this.position=ue,this.anchor=Z,this.type=We.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Bn{}class Rn{constructor(q){this.url=q}}class X{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new $e,this.attachRef=null}}let $e=(()=>{var z;class q{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=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();class le{constructor(q){this._root=q}get root(){return this._root.value}parent(q){const ue=this.pathFromRoot(q);return ue.length>1?ue[ue.length-2]:null}children(q){const ue=Xe(q,this._root);return ue?ue.children.map(Z=>Z.value):[]}firstChild(q){const ue=Xe(q,this._root);return ue&&ue.children.length>0?ue.children[0].value:null}siblings(q){const ue=_t(q,this._root);return ue.length<2?[]:ue[ue.length-2].children.map(fe=>fe.value).filter(fe=>fe!==q)}pathFromRoot(q){return _t(q,this._root).map(ue=>ue.value)}}function Xe(z,q){if(z===q.value)return q;for(const ue of q.children){const Z=Xe(z,ue);if(Z)return Z}return null}function _t(z,q){if(z===q.value)return[q];for(const ue of q.children){const Z=_t(z,ue);if(Z.length)return Z.unshift(q),Z}return[]}class Nn{constructor(q,ue){this.value=q,this.children=ue}toString(){return`TreeNode(${this.value})`}}function vr(z){const q={};return z&&z.children.forEach(ue=>q[ue.value.outlet]=ue),q}class Br extends le{constructor(q,ue){super(q),this.snapshot=ue,mi(this,q)}toString(){return this.snapshot.toString()}}function ei(z){const q=function Jr(z){const ke=new Ui([],{},{},"",{},tt,z,null,{});return new Mr("",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,q.root);return jt.snapshot=q.root,new Br(new Nn(jt,[]),q)}class oi{constructor(q,ue,Z,fe,ke,nt,jt,cn){var Gt,Sn;this.urlSubject=q,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===(Sn=this.dataSubject)||void 0===Sn?void 0:Sn.pipe((0,M.T)(Jn=>Jn[Re])))&&void 0!==Gt?Gt:(0,c.of)(void 0),this.url=q,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 q;return null!==(q=this._paramMap)&&void 0!==q||(this._paramMap=this.params.pipe((0,M.T)(ue=>Ie(ue)))),this._paramMap}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(this._queryParamMap=this.queryParams.pipe((0,M.T)(ue=>Ie(ue)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wr(z,q,ue="emptyOnly"){var Z;let fe;const{routeConfig:ke}=z;var nt;return fe=null===q||"always"!==ue&&""!==(null==ke?void 0:ke.path)&&(q.component||null!==(Z=q.routeConfig)&&void 0!==Z&&Z.loadComponent)?{params:{...z.params},data:{...z.data},resolve:{...z.data,...null!==(nt=z._resolvedData)&&void 0!==nt?nt:{}}}:{params:{...q.params,...z.params},data:{...q.data,...z.data},resolve:{...z.data,...q.data,...null==ke?void 0:ke.data,...z._resolvedData}},ke&&Di(ke)&&(fe.resolve[Re]=ke.title),fe}class Ui{get title(){var q;return null===(q=this.data)||void 0===q?void 0:q[Re]}constructor(q,ue,Z,fe,ke,nt,jt,cn,Gt){this.url=q,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 q;return null!==(q=this._paramMap)&&void 0!==q||(this._paramMap=Ie(this.params)),this._paramMap}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(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 Mr extends le{constructor(q,ue){super(ue),this.url=q,mi(this,ue)}toString(){return Vn(this._root)}}function mi(z,q){q.value._routerState=z,q.children.forEach(ue=>mi(z,ue))}function Vn(z){const q=z.children.length>0?` { ${z.children.map(Vn).join(", ")} } `:"";return`${z.value}${q}`}function gi(z){if(z.snapshot){const q=z.snapshot,ue=z._futureSnapshot;z.snapshot=ue,ne(q.queryParams,ue.queryParams)||z.queryParamsSubject.next(ue.queryParams),q.fragment!==ue.fragment&&z.fragmentSubject.next(ue.fragment),ne(q.params,ue.params)||z.paramsSubject.next(ue.params),function ie(z,q){if(z.length!==q.length)return!1;for(let ue=0;uene(ue.parameters,q[Z].parameters))}(z.url,q.url);return ue&&!(!z.parent!=!q.parent)&&(!z.parent||Ri(z.parent,q.parent))}function Di(z){return"string"==typeof z.title||null===z.title}let Ai=(()=>{var z;class q{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)($e),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,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=q).\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$]}),q})();class Vi{__ngOutletInjector(q){return new Vi(this.route,this.childContexts,q)}constructor(q,ue,Z){this.route=q,this.childContexts=ue,this.parent=Z}get(q,ue){return q===oi?this.route:q===$e?this.childContexts:this.parent.get(q,ue)}}const Mi=new S.nKC("");let Zi=(()=>{var z;class q{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,R.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=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac}),q})();function wi(z,q,ue){if(ue&&z.shouldReuseRoute(q.value,ue.value.snapshot)){const Z=ue.value;Z._futureSnapshot=q.value;const fe=function _i(z,q,ue){return q.children.map(Z=>{for(const fe of ue.children)if(z.shouldReuseRoute(Z.value,fe.value.snapshot))return wi(z,Z,fe);return wi(z,Z)})}(z,q,ue);return new Nn(Z,fe)}{if(z.shouldAttach(q.value)){const ke=z.retrieve(q.value);if(null!==ke){const nt=ke.route;return nt.value._futureSnapshot=q.value,nt.children=q.children.map(jt=>wi(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)}(q.value),fe=q.children.map(ke=>wi(z,ke));return new Nn(Z,fe)}}const ti="ngNavigationCancelingError";function Qi(z,q){const{redirectTo:ue,navigationBehaviorOptions:Z}=wn(q)?{redirectTo:q,navigationBehaviorOptions:void 0}:q,fe=Pr(!1,bt.Redirect);return fe.url=ue,fe.navigationBehaviorOptions=Z,fe}function Pr(z,q){const ue=new Error(`NavigationCancelingError: ${z||""}`);return ue[ti]=!0,ue.cancellationCode=q,ue}function He(z){return!!z&&z[ti]}let Ne=(()=>{var z;class q{}return(z=q).\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}),q})();function Er(z){const q=z.children&&z.children.map(Er),ue=q?{...z,children:q}:{...z};return!ue.component&&!ue.loadComponent&&(q||ue.loadChildren)&&ue.outlet&&ue.outlet!==tt&&(ue.component=Ne),ue}function dr(z){return z.outlet||tt}function ci(z){var q;if(!z)return null;if(null!==(q=z.routeConfig)&&void 0!==q&&q._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(q,ue,Z,fe,ke){this.routeReuseStrategy=q,this.futureState=ue,this.currState=Z,this.forwardEvent=fe,this.inputBindingEnabled=ke}activate(q){const ue=this.futureState._root,Z=this.currState?this.currState._root:null;this.deactivateChildRoutes(ue,Z,q),gi(this.futureState.root),this.activateChildRoutes(ue,Z,q)}deactivateChildRoutes(q,ue,Z){const fe=vr(ue);q.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(q,ue,Z){const fe=q.value,ke=ue?ue.value:null;if(fe===ke)if(fe.component){const nt=Z.getContext(fe.outlet);nt&&this.deactivateChildRoutes(q,ue,nt.children)}else this.deactivateChildRoutes(q,ue,Z);else ke&&this.deactivateRouteAndItsChildren(ue,Z)}deactivateRouteAndItsChildren(q,ue){q.value.component&&this.routeReuseStrategy.shouldDetach(q.value.snapshot)?this.detachAndStoreRouteSubtree(q,ue):this.deactivateRouteAndOutlet(q,ue)}detachAndStoreRouteSubtree(q,ue){const Z=ue.getContext(q.value.outlet),fe=Z&&q.value.component?Z.children:ue,ke=vr(q);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(q.value.snapshot,{componentRef:nt,route:q,contexts:jt})}}deactivateRouteAndOutlet(q,ue){const Z=ue.getContext(q.value.outlet),fe=Z&&q.value.component?Z.children:ue,ke=vr(q);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(q,ue,Z){const fe=vr(ue);q.children.forEach(ke=>{this.activateRoutes(ke,fe[ke.value.outlet],Z),this.forwardEvent(new tn(ke.value.snapshot))}),q.children.length&&this.forwardEvent(new fn(q.value.snapshot))}activateRoutes(q,ue,Z){const fe=q.value,ke=ue?ue.value:null;if(gi(fe),fe===ke)if(fe.component){const nt=Z.getOrCreateContext(fe.outlet);this.activateChildRoutes(q,ue,nt.children)}else this.activateChildRoutes(q,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),gi(jt.route.value),this.activateChildRoutes(q,null,nt.children)}else{const jt=ci(fe.snapshot);nt.attachRef=null,nt.route=fe,nt.injector=jt,nt.outlet&&nt.outlet.activateWith(fe,nt.injector),this.activateChildRoutes(q,null,nt.children)}}else this.activateChildRoutes(q,null,Z)}}class Ji{constructor(q){this.path=q,this.route=this.path[this.path.length-1]}}class di{constructor(q,ue){this.component=q,this.route=ue}}function Oi(z,q,ue){const Z=z._root;return Ce(Z,q?q._root:null,ue,[Z.value])}function Ei(z,q){const ue=Symbol(),Z=q.get(z,ue);return Z===ue?"function"!=typeof z||(0,S.LfX)(z)?q.get(z):z:Z}function Ce(z,q,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=vr(q);return z.children.forEach(nt=>{(function ce(z,q,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=z.value,nt=q?q.value:null,jt=ue?ue.getContext(z.value.outlet):null;if(nt&&ke.routeConfig===nt.routeConfig){const cn=function Ge(z,q,ue){if("function"==typeof ue)return ue(z,q);switch(ue){case"pathParamsChange":return!Cn(z.url,q.url);case"pathParamsOrQueryParamsChange":return!Cn(z.url,q.url)||!ne(z.queryParams,q.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ri(z,q)||!ne(z.queryParams,q.queryParams);default:return!Ri(z,q)}}(nt,ke,ke.routeConfig.runGuardsAndResolvers);cn?fe.canActivateChecks.push(new Ji(Z)):(ke.data=nt.data,ke._resolvedData=nt._resolvedData),Ce(z,q,ke.component?jt?jt.children:null:ue,Z,fe),cn&&jt&&jt.outlet&&jt.outlet.isActivated&&fe.canDeactivateChecks.push(new di(jt.outlet.component,nt))}else nt&&ge(q,jt,fe),fe.canActivateChecks.push(new Ji(Z)),Ce(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,q,ue){const Z=vr(z),fe=z.value;Object.entries(Z).forEach(([ke,nt])=>{ge(nt,fe.component?q?q.children.getContext(ke):null:q,ue)}),ue.canDeactivateChecks.push(new di(fe.component&&q&&q.outlet&&q.outlet.isActivated?q.outlet.component:null,fe))}function ot(z){return"function"==typeof z}function ws(z){return z instanceof _.G||"EmptyError"===(null==z?void 0:z.name)}const Eo=Symbol("INITIAL_VALUE");function qi(){return(0,R.n)(z=>(0,C.z)(z.map(q=>q.pipe((0,U.s)(1),function oe(...z){const q=(0,j.lI)(z);return(0,K.N)((ue,Z)=>{(q?(0,T.x)(z,ue,q):(0,T.x)(z,ue)).subscribe(Z)})}(Eo)))).pipe((0,M.T)(q=>{for(const ue of q)if(!0!==ue){if(ue===Eo)return Eo;if(!1===ue||ue instanceof Tt)return ue}return!0}),(0,ve.p)(q=>q!==Eo),(0,U.s)(1)))}function es(z){return(0,g.F)((0,v.M)(q=>{if(wn(q))throw Qi(0,q)}),(0,M.T)(q=>!0===q))}class ts{constructor(q){this.segmentGroup=q||null}}class yo extends Error{constructor(q){super(),this.urlTree=q}}function qn(z){return(0,F.$)(new ts(z))}class Gr{constructor(q,ue){this.urlSerializer=q,this.urlTree=ue}lineralizeSegments(q,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(q,ue,Z){const fe=this.applyRedirectCreateUrlTree(ue,this.urlSerializer.parse(ue),q,Z);if(ue.startsWith("/"))throw new yo(fe);return fe}applyRedirectCreateUrlTree(q,ue,Z,fe){const ke=this.createSegmentGroup(q,ue.root,Z,fe);return new Tt(ke,this.createQueryParams(ue.queryParams,this.urlTree.queryParams),ue.fragment)}createQueryParams(q,ue){const Z={};return Object.entries(q).forEach(([fe,ke])=>{if("string"==typeof ke&&ke.startsWith(":")){const jt=ke.substring(1);Z[fe]=ue[jt]}else Z[fe]=ke}),Z}createSegmentGroup(q,ue,Z,fe){const ke=this.createSegments(q,ue.segments,Z,fe);let nt={};return Object.entries(ue.children).forEach(([jt,cn])=>{nt[jt]=this.createSegmentGroup(q,cn,Z,fe)}),new yn(ke,nt)}createSegments(q,ue,Z,fe){return ue.map(ke=>ke.path.startsWith(":")?this.findPosParam(q,ke,fe):this.findOrReturn(ke,Z))}findPosParam(q,ue,Z){const fe=Z[ue.path.substring(1)];if(!fe)throw new S.wOt(4001,!1);return fe}findOrReturn(q,ue){let Z=0;for(const fe of ue){if(fe.path===q.path)return ue.splice(Z),fe;Z++}return q}}const ns={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rs(z,q,ue,Z,fe){const ke=ji(z,q,ue);return ke.matched?(Z=function Ye(z,q){var ue;return z.providers&&!z._injector&&(z._injector=(0,S.Ol2)(z.providers,q,`Route: ${z.path}`)),null!==(ue=z._injector)&&void 0!==ue?ue:q}(q,Z),function Ia(z,q,ue,Z){const fe=q.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(q,ue):(0,S.N4e)(z,()=>jt(q,ue)))});return(0,c.of)(ke).pipe(qi(),es())}(Z,q,ue).pipe((0,M.T)(nt=>!0===nt?ke:{...ns}))):(0,c.of)(ke)}function ji(z,q,ue){var Z,fe;if("**"===q.path)return function Yl(z){return{matched:!0,parameters:z.length>0?vt(z).parameters:{},consumedSegments:z,remainingSegments:[],positionalParamSegments:{}}}(ue);if(""===q.path)return"full"===q.pathMatch&&(z.hasChildren()||ue.length>0)?{...ns}:{matched:!0,consumedSegments:[],remainingSegments:ue,parameters:{},positionalParamSegments:{}};const nt=(q.matcher||Se)(ue,z,q);if(!nt)return{...ns};const jt={};Object.entries(null!==(Z=nt.posParams)&&void 0!==Z?Z:{}).forEach(([Gt,Sn])=>{jt[Gt]=Sn.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,q,ue,Z){return ue.length>0&&function Oo(z,q,ue){return ue.some(Z=>eo(z,q,Z)&&dr(Z)!==tt)}(z,ue,Z)?{segmentGroup:new yn(q,_s(Z,new yn(ue,z.children))),slicedSegments:[]}:0===ue.length&&function Bs(z,q,ue){return ue.some(Z=>eo(z,q,Z))}(z,ue,Z)?{segmentGroup:new yn(z.segments,Ro(z,ue,Z,z.children)),slicedSegments:ue}:{segmentGroup:new yn(z.segments,z.children),slicedSegments:ue}}function Ro(z,q,ue,Z){const fe={};for(const ke of ue)if(eo(z,q,ke)&&!Z[dr(ke)]){const nt=new yn([],{});fe[dr(ke)]=nt}return{...Z,...fe}}function _s(z,q){const ue={};ue[tt]=q;for(const Z of z)if(""===Z.path&&dr(Z)!==tt){const fe=new yn([],{});ue[dr(Z)]=fe}return ue}function eo(z,q,ue){return(!(z.hasChildren()||q.length>0)||"full"!==ue.pathMatch)&&""===ue.path}class Zl{}class Pa{constructor(q,ue,Z,fe,ke,nt,jt){this.injector=q,this.configLoader=ue,this.rootComponentType=Z,this.config=fe,this.urlTree=ke,this.paramsInheritanceStrategy=nt,this.urlSerializer=jt,this.applyRedirects=new Gr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(q){return new S.wOt(4002,`'${q.segmentGroup}'`)}recognize(){const q=Ta(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(q).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 Nn(Z,ue),ke=new Mr("",fe),nt=function _n(z,q,ue=null,Z=null){return zn(bn(z),q,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(q){return this.processSegmentGroup(this.injector,this.config,q,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(q,ue){const Z=q.value,fe=Wr(Z,ue,this.paramsInheritanceStrategy);Z.params=Object.freeze(fe.params),Z.data=Object.freeze(fe.data),q.children.forEach(ke=>this.inheritParamsAndData(ke,Z))}processSegmentGroup(q,ue,Z,fe){return 0===Z.segments.length&&Z.hasChildren()?this.processChildren(q,ue,Z):this.processSegment(q,ue,Z,Z.segments,fe,!0).pipe((0,M.T)(ke=>ke instanceof Nn?[ke]:[]))}processChildren(q,ue,Z){const fe=[];for(const ke of Object.keys(Z.children))"primary"===ke?fe.unshift(ke):fe.push(ke);return(0,O.H)(fe).pipe((0,h.H)(ke=>{const nt=Z.children[ke],jt=function ur(z,q){const ue=z.filter(Z=>dr(Z)===q);return ue.push(...z.filter(Z=>dr(Z)!==q)),ue}(ue,ke);return this.processSegmentGroup(q,jt,nt,ke)}),function r(z,q){return(0,K.N)((0,f.S)(z,q,arguments.length>=2,!0))}((ke,nt)=>(ke.push(...nt),ke)),m(null),function L(z,q){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,ve.p)((fe,ke)=>z(fe,ke,Z)):u.D,d(1),ue?m(q):n(()=>new _.G))}(),(0,te.Z)(ke=>{if(null===ke)return qn(Z);const nt=No(ke);return function Hi(z){z.sort((q,ue)=>q.value.outlet===tt?-1:ue.value.outlet===tt?1:q.value.outlet.localeCompare(ue.value.outlet))}(nt),(0,c.of)(nt)}))}processSegment(q,ue,Z,fe,ke,nt){return(0,O.H)(ue).pipe((0,h.H)(jt=>{var cn;return this.processSegmentAgainstRoute(null!==(cn=jt._injector)&&void 0!==cn?cn:q,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,q,ue){return 0===q.length&&!z.children[ue]}(Z,fe,ke)?(0,c.of)(new Zl):qn(Z);throw jt}))}processSegmentAgainstRoute(q,ue,Z,fe,ke,nt,jt){return function wc(z,q,ue,Z){return!!(dr(z)===Z||Z!==tt&&eo(q,ue,z))&&ji(q,z,ue).matched}(Z,fe,ke,nt)?void 0===Z.redirectTo?this.matchSegmentAgainstRoute(q,fe,Z,ke,nt):this.allowRedirects&&jt?this.expandSegmentAgainstRouteUsingRedirect(q,fe,ue,Z,ke,nt):qn(fe):qn(fe)}expandSegmentAgainstRouteUsingRedirect(q,ue,Z,fe,ke,nt){const{matched:jt,consumedSegments:cn,positionalParamSegments:Gt,remainingSegments:Sn}=ji(ue,fe,ke);if(!jt)return qn(ue);fe.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Jn=this.applyRedirects.applyRedirectCommands(cn,fe.redirectTo,Gt);return this.applyRedirects.lineralizeSegments(fe,Jn).pipe((0,te.Z)(_r=>this.processSegment(q,Z,ue,_r.concat(Sn),nt,!1)))}matchSegmentAgainstRoute(q,ue,Z,fe,ke){const nt=rs(ue,Z,fe,q);return"**"===Z.path&&(ue.children={}),nt.pipe((0,R.n)(jt=>{var cn;return jt.matched?(q=null!==(cn=Z._injector)&&void 0!==cn?cn:q,this.getChildConfig(q,Z,fe).pipe((0,R.n)(({routes:Gt})=>{var Sn,Jn,_r;const hr=null!==(Sn=Z._loadedInjector)&&void 0!==Sn?Sn:q,{consumedSegments:Xr,remainingSegments:Mo,parameters:us}=jt,zo=new Ui(Xr,us,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Oa(z){return z.data||{}}(Z),dr(Z),null!==(Jn=null!==(_r=Z.component)&&void 0!==_r?_r:Z._loadedComponent)&&void 0!==Jn?Jn:null,Z,function Fs(z){return z.resolve||{}}(Z)),{segmentGroup:Ko,slicedSegments:cs}=Ta(ue,Xr,Mo,Gt);if(0===cs.length&&Ko.hasChildren())return this.processChildren(hr,Gt,Ko).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=dr(Z)===ke;return this.processSegment(hr,Gt,Ko,cs,Va?tt:ke,!0).pipe((0,M.T)(ds=>new Nn(zo,ds instanceof Nn?[ds]:[])))}))):qn(ue)}))}getChildConfig(q,ue,Z){return ue.children?(0,c.of)({routes:ue.children,injector:q}):ue.loadChildren?void 0!==ue._loadedRoutes?(0,c.of)({routes:ue._loadedRoutes,injector:ue._loadedInjector}):function Sa(z,q,ue,Z){const fe=q.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 Hn(z){return z&&ot(z.canLoad)}(jt)?jt.canLoad(q,ue):(0,S.N4e)(z,()=>jt(q,ue)))});return(0,c.of)(ke).pipe(qi(),es())}(q,ue,Z).pipe((0,te.Z)(fe=>fe?this.configLoader.loadChildren(q,ue).pipe((0,v.M)(ke=>{ue._loadedRoutes=ke.routes,ue._loadedInjector=ke.injector})):function si(z){return(0,F.$)(Pr(!1,bt.GuardRejected))}())):(0,c.of)({routes:[],injector:q})}}function Ra(z){const q=z.value.routeConfig;return q&&""===q.path}function No(z){const q=[],ue=new Set;for(const Z of z){if(!Ra(Z)){q.push(Z);continue}const fe=q.find(ke=>Z.value.routeConfig===ke.value.routeConfig);void 0!==fe?(fe.children.push(...Z.children),ue.add(fe)):q.push(Z)}for(const Z of ue){const fe=No(Z.children);q.push(new Nn(Z.value,fe))}return q.filter(Z=>!ue.has(Z))}function to(z){const q=z.children.map(ue=>to(ue)).flat();return[z,...q]}function is(z){return(0,R.n)(q=>{const ue=z(q);return ue?(0,O.H)(ue).pipe((0,M.T)(()=>q)):(0,c.of)(q)})}let no=(()=>{var z;class q{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[Re]}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(ql),providedIn:"root"}),q})(),ql=(()=>{var z;class q extends no{constructor(Z){super(),this.title=Z}updateTitle(Z){const fe=this.buildTitle(Z);void 0!==fe&&this.title.setTitle(fe)}}return(z=q).\u0275fac=function(Z){return new(Z||z)(S.KVO(ae.hE))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();const Co=new S.nKC("",{providedIn:"root",factory:()=>({})}),bo=new S.nKC("");let Lo=(()=>{var z;class q{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,J.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,q,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,O.H)(q.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(Er),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,J.B)());return this.childrenLoaders.set(fe,jt),jt}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();function $o(z){return function Na(z){return z&&"object"==typeof z&&"default"in z}(z)?z.default:z}let Y=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(xe),providedIn:"root"}),q})(),xe=(()=>{var z;class q{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,fe){return Z}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();const at=new S.nKC(""),de=new S.nKC("");function ze(z,q,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(q=>{(0,S.mal)(q,{injector:z})})}(z))),{onViewTransitionCreated:cn}=Z;return cn&&(0,S.N4e)(z,()=>cn({transition:jt,from:q,to:ue})),nt})}let Jt=(()=>{var z;class q{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)(Lt),this.rootContexts=(0,S.WQX)($e),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)(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:pr,restoredState:null,currentSnapshot:ke.snapshot,targetSnapshot:null,currentRouterState:ke,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ve.p)(nt=>0!==nt.id),(0,M.T)(nt=>({...nt,extractedUrl:this.urlHandlingStrategy.extract(nt.rawUrl)})),(0,R.n)(nt=>{let jt=!1,cn=!1;return(0,c.of)(nt).pipe((0,R.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 Jn=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),_r=null!==(Sn=Gt.extras.onSameUrlNavigation)&&void 0!==Sn?Sn:Z.onSameUrlNavigation;if(!Jn&&"reload"!==_r){const hr="";return this.events.next(new Et(Gt.id,this.urlSerializer.serialize(Gt.rawUrl),hr,Wt.IgnoredSameUrlNavigation)),Gt.resolve(null),A.w}if(this.urlHandlingStrategy.shouldProcessUrl(Gt.rawUrl))return(0,c.of)(Gt).pipe((0,R.n)(hr=>{var Xr,Mo;const us=null===(Xr=this.transitions)||void 0===Xr?void 0:Xr.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,q,ue,Z,fe,ke){return(0,te.Z)(nt=>function Is(z,q,ue,Z,fe,ke,nt="emptyOnly"){return new Pa(z,q,ue,Z,fe,nt,ke).recognize()}(z,q,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 Xr=new ye(hr.id,this.urlSerializer.serialize(hr.extractedUrl),this.urlSerializer.serialize(hr.urlAfterRedirects),hr.targetSnapshot);this.events.next(Xr)}));if(Jn&&this.urlHandlingStrategy.shouldProcessUrl(Gt.currentRawUrl)){const{id:hr,extractedUrl:Xr,source:Mo,restoredState:us,extras:zo}=Gt,Ko=new Te(hr,this.urlSerializer.serialize(Xr),Mo,us);this.events.next(Ko);const cs=ei(this.rootComponentType).snapshot;return this.currentTransition=nt={...Gt,targetSnapshot:cs,urlAfterRedirects:Xr,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Xr,(0,c.of)(nt)}{const hr="";return this.events.next(new Et(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),hr,Wt.IgnoredByUrlHandlingStrategy)),Gt.resolve(null),A.w}}),(0,v.M)(Gt=>{const Sn=new Ke(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:Oi(Gt.targetSnapshot,Gt.currentSnapshot,this.rootContexts)},nt)),function Cr(z,q){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,q,ue,Z){return(0,O.H)(z).pipe((0,te.Z)(fe=>function Xl(z,q,ue,Z,fe){const ke=q&&q.routeConfig?q.routeConfig.canDeactivate:null;if(!ke||0===ke.length)return(0,c.of)(!0);const nt=ke.map(jt=>{var cn;const Gt=null!==(cn=ci(q))&&void 0!==cn?cn:fe,Sn=Ei(jt,Gt);return Qe(function zr(z){return z&&ot(z.canDeactivate)}(Sn)?Sn.canDeactivate(z,q,ue,Z):(0,S.N4e)(Gt,()=>Sn(z,q,ue,Z))).pipe(s())});return(0,c.of)(nt).pipe(qi())}(fe.component,fe.route,ue,q,Z)),s(fe=>!0!==fe,!0))}(nt,Z,fe,z).pipe((0,te.Z)(jt=>jt&&function vn(z){return"boolean"==typeof z}(jt)?function _a(z,q,ue,Z){return(0,O.H)(q).pipe((0,h.H)(fe=>(0,T.x)(function Wl(z,q){return null!==z&&q&&q(new ln(z)),(0,c.of)(!0)}(fe.route.parent,Z),function Kl(z,q){return null!==z&&q&&q(new un(z)),(0,c.of)(!0)}(fe.route,Z),function Ba(z,q,ue){const Z=q[q.length-1],ke=q.slice(0,q.length-1).reverse().map(nt=>function qo(z){const q=z.routeConfig?z.routeConfig.canActivateChild:null;return q&&0!==q.length?{node:z,guards:q}:null}(nt)).filter(nt=>null!==nt).map(nt=>(0,w.v)(()=>{const jt=nt.guards.map(cn=>{var Gt;const Sn=null!==(Gt=ci(nt.node))&&void 0!==Gt?Gt:ue,Jn=Ei(cn,Sn);return Qe(function fi(z){return z&&ot(z.canActivateChild)}(Jn)?Jn.canActivateChild(Z,z):(0,S.N4e)(Sn,()=>Jn(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,q,ue){const Z=q.routeConfig?q.routeConfig.canActivate:null;if(!Z||0===Z.length)return(0,c.of)(!0);const fe=Z.map(ke=>(0,w.v)(()=>{var nt;const jt=null!==(nt=ci(q))&&void 0!==nt?nt:ue,cn=Ei(ke,jt);return Qe(function Rr(z){return z&&ot(z.canActivate)}(cn)?cn.canActivate(q,z):(0,S.N4e)(jt,()=>cn(q,z))).pipe(s())}));return(0,c.of)(fe).pipe(qi())}(z,fe.route,ue))),s(fe=>!0!==fe,!0))}(Z,ke,z,q):(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,wn(Gt.guardsResult))throw Qi(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,ve.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)(Sn=>{const Jn=new xt(Sn.id,this.urlSerializer.serialize(Sn.extractedUrl),this.urlSerializer.serialize(Sn.urlAfterRedirects),Sn.targetSnapshot);this.events.next(Jn)}),(0,R.n)(Sn=>{let Jn=!1;return(0,c.of)(Sn).pipe(function hi(z,q){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,O.H)(nt).pipe((0,h.H)(cn=>ke.has(cn)?function Ps(z,q,ue,Z){const fe=z.routeConfig,ke=z._resolve;return void 0!==(null==fe?void 0:fe.title)&&!Di(fe)&&(ke[Re]=fe.title),function Ql(z,q,ue,Z){const fe=G(z);if(0===fe.length)return(0,c.of)({});const ke={};return(0,O.H)(fe).pipe((0,te.Z)(nt=>function Jl(z,q,ue,Z){var fe;const ke=null!==(fe=ci(q))&&void 0!==fe?fe:Z,nt=Ei(z,ke);return Qe(nt.resolve?nt.resolve(q,ue):(0,S.N4e)(ke,()=>nt(q,ue)))}(z[nt],q,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,q,Z).pipe((0,M.T)(nt=>(z._resolvedData=nt,z.data=Wr(z,z.parent,ue).resolve,null)))}(cn,Z,z,q):(cn.data=Wr(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:()=>Jn=!0,complete:()=>{Jn||this.cancelNavigationTransition(Sn,"",bt.NoDataFromResolver)}}))}),(0,v.M)(Sn=>{const Jn=new Xt(Sn.id,this.urlSerializer.serialize(Sn.extractedUrl),this.urlSerializer.serialize(Sn.urlAfterRedirects),Sn.targetSnapshot);this.events.next(Jn)}))}),is(Gt=>{const Sn=Jn=>{var _r;const hr=[];null!==(_r=Jn.routeConfig)&&void 0!==_r&&_r.loadComponent&&!Jn.routeConfig._loadedComponent&&hr.push(this.configLoader.loadComponent(Jn.routeConfig).pipe((0,v.M)(Xr=>{Jn.component=Xr}),(0,M.T)(()=>{})));for(const Xr of Jn.children)hr.push(...Sn(Xr));return hr};return(0,C.z)(Sn(Gt.targetSnapshot.root)).pipe(m(null),(0,U.s)(1))}),is(()=>this.afterPreactivation()),(0,R.n)(()=>{var Gt;const{currentSnapshot:Sn,targetSnapshot:Jn}=nt,_r=null===(Gt=this.createViewTransition)||void 0===Gt?void 0:Gt.call(this,this.environmentInjector,Sn.root,Jn.root);return _r?(0,O.H)(_r).pipe((0,M.T)(()=>nt)):(0,c.of)(nt)}),(0,M.T)(Gt=>{const Sn=function Hr(z,q,ue){const Z=wi(z,q._root,ue?ue._root:void 0);return new Br(Z,q)}(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,q,ue,Z)=>(0,M.T)(fe=>(new mo(q,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;jt=!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:()=>{jt=!0}}),function Me(z){return(0,K.N)((q,ue)=>{(0,re.Tg)(z).subscribe((0,se._)(ue,()=>ue.complete(),me.l)),!ue.closed&&q.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,He(Gt))this.events.next(new hn(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Gt.message,Gt.cancellationCode)),function ui(z){return He(z)&&wn(z.url)}(Gt)?this.events.next(new Rn(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(Jn){this.options.resolveNavigationPromiseOnError?nt.resolve(!1):nt.reject(Jn)}}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=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();function pn(z){return z!==pr}let Yn=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(fr),providedIn:"root"}),q})();class sr{shouldDetach(q){return!1}store(q,ue){}shouldAttach(q){return!1}retrieve(q){return null}shouldReuseRoute(q,ue){return q.routeConfig===ue.routeConfig}}let fr=(()=>{var z;class q extends sr{}return(z=q).\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"}),q})(),tr=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(yr),providedIn:"root"}),q})(),yr=(()=>{var z;class q extends tr{constructor(){super(...arguments),this.location=(0,S.WQX)(k.aZ),this.urlSerializer=(0,S.WQX)(Lt),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 Tt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ei(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 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=q).\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"}),q})();var lr=function(z){return z[z.COMPLETE=0]="COMPLETE",z[z.FAILED=1]="FAILED",z[z.REDIRECTING=2]="REDIRECTING",z}(lr||{});function Sr(z,q){z.events.pipe((0,ve.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,ve.p)(ue=>ue!==lr.REDIRECTING),(0,U.s)(1)).subscribe(()=>{q()})}function mr(z){throw z}const mn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},On={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ir=(()=>{var z;class q{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)(tr),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)(Jt),this.urlSerializer=(0,S.WQX)(Lt),this.location=(0,S.WQX)(k.aZ),this.urlHandlingStrategy=(0,S.WQX)(Y),this._events=new P.B,this.errorHandler=this.options.errorHandler||mr,this.navigated=!1,this.routeReuseStrategy=(0,S.WQX)(Yn),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 Rn){const jt=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(jt,pr,null,cn,{resolve:ke.resolve,reject:ke.reject,promise:ke.promise})}(function wr(z){return!(z instanceof Bn||z instanceof Rn)})(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),pr,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(Er),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,Sn=Gt?this.currentUrlTree.fragment:jt;let _r,Jn=null;switch(cn){case"merge":Jn={...this.currentUrlTree.queryParams,...nt};break;case"preserve":Jn=this.currentUrlTree.queryParams;break;default:Jn=nt||null}null!==Jn&&(Jn=this.removeEmptyProps(Jn));try{_r=bn(ke?ke.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),_r=this.currentUrlTree.root}return zn(_r,Z,Jn,null!=Sn?Sn:null)}navigateByUrl(Z,fe={skipLocationChange:!1}){const ke=wn(Z)?Z:this.parseUrl(Z),nt=this.urlHandlingStrategy.merge(ke,this.rawUrlTree);return this.scheduleNavigation(nt,pr,null,fe)}navigate(Z,fe={skipLocationChange:!1}){return function $r(z){for(let q=0;q(null!=nt&&(fe[ke]=nt),fe),{})}scheduleNavigation(Z,fe,ke,nt,jt){if(this.disposed)return Promise.resolve(!1);let cn,Gt,Sn;jt?(cn=jt.resolve,Gt=jt.reject,Sn=jt.promise):Sn=new Promise((_r,hr)=>{cn=_r,Gt=hr});const Jn=this.pendingTasks.add();return Sr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Jn))}),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=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})(),Tr=(()=>{var z;class q{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 Sn=null===(Gt=jt.nativeElement.tagName)||void 0===Gt?void 0:Gt.toLowerCase();this.isAnchorElement="a"===Sn||"area"===Sn,this.isAnchorElement?this.subscription=Z.events.subscribe(Jn=>{Jn 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=q).\u0275fac=function(Z){return new(Z||z)(S.rXU(ir),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$]}),q})();class Nr{}let Bi=(()=>{var z;class q{preload(Z,fe){return fe().pipe((0,y.W)(()=>(0,c.of)(null)))}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})(),os=(()=>{var z;class q{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,ve.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 Sn=null!==(nt=Gt._injector)&&void 0!==nt?nt:Z,Jn=null!==(jt=Gt._loadedInjector)&&void 0!==jt?jt: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(Jn,null!==(cn=Gt.children)&&void 0!==cn?cn:Gt._loadedRoutes))}return(0,O.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,O.H)([nt,jt]).pipe((0,Q.U)())}return nt})}}return(z=q).\u0275fac=function(Z){return new(Z||z)(S.KVO(ir),S.KVO(S.Ql9),S.KVO(S.uvJ),S.KVO(Nr),S.KVO(Lo))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();const Rs=new S.nKC("");let Do=(()=>{var z;class q{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===Wt.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=q).\u0275fac=function(Z){S.QTQ()},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac}),q})();function ni(z,q){return{\u0275kind:z,\u0275providers:q}}function Vo(){const z=(0,S.WQX)(S.zZn);return q=>{var ue,Z;const fe=z.get(S.o8S);if(q!==fe.components[0])return;const ke=z.get(ir),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(Rs,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:Nr,useExisting:z}])}function La(z){return ni(9,[{provide:at,useValue:ze},{provide:de,useValue:{skipNextTransition:!(null==z||!z.skipInitialTransition),...z}}])}const ls=new S.nKC("ROUTER_FORROOT_GUARD"),Si=[k.aZ,{provide:Lt,useClass:In},ir,$e,{provide:oi,useFactory:function Uo(z){return z.routerState.root},deps:[ir]},Lo,[]];let $a=(()=>{var z;class q{constructor(Z){}static forRoot(Z,fe){return{ngModule:q,providers:[Si,[],{provide:bo,multi:!0,useValue:Z},{provide:ls,useFactory:tu,deps:[[ir,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:Rs,useFactory:()=>{const z=(0,S.WQX)(k.Xr),q=(0,S.WQX)(S.SKi),ue=(0,S.WQX)(Co),Z=(0,S.WQX)(Jt),fe=(0,S.WQX)(Lt);return ue.scrollOffset&&z.setOffset(ue.scrollOffset),new Do(fe,Z,z,q,ue)}},null!=fe&&fe.preloadingStrategy?jo(fe.preloadingStrategy).\u0275providers:[],null!=fe&&fe.initialNavigation?Ic(fe):[],null!=fe&&fe.bindToComponentInputs?ni(8,[Zi,{provide:Mi,useExisting:Zi}]).\u0275providers:[],null!=fe&&fe.enableViewTransitions?La().\u0275providers:[],[{provide:Ns,useFactory:Vo},{provide:S.iLQ,multi:!0,useExisting:Ns}]]}}static forChild(Z){return{ngModule:q,providers:[{provide:bo,multi:!0,useValue:Z}]}}}return(z=q).\u0275fac=function(Z){return new(Z||z)(S.KVO(ls,8))},z.\u0275mod=S.$C({type:z}),z.\u0275inj=S.G2t({}),q})();function tu(z){return"guarded"}function Ic(z){return["disabled"===z.initialNavigation?ni(3,[{provide:S.hnV,multi:!0,useFactory:()=>{const q=(0,S.WQX)(ir);return()=>{q.setUpLocationChangeListener()}}},{provide:Qn,useValue:2}]).\u0275providers:[],"enabledBlocking"===z.initialNavigation?ni(2,[{provide:Qn,useValue:0},{provide:S.hnV,multi:!0,deps:[S.zZn],useFactory:q=>{const ue=q.get(k.hj,Promise.resolve());return()=>ue.then(()=>new Promise(Z=>{const fe=q.get(ir),ke=q.get(io);Sr(fe,()=>{Z(!0)}),q.get(Jt).afterPreactivation=()=>(Z(!0),ke.closed?(0,c.of)(void 0):ke),fe.initialNavigation()}))}}]).\u0275providers:[]]}const Ns=new S.nKC("")},4517:(be,ee,E)=>{"use strict";E.d(ee,{Yq:()=>Dt,TS:()=>En,sR:()=>St,el:()=>Kn,Sb:()=>Pe,QE:()=>It,CF:()=>Ze,Rg:()=>wn,p4:()=>Mt,jM:()=>Xn,_t:()=>Ee,q9:()=>ft,y8:()=>yn,Kb:()=>pr,OD:()=>rt,CE:()=>$n,pF:()=>jn,fL:()=>Zt,YV:()=>Un,er:()=>Nt,z3:()=>qt});var a=E(467),S=E(4438),p=E(3021),O=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=We=>P(We),P=(We=window)=>{if(typeof We>"u")return[];We.Ionic=We.Ionic||{};let et=We.Ionic.platforms;return null==et&&(et=We.Ionic.platforms=$(We),et.forEach(Te=>We.document.documentElement.classList.add(`plt-${Te}`))),et},$=We=>{const et=D.get("platform");return Object.keys(y).filter(Te=>{const qe=null==et?void 0:et[Te];return"function"==typeof qe?qe(We):y[Te](We)})},M=We=>!!(h(We,/iPad/i)||h(We,/Macintosh/i)&&te(We)),j=We=>h(We,/android|sink/i),te=We=>v(We,"(any-pointer:coarse)"),m=We=>n(We)||o(We),n=We=>!!(We.cordova||We.phonegap||We.PhoneGap),o=We=>{const et=We.Capacitor;return!(null==et||!et.isNative)},h=(We,et)=>et.test(We.navigator.userAgent),v=(We,et)=>{var Te;return null===(Te=We.matchMedia)||void 0===Te?void 0:Te.call(We,et).matches},y={ipad:M,iphone:We=>h(We,/iPhone/i),ios:We=>h(We,/iPhone|iPod/i)||M(We),android:j,phablet:We=>{const et=We.innerWidth,Te=We.innerHeight,qe=Math.min(et,Te),bt=Math.max(et,Te);return qe>390&&qe<520&&bt>620&&bt<800},tablet:We=>{const et=We.innerWidth,Te=We.innerHeight,qe=Math.min(et,Te),bt=Math.max(et,Te);return M(We)||(We=>j(We)&&!h(We,/mobile/i))(We)||qe>460&&qe<820&&bt>780&&bt<1400},cordova:n,capacitor:o,electron:We=>h(We,/electron/i),pwa:We=>{var et;return!!(null!==(et=We.matchMedia)&&void 0!==et&&et.call(We,"(display-mode: standalone)").matches||We.navigator.standalone)},mobile:te,mobileweb:We=>te(We)&&!m(We),desktop:We=>!te(We),hybrid:m};var L=E(6031),I=E(1656),V=E(1413),J=E(3726),re=E(4412),me=E(4572),Me=E(7673),Q=E(1635),ae=E(5964),tt=E(5558),Re=E(3669),pe=E(9974),Ie=E(4360);function ie(We,et){return We===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 We{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 Wt;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=>{Wt=hn}),null!==(bt=this.win)&&void 0!==bt&&bt.cordova?Te.addEventListener("deviceready",()=>{Wt("cordova")},{once:!0}):Wt("dom")})}is(Te){return((We,et)=>("string"==typeof We&&(et=We,We=void 0),A(We).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 We.\u0275fac=function(Te){return new(Te||We)(S.KVO(O.qQ),S.KVO(S.SKi))},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const nn=(We,et)=>{et=et.replace(/[[\]\\]/g,"\\$&");const qe=new RegExp("[\\?&]"+et+"=([^&#]*)").exec(We);return qe?decodeURIComponent(qe[1].replace(/\+/g," ")):null},gt=(We,et,Te,qe)=>{et&&et.addEventListener(Te,bt=>{qe.run(()=>{We.next(null!=bt?bt.detail:void 0)})})};let ft=(()=>{class We{constructor(Te,qe,bt,Wt){this.location=qe,this.serializer=bt,this.router=Wt,this.direction=wt,this.animated=Pt,this.guessDirection="forward",this.lastNavId=-1,Wt&&Wt.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,Wt){this.direction=Te,this.animated=on(Te,qe,bt),this.animationBuilder=Wt}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=wt,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 We.\u0275fac=function(Te){return new(Te||We)(S.KVO(rt),S.KVO(O.aZ),S.KVO(p.Sd),S.KVO(p.Ix,8))},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const on=(We,et,Te)=>{if(!1!==et){if(void 0!==Te)return Te;if("forward"===We||"back"===We)return We;if("root"===We&&!0===et)return"forward"}},wt="auto",Pt=void 0;let En=(()=>{class We{get(Te,qe){const bt=Tt();return bt?bt.get(Te,qe):null}getBoolean(Te,qe){const bt=Tt();return!!bt&&bt.getBoolean(Te,qe)}getNumber(Te,qe){const bt=Tt();return bt?bt.getNumber(Te,qe):0}}return We.\u0275fac=function(Te){return new(Te||We)},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const St=new S.nKC("USERCONFIG"),Tt=()=>{if(typeof window<"u"){const We=window.Ionic;if(null!=We&&We.config)return We.config}return null};class yn{constructor(et={}){this.data=et}get(et){return this.data[et]}}let Dt=(()=>{class We{constructor(){this.zone=(0,S.WQX)(S.SKi),this.applicationRef=(0,S.WQX)(S.o8S)}create(Te,qe,bt){return new Bt(Te,qe,this.applicationRef,this.zone,bt)}}return We.\u0275fac=function(Te){return new(Te||We)},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac}),We})();class Bt{constructor(et,Te,qe,bt,Wt){this.environmentInjector=et,this.injector=Te,this.applicationRef=qe,this.zone=bt,this.elementReferenceKey=Wt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(et,Te,qe,bt){return this.zone.run(()=>new Promise(Wt=>{const hn={...qe};void 0!==this.elementReferenceKey&&(hn[this.elementReferenceKey]=et),Wt(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 Wt=this.elEventsMap.get(Te);Wt&&(Wt(),this.elEventsMap.delete(Te))}qe()}))}}const Cn=(We,et,Te,qe,bt,Wt,hn,Et,zt,ye,Ke)=>{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&&(Ke&&void 0!==Xt[Ke]&&console.error(`[Ionic Error]: ${Ke} is a reserved property when using ${hn.tagName.toLowerCase()}. Rename or remove the "${Ke}" property from ${Et.name}.`),Object.assign(Xt,zt)),ye)for(const ln of ye)$t.classList.add(ln);const an=Lt(We,Xt,$t);return hn.appendChild($t),qe.attachView(xt.hostView),bt.set($t,xt),Wt.set($t,an),$t},st=[L.L,L.a,L.b,L.c,L.d],Lt=(We,et,Te)=>We.run(()=>{const qe=st.filter(bt=>"function"==typeof et[bt]).map(bt=>{const Wt=hn=>et[bt](hn.detail);return Te.addEventListener(bt,Wt),()=>Te.removeEventListener(bt,Wt)});return()=>qe.forEach(bt=>bt())}),In=new S.nKC("NavParamsToken"),kt=We=>[{provide:In,useValue:We},{provide:yn,useFactory:Ot,deps:[In]}],Ot=We=>new yn(We),Ln=(We,et)=>{const Te=We.prototype;et.forEach(qe=>{Object.defineProperty(Te,qe,{get(){return this.el[qe]},set(bt){this.z.runOutsideAngular(()=>this.el[qe]=bt)}})})},Ut=(We,et)=>{const Te=We.prototype;et.forEach(qe=>{Te[qe]=function(){const bt=arguments;return this.z.runOutsideAngular(()=>this.el[qe].apply(this.el,bt))}})},Le=(We,et,Te)=>{Te.forEach(qe=>We[qe]=(0,J.R)(et,qe))};function _e(We){return function(Te){const{defineCustomElementFn:qe,inputs:bt,methods:Wt}=We;return void 0!==qe&&qe(),bt&&Ln(Te,bt),Wt&&Ut(Te,Wt),Te}}const De=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Ae=["present","dismiss","onDidDismiss","onWillDismiss"];let Ze=(()=>{let We=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()}),Le(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return We.\u0275fac=function(Te){return new(Te||We)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},We.\u0275dir=S.FsC({type:We,selectors:[["ion-popover"]],contentQueries:function(Te,qe,bt){if(1&Te&&S.wni(bt,S.C4Q,5),2&Te){let Wt;S.mGM(Wt=S.lsd())&&(qe.template=Wt.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"}}),We=(0,Q.Cg)([_e({inputs:De,methods:Ae})],We),We})();const Ue=["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 We=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()}),Le(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return We.\u0275fac=function(Te){return new(Te||We)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},We.\u0275dir=S.FsC({type:We,selectors:[["ion-modal"]],contentQueries:function(Te,qe,bt){if(1&Te&&S.wni(bt,S.C4Q,5),2&Te){let Wt;S.mGM(Wt=S.lsd())&&(qe.template=Wt.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"}}),We=(0,Q.Cg)([_e({inputs:Ue,methods:it})],We),We})();const Ve=(We,et)=>((We=We.filter(Te=>Te.stackId!==et.stackId)).push(et),We),lt=(We,et)=>{const Te=We.createUrlTree(["."],{relativeTo:et});return We.serializeUrl(Te)},Qt=(We,et)=>!et||We.stackId!==et.stackId,Ct=(We,et)=>{if(!We)return;const Te=mt(et);for(let qe=0;qe=We.length)return Te[qe];if(Te[qe]!==We[qe])return}},mt=We=>We.split("/").map(et=>et.trim()).filter(et=>""!==et),Kt=We=>{We&&(We.ref.destroy(),We.unlistenEvents())};class Rt{constructor(et,Te,qe,bt,Wt,hn){this.containerEl=Te,this.router=qe,this.navCtrl=bt,this.zone=Wt,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=lt(this.router,Te),Wt=null==et||null===(qe=et.location)||void 0===qe?void 0:qe.nativeElement,hn=Lt(this.zone,et.instance,Wt);return{id:this.nextId++,stackId:Ct(this.tabsPrefix,bt),unlistenEvents:hn,element:Wt,ref:et,url:bt}}getExistingView(et){const Te=lt(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:Wt,animation:hn,animationBuilder:Et}=bt;const zt=this.activeView,ye=Qt(et,zt);ye&&(Wt="back",hn=void 0);const Ke=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,Wt);Xt||et.ref.changeDetectorRef.detectChanges();const an=et.animationBuilder;return void 0===Et&&"back"===Wt&&!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(()=>Ft(et,$t,Ke,this.location,this.zone)).then(()=>({enteringView:et,direction:Wt,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 Wt=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&&(Wt=ye.route._routerState.snapshot.url)}const{animationBuilder:zt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Wt,{...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&&Pn(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(Kt),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=((We,et,Te)=>"root"===Te?Ve(We,et):"forward"===Te?((We,et)=>(We.indexOf(et)>=0?We=We.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):We.push(et),We))(We,et):((We,et)=>We.indexOf(et)>=0?We.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):Ve(We,et))(We,et))(this.views,et,Te),this.views.slice()}transition(et,Te,qe,bt,Wt,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:Wt,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 Ft=(We,et,Te,qe,bt)=>"function"==typeof requestAnimationFrame?new Promise(Wt=>{requestAnimationFrame(()=>{Pn(We,et,Te,qe,bt),Wt()})}):Promise.resolve(),Pn=(We,et,Te,qe,bt)=>{bt.run(()=>Te.filter(Wt=>!et.includes(Wt)).forEach(Kt)),et.forEach(Wt=>{const Et=qe.path().split("?")[0].split("#")[0];if(Wt!==We&&Wt.url!==Et){const zt=Wt.element;zt.setAttribute("aria-hidden","true"),zt.classList.add("ion-page-hidden"),Wt.ref.changeDetectorRef.detach()}})};let wn=(()=>{class We{constructor(Te,qe,bt,Wt,hn,Et,zt,ye){this.parentOutlet=ye,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new re.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)(ft),this.nativeEl=Wt.nativeElement,this.name=Te||p.Xk,this.tabsPrefix="true"===qe?lt(hn,zt):void 0,this.stackCtrl=new Rt(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 Wt=qe.route.snapshot;this.activatedView.savedExtras.queryParams=Wt.queryParams,this.activatedView.savedExtras.fragment=Wt.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 Wt,hn=this.stackCtrl.getExistingView(Te);if(hn){Wt=this.activated=hn.ref;const ye=hn.savedData;ye&&(this.getContext().children.contexts=ye),this.updateActivatedRouteProxy(Wt.instance,Te)}else{var Et;const ye=Te._futureSnapshot,Ke=this.parentContexts.getOrCreateContext(this.name).children,dt=new re.t(null),xt=this.createActivatedRouteProxy(dt,Te),Xt=new _n(xt,Ke,this.location.injector),$t=null!==(Et=ye.routeConfig.component)&&void 0!==Et?Et:ye.component;Wt=this.activated=this.location.createComponent($t,{index:this.location.length,injector:Xt,environmentInjector:null!=qe?qe:this.environmentInjector}),dt.next(Wt.instance),hn=this.stackCtrl.createView(this.activated,Te),this.proxyMap.set(Wt.instance,xt),this.currentActivatedRoute$.next({component:Wt.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(Wt.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)(Wt=>null!==Wt&&Wt.component===bt),(0,tt.n)(Wt=>Wt&&Wt.activatedRoute[qe]),function Se(We,et=Re.D){return We=null!=We?We:ie,(0,pe.N)((Te,qe)=>{let bt,Wt=!0;Te.subscribe((0,Ie._)(qe,hn=>{const Et=et(hn);(Wt||!We(bt,Et))&&(Wt=!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 We.\u0275fac=function(Te){return new(Te||We)(S.kS0("name"),S.kS0("tabs"),S.rXU(O.aZ),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(S.SKi),S.rXU(p.nX),S.rXU(We,12))},We.\u0275dir=S.FsC({type:We,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"]}),We})();class _n{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 zn=(()=>{class We{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,me.z)([qe.queryParams,qe.params,qe.data]).pipe((0,tt.n)(([Wt,hn,Et],zt)=>(Et={...Wt,...hn,...Et},0===zt?(0,Me.of)(Et):Promise.resolve(Et)))).subscribe(Wt=>{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,Wt[Et]);else this.unsubscribeFromRouteData(Te)});this.outletDataSubscriptions.set(Te,bt)}}return We.\u0275fac=function(Te){return new(Te||We)},We.\u0275prov=S.jDH({token:We,factory:We.\u0275fac}),We})();const Un=()=>({provide:bn,useFactory:Fn,deps:[p.Ix]});function Fn(We){return null!=We&&We.componentInputBindingEnabled?new zn:null}const kn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Kn=(()=>{let We=class{constructor(Te,qe,bt,Wt,hn,Et){this.routerOutlet=Te,this.navCtrl=qe,this.config=bt,this.r=Wt,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 We.\u0275fac=function(Te){return new(Te||We)(S.rXU(wn,8),S.rXU(ft),S.rXU(En),S.rXU(S.aKT),S.rXU(S.SKi),S.rXU(S.gRc))},We.\u0275dir=S.FsC({type:We,hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(Wt){return qe.onClick(Wt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),We=(0,Q.Cg)([_e({inputs:kn})],We),We})(),$n=(()=>{class We{constructor(Te,qe,bt,Wt,hn){this.locationStrategy=Te,this.navCtrl=qe,this.elementRef=bt,this.router=Wt,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 We.\u0275fac=function(Te){return new(Te||We)(S.rXU(O.hb),S.rXU(ft),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},We.\u0275dir=S.FsC({type:We,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(Te,qe){1&Te&&S.bIt("click",function(Wt){return qe.onClick(Wt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),We})(),jn=(()=>{class We{constructor(Te,qe,bt,Wt,hn){this.locationStrategy=Te,this.navCtrl=qe,this.elementRef=bt,this.router=Wt,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 We.\u0275fac=function(Te){return new(Te||We)(S.rXU(O.hb),S.rXU(ft),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},We.\u0275dir=S.FsC({type:We,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$]}),We})();const je=["animated","animation","root","rootParams","swipeGesture"],ut=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let It=(()=>{let We=class{constructor(Te,qe,bt,Wt,hn,Et){this.z=hn,Et.detach(),this.el=Te.nativeElement,Te.nativeElement.delegate=Wt.create(qe,bt),Le(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return We.\u0275fac=function(Te){return new(Te||We)(S.rXU(S.aKT),S.rXU(S.uvJ),S.rXU(S.zZn),S.rXU(Dt),S.rXU(S.SKi),S.rXU(S.gRc))},We.\u0275dir=S.FsC({type:We,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),We=(0,Q.Cg)([_e({inputs:je,methods:ut})],We),We})(),Mt=(()=>{class We{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,Wt=this.outlet.getActiveStackId()===bt,hn=`${this.outlet.tabsPrefix}/${bt}`;if(qe||Te.stopPropagation(),Wt){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 We.\u0275fac=function(Te){return new(Te||We)(S.rXU(ft))},We.\u0275dir=S.FsC({type:We,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(Wt){return qe.select(Wt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),We})();const Nt=We=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(We):"function"==typeof requestAnimationFrame?requestAnimationFrame(We):setTimeout(We);let Zt=(()=>{class We{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(Wt=>{if(typeof qe[Wt]<"u"){const hn=qe[Wt].bind(qe);qe[Wt]=(...Et)=>{hn(...Et),qt(this.elementRef)}}})}}return We.\u0275fac=function(Te){return new(Te||We)(S.rXU(S.zZn),S.rXU(S.aKT))},We.\u0275dir=S.FsC({type:We,hostBindings:function(Te,qe){1&Te&&S.bIt("ionBlur",function(Wt){return qe._handleBlurEvent(Wt.target)})}}),We})();const qt=We=>{Nt(()=>{const et=We.nativeElement,Te=null!=et.value&&et.value.toString().length>0,qe=Yt(et);Tn(et,qe);const bt=et.closest("ion-item");bt&&Tn(bt,Te?[...qe,"item-has-value"]:qe)})},Yt=We=>{const et=We.classList,Te=[];for(let qe=0;qe{const Te=We.classList;Te.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),Te.add(...et)},An=(We,et)=>We.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,Wt=Object.keys(qe),hn=Object.keys(bt);if(Wt.length!==hn.length)return!1;for(const Et of Wt)if(bt[Et]!==qe[Et])return!1;return!0}}class pr{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:(be,ee,E)=>{"use strict";E.d(ee,{hG:()=>Ke,hB:()=>h,wH:()=>Xt,U1:()=>ae,Jm:()=>ie,QW:()=>ne,b_:()=>G,I9:()=>Ee,ME:()=>vt,tN:()=>rt,eY:()=>nn,ZB:()=>gt,hU:()=>ft,W9:()=>on,Q8:()=>En,YW:()=>St,M0:()=>yn,eU:()=>Bt,iq:()=>Cn,Ax:()=>Lt,Hp:()=>In,$w:()=>kt,uz:()=>Ot,he:()=>Ae,nf:()=>Ze,oS:()=>Pe,Sb:()=>bt,KO:()=>Ct,f0:()=>mt,To:()=>Rt,Ki:()=>Ft,Rg:()=>Xn,ln:()=>bn,w2:()=>jn,HP:()=>je,Jq:()=>ut,qW:()=>It,p4:()=>pr,IO:()=>Mt,BC:()=>qt,ai:()=>An,bv:()=>xr,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),O=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 oe=E(467);const ve=A.i,te=function(){var X=(0,oe.A)(function*($e,le){if(!(typeof window>"u"))return yield ve(),(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,Xe){return X.apply(this,arguments)}}(),se=["*"],m=["outlet"],n=[[["","slot","top"]],"*"],o=["[slot=top]","*"];function u(X,$e){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,Xe){super(le,Xe)}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,Xe){1&le&&a.bIt("ionChange",function(Nn){return Xe._handleIonChange(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),y=(()=>{class X extends p.fL{constructor(le,Xe){super(le,Xe)}_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,Xe){1&le&&a.bIt("ionSelect",function(Nn){return Xe._handleIonSelect(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),f=(()=>{class X extends p.fL{constructor(le,Xe){super(le,Xe)}_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,Xe){1&le&&a.bIt("ionChange",function(Nn){return Xe._handleChangeEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),r=(()=>{class X extends p.fL{constructor(le,Xe){super(le,Xe)}_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,Xe){1&le&&a.bIt("ionInput",function(Nn){return Xe._handleInputEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})();const d=(X,$e)=>{const le=X.prototype;$e.forEach(Xe=>{Object.defineProperty(le,Xe,{get(){return this.el[Xe]},set(_t){this.z.runOutsideAngular(()=>this.el[Xe]=_t)},configurable:!0})})},L=(X,$e)=>{const le=X.prototype;$e.forEach(Xe=>{le[Xe]=function(){const _t=arguments;return this.z.runOutsideAngular(()=>this.el[Xe].apply(this.el,_t))}})},I=(X,$e,le)=>{le.forEach(Xe=>X[Xe]=(0,c.R)($e,Xe))};function J(X){return function(le){const{defineCustomElementFn:Xe,inputs:_t,methods:Nn}=X;return void 0!==Xe&&Xe(),_t&&d(le,_t),Nn&&L(le,Nn),le}}let ae=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({})],X),X})(),ie=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({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,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse"]})],X),X})(),G=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],X),X})(),Ee=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["mode"]})],X),X})(),vt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","translucent"]})],X),X})(),rt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),nn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),gt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","disabled","mode","outline"]})],X),X})(),ft=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({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,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],X),X})(),En=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],X),X})(),St=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],X),X})(),yn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse","mode","translucent"]})],X),X})(),Bt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse","mode","translucent"]})],X),X})(),Cn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],X),X})(),Lt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["disabled","position","threshold"],methods:["complete"]})],X),X})(),In=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["loadingSpinner","loadingText"]})],X),X})(),kt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({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})(),Ot=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],X),X})(),Ae=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","position"]})],X),X})(),Ze=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],X),X})(),Pe=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],X),X})(),Ct=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),mt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["allowEmptySelection","compareWith","name","value"]})],X),X})(),Rt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],X),X})(),Ft=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],X),X})(),bn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({})],X),X})(),jn=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","duration","name","paused"]})],X),X})(),je=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["contentId","disabled","when"]})],X),X})(),ut=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","selectedTab","translucent"]})],X),X})(),It=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],X),X})(),Mt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),qt=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","size"]})],X),X})(),An=(()=>{let X=class{constructor(le,Xe,_t){this.z=_t,le.detach(),this.el=Xe.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,Xe){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),Xn=(()=>{class X extends p.Rg{constructor(le,Xe,_t,Nn,vr,Br,ei,Jr){super(le,Xe,_t,Nn,vr,Br,ei,Jr),this.parentOutlet=Jr}}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})(),pr=(()=>{class X extends p.p4{}return X.\u0275fac=(()=>{let $e;return function(Xe){return($e||($e=a.xGo(X)))(Xe||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tabs"]],contentQueries:function(le,Xe,_t){if(1&le&&(a.wni(_t,ut,5),a.wni(_t,ut,4)),2&le){let Nn;a.mGM(Nn=a.lsd())&&(Xe.tabBar=Nn.first),a.mGM(Nn=a.lsd())&&(Xe.tabBars=Nn)}},viewQuery:function(le,Xe){if(1&le&&a.GBs(m,5,Xn),2&le){let _t;a.mGM(_t=a.lsd())&&(Xe.outlet=_t.first)}},features:[a.Vt3],ngContentSelectors:o,decls:6,vars:0,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(le,Xe){if(1&le){const _t=a.RV6();a.NAR(n),a.SdG(0),a.j41(1,"div",2,0)(3,"ion-router-outlet",3,1),a.bIt("stackWillChange",function(vr){return a.eBV(_t),a.Njj(Xe.onStackWillChange(vr))})("stackDidChange",function(vr){return a.eBV(_t),a.Njj(Xe.onStackDidChange(vr))}),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 $e;return function(Xe){return($e||($e=a.xGo(X)))(Xe||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,Xe){1&le&&a.DNE(0,u,2,1,"div",0),2&le&&a.Y8G("ngIf",Xe.isCmpOpen||Xe.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 $e;return function(Xe){return($e||($e=a.xGo(X)))(Xe||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,Xe){2&le&&a.BMQ("max",Xe._enabled?Xe.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 $e;return function(Xe){return($e||($e=a.xGo(X)))(Xe||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,Xe){2&le&&a.BMQ("min",Xe._enabled?Xe.min:null)},features:[a.Jv_([zt]),a.Vt3]}),X})(),Ke=(()=>{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,Xe=!1){return Xe&&Object.getOwnPropertyNames(le).forEach(_t=>{if("function"==typeof le[_t]){const Nn=le[_t];le[_t]=(...vr)=>this.zone.run(()=>Nn(...vr))}}),(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($e){return super.create({...$e,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,$e,le)=>()=>{const Xe=$e.defaultView;if(Xe&&typeof window<"u"){(0,B.s)({...X,_zoneGate:Nn=>le.run(Nn)});const _t="__zone_symbol__addEventListener"in $e.body?"__zone_symbol__addEventListener":"addEventListener";return function K(){var X=[];if(typeof window<"u"){var $e=window;(!$e.customElements||$e.Element&&(!$e.Element.prototype.closest||!$e.Element.prototype.matches||!$e.Element.prototype.remove||!$e.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||$e.NodeList&&!$e.NodeList.prototype.forEach||!$e.fetch||!function(){try{var Xe=new URL("b","http://a");return Xe.pathname="c%20d","http://a/c%20d"===Xe.href&&Xe.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(Xe,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:p.er,jmp:Nn=>le.runOutsideAngular(Nn),ael(Nn,vr,Br,ei){Nn[_t](vr,Br,ei)},rel(Nn,vr,Br,ei){Nn.removeEventListener(vr,Br,ei)}}))}};let xr=(()=>{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:(be,ee,E)=>{"use strict";E.d(ee,{Wr:()=>R,h:()=>I,D9:()=>L,c$:()=>r});var a=E(4438),S=E(7673),p=E(4402),O=E(7468),c=E(8793),D=E(9030),C=E(6697),_=E(2771),T=E(8750),w=E(1413),g=E(7707),F=E(9974);function B(V,J,...re){if(!0===J)return void V();if(!1===J)return;const me=new g.Ms({next:()=>{me.unsubscribe(),V()}});return(0,T.Tg)(J(...re)).subscribe(me)}function P(V,J,re){let me,Me=!1;return V&&"object"==typeof V?({bufferSize:me=1/0,windowTime:J=1/0,refCount:Me=!1,scheduler:re}=V):me=null!=V?V:1/0,function A(V={}){const{connector:J=(()=>new w.B),resetOnError:re=!0,resetOnComplete:me=!0,resetOnRefCountZero:Me=!0}=V;return Q=>{let ae,tt,Re,pe=0,Ie=!1,Se=!1;const ie=()=>{null==tt||tt.unsubscribe(),tt=void 0},ne=()=>{ie(),ae=Re=void 0,Ie=Se=!1},G=()=>{const Ee=ae;ne(),null==Ee||Ee.unsubscribe()};return(0,F.N)((Ee,vt)=>{pe++,!Se&&!Ie&&ie();const Qe=Re=null!=Re?Re:J();vt.add(()=>{pe--,0===pe&&!Se&&!Ie&&(tt=B(G,Me))}),Qe.subscribe(vt),!ae&&pe>0&&(ae=new g.Ms({next:rt=>Qe.next(rt),error:rt=>{Se=!0,ie(),tt=B(ne,re,rt),Qe.error(rt)},complete:()=>{Ie=!0,ie(),tt=B(ne,me),Qe.complete()}}),(0,T.Tg)(Ee).subscribe(ae))})(Q)}}({connector:()=>new _.m(me,J,re),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Me})}var $=E(6354),k=E(274),M=E(5558);class R{}let U=(()=>{class V extends R{getTranslation(re){return(0,S.of)({})}}return V.\u0275fac=(()=>{let J;return function(me){return(J||(J=a.xGo(V)))(me||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class j{}let K=(()=>{class V{handle(re){return re.key}}return V.\u0275fac=function(re){return new(re||V)},V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();function oe(V,J){if(V===J)return!0;if(null===V||null===J)return!1;if(V!=V&&J!=J)return!0;let Me,Q,ae,re=typeof V;if(re==typeof J&&"object"==re){if(!Array.isArray(V)){if(Array.isArray(J))return!1;for(Q in ae=Object.create(null),V){if(!oe(V[Q],J[Q]))return!1;ae[Q]=!0}for(Q in J)if(!(Q in ae)&&typeof J[Q]<"u")return!1;return!0}if(!Array.isArray(J))return!1;if((Me=V.length)==J.length){for(Q=0;Q{te(J[me])?me in V?re[me]=se(V[me],J[me]):Object.assign(re,{[me]:J[me]}):Object.assign(re,{[me]:J[me]})}),re}class m{}let n=(()=>{class V extends m{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(re,me){let Me;return Me="string"==typeof re?this.interpolateString(re,me):"function"==typeof re?this.interpolateFunction(re,me):re,Me}getValue(re,me){let Me="string"==typeof me?me.split("."):[me];me="";do{me+=Me.shift(),!ve(re)||!ve(re[me])||"object"!=typeof re[me]&&Me.length?Me.length?me+=".":re=void 0:(re=re[me],me="")}while(Me.length);return re}interpolateFunction(re,me){return re(me)}interpolateString(re,me){return me?re.replace(this.templateMatcher,(Me,Q)=>{let ae=this.getValue(me,Q);return ve(ae)?ae:Me}):re}}return V.\u0275fac=(()=>{let J;return function(me){return(J||(J=a.xGo(V)))(me||V)}})(),V.\u0275prov=a.jDH({token:V,factory:V.\u0275fac}),V})();class o{}let u=(()=>{class V extends o{compile(re,me){return re}compileTranslations(re,me){return re}}return V.\u0275fac=(()=>{let J;return function(me){return(J||(J=a.xGo(V)))(me||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(re,me,Me,Q,ae,tt=!0,Re=!1,pe=!1,Ie){this.store=re,this.currentLoader=me,this.compiler=Me,this.parser=Q,this.missingTranslationHandler=ae,this.useDefaultLang=tt,this.isolate=Re,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(re){this.isolate?this._defaultLang=re:this.store.defaultLang=re}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(re){this.isolate?this._currentLang=re:this.store.currentLang=re}get langs(){return this.isolate?this._langs:this.store.langs}set langs(re){this.isolate?this._langs=re:this.store.langs=re}get translations(){return this.isolate?this._translations:this.store.translations}set translations(re){this.isolate?this._translations=re:this.store.translations=re}setDefaultLang(re){if(re===this.defaultLang)return;let me=this.retrieveTranslations(re);typeof me<"u"?(null==this.defaultLang&&(this.defaultLang=re),me.pipe((0,C.s)(1)).subscribe(Me=>{this.changeDefaultLang(re)})):this.changeDefaultLang(re)}getDefaultLang(){return this.defaultLang}use(re){if(re===this.currentLang)return(0,S.of)(this.translations[re]);let me=this.retrieveTranslations(re);return typeof me<"u"?(this.currentLang||(this.currentLang=re),me.pipe((0,C.s)(1)).subscribe(Me=>{this.changeLang(re)}),me):(this.changeLang(re),(0,S.of)(this.translations[re]))}retrieveTranslations(re){let me;return(typeof this.translations[re]>"u"||this.extend)&&(this._translationRequests[re]=this._translationRequests[re]||this.getTranslation(re),me=this._translationRequests[re]),me}getTranslation(re){this.pending=!0;const me=this.currentLoader.getTranslation(re).pipe(P(1),(0,C.s)(1));return this.loadingTranslations=me.pipe((0,$.T)(Me=>this.compiler.compileTranslations(Me,re)),P(1),(0,C.s)(1)),this.loadingTranslations.subscribe({next:Me=>{this.translations[re]=this.extend&&this.translations[re]?{...Me,...this.translations[re]}:Me,this.updateLangs(),this.pending=!1},error:Me=>{this.pending=!1}}),me}setTranslation(re,me,Me=!1){me=this.compiler.compileTranslations(me,re),this.translations[re]=(Me||this.extend)&&this.translations[re]?se(this.translations[re],me):me,this.updateLangs(),this.onTranslationChange.emit({lang:re,translations:this.translations[re]})}getLangs(){return this.langs}addLangs(re){re.forEach(me=>{-1===this.langs.indexOf(me)&&this.langs.push(me)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(re,me,Me){let Q;if(me instanceof Array){let ae={},tt=!1;for(let Re of me)ae[Re]=this.getParsedResult(re,Re,Me),(0,p.A)(ae[Re])&&(tt=!0);if(tt){const Re=me.map(pe=>(0,p.A)(ae[pe])?ae[pe]:(0,S.of)(ae[pe]));return(0,O.p)(Re).pipe((0,$.T)(pe=>{let Ie={};return pe.forEach((Se,ie)=>{Ie[me[ie]]=Se}),Ie}))}return ae}if(re&&(Q=this.parser.interpolate(this.parser.getValue(re,me),Me)),typeof Q>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Q=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],me),Me)),typeof Q>"u"){let ae={key:me,translateService:this};typeof Me<"u"&&(ae.interpolateParams=Me),Q=this.missingTranslationHandler.handle(ae)}return typeof Q<"u"?Q:me}get(re,me){if(!ve(re)||!re.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,k.H)(Me=>(Me=this.getParsedResult(Me,re,me),(0,p.A)(Me)?Me:(0,S.of)(Me))));{let Me=this.getParsedResult(this.translations[this.currentLang],re,me);return(0,p.A)(Me)?Me:(0,S.of)(Me)}}getStreamOnTranslationChange(re,me){if(!ve(re)||!re.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(re,me)),this.onTranslationChange.pipe((0,M.n)(Me=>{const Q=this.getParsedResult(Me.translations,re,me);return"function"==typeof Q.subscribe?Q:(0,S.of)(Q)})))}stream(re,me){if(!ve(re)||!re.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(re,me)),this.onLangChange.pipe((0,M.n)(Me=>{const Q=this.getParsedResult(Me.translations,re,me);return(0,p.A)(Q)?Q:(0,S.of)(Q)})))}instant(re,me){if(!ve(re)||!re.length)throw new Error('Parameter "key" required');let Me=this.getParsedResult(this.translations[this.currentLang],re,me);if((0,p.A)(Me)){if(re instanceof Array){let Q={};return re.forEach((ae,tt)=>{Q[re[tt]]=re[tt]}),Q}return re}return Me}set(re,me,Me=this.currentLang){this.translations[Me][re]=this.compiler.compile(me,Me),this.updateLangs(),this.onTranslationChange.emit({lang:Me,translations:this.translations[Me]})}changeLang(re){this.currentLang=re,this.onLangChange.emit({lang:re,translations:this.translations[re]}),null==this.defaultLang&&this.changeDefaultLang(re)}changeDefaultLang(re){this.defaultLang=re,this.onDefaultLangChange.emit({lang:re,translations:this.translations[re]})}reloadLang(re){return this.resetLang(re),this.getTranslation(re)}resetLang(re){this._translationRequests[re]=void 0,this.translations[re]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let re=window.navigator.languages?window.navigator.languages[0]:null;return re=re||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof re>"u"?void 0:(-1!==re.indexOf("-")&&(re=re.split("-")[0]),-1!==re.indexOf("_")&&(re=re.split("_")[0]),re)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let re=window.navigator.languages?window.navigator.languages[0]:null;return re=re||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,re}}return V.\u0275fac=function(re){return new(re||V)(a.KVO(s),a.KVO(R),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(re,me){this.translate=re,this._ref=me,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(re,me,Me){let Q=ae=>{this.value=void 0!==ae?ae:re,this.lastKey=re,this._ref.markForCheck()};if(Me){let ae=this.translate.getParsedResult(Me,re,me);(0,p.A)(ae.subscribe)?ae.subscribe(Q):Q(ae)}this.translate.get(re,me).subscribe(Q)}transform(re,...me){if(!re||!re.length)return re;if(oe(re,this.lastKey)&&oe(me,this.lastParams))return this.value;let Me;if(ve(me[0])&&me.length)if("string"==typeof me[0]&&me[0].length){let Q=me[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Me=JSON.parse(Q)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${me[0]}`)}}else"object"==typeof me[0]&&!Array.isArray(me[0])&&(Me=me[0]);return this.lastKey=re,this.lastParams=me,this.updateValue(re,Me),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Q=>{this.lastKey&&Q.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(re,Me,Q.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Q=>{this.lastKey&&(this.lastKey=null,this.updateValue(re,Me,Q.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(re,Me))})),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(re){return new(re||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(re={}){return{ngModule:V,providers:[re.loader||{provide:R,useClass:U},re.compiler||{provide:o,useClass:u},re.parser||{provide:m,useClass:n},re.missingTranslationHandler||{provide:j,useClass:K},s,{provide:h,useValue:re.isolate},{provide:v,useValue:re.useDefaultLang},{provide:f,useValue:re.extend},{provide:y,useValue:re.defaultLanguage},r]}}static forChild(re={}){return{ngModule:V,providers:[re.loader||{provide:R,useClass:U},re.compiler||{provide:o,useClass:u},re.parser||{provide:m,useClass:n},re.missingTranslationHandler||{provide:j,useClass:K},{provide:h,useValue:re.isolate},{provide:v,useValue:re.useDefaultLang},{provide:f,useValue:re.extend},{provide:y,useValue:re.defaultLanguage},r]}}}return V.\u0275fac=function(re){return new(re||V)},V.\u0275mod=a.$C({type:V}),V.\u0275inj=a.G2t({}),V})()},467:(be,ee,E)=>{"use strict";function a(p,O,c,D,C,_,T){try{var w=p[_](T),g=w.value}catch(F){return void c(F)}w.done?O(g):Promise.resolve(g).then(D,C)}function S(p){return function(){var O=this,c=arguments;return new Promise(function(D,C){var _=p.apply(O,c);function T(g){a(_,D,C,T,w,"next",g)}function w(g){a(_,D,C,T,w,"throw",g)}T(void 0)})}}E.d(ee,{A:()=>S})},1635:(be,ee,E)=>{"use strict";E.d(ee,{AQ:()=>K,C6:()=>S,Cg:()=>c,N3:()=>j,sH:()=>F,xN:()=>ve});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 re,V=arguments.length,J=V<3?d:null===I?I=Object.getOwnPropertyDescriptor(d,L):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)J=Reflect.decorate(r,d,L,I);else for(var me=r.length-1;me>=0;me--)(re=r[me])&&(J=(V<3?re(J):V>3?re(d,L,J):re(d,L))||J);return V>3&&J&&Object.defineProperty(d,L,J),J}function F(r,d,L,I){return new(L||(L=Promise))(function(J,re){function me(ae){try{Q(I.next(ae))}catch(tt){re(tt)}}function Me(ae){try{Q(I.throw(ae))}catch(tt){re(tt)}}function Q(ae){ae.done?J(ae.value):function V(J){return J instanceof L?J:new L(function(re){re(J)})}(ae.value).then(me,Me)}Q((I=I.apply(r,d||[])).next())})}function j(r){return this instanceof j?(this.v=r,this):new j(r)}function K(r,d,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,I=L.apply(r,d||[]),J=[];return V={},re("next"),re("throw"),re("return"),V[Symbol.asyncIterator]=function(){return this},V;function re(Re){I[Re]&&(V[Re]=function(pe){return new Promise(function(Ie,Se){J.push([Re,pe,Ie,Se])>1||me(Re,pe)})})}function me(Re,pe){try{!function Me(Re){Re.value instanceof j?Promise.resolve(Re.value.v).then(Q,ae):tt(J[0][2],Re)}(I[Re](pe))}catch(Ie){tt(J[0][3],Ie)}}function Q(Re){me("next",Re)}function ae(Re){me("throw",Re)}function tt(Re,pe){Re(pe),J.shift(),J.length&&me(J[0][0],J[0][1])}}function ve(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(J){L[J]=r[J]&&function(re){return new Promise(function(me,Me){!function V(J,re,me,Me){Promise.resolve(Me).then(function(Q){J({value:Q,done:me})},re)}(me,Me,(re=r[J](re)).done,re.value)})}}}"function"==typeof SuppressedError&&SuppressedError},3219:be=>{"use strict";be.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:be=>{"use strict";be.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:be=>{"use strict";be.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:be=>{"use strict";be.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:be=>{"use strict";be.exports={rE:"6.5.5"}},5579:be=>{"use strict";be.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"}')}},be=>{be(be.s=6313)}]); \ No newline at end of file diff --git a/www/ngsw.json b/www/ngsw.json index 7765edd..d3d3f2f 100644 --- a/www/ngsw.json +++ b/www/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1717411542431, + "timestamp": 1717479174948, "index": "/index.html", "assetGroups": [ { @@ -101,7 +101,7 @@ "/9977.dfb6af23e31fcb21.js", "/common.d5afa357a12054a6.js", "/index.html", - "/main.bafa0614efc2f09c.js", + "/main.0212cd05d6c4bfac.js", "/manifest.webmanifest", "/polyfills-core-js.c76198334f717402.js", "/polyfills-dom.bf542500b6fca113.js", @@ -821,8 +821,8 @@ "/assets/timer.svg": "57b27e5d93af2aabd1077ecd4c70bcab678f4472", "/assets/user.svg": "2dc572771661b2ccd3ea4ae06bf768778144cbec", "/common.d5afa357a12054a6.js": "4def9eb63d9c0e8e525a0fc947d54f807f1e5f88", - "/index.html": "8d213ee751a95d3dec363c5cc73db6a7cf5c8c6b", - "/main.bafa0614efc2f09c.js": "40972cafca5a4b77e0fb68a8ca654cde7fa4dd65", + "/index.html": "68dac23a70d753f12a40ed517be234fa71383f9f", + "/main.0212cd05d6c4bfac.js": "e6ddef4a4dc894bae07ef5afd33b27860787dd74", "/manifest.webmanifest": "5a927f2c991153c4e1fb8dd9fd7845bbe00ba537", "/polyfills-core-js.c76198334f717402.js": "d6e270a2944b6a95a9b97dafd25599ba825e8d7f", "/polyfills-dom.bf542500b6fca113.js": "3fa333db66c8050f12e99d977f5098a6de8dd593",