From 770d9cce3192da90bebcfbe3c673ecc94a186606 Mon Sep 17 00:00:00 2001 From: Pratiksha Khandagale Date: Wed, 18 Sep 2024 17:04:09 +0530 Subject: [PATCH] Updated www folder --- www/1983.565cb86a9a87ccac.js | 1 + www/1983.76c9c761d810d293.js | 1 - www/3119.a3736a034226f066.js | 1 + www/3119.bbf7c32983cab8d6.js | 1 - www/4294.7a9a0605eb308817.js | 1 - www/4294.a6a7a79833fbee90.js | 1 + www/4392.422841214a0f80b8.js | 1 + www/4392.b4fe58b088879926.js | 1 - www/4567.2a1836c7dd32dcb8.js | 1 + www/4567.ba4618208021696b.js | 1 - www/6674.5fa71f73e63dbf5d.js | 1 + www/6674.688d65923f438266.js | 1 - www/assets/appConfig/localhost.json | 143 +++++++++--------- www/index.html | 2 +- www/main.8b0e9eb50a5fe047.js | 1 - www/main.f31538c0cf323df4.js | 1 + www/ngsw.json | 38 ++--- ...a7546f6.js => runtime.25f15c934c44afe2.js} | 2 +- 18 files changed, 98 insertions(+), 101 deletions(-) create mode 100644 www/1983.565cb86a9a87ccac.js delete mode 100644 www/1983.76c9c761d810d293.js create mode 100644 www/3119.a3736a034226f066.js delete mode 100644 www/3119.bbf7c32983cab8d6.js delete mode 100644 www/4294.7a9a0605eb308817.js create mode 100644 www/4294.a6a7a79833fbee90.js create mode 100644 www/4392.422841214a0f80b8.js delete mode 100644 www/4392.b4fe58b088879926.js create mode 100644 www/4567.2a1836c7dd32dcb8.js delete mode 100644 www/4567.ba4618208021696b.js create mode 100644 www/6674.5fa71f73e63dbf5d.js delete mode 100644 www/6674.688d65923f438266.js delete mode 100644 www/main.8b0e9eb50a5fe047.js create mode 100644 www/main.f31538c0cf323df4.js rename www/{runtime.12f7b7853a7546f6.js => runtime.25f15c934c44afe2.js} (94%) diff --git a/www/1983.565cb86a9a87ccac.js b/www/1983.565cb86a9a87ccac.js new file mode 100644 index 0000000..e4a995e --- /dev/null +++ b/www/1983.565cb86a9a87ccac.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1983],{334:(S,_,r)=>{r.d(_,{s3:()=>f});const f=(0,r(5083).F3)("Keyboard")},1983:(S,_,r)=>{r.r(_),r.d(_,{SearchPageModule:()=>q});var g=r(177),u=r(9417),m=r(8974),f=r(3021),d=r(467),M=r(56),x=r(2849),b=r(9441),O=r(3649),D=r(334),t=r(4438),v=r(5402);let k=(()=>{var o;class h{constructor(n){this.modalCtrl=n}ngOnInit(){}hadleAudioSearch(){this.modalCtrl.dismiss("search")}}return(o=h).\u0275fac=function(n){return new(n||o)(t.rXU(m.W3))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-recording-alert"]],decls:15,vars:6,consts:[["lines","none"],[1,"record_audio"],[1,"msg_speak"],[1,"circle_ripple"],[1,"circle_ripple-2"],[1,"circle"],[1,"circle-2"],["aria-hidden","true","src","assets/icon/mic.svg"],[1,"search_div"],[3,"click"]],template:function(n,i){1&n&&(t.j41(0,"div")(1,"ion-item",0)(2,"ion-label",1),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"div",2),t.nrm(6,"div",3)(7,"div",4),t.j41(8,"div",5)(9,"div",6),t.nrm(10,"ion-icon",7),t.k0s()()(),t.j41(11,"div",8)(12,"ion-button",9),t.bIt("click",function(){return i.hadleAudioSearch()}),t.EFF(13),t.nI1(14,"translate"),t.k0s()()()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,2,"Speak...")),t.R7$(10),t.JRh(t.bMT(14,4,"Search")))},dependencies:[m.Jm,m.iq,m.uz,m.he,v.D9],styles:[".record_audio[_ngcontent-%COMP%]{font-size:20px;margin:.5rem 0 0 .5rem}.search_div[_ngcontent-%COMP%]{position:absolute;top:33%;left:50%;transform:translate(-50%,-50%)}.msg_speak[_ngcontent-%COMP%]{position:absolute;left:40%;top:-2%;bottom:100%;transform:translate(-50%)}.msg_speak[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:2rem!important;width:2rem!important}.circle_ripple[_ngcontent-%COMP%]{height:50px;width:50px;background:#36b37e;border-radius:50%;animation:_ngcontent-%COMP%_ripple 2s infinite;position:absolute;left:10px;top:110px;z-index:0}.circle_ripple-2[_ngcontent-%COMP%]{height:50px;width:50px;background:#36b37e;border-radius:50%;animation:_ngcontent-%COMP%_ripple-2 2s infinite;position:absolute;left:10px;top:110px}@keyframes _ngcontent-%COMP%_ripple{0%{transform:scale(1)}50%{transform:scale(2);opacity:.3}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_ripple-2{0%{transform:scale(1)}50%{transform:scale(2.5);opacity:.3}to{transform:scale(1)}}.circle[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:50%;background:#eaeaea;position:absolute;left:5px;top:105px}.circle-2[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:50%;background:#fff;position:absolute;left:5px;top:5px;box-shadow:0 0 8px #00000029;z-index:2}.circle-2[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:20px;position:absolute;left:10px;top:10px}"]}),h})();var T=r(8666),w=r(7420),P=r(5293),y=r(2904),R=r(9836),A=r(2186),I=r(444),j=r(5173),B=r(2297),G=r(4254);const F=["searchInput"],$=()=>[0,1,2,3,4,5,6,7,8];function X(o,h){1&o&&(t.j41(0,"ion-item",16)(1,"div",17),t.nrm(2,"app-skeleton-item",18),t.k0s(),t.j41(3,"ion-label",19),t.nrm(4,"app-skeleton-item",20)(5,"app-skeleton-item",21),t.k0s(),t.j41(6,"ion-label",22),t.nrm(7,"app-skeleton-item",23),t.k0s()())}function U(o,h){1&o&&(t.j41(0,"ion-list",12)(1,"ion-item",13)(2,"ion-label",14),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.DNE(5,X,8,0,"ion-item",15),t.k0s()),2&o&&(t.R7$(3),t.JRh(t.bMT(4,2,"Searching...")),t.R7$(2),t.Y8G("ngForOf",t.lJ4(4,$)))}function N(o,h){if(1&o&&(t.j41(0,"ion-list")(1,"ion-item",13)(2,"ion-label",24),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&o){const a=t.XpG();t.R7$(3),t.JRh(t.bMT(4,1,a.errMsg))}}function Y(o,h){if(1&o&&t.nrm(0,"img",34),2&o){const a=t.XpG().$implicit;t.Y8G("src",null!=a&&null!=a.metaData&&a.metaData.thumbnail&&!a.metaData.identifier.startsWith("do_")?null==a||null==a.metaData?null:a.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function E(o,h){if(1&o&&t.nrm(0,"img",35),2&o){const a=t.XpG().$implicit;t.Y8G("appThumbnail",null==a?null:a.metaData)}}function L(o,h){if(1&o&&t.nrm(0,"img",34),2&o){const a=t.XpG().$implicit;t.Y8G("src",null!=a&&null!=a.metaData&&a.metaData.thumbnail&&!a.metaData.identifier.startsWith("do_")?null==a||null==a.metaData?null:a.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function V(o,h){if(1&o&&t.nrm(0,"img",34),2&o){const a=t.XpG().$implicit;t.Y8G("src",null!=a&&null!=a.metaData&&a.metaData.thumbnail&&!a.metaData.identifier.startsWith("do_")?null==a||null==a.metaData?null:a.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function K(o,h){1&o&&t.nrm(0,"img",36)}function H(o,h){if(1&o){const a=t.RV6();t.j41(0,"ion-item",26),t.bIt("click",function(i){const e=t.eBV(a).$implicit,s=t.XpG(2);return t.Njj(s.playContent(i,e))}),t.j41(1,"div",27),t.DNE(2,Y,1,1,"img",28)(3,E,1,1,"img",29)(4,L,1,1,"img",28)(5,V,1,1,"img",28)(6,K,1,0,"img",30),t.k0s(),t.j41(7,"div",31)(8,"div",32),t.EFF(9),t.k0s(),t.j41(10,"ion-icon",33),t.bIt("click",function(i){const e=t.eBV(a).$implicit;return t.XpG(2).moreOtions(e),t.Njj(i.stopPropagation())}),t.k0s()()()}if(2&o){const a=h.$implicit,n=t.XpG(2);t.R7$(2),t.Y8G("ngIf",a.metaData.mimetype===n.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",(null==a||null==a.metaData?null:a.metaData.mimetype)===n.mimeType.YOUTUBE&&!a.play),t.R7$(),t.Y8G("ngIf",a.metaData.mimetype===n.mimeType.MP4),t.R7$(),t.Y8G("ngIf",a.metaData.mimetype===n.mimeType.PDF),t.R7$(),t.Y8G("ngIf",(null==a||null==a.metaData?null:a.metaData.mimetype)===(null==n.mimeType?null:n.mimeType.LINK)),t.R7$(3),t.JRh(null==a.metaData?null:a.metaData.name)}}function W(o,h){if(1&o&&(t.j41(0,"ion-list"),t.DNE(1,H,11,6,"ion-item",25),t.k0s()),2&o){const a=t.XpG();t.R7$(),t.Y8G("ngForOf",a.searchContentResult)}}const J=[{path:"",component:(()=>{var o;class h{constructor(n,i,e,s,l,c,p,C,tt,et){this.headerService=n,this.location=i,this.record=e,this.searchApi=s,this.modalCtrl=l,this.contentService=c,this.router=p,this.telemetryGeneratorService=C,this.storage=tt,this.platformLocation=et,this.showSheenAnimation=!1,this.searchKeywords="",this.searchContentResult=[],this.optModalOpen=!1,this.mimeType=M.Cc,this.noSearchData=!1,this.errMsg="",this.modalPresent=!1,this.disabled=!1,this.startRecording=!1,this.duration=0,this.durationDisplay="",this.platformLocation.onPopState(()=>{console.log("Back button pressed")})}onPopState(n){this.location.back()}tabViewWillEnter(){this.headerService.hideHeader(),this.headerService.showStatusBar(!1)}ngOnInit(){}navigateBack(){this.router.navigate(["/tabs/home"])}ionViewWillEnter(){this.headerService.hideHeader(),this.headerService.showStatusBar(!1)}ngOnDestroy(){var n=this;return(0,d.A)(function*(){const i=yield n.modalCtrl.getTop();i&&i.dismiss()})()}handleSearch(n,i=!1){var e=this;return(0,d.A)(function*(){if(i){e.showSheenAnimation=!0;let c=yield e.makeSearchContextApiCall(n,i);null!=c&&c.audioText?(c.audioText&&(e.searchKeywords=c.audioText),e.handleContentSearch(c,i)):(e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="Sorry, please try again!")}else if(e.searchKeywords.replace(/\s/g,"").length>0){var s;e.showSheenAnimation=!0,D.s3.hide();let c=yield e.makeSearchContextApiCall(e.searchKeywords,i);var l;null!=c&&null!==(s=c.input)&&void 0!==s&&s.sourceText&&(e.searchKeywords=null==c||null===(l=c.input)||void 0===l?void 0:l.sourceText),e.handleContentSearch(c,!1)}})()}makeSearchContextApiCall(n,i){var e=this;return(0,d.A)(function*(){return yield e.searchApi.postSearchContext({text:n,currentLang:yield e.storage.getData("lang")},i).then(s=>s).catch(s=>{var l;i?(e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="unsupported language!"==(null==s||null===(l=s.body)||void 0===l||null===(l=l.detail)||void 0===l?void 0:l.toLowerCase())?"Sorry, this language is not currently supported.":"Sorry, please try again!"):e.handleContentSearch("",!1)})})()}handleContentSearch(n,i=!1){var e=this;return(0,d.A)(function*(){var s;let l={name:null!==(s=null==n?void 0:n.context)&&void 0!==s?s:e.searchKeywords};yield e.searchApi.postContentSearch(l,yield e.storage.getData("lang")).then(c=>{if(e.telemetryGeneratorService.generateSearchTelemetry(i?"audio":"text",i?"":e.searchKeywords,c.length,"search",""),e.disabled=!1,c.length>0){e.showSheenAnimation=!1,e.noSearchData=!1;let p={};e.searchContentResult=[],c.forEach(C=>{p={},p.source="djp",p.sourceType="djp-content",p.metaData=C,e.searchContentResult.push(p)})}else e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="No Result"}).catch(c=>{var p;e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="unsupported language!"==(null==c||null===(p=c.body)||void 0===p||null===(p=p.detail)||void 0===p?void 0:p.toLowerCase())?"Sorry, this language is not currently supported.":"Sorry, please try again!"})})()}moreOtions(n){var i=this;return(0,d.A)(function*(){let e;i.optModalOpen||(i.optModalOpen=!0,e=yield i.modalCtrl.create({component:x.q,componentProps:{content:n},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield e.present()),e.onDidDismiss().then(function(){var s=(0,d.A)(function*(l){i.optModalOpen=!1,l.data&&"addToPitara"===l.data.type?i.addContentToMyPitara(l.data.content||n):l.data&&"like"==l.data.type&&(i.contentService.likeContent(l.data.content||n,"guest",!0),l.data.content.metaData.isLiked&&(yield T.Q.play({assetId:"windchime"}),(0,w.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})),i.telemetryGeneratorService.generateInteractTelemetry("TOUCH","content-liked","search","search",new O.$i(null==n?void 0:n.metaData.identifier,null==n?void 0:n.metaData.mimetype,"")))});return function(l){return s.apply(this,arguments)}}())})()}addContentToMyPitara(n){var i=this;return(0,d.A)(function*(){const e=yield i.modalCtrl.create({component:b.$,componentProps:{content:n},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield e.present(),e.onWillDismiss().then(s=>{})})()}playContent(n,i){var e=this;return(0,d.A)(function*(){e.contentService.markContentAsViewed(i),yield e.router.navigate(["/player"],{state:{content:i}})})()}onLongPressStart(){var n=this;return(0,d.A)(function*(){n.searchKeywords="",(yield(yield P.R.hasAudioRecordingPermission()).value)?(n.record.startRecognition("search"),n.disabled=!0,n.startRecording=!0,n.presentPopover(event),n.calculation()):yield P.R.requestAudioRecordingPermission()})()}presentPopover(n){var i=this;return(0,d.A)(function*(){i.modal=yield i.modalCtrl.create({component:k,cssClass:"sheet-modal",breakpoints:[.4],showBackdrop:!1,initialBreakpoint:.4,handle:!1,handleBehavior:"none"}),i.modalPresent=!0,yield i.modal.present(),yield i.modal.onDidDismiss().then(e=>{"search"===e.data&&i.onLongPressEnd()})})()}calculation(){if(!this.startRecording)return this.duration=0,void(this.durationDisplay="");this.duration+=1;const n=Math.floor(this.duration/60),i=(this.duration%60).toString().padStart(2,"0");this.durationDisplay=`${n}:${i}`,this.durationDisplay>"0:05"&&this.onLongPressEnd(),setTimeout(()=>{this.calculation()},1e3)}onLongPressEnd(){var n=this;return(0,d.A)(function*(){yield n.record.stopRecognition("search").then(function(){var i=(0,d.A)(function*(e){n.modalPresent&&(n.modalPresent=!1,yield n.modal.dismiss()),n.startRecording=!1,n.handleSearch(e,!0)});return function(e){return i.apply(this,arguments)}}())})()}}return(o=h).\u0275fac=function(n){return new(n||o)(t.rXU(y.Ux),t.rXU(g.aZ),t.rXU(R.X),t.rXU(A.S),t.rXU(m.W3),t.rXU(I.f),t.rXU(f.Ix),t.rXU(j.O),t.rXU(y.n$),t.rXU(g.Vw))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-search"]],viewQuery:function(n,i){if(1&n&&t.GBs(F,5),2&n){let e;t.mGM(e=t.lsd())&&(i.searchBar=e.first)}},hostBindings:function(n,i){1&n&&t.bIt("popstate",function(s){return i.onPopState(s)},!1,t.tSv)},decls:16,vars:9,consts:[["searchInput",""],[1,"custom-header"],[1,"header-content"],["slot","start",1,"start-icon"],[3,"click"],["aria-hidden","true","src","assets/icon/back.svg"],["type","search","fill","outline","shape","round",3,"keyup.enter","ngModelChange","disabled","ngModel","placeholder"],["slot","end"],[3,"click","disabled"],["aria-hidden","true","src","assets/icon/mic.svg"],["class","m-n",4,"ngIf"],[4,"ngIf"],[1,"m-n"],["lines","none"],[1,"ion-text-center"],["lines","none","style","padding: 5px;",4,"ngFor","ngForOf"],["lines","none",2,"padding","5px"],["item-start","",2,"border-radius","16px"],["height","100px","width","200px","radius","16px",2,"border-radius","16px"],[2,"padding-left","10px"],["height","12px","width","100px",2,"padding-bottom","8px"],["height","12px","width","80px",2,"padding-bottom","8px"],[2,"padding-left","30px"],["height","12px","width","10px",2,"padding-bottom","8px"],[1,"no-data"],["lines","none",3,"click",4,"ngFor","ngForOf"],["lines","none",3,"click"],[1,"card__img"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],[1,"card__metadata"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],["alt","",3,"src"],["appThumbnail","","alt","",3,"appThumbnail"],["src","assets/images/LINK.png","alt",""]],template:function(n,i){if(1&n){const e=t.RV6();t.j41(0,"ion-header")(1,"ion-toolbar",1)(2,"div",2)(3,"ion-buttons",3)(4,"ion-button",4),t.bIt("click",function(){return t.eBV(e),t.Njj(i.navigateBack())}),t.nrm(5,"ion-icon",5),t.k0s()(),t.j41(6,"ion-input",6,0),t.nI1(8,"translate"),t.bIt("keyup.enter",function(){return t.eBV(e),t.Njj(i.handleSearch())})("ngModelChange",function(){return t.eBV(e),t.Njj(!i.searchContentResult)}),t.mxI("ngModelChange",function(l){return t.eBV(e),t.DH7(i.searchKeywords,l)||(i.searchKeywords=l),t.Njj(l)}),t.k0s(),t.j41(9,"ion-buttons",7)(10,"ion-button",8),t.bIt("click",function(){return t.eBV(e),t.Njj(i.onLongPressStart())}),t.nrm(11,"ion-icon",9),t.k0s()()()()(),t.j41(12,"ion-content"),t.DNE(13,U,6,5,"ion-list",10)(14,N,5,3,"ion-list",11)(15,W,2,1,"ion-list",11),t.k0s()}2&n&&(t.R7$(6),t.Y8G("disabled",i.disabled),t.R50("ngModel",i.searchKeywords),t.Y8G("placeholder",t.bMT(8,7,"SEARCH_HINT")),t.R7$(4),t.Y8G("disabled",i.disabled),t.R7$(3),t.Y8G("ngIf",i.showSheenAnimation),t.R7$(),t.Y8G("ngIf",!i.showSheenAnimation&&i.noSearchData),t.R7$(),t.Y8G("ngIf",!i.showSheenAnimation&&i.searchContentResult.length>0))},dependencies:[g.Sq,g.bT,u.BC,u.vS,m.Jm,m.QW,m.W9,m.eU,m.iq,m.$w,m.uz,m.he,m.nf,m.ai,m.Gw,B.O,G.g,v.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-header[_ngcontent-%COMP%]{box-shadow:none}ion-header[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:var(--ion-color-primary)}ion-content[_ngcontent-%COMP%]{--padding-top: 0 !important}.header-content[_ngcontent-%COMP%]{display:flex} .toolbar-container{padding:0!important;min-height:auto}ion-input[_ngcontent-%COMP%]{margin-top:.5rem;min-height:3rem!important;--border-color: var(--ion-color-medium) !important;--highlight-color: var(--ion-color-secondary-contrast) !important}ion-icon[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;margin-left:0}.card__img[_ngcontent-%COMP%]{width:40%;height:auto}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:90%!important}.card__metadata[_ngcontent-%COMP%]{padding-top:0;padding-left:1rem;align-items:center;width:60%;height:90%}ion-list[_ngcontent-%COMP%]{background-color:transparent}ion-item[_ngcontent-%COMP%]{--background: transparent}.search_text[_ngcontent-%COMP%]{text-align:center}"]}),h})()}];let z=(()=>{var o;class h{}return(o=h).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[f.iI.forChild(J),f.iI]}),h})();var Q=r(3721),Z=r(5553);let q=(()=>{var o;class h{}return(o=h).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[g.MD,u.YN,m.bv,z,v.h,Z.h,Q.h]}),h})()}}]); \ No newline at end of file diff --git a/www/1983.76c9c761d810d293.js b/www/1983.76c9c761d810d293.js deleted file mode 100644 index e500cd5..0000000 --- a/www/1983.76c9c761d810d293.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1983],{334:(S,_,r)=>{r.d(_,{s3:()=>f});const f=(0,r(5083).F3)("Keyboard")},1983:(S,_,r)=>{r.r(_),r.d(_,{SearchPageModule:()=>q});var g=r(177),u=r(9417),m=r(8974),f=r(3021),d=r(467),M=r(56),x=r(2849),b=r(9441),O=r(3649),D=r(334),t=r(4438),v=r(5402);let k=(()=>{var o;class h{constructor(n){this.modalCtrl=n}ngOnInit(){}hadleAudioSearch(){this.modalCtrl.dismiss("search")}}return(o=h).\u0275fac=function(n){return new(n||o)(t.rXU(m.W3))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-recording-alert"]],decls:15,vars:6,consts:[["lines","none"],[1,"record_audio"],[1,"msg_speak"],[1,"circle_ripple"],[1,"circle_ripple-2"],[1,"circle"],[1,"circle-2"],["aria-hidden","true","src","assets/icon/mic.svg"],[1,"search_div"],[3,"click"]],template:function(n,a){1&n&&(t.j41(0,"div")(1,"ion-item",0)(2,"ion-label",1),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"div",2),t.nrm(6,"div",3)(7,"div",4),t.j41(8,"div",5)(9,"div",6),t.nrm(10,"ion-icon",7),t.k0s()()(),t.j41(11,"div",8)(12,"ion-button",9),t.bIt("click",function(){return a.hadleAudioSearch()}),t.EFF(13),t.nI1(14,"translate"),t.k0s()()()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,2,"Speak...")),t.R7$(10),t.JRh(t.bMT(14,4,"Search")))},dependencies:[m.Jm,m.iq,m.uz,m.he,v.D9],styles:[".record_audio[_ngcontent-%COMP%]{font-size:20px;margin:.5rem 0 0 .5rem}.search_div[_ngcontent-%COMP%]{position:absolute;top:33%;left:50%;transform:translate(-50%,-50%)}.msg_speak[_ngcontent-%COMP%]{position:absolute;left:40%;top:-2%;bottom:100%;transform:translate(-50%)}.msg_speak[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:2rem!important;width:2rem!important}.circle_ripple[_ngcontent-%COMP%]{height:50px;width:50px;background:#36b37e;border-radius:50%;animation:_ngcontent-%COMP%_ripple 2s infinite;position:absolute;left:10px;top:110px;z-index:0}.circle_ripple-2[_ngcontent-%COMP%]{height:50px;width:50px;background:#36b37e;border-radius:50%;animation:_ngcontent-%COMP%_ripple-2 2s infinite;position:absolute;left:10px;top:110px}@keyframes _ngcontent-%COMP%_ripple{0%{transform:scale(1)}50%{transform:scale(2);opacity:.3}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_ripple-2{0%{transform:scale(1)}50%{transform:scale(2.5);opacity:.3}to{transform:scale(1)}}.circle[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:50%;background:#eaeaea;position:absolute;left:5px;top:105px}.circle-2[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:50%;background:#fff;position:absolute;left:5px;top:5px;box-shadow:0 0 8px #00000029;z-index:2}.circle-2[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:20px;position:absolute;left:10px;top:10px}"]}),h})();var w=r(8666),T=r(7420),P=r(5293),y=r(2904),R=r(9836),A=r(2186),I=r(444),B=r(5173),j=r(2297),G=r(4254);const F=["searchInput"],$=()=>[0,1,2,3,4,5,6,7,8];function X(o,h){1&o&&(t.j41(0,"ion-item",16)(1,"div",17),t.nrm(2,"app-skeleton-item",18),t.k0s(),t.j41(3,"ion-label",19),t.nrm(4,"app-skeleton-item",20)(5,"app-skeleton-item",21),t.k0s(),t.j41(6,"ion-label",22),t.nrm(7,"app-skeleton-item",23),t.k0s()())}function U(o,h){1&o&&(t.j41(0,"ion-list",12)(1,"ion-item",13)(2,"ion-label",14),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.DNE(5,X,8,0,"ion-item",15),t.k0s()),2&o&&(t.R7$(3),t.JRh(t.bMT(4,2,"Searching...")),t.R7$(2),t.Y8G("ngForOf",t.lJ4(4,$)))}function Y(o,h){if(1&o&&(t.j41(0,"ion-list")(1,"ion-item",13)(2,"ion-label",24),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&o){const i=t.XpG();t.R7$(3),t.JRh(t.bMT(4,1,i.errMsg))}}function E(o,h){if(1&o&&t.nrm(0,"img",33),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function N(o,h){if(1&o&&t.nrm(0,"img",34),2&o){const i=t.XpG().$implicit;t.Y8G("appThumbnail",null==i?null:i.metaData)}}function V(o,h){if(1&o&&t.nrm(0,"img",33),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function L(o,h){if(1&o&&t.nrm(0,"img",33),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function K(o,h){if(1&o&&t.nrm(0,"img",33),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function W(o,h){if(1&o){const i=t.RV6();t.j41(0,"ion-item",26),t.bIt("click",function(a){const e=t.eBV(i).$implicit,s=t.XpG(2);return t.Njj(s.playContent(a,e))}),t.j41(1,"div",27),t.DNE(2,E,1,1,"img",28)(3,N,1,1,"img",29)(4,V,1,1,"img",28)(5,L,1,1,"img",28)(6,K,1,1,"img",28),t.k0s(),t.j41(7,"div",30)(8,"div",31),t.EFF(9),t.k0s(),t.j41(10,"ion-icon",32),t.bIt("click",function(a){const e=t.eBV(i).$implicit;return t.XpG(2).moreOtions(e),t.Njj(a.stopPropagation())}),t.k0s()()()}if(2&o){const i=h.$implicit,n=t.XpG(2);t.R7$(2),t.Y8G("ngIf",i.metaData.mimetype===n.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",(null==i||null==i.metaData?null:i.metaData.mimetype)===n.mimeType.YOUTUBE&&!i.play),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===n.mimeType.MP4),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===n.mimeType.PDF),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===n.mimeType.LINK),t.R7$(3),t.JRh(null==i.metaData?null:i.metaData.name)}}function H(o,h){if(1&o&&(t.j41(0,"ion-list"),t.DNE(1,W,11,6,"ion-item",25),t.k0s()),2&o){const i=t.XpG();t.R7$(),t.Y8G("ngForOf",i.searchContentResult)}}const J=[{path:"",component:(()=>{var o;class h{constructor(n,a,e,s,l,c,p,C,tt,et){this.headerService=n,this.location=a,this.record=e,this.searchApi=s,this.modalCtrl=l,this.contentService=c,this.router=p,this.telemetryGeneratorService=C,this.storage=tt,this.platformLocation=et,this.showSheenAnimation=!1,this.searchKeywords="",this.searchContentResult=[],this.optModalOpen=!1,this.mimeType=M.Cc,this.noSearchData=!1,this.errMsg="",this.modalPresent=!1,this.disabled=!1,this.startRecording=!1,this.duration=0,this.durationDisplay="",this.platformLocation.onPopState(()=>{console.log("Back button pressed")})}onPopState(n){this.location.back()}tabViewWillEnter(){this.headerService.hideHeader(),this.headerService.showStatusBar(!1)}ngOnInit(){}navigateBack(){this.router.navigate(["/tabs/home"])}ionViewWillEnter(){this.headerService.hideHeader(),this.headerService.showStatusBar(!1)}ngOnDestroy(){var n=this;return(0,d.A)(function*(){const a=yield n.modalCtrl.getTop();a&&a.dismiss()})()}handleSearch(n,a=!1){var e=this;return(0,d.A)(function*(){if(a){e.showSheenAnimation=!0;let c=yield e.makeSearchContextApiCall(n,a);null!=c&&c.audioText?(c.audioText&&(e.searchKeywords=c.audioText),e.handleContentSearch(c,a)):(e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="Sorry, please try again!")}else if(e.searchKeywords.replace(/\s/g,"").length>0){var s;e.showSheenAnimation=!0,D.s3.hide();let c=yield e.makeSearchContextApiCall(e.searchKeywords,a);var l;null!=c&&null!==(s=c.input)&&void 0!==s&&s.sourceText&&(e.searchKeywords=null==c||null===(l=c.input)||void 0===l?void 0:l.sourceText),e.handleContentSearch(c,!1)}})()}makeSearchContextApiCall(n,a){var e=this;return(0,d.A)(function*(){return yield e.searchApi.postSearchContext({text:n,currentLang:yield e.storage.getData("lang")},a).then(s=>s).catch(s=>{var l;a?(e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="unsupported language!"==(null==s||null===(l=s.body)||void 0===l||null===(l=l.detail)||void 0===l?void 0:l.toLowerCase())?"Sorry, this language is not currently supported.":"Sorry, please try again!"):e.handleContentSearch("",!1)})})()}handleContentSearch(n,a=!1){var e=this;return(0,d.A)(function*(){var s;let l={name:null!==(s=null==n?void 0:n.context)&&void 0!==s?s:e.searchKeywords};yield e.searchApi.postContentSearch(l,yield e.storage.getData("lang")).then(c=>{if(e.telemetryGeneratorService.generateSearchTelemetry(a?"audio":"text",a?"":e.searchKeywords,c.length,"search",""),e.disabled=!1,c.length>0){e.showSheenAnimation=!1,e.noSearchData=!1;let p={};e.searchContentResult=[],c.forEach(C=>{p={},p.source="djp",p.sourceType="djp-content",p.metaData=C,e.searchContentResult.push(p)})}else e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="No Result"}).catch(c=>{var p;e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="unsupported language!"==(null==c||null===(p=c.body)||void 0===p||null===(p=p.detail)||void 0===p?void 0:p.toLowerCase())?"Sorry, this language is not currently supported.":"Sorry, please try again!"})})()}moreOtions(n){var a=this;return(0,d.A)(function*(){let e;a.optModalOpen||(a.optModalOpen=!0,e=yield a.modalCtrl.create({component:x.q,componentProps:{content:n},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield e.present()),e.onDidDismiss().then(function(){var s=(0,d.A)(function*(l){a.optModalOpen=!1,l.data&&"addToPitara"===l.data.type?a.addContentToMyPitara(l.data.content||n):l.data&&"like"==l.data.type&&(a.contentService.likeContent(l.data.content||n,"guest",!0),l.data.content.metaData.isLiked&&(yield w.Q.play({assetId:"windchime"}),(0,T.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})),a.telemetryGeneratorService.generateInteractTelemetry("TOUCH","content-liked","search","search",new O.$i(null==n?void 0:n.metaData.identifier,null==n?void 0:n.metaData.mimetype,"")))});return function(l){return s.apply(this,arguments)}}())})()}addContentToMyPitara(n){var a=this;return(0,d.A)(function*(){const e=yield a.modalCtrl.create({component:b.$,componentProps:{content:n},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield e.present(),e.onWillDismiss().then(s=>{})})()}playContent(n,a){var e=this;return(0,d.A)(function*(){e.contentService.markContentAsViewed(a),yield e.router.navigate(["/player"],{state:{content:a}})})()}onLongPressStart(){var n=this;return(0,d.A)(function*(){n.searchKeywords="",(yield(yield P.R.hasAudioRecordingPermission()).value)?(n.record.startRecognition("search"),n.disabled=!0,n.startRecording=!0,n.presentPopover(event),n.calculation()):yield P.R.requestAudioRecordingPermission()})()}presentPopover(n){var a=this;return(0,d.A)(function*(){a.modal=yield a.modalCtrl.create({component:k,cssClass:"sheet-modal",breakpoints:[.4],showBackdrop:!1,initialBreakpoint:.4,handle:!1,handleBehavior:"none"}),a.modalPresent=!0,yield a.modal.present(),yield a.modal.onDidDismiss().then(e=>{"search"===e.data&&a.onLongPressEnd()})})()}calculation(){if(!this.startRecording)return this.duration=0,void(this.durationDisplay="");this.duration+=1;const n=Math.floor(this.duration/60),a=(this.duration%60).toString().padStart(2,"0");this.durationDisplay=`${n}:${a}`,this.durationDisplay>"0:05"&&this.onLongPressEnd(),setTimeout(()=>{this.calculation()},1e3)}onLongPressEnd(){var n=this;return(0,d.A)(function*(){yield n.record.stopRecognition("search").then(function(){var a=(0,d.A)(function*(e){n.modalPresent&&(n.modalPresent=!1,yield n.modal.dismiss()),n.startRecording=!1,n.handleSearch(e,!0)});return function(e){return a.apply(this,arguments)}}())})()}}return(o=h).\u0275fac=function(n){return new(n||o)(t.rXU(y.Ux),t.rXU(g.aZ),t.rXU(R.X),t.rXU(A.S),t.rXU(m.W3),t.rXU(I.f),t.rXU(f.Ix),t.rXU(B.O),t.rXU(y.n$),t.rXU(g.Vw))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-search"]],viewQuery:function(n,a){if(1&n&&t.GBs(F,5),2&n){let e;t.mGM(e=t.lsd())&&(a.searchBar=e.first)}},hostBindings:function(n,a){1&n&&t.bIt("popstate",function(s){return a.onPopState(s)},!1,t.tSv)},decls:16,vars:9,consts:[["searchInput",""],[1,"custom-header"],[1,"header-content"],["slot","start",1,"start-icon"],[3,"click"],["aria-hidden","true","src","assets/icon/back.svg"],["type","search","fill","outline","shape","round",3,"keyup.enter","ngModelChange","disabled","ngModel","placeholder"],["slot","end"],[3,"click","disabled"],["aria-hidden","true","src","assets/icon/mic.svg"],["class","m-n",4,"ngIf"],[4,"ngIf"],[1,"m-n"],["lines","none"],[1,"ion-text-center"],["lines","none","style","padding: 5px;",4,"ngFor","ngForOf"],["lines","none",2,"padding","5px"],["item-start","",2,"border-radius","16px"],["height","100px","width","200px","radius","16px",2,"border-radius","16px"],[2,"padding-left","10px"],["height","12px","width","100px",2,"padding-bottom","8px"],["height","12px","width","80px",2,"padding-bottom","8px"],[2,"padding-left","30px"],["height","12px","width","10px",2,"padding-bottom","8px"],[1,"no-data"],["lines","none",3,"click",4,"ngFor","ngForOf"],["lines","none",3,"click"],[1,"card__img"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],[1,"card__metadata"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],["alt","",3,"src"],["appThumbnail","","alt","",3,"appThumbnail"]],template:function(n,a){if(1&n){const e=t.RV6();t.j41(0,"ion-header")(1,"ion-toolbar",1)(2,"div",2)(3,"ion-buttons",3)(4,"ion-button",4),t.bIt("click",function(){return t.eBV(e),t.Njj(a.navigateBack())}),t.nrm(5,"ion-icon",5),t.k0s()(),t.j41(6,"ion-input",6,0),t.nI1(8,"translate"),t.bIt("keyup.enter",function(){return t.eBV(e),t.Njj(a.handleSearch())})("ngModelChange",function(){return t.eBV(e),t.Njj(!a.searchContentResult)}),t.mxI("ngModelChange",function(l){return t.eBV(e),t.DH7(a.searchKeywords,l)||(a.searchKeywords=l),t.Njj(l)}),t.k0s(),t.j41(9,"ion-buttons",7)(10,"ion-button",8),t.bIt("click",function(){return t.eBV(e),t.Njj(a.onLongPressStart())}),t.nrm(11,"ion-icon",9),t.k0s()()()()(),t.j41(12,"ion-content"),t.DNE(13,U,6,5,"ion-list",10)(14,Y,5,3,"ion-list",11)(15,H,2,1,"ion-list",11),t.k0s()}2&n&&(t.R7$(6),t.Y8G("disabled",a.disabled),t.R50("ngModel",a.searchKeywords),t.Y8G("placeholder",t.bMT(8,7,"SEARCH_HINT")),t.R7$(4),t.Y8G("disabled",a.disabled),t.R7$(3),t.Y8G("ngIf",a.showSheenAnimation),t.R7$(),t.Y8G("ngIf",!a.showSheenAnimation&&a.noSearchData),t.R7$(),t.Y8G("ngIf",!a.showSheenAnimation&&a.searchContentResult.length>0))},dependencies:[g.Sq,g.bT,u.BC,u.vS,m.Jm,m.QW,m.W9,m.eU,m.iq,m.$w,m.uz,m.he,m.nf,m.ai,m.Gw,j.O,G.g,v.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-header[_ngcontent-%COMP%]{box-shadow:none}ion-header[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:var(--ion-color-primary)}ion-content[_ngcontent-%COMP%]{--padding-top: 0 !important}.header-content[_ngcontent-%COMP%]{display:flex} .toolbar-container{padding:0!important;min-height:auto}ion-input[_ngcontent-%COMP%]{margin-top:.5rem;min-height:3rem!important;--border-color: var(--ion-color-medium) !important;--highlight-color: var(--ion-color-secondary-contrast) !important}ion-icon[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;margin-left:0}.card__img[_ngcontent-%COMP%]{width:40%;height:auto}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:90%!important}.card__metadata[_ngcontent-%COMP%]{padding-top:0;padding-left:1rem;align-items:center;width:60%;height:90%}ion-list[_ngcontent-%COMP%]{background-color:transparent}ion-item[_ngcontent-%COMP%]{--background: transparent}.search_text[_ngcontent-%COMP%]{text-align:center}"]}),h})()}];let z=(()=>{var o;class h{}return(o=h).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[f.iI.forChild(J),f.iI]}),h})();var Q=r(3721),Z=r(5553);let q=(()=>{var o;class h{}return(o=h).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[g.MD,u.YN,m.bv,z,v.h,Z.h,Q.h]}),h})()}}]); \ No newline at end of file diff --git a/www/3119.a3736a034226f066.js b/www/3119.a3736a034226f066.js new file mode 100644 index 0000000..6f99a54 --- /dev/null +++ b/www/3119.a3736a034226f066.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3119],{3119:(lt,A,c)=>{c.r(A),c.d(A,{ViewAllPageModule:()=>ot});var P=c(177),T=c(9417),y=c(8974),M=c(3021),u=c(467),p=c(56),S=c(4715),x=c(4733),G=c(1471),L=c(2849),B=c(9441),R=c(8666),$=c(7420),Y=c(5318),j=c.n(Y),U=c(1129),X=c(8113),t=c(4438),E=c(444),V=c(2904),F=c(7803),N=c(4517),I=c(5402);const z=o=>({"createList-cards":o});function W(o,s){if(1&o&&t.nrm(0,"img",12),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function H(o,s){if(1&o&&t.nrm(0,"img",12),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/youtube-video.png",t.B4B)}}function J(o,s){if(1&o&&t.nrm(0,"img",12),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function K(o,s){if(1&o&&t.nrm(0,"img",12),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function Q(o,s){1&o&&t.nrm(0,"img",13)}function Z(o,s){if(1&o&&(t.j41(0,"div",14),t.EFF(1),t.k0s()),2&o){const i=t.XpG().$implicit;t.R7$(),t.JRh(null==i||null==i.metaData?null:i.metaData.name)}}function q(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",15),t.bIt("click",function(){t.eBV(i);const n=t.XpG().$implicit,l=t.XpG();return t.Njj(l.openModal(n))}),t.nrm(1,"ion-icon",16),t.k0s()}}function tt(o,s){if(1&o){const i=t.RV6();t.j41(0,"div")(1,"ion-checkbox",17),t.bIt("ionChange",function(n){t.eBV(i);const l=t.XpG().index,r=t.XpG();return t.Njj(r.isContentSelect(n,l))}),t.k0s()()}if(2&o){const i=t.XpG().$implicit;t.R7$(),t.Y8G("checked",i.isSelected)}}function et(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",4),t.bIt("click",function(){const n=t.eBV(i).$implicit,l=t.XpG();return t.Njj(l.playcontent(n))}),t.j41(1,"div",5),t.DNE(2,W,1,1,"img",6)(3,H,1,1,"img",6)(4,J,1,1,"img",6)(5,K,1,1,"img",6)(6,Q,1,0,"img",7),t.k0s(),t.j41(7,"div",8),t.DNE(8,Z,2,1,"div",9)(9,q,2,0,"div",10)(10,tt,2,1,"div",11),t.k0s()()}if(2&o){const i=s.$implicit,e=t.XpG();t.R7$(2),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.YOUTUBE),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.MP4),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.PDF),t.R7$(),t.Y8G("ngIf",(null==i||null==i.metaData?null:i.metaData.mimetype)===(null==e.mimeType?null:e.mimeType.LINK)),t.R7$(2),t.Y8G("ngIf",null==i||null==i.metaData?null:i.metaData.name),t.R7$(),t.Y8G("ngIf","recentlyviewed"===e.type),t.R7$(),t.Y8G("ngIf","playlist"===e.type)}}function nt(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",18)(1,"div",19)(2,"div",20)(3,"div",21),t.EFF(4),t.k0s(),t.nrm(5,"ion-icon",22),t.k0s(),t.j41(6,"div",23),t.bIt("click",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.uploadLocalContents())}),t.nrm(7,"ion-icon",24),t.k0s(),t.j41(8,"div",25)(9,"ion-button",26),t.bIt("click",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.createList())}),t.EFF(10),t.nI1(11,"translate"),t.k0s()()()()}if(2&o){const i=t.XpG();t.R7$(4),t.JRh(i.selectedContents.length),t.R7$(5),t.Y8G("disabled",!i.selectedContents.length),t.R7$(),t.SpI(" ",t.bMT(11,3,"createPlaylist")," ")}}const it=[{path:"",component:(()=>{var o;class s{constructor(e,n,l,r,d,g,h,m,D){var v;this.contentService=e,this.router=n,this.headerService=l,this.playListService=r,this.platform=d,this.location=g,this.modalCtrl=h,this.utilService=m,this.platformLocation=D,this.contentList=[],this.type="",this.playlists=[],this.selectedContents=[],this.optModalOpen=!1,this.mimeType=p.Cc,this.resolveNativePath=b=>new Promise((_,w)=>{window.FilePath.resolveNativePath(b,_,a=>{console.error(`${b} could not be resolved by the plugin: ${a.message}`),w(a)})}),this.navigated=!1;let k=null===(v=this.router.getCurrentNavigation())||void 0===v?void 0:v.extras;var f;k&&(this.type=null===(f=k.state)||void 0===f?void 0:f.type),this.platformLocation.onPopState(()=>{console.log("Back button pressed")})}onPopState(e){this.location.back()}ngOnInit(){var e=this;return(0,u.A)(function*(){e.platform.backButton.subscribeWithPriority(11,(0,u.A)(function*(){e.location.back(),e.headerService.deviceBackBtnEvent({name:"backBtn"})})),e.headerService.headerEventEmitted$.subscribe(n=>{"back"===n&&e.router.navigate(["/tabs/my-pitara"])}),e.getRecentlyviewedContent()})()}getPlaylistContent(){var e=this;return(0,u.A)(function*(){yield e.playListService.getAllPlayLists("guest").then(n=>{n&&(e.playlists=n)}).catch(n=>{console.log("error",n)})})()}getRecentlyviewedContent(){var e=this;return(0,u.A)(function*(){yield e.contentService.getRecentlyViewedContent("guest").then(n=>{let l={};n.filter(r=>!l[r.contentIdentifier]&&(l[r.contentIdentifier]=!0,e.contentList.push(r),!0)),e.contentList.map(r=>r.metaData="string"==typeof r.metaData?JSON.parse(r.metaData):r.metaData),e.contentList=e.getContentImgPath(e.contentList)}).catch(n=>{console.log("error",n)})})()}ngOnDestroy(){var e=this;return(0,u.A)(function*(){const n=yield e.modalCtrl.getTop();n&&n.dismiss()})()}createList(){let e=[];this.contentList.forEach(n=>{n.isSelected&&e.push(n)}),this.router.navigate(["/create-playlist"],{state:{selectedContents:e}})}deletePlaylist(){var e=this;return(0,u.A)(function*(){yield e.playListService.deletePlayList(e.deleteContent.identifier).then(n=>{e.getPlaylistContent()}).catch(n=>{console.log("err",n)})})()}ionViewWillEnter(){this.navigated=!1,"recentlyviewed"===this.type?this.headerService.showHeader("Recently Viewed",!0):"playlist"===this.type&&this.headerService.showHeader("Select from Recently Viewed",!0),this.getPlaylistContent()}openModal(e){var n=this;return(0,u.A)(function*(){let l;n.optModalOpen||(n.optModalOpen=!0,l=yield n.modalCtrl.create({component:L.q,componentProps:{content:e},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield l.present()),l.onDidDismiss().then(function(){var r=(0,u.A)(function*(d){n.optModalOpen=!1,d.data&&"addToPitara"===d.data.type?n.addContentToMyPitara(d.data.content||e):d.data&&"like"==d.data.type&&(n.contentService.likeContent(d.data.content||e,"guest",!0),d.data.content.metaData.isLiked&&(yield R.Q.play({assetId:"windchime"}),(0,$.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})))});return function(d){return r.apply(this,arguments)}}())})()}addContentToMyPitara(e){var n=this;return(0,u.A)(function*(){const l=yield n.modalCtrl.create({component:B.$,componentProps:{content:e},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield l.present(),l.onWillDismiss().then(r=>{})})()}isContentSelect(e,n){this.contentList[n].isSelected=e.detail.checked,this.checkSelectedContent()}checkSelectedContent(){this.selectedContents=[],this.contentList.forEach(e=>{e.isSelected&&this.selectedContents.push(e)})}openFilePicker(){var e=this;return(0,u.A)(function*(){let n=[p.z5.PDF];n=n.concat(p.z5.VIDEOS).concat(p.z5.AUDIO);const{files:l}=yield S.N.pickFiles({types:n,multiple:!0,readData:!1});let r=[];const d=yield e.utilService.getLoader();yield d.present();for(let g=0;g{var r;l.metaData.thumbnail=l.metaData.mimetype===p.Cc.YOUTUBE?this.loadYoutubeImg(l.metaData):!l.metaData.thumbnail||null!=l&&null!==(r=l.metaData.identifier)&&void 0!==r&&r.startsWith("do_")?x.O.getImagePath(l.metaData.mimetype||l.metaData.mimeType):l.mediaData.thumbnail,n&&(l.isSelected=!0,this.selectedContents.push(l))}),e}loadYoutubeImg(e){let n=e.identifier;const r=null==e?void 0:e.url.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return n=r?r[1]:null,`https://img.youtube.com/vi/${n}/mqdefault.jpg`}playcontent(e){var n=this;return(0,u.A)(function*(){"recentlyviewed"===n.type&&!n.optModalOpen&&(yield n.router.navigate(["/player"],{state:{content:e}}))})()}uploadLocalContents(){var e=this;return(0,u.A)(function*(){let n;e.optModalOpen||(e.optModalOpen=!0,n=yield e.modalCtrl.create({component:U.W,componentProps:{uploadType:[{type:"url",label:"Upload from Youtube"},{type:"diksha",label:"Upload from Diksha"}]},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield n.present()),n.onDidDismiss().then(function(){var l=(0,u.A)(function*(r){e.optModalOpen=!1,"file"===r.data.type?e.openFilePicker():e.createYoutubeContent(r.data.type)});return function(r){return l.apply(this,arguments)}}())})()}createYoutubeContent(e){var n=this;return(0,u.A)(function*(){const l=yield n.modalCtrl.create({component:X.r,componentProps:{title:"url"==e?"Add Youtube URL":"Add Diksha URL",placeholder:"Name"},cssClass:"auto-height"});yield l.present(),l.onDidDismiss().then(function(){var r=(0,u.A)(function*(d){var g;let h=null===(g=d.data)||void 0===g?void 0:g.url;if(d&&"create"===d.data.type){let m=[];const D=yield n.utilService.getLoader();yield D.present();let v="";if("url"===e)v=j()(h),m.push({source:"local",sourceType:"local",metaData:{identifier:v,url:"https://www.youtube.com/watch?v="+v,name:d.data.name,mimetype:p.z5.YOUTUBE,thumbnail:""}}),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList);else if("diksha"===e){v=h.split("/").filter(f=>f.startsWith("do_"));try{yield n.contentService.readDikshaContents(v[0]).then(function(){var f=(0,u.A)(function*(b){var _,w;let a=null===(_=b.body)||void 0===_||null===(_=_.result)||void 0===_?void 0:_.content;if((null===(w=a.dialcodes)||void 0===w?void 0:w.length)>0)yield n.contentService.getContents(a.dialcodes[0]).then(C=>{C.length>0&&(C.forEach(O=>{O.source="local",(O.metaData.mimetype==p.z5.PDF||O.metaData.mimetype==p.z5.VIDEO)&&m.push(O)}),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList))});else if(a.mediaType="content"){let C={source:"local",sourceType:"diksha",metaData:{identifier:null==a?void 0:a.identifier,name:null==a?void 0:a.name,thumbnail:null==a?void 0:a.thumbnail,description:null==a?void 0:a.name,mimetype:(null==a?void 0:a.mimetype)||(null==a?void 0:a.mimeType),url:null==a?void 0:a.streamingUrl,focus:null==a?void 0:a.focus,keyword:null==a?void 0:a.keyword,domain:null==a?void 0:a.domain,curriculargoal:null==a?void 0:a.curriculargoal,competencies:null==a?void 0:a.competencies,language:null==a?void 0:a.language,category:null==a?void 0:a.category,audience:null==a?void 0:a.audience,status:null==a?void 0:a.status,createdon:null==a?void 0:a.createdOn,lastupdatedon:(null==a?void 0:a.lastupdatedon)||(null==a?void 0:a.lastUpdatedOn),artifactUrl:null==a?void 0:a.artifactUrl}};(C.metaData.mimetype==p.z5.PDF||C.metaData.mimetype==p.z5.VIDEO)&&(m.push(C),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList))}});return function(b){return f.apply(this,arguments)}}())}catch(f){console.log("server err ",f)}}yield D.dismiss()}});return function(d){return r.apply(this,arguments)}}())})()}}return(o=s).\u0275fac=function(e){return new(e||o)(t.rXU(E.f),t.rXU(M.Ix),t.rXU(V.Ux),t.rXU(F.q),t.rXU(N.OD),t.rXU(P.aZ),t.rXU(y.W3),t.rXU(V.a0),t.rXU(P.Vw))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-view-all"]],viewQuery:function(e,n){if(1&e&&t.GBs(y.Sb,5),2&e){let l;t.mGM(l=t.lsd())&&(n.modal=l.first)}},hostBindings:function(e,n){1&e&&t.bIt("popstate",function(r){return n.onPopState(r)},!1,t.tSv)},decls:4,vars:6,consts:[[3,"fullscreen"],[1,"cards-container",3,"ngClass"],["class","card",3,"click",4,"ngFor","ngForOf"],["class","view-all-btn",4,"ngIf"],[1,"card",3,"click"],[1,"card__img"],["alt","",3,"src",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],[1,"card__metadata"],["class","card__title",4,"ngIf"],[3,"click",4,"ngIf"],[4,"ngIf"],["alt","",3,"src"],["src","assets/images/LINK.png","alt",""],[1,"card__title"],[3,"click"],["slot","end","aria-hidden","true","src","../../../assets/icon/kabab-icon.svg"],[1,"playlist-card__checkbox",3,"ionChange","checked"],[1,"view-all-btn"],[1,"view-playlist"],[1,"view-playlist__icon"],[1,"count"],["aria-hidden","true","src","assets/icon/pitara-blue.svg"],[1,"view-playlist__icon",3,"click"],["aria-hidden","true","src","assets/icon/file-upload.svg"],[1,"view-playlist__button"],["fill","outline",1,"new-playlist__btn",3,"click","disabled"]],template:function(e,n){1&e&&(t.j41(0,"ion-content",0)(1,"div",1),t.DNE(2,et,11,8,"div",2),t.k0s()(),t.DNE(3,nt,12,5,"div",3)),2&e&&(t.Y8G("fullscreen",!0),t.R7$(),t.Y8G("ngClass",t.eq3(4,z,"playlist"===n.type)),t.R7$(),t.Y8G("ngForOf",n.contentList),t.R7$(),t.Y8G("ngIf","playlist"===n.type))},dependencies:[P.YU,P.Sq,P.bT,y.Jm,y.eY,y.W9,y.iq,y.hB,I.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}.cards-container[_ngcontent-%COMP%]{padding-top:.5rem}.card[_ngcontent-%COMP%]{display:flex}.card__img[_ngcontent-%COMP%]{width:100%;height:4.5rem;max-width:7.5rem}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:.5rem}.card__metadata[_ngcontent-%COMP%]{padding-top:0;padding-left:.5rem;align-items:flex-start;width:100%}.view-playlist[_ngcontent-%COMP%]{position:fixed;bottom:.188rem;width:98%;height:4rem;background-color:var(--ion-color-secondary);border-radius:3.125rem;display:flex;align-items:center;padding:.5rem}.view-playlist__icon[_ngcontent-%COMP%]{width:3rem;height:3rem;background-color:var(--ion-color-primary-contrast);border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;margin-right:5%}.view-playlist__icon[_ngcontent-%COMP%] .count[_ngcontent-%COMP%]{position:absolute;top:-.188rem;right:-.188rem;background:var(--ion-color-primary);border-radius:50%;font-size:.625rem;width:1.125rem;height:1.125rem;display:flex;align-items:center;justify-content:center;color:var(--ion-color-primary-contrast)}.view-playlist__icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.view-playlist__button[_ngcontent-%COMP%]{margin-left:auto}.view-playlist__button[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{font-size:.75rem;font-weight:700}.view-all-btn[_ngcontent-%COMP%]{display:flex;justify-content:center}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--border-radius: 50% !important;--border-color: var(--ion-color-medium) !important;--size: 1.5rem !important;--checkbox-background-checked: var(--ion-color-secondary) !important;--border-color-checked: var(--ion-color-secondary) !important;margin:0}[_nghost-%COMP%] ion-button.new-playlist__btn[_ngcontent-%COMP%]{--background: var(--ion-color-secondary);--color: var(--ion-color-primary-contrast);--border-radius: 1.875rem;--border-color: var(--ion-color-primary-contrast);--border-style: solid;--border-width: 1px;--box-shadow: none}ion-content[_ngcontent-%COMP%]{--padding-top: 3.2rem}.createList-cards[_ngcontent-%COMP%]{height:calc(100vh - 120px);overflow:auto}"]}),s})()}];let at=(()=>{var o;class s{}return(o=s).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[M.iI.forChild(it),M.iI]}),s})(),ot=(()=>{var o;class s{}return(o=s).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[P.MD,T.YN,y.bv,at,I.h]}),s})()}}]); \ No newline at end of file diff --git a/www/3119.bbf7c32983cab8d6.js b/www/3119.bbf7c32983cab8d6.js deleted file mode 100644 index e30e259..0000000 --- a/www/3119.bbf7c32983cab8d6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3119],{3119:(lt,A,c)=>{c.r(A),c.d(A,{ViewAllPageModule:()=>ot});var P=c(177),T=c(9417),y=c(8974),M=c(3021),u=c(467),p=c(56),G=c(4715),x=c(4733),S=c(1471),B=c(2849),L=c(9441),R=c(8666),$=c(7420),Y=c(5318),j=c.n(Y),U=c(1129),X=c(8113),t=c(4438),E=c(444),V=c(2904),F=c(7803),N=c(4517),I=c(5402);const z=o=>({"createList-cards":o});function W(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function H(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/youtube-video.png",t.B4B)}}function J(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function Q(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function K(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function Z(o,s){if(1&o&&(t.j41(0,"div",12),t.EFF(1),t.k0s()),2&o){const i=t.XpG().$implicit;t.R7$(),t.JRh(null==i||null==i.metaData?null:i.metaData.name)}}function q(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",13),t.bIt("click",function(){t.eBV(i);const n=t.XpG().$implicit,l=t.XpG();return t.Njj(l.openModal(n))}),t.nrm(1,"ion-icon",14),t.k0s()}}function tt(o,s){if(1&o){const i=t.RV6();t.j41(0,"div")(1,"ion-checkbox",15),t.bIt("ionChange",function(n){t.eBV(i);const l=t.XpG().index,r=t.XpG();return t.Njj(r.isContentSelect(n,l))}),t.k0s()()}if(2&o){const i=t.XpG().$implicit;t.R7$(),t.Y8G("checked",i.isSelected)}}function et(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",4),t.bIt("click",function(){const n=t.eBV(i).$implicit,l=t.XpG();return t.Njj(l.playcontent(n))}),t.j41(1,"div",5),t.DNE(2,W,1,1,"img",6)(3,H,1,1,"img",6)(4,J,1,1,"img",6)(5,Q,1,1,"img",6)(6,K,1,1,"img",6),t.k0s(),t.j41(7,"div",7),t.DNE(8,Z,2,1,"div",8)(9,q,2,0,"div",9)(10,tt,2,1,"div",10),t.k0s()()}if(2&o){const i=s.$implicit,e=t.XpG();t.R7$(2),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.YOUTUBE),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.MP4),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.PDF),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.LINK),t.R7$(2),t.Y8G("ngIf",null==i||null==i.metaData?null:i.metaData.name),t.R7$(),t.Y8G("ngIf","recentlyviewed"===e.type),t.R7$(),t.Y8G("ngIf","playlist"===e.type)}}function nt(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",16)(1,"div",17)(2,"div",18)(3,"div",19),t.EFF(4),t.k0s(),t.nrm(5,"ion-icon",20),t.k0s(),t.j41(6,"div",21),t.bIt("click",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.uploadLocalContents())}),t.nrm(7,"ion-icon",22),t.k0s(),t.j41(8,"div",23)(9,"ion-button",24),t.bIt("click",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.createList())}),t.EFF(10),t.nI1(11,"translate"),t.k0s()()()()}if(2&o){const i=t.XpG();t.R7$(4),t.JRh(i.selectedContents.length),t.R7$(5),t.Y8G("disabled",!i.selectedContents.length),t.R7$(),t.SpI(" ",t.bMT(11,3,"createPlaylist")," ")}}const it=[{path:"",component:(()=>{var o;class s{constructor(e,n,l,r,d,g,h,m,D){var v;this.contentService=e,this.router=n,this.headerService=l,this.playListService=r,this.platform=d,this.location=g,this.modalCtrl=h,this.utilService=m,this.platformLocation=D,this.contentList=[],this.type="",this.playlists=[],this.selectedContents=[],this.optModalOpen=!1,this.mimeType=p.Cc,this.resolveNativePath=b=>new Promise((_,w)=>{window.FilePath.resolveNativePath(b,_,a=>{console.error(`${b} could not be resolved by the plugin: ${a.message}`),w(a)})}),this.navigated=!1;let k=null===(v=this.router.getCurrentNavigation())||void 0===v?void 0:v.extras;var f;k&&(this.type=null===(f=k.state)||void 0===f?void 0:f.type),this.platformLocation.onPopState(()=>{console.log("Back button pressed")})}onPopState(e){this.location.back()}ngOnInit(){var e=this;return(0,u.A)(function*(){e.platform.backButton.subscribeWithPriority(11,(0,u.A)(function*(){e.location.back(),e.headerService.deviceBackBtnEvent({name:"backBtn"})})),e.headerService.headerEventEmitted$.subscribe(n=>{"back"===n&&e.router.navigate(["/tabs/my-pitara"])}),e.getRecentlyviewedContent()})()}getPlaylistContent(){var e=this;return(0,u.A)(function*(){yield e.playListService.getAllPlayLists("guest").then(n=>{n&&(e.playlists=n)}).catch(n=>{console.log("error",n)})})()}getRecentlyviewedContent(){var e=this;return(0,u.A)(function*(){yield e.contentService.getRecentlyViewedContent("guest").then(n=>{let l={};n.filter(r=>!l[r.contentIdentifier]&&(l[r.contentIdentifier]=!0,e.contentList.push(r),!0)),e.contentList.map(r=>r.metaData="string"==typeof r.metaData?JSON.parse(r.metaData):r.metaData),e.contentList=e.getContentImgPath(e.contentList)}).catch(n=>{console.log("error",n)})})()}ngOnDestroy(){var e=this;return(0,u.A)(function*(){const n=yield e.modalCtrl.getTop();n&&n.dismiss()})()}createList(){let e=[];this.contentList.forEach(n=>{n.isSelected&&e.push(n)}),this.router.navigate(["/create-playlist"],{state:{selectedContents:e}})}deletePlaylist(){var e=this;return(0,u.A)(function*(){yield e.playListService.deletePlayList(e.deleteContent.identifier).then(n=>{e.getPlaylistContent()}).catch(n=>{console.log("err",n)})})()}ionViewWillEnter(){this.navigated=!1,"recentlyviewed"===this.type?this.headerService.showHeader("Recently Viewed",!0):"playlist"===this.type&&this.headerService.showHeader("Select from Recently Viewed",!0),this.getPlaylistContent()}openModal(e){var n=this;return(0,u.A)(function*(){let l;n.optModalOpen||(n.optModalOpen=!0,l=yield n.modalCtrl.create({component:B.q,componentProps:{content:e},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield l.present()),l.onDidDismiss().then(function(){var r=(0,u.A)(function*(d){n.optModalOpen=!1,d.data&&"addToPitara"===d.data.type?n.addContentToMyPitara(d.data.content||e):d.data&&"like"==d.data.type&&(n.contentService.likeContent(d.data.content||e,"guest",!0),d.data.content.metaData.isLiked&&(yield R.Q.play({assetId:"windchime"}),(0,$.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})))});return function(d){return r.apply(this,arguments)}}())})()}addContentToMyPitara(e){var n=this;return(0,u.A)(function*(){const l=yield n.modalCtrl.create({component:L.$,componentProps:{content:e},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield l.present(),l.onWillDismiss().then(r=>{})})()}isContentSelect(e,n){this.contentList[n].isSelected=e.detail.checked,this.checkSelectedContent()}checkSelectedContent(){this.selectedContents=[],this.contentList.forEach(e=>{e.isSelected&&this.selectedContents.push(e)})}openFilePicker(){var e=this;return(0,u.A)(function*(){let n=[p.z5.PDF];n=n.concat(p.z5.VIDEOS).concat(p.z5.AUDIO);const{files:l}=yield G.N.pickFiles({types:n,multiple:!0,readData:!1});let r=[];const d=yield e.utilService.getLoader();yield d.present();for(let g=0;g{var r;l.metaData.thumbnail=l.metaData.mimetype===p.Cc.YOUTUBE?this.loadYoutubeImg(l.metaData):!l.metaData.thumbnail||null!=l&&null!==(r=l.metaData.identifier)&&void 0!==r&&r.startsWith("do_")?x.O.getImagePath(l.metaData.mimetype||l.metaData.mimeType):l.mediaData.thumbnail,n&&(l.isSelected=!0,this.selectedContents.push(l))}),e}loadYoutubeImg(e){let n=e.identifier;const r=null==e?void 0:e.url.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return n=r?r[1]:null,`https://img.youtube.com/vi/${n}/mqdefault.jpg`}playcontent(e){var n=this;return(0,u.A)(function*(){"recentlyviewed"===n.type&&!n.optModalOpen&&(yield n.router.navigate(["/player"],{state:{content:e}}))})()}uploadLocalContents(){var e=this;return(0,u.A)(function*(){let n;e.optModalOpen||(e.optModalOpen=!0,n=yield e.modalCtrl.create({component:U.W,componentProps:{uploadType:[{type:"url",label:"Upload from Youtube"},{type:"diksha",label:"Upload from Diksha"}]},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield n.present()),n.onDidDismiss().then(function(){var l=(0,u.A)(function*(r){e.optModalOpen=!1,"file"===r.data.type?e.openFilePicker():e.createYoutubeContent(r.data.type)});return function(r){return l.apply(this,arguments)}}())})()}createYoutubeContent(e){var n=this;return(0,u.A)(function*(){const l=yield n.modalCtrl.create({component:X.r,componentProps:{title:"url"==e?"Add Youtube URL":"Add Diksha URL",placeholder:"Name"},cssClass:"auto-height"});yield l.present(),l.onDidDismiss().then(function(){var r=(0,u.A)(function*(d){var g;let h=null===(g=d.data)||void 0===g?void 0:g.url;if(d&&"create"===d.data.type){let m=[];const D=yield n.utilService.getLoader();yield D.present();let v="";if("url"===e)v=j()(h),m.push({source:"local",sourceType:"local",metaData:{identifier:v,url:"https://www.youtube.com/watch?v="+v,name:d.data.name,mimetype:p.z5.YOUTUBE,thumbnail:""}}),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList);else if("diksha"===e){v=h.split("/").filter(f=>f.startsWith("do_"));try{yield n.contentService.readDikshaContents(v[0]).then(function(){var f=(0,u.A)(function*(b){var _,w;let a=null===(_=b.body)||void 0===_||null===(_=_.result)||void 0===_?void 0:_.content;if((null===(w=a.dialcodes)||void 0===w?void 0:w.length)>0)yield n.contentService.getContents(a.dialcodes[0]).then(C=>{C.length>0&&(C.forEach(O=>{O.source="local",(O.metaData.mimetype==p.z5.PDF||O.metaData.mimetype==p.z5.VIDEO)&&m.push(O)}),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList))});else if(a.mediaType="content"){let C={source:"local",sourceType:"diksha",metaData:{identifier:null==a?void 0:a.identifier,name:null==a?void 0:a.name,thumbnail:null==a?void 0:a.thumbnail,description:null==a?void 0:a.name,mimetype:(null==a?void 0:a.mimetype)||(null==a?void 0:a.mimeType),url:null==a?void 0:a.streamingUrl,focus:null==a?void 0:a.focus,keyword:null==a?void 0:a.keyword,domain:null==a?void 0:a.domain,curriculargoal:null==a?void 0:a.curriculargoal,competencies:null==a?void 0:a.competencies,language:null==a?void 0:a.language,category:null==a?void 0:a.category,audience:null==a?void 0:a.audience,status:null==a?void 0:a.status,createdon:null==a?void 0:a.createdOn,lastupdatedon:(null==a?void 0:a.lastupdatedon)||(null==a?void 0:a.lastUpdatedOn),artifactUrl:null==a?void 0:a.artifactUrl}};(C.metaData.mimetype==p.z5.PDF||C.metaData.mimetype==p.z5.VIDEO)&&(m.push(C),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList))}});return function(b){return f.apply(this,arguments)}}())}catch(f){console.log("server err ",f)}}yield D.dismiss()}});return function(d){return r.apply(this,arguments)}}())})()}}return(o=s).\u0275fac=function(e){return new(e||o)(t.rXU(E.f),t.rXU(M.Ix),t.rXU(V.Ux),t.rXU(F.q),t.rXU(N.OD),t.rXU(P.aZ),t.rXU(y.W3),t.rXU(V.a0),t.rXU(P.Vw))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-view-all"]],viewQuery:function(e,n){if(1&e&&t.GBs(y.Sb,5),2&e){let l;t.mGM(l=t.lsd())&&(n.modal=l.first)}},hostBindings:function(e,n){1&e&&t.bIt("popstate",function(r){return n.onPopState(r)},!1,t.tSv)},decls:4,vars:6,consts:[[3,"fullscreen"],[1,"cards-container",3,"ngClass"],["class","card",3,"click",4,"ngFor","ngForOf"],["class","view-all-btn",4,"ngIf"],[1,"card",3,"click"],[1,"card__img"],["alt","",3,"src",4,"ngIf"],[1,"card__metadata"],["class","card__title",4,"ngIf"],[3,"click",4,"ngIf"],[4,"ngIf"],["alt","",3,"src"],[1,"card__title"],[3,"click"],["slot","end","aria-hidden","true","src","../../../assets/icon/kabab-icon.svg"],[1,"playlist-card__checkbox",3,"ionChange","checked"],[1,"view-all-btn"],[1,"view-playlist"],[1,"view-playlist__icon"],[1,"count"],["aria-hidden","true","src","assets/icon/pitara-blue.svg"],[1,"view-playlist__icon",3,"click"],["aria-hidden","true","src","assets/icon/file-upload.svg"],[1,"view-playlist__button"],["fill","outline",1,"new-playlist__btn",3,"click","disabled"]],template:function(e,n){1&e&&(t.j41(0,"ion-content",0)(1,"div",1),t.DNE(2,et,11,8,"div",2),t.k0s()(),t.DNE(3,nt,12,5,"div",3)),2&e&&(t.Y8G("fullscreen",!0),t.R7$(),t.Y8G("ngClass",t.eq3(4,z,"playlist"===n.type)),t.R7$(),t.Y8G("ngForOf",n.contentList),t.R7$(),t.Y8G("ngIf","playlist"===n.type))},dependencies:[P.YU,P.Sq,P.bT,y.Jm,y.eY,y.W9,y.iq,y.hB,I.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}.cards-container[_ngcontent-%COMP%]{padding-top:.5rem}.card[_ngcontent-%COMP%]{display:flex}.card__img[_ngcontent-%COMP%]{width:100%;height:4.5rem;max-width:7.5rem}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:.5rem}.card__metadata[_ngcontent-%COMP%]{padding-top:0;padding-left:.5rem;align-items:flex-start;width:100%}.view-playlist[_ngcontent-%COMP%]{position:fixed;bottom:.188rem;width:98%;height:4rem;background-color:var(--ion-color-secondary);border-radius:3.125rem;display:flex;align-items:center;padding:.5rem}.view-playlist__icon[_ngcontent-%COMP%]{width:3rem;height:3rem;background-color:var(--ion-color-primary-contrast);border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;margin-right:5%}.view-playlist__icon[_ngcontent-%COMP%] .count[_ngcontent-%COMP%]{position:absolute;top:-.188rem;right:-.188rem;background:var(--ion-color-primary);border-radius:50%;font-size:.625rem;width:1.125rem;height:1.125rem;display:flex;align-items:center;justify-content:center;color:var(--ion-color-primary-contrast)}.view-playlist__icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.view-playlist__button[_ngcontent-%COMP%]{margin-left:auto}.view-playlist__button[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{font-size:.75rem;font-weight:700}.view-all-btn[_ngcontent-%COMP%]{display:flex;justify-content:center}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--border-radius: 50% !important;--border-color: var(--ion-color-medium) !important;--size: 1.5rem !important;--checkbox-background-checked: var(--ion-color-secondary) !important;--border-color-checked: var(--ion-color-secondary) !important;margin:0}[_nghost-%COMP%] ion-button.new-playlist__btn[_ngcontent-%COMP%]{--background: var(--ion-color-secondary);--color: var(--ion-color-primary-contrast);--border-radius: 1.875rem;--border-color: var(--ion-color-primary-contrast);--border-style: solid;--border-width: 1px;--box-shadow: none}ion-content[_ngcontent-%COMP%]{--padding-top: 3.2rem}.createList-cards[_ngcontent-%COMP%]{height:calc(100vh - 120px);overflow:auto}"]}),s})()}];let at=(()=>{var o;class s{}return(o=s).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[M.iI.forChild(it),M.iI]}),s})(),ot=(()=>{var o;class s{}return(o=s).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[P.MD,T.YN,y.bv,at,I.h]}),s})()}}]); \ No newline at end of file diff --git a/www/4294.7a9a0605eb308817.js b/www/4294.7a9a0605eb308817.js deleted file mode 100644 index 4e6568c..0000000 --- a/www/4294.7a9a0605eb308817.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4294],{4294:(N,h,s)=>{s.r(h),s.d(h,{PlaylistDetailsPageModule:()=>E});var d=s(177),v=s(9417),c=s(8974),g=s(3021),m=s(467),P=s(56),D=s(5301),t=s(4438),b=s(2904),C=s(7803),O=s(4254),_=s(5402);function M(n,l){1&n&&(t.j41(0,"div",4)(1,"div",5),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"Add content to the playlist")))}function x(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function G(n,l){if(1&n&&t.nrm(0,"img",17),2&n){const e=t.XpG(2).$implicit;t.Y8G("appThumbnail",null==e?null:e.metaData)}}function j(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function T(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function $(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function I(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function R(n,l){1&n&&t.nrm(0,"ion-icon",18)}function Y(n,l){if(1&n){const e=t.RV6();t.j41(0,"div",8)(1,"div",9),t.bIt("click",function(){t.eBV(e);const i=t.XpG().$implicit,o=t.XpG();return t.Njj(o.playContent(i))}),t.DNE(2,x,1,1,"img",10)(3,G,1,1,"img",11)(4,j,1,1,"img",10)(5,T,1,1,"img",10)(6,$,1,1,"img",10)(7,I,1,1,"img",10),t.nrm(8,"img",12),t.k0s(),t.j41(9,"div",13)(10,"div",14),t.EFF(11),t.k0s(),t.j41(12,"ion-buttons"),t.DNE(13,R,1,0,"ion-icon",15),t.j41(14,"ion-icon",16),t.bIt("click",function(){t.eBV(e);const i=t.XpG().$implicit,o=t.XpG();return t.Njj(o.moreOtions(i))}),t.k0s()()()()}if(2&n){const e=t.XpG().$implicit,a=t.XpG();t.R7$(2),t.Y8G("ngIf",e.metaData.mimetype===a.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",(null==e||null==e.metaData?null:e.metaData.mimetype)===a.mimeType.YOUTUBE&&!e.play),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===a.mimeType.MP4),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===a.mimeType.PDF),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===a.mimeType.LINK),t.R7$(),t.Y8G("ngIf","text/html"===(null==e||null==e.metaData?null:e.metaData.mimetype)),t.R7$(),t.Y8G("src",""!=(null==e||null==e.metaData?null:e.metaData.thumbnail)||e.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",t.B4B),t.R7$(3),t.JRh(null==e.metaData?null:e.metaData.name),t.R7$(2),t.Y8G("ngIf","local"===e.source)}}function B(n,l){if(1&n&&(t.j41(0,"div",6),t.DNE(1,Y,15,9,"div",7),t.k0s()),2&n){const e=l.$implicit;t.R7$(),t.Y8G("ngIf",null==e?null:e.metaData)}}const w=[{path:"",component:(()=>{var n;class l{constructor(a,i,o,r){var p;this.router=a,this.headerService=i,this.modalCtrl=o,this.playlistService=r,this.playlists=[],this.mimeType=P.Cc,this.navigated=!1,this.headerEventSub=null;let y=null===(p=this.router.getCurrentNavigation())||void 0===p?void 0:p.extras;var u;y&&(this.playContentObject=null===(u=y.state)||void 0===u?void 0:u.playlist,this.playContentObject.playListcontentList.map(f=>{f.metaData=JSON.parse(f.content_metadata)}),this.playlists=this.playContentObject.playListcontentList)}ngOnInit(){this.headerService.showHeader(this.playContentObject.name,!0,["edit"]),this.headerService.headerEventEmitted$.subscribe(a=>{"edit"===a?this.router.navigate(["/create-playlist"],{state:{playlists:this.playContentObject,islocal:!0}}):"back"===a&&!this.navigated&&(this.navigated=!0,this.router.navigate(["/tabs/my-pitara"]))})}ionViewWillEnter(){this.navigated=!1,this.headerService.showHeader(this.playContentObject.name,!0,["edit"])}ngOnDestroy(){try{this.headerEventSub&&this.headerEventSub.unsubscribe()}catch(a){console.log("error in unsubscribe",a)}}playContent(a){var i=this;return(0,m.A)(function*(){yield i.router.navigate(["/player"],{state:{content:a}})})()}deletePlaylist(a){var i=this;return(0,m.A)(function*(){yield i.playlistService.deleteContentFromPlayList(i.playContentObject.identifier,[a.identifier]).then(o=>{i.getPlaylistContent()}).catch(o=>{console.log("err",o)})})()}getPlaylistContent(){var a=this;return(0,m.A)(function*(){yield a.playlistService.getPlayListContents(a.playContentObject.identifier).then(i=>{a.playlists=i,a.playlists.map(o=>{o.metaData=JSON.parse(o.content_metadata)}),a.playContentObject.playListcontentList=a.playlists})})()}moreOtions(a){var i=this;return(0,m.A)(function*(){const o=yield i.modalCtrl.create({component:D.J,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield o.present(),o.onWillDismiss().then(r=>{r&&"delete"===r.data.type?i.deletePlaylist(a):r&&"edit"===r.data.type&&i.router.navigate(["/create-playlist"],{state:{playlists:i.playContentObject,islocal:!0}})})})()}}return(n=l).\u0275fac=function(a){return new(a||n)(t.rXU(g.Ix),t.rXU(b.Ux),t.rXU(c.W3),t.rXU(C.q))},n.\u0275cmp=t.VBU({type:n,selectors:[["app-playlist-details"]],decls:4,vars:3,consts:[[3,"fullscreen"],["class","bot-section",4,"ngIf"],["id","content-list"],["class","cards-container",4,"ngFor","ngForOf"],[1,"bot-section"],[1,"bot-section__text"],[1,"cards-container"],["class","card",4,"ngIf"],[1,"card"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["alt","",3,"src"],[1,"card__metadata"],[1,"card__title"],["aria-hidden","true","class","icon-right","src","assets/icon/sd-card.svg",4,"ngIf"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",1,"icon-left",3,"click"],["appThumbnail","","alt","",3,"appThumbnail"],["aria-hidden","true","src","assets/icon/sd-card.svg",1,"icon-right"]],template:function(a,i){1&a&&(t.j41(0,"ion-content",0),t.DNE(1,M,4,3,"div",1),t.j41(2,"div",2),t.DNE(3,B,2,1,"div",3),t.k0s()()),2&a&&(t.Y8G("fullscreen",!0),t.R7$(),t.Y8G("ngIf",!i.playlists.length),t.R7$(2),t.Y8G("ngForOf",i.playlists))},dependencies:[d.Sq,d.bT,c.QW,c.W9,c.iq,O.g,_.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-content[_ngcontent-%COMP%]{--padding-top: 3.5rem }.landscape-icon[_ngcontent-%COMP%]{position:absolute;width:100%;background:transparent;bottom:3.5rem;z-index:9999;background:var(--ion-color-secondary-contrast);opacity:.5}.landscape-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{float:right;font-size:1.5rem;margin-right:.5rem}.icon-right[_ngcontent-%COMP%]{margin-right:10px}.icon-left[_ngcontent-%COMP%]{margin-left:10px}.bot-section__text[_ngcontent-%COMP%]{position:absolute;left:46%;right:0;top:16%;transform:translate(-50%,-50%);text-align:center;color:var(--ion-color-medium);font-size:.75rem}"]}),l})()}];let X=(()=>{var n;class l{}return(n=l).\u0275fac=function(a){return new(a||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[g.iI.forChild(w),g.iI]}),l})();var k=s(3721);let E=(()=>{var n;class l{}return(n=l).\u0275fac=function(a){return new(a||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[d.MD,v.YN,c.bv,X,_.h,k.h]}),l})()}}]); \ No newline at end of file diff --git a/www/4294.a6a7a79833fbee90.js b/www/4294.a6a7a79833fbee90.js new file mode 100644 index 0000000..4f1d0eb --- /dev/null +++ b/www/4294.a6a7a79833fbee90.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4294],{4294:(N,h,s)=>{s.r(h),s.d(h,{PlaylistDetailsPageModule:()=>E});var d=s(177),f=s(9417),c=s(8974),g=s(3021),m=s(467),P=s(56),D=s(5301),t=s(4438),C=s(2904),b=s(7803),O=s(4254),y=s(5402);function M(n,l){1&n&&(t.j41(0,"div",4)(1,"div",5),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"Add content to the playlist")))}function x(n,l){if(1&n&&t.nrm(0,"img",13),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function j(n,l){if(1&n&&t.nrm(0,"img",18),2&n){const e=t.XpG(2).$implicit;t.Y8G("appThumbnail",null==e?null:e.metaData)}}function G(n,l){if(1&n&&t.nrm(0,"img",13),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function T(n,l){if(1&n&&t.nrm(0,"img",13),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function I(n,l){1&n&&t.nrm(0,"img",19)}function $(n,l){1&n&&t.nrm(0,"ion-icon",20)}function R(n,l){if(1&n){const e=t.RV6();t.j41(0,"div",8)(1,"div",9),t.bIt("click",function(){t.eBV(e);const a=t.XpG().$implicit,o=t.XpG();return t.Njj(o.playContent(a))}),t.DNE(2,x,1,1,"img",10)(3,j,1,1,"img",11)(4,G,1,1,"img",10)(5,T,1,1,"img",10)(6,I,1,0,"img",12),t.nrm(7,"img",13),t.k0s(),t.j41(8,"div",14)(9,"div",15),t.EFF(10),t.k0s(),t.j41(11,"ion-buttons"),t.DNE(12,$,1,0,"ion-icon",16),t.j41(13,"ion-icon",17),t.bIt("click",function(){t.eBV(e);const a=t.XpG().$implicit,o=t.XpG();return t.Njj(o.moreOtions(a))}),t.k0s()()()()}if(2&n){const e=t.XpG().$implicit,i=t.XpG();t.R7$(2),t.Y8G("ngIf",e.metaData.mimetype===i.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",(null==e||null==e.metaData?null:e.metaData.mimetype)===i.mimeType.YOUTUBE&&!e.play),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===i.mimeType.MP4),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===i.mimeType.PDF),t.R7$(),t.Y8G("ngIf",(null==e||null==e.metaData?null:e.metaData.mimetype)===(null==i.mimeType?null:i.mimeType.LINK)),t.R7$(),t.Y8G("src",""!=(null==e||null==e.metaData?null:e.metaData.thumbnail)||e.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",t.B4B),t.R7$(3),t.JRh(null==e.metaData?null:e.metaData.name),t.R7$(2),t.Y8G("ngIf","local"===e.source)}}function w(n,l){if(1&n&&(t.j41(0,"div",6),t.DNE(1,R,14,8,"div",7),t.k0s()),2&n){const e=l.$implicit;t.R7$(),t.Y8G("ngIf",null==e?null:e.metaData)}}const Y=[{path:"",component:(()=>{var n;class l{constructor(i,a,o,r){var p;this.router=i,this.headerService=a,this.modalCtrl=o,this.playlistService=r,this.playlists=[],this.mimeType=P.Cc,this.navigated=!1,this.headerEventSub=null;let _=null===(p=this.router.getCurrentNavigation())||void 0===p?void 0:p.extras;var u;_&&(this.playContentObject=null===(u=_.state)||void 0===u?void 0:u.playlist,this.playContentObject.playListcontentList.map(v=>{v.metaData=JSON.parse(v.content_metadata)}),this.playlists=this.playContentObject.playListcontentList)}ngOnInit(){this.headerService.showHeader(this.playContentObject.name,!0,["edit"]),this.headerService.headerEventEmitted$.subscribe(i=>{"edit"===i?this.router.navigate(["/create-playlist"],{state:{playlists:this.playContentObject,islocal:!0}}):"back"===i&&!this.navigated&&(this.navigated=!0,this.router.navigate(["/tabs/my-pitara"]))})}ionViewWillEnter(){this.navigated=!1,this.headerService.showHeader(this.playContentObject.name,!0,["edit"])}ngOnDestroy(){try{this.headerEventSub&&this.headerEventSub.unsubscribe()}catch(i){console.log("error in unsubscribe",i)}}playContent(i){var a=this;return(0,m.A)(function*(){yield a.router.navigate(["/player"],{state:{content:i}})})()}deletePlaylist(i){var a=this;return(0,m.A)(function*(){yield a.playlistService.deleteContentFromPlayList(a.playContentObject.identifier,[i.identifier]).then(o=>{a.getPlaylistContent()}).catch(o=>{console.log("err",o)})})()}getPlaylistContent(){var i=this;return(0,m.A)(function*(){yield i.playlistService.getPlayListContents(i.playContentObject.identifier).then(a=>{i.playlists=a,i.playlists.map(o=>{o.metaData=JSON.parse(o.content_metadata)}),i.playContentObject.playListcontentList=i.playlists})})()}moreOtions(i){var a=this;return(0,m.A)(function*(){const o=yield a.modalCtrl.create({component:D.J,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield o.present(),o.onWillDismiss().then(r=>{r&&"delete"===r.data.type?a.deletePlaylist(i):r&&"edit"===r.data.type&&a.router.navigate(["/create-playlist"],{state:{playlists:a.playContentObject,islocal:!0}})})})()}}return(n=l).\u0275fac=function(i){return new(i||n)(t.rXU(g.Ix),t.rXU(C.Ux),t.rXU(c.W3),t.rXU(b.q))},n.\u0275cmp=t.VBU({type:n,selectors:[["app-playlist-details"]],decls:4,vars:3,consts:[[3,"fullscreen"],["class","bot-section",4,"ngIf"],["id","content-list"],["class","cards-container",4,"ngFor","ngForOf"],[1,"bot-section"],[1,"bot-section__text"],[1,"cards-container"],["class","card",4,"ngIf"],[1,"card"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],["alt","",3,"src"],[1,"card__metadata"],[1,"card__title"],["aria-hidden","true","class","icon-right","src","assets/icon/sd-card.svg",4,"ngIf"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",1,"icon-left",3,"click"],["appThumbnail","","alt","",3,"appThumbnail"],["src","assets/images/LINK.png","alt",""],["aria-hidden","true","src","assets/icon/sd-card.svg",1,"icon-right"]],template:function(i,a){1&i&&(t.j41(0,"ion-content",0),t.DNE(1,M,4,3,"div",1),t.j41(2,"div",2),t.DNE(3,w,2,1,"div",3),t.k0s()()),2&i&&(t.Y8G("fullscreen",!0),t.R7$(),t.Y8G("ngIf",!a.playlists.length),t.R7$(2),t.Y8G("ngForOf",a.playlists))},dependencies:[d.Sq,d.bT,c.QW,c.W9,c.iq,O.g,y.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-content[_ngcontent-%COMP%]{--padding-top: 3.5rem }.landscape-icon[_ngcontent-%COMP%]{position:absolute;width:100%;background:transparent;bottom:3.5rem;z-index:9999;background:var(--ion-color-secondary-contrast);opacity:.5}.landscape-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{float:right;font-size:1.5rem;margin-right:.5rem}.icon-right[_ngcontent-%COMP%]{margin-right:10px}.icon-left[_ngcontent-%COMP%]{margin-left:10px}.bot-section__text[_ngcontent-%COMP%]{position:absolute;left:46%;right:0;top:16%;transform:translate(-50%,-50%);text-align:center;color:var(--ion-color-medium);font-size:.75rem}"]}),l})()}];let B=(()=>{var n;class l{}return(n=l).\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[g.iI.forChild(Y),g.iI]}),l})();var k=s(3721);let E=(()=>{var n;class l{}return(n=l).\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[d.MD,f.YN,c.bv,B,y.h,k.h]}),l})()}}]); \ No newline at end of file diff --git a/www/4392.422841214a0f80b8.js b/www/4392.422841214a0f80b8.js new file mode 100644 index 0000000..e860db6 --- /dev/null +++ b/www/4392.422841214a0f80b8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4392],{4392:(Ae,M,r)=>{r.r(M),r.d(M,{HomePageModule:()=>_e});var g=r(8974),v=r(177),A=r(9417),y=r(3021),h=r(467),x=r(56),G=r(2849),H=r(9441),R=r(3649),E=r(7420),D=r(8666),L=r(8941),U=r(446),e=r(4438),f=r(2904),j=r(444),$=r(3696),X=r(7594),I=r(6598),B=r(1413);let N=(()=>{var i;class l{constructor(){var t=this;this.connected=!1,this.networkInfo=new B.B,this.networkConnection$=this.networkInfo.asObservable(),I.l.addListener("networkStatusChange",function(){var n=(0,h.A)(function*(a){t.connected=a.connected,t.networkInfo.next(t.connected)});return function(a){return n.apply(this,arguments)}}())}getNetworkStatus(){var t=this;return(0,h.A)(function*(){return t.connected=yield(yield I.l.getStatus()).connected,t.connected})()}}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var F=r(345),Y=r(5173),C=r(5402),V=r(4447),W=r(3207),K=r(6354),z=r(9437),O=r(3172),T=r(985),k=r(6421),J=r(2700);let Q=(()=>{var i;class l{constructor(t){this.apiService=t,this.transaction_id=(0,k.A)(),this.message_id=(0,k.A)()}onConfirmContent(t){var n=this;return(0,h.A)(function*(){let a={};t&&(a={context:{domain:"onest:learning-experiences",action:"confirm",version:"1.1.0",bap_id:"13.201.4.186:6002",bap_uri:"http://13.201.4.186:6002/",bpp_id:t.bpp_id,bpp_uri:t.bpp_uri,transaction_id:n.transaction_id,message_id:n.message_id,timestamp:(new Date).toISOString()},message:{order:{items:[{id:t.id}],fulfillments:[{customer:{person:{name:"",age:""},contact:{phone:"",email:""}}}]}}});let m=JSON.stringify(a);const s=(new T._g.Builder).withHost(O.$.api.BASE_URL).withPath(O.$.api.CONFIRM_API).withType(T.kr.POST).withBody(m).withBearerToken(!0).withLanguge(t.currentLang).build();return(0,W.s)(n.apiService.fetch(s).pipe((0,K.T)(d=>d.body),(0,z.W)(d=>{throw d})))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.KVO(J.G))},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var Z=r(2297),q=r(4254);const ee=["refresher"],te=()=>[0,1,2,3,4,5,6,7,8];function ne(i,l){1&i&&(e.j41(0,"div",9),e.nrm(1,"ion-spinner",10),e.k0s())}function ie(i,l){1&i&&(e.j41(0,"div",13)(1,"div",14)(2,"div",15),e.nrm(3,"app-skeleton-item",16),e.k0s(),e.j41(4,"div",17)(5,"div",18),e.nrm(6,"app-skeleton-item",19),e.k0s(),e.j41(7,"div",20),e.nrm(8,"app-skeleton-item",19),e.k0s()()()())}function oe(i,l){1&i&&(e.j41(0,"ion-list",11),e.DNE(1,ie,9,0,"div",12),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngForOf",e.lJ4(1,te)))}function ae(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",21)(2,"ion-label",22),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"No Result")))}function re(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",21)(2,"ion-label",22),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"An unknown error occured, please try after sometime")))}function se(i,l){if(1&i&&e.nrm(0,"img",29),2&i){const o=e.XpG(2).$implicit;e.Y8G("src",null!=o&&null!=o.metaData&&o.metaData.thumbnail&&!o.metaData.identifier.startsWith("do_")?null==o||null==o.metaData?null:o.metaData.thumbnail:"assets/images/Audio.png",e.B4B)}}function le(i,l){if(1&i&&e.nrm(0,"img",32),2&i){const o=e.XpG(2).$implicit;e.Y8G("appThumbnail",null==o?null:o.metaData)}}function ce(i,l){if(1&i&&e.nrm(0,"img",29),2&i){const o=e.XpG(2).$implicit;e.Y8G("src",null!=o&&null!=o.metaData&&o.metaData.thumbnail&&!o.metaData.identifier.startsWith("do_")?null==o||null==o.metaData?null:o.metaData.thumbnail:"assets/images/Video.png",e.B4B)}}function me(i,l){if(1&i&&e.nrm(0,"img",29),2&i){const o=e.XpG(2).$implicit;e.Y8G("src",null!=o&&null!=o.metaData&&o.metaData.thumbnail&&!o.metaData.identifier.startsWith("do_")?null==o||null==o.metaData?null:o.metaData.thumbnail:"assets/images/PDF.png",e.B4B)}}function de(i,l){1&i&&e.nrm(0,"img",33)}function he(i,l){if(1&i){const o=e.RV6();e.j41(0,"div",14)(1,"div",25),e.bIt("click",function(n){e.eBV(o);const a=e.XpG().$implicit,m=e.XpG(2);return e.Njj(m.playContent(n,a))}),e.DNE(2,se,1,1,"img",26)(3,le,1,1,"img",27)(4,ce,1,1,"img",26)(5,me,1,1,"img",26)(6,de,1,0,"img",28),e.nrm(7,"img",29),e.k0s(),e.j41(8,"div",17)(9,"div",30),e.EFF(10),e.k0s(),e.j41(11,"ion-icon",31),e.bIt("click",function(){e.eBV(o);const n=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.moreOtions(n))}),e.k0s()()()}if(2&i){const o=e.XpG().$implicit,t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",o.metaData.mimetype===t.mimeType.AUDIO),e.R7$(),e.Y8G("ngIf",(null==o||null==o.metaData?null:o.metaData.mimetype)===t.mimeType.YOUTUBE&&!o.play),e.R7$(),e.Y8G("ngIf",o.metaData.mimetype===t.mimeType.MP4),e.R7$(),e.Y8G("ngIf",o.metaData.mimetype===t.mimeType.PDF),e.R7$(),e.Y8G("ngIf",(null==o||null==o.metaData?null:o.metaData.mimetype)===(null==t.mimeType?null:t.mimeType.LINK)),e.R7$(),e.Y8G("src",""!=(null==o||null==o.metaData?null:o.metaData.thumbnail)||o.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",e.B4B),e.R7$(3),e.JRh(null==o.metaData?null:o.metaData.name)}}function ge(i,l){if(1&i&&(e.j41(0,"div",13),e.DNE(1,he,12,7,"div",24),e.k0s()),2&i){const o=l.$implicit;e.R7$(),e.Y8G("ngIf",o.metaData&&o.metaData.name)}}function ue(i,l){if(1&i&&(e.j41(0,"ion-list",23),e.DNE(1,ge,2,1,"div",12),e.k0s()),2&i){const o=e.XpG();e.R7$(),e.Y8G("ngForOf",o.configContents)}}function fe(i,l){if(1&i){const o=e.RV6();e.j41(0,"ion-infinite-scroll",34),e.bIt("ionInfinite",function(n){e.eBV(o);const a=e.XpG();return e.Njj(a.onIonInfinite(n))}),e.nrm(1,"ion-infinite-scroll-content"),e.k0s()}}const pe=[{path:"",component:(()=>{var i;class l{constructor(t,n,a,m,s,d,u,p,Se,Pe,be,we,Me,De,Ie,Oe,Te,ke){this.headerService=t,this.router=n,this.contentService=a,this.configService=m,this.sunbirdProcess=s,this.modalCtrl=d,this.networkService=u,this.cacheService=p,this.domSanitiser=Se,this.storage=Pe,this.telemetryGeneratorService=be,this.searchService=we,this.translateService=Me,this.toastController=De,this.botMessageApiService=Ie,this.lcoalNotifService=Oe,this.appUpdateService=Te,this.confirmService=ke,this.refresh=!1,this.showSheenAnimation=!0,this.contentList=[],this.isOpen=!1,this.configContents=[],this.optModalOpen=!1,this.networkConnected=!1,this.mimeType=x.Cc,this.noSearchData=!1,this.langChangeSubscription=null,this.serverError=!1,this.onlineState=!1,this.offlineState=!1,this.networkChangeSub=null,this.selectedLang="",this.appName="",this.responseList=[],U.g.then(c=>{var _,S,P,b,w;this.configVariables=c,null!=c&&c.primaryCss&&null!=c&&null!==(_=c.primaryCss)&&void 0!==_&&_.primary&&document.documentElement.style.setProperty("--ion-color-primary",c.primaryCss.primary),null!=c&&c.secondaryCss&&(!(null==c||null===(S=c.secondaryCss)||void 0===S)&&S.secondary&&document.documentElement.style.setProperty("--ion-color-secondary",null==c||null===(P=c.secondaryCss)||void 0===P?void 0:P.secondary),null!=c&&null!==(b=c.secondaryCss)&&void 0!==b&&b.shade&&document.documentElement.style.setProperty("--ion-color-secondary-shade",null==c||null===(w=c.secondaryCss)||void 0===w?void 0:w.shade))}).catch(c=>{console.error("Failed to load configuration:",c)}),L.q.getInfo().then(c=>{this.appName=c.name}),this.configContents=[],this.contentList=[],this.networkChangeSub=this.networkService.networkConnection$.subscribe(c=>{this.networkConnected=c})}ngOnDestroy(){var t=this;return(0,h.A)(function*(){const n=yield t.modalCtrl.getTop();n&&n.dismiss();try{t.langChangeSubscription&&t.langChangeSubscription.unsubscribe(),t.networkChangeSub&&t.networkChangeSub.unsubscribe()}catch(a){console.log("error in unsubscribe",a)}})()}ngOnInit(){var t=this;return(0,h.A)(function*(){t.headerService.headerEventEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){if("language"==d){let u=yield t.storage.getData("lang");t.responseList=yield t.searchService.postContentSearch(n,yield t.storage.getData("lang")),t.selectedLang!==u&&(t.selectedLang=u,t.showSheenAnimation=!0,t.getServerMetaConfig())}});return function(d){return s.apply(this,arguments)}}());let n={};t.headerService.filterConfigEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){t.configContents=[],t.contentList=[],t.serverError=!1,t.showSheenAnimation=!0;let u=yield t.storage.getData("lang"),p=yield t.configService.getAllContent(n,u);t.mappUIContentList(p)});return function(d){return s.apply(this,arguments)}}()),t.headerService.sideMenuItemEventEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){let u;u=""==d.query||"All"==(null==d?void 0:d.query)?{}:{category:d.query},console.log(d),t.showSheenAnimation=!0;try{t.responseList=[],t.responseList=yield t.searchService.postContentSearch(u,yield t.storage.getData("lang")),t.mappUIContentList(t.responseList)}catch(p){console.log("error",p)}});return function(d){return s.apply(this,arguments)}}()),t.networkConnected=yield t.networkService.getNetworkStatus();let a=yield t.cacheService.getCacheTimeout();if(yield t.storage.getData("lang"),a)t.getServerMetaConfig();else if(t.networkConnected){t.getServerMetaConfig(),t.configContents=[],t.contentList=[];let s=yield t.contentService.getAllContent();t.contentList=s,t.generateItems(),t.showSheenAnimation=!1}else{t.configContents=[],t.contentList=[];let s=yield t.contentService.getAllContent();t.contentList=s,t.generateItems(),0==t.contentList.length&&t.getServerMetaConfig(),t.showSheenAnimation=!1}yield D.Q.preload({assetPath:"/assets/sounds/windchime.mp3",assetId:"windchime",volume:1,audioChannelNum:1,isUrl:!1}),t.botMessageApiService.deleteExpiredChatMessages().catch(s=>{console.error(s)}),t.appUpdateService.checkForUpdate()})()}mappUIContentList(t){var n=this;return(0,h.A)(function*(){if(n.showSheenAnimation=!1,n.configContents=[],n.contentList=[],t.length>0){n.noSearchData=!1;let a={};t.forEach((m,s)=>{a={},a.source="djp",a.sourceType="djp-content",a.metaData=m,n.contentList.push(a),s<50&&n.configContents.push(a)}),yield n.contentService.saveContents(n.contentList),n.contentService.getAllContent().then(m=>{n.contentList=[],n.contentList=m})}else n.noSearchData=!0})()}getServerMetaConfig(){var t=this;return(0,h.A)(function*(){yield t.storage.getData("configMeta");let a=t.configVariables.headerFilters;a.forEach(m=>{t.filters=m.additionalFilters.sort((s,d)=>s.index-d.index)}),t.languages=t.configVariables.languages.sort((m,s)=>m.id.localeCompare(s.id)),t.headerService.filterEvent({defaultFilter:a[0].defaultFilter,filter:t.filters,languages:t.languages})})()}tabViewWillEnter(){var t=this;return(0,h.A)(function*(){yield t.headerService.showHeader(t.appName,!1),setTimeout(()=>{t.headerService.showStatusBar(!1)},0)})()}ionViewWillEnter(){var t=this;return(0,h.A)(function*(){t.tabViewWillEnter()})()}ionViewDidEnter(){this.headerService.showStatusBar(!1)}moreOtions(t){var n=this;return(0,h.A)(function*(){let a;n.optModalOpen||(n.optModalOpen=!0,a=yield n.modalCtrl.create({component:G.q,componentProps:{content:t},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield a.present()),a.onDidDismiss().then(function(){var m=(0,h.A)(function*(s){n.optModalOpen=!1,s.data&&"addToPitara"===s.data.type?n.addContentToMyPitara(s.data.content||t):s.data&&"like"==s.data.type&&(n.contentService.likeContent(s.data.content||t,"guest",!0),s.data.content.metaData.isLiked&&(yield D.Q.play({assetId:"windchime"}),(0,E.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})),n.telemetryGeneratorService.generateInteractTelemetry("TOUCH","content-liked","home","home",new R.$i(null==t?void 0:t.metaData.identifier,null==t?void 0:t.metaData.mimetype,"")))});return function(s){return m.apply(this,arguments)}}())})()}initialiseSources(t,n){const a=n.mappings;t.sources&&t.sources.length>0&&t.sources.forEach(m=>{if("sunbird"==m.sourceType){const s=a.find(d=>"sunbird"==d.sourceType);this.sunbirdProcess.process(m,s)}})}playContent(t,n){var a=this;return(0,h.A)(function*(){a.contentService.markContentAsViewed(n),a.configContents.forEach(m=>{m.play=!1}),yield a.router.navigate(["/player"],{state:{content:n}})})()}addContentToMyPitara(t){var n=this;return(0,h.A)(function*(){const a=yield n.modalCtrl.create({component:H.$,componentProps:{content:t},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield a.present(),a.onWillDismiss().then(m=>{})})()}doRefresh(t){this.refresh=!0,this.serverError=!1,this.showSheenAnimation=!0,this.getServerMetaConfig(),setTimeout(()=>{this.refresh=!1,t&&t.detail.complete()},100)}handleFilter(t){alert("handle filter "+t)}sanitiseUrl(t){let n=t.split("&")[0];return this.domSanitiser.bypassSecurityTrustResourceUrl(n.replace("watch?v=","embed/")+"?autoplay=1&controls=1")}navigateToSakhi(t){this.telemetryGeneratorService.generateStartTelemetry("bot",`${t}-sakhi`),"story"==t?this.router.navigate([`/${t}`]):"teacher"==t&&this.router.navigate(["/teacher-sakhi"])}generateItems(){const t=this.configContents.length+50;for(let n=this.configContents.length;n{this.generateItems(),t.target.complete()},500)}confirmContent(t){var n=this;return(0,h.A)(function*(){null!=t&&(yield n.confirmService.onConfirmContent(t.metaData))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.rXU(f.Ux),e.rXU(y.Ix),e.rXU(j.f),e.rXU($.w),e.rXU(X.q),e.rXU(g.W3),e.rXU(N),e.rXU(f.dk),e.rXU(F.up),e.rXU(f.n$),e.rXU(Y.O),e.rXU(f.Sc),e.rXU(C.c$),e.rXU(g.K_),e.rXU(f.F_),e.rXU(f.MK),e.rXU(V.i),e.rXU(Q))},i.\u0275cmp=e.VBU({type:i,selectors:[["app-home"]],viewQuery:function(t,n){if(1&t&&e.GBs(ee,5),2&t){let a;e.mGM(a=e.lsd())&&(n.refresher=a.first)}},decls:10,vars:7,consts:[["refresher",""],[3,"fullscreen"],["class","spinner-div",4,"ngIf"],["slot","fixed",3,"ionRefresh"],["refreshingSpinner","circles"],["class","m-n",4,"ngIf"],[4,"ngIf"],["id","content-list",4,"ngIf"],[3,"ionInfinite",4,"ngIf"],[1,"spinner-div"],["icon","spiral",1,"refreshspinner"],[1,"m-n"],["class","cards-container",4,"ngFor","ngForOf"],[1,"cards-container"],[1,"card"],["item-start","",1,"card__img"],["height","15rem","width","100%","radius","16px"],[1,"card__metadata"],[2,"width","90%"],["height","12px","width","100%"],[2,"padding-left","1.5rem","width","10%"],["lines","none"],[1,"no-data"],["id","content-list"],["class","card",4,"ngIf"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],["alt","",3,"src"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],["appThumbnail","","alt","",3,"appThumbnail"],["src","assets/images/LINK.png","alt",""],[3,"ionInfinite"]],template:function(t,n){if(1&t){const a=e.RV6();e.j41(0,"ion-content",1),e.DNE(1,ne,2,0,"div",2),e.j41(2,"ion-refresher",3,0),e.bIt("ionRefresh",function(s){return e.eBV(a),e.Njj(n.doRefresh(s))}),e.nrm(4,"ion-refresher-content",4),e.k0s(),e.DNE(5,oe,2,2,"ion-list",5)(6,ae,5,3,"ion-list",6)(7,re,5,3,"ion-list",6)(8,ue,2,1,"ion-list",7)(9,fe,2,0,"ion-infinite-scroll",8),e.k0s()}2&t&&(e.Y8G("fullscreen",!0),e.R7$(),e.Y8G("ngIf",n.refresh),e.R7$(4),e.Y8G("ngIf",n.showSheenAnimation),e.R7$(),e.Y8G("ngIf",!n.showSheenAnimation&&n.noSearchData&&0==n.configContents.length),e.R7$(),e.Y8G("ngIf",!n.showSheenAnimation&&n.serverError),e.R7$(),e.Y8G("ngIf",!n.showSheenAnimation&&n.configContents.length>0),e.R7$(),e.Y8G("ngIf",!n.showSheenAnimation&&n.configContents.length>0))},dependencies:[g.W9,g.iq,g.Ax,g.Hp,g.uz,g.he,g.nf,g.To,g.Ki,g.w2,v.Sq,v.bT,Z.O,q.g,C.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-label[_ngcontent-%COMP%]{width:95%}.refreshspinner[_ngcontent-%COMP%]{stroke:#024f9d!important;width:1.875rem;left:0;top:0;height:2.5rem;position:relative!important}.spinner-div[_ngcontent-%COMP%]{padding:2.5rem;background-color:#eceff0;text-align:center;border:none!important}.landscape-icon[_ngcontent-%COMP%]{position:absolute;width:100%;background:transparent;bottom:3.5rem;z-index:9999;background:var(--ion-color-secondary-contrast);opacity:.5}.landscape-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{float:right;font-size:1.5rem;margin-right:.5rem}ion-list[_ngcontent-%COMP%]{background-color:transparent}ion-item[_ngcontent-%COMP%]{--background: transparent}"]}),l})()}];let ve=(()=>{var i;class l{}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[y.iI.forChild(pe),y.iI]}),l})();var ye=r(5553),Ce=r(3721);let _e=(()=>{var i;class l{}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[g.bv,v.MD,A.YN,ve,C.h,ye.h,Ce.h]}),l})()}}]); \ No newline at end of file diff --git a/www/4392.b4fe58b088879926.js b/www/4392.b4fe58b088879926.js deleted file mode 100644 index 19cd94a..0000000 --- a/www/4392.b4fe58b088879926.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4392],{4392:(xe,w,r)=>{r.r(w),r.d(w,{HomePageModule:()=>Se});var u=r(8974),v=r(177),A=r(9417),_=r(3021),h=r(467),x=r(56),G=r(2849),H=r(9441),R=r(3649),E=r(7420),M=r(8666),L=r(8941),U=r(446),e=r(4438),p=r(2904),j=r(444),$=r(3696),B=r(7594),I=r(6598),X=r(1413);let N=(()=>{var i;class l{constructor(){var t=this;this.connected=!1,this.networkInfo=new X.B,this.networkConnection$=this.networkInfo.asObservable(),I.l.addListener("networkStatusChange",function(){var a=(0,h.A)(function*(o){t.connected=o.connected,t.networkInfo.next(t.connected)});return function(o){return a.apply(this,arguments)}}())}getNetworkStatus(){var t=this;return(0,h.A)(function*(){return t.connected=yield(yield I.l.getStatus()).connected,t.connected})()}}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var F=r(345),Y=r(5173),y=r(5402),V=r(4447),W=r(3207),K=r(6354),z=r(9437),O=r(3172),T=r(985),k=r(6421),J=r(2700);let Q=(()=>{var i;class l{constructor(t){this.apiService=t,this.transaction_id=(0,k.A)(),this.message_id=(0,k.A)()}onConfirmContent(t){var a=this;return(0,h.A)(function*(){let o={};t&&(o={context:{domain:"onest:learning-experiences",action:"confirm",version:"1.1.0",bap_id:"13.201.4.186:6002",bap_uri:"http://13.201.4.186:6002/",bpp_id:t.bpp_id,bpp_uri:t.bpp_uri,transaction_id:a.transaction_id,message_id:a.message_id,timestamp:(new Date).toISOString()},message:{order:{items:[{id:t.id}],fulfillments:[{customer:{person:{name:"",age:""},contact:{phone:"",email:""}}}]}}});let m=JSON.stringify(o);const s=(new T._g.Builder).withHost(O.$.api.BASE_URL).withPath(O.$.api.CONFIRM_API).withType(T.kr.POST).withBody(m).withBearerToken(!0).withLanguge(t.currentLang).build();return(0,W.s)(a.apiService.fetch(s).pipe((0,K.T)(d=>d.body),(0,z.W)(d=>{throw d})))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.KVO(J.G))},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var Z=r(2297),q=r(4254);const ee=["refresher"],te=()=>[0,1,2,3,4,5,6,7,8];function ne(i,l){1&i&&(e.j41(0,"div",9),e.nrm(1,"ion-spinner",10),e.k0s())}function ie(i,l){1&i&&(e.j41(0,"div",13)(1,"div",14)(2,"div",15),e.nrm(3,"app-skeleton-item",16),e.k0s(),e.j41(4,"div",17)(5,"div",18),e.nrm(6,"app-skeleton-item",19),e.k0s(),e.j41(7,"div",20),e.nrm(8,"app-skeleton-item",19),e.k0s()()()())}function ae(i,l){1&i&&(e.j41(0,"ion-list",11),e.DNE(1,ie,9,0,"div",12),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngForOf",e.lJ4(1,te)))}function oe(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",21)(2,"ion-label",22),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"No Result")))}function re(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",21)(2,"ion-label",22),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"An unknown error occured, please try after sometime")))}function se(i,l){if(1&i&&e.nrm(0,"img",28),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/Audio.png",e.B4B)}}function le(i,l){if(1&i&&e.nrm(0,"img",31),2&i){const n=e.XpG(2).$implicit;e.Y8G("appThumbnail",null==n?null:n.metaData)}}function ce(i,l){if(1&i&&e.nrm(0,"img",28),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/Video.png",e.B4B)}}function me(i,l){if(1&i&&e.nrm(0,"img",28),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/PDF.png",e.B4B)}}function de(i,l){if(1&i&&e.nrm(0,"img",28),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/LINK.png",e.B4B)}}function he(i,l){if(1&i&&e.nrm(0,"img",28),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/LINK.png",e.B4B)}}function ue(i,l){if(1&i){const n=e.RV6();e.j41(0,"div",14)(1,"div",25),e.bIt("click",function(a){e.eBV(n);const o=e.XpG().$implicit,m=e.XpG(2);return e.Njj(m.playContent(a,o))}),e.DNE(2,se,1,1,"img",26)(3,le,1,1,"img",27)(4,ce,1,1,"img",26)(5,me,1,1,"img",26)(6,de,1,1,"img",26)(7,he,1,1,"img",26),e.nrm(8,"img",28),e.k0s(),e.j41(9,"div",17)(10,"div",29),e.EFF(11),e.k0s(),e.j41(12,"ion-icon",30),e.bIt("click",function(){e.eBV(n);const a=e.XpG().$implicit,o=e.XpG(2);return e.Njj(o.moreOtions(a))}),e.k0s()()()}if(2&i){const n=e.XpG().$implicit,t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.AUDIO),e.R7$(),e.Y8G("ngIf",(null==n||null==n.metaData?null:n.metaData.mimetype)===t.mimeType.YOUTUBE&&!n.play),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.MP4),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.PDF),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.LINK),e.R7$(),e.Y8G("ngIf","text/html"===(null==n||null==n.metaData?null:n.metaData.mimetype)),e.R7$(),e.Y8G("src",""!=(null==n||null==n.metaData?null:n.metaData.thumbnail)||n.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",e.B4B),e.R7$(3),e.JRh(null==n.metaData?null:n.metaData.name)}}function ge(i,l){if(1&i&&(e.j41(0,"div",13),e.DNE(1,ue,13,8,"div",24),e.k0s()),2&i){const n=l.$implicit;e.R7$(),e.Y8G("ngIf",n.metaData&&n.metaData.name)}}function pe(i,l){if(1&i&&(e.j41(0,"ion-list",23),e.DNE(1,ge,2,1,"div",12),e.k0s()),2&i){const n=e.XpG();e.R7$(),e.Y8G("ngForOf",n.configContents)}}function fe(i,l){if(1&i){const n=e.RV6();e.j41(0,"ion-infinite-scroll",32),e.bIt("ionInfinite",function(a){e.eBV(n);const o=e.XpG();return e.Njj(o.onIonInfinite(a))}),e.nrm(1,"ion-infinite-scroll-content"),e.k0s()}}const ve=[{path:"",component:(()=>{var i;class l{constructor(t,a,o,m,s,d,g,f,Pe,be,De,we,Me,Ie,Oe,Te,ke,Ae){this.headerService=t,this.router=a,this.contentService=o,this.configService=m,this.sunbirdProcess=s,this.modalCtrl=d,this.networkService=g,this.cacheService=f,this.domSanitiser=Pe,this.storage=be,this.telemetryGeneratorService=De,this.searchService=we,this.translateService=Me,this.toastController=Ie,this.botMessageApiService=Oe,this.lcoalNotifService=Te,this.appUpdateService=ke,this.confirmService=Ae,this.refresh=!1,this.showSheenAnimation=!0,this.contentList=[],this.isOpen=!1,this.configContents=[],this.optModalOpen=!1,this.networkConnected=!1,this.mimeType=x.Cc,this.noSearchData=!1,this.langChangeSubscription=null,this.serverError=!1,this.onlineState=!1,this.offlineState=!1,this.networkChangeSub=null,this.selectedLang="",this.appName="",this.responseList=[],U.g.then(c=>{var C,S,P,b,D;this.configVariables=c,null!=c&&c.primaryCss&&null!=c&&null!==(C=c.primaryCss)&&void 0!==C&&C.primary&&document.documentElement.style.setProperty("--ion-color-primary",c.primaryCss.primary),null!=c&&c.secondaryCss&&(!(null==c||null===(S=c.secondaryCss)||void 0===S)&&S.secondary&&document.documentElement.style.setProperty("--ion-color-secondary",null==c||null===(P=c.secondaryCss)||void 0===P?void 0:P.secondary),null!=c&&null!==(b=c.secondaryCss)&&void 0!==b&&b.shade&&document.documentElement.style.setProperty("--ion-color-secondary-shade",null==c||null===(D=c.secondaryCss)||void 0===D?void 0:D.shade))}).catch(c=>{console.error("Failed to load configuration:",c)}),L.q.getInfo().then(c=>{this.appName=c.name}),this.configContents=[],this.contentList=[],this.networkChangeSub=this.networkService.networkConnection$.subscribe(c=>{this.networkConnected=c})}ngOnDestroy(){var t=this;return(0,h.A)(function*(){const a=yield t.modalCtrl.getTop();a&&a.dismiss();try{t.langChangeSubscription&&t.langChangeSubscription.unsubscribe(),t.networkChangeSub&&t.networkChangeSub.unsubscribe()}catch(o){console.log("error in unsubscribe",o)}})()}ngOnInit(){var t=this;return(0,h.A)(function*(){t.headerService.headerEventEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){if("language"==d){let g=yield t.storage.getData("lang");t.responseList=yield t.searchService.postContentSearch(a,yield t.storage.getData("lang")),t.selectedLang!==g&&(t.selectedLang=g,t.showSheenAnimation=!0,t.getServerMetaConfig())}});return function(d){return s.apply(this,arguments)}}());let a={};t.headerService.filterConfigEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){t.configContents=[],t.contentList=[],t.serverError=!1,t.showSheenAnimation=!0;let g=yield t.storage.getData("lang"),f=yield t.configService.getAllContent(a,g);t.mappUIContentList(f)});return function(d){return s.apply(this,arguments)}}()),t.headerService.sideMenuItemEventEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){let g;g=""==d.query||"All"==(null==d?void 0:d.query)?{}:{category:d.query},console.log(d),t.showSheenAnimation=!0;try{t.responseList=[],t.responseList=yield t.searchService.postContentSearch(g,yield t.storage.getData("lang")),t.mappUIContentList(t.responseList)}catch(f){console.log("error",f)}});return function(d){return s.apply(this,arguments)}}()),t.networkConnected=yield t.networkService.getNetworkStatus();let o=yield t.cacheService.getCacheTimeout();if(yield t.storage.getData("lang"),o)t.getServerMetaConfig();else if(t.networkConnected){t.getServerMetaConfig(),t.configContents=[],t.contentList=[];let s=yield t.contentService.getAllContent();t.contentList=s,t.generateItems(),t.showSheenAnimation=!1}else{t.configContents=[],t.contentList=[];let s=yield t.contentService.getAllContent();t.contentList=s,t.generateItems(),0==t.contentList.length&&t.getServerMetaConfig(),t.showSheenAnimation=!1}yield M.Q.preload({assetPath:"/assets/sounds/windchime.mp3",assetId:"windchime",volume:1,audioChannelNum:1,isUrl:!1}),t.botMessageApiService.deleteExpiredChatMessages().catch(s=>{console.error(s)}),t.appUpdateService.checkForUpdate()})()}mappUIContentList(t){var a=this;return(0,h.A)(function*(){if(a.showSheenAnimation=!1,a.configContents=[],a.contentList=[],t.length>0){a.noSearchData=!1;let o={};t.forEach((m,s)=>{o={},o.source="djp",o.sourceType="djp-content",o.metaData=m,a.contentList.push(o),s<50&&a.configContents.push(o)}),yield a.contentService.saveContents(a.contentList),a.contentService.getAllContent().then(m=>{a.contentList=[],a.contentList=m})}else a.noSearchData=!0})()}getServerMetaConfig(){var t=this;return(0,h.A)(function*(){yield t.storage.getData("configMeta");let o=t.configVariables.headerFilters;o.forEach(m=>{t.filters=m.additionalFilters.sort((s,d)=>s.index-d.index)}),t.languages=t.configVariables.languages.sort((m,s)=>m.id.localeCompare(s.id)),t.headerService.filterEvent({defaultFilter:o[0].defaultFilter,filter:t.filters,languages:t.languages})})()}tabViewWillEnter(){var t=this;return(0,h.A)(function*(){yield t.headerService.showHeader(t.appName,!1),setTimeout(()=>{t.headerService.showStatusBar(!1)},0)})()}ionViewWillEnter(){var t=this;return(0,h.A)(function*(){t.tabViewWillEnter()})()}ionViewDidEnter(){this.headerService.showStatusBar(!1)}moreOtions(t){var a=this;return(0,h.A)(function*(){let o;a.optModalOpen||(a.optModalOpen=!0,o=yield a.modalCtrl.create({component:G.q,componentProps:{content:t},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield o.present()),o.onDidDismiss().then(function(){var m=(0,h.A)(function*(s){a.optModalOpen=!1,s.data&&"addToPitara"===s.data.type?a.addContentToMyPitara(s.data.content||t):s.data&&"like"==s.data.type&&(a.contentService.likeContent(s.data.content||t,"guest",!0),s.data.content.metaData.isLiked&&(yield M.Q.play({assetId:"windchime"}),(0,E.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})),a.telemetryGeneratorService.generateInteractTelemetry("TOUCH","content-liked","home","home",new R.$i(null==t?void 0:t.metaData.identifier,null==t?void 0:t.metaData.mimetype,"")))});return function(s){return m.apply(this,arguments)}}())})()}initialiseSources(t,a){const o=a.mappings;t.sources&&t.sources.length>0&&t.sources.forEach(m=>{if("sunbird"==m.sourceType){const s=o.find(d=>"sunbird"==d.sourceType);this.sunbirdProcess.process(m,s)}})}playContent(t,a){var o=this;return(0,h.A)(function*(){o.contentService.markContentAsViewed(a),o.configContents.forEach(m=>{m.play=!1}),yield o.router.navigate(["/player"],{state:{content:a}})})()}addContentToMyPitara(t){var a=this;return(0,h.A)(function*(){const o=yield a.modalCtrl.create({component:H.$,componentProps:{content:t},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield o.present(),o.onWillDismiss().then(m=>{})})()}doRefresh(t){this.refresh=!0,this.serverError=!1,this.showSheenAnimation=!0,this.getServerMetaConfig(),setTimeout(()=>{this.refresh=!1,t&&t.detail.complete()},100)}handleFilter(t){alert("handle filter "+t)}sanitiseUrl(t){let a=t.split("&")[0];return this.domSanitiser.bypassSecurityTrustResourceUrl(a.replace("watch?v=","embed/")+"?autoplay=1&controls=1")}navigateToSakhi(t){this.telemetryGeneratorService.generateStartTelemetry("bot",`${t}-sakhi`),"story"==t?this.router.navigate([`/${t}`]):"teacher"==t&&this.router.navigate(["/teacher-sakhi"])}generateItems(){const t=this.configContents.length+50;for(let a=this.configContents.length;a{this.generateItems(),t.target.complete()},500)}confirmContent(t){var a=this;return(0,h.A)(function*(){null!=t&&(yield a.confirmService.onConfirmContent(t.metaData))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.rXU(p.Ux),e.rXU(_.Ix),e.rXU(j.f),e.rXU($.w),e.rXU(B.q),e.rXU(u.W3),e.rXU(N),e.rXU(p.dk),e.rXU(F.up),e.rXU(p.n$),e.rXU(Y.O),e.rXU(p.Sc),e.rXU(y.c$),e.rXU(u.K_),e.rXU(p.F_),e.rXU(p.MK),e.rXU(V.i),e.rXU(Q))},i.\u0275cmp=e.VBU({type:i,selectors:[["app-home"]],viewQuery:function(t,a){if(1&t&&e.GBs(ee,5),2&t){let o;e.mGM(o=e.lsd())&&(a.refresher=o.first)}},decls:10,vars:7,consts:[["refresher",""],[3,"fullscreen"],["class","spinner-div",4,"ngIf"],["slot","fixed",3,"ionRefresh"],["refreshingSpinner","circles"],["class","m-n",4,"ngIf"],[4,"ngIf"],["id","content-list",4,"ngIf"],[3,"ionInfinite",4,"ngIf"],[1,"spinner-div"],["icon","spiral",1,"refreshspinner"],[1,"m-n"],["class","cards-container",4,"ngFor","ngForOf"],[1,"cards-container"],[1,"card"],["item-start","",1,"card__img"],["height","15rem","width","100%","radius","16px"],[1,"card__metadata"],[2,"width","90%"],["height","12px","width","100%"],[2,"padding-left","1.5rem","width","10%"],["lines","none"],[1,"no-data"],["id","content-list"],["class","card",4,"ngIf"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["alt","",3,"src"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],["appThumbnail","","alt","",3,"appThumbnail"],[3,"ionInfinite"]],template:function(t,a){if(1&t){const o=e.RV6();e.j41(0,"ion-content",1),e.DNE(1,ne,2,0,"div",2),e.j41(2,"ion-refresher",3,0),e.bIt("ionRefresh",function(s){return e.eBV(o),e.Njj(a.doRefresh(s))}),e.nrm(4,"ion-refresher-content",4),e.k0s(),e.DNE(5,ae,2,2,"ion-list",5)(6,oe,5,3,"ion-list",6)(7,re,5,3,"ion-list",6)(8,pe,2,1,"ion-list",7)(9,fe,2,0,"ion-infinite-scroll",8),e.k0s()}2&t&&(e.Y8G("fullscreen",!0),e.R7$(),e.Y8G("ngIf",a.refresh),e.R7$(4),e.Y8G("ngIf",a.showSheenAnimation),e.R7$(),e.Y8G("ngIf",!a.showSheenAnimation&&a.noSearchData&&0==a.configContents.length),e.R7$(),e.Y8G("ngIf",!a.showSheenAnimation&&a.serverError),e.R7$(),e.Y8G("ngIf",!a.showSheenAnimation&&a.configContents.length>0),e.R7$(),e.Y8G("ngIf",!a.showSheenAnimation&&a.configContents.length>0))},dependencies:[u.W9,u.iq,u.Ax,u.Hp,u.uz,u.he,u.nf,u.To,u.Ki,u.w2,v.Sq,v.bT,Z.O,q.g,y.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-label[_ngcontent-%COMP%]{width:95%}.refreshspinner[_ngcontent-%COMP%]{stroke:#024f9d!important;width:1.875rem;left:0;top:0;height:2.5rem;position:relative!important}.spinner-div[_ngcontent-%COMP%]{padding:2.5rem;background-color:#eceff0;text-align:center;border:none!important}.landscape-icon[_ngcontent-%COMP%]{position:absolute;width:100%;background:transparent;bottom:3.5rem;z-index:9999;background:var(--ion-color-secondary-contrast);opacity:.5}.landscape-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{float:right;font-size:1.5rem;margin-right:.5rem}ion-list[_ngcontent-%COMP%]{background-color:transparent}ion-item[_ngcontent-%COMP%]{--background: transparent}"]}),l})()}];let _e=(()=>{var i;class l{}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[_.iI.forChild(ve),_.iI]}),l})();var ye=r(5553),Ce=r(3721);let Se=(()=>{var i;class l{}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[u.bv,v.MD,A.YN,_e,y.h,ye.h,Ce.h]}),l})()}}]); \ No newline at end of file diff --git a/www/4567.2a1836c7dd32dcb8.js b/www/4567.2a1836c7dd32dcb8.js new file mode 100644 index 0000000..050a1ac --- /dev/null +++ b/www/4567.2a1836c7dd32dcb8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4567],{4567:(v,u,c)=>{c.r(u),c.d(u,{MyPitaraPageModule:()=>L});var d=c(8974),g=c(177),y=c(9417),r=c(3021),m=c(467),_=c(5301),P=c(4733),f=c(56),t=c(4438),M=c(3568),b=c(444),C=c(7803),h=c(5402);function O(i,o){1&i&&(t.j41(0,"div",15)(1,"div",16)(2,"div",17),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&i&&(t.R7$(3),t.JRh(t.bMT(4,1,"No contents")))}function w(i,o){if(1&i&&t.nrm(0,"img",24),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function k(i,o){if(1&i&&t.nrm(0,"img",24),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/youtube-video.png",t.B4B)}}function D(i,o){if(1&i&&t.nrm(0,"img",24),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function I(i,o){if(1&i&&t.nrm(0,"img",24),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function T(i,o){1&i&&t.nrm(0,"img",25)}function x(i,o){if(1&i&&(t.j41(0,"ion-card"),t.DNE(1,w,1,1,"img",22)(2,k,1,1,"img",22)(3,D,1,1,"img",22)(4,I,1,1,"img",22)(5,T,1,0,"img",23),t.k0s()),2&i){const e=t.XpG().$implicit,n=t.XpG();t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.YOUTUBE),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.MP4),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.PDF),t.R7$(),t.Y8G("ngIf",(null==e||null==e.metaData?null:e.metaData.mimetype)===(null==n.mimeType?null:n.mimeType.LINK))}}function R(i,o){if(1&i&&(t.j41(0,"div",26),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.JRh(t.bMT(2,1,e.metaData.name))}}function E(i,o){if(1&i){const e=t.RV6();t.j41(0,"div",18)(1,"div",19),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.playContent(a))}),t.DNE(2,x,6,5,"ion-card",20)(3,R,3,3,"div",21),t.k0s()()}if(2&i){const e=o.$implicit;t.R7$(2),t.Y8G("ngIf",null==e?null:e.metaData),t.R7$(),t.Y8G("ngIf",null==e||null==e.metaData?null:e.metaData.name)}}function j(i,o){1&i&&(t.j41(0,"div",27)(1,"div",28),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&i&&(t.R7$(2),t.JRh(t.bMT(3,1,"Click on New Playlist button to create your first playlist")))}function $(i,o){if(1&i&&(t.j41(0,"div",37),t.EFF(1),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.name," ")}}function G(i,o){if(1&i){const e=t.RV6();t.j41(0,"div")(1,"div",29),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.navigateToDetails(a))}),t.j41(2,"div",30)(3,"ion-card"),t.nrm(4,"img",31),t.k0s(),t.nrm(5,"div",32)(6,"div",33),t.k0s(),t.DNE(7,$,2,1,"div",34),t.j41(8,"div",35),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.openModal(a))}),t.nrm(9,"ion-icon",36),t.k0s()()()}if(2&i){const e=o.$implicit;t.R7$(7),t.Y8G("ngIf",null==e?null:e.name)}}const F=[{path:"",component:(()=>{var i;class o{constructor(n,a,s,l,p){this.headerService=n,this.contentService=a,this.router=s,this.playListService=l,this.modalCtrl=p,this.contentList=[],this.playlists=[],this.isNavigate=!0,this.mimeType=f.Cc}ngOnInit(){var n=this;return(0,m.A)(function*(){n.headerService.deviceBackbtnEmitted$.subscribe(a=>{(a.name="backBtn")&&n.tabViewWillEnter()})})()}tabViewWillEnter(){var n=this;return(0,m.A)(function*(){yield n.headerService.showHeader("My Jaadui Pitara"),n.getRecentlyviewedContent(),n.getPlaylistContent()})()}ionViewWillEnter(){this.tabViewWillEnter()}viewAllCards(n){this.router.navigate(["/view-all"],{state:{type:n}})}getPlaylistContent(){var n=this;return(0,m.A)(function*(){n.playlists=[],yield n.playListService.getAllPlayLists("guest").then(a=>{n.playlists=a}).catch(a=>{console.log("error",a)})})()}getRecentlyviewedContent(){var n=this;return(0,m.A)(function*(){yield n.contentService.getRecentlyViewedContent("guest").then(a=>{n.contentList=[];let s={};a.filter(l=>{var p;return!s[l.contentIdentifier]&&(s[l.contentIdentifier]=!0,n.contentList.push(l),l.metaData.thumbnail=l.metaData.mimetype===f.Cc.YOUTUBE?n.loadYoutubeImg(l.metaData):!l.metaData.thumbnail||null!=l&&null!==(p=l.metaData.identifier)&&void 0!==p&&p.startsWith("do_")?P.O.getImagePath(l.metaData.mimeType||l.metaData.mimetype):l.metaData.thumbnail,!0)})}).catch(a=>{console.log("error",a)})})()}ngOnDestroy(){var n=this;return(0,m.A)(function*(){const a=yield n.modalCtrl.getTop();a&&a.dismiss()})()}createList(){this.router.navigate(["/create-playlist"])}deletePlaylist(n){var a=this;return(0,m.A)(function*(){yield a.playListService.deletePlayList(n.identifier).then(s=>{a.getPlaylistContent()}).catch(s=>{console.log("err",s)})})()}openModal(n){var a=this;return(0,m.A)(function*(){a.isNavigate=!1;const s=yield a.modalCtrl.create({component:_.J,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield s.present(),s.onWillDismiss().then(l=>{a.isNavigate=!0,l.data&&"delete"===l.data.type?a.deletePlaylist(n):l.data&&"edit"===l.data.type&&a.router.navigate(["/create-playlist"],{state:{playlists:n,islocal:!0,status:"edit"}})})})()}loadYoutubeImg(n){let a=n.identifier;const l=null==n?void 0:n.url.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return a=l?l[1]:null,`https://img.youtube.com/vi/${a}/mqdefault.jpg`}navigateToDetails(n){this.isNavigate&&this.router.navigate(["/playlist-details"],{state:{playlist:n}})}playContent(n){var a=this;return(0,m.A)(function*(){yield a.router.navigate(["/player"],{state:{content:n}})})()}}return(i=o).\u0275fac=function(n){return new(n||i)(t.rXU(M.U),t.rXU(b.f),t.rXU(r.Ix),t.rXU(C.q),t.rXU(d.W3))},i.\u0275cmp=t.VBU({type:i,selectors:[["app-mypitara"]],decls:26,vars:17,consts:[[3,"fullscreen"],[1,"grid-slider"],[1,"grid-slider__header"],[1,""],[1,"grid-slider__header__link",3,"click"],["class","viewed-content",4,"ngIf"],[1,"grid-slider__container"],["class","grid-slider__container__card",4,"ngFor","ngForOf"],[1,"playlist"],[1,"playlist__header"],[1,"playlist__header__button",3,"click"],["name","add-circle-outline","slot","end","aria-hidden","true",1,"secIcon"],["class","playlist-bot",4,"ngIf"],[1,"playlist__container"],[4,"ngFor","ngForOf"],[1,"viewed-content"],[1,"viewed-content__info"],[1,"viewed-content__info__text"],[1,"grid-slider__container__card"],[3,"click"],[4,"ngIf"],["class","card-title",4,"ngIf"],["alt","",3,"src",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],["alt","",3,"src"],["src","assets/images/LINK.png","alt",""],[1,"card-title"],[1,"playlist-bot"],[1,"playlist-bot__text"],[1,"playlist__container__items",3,"click"],[1,"playlist__container__items__cards"],["src","/assets/images/Playlist.png","alt",""],[1,"layer1"],[1,"layer2"],["class","playlist__container__items__metadata",4,"ngIf"],[1,"kabab-menu-icon",3,"click"],["slot","end","aria-hidden","true","src","../../../assets/icon/kabab-icon.svg"],[1,"playlist__container__items__metadata"]],template:function(n,a){1&n&&(t.j41(0,"ion-content",0)(1,"div",1)(2,"div",2)(3,"div",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",4),t.bIt("click",function(){return a.viewAllCards("recentlyviewed")}),t.EFF(7),t.nI1(8,"translate"),t.k0s()(),t.DNE(9,O,5,3,"div",5),t.j41(10,"div",6),t.DNE(11,E,4,2,"div",7),t.k0s()(),t.j41(12,"div",8)(13,"div",9)(14,"div",3),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.j41(17,"div",10),t.bIt("click",function(){return a.viewAllCards("playlist")}),t.j41(18,"ion-button"),t.EFF(19),t.nI1(20,"translate"),t.nrm(21,"ion-icon",11),t.k0s()()(),t.j41(22,"div"),t.DNE(23,j,4,3,"div",12),t.k0s(),t.j41(24,"div",13),t.DNE(25,G,10,1,"div",14),t.k0s()()()),2&n&&(t.Y8G("fullscreen",!0),t.R7$(4),t.JRh(t.bMT(5,9,"Recently Viewed")),t.R7$(3),t.JRh(t.bMT(8,11,"View All")),t.R7$(2),t.Y8G("ngIf",!a.contentList.length),t.R7$(2),t.Y8G("ngForOf",a.contentList),t.R7$(4),t.JRh(t.bMT(16,13,"My Playlist")),t.R7$(4),t.SpI("",t.bMT(20,15,"New Playlist")," "),t.R7$(4),t.Y8G("ngIf",!a.playlists.length),t.R7$(2),t.Y8G("ngForOf",a.playlists))},dependencies:[d.Jm,d.b_,d.W9,d.iq,g.Sq,g.bT,h.D9],styles:["ion-content[_ngcontent-%COMP%]{--padding-top: 35px !important}.grid-slider[_ngcontent-%COMP%]{padding:1rem;margin-top:7px}.grid-slider__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:.75rem;color:var(--ion-color-dark);font-weight:700}.grid-slider__header__link[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.grid-slider__container[_ngcontent-%COMP%]{display:grid;gap:.75rem;overflow-y:auto;overflow-x:auto;grid-auto-flow:column;justify-content:flex-start;padding:1rem 0 3rem}.grid-slider__container__card[_ngcontent-%COMP%]{width:7.5rem;height:4.5rem}.grid-slider__container__card[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{margin:0;box-shadow:none;border-radius:.5rem;height:100%}.grid-slider__container__card[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:4.5rem;width:100%}.grid-slider__container__card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-size:.75rem;font-style:normal;font-weight:400;color:#2f2c2a;padding-top:.5rem;line-height:.875rem;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.playlist[_ngcontent-%COMP%]{padding:0 1rem;padding-top:0}.playlist__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--ion-color-dark);font-weight:700}.playlist__header__button[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{padding-left:.5rem}.playlist__container[_ngcontent-%COMP%]{padding-top:1rem}.playlist__container__items[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:flex-start;align-items:flex-start;gap:.5rem;margin-bottom:1.5rem}.playlist__container__items__cards[_ngcontent-%COMP%]{width:7.5rem;height:4.5rem;min-width:7.5rem;position:relative}.playlist__container__items[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{margin:0;box-shadow:none;border-radius:.5rem;height:100%}.playlist__container__items[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%}.playlist__container__items[_ngcontent-%COMP%] .layer1[_ngcontent-%COMP%]{height:4.5rem;background-color:#7d7d7d;margin-top:-1px;position:absolute;top:-.188rem;width:calc(100% - 12px);left:.375rem;right:.375rem;border-radius:.5rem;z-index:-1}.playlist__container__items[_ngcontent-%COMP%] .layer2[_ngcontent-%COMP%]{position:absolute;top:-8px;width:calc(100% - 20px);height:100%;left:.625rem;right:.625rem;border-radius:.5rem;background:#c3c3c3;z-index:-2;opacity:.7}.playlist__container__items__metadata[_ngcontent-%COMP%]{font-size:.75rem;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-right:1.5rem}.playlist__container__items[_ngcontent-%COMP%] .kabab-menu-icon[_ngcontent-%COMP%]{position:absolute;right:1rem}.playlist__container__items[_ngcontent-%COMP%] .kabab-menu-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}[_nghost-%COMP%] ion-button[_ngcontent-%COMP%]{--background: var(--ion-color-primary-contrast);--color: var(--ion-color-secondary);--border-radius: 30px;--border-color: var(--ion-color-secondary);--border-style: solid;--border-width: 1px;--box-shadow: none}ion-modal[_ngcontent-%COMP%]{--height: fit-content}.btn-len[_ngcontent-%COMP%]{width:88%}.playlist-bot[_ngcontent-%COMP%]{text-align:center;position:absolute;left:50%;right:0;top:55%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px}.playlist-bot__image[_ngcontent-%COMP%]{height:7rem;width:7rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.playlist-bot__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%}.playlist-bot__text[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);font-size:.75rem}.viewed-content[_ngcontent-%COMP%]{padding:1.5rem}.viewed-content__info[_ngcontent-%COMP%]{position:absolute;left:50%;right:0;top:20%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center}.viewed-content__info__image[_ngcontent-%COMP%]{height:5rem;width:5rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.viewed-content__info__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%}.viewed-content__info__text[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);font-size:.75rem}"]}),o})()}];let N=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[r.iI.forChild(F),r.iI]}),o})(),L=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[d.bv,g.MD,y.YN,N,h.h]}),o})()},4733:(v,u,c)=>{c.d(u,{O:()=>g});var d=c(56);class g{static isTrackable(r){return(r=r.trackable?r:r.contentData&&r.contentData.trackable?r.contentData:r).trackable&&r.trackable.enabled?r.trackable.enabled===d.Th.YES?1:r.mimeType===d.z5.COLLECTION?0:-1:r.contentType&&r.contentType.toLowerCase()===d.cM.COURSE.toLowerCase()?1:r.mimeType===d.z5.COLLECTION?0:-1}static getMimeType(r){const m=r.split(".").pop();let _="";switch(null==m?void 0:m.toLowerCase()){case"mp4":_=d.z5.VIDEO;break;case"pdf":_=d.z5.PDF;break;case"mp3":case"m4a":_=d.z5.AUDIOS;break;case"wav":_=d.z5.RECOEDED_AUDIO;break;case"youtube":_=d.z5.YOUTUBE;break;case"link":_=d.z5.LINK}return _}static getImagePath(r){return{mp3:"/assets/images/Audio.png",mp4:"/assets/images/Video.png",webm:"/assets/images/Video.png",pdf:"/assets/images/PDF.png",link:"/assets/images/LINK.png"}[r.split("/").pop()]}}}}]); \ No newline at end of file diff --git a/www/4567.ba4618208021696b.js b/www/4567.ba4618208021696b.js deleted file mode 100644 index 8a023c9..0000000 --- a/www/4567.ba4618208021696b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4567],{4567:(v,u,c)=>{c.r(u),c.d(u,{MyPitaraPageModule:()=>B});var d=c(8974),g=c(177),y=c(9417),r=c(3021),m=c(467),_=c(5301),P=c(4733),h=c(56),t=c(4438),b=c(3568),M=c(444),C=c(7803),f=c(5402);function O(i,o){1&i&&(t.j41(0,"div",15)(1,"div",16)(2,"div",17),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&i&&(t.R7$(3),t.JRh(t.bMT(4,1,"No contents")))}function w(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function D(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/youtube-video.png",t.B4B)}}function k(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function x(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function T(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function I(i,o){if(1&i&&(t.j41(0,"ion-card"),t.DNE(1,w,1,1,"img",22)(2,D,1,1,"img",22)(3,k,1,1,"img",22)(4,x,1,1,"img",22)(5,T,1,1,"img",22),t.k0s()),2&i){const e=t.XpG().$implicit,n=t.XpG();t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.YOUTUBE),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.MP4),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.PDF),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.LINK)}}function R(i,o){if(1&i&&(t.j41(0,"div",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.JRh(t.bMT(2,1,e.metaData.name))}}function E(i,o){if(1&i){const e=t.RV6();t.j41(0,"div",18)(1,"div",19),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.playContent(a))}),t.DNE(2,I,6,5,"ion-card",20)(3,R,3,3,"div",21),t.k0s()()}if(2&i){const e=o.$implicit;t.R7$(2),t.Y8G("ngIf",null==e||null==e.metaData?null:e.metaData.thumbnail),t.R7$(),t.Y8G("ngIf",null==e||null==e.metaData?null:e.metaData.name)}}function G(i,o){1&i&&(t.j41(0,"div",25)(1,"div",26),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&i&&(t.R7$(2),t.JRh(t.bMT(3,1,"Click on New Playlist button to create your first playlist")))}function $(i,o){if(1&i&&(t.j41(0,"div",35),t.EFF(1),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.name," ")}}function j(i,o){if(1&i){const e=t.RV6();t.j41(0,"div")(1,"div",27),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.navigateToDetails(a))}),t.j41(2,"div",28)(3,"ion-card"),t.nrm(4,"img",29),t.k0s(),t.nrm(5,"div",30)(6,"div",31),t.k0s(),t.DNE(7,$,2,1,"div",32),t.j41(8,"div",33),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.openModal(a))}),t.nrm(9,"ion-icon",34),t.k0s()()()}if(2&i){const e=o.$implicit;t.R7$(7),t.Y8G("ngIf",null==e?null:e.name)}}const F=[{path:"",component:(()=>{var i;class o{constructor(n,a,s,l,p){this.headerService=n,this.contentService=a,this.router=s,this.playListService=l,this.modalCtrl=p,this.contentList=[],this.playlists=[],this.isNavigate=!0,this.mimeType=h.Cc}ngOnInit(){var n=this;return(0,m.A)(function*(){n.headerService.deviceBackbtnEmitted$.subscribe(a=>{(a.name="backBtn")&&n.tabViewWillEnter()})})()}tabViewWillEnter(){var n=this;return(0,m.A)(function*(){yield n.headerService.showHeader("My Jaadui Pitara"),n.getRecentlyviewedContent(),n.getPlaylistContent()})()}ionViewWillEnter(){this.tabViewWillEnter()}viewAllCards(n){this.router.navigate(["/view-all"],{state:{type:n}})}getPlaylistContent(){var n=this;return(0,m.A)(function*(){n.playlists=[],yield n.playListService.getAllPlayLists("guest").then(a=>{n.playlists=a}).catch(a=>{console.log("error",a)})})()}getRecentlyviewedContent(){var n=this;return(0,m.A)(function*(){yield n.contentService.getRecentlyViewedContent("guest").then(a=>{n.contentList=[];let s={};a.filter(l=>{var p;return!s[l.contentIdentifier]&&(s[l.contentIdentifier]=!0,n.contentList.push(l),l.metaData.thumbnail=l.metaData.mimetype===h.Cc.YOUTUBE?n.loadYoutubeImg(l.metaData):!l.metaData.thumbnail||null!=l&&null!==(p=l.metaData.identifier)&&void 0!==p&&p.startsWith("do_")?P.O.getImagePath(l.metaData.mimeType||l.metaData.mimetype):l.metaData.thumbnail,!0)})}).catch(a=>{console.log("error",a)})})()}ngOnDestroy(){var n=this;return(0,m.A)(function*(){const a=yield n.modalCtrl.getTop();a&&a.dismiss()})()}createList(){this.router.navigate(["/create-playlist"])}deletePlaylist(n){var a=this;return(0,m.A)(function*(){yield a.playListService.deletePlayList(n.identifier).then(s=>{a.getPlaylistContent()}).catch(s=>{console.log("err",s)})})()}openModal(n){var a=this;return(0,m.A)(function*(){a.isNavigate=!1;const s=yield a.modalCtrl.create({component:_.J,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield s.present(),s.onWillDismiss().then(l=>{a.isNavigate=!0,l.data&&"delete"===l.data.type?a.deletePlaylist(n):l.data&&"edit"===l.data.type&&a.router.navigate(["/create-playlist"],{state:{playlists:n,islocal:!0,status:"edit"}})})})()}loadYoutubeImg(n){let a=n.identifier;const l=null==n?void 0:n.url.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return a=l?l[1]:null,`https://img.youtube.com/vi/${a}/mqdefault.jpg`}navigateToDetails(n){this.isNavigate&&this.router.navigate(["/playlist-details"],{state:{playlist:n}})}playContent(n){var a=this;return(0,m.A)(function*(){yield a.router.navigate(["/player"],{state:{content:n}})})()}}return(i=o).\u0275fac=function(n){return new(n||i)(t.rXU(b.U),t.rXU(M.f),t.rXU(r.Ix),t.rXU(C.q),t.rXU(d.W3))},i.\u0275cmp=t.VBU({type:i,selectors:[["app-mypitara"]],decls:26,vars:17,consts:[[3,"fullscreen"],[1,"grid-slider"],[1,"grid-slider__header"],[1,""],[1,"grid-slider__header__link",3,"click"],["class","viewed-content",4,"ngIf"],[1,"grid-slider__container"],["class","grid-slider__container__card",4,"ngFor","ngForOf"],[1,"playlist"],[1,"playlist__header"],[1,"playlist__header__button",3,"click"],["name","add-circle-outline","slot","end","aria-hidden","true",1,"secIcon"],["class","playlist-bot",4,"ngIf"],[1,"playlist__container"],[4,"ngFor","ngForOf"],[1,"viewed-content"],[1,"viewed-content__info"],[1,"viewed-content__info__text"],[1,"grid-slider__container__card"],[3,"click"],[4,"ngIf"],["class","card-title",4,"ngIf"],["alt","",3,"src",4,"ngIf"],["alt","",3,"src"],[1,"card-title"],[1,"playlist-bot"],[1,"playlist-bot__text"],[1,"playlist__container__items",3,"click"],[1,"playlist__container__items__cards"],["src","/assets/images/Playlist.png","alt",""],[1,"layer1"],[1,"layer2"],["class","playlist__container__items__metadata",4,"ngIf"],[1,"kabab-menu-icon",3,"click"],["slot","end","aria-hidden","true","src","../../../assets/icon/kabab-icon.svg"],[1,"playlist__container__items__metadata"]],template:function(n,a){1&n&&(t.j41(0,"ion-content",0)(1,"div",1)(2,"div",2)(3,"div",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",4),t.bIt("click",function(){return a.viewAllCards("recentlyviewed")}),t.EFF(7),t.nI1(8,"translate"),t.k0s()(),t.DNE(9,O,5,3,"div",5),t.j41(10,"div",6),t.DNE(11,E,4,2,"div",7),t.k0s()(),t.j41(12,"div",8)(13,"div",9)(14,"div",3),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.j41(17,"div",10),t.bIt("click",function(){return a.viewAllCards("playlist")}),t.j41(18,"ion-button"),t.EFF(19),t.nI1(20,"translate"),t.nrm(21,"ion-icon",11),t.k0s()()(),t.j41(22,"div"),t.DNE(23,G,4,3,"div",12),t.k0s(),t.j41(24,"div",13),t.DNE(25,j,10,1,"div",14),t.k0s()()()),2&n&&(t.Y8G("fullscreen",!0),t.R7$(4),t.JRh(t.bMT(5,9,"Recently Viewed")),t.R7$(3),t.JRh(t.bMT(8,11,"View All")),t.R7$(2),t.Y8G("ngIf",!a.contentList.length),t.R7$(2),t.Y8G("ngForOf",a.contentList),t.R7$(4),t.JRh(t.bMT(16,13,"My Playlist")),t.R7$(4),t.SpI("",t.bMT(20,15,"New Playlist")," "),t.R7$(4),t.Y8G("ngIf",!a.playlists.length),t.R7$(2),t.Y8G("ngForOf",a.playlists))},dependencies:[d.Jm,d.b_,d.W9,d.iq,g.Sq,g.bT,f.D9],styles:["ion-content[_ngcontent-%COMP%]{--padding-top: 35px !important}.grid-slider[_ngcontent-%COMP%]{padding:1rem;margin-top:7px}.grid-slider__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:.75rem;color:var(--ion-color-dark);font-weight:700}.grid-slider__header__link[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.grid-slider__container[_ngcontent-%COMP%]{display:grid;gap:.75rem;overflow-y:auto;overflow-x:auto;grid-auto-flow:column;justify-content:flex-start;padding:1rem 0 3rem}.grid-slider__container__card[_ngcontent-%COMP%]{width:7.5rem;height:4.5rem}.grid-slider__container__card[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{margin:0;box-shadow:none;border-radius:.5rem;height:100%}.grid-slider__container__card[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:4.5rem;width:100%}.grid-slider__container__card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-size:.75rem;font-style:normal;font-weight:400;color:#2f2c2a;padding-top:.5rem;line-height:.875rem;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.playlist[_ngcontent-%COMP%]{padding:0 1rem;padding-top:0}.playlist__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--ion-color-dark);font-weight:700}.playlist__header__button[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{padding-left:.5rem}.playlist__container[_ngcontent-%COMP%]{padding-top:1rem}.playlist__container__items[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:flex-start;align-items:flex-start;gap:.5rem;margin-bottom:1.5rem}.playlist__container__items__cards[_ngcontent-%COMP%]{width:7.5rem;height:4.5rem;min-width:7.5rem;position:relative}.playlist__container__items[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{margin:0;box-shadow:none;border-radius:.5rem;height:100%}.playlist__container__items[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%}.playlist__container__items[_ngcontent-%COMP%] .layer1[_ngcontent-%COMP%]{height:4.5rem;background-color:#7d7d7d;margin-top:-1px;position:absolute;top:-.188rem;width:calc(100% - 12px);left:.375rem;right:.375rem;border-radius:.5rem;z-index:-1}.playlist__container__items[_ngcontent-%COMP%] .layer2[_ngcontent-%COMP%]{position:absolute;top:-8px;width:calc(100% - 20px);height:100%;left:.625rem;right:.625rem;border-radius:.5rem;background:#c3c3c3;z-index:-2;opacity:.7}.playlist__container__items__metadata[_ngcontent-%COMP%]{font-size:.75rem;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-right:1.5rem}.playlist__container__items[_ngcontent-%COMP%] .kabab-menu-icon[_ngcontent-%COMP%]{position:absolute;right:1rem}.playlist__container__items[_ngcontent-%COMP%] .kabab-menu-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}[_nghost-%COMP%] ion-button[_ngcontent-%COMP%]{--background: var(--ion-color-primary-contrast);--color: var(--ion-color-secondary);--border-radius: 30px;--border-color: var(--ion-color-secondary);--border-style: solid;--border-width: 1px;--box-shadow: none}ion-modal[_ngcontent-%COMP%]{--height: fit-content}.btn-len[_ngcontent-%COMP%]{width:88%}.playlist-bot[_ngcontent-%COMP%]{text-align:center;position:absolute;left:50%;right:0;top:55%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px}.playlist-bot__image[_ngcontent-%COMP%]{height:7rem;width:7rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.playlist-bot__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%}.playlist-bot__text[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);font-size:.75rem}.viewed-content[_ngcontent-%COMP%]{padding:1.5rem}.viewed-content__info[_ngcontent-%COMP%]{position:absolute;left:50%;right:0;top:20%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center}.viewed-content__info__image[_ngcontent-%COMP%]{height:5rem;width:5rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.viewed-content__info__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%}.viewed-content__info__text[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);font-size:.75rem}"]}),o})()}];let Y=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[r.iI.forChild(F),r.iI]}),o})(),B=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[d.bv,g.MD,y.YN,Y,f.h]}),o})()},4733:(v,u,c)=>{c.d(u,{O:()=>g});var d=c(56);class g{static isTrackable(r){return(r=r.trackable?r:r.contentData&&r.contentData.trackable?r.contentData:r).trackable&&r.trackable.enabled?r.trackable.enabled===d.Th.YES?1:r.mimeType===d.z5.COLLECTION?0:-1:r.contentType&&r.contentType.toLowerCase()===d.cM.COURSE.toLowerCase()?1:r.mimeType===d.z5.COLLECTION?0:-1}static getMimeType(r){const m=r.split(".").pop();let _="";switch(null==m?void 0:m.toLowerCase()){case"mp4":_=d.z5.VIDEO;break;case"pdf":_=d.z5.PDF;break;case"mp3":case"m4a":_=d.z5.AUDIOS;break;case"wav":_=d.z5.RECOEDED_AUDIO;break;case"youtube":_=d.z5.YOUTUBE}return _}static getImagePath(r){return{mp3:"/assets/images/Audio.png",mp4:"/assets/images/Video.png",webm:"/assets/images/Video.png",pdf:"/assets/images/PDF.png"}[r.split("/").pop()]}}}}]); \ No newline at end of file diff --git a/www/6674.5fa71f73e63dbf5d.js b/www/6674.5fa71f73e63dbf5d.js new file mode 100644 index 0000000..091f209 --- /dev/null +++ b/www/6674.5fa71f73e63dbf5d.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6674],{4715:(P,H,o)=>{"use strict";o.d(H,{N:()=>C});var f=o(5083),x=o(467);class h extends f.E_{constructor(){super(...arguments),this.ERROR_PICK_FILE_CANCELED="pickFiles canceled."}convertHeicToJpeg(a){var d=this;return(0,x.A)(function*(){throw d.unimplemented("Not implemented on web.")})()}pickFiles(a){var d=this;return(0,x.A)(function*(){const n=yield d.openFilePicker(a);if(!n)throw new Error(d.ERROR_PICK_FILE_CANCELED);const e={files:[]};for(const c of n){const t={blob:c,modifiedAt:c.lastModified,mimeType:d.getMimeTypeFromUrl(c),name:d.getNameFromUrl(c),path:void 0,size:d.getSizeFromUrl(c)};null!=a&&a.readData&&(t.data=yield d.getDataFromFile(c)),e.files.push(t)}return e})()}pickImages(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["image/*"]},a))})()}pickMedia(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["image/*","video/*"]},a))})()}pickVideos(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["video/*"]},a))})()}openFilePicker(a){var d=this;return(0,x.A)(function*(){var n;const e=(null===(n=null==a?void 0:a.types)||void 0===n?void 0:n.join(","))||"",c=!(null==a||!a.multiple);return new Promise(t=>{let i=!1;const r=document.createElement("input");r.type="file",r.accept=e,r.multiple=c,r.addEventListener("change",()=>{i=!0;const v=Array.from(r.files||[]);t(v)},{once:!0}),window.addEventListener("focus",(0,x.A)(function*(){yield d.wait(1e3),!i&&t(void 0)}),{once:!0}),r.click()})})()}getDataFromFile(a){return(0,x.A)(function*(){return new Promise((d,n)=>{const e=new FileReader;e.readAsDataURL(a),e.onload=()=>{const i=("string"==typeof e.result?e.result:"").split("base64,")[1]||"";d(i)},e.onerror=c=>{n(c)}})})()}getNameFromUrl(a){return a.name}getMimeTypeFromUrl(a){return a.type}getSizeFromUrl(a){return a.size}wait(a){return(0,x.A)(function*(){return new Promise(d=>setTimeout(d,a))})()}}const C=(0,f.F3)("FilePicker",{web:()=>new h})},1129:(P,H,o)=>{"use strict";o.d(H,{W:()=>n});var f=o(467),x=o(4438),h=o(8974),C=o(4517),b=o(177),a=o(5402);function d(e,c){if(1&e){const t=x.RV6();x.j41(0,"ion-item",2),x.bIt("click",function(){const r=x.eBV(t).$implicit,v=x.XpG();return x.Njj(v.upload(r.type))}),x.j41(1,"ion-label"),x.EFF(2),x.nI1(3,"translate"),x.k0s()()}if(2&e){const t=c.$implicit;x.R7$(2),x.JRh(x.bMT(3,1,t.label))}}let n=(()=>{var e;class c{constructor(i,r){this.modalCtrl=i,this.navParams=r,this.youtubeurl="",this.uploadType=[]}ngOnInit(){this.uploadType=this.navParams.get("uploadType")}upload(i){var r=this;return(0,f.A)(function*(){console.log("type ",i),r.modalCtrl.dismiss({type:i})})()}}return(e=c).\u0275fac=function(i){return new(i||e)(x.rXU(h.W3),x.rXU(C.y8))},e.\u0275cmp=x.VBU({type:e,selectors:[["app-upload-local"]],decls:3,vars:1,consts:[[1,"inner-content"],[3,"click",4,"ngFor","ngForOf"],[3,"click"]],template:function(i,r){1&i&&(x.j41(0,"div",0)(1,"ion-list"),x.DNE(2,d,4,3,"ion-item",1),x.k0s()()),2&i&&(x.R7$(2),x.Y8G("ngForOf",r.uploadType))},dependencies:[b.Sq,h.uz,h.he,h.nf,a.D9]}),c})()},4733:(P,H,o)=>{"use strict";o.d(H,{O:()=>x});var f=o(56);class x{static isTrackable(C){return(C=C.trackable?C:C.contentData&&C.contentData.trackable?C.contentData:C).trackable&&C.trackable.enabled?C.trackable.enabled===f.Th.YES?1:C.mimeType===f.z5.COLLECTION?0:-1:C.contentType&&C.contentType.toLowerCase()===f.cM.COURSE.toLowerCase()?1:C.mimeType===f.z5.COLLECTION?0:-1}static getMimeType(C){const b=C.split(".").pop();let a="";switch(null==b?void 0:b.toLowerCase()){case"mp4":a=f.z5.VIDEO;break;case"pdf":a=f.z5.PDF;break;case"mp3":case"m4a":a=f.z5.AUDIOS;break;case"wav":a=f.z5.RECOEDED_AUDIO;break;case"youtube":a=f.z5.YOUTUBE;break;case"link":a=f.z5.LINK}return a}static getImagePath(C){return{mp3:"/assets/images/Audio.png",mp4:"/assets/images/Video.png",webm:"/assets/images/Video.png",pdf:"/assets/images/PDF.png",link:"/assets/images/LINK.png"}[C.split("/").pop()]}}},3188:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.BlockCipher,b=x.algo,a=[],d=[],n=[],e=[],c=[],t=[],i=[],r=[],v=[],s=[];!function(){for(var B=[],l=0;l<256;l++)B[l]=l<128?l<<1:l<<1^283;var g=0,F=0;for(l=0;l<256;l++){var D=F^F<<1^F<<2^F<<3^F<<4;a[g]=D=D>>>8^255&D^99,d[D]=g;var S,u=B[g],z=B[u],k=B[z];n[g]=(S=257*B[D]^16843008*D)<<24|S>>>8,e[g]=S<<16|S>>>16,c[g]=S<<8|S>>>24,t[g]=S,i[D]=(S=16843009*k^65537*z^257*u^16843008*g)<<24|S>>>8,r[D]=S<<16|S>>>16,v[D]=S<<8|S>>>24,s[D]=S,g?(g=u^B[B[B[k^u]]],F^=B[B[F]]):g=F=1}}();var E=[0,1,2,4,8,16,32,64,128,27,54],A=b.AES=C.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var l=this._keyPriorReset=this._key,g=l.words,F=l.sigBytes/4,u=4*((this._nRounds=F+6)+1),z=this._keySchedule=[],k=0;k6&&k%F==4&&(B=a[B>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[255&B]):(B=a[(B=B<<8|B>>>24)>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[255&B],B^=E[k/F|0]<<24),z[k]=z[k-F]^B);for(var S=this._invKeySchedule=[],W=0;W>>24]]^r[a[B>>>16&255]]^v[a[B>>>8&255]]^s[a[255&B]]}}},encryptBlock:function(B,l){this._doCryptBlock(B,l,this._keySchedule,n,e,c,t,a)},decryptBlock:function(B,l){var g=B[l+1];B[l+1]=B[l+3],B[l+3]=g,this._doCryptBlock(B,l,this._invKeySchedule,i,r,v,s,d),g=B[l+1],B[l+1]=B[l+3],B[l+3]=g},_doCryptBlock:function(B,l,g,F,D,u,z,k){for(var S=this._nRounds,W=B[l]^g[0],p=B[l+1]^g[1],m=B[l+2]^g[2],R=B[l+3]^g[3],y=4,T=1;T>>24]^D[p>>>16&255]^u[m>>>8&255]^z[255&R]^g[y++],U=F[p>>>24]^D[m>>>16&255]^u[R>>>8&255]^z[255&W]^g[y++],I=F[m>>>24]^D[R>>>16&255]^u[W>>>8&255]^z[255&p]^g[y++],K=F[R>>>24]^D[W>>>16&255]^u[p>>>8&255]^z[255&m]^g[y++];W=L,p=U,m=I,R=K}L=(k[W>>>24]<<24|k[p>>>16&255]<<16|k[m>>>8&255]<<8|k[255&R])^g[y++],U=(k[p>>>24]<<24|k[m>>>16&255]<<16|k[R>>>8&255]<<8|k[255&W])^g[y++],I=(k[m>>>24]<<24|k[R>>>16&255]<<16|k[W>>>8&255]<<8|k[255&p])^g[y++],K=(k[R>>>24]<<24|k[W>>>16&255]<<16|k[p>>>8&255]<<8|k[255&m])^g[y++],B[l]=L,B[l+1]=U,B[l+2]=I,B[l+3]=K},keySize:8});x.AES=C._createHelper(A)}(),f.AES)},5269:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.BlockCipher;const a=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],n=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var e={pbox:[],sbox:[]};function c(s,E){let F=s.sbox[0][E>>24&255]+s.sbox[1][E>>16&255];return F^=s.sbox[2][E>>8&255],F+=s.sbox[3][255&E],F}function t(s,E,A){let g,B=E,l=A;for(let F=0;F=A&&(B=0);let l=0,g=0,F=0;for(let D=0;D1;--F)B^=s.pbox[F],l=c(s,B)^l,g=B,B=l,l=g;return g=B,B=l,l=g,l^=s.pbox[1],B^=s.pbox[0],{left:B,right:l}}(e,s[E],s[E+1]);s[E]=A.left,s[E+1]=A.right},blockSize:2,keySize:4,ivSize:2});x.Blowfish=C._createHelper(v)}(),f.Blowfish)},2414:function(P,H,o){var h,C,b,a,d,n,c,i,r,s,E,A,l,F,u,z,S,W,f;P.exports=(f=o(7656),o(4147),void(f.lib.Cipher||(h=f,C=h.lib,b=C.Base,a=C.WordArray,d=C.BufferedBlockAlgorithm,n=h.enc,c=n.Base64,i=h.algo.EvpKDF,r=C.Cipher=d.extend({cfg:b.extend(),createEncryptor:function(p,m){return this.create(this._ENC_XFORM_MODE,p,m)},createDecryptor:function(p,m){return this.create(this._DEC_XFORM_MODE,p,m)},init:function(p,m,R){this.cfg=this.cfg.extend(R),this._xformMode=p,this._key=m,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(p){return this._append(p),this._process()},finalize:function(p){return p&&this._append(p),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function p(m){return"string"==typeof m?W:z}return function(m){return{encrypt:function(R,y,T){return p(y).encrypt(m,R,y,T)},decrypt:function(R,y,T){return p(y).decrypt(m,R,y,T)}}}}()}),C.StreamCipher=r.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),s=h.mode={},E=C.BlockCipherMode=b.extend({createEncryptor:function(p,m){return this.Encryptor.create(p,m)},createDecryptor:function(p,m){return this.Decryptor.create(p,m)},init:function(p,m){this._cipher=p,this._iv=m}}),A=s.CBC=function(){var p=E.extend();function m(R,y,T){var L,U=this._iv;U?(L=U,this._iv=undefined):L=this._prevBlock;for(var I=0;I>>2]}},C.BlockCipher=r.extend({cfg:r.cfg.extend({mode:A,padding:l}),reset:function(){var p;r.reset.call(this);var m=this.cfg,R=m.iv,y=m.mode;this._xformMode==this._ENC_XFORM_MODE?p=y.createEncryptor:(p=y.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==p?this._mode.init(this,R&&R.words):(this._mode=p.call(y,this,R&&R.words),this._mode.__creator=p)},_doProcessBlock:function(p,m){this._mode.processBlock(p,m)},_doFinalize:function(){var p,m=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(m.pad(this._data,this.blockSize),p=this._process(!0)):(p=this._process(!0),m.unpad(p)),p},blockSize:4}),F=C.CipherParams=b.extend({init:function(p){this.mixIn(p)},toString:function(p){return(p||this.formatter).stringify(this)}}),u=(h.format={}).OpenSSL={stringify:function(p){var R=p.ciphertext,y=p.salt;return(y?a.create([1398893684,1701076831]).concat(y).concat(R):R).toString(c)},parse:function(p){var m,R=c.parse(p),y=R.words;return 1398893684==y[0]&&1701076831==y[1]&&(m=a.create(y.slice(2,4)),y.splice(0,4),R.sigBytes-=16),F.create({ciphertext:R,salt:m})}},z=C.SerializableCipher=b.extend({cfg:b.extend({format:u}),encrypt:function(p,m,R,y){y=this.cfg.extend(y);var T=p.createEncryptor(R,y),L=T.finalize(m),U=T.cfg;return F.create({ciphertext:L,key:R,iv:U.iv,algorithm:p,mode:U.mode,padding:U.padding,blockSize:p.blockSize,formatter:y.format})},decrypt:function(p,m,R,y){return y=this.cfg.extend(y),m=this._parse(m,y.format),p.createDecryptor(R,y).finalize(m.ciphertext)},_parse:function(p,m){return"string"==typeof p?m.parse(p,this):p}}),S=(h.kdf={}).OpenSSL={execute:function(p,m,R,y,T){if(y||(y=a.random(8)),T)var L=i.create({keySize:m+R,hasher:T}).compute(p,y);else L=i.create({keySize:m+R}).compute(p,y);var U=a.create(L.words.slice(m),4*R);return L.sigBytes=4*m,F.create({key:L,iv:U,salt:y})}},W=C.PasswordBasedCipher=z.extend({cfg:z.cfg.extend({kdf:S}),encrypt:function(p,m,R,y){var T=(y=this.cfg.extend(y)).kdf.execute(R,p.keySize,p.ivSize,y.salt,y.hasher);y.iv=T.iv;var L=z.encrypt.call(this,p,m,T.key,y);return L.mixIn(T),L},decrypt:function(p,m,R,y){y=this.cfg.extend(y),m=this._parse(m,y.format);var T=y.kdf.execute(R,p.keySize,p.ivSize,m.salt,y.hasher);return y.iv=T.iv,z.decrypt.call(this,p,m,T.key,y)}}))))},8891:function(P,H,o){var f,C;P.exports=(f=o(7656),C=f.lib.WordArray,f.enc.Base64={stringify:function(n){var e=n.words,c=n.sigBytes,t=this._map;n.clamp();for(var i=[],r=0;r>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,B=0;B<4&&r+.75*B>>6*(3-B)&63));var l=t.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(n){var e=n.length,c=this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i>>6-r%4*2;t[i>>>2]|=(v|s)<<24-i%4*8,i++}return C.create(t,i)}(n,e,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},f.enc.Base64)},4217:function(P,H,o){var f,C;P.exports=(f=o(7656),C=f.lib.WordArray,f.enc.Base64url={stringify:function(n,e){void 0===e&&(e=!0);var c=n.words,t=n.sigBytes,i=e?this._safe_map:this._map;n.clamp();for(var r=[],v=0;v>>2]>>>24-v%4*8&255)<<16|(c[v+1>>>2]>>>24-(v+1)%4*8&255)<<8|c[v+2>>>2]>>>24-(v+2)%4*8&255,l=0;l<4&&v+.75*l>>6*(3-l)&63));var g=i.charAt(64);if(g)for(;r.length%4;)r.push(g);return r.join("")},parse:function(n,e){void 0===e&&(e=!0);var c=n.length,t=e?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r>>6-r%4*2;t[i>>>2]|=(v|s)<<24-i%4*8,i++}return C.create(t,i)}(n,c,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},f.enc.Base64url)},5304:function(P,H,o){var f;P.exports=(f=o(7656),function(){var C=f.lib.WordArray,b=f.enc;function d(n){return n<<8&4278255360|n>>>8&16711935}b.Utf16=b.Utf16BE={stringify:function(n){for(var e=n.words,c=n.sigBytes,t=[],i=0;i>>2]>>>16-i%4*8&65535));return t.join("")},parse:function(n){for(var e=n.length,c=[],t=0;t>>1]|=n.charCodeAt(t)<<16-t%2*16;return C.create(c,2*e)}},b.Utf16LE={stringify:function(n){for(var e=n.words,c=n.sigBytes,t=[],i=0;i>>2]>>>16-i%4*8&65535);t.push(String.fromCharCode(r))}return t.join("")},parse:function(n){for(var e=n.length,c=[],t=0;t>>1]|=d(n.charCodeAt(t)<<16-t%2*16);return C.create(c,2*e)}}}(),f.enc.Utf16)},4147:function(P,H,o){var x,h,C,b,a,n,f;P.exports=(f=o(7656),o(9986),o(7868),b=(h=(x=f).lib).WordArray,n=(a=x.algo).EvpKDF=(C=h.Base).extend({cfg:C.extend({keySize:4,hasher:a.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,c){for(var t,i=this.cfg,r=i.hasher.create(),v=b.create(),s=v.words,E=i.keySize,A=i.iterations;s.lengthi&&(c=e.finalize(c)),c.clamp();for(var r=this._oKey=c.clone(),v=this._iKey=c.clone(),s=r.words,E=v.words,A=0;A>>2]|=d[c]<<24-c%4*8;b.call(this,e,n)}else b.apply(this,arguments)};a.prototype=C}}(),f.lib.WordArray)},4152:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.mode.CFB=function(){var x=f.lib.BlockCipherMode.extend();function h(C,b,a,d){var n,e=this._iv;e?(n=e.slice(0),this._iv=void 0):n=this._prevBlock,d.encryptBlock(n,0);for(var c=0;c>24))a+=1<<24;else{var d=a>>16&255,n=a>>8&255,e=255&a;255===d?(d=0,255===n?(n=0,255===e?e=0:++e):++n):++d,a=0,a+=d<<16,a+=n<<8,a+=e}return a}var b=x.Encryptor=x.extend({processBlock:function(a,d){var n=this._cipher,e=n.blockSize,c=this._iv,t=this._counter;c&&(t=this._counter=c.slice(0),this._iv=void 0),function C(a){return 0===(a[0]=h(a[0]))&&(a[1]=h(a[1])),a}(t);var i=t.slice(0);n.encryptBlock(i,0);for(var r=0;r>>2]|=a<<24-d%4*8,x.sigBytes+=a},unpad:function(x){x.sigBytes-=255&x.words[x.sigBytes-1>>>2]}},f.pad.Ansix923)},7516:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.Iso10126={pad:function(x,h){var C=4*h,b=C-x.sigBytes%C;x.concat(f.lib.WordArray.random(b-1)).concat(f.lib.WordArray.create([b<<24],1))},unpad:function(x){x.sigBytes-=255&x.words[x.sigBytes-1>>>2]}},f.pad.Iso10126)},9047:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.Iso97971={pad:function(x,h){x.concat(f.lib.WordArray.create([2147483648],1)),f.pad.ZeroPadding.pad(x,h)},unpad:function(x){f.pad.ZeroPadding.unpad(x),x.sigBytes--}},f.pad.Iso97971)},2599:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.NoPadding={pad:function(){},unpad:function(){}},f.pad.NoPadding)},6964:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.ZeroPadding={pad:function(x,h){var C=4*h;x.clamp(),x.sigBytes+=C-(x.sigBytes%C||C)},unpad:function(x){var h=x.words,C=x.sigBytes-1;for(C=x.sigBytes-1;C>=0;C--)if(h[C>>>2]>>>24-C%4*8&255){x.sigBytes=C+1;break}}},f.pad.ZeroPadding)},7738:function(P,H,o){var x,h,C,b,a,n,e,f;P.exports=(f=o(7656),o(5168),o(7868),b=(h=(x=f).lib).WordArray,n=(a=x.algo).HMAC,e=a.PBKDF2=(C=h.Base).extend({cfg:C.extend({keySize:4,hasher:a.SHA256,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,t){for(var i=this.cfg,r=n.create(i.hasher,c),v=b.create(),s=b.create([1]),E=v.words,A=s.words,B=i.keySize,l=i.iterations;E.length>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],v=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var s=0;s<4;s++)c.call(this);for(s=0;s<8;s++)v[s]^=r[s+4&7];if(i){var E=i.words,A=E[0],B=E[1],l=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),F=l>>>16|4294901760&g,D=g<<16|65535&l;for(v[0]^=l,v[1]^=F,v[2]^=g,v[3]^=D,v[4]^=l,v[5]^=F,v[6]^=g,v[7]^=D,s=0;s<4;s++)c.call(this)}},_doProcessBlock:function(t,i){var r=this._X;c.call(this),a[0]=r[0]^r[5]>>>16^r[3]<<16,a[1]=r[2]^r[7]>>>16^r[5]<<16,a[2]=r[4]^r[1]>>>16^r[7]<<16,a[3]=r[6]^r[3]>>>16^r[1]<<16;for(var v=0;v<4;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8),t[i+v]^=a[v]},blockSize:4,ivSize:2});function c(){for(var t=this._X,i=this._C,r=0;r<8;r++)d[r]=i[r];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0>>0?1:0)|0,this._b=i[7]>>>0>>0?1:0,r=0;r<8;r++){var v=t[r]+i[r],s=65535&v,E=v>>>16;n[r]=((s*s>>>17)+s*E>>>15)+E*E^((4294901760&v)*v|0)+((65535&v)*v|0)}t[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,t[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,t[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,t[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,t[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,t[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,t[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,t[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}x.RabbitLegacy=C._createHelper(e)}(),f.RabbitLegacy)},2795:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.StreamCipher,a=[],d=[],n=[],e=x.algo.Rabbit=C.extend({_doReset:function(){for(var t=this._key.words,i=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var v=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],s=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)s[r]^=v[r+4&7];if(i){var E=i.words,A=E[0],B=E[1],l=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),F=l>>>16|4294901760&g,D=g<<16|65535&l;for(s[0]^=l,s[1]^=F,s[2]^=g,s[3]^=D,s[4]^=l,s[5]^=F,s[6]^=g,s[7]^=D,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,i){var r=this._X;c.call(this),a[0]=r[0]^r[5]>>>16^r[3]<<16,a[1]=r[2]^r[7]>>>16^r[5]<<16,a[2]=r[4]^r[1]>>>16^r[7]<<16,a[3]=r[6]^r[3]>>>16^r[1]<<16;for(var v=0;v<4;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8),t[i+v]^=a[v]},blockSize:4,ivSize:2});function c(){for(var t=this._X,i=this._C,r=0;r<8;r++)d[r]=i[r];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0>>0?1:0)|0,this._b=i[7]>>>0>>0?1:0,r=0;r<8;r++){var v=t[r]+i[r],s=65535&v,E=v>>>16;n[r]=((s*s>>>17)+s*E>>>15)+E*E^((4294901760&v)*v|0)+((65535&v)*v|0)}t[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,t[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,t[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,t[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,t[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,t[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,t[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,t[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}x.Rabbit=C._createHelper(e)}(),f.Rabbit)},5350:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.StreamCipher,b=x.algo,a=b.RC4=C.extend({_doReset:function(){for(var e=this._key,c=e.words,t=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var v=0;r<256;r++){var s=r%t,A=i[r];i[r]=i[v=(v+i[r]+(c[s>>>2]>>>24-s%4*8&255))%256],i[v]=A}this._i=this._j=0},_doProcessBlock:function(e,c){e[c]^=d.call(this)},keySize:8,ivSize:0});function d(){for(var e=this._S,c=this._i,t=this._j,i=0,r=0;r<4;r++){var v=e[c=(c+1)%256];e[c]=e[t=(t+e[c])%256],e[t]=v,i|=e[(e[c]+e[t])%256]<<24-8*r}return this._i=c,this._j=t,i}x.RC4=C._createHelper(a);var n=b.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)d.call(this)}});x.RC4Drop=C._createHelper(n)}(),f.RC4)},447:function(P,H,o){var f;P.exports=(f=o(7656),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,d=h.algo,n=b.create([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]),e=b.create([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=b.create([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]),t=b.create([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]),i=b.create([0,1518500249,1859775393,2400959708,2840853838]),r=b.create([1352829926,1548603684,1836072691,2053994217,0]),v=d.RIPEMD160=a.extend({_doReset:function(){this._hash=b.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(F,D){for(var u=0;u<16;u++){var z=D+u,k=F[z];F[z]=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8)}var L,U,I,K,_,j,X,w,N,G,O,S=this._hash.words,W=i.words,p=r.words,m=n.words,R=e.words,y=c.words,T=t.words;for(j=L=S[0],X=U=S[1],w=I=S[2],N=K=S[3],G=_=S[4],u=0;u<80;u+=1)O=L+F[D+m[u]]|0,O+=u<16?s(U,I,K)+W[0]:u<32?E(U,I,K)+W[1]:u<48?A(U,I,K)+W[2]:u<64?B(U,I,K)+W[3]:l(U,I,K)+W[4],O=(O=g(O|=0,y[u]))+_|0,L=_,_=K,K=g(I,10),I=U,U=O,O=j+F[D+R[u]]|0,O+=u<16?l(X,w,N)+p[0]:u<32?B(X,w,N)+p[1]:u<48?A(X,w,N)+p[2]:u<64?E(X,w,N)+p[3]:s(X,w,N)+p[4],O=(O=g(O|=0,T[u]))+G|0,j=G,G=N,N=g(w,10),w=X,X=O;O=S[1]+I+N|0,S[1]=S[2]+K+G|0,S[2]=S[3]+_+j|0,S[3]=S[4]+L+X|0,S[4]=S[0]+U+w|0,S[0]=O},_doFinalize:function(){var F=this._data,D=F.words,u=8*this._nDataBytes,z=8*F.sigBytes;D[z>>>5]|=128<<24-z%32,D[14+(z+64>>>9<<4)]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),F.sigBytes=4*(D.length+1),this._process();for(var k=this._hash,S=k.words,W=0;W<5;W++){var p=S[W];S[W]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}return k},clone:function(){var F=a.clone.call(this);return F._hash=this._hash.clone(),F}});function s(F,D,u){return F^D^u}function E(F,D,u){return F&D|~F&u}function A(F,D,u){return(F|~D)^u}function B(F,D,u){return F&u|D&~u}function l(F,D,u){return F^(D|~u)}function g(F,D){return F<>>32-D}h.RIPEMD160=a._createHelper(v),h.HmacRIPEMD160=a._createHmacHelper(v)}(Math),f.RIPEMD160)},9225:function(P,H,o){var x,C,b,a,d,f;P.exports=(f=o(7656),o(5168),C=(x=f).lib.WordArray,d=(b=x.algo).SHA224=(a=b.SHA256).extend({_doReset:function(){this._hash=new C.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var n=a._doFinalize.call(this);return n.sigBytes-=4,n}}),x.SHA224=a._createHelper(d),x.HmacSHA224=a._createHmacHelper(d),f.SHA224)},5168:function(P,H,o){var f;P.exports=(f=o(7656),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,d=h.algo,n=[],e=[];!function(){function i(E){for(var A=x.sqrt(E),B=2;B<=A;B++)if(!(E%B))return!1;return!0}function r(E){return 4294967296*(E-(0|E))|0}for(var v=2,s=0;s<64;)i(v)&&(s<8&&(n[s]=r(x.pow(v,.5))),e[s]=r(x.pow(v,1/3)),s++),v++}();var c=[],t=d.SHA256=a.extend({_doReset:function(){this._hash=new b.init(n.slice(0))},_doProcessBlock:function(i,r){for(var v=this._hash.words,s=v[0],E=v[1],A=v[2],B=v[3],l=v[4],g=v[5],F=v[6],D=v[7],u=0;u<64;u++){if(u<16)c[u]=0|i[r+u];else{var z=c[u-15],S=c[u-2];c[u]=((z<<25|z>>>7)^(z<<14|z>>>18)^z>>>3)+c[u-7]+((S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10)+c[u-16]}var m=s&E^s&A^E&A,T=D+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&g^~l&F)+e[u]+c[u];D=F,F=g,g=l,l=B+T|0,B=A,A=E,E=s,s=T+(((s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22))+m)|0}v[0]=v[0]+s|0,v[1]=v[1]+E|0,v[2]=v[2]+A|0,v[3]=v[3]+B|0,v[4]=v[4]+l|0,v[5]=v[5]+g|0,v[6]=v[6]+F|0,v[7]=v[7]+D|0},_doFinalize:function(){var i=this._data,r=i.words,v=8*this._nDataBytes,s=8*i.sigBytes;return r[s>>>5]|=128<<24-s%32,r[14+(s+64>>>9<<4)]=x.floor(v/4294967296),r[15+(s+64>>>9<<4)]=v,i.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var i=a.clone.call(this);return i._hash=this._hash.clone(),i}});h.SHA256=a._createHelper(t),h.HmacSHA256=a._createHmacHelper(t)}(Math),f.SHA256)},3752:function(P,H,o){var f;P.exports=(f=o(7656),o(4501),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,n=h.x64.Word,e=h.algo,c=[],t=[],i=[];!function(){for(var s=1,E=0,A=0;A<24;A++){c[s+5*E]=(A+1)*(A+2)/2%64;var l=(2*s+3*E)%5;s=E%5,E=l}for(s=0;s<5;s++)for(E=0;E<5;E++)t[s+5*E]=E+(2*s+3*E)%5*5;for(var g=1,F=0;F<24;F++){for(var D=0,u=0,z=0;z<7;z++){if(1&g){var k=(1<>>24)|4278255360&(g<<24|g>>>8),(D=A[l]).high^=F=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),D.low^=g}for(var u=0;u<24;u++){for(var z=0;z<5;z++){for(var k=0,S=0,W=0;W<5;W++)k^=(D=A[z+5*W]).high,S^=D.low;var p=r[z];p.high=k,p.low=S}for(z=0;z<5;z++){var m=r[(z+4)%5],R=r[(z+1)%5],y=R.high,T=R.low;for(k=m.high^(y<<1|T>>>31),S=m.low^(T<<1|y>>>31),W=0;W<5;W++)(D=A[z+5*W]).high^=k,D.low^=S}for(var L=1;L<25;L++){var U=(D=A[L]).high,I=D.low,K=c[L];K<32?(k=U<>>32-K,S=I<>>32-K):(k=I<>>64-K,S=U<>>64-K);var _=r[t[L]];_.high=k,_.low=S}var j=r[0],X=A[0];for(j.high=X.high,j.low=X.low,z=0;z<5;z++)for(W=0;W<5;W++){var w=r[L=z+5*W],N=r[(z+1)%5+5*W],G=r[(z+2)%5+5*W];(D=A[L]).high=w.high^~N.high&G.high,D.low=w.low^~N.low&G.low}var D,O=i[u];(D=A[0]).high^=O.high,D.low^=O.low}},_doFinalize:function(){var s=this._data,E=s.words,B=8*s.sigBytes,l=32*this.blockSize;E[B>>>5]|=1<<24-B%32,E[(x.ceil((B+1)/l)*l>>>5)-1]|=128,s.sigBytes=4*E.length,this._process();for(var g=this._state,F=this.cfg.outputLength/8,D=F/8,u=[],z=0;z>>24)|4278255360&(S<<24|S>>>8),u.push(W=16711935&(W<<8|W>>>24)|4278255360&(W<<24|W>>>8)),u.push(S)}return new b.init(u,F)},clone:function(){for(var s=a.clone.call(this),E=s._state=this._state.slice(0),A=0;A<25;A++)E[A]=E[A].clone();return s}});h.SHA3=a._createHelper(v),h.HmacSHA3=a._createHmacHelper(v)}(Math),f.SHA3)},4068:function(P,H,o){var x,h,C,b,a,d,n,f;P.exports=(f=o(7656),o(4501),o(885),C=(h=(x=f).x64).Word,b=h.WordArray,n=(a=x.algo).SHA384=(d=a.SHA512).extend({_doReset:function(){this._hash=new b.init([new C.init(3418070365,3238371032),new C.init(1654270250,914150663),new C.init(2438529370,812702999),new C.init(355462360,4144912697),new C.init(1731405415,4290775857),new C.init(2394180231,1750603025),new C.init(3675008525,1694076839),new C.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}}),x.SHA384=d._createHelper(n),x.HmacSHA384=d._createHmacHelper(n),f.SHA384)},885:function(P,H,o){var f;P.exports=(f=o(7656),o(4501),function(){var x=f,C=x.lib.Hasher,b=x.x64,a=b.Word,d=b.WordArray,n=x.algo;function e(){return a.create.apply(a,arguments)}var c=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],t=[];!function(){for(var r=0;r<80;r++)t[r]=e()}();var i=n.SHA512=C.extend({_doReset:function(){this._hash=new d.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(r,v){for(var s=this._hash.words,E=s[0],A=s[1],B=s[2],l=s[3],g=s[4],F=s[5],D=s[6],u=s[7],z=E.high,k=E.low,S=A.high,W=A.low,p=B.high,m=B.low,R=l.high,y=l.low,T=g.high,L=g.low,U=F.high,I=F.low,K=D.high,_=D.low,j=u.high,X=u.low,w=z,N=k,G=S,O=W,e0=p,q=m,B0=R,t0=y,$=T,Z=L,s0=U,a0=I,c0=K,n0=_,l0=j,i0=X,Q=0;Q<80;Q++){var M,V,v0=t[Q];if(Q<16)V=v0.high=0|r[v+2*Q],M=v0.low=0|r[v+2*Q+1];else{var C0=t[Q-15],x0=C0.high,o0=C0.low,E0=(o0>>>1|x0<<31)^(o0>>>8|x0<<24)^(o0>>>7|x0<<25),d0=t[Q-2],r0=d0.high,f0=d0.low,h0=(f0>>>19|r0<<13)^(f0<<3|r0>>>29)^(f0>>>6|r0<<26),A0=t[Q-7],F0=t[Q-16],D0=F0.low;v0.high=V=(V=(V=((x0>>>1|o0<<31)^(x0>>>8|o0<<24)^x0>>>7)+A0.high+((M=E0+A0.low)>>>0>>0?1:0))+((r0>>>19|f0<<13)^(r0<<3|f0>>>29)^r0>>>6)+((M+=h0)>>>0>>0?1:0))+F0.high+((M+=D0)>>>0>>0?1:0),v0.low=M}var Y,P0=$&s0^~$&c0,u0=Z&a0^~Z&n0,R0=w&G^w&e0^G&e0,p0=(N>>>28|w<<4)^(N<<30|w>>>2)^(N<<25|w>>>7),g0=c[Q],b0=g0.low,J=l0+(($>>>14|Z<<18)^($>>>18|Z<<14)^($<<23|Z>>>9))+((Y=i0+((Z>>>14|$<<18)^(Z>>>18|$<<14)^(Z<<23|$>>>9)))>>>0>>0?1:0),y0=p0+(N&O^N&q^O&q);l0=c0,i0=n0,c0=s0,n0=a0,s0=$,a0=Z,$=B0+(J=(J=(J=J+P0+((Y+=u0)>>>0>>0?1:0))+g0.high+((Y+=b0)>>>0>>0?1:0))+V+((Y+=M)>>>0>>0?1:0))+((Z=t0+Y|0)>>>0>>0?1:0)|0,B0=e0,t0=q,e0=G,q=O,G=w,O=N,w=J+(((w>>>28|N<<4)^(w<<30|N>>>2)^(w<<25|N>>>7))+R0+(y0>>>0>>0?1:0))+((N=Y+y0|0)>>>0>>0?1:0)|0}k=E.low=k+N,E.high=z+w+(k>>>0>>0?1:0),W=A.low=W+O,A.high=S+G+(W>>>0>>0?1:0),m=B.low=m+q,B.high=p+e0+(m>>>0>>0?1:0),y=l.low=y+t0,l.high=R+B0+(y>>>0>>0?1:0),L=g.low=L+Z,g.high=T+$+(L>>>0>>0?1:0),I=F.low=I+a0,F.high=U+s0+(I>>>0>>0?1:0),_=D.low=_+n0,D.high=K+c0+(_>>>0>>0?1:0),X=u.low=X+i0,u.high=j+l0+(X>>>0>>0?1:0)},_doFinalize:function(){var r=this._data,v=r.words,s=8*this._nDataBytes,E=8*r.sigBytes;return v[E>>>5]|=128<<24-E%32,v[30+(E+128>>>10<<5)]=Math.floor(s/4294967296),v[31+(E+128>>>10<<5)]=s,r.sigBytes=4*v.length,this._process(),this._hash.toX32()},clone:function(){var r=C.clone.call(this);return r._hash=this._hash.clone(),r},blockSize:32});x.SHA512=C._createHelper(i),x.HmacSHA512=C._createHmacHelper(i)}(),f.SHA512)},2515:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,h=x.lib,C=h.WordArray,b=h.BlockCipher,a=x.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],n=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],e=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],t=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],i=a.DES=b.extend({_doReset:function(){for(var A=this._key.words,B=[],l=0;l<56;l++){var g=d[l]-1;B[l]=A[g>>>5]>>>31-g%32&1}for(var F=this._subKeys=[],D=0;D<16;D++){var u=F[D]=[],z=e[D];for(l=0;l<24;l++)u[l/6|0]|=B[(n[l]-1+z)%28]<<31-l%6,u[4+(l/6|0)]|=B[28+(n[l+24]-1+z)%28]<<31-l%6;for(u[0]=u[0]<<1|u[0]>>>31,l=1;l<7;l++)u[l]=u[l]>>>4*(l-1)+3;u[7]=u[7]<<5|u[7]>>>27}var k=this._invSubKeys=[];for(l=0;l<16;l++)k[l]=F[15-l]},encryptBlock:function(E,A){this._doCryptBlock(E,A,this._subKeys)},decryptBlock:function(E,A){this._doCryptBlock(E,A,this._invSubKeys)},_doCryptBlock:function(E,A,B){this._lBlock=E[A],this._rBlock=E[A+1],r.call(this,4,252645135),r.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),r.call(this,1,1431655765);for(var l=0;l<16;l++){for(var g=B[l],F=this._lBlock,D=this._rBlock,u=0,z=0;z<8;z++)u|=c[z][((D^g[z])&t[z])>>>0];this._lBlock=D,this._rBlock=F^u}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,r.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),r.call(this,16,65535),r.call(this,4,252645135),E[A]=this._lBlock,E[A+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function r(E,A){var B=(this._lBlock>>>E^this._rBlock)&A;this._rBlock^=B,this._lBlock^=B<>>E^this._lBlock)&A;this._lBlock^=B,this._rBlock^=B<192.");var B=A.slice(0,2),l=A.length<4?A.slice(0,2):A.slice(2,4),g=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=i.createEncryptor(C.create(B)),this._des2=i.createEncryptor(C.create(l)),this._des3=i.createEncryptor(C.create(g))},encryptBlock:function(E,A){this._des1.encryptBlock(E,A),this._des2.decryptBlock(E,A),this._des3.encryptBlock(E,A)},decryptBlock:function(E,A){this._des3.decryptBlock(E,A),this._des2.encryptBlock(E,A),this._des1.decryptBlock(E,A)},keySize:6,ivSize:2,blockSize:2});x.TripleDES=b._createHelper(s)}(),f.TripleDES)},4501:function(P,H,o){var C,b,a,d,f;P.exports=(f=o(7656),b=(C=f.lib).Base,a=C.WordArray,(d=f.x64={}).Word=b.extend({init:function(c,t){this.high=c,this.low=t}}),d.WordArray=b.extend({init:function(c,t){c=this.words=c||[],this.sigBytes=null!=t?t:8*c.length},toX32:function(){for(var c=this.words,t=c.length,i=[],r=0;r{"use strict";o.d(H,{N:()=>C});var f=o(5083),x=o(467);class h extends f.E_{constructor(){super(...arguments),this.ERROR_PICK_FILE_CANCELED="pickFiles canceled."}convertHeicToJpeg(a){var d=this;return(0,x.A)(function*(){throw d.unimplemented("Not implemented on web.")})()}pickFiles(a){var d=this;return(0,x.A)(function*(){const n=yield d.openFilePicker(a);if(!n)throw new Error(d.ERROR_PICK_FILE_CANCELED);const e={files:[]};for(const c of n){const t={blob:c,modifiedAt:c.lastModified,mimeType:d.getMimeTypeFromUrl(c),name:d.getNameFromUrl(c),path:void 0,size:d.getSizeFromUrl(c)};null!=a&&a.readData&&(t.data=yield d.getDataFromFile(c)),e.files.push(t)}return e})()}pickImages(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["image/*"]},a))})()}pickMedia(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["image/*","video/*"]},a))})()}pickVideos(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["video/*"]},a))})()}openFilePicker(a){var d=this;return(0,x.A)(function*(){var n;const e=(null===(n=null==a?void 0:a.types)||void 0===n?void 0:n.join(","))||"",c=!(null==a||!a.multiple);return new Promise(t=>{let i=!1;const r=document.createElement("input");r.type="file",r.accept=e,r.multiple=c,r.addEventListener("change",()=>{i=!0;const v=Array.from(r.files||[]);t(v)},{once:!0}),window.addEventListener("focus",(0,x.A)(function*(){yield d.wait(1e3),!i&&t(void 0)}),{once:!0}),r.click()})})()}getDataFromFile(a){return(0,x.A)(function*(){return new Promise((d,n)=>{const e=new FileReader;e.readAsDataURL(a),e.onload=()=>{const i=("string"==typeof e.result?e.result:"").split("base64,")[1]||"";d(i)},e.onerror=c=>{n(c)}})})()}getNameFromUrl(a){return a.name}getMimeTypeFromUrl(a){return a.type}getSizeFromUrl(a){return a.size}wait(a){return(0,x.A)(function*(){return new Promise(d=>setTimeout(d,a))})()}}const C=(0,f.F3)("FilePicker",{web:()=>new h})},1129:(P,H,o)=>{"use strict";o.d(H,{W:()=>n});var f=o(467),x=o(4438),h=o(8974),C=o(4517),b=o(177),a=o(5402);function d(e,c){if(1&e){const t=x.RV6();x.j41(0,"ion-item",2),x.bIt("click",function(){const r=x.eBV(t).$implicit,v=x.XpG();return x.Njj(v.upload(r.type))}),x.j41(1,"ion-label"),x.EFF(2),x.nI1(3,"translate"),x.k0s()()}if(2&e){const t=c.$implicit;x.R7$(2),x.JRh(x.bMT(3,1,t.label))}}let n=(()=>{var e;class c{constructor(i,r){this.modalCtrl=i,this.navParams=r,this.youtubeurl="",this.uploadType=[]}ngOnInit(){this.uploadType=this.navParams.get("uploadType")}upload(i){var r=this;return(0,f.A)(function*(){console.log("type ",i),r.modalCtrl.dismiss({type:i})})()}}return(e=c).\u0275fac=function(i){return new(i||e)(x.rXU(h.W3),x.rXU(C.y8))},e.\u0275cmp=x.VBU({type:e,selectors:[["app-upload-local"]],decls:3,vars:1,consts:[[1,"inner-content"],[3,"click",4,"ngFor","ngForOf"],[3,"click"]],template:function(i,r){1&i&&(x.j41(0,"div",0)(1,"ion-list"),x.DNE(2,d,4,3,"ion-item",1),x.k0s()()),2&i&&(x.R7$(2),x.Y8G("ngForOf",r.uploadType))},dependencies:[b.Sq,h.uz,h.he,h.nf,a.D9]}),c})()},4733:(P,H,o)=>{"use strict";o.d(H,{O:()=>x});var f=o(56);class x{static isTrackable(C){return(C=C.trackable?C:C.contentData&&C.contentData.trackable?C.contentData:C).trackable&&C.trackable.enabled?C.trackable.enabled===f.Th.YES?1:C.mimeType===f.z5.COLLECTION?0:-1:C.contentType&&C.contentType.toLowerCase()===f.cM.COURSE.toLowerCase()?1:C.mimeType===f.z5.COLLECTION?0:-1}static getMimeType(C){const b=C.split(".").pop();let a="";switch(null==b?void 0:b.toLowerCase()){case"mp4":a=f.z5.VIDEO;break;case"pdf":a=f.z5.PDF;break;case"mp3":case"m4a":a=f.z5.AUDIOS;break;case"wav":a=f.z5.RECOEDED_AUDIO;break;case"youtube":a=f.z5.YOUTUBE}return a}static getImagePath(C){return{mp3:"/assets/images/Audio.png",mp4:"/assets/images/Video.png",webm:"/assets/images/Video.png",pdf:"/assets/images/PDF.png"}[C.split("/").pop()]}}},3188:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.BlockCipher,b=x.algo,a=[],d=[],n=[],e=[],c=[],t=[],i=[],r=[],v=[],s=[];!function(){for(var B=[],l=0;l<256;l++)B[l]=l<128?l<<1:l<<1^283;var g=0,F=0;for(l=0;l<256;l++){var D=F^F<<1^F<<2^F<<3^F<<4;a[g]=D=D>>>8^255&D^99,d[D]=g;var S,u=B[g],z=B[u],k=B[z];n[g]=(S=257*B[D]^16843008*D)<<24|S>>>8,e[g]=S<<16|S>>>16,c[g]=S<<8|S>>>24,t[g]=S,i[D]=(S=16843009*k^65537*z^257*u^16843008*g)<<24|S>>>8,r[D]=S<<16|S>>>16,v[D]=S<<8|S>>>24,s[D]=S,g?(g=u^B[B[B[k^u]]],F^=B[B[F]]):g=F=1}}();var E=[0,1,2,4,8,16,32,64,128,27,54],A=b.AES=C.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var l=this._keyPriorReset=this._key,g=l.words,F=l.sigBytes/4,u=4*((this._nRounds=F+6)+1),z=this._keySchedule=[],k=0;k6&&k%F==4&&(B=a[B>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[255&B]):(B=a[(B=B<<8|B>>>24)>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[255&B],B^=E[k/F|0]<<24),z[k]=z[k-F]^B);for(var S=this._invKeySchedule=[],W=0;W>>24]]^r[a[B>>>16&255]]^v[a[B>>>8&255]]^s[a[255&B]]}}},encryptBlock:function(B,l){this._doCryptBlock(B,l,this._keySchedule,n,e,c,t,a)},decryptBlock:function(B,l){var g=B[l+1];B[l+1]=B[l+3],B[l+3]=g,this._doCryptBlock(B,l,this._invKeySchedule,i,r,v,s,d),g=B[l+1],B[l+1]=B[l+3],B[l+3]=g},_doCryptBlock:function(B,l,g,F,D,u,z,k){for(var S=this._nRounds,W=B[l]^g[0],p=B[l+1]^g[1],m=B[l+2]^g[2],R=B[l+3]^g[3],y=4,T=1;T>>24]^D[p>>>16&255]^u[m>>>8&255]^z[255&R]^g[y++],U=F[p>>>24]^D[m>>>16&255]^u[R>>>8&255]^z[255&W]^g[y++],I=F[m>>>24]^D[R>>>16&255]^u[W>>>8&255]^z[255&p]^g[y++],K=F[R>>>24]^D[W>>>16&255]^u[p>>>8&255]^z[255&m]^g[y++];W=L,p=U,m=I,R=K}L=(k[W>>>24]<<24|k[p>>>16&255]<<16|k[m>>>8&255]<<8|k[255&R])^g[y++],U=(k[p>>>24]<<24|k[m>>>16&255]<<16|k[R>>>8&255]<<8|k[255&W])^g[y++],I=(k[m>>>24]<<24|k[R>>>16&255]<<16|k[W>>>8&255]<<8|k[255&p])^g[y++],K=(k[R>>>24]<<24|k[W>>>16&255]<<16|k[p>>>8&255]<<8|k[255&m])^g[y++],B[l]=L,B[l+1]=U,B[l+2]=I,B[l+3]=K},keySize:8});x.AES=C._createHelper(A)}(),f.AES)},5269:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.BlockCipher;const a=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],n=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var e={pbox:[],sbox:[]};function c(s,E){let F=s.sbox[0][E>>24&255]+s.sbox[1][E>>16&255];return F^=s.sbox[2][E>>8&255],F+=s.sbox[3][255&E],F}function t(s,E,A){let g,B=E,l=A;for(let F=0;F=A&&(B=0);let l=0,g=0,F=0;for(let D=0;D1;--F)B^=s.pbox[F],l=c(s,B)^l,g=B,B=l,l=g;return g=B,B=l,l=g,l^=s.pbox[1],B^=s.pbox[0],{left:B,right:l}}(e,s[E],s[E+1]);s[E]=A.left,s[E+1]=A.right},blockSize:2,keySize:4,ivSize:2});x.Blowfish=C._createHelper(v)}(),f.Blowfish)},2414:function(P,H,o){var h,C,b,a,d,n,c,i,r,s,E,A,l,F,u,z,S,W,f;P.exports=(f=o(7656),o(4147),void(f.lib.Cipher||(h=f,C=h.lib,b=C.Base,a=C.WordArray,d=C.BufferedBlockAlgorithm,n=h.enc,c=n.Base64,i=h.algo.EvpKDF,r=C.Cipher=d.extend({cfg:b.extend(),createEncryptor:function(p,m){return this.create(this._ENC_XFORM_MODE,p,m)},createDecryptor:function(p,m){return this.create(this._DEC_XFORM_MODE,p,m)},init:function(p,m,R){this.cfg=this.cfg.extend(R),this._xformMode=p,this._key=m,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(p){return this._append(p),this._process()},finalize:function(p){return p&&this._append(p),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function p(m){return"string"==typeof m?W:z}return function(m){return{encrypt:function(R,y,T){return p(y).encrypt(m,R,y,T)},decrypt:function(R,y,T){return p(y).decrypt(m,R,y,T)}}}}()}),C.StreamCipher=r.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),s=h.mode={},E=C.BlockCipherMode=b.extend({createEncryptor:function(p,m){return this.Encryptor.create(p,m)},createDecryptor:function(p,m){return this.Decryptor.create(p,m)},init:function(p,m){this._cipher=p,this._iv=m}}),A=s.CBC=function(){var p=E.extend();function m(R,y,T){var L,U=this._iv;U?(L=U,this._iv=undefined):L=this._prevBlock;for(var I=0;I>>2]}},C.BlockCipher=r.extend({cfg:r.cfg.extend({mode:A,padding:l}),reset:function(){var p;r.reset.call(this);var m=this.cfg,R=m.iv,y=m.mode;this._xformMode==this._ENC_XFORM_MODE?p=y.createEncryptor:(p=y.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==p?this._mode.init(this,R&&R.words):(this._mode=p.call(y,this,R&&R.words),this._mode.__creator=p)},_doProcessBlock:function(p,m){this._mode.processBlock(p,m)},_doFinalize:function(){var p,m=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(m.pad(this._data,this.blockSize),p=this._process(!0)):(p=this._process(!0),m.unpad(p)),p},blockSize:4}),F=C.CipherParams=b.extend({init:function(p){this.mixIn(p)},toString:function(p){return(p||this.formatter).stringify(this)}}),u=(h.format={}).OpenSSL={stringify:function(p){var R=p.ciphertext,y=p.salt;return(y?a.create([1398893684,1701076831]).concat(y).concat(R):R).toString(c)},parse:function(p){var m,R=c.parse(p),y=R.words;return 1398893684==y[0]&&1701076831==y[1]&&(m=a.create(y.slice(2,4)),y.splice(0,4),R.sigBytes-=16),F.create({ciphertext:R,salt:m})}},z=C.SerializableCipher=b.extend({cfg:b.extend({format:u}),encrypt:function(p,m,R,y){y=this.cfg.extend(y);var T=p.createEncryptor(R,y),L=T.finalize(m),U=T.cfg;return F.create({ciphertext:L,key:R,iv:U.iv,algorithm:p,mode:U.mode,padding:U.padding,blockSize:p.blockSize,formatter:y.format})},decrypt:function(p,m,R,y){return y=this.cfg.extend(y),m=this._parse(m,y.format),p.createDecryptor(R,y).finalize(m.ciphertext)},_parse:function(p,m){return"string"==typeof p?m.parse(p,this):p}}),S=(h.kdf={}).OpenSSL={execute:function(p,m,R,y,T){if(y||(y=a.random(8)),T)var L=i.create({keySize:m+R,hasher:T}).compute(p,y);else L=i.create({keySize:m+R}).compute(p,y);var U=a.create(L.words.slice(m),4*R);return L.sigBytes=4*m,F.create({key:L,iv:U,salt:y})}},W=C.PasswordBasedCipher=z.extend({cfg:z.cfg.extend({kdf:S}),encrypt:function(p,m,R,y){var T=(y=this.cfg.extend(y)).kdf.execute(R,p.keySize,p.ivSize,y.salt,y.hasher);y.iv=T.iv;var L=z.encrypt.call(this,p,m,T.key,y);return L.mixIn(T),L},decrypt:function(p,m,R,y){y=this.cfg.extend(y),m=this._parse(m,y.format);var T=y.kdf.execute(R,p.keySize,p.ivSize,m.salt,y.hasher);return y.iv=T.iv,z.decrypt.call(this,p,m,T.key,y)}}))))},8891:function(P,H,o){var f,C;P.exports=(f=o(7656),C=f.lib.WordArray,f.enc.Base64={stringify:function(n){var e=n.words,c=n.sigBytes,t=this._map;n.clamp();for(var i=[],r=0;r>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,B=0;B<4&&r+.75*B>>6*(3-B)&63));var l=t.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(n){var e=n.length,c=this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i>>6-r%4*2;t[i>>>2]|=(v|s)<<24-i%4*8,i++}return C.create(t,i)}(n,e,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},f.enc.Base64)},4217:function(P,H,o){var f,C;P.exports=(f=o(7656),C=f.lib.WordArray,f.enc.Base64url={stringify:function(n,e){void 0===e&&(e=!0);var c=n.words,t=n.sigBytes,i=e?this._safe_map:this._map;n.clamp();for(var r=[],v=0;v>>2]>>>24-v%4*8&255)<<16|(c[v+1>>>2]>>>24-(v+1)%4*8&255)<<8|c[v+2>>>2]>>>24-(v+2)%4*8&255,l=0;l<4&&v+.75*l>>6*(3-l)&63));var g=i.charAt(64);if(g)for(;r.length%4;)r.push(g);return r.join("")},parse:function(n,e){void 0===e&&(e=!0);var c=n.length,t=e?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r>>6-r%4*2;t[i>>>2]|=(v|s)<<24-i%4*8,i++}return C.create(t,i)}(n,c,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},f.enc.Base64url)},5304:function(P,H,o){var f;P.exports=(f=o(7656),function(){var C=f.lib.WordArray,b=f.enc;function d(n){return n<<8&4278255360|n>>>8&16711935}b.Utf16=b.Utf16BE={stringify:function(n){for(var e=n.words,c=n.sigBytes,t=[],i=0;i>>2]>>>16-i%4*8&65535));return t.join("")},parse:function(n){for(var e=n.length,c=[],t=0;t>>1]|=n.charCodeAt(t)<<16-t%2*16;return C.create(c,2*e)}},b.Utf16LE={stringify:function(n){for(var e=n.words,c=n.sigBytes,t=[],i=0;i>>2]>>>16-i%4*8&65535);t.push(String.fromCharCode(r))}return t.join("")},parse:function(n){for(var e=n.length,c=[],t=0;t>>1]|=d(n.charCodeAt(t)<<16-t%2*16);return C.create(c,2*e)}}}(),f.enc.Utf16)},4147:function(P,H,o){var x,h,C,b,a,n,f;P.exports=(f=o(7656),o(9986),o(7868),b=(h=(x=f).lib).WordArray,n=(a=x.algo).EvpKDF=(C=h.Base).extend({cfg:C.extend({keySize:4,hasher:a.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,c){for(var t,i=this.cfg,r=i.hasher.create(),v=b.create(),s=v.words,E=i.keySize,A=i.iterations;s.lengthi&&(c=e.finalize(c)),c.clamp();for(var r=this._oKey=c.clone(),v=this._iKey=c.clone(),s=r.words,E=v.words,A=0;A>>2]|=d[c]<<24-c%4*8;b.call(this,e,n)}else b.apply(this,arguments)};a.prototype=C}}(),f.lib.WordArray)},4152:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.mode.CFB=function(){var x=f.lib.BlockCipherMode.extend();function h(C,b,a,d){var n,e=this._iv;e?(n=e.slice(0),this._iv=void 0):n=this._prevBlock,d.encryptBlock(n,0);for(var c=0;c>24))a+=1<<24;else{var d=a>>16&255,n=a>>8&255,e=255&a;255===d?(d=0,255===n?(n=0,255===e?e=0:++e):++n):++d,a=0,a+=d<<16,a+=n<<8,a+=e}return a}var b=x.Encryptor=x.extend({processBlock:function(a,d){var n=this._cipher,e=n.blockSize,c=this._iv,t=this._counter;c&&(t=this._counter=c.slice(0),this._iv=void 0),function C(a){return 0===(a[0]=h(a[0]))&&(a[1]=h(a[1])),a}(t);var i=t.slice(0);n.encryptBlock(i,0);for(var r=0;r>>2]|=a<<24-d%4*8,x.sigBytes+=a},unpad:function(x){x.sigBytes-=255&x.words[x.sigBytes-1>>>2]}},f.pad.Ansix923)},7516:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.Iso10126={pad:function(x,h){var C=4*h,b=C-x.sigBytes%C;x.concat(f.lib.WordArray.random(b-1)).concat(f.lib.WordArray.create([b<<24],1))},unpad:function(x){x.sigBytes-=255&x.words[x.sigBytes-1>>>2]}},f.pad.Iso10126)},9047:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.Iso97971={pad:function(x,h){x.concat(f.lib.WordArray.create([2147483648],1)),f.pad.ZeroPadding.pad(x,h)},unpad:function(x){f.pad.ZeroPadding.unpad(x),x.sigBytes--}},f.pad.Iso97971)},2599:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.NoPadding={pad:function(){},unpad:function(){}},f.pad.NoPadding)},6964:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.ZeroPadding={pad:function(x,h){var C=4*h;x.clamp(),x.sigBytes+=C-(x.sigBytes%C||C)},unpad:function(x){var h=x.words,C=x.sigBytes-1;for(C=x.sigBytes-1;C>=0;C--)if(h[C>>>2]>>>24-C%4*8&255){x.sigBytes=C+1;break}}},f.pad.ZeroPadding)},7738:function(P,H,o){var x,h,C,b,a,n,e,f;P.exports=(f=o(7656),o(5168),o(7868),b=(h=(x=f).lib).WordArray,n=(a=x.algo).HMAC,e=a.PBKDF2=(C=h.Base).extend({cfg:C.extend({keySize:4,hasher:a.SHA256,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,t){for(var i=this.cfg,r=n.create(i.hasher,c),v=b.create(),s=b.create([1]),E=v.words,A=s.words,B=i.keySize,l=i.iterations;E.length>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],v=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var s=0;s<4;s++)c.call(this);for(s=0;s<8;s++)v[s]^=r[s+4&7];if(i){var E=i.words,A=E[0],B=E[1],l=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),F=l>>>16|4294901760&g,D=g<<16|65535&l;for(v[0]^=l,v[1]^=F,v[2]^=g,v[3]^=D,v[4]^=l,v[5]^=F,v[6]^=g,v[7]^=D,s=0;s<4;s++)c.call(this)}},_doProcessBlock:function(t,i){var r=this._X;c.call(this),a[0]=r[0]^r[5]>>>16^r[3]<<16,a[1]=r[2]^r[7]>>>16^r[5]<<16,a[2]=r[4]^r[1]>>>16^r[7]<<16,a[3]=r[6]^r[3]>>>16^r[1]<<16;for(var v=0;v<4;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8),t[i+v]^=a[v]},blockSize:4,ivSize:2});function c(){for(var t=this._X,i=this._C,r=0;r<8;r++)d[r]=i[r];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0>>0?1:0)|0,this._b=i[7]>>>0>>0?1:0,r=0;r<8;r++){var v=t[r]+i[r],s=65535&v,E=v>>>16;n[r]=((s*s>>>17)+s*E>>>15)+E*E^((4294901760&v)*v|0)+((65535&v)*v|0)}t[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,t[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,t[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,t[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,t[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,t[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,t[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,t[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}x.RabbitLegacy=C._createHelper(e)}(),f.RabbitLegacy)},2795:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.StreamCipher,a=[],d=[],n=[],e=x.algo.Rabbit=C.extend({_doReset:function(){for(var t=this._key.words,i=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var v=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],s=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)s[r]^=v[r+4&7];if(i){var E=i.words,A=E[0],B=E[1],l=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),F=l>>>16|4294901760&g,D=g<<16|65535&l;for(s[0]^=l,s[1]^=F,s[2]^=g,s[3]^=D,s[4]^=l,s[5]^=F,s[6]^=g,s[7]^=D,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,i){var r=this._X;c.call(this),a[0]=r[0]^r[5]>>>16^r[3]<<16,a[1]=r[2]^r[7]>>>16^r[5]<<16,a[2]=r[4]^r[1]>>>16^r[7]<<16,a[3]=r[6]^r[3]>>>16^r[1]<<16;for(var v=0;v<4;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8),t[i+v]^=a[v]},blockSize:4,ivSize:2});function c(){for(var t=this._X,i=this._C,r=0;r<8;r++)d[r]=i[r];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0>>0?1:0)|0,this._b=i[7]>>>0>>0?1:0,r=0;r<8;r++){var v=t[r]+i[r],s=65535&v,E=v>>>16;n[r]=((s*s>>>17)+s*E>>>15)+E*E^((4294901760&v)*v|0)+((65535&v)*v|0)}t[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,t[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,t[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,t[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,t[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,t[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,t[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,t[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}x.Rabbit=C._createHelper(e)}(),f.Rabbit)},5350:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.StreamCipher,b=x.algo,a=b.RC4=C.extend({_doReset:function(){for(var e=this._key,c=e.words,t=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var v=0;r<256;r++){var s=r%t,A=i[r];i[r]=i[v=(v+i[r]+(c[s>>>2]>>>24-s%4*8&255))%256],i[v]=A}this._i=this._j=0},_doProcessBlock:function(e,c){e[c]^=d.call(this)},keySize:8,ivSize:0});function d(){for(var e=this._S,c=this._i,t=this._j,i=0,r=0;r<4;r++){var v=e[c=(c+1)%256];e[c]=e[t=(t+e[c])%256],e[t]=v,i|=e[(e[c]+e[t])%256]<<24-8*r}return this._i=c,this._j=t,i}x.RC4=C._createHelper(a);var n=b.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)d.call(this)}});x.RC4Drop=C._createHelper(n)}(),f.RC4)},447:function(P,H,o){var f;P.exports=(f=o(7656),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,d=h.algo,n=b.create([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]),e=b.create([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=b.create([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]),t=b.create([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]),i=b.create([0,1518500249,1859775393,2400959708,2840853838]),r=b.create([1352829926,1548603684,1836072691,2053994217,0]),v=d.RIPEMD160=a.extend({_doReset:function(){this._hash=b.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(F,D){for(var u=0;u<16;u++){var z=D+u,k=F[z];F[z]=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8)}var L,U,I,K,_,j,X,w,N,G,O,S=this._hash.words,W=i.words,p=r.words,m=n.words,R=e.words,y=c.words,T=t.words;for(j=L=S[0],X=U=S[1],w=I=S[2],N=K=S[3],G=_=S[4],u=0;u<80;u+=1)O=L+F[D+m[u]]|0,O+=u<16?s(U,I,K)+W[0]:u<32?E(U,I,K)+W[1]:u<48?A(U,I,K)+W[2]:u<64?B(U,I,K)+W[3]:l(U,I,K)+W[4],O=(O=g(O|=0,y[u]))+_|0,L=_,_=K,K=g(I,10),I=U,U=O,O=j+F[D+R[u]]|0,O+=u<16?l(X,w,N)+p[0]:u<32?B(X,w,N)+p[1]:u<48?A(X,w,N)+p[2]:u<64?E(X,w,N)+p[3]:s(X,w,N)+p[4],O=(O=g(O|=0,T[u]))+G|0,j=G,G=N,N=g(w,10),w=X,X=O;O=S[1]+I+N|0,S[1]=S[2]+K+G|0,S[2]=S[3]+_+j|0,S[3]=S[4]+L+X|0,S[4]=S[0]+U+w|0,S[0]=O},_doFinalize:function(){var F=this._data,D=F.words,u=8*this._nDataBytes,z=8*F.sigBytes;D[z>>>5]|=128<<24-z%32,D[14+(z+64>>>9<<4)]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),F.sigBytes=4*(D.length+1),this._process();for(var k=this._hash,S=k.words,W=0;W<5;W++){var p=S[W];S[W]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}return k},clone:function(){var F=a.clone.call(this);return F._hash=this._hash.clone(),F}});function s(F,D,u){return F^D^u}function E(F,D,u){return F&D|~F&u}function A(F,D,u){return(F|~D)^u}function B(F,D,u){return F&u|D&~u}function l(F,D,u){return F^(D|~u)}function g(F,D){return F<>>32-D}h.RIPEMD160=a._createHelper(v),h.HmacRIPEMD160=a._createHmacHelper(v)}(Math),f.RIPEMD160)},9225:function(P,H,o){var x,C,b,a,d,f;P.exports=(f=o(7656),o(5168),C=(x=f).lib.WordArray,d=(b=x.algo).SHA224=(a=b.SHA256).extend({_doReset:function(){this._hash=new C.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var n=a._doFinalize.call(this);return n.sigBytes-=4,n}}),x.SHA224=a._createHelper(d),x.HmacSHA224=a._createHmacHelper(d),f.SHA224)},5168:function(P,H,o){var f;P.exports=(f=o(7656),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,d=h.algo,n=[],e=[];!function(){function i(E){for(var A=x.sqrt(E),B=2;B<=A;B++)if(!(E%B))return!1;return!0}function r(E){return 4294967296*(E-(0|E))|0}for(var v=2,s=0;s<64;)i(v)&&(s<8&&(n[s]=r(x.pow(v,.5))),e[s]=r(x.pow(v,1/3)),s++),v++}();var c=[],t=d.SHA256=a.extend({_doReset:function(){this._hash=new b.init(n.slice(0))},_doProcessBlock:function(i,r){for(var v=this._hash.words,s=v[0],E=v[1],A=v[2],B=v[3],l=v[4],g=v[5],F=v[6],D=v[7],u=0;u<64;u++){if(u<16)c[u]=0|i[r+u];else{var z=c[u-15],S=c[u-2];c[u]=((z<<25|z>>>7)^(z<<14|z>>>18)^z>>>3)+c[u-7]+((S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10)+c[u-16]}var m=s&E^s&A^E&A,T=D+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&g^~l&F)+e[u]+c[u];D=F,F=g,g=l,l=B+T|0,B=A,A=E,E=s,s=T+(((s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22))+m)|0}v[0]=v[0]+s|0,v[1]=v[1]+E|0,v[2]=v[2]+A|0,v[3]=v[3]+B|0,v[4]=v[4]+l|0,v[5]=v[5]+g|0,v[6]=v[6]+F|0,v[7]=v[7]+D|0},_doFinalize:function(){var i=this._data,r=i.words,v=8*this._nDataBytes,s=8*i.sigBytes;return r[s>>>5]|=128<<24-s%32,r[14+(s+64>>>9<<4)]=x.floor(v/4294967296),r[15+(s+64>>>9<<4)]=v,i.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var i=a.clone.call(this);return i._hash=this._hash.clone(),i}});h.SHA256=a._createHelper(t),h.HmacSHA256=a._createHmacHelper(t)}(Math),f.SHA256)},3752:function(P,H,o){var f;P.exports=(f=o(7656),o(4501),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,n=h.x64.Word,e=h.algo,c=[],t=[],i=[];!function(){for(var s=1,E=0,A=0;A<24;A++){c[s+5*E]=(A+1)*(A+2)/2%64;var l=(2*s+3*E)%5;s=E%5,E=l}for(s=0;s<5;s++)for(E=0;E<5;E++)t[s+5*E]=E+(2*s+3*E)%5*5;for(var g=1,F=0;F<24;F++){for(var D=0,u=0,z=0;z<7;z++){if(1&g){var k=(1<>>24)|4278255360&(g<<24|g>>>8),(D=A[l]).high^=F=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),D.low^=g}for(var u=0;u<24;u++){for(var z=0;z<5;z++){for(var k=0,S=0,W=0;W<5;W++)k^=(D=A[z+5*W]).high,S^=D.low;var p=r[z];p.high=k,p.low=S}for(z=0;z<5;z++){var m=r[(z+4)%5],R=r[(z+1)%5],y=R.high,T=R.low;for(k=m.high^(y<<1|T>>>31),S=m.low^(T<<1|y>>>31),W=0;W<5;W++)(D=A[z+5*W]).high^=k,D.low^=S}for(var L=1;L<25;L++){var U=(D=A[L]).high,I=D.low,K=c[L];K<32?(k=U<>>32-K,S=I<>>32-K):(k=I<>>64-K,S=U<>>64-K);var _=r[t[L]];_.high=k,_.low=S}var j=r[0],X=A[0];for(j.high=X.high,j.low=X.low,z=0;z<5;z++)for(W=0;W<5;W++){var w=r[L=z+5*W],N=r[(z+1)%5+5*W],G=r[(z+2)%5+5*W];(D=A[L]).high=w.high^~N.high&G.high,D.low=w.low^~N.low&G.low}var D,O=i[u];(D=A[0]).high^=O.high,D.low^=O.low}},_doFinalize:function(){var s=this._data,E=s.words,B=8*s.sigBytes,l=32*this.blockSize;E[B>>>5]|=1<<24-B%32,E[(x.ceil((B+1)/l)*l>>>5)-1]|=128,s.sigBytes=4*E.length,this._process();for(var g=this._state,F=this.cfg.outputLength/8,D=F/8,u=[],z=0;z>>24)|4278255360&(S<<24|S>>>8),u.push(W=16711935&(W<<8|W>>>24)|4278255360&(W<<24|W>>>8)),u.push(S)}return new b.init(u,F)},clone:function(){for(var s=a.clone.call(this),E=s._state=this._state.slice(0),A=0;A<25;A++)E[A]=E[A].clone();return s}});h.SHA3=a._createHelper(v),h.HmacSHA3=a._createHmacHelper(v)}(Math),f.SHA3)},4068:function(P,H,o){var x,h,C,b,a,d,n,f;P.exports=(f=o(7656),o(4501),o(885),C=(h=(x=f).x64).Word,b=h.WordArray,n=(a=x.algo).SHA384=(d=a.SHA512).extend({_doReset:function(){this._hash=new b.init([new C.init(3418070365,3238371032),new C.init(1654270250,914150663),new C.init(2438529370,812702999),new C.init(355462360,4144912697),new C.init(1731405415,4290775857),new C.init(2394180231,1750603025),new C.init(3675008525,1694076839),new C.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}}),x.SHA384=d._createHelper(n),x.HmacSHA384=d._createHmacHelper(n),f.SHA384)},885:function(P,H,o){var f;P.exports=(f=o(7656),o(4501),function(){var x=f,C=x.lib.Hasher,b=x.x64,a=b.Word,d=b.WordArray,n=x.algo;function e(){return a.create.apply(a,arguments)}var c=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],t=[];!function(){for(var r=0;r<80;r++)t[r]=e()}();var i=n.SHA512=C.extend({_doReset:function(){this._hash=new d.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(r,v){for(var s=this._hash.words,E=s[0],A=s[1],B=s[2],l=s[3],g=s[4],F=s[5],D=s[6],u=s[7],z=E.high,k=E.low,S=A.high,W=A.low,p=B.high,m=B.low,R=l.high,y=l.low,T=g.high,L=g.low,U=F.high,I=F.low,K=D.high,_=D.low,j=u.high,X=u.low,w=z,N=k,G=S,O=W,e0=p,q=m,B0=R,t0=y,$=T,Z=L,s0=U,a0=I,c0=K,n0=_,l0=j,i0=X,Q=0;Q<80;Q++){var M,V,v0=t[Q];if(Q<16)V=v0.high=0|r[v+2*Q],M=v0.low=0|r[v+2*Q+1];else{var C0=t[Q-15],x0=C0.high,o0=C0.low,E0=(o0>>>1|x0<<31)^(o0>>>8|x0<<24)^(o0>>>7|x0<<25),d0=t[Q-2],r0=d0.high,f0=d0.low,h0=(f0>>>19|r0<<13)^(f0<<3|r0>>>29)^(f0>>>6|r0<<26),A0=t[Q-7],F0=t[Q-16],D0=F0.low;v0.high=V=(V=(V=((x0>>>1|o0<<31)^(x0>>>8|o0<<24)^x0>>>7)+A0.high+((M=E0+A0.low)>>>0>>0?1:0))+((r0>>>19|f0<<13)^(r0<<3|f0>>>29)^r0>>>6)+((M+=h0)>>>0>>0?1:0))+F0.high+((M+=D0)>>>0>>0?1:0),v0.low=M}var Y,P0=$&s0^~$&c0,u0=Z&a0^~Z&n0,R0=w&G^w&e0^G&e0,p0=(N>>>28|w<<4)^(N<<30|w>>>2)^(N<<25|w>>>7),g0=c[Q],b0=g0.low,J=l0+(($>>>14|Z<<18)^($>>>18|Z<<14)^($<<23|Z>>>9))+((Y=i0+((Z>>>14|$<<18)^(Z>>>18|$<<14)^(Z<<23|$>>>9)))>>>0>>0?1:0),y0=p0+(N&O^N&q^O&q);l0=c0,i0=n0,c0=s0,n0=a0,s0=$,a0=Z,$=B0+(J=(J=(J=J+P0+((Y+=u0)>>>0>>0?1:0))+g0.high+((Y+=b0)>>>0>>0?1:0))+V+((Y+=M)>>>0>>0?1:0))+((Z=t0+Y|0)>>>0>>0?1:0)|0,B0=e0,t0=q,e0=G,q=O,G=w,O=N,w=J+(((w>>>28|N<<4)^(w<<30|N>>>2)^(w<<25|N>>>7))+R0+(y0>>>0>>0?1:0))+((N=Y+y0|0)>>>0>>0?1:0)|0}k=E.low=k+N,E.high=z+w+(k>>>0>>0?1:0),W=A.low=W+O,A.high=S+G+(W>>>0>>0?1:0),m=B.low=m+q,B.high=p+e0+(m>>>0>>0?1:0),y=l.low=y+t0,l.high=R+B0+(y>>>0>>0?1:0),L=g.low=L+Z,g.high=T+$+(L>>>0>>0?1:0),I=F.low=I+a0,F.high=U+s0+(I>>>0>>0?1:0),_=D.low=_+n0,D.high=K+c0+(_>>>0>>0?1:0),X=u.low=X+i0,u.high=j+l0+(X>>>0>>0?1:0)},_doFinalize:function(){var r=this._data,v=r.words,s=8*this._nDataBytes,E=8*r.sigBytes;return v[E>>>5]|=128<<24-E%32,v[30+(E+128>>>10<<5)]=Math.floor(s/4294967296),v[31+(E+128>>>10<<5)]=s,r.sigBytes=4*v.length,this._process(),this._hash.toX32()},clone:function(){var r=C.clone.call(this);return r._hash=this._hash.clone(),r},blockSize:32});x.SHA512=C._createHelper(i),x.HmacSHA512=C._createHmacHelper(i)}(),f.SHA512)},2515:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,h=x.lib,C=h.WordArray,b=h.BlockCipher,a=x.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],n=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],e=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],t=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],i=a.DES=b.extend({_doReset:function(){for(var A=this._key.words,B=[],l=0;l<56;l++){var g=d[l]-1;B[l]=A[g>>>5]>>>31-g%32&1}for(var F=this._subKeys=[],D=0;D<16;D++){var u=F[D]=[],z=e[D];for(l=0;l<24;l++)u[l/6|0]|=B[(n[l]-1+z)%28]<<31-l%6,u[4+(l/6|0)]|=B[28+(n[l+24]-1+z)%28]<<31-l%6;for(u[0]=u[0]<<1|u[0]>>>31,l=1;l<7;l++)u[l]=u[l]>>>4*(l-1)+3;u[7]=u[7]<<5|u[7]>>>27}var k=this._invSubKeys=[];for(l=0;l<16;l++)k[l]=F[15-l]},encryptBlock:function(E,A){this._doCryptBlock(E,A,this._subKeys)},decryptBlock:function(E,A){this._doCryptBlock(E,A,this._invSubKeys)},_doCryptBlock:function(E,A,B){this._lBlock=E[A],this._rBlock=E[A+1],r.call(this,4,252645135),r.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),r.call(this,1,1431655765);for(var l=0;l<16;l++){for(var g=B[l],F=this._lBlock,D=this._rBlock,u=0,z=0;z<8;z++)u|=c[z][((D^g[z])&t[z])>>>0];this._lBlock=D,this._rBlock=F^u}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,r.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),r.call(this,16,65535),r.call(this,4,252645135),E[A]=this._lBlock,E[A+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function r(E,A){var B=(this._lBlock>>>E^this._rBlock)&A;this._rBlock^=B,this._lBlock^=B<>>E^this._lBlock)&A;this._lBlock^=B,this._rBlock^=B<192.");var B=A.slice(0,2),l=A.length<4?A.slice(0,2):A.slice(2,4),g=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=i.createEncryptor(C.create(B)),this._des2=i.createEncryptor(C.create(l)),this._des3=i.createEncryptor(C.create(g))},encryptBlock:function(E,A){this._des1.encryptBlock(E,A),this._des2.decryptBlock(E,A),this._des3.encryptBlock(E,A)},decryptBlock:function(E,A){this._des3.decryptBlock(E,A),this._des2.encryptBlock(E,A),this._des1.decryptBlock(E,A)},keySize:6,ivSize:2,blockSize:2});x.TripleDES=b._createHelper(s)}(),f.TripleDES)},4501:function(P,H,o){var C,b,a,d,f;P.exports=(f=o(7656),b=(C=f.lib).Base,a=C.WordArray,(d=f.x64={}).Word=b.extend({init:function(c,t){this.high=c,this.low=t}}),d.WordArray=b.extend({init:function(c,t){c=this.words=c||[],this.sigBytes=null!=t?t:8*c.length},toX32:function(){for(var c=this.words,t=c.length,i=[],r=0;r - + diff --git a/www/main.8b0e9eb50a5fe047.js b/www/main.8b0e9eb50a5fe047.js deleted file mode 100644 index 28edbe9..0000000 --- a/www/main.8b0e9eb50a5fe047.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{8941:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>S});const S=(0,E(5083).F3)("App",{web:()=>E.e(9303).then(E.bind(E,9303)).then(p=>new p.AppWeb)})},5083:(Ce,ee,E)=>{"use strict";E.d(ee,{EA:()=>se,E_:()=>k,F3:()=>w,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 F extends Error{constructor(l,s,h){super(l),this.message=l,this.code=s,this.data=h}}const m=o=>{var l,s,h,v,y;const d=o.CapacitorCustomPlatform||null,r=o.Capacitor||{},f=r.Plugins=r.Plugins||{},L=o.CapacitorPlatforms,j=(null===(l=null==L?void 0:L.currentPlatform)||void 0===l?void 0:l.getPlatform)||(()=>null!==d?d.name:(o=>{var l,s;return null!=o&&o.androidBridge?"android":null!==(s=null===(l=null==o?void 0:o.webkit)||void 0===l?void 0:l.messageHandlers)&&void 0!==s&&s.bridge?"ios":"web"})(o)),ie=(null===(s=null==L?void 0:L.currentPlatform)||void 0===s?void 0:s.isNativePlatform)||(()=>"web"!==j()),De=(null===(h=null==L?void 0:L.currentPlatform)||void 0===h?void 0:h.isPluginAvailable)||(re=>{const ne=pe.get(re);return!!(null!=ne&&ne.platforms.has(j())||ae(re))}),ae=(null===(v=null==L?void 0:L.currentPlatform)||void 0===v?void 0:v.getPluginHeader)||(re=>{var ne;return null===(ne=r.PluginHeaders)||void 0===ne?void 0:ne.find(G=>G.name===re)}),pe=new Map,Be=(null===(y=null==L?void 0:L.currentPlatform)||void 0===y?void 0:y.registerPlugin)||((re,ne={})=>{const G=pe.get(re);if(G)return console.warn(`Capacitor plugin "${re}" already registered. Cannot register plugins twice.`),G.proxy;const ge=j(),xt=ae(re);let Qe;const rt=function(){var Cn=(0,a.A)(function*(){return!Qe&&ge in ne?Qe=Qe="function"==typeof ne[ge]?yield ne[ge]():ne[ge]:null!==d&&!Qe&&"web"in ne&&(Qe=Qe="function"==typeof ne.web?yield ne.web():ne.web),Qe});return function(){return Cn.apply(this,arguments)}}(),mt=Cn=>{let St;const Ft=(...bn)=>{const bt=rt().then(wt=>{const Dn=((Cn,St)=>{var Ft,bn;if(!xt){if(Cn)return null===(bn=Cn[St])||void 0===bn?void 0:bn.bind(Cn);throw new F(`"${re}" plugin is not implemented on ${ge}`,_.Unimplemented)}{const bt=null==xt?void 0:xt.methods.find(wt=>St===wt.name);if(bt)return"promise"===bt.rtype?wt=>r.nativePromise(re,St.toString(),wt):(wt,Dn)=>r.nativeCallback(re,St.toString(),wt,Dn);if(Cn)return null===(Ft=Cn[St])||void 0===Ft?void 0:Ft.bind(Cn)}})(wt,Cn);if(Dn){const Bt=Dn(...bn);return St=null==Bt?void 0:Bt.remove,Bt}throw new F(`"${re}.${Cn}()" is not implemented on ${ge}`,_.Unimplemented)});return"addListener"===Cn&&(bt.remove=(0,a.A)(function*(){return St()})),bt};return Ft.toString=()=>`${Cn.toString()}() { [capacitor code] }`,Object.defineProperty(Ft,"name",{value:Cn,writable:!1,configurable:!1}),Ft},ft=mt("addListener"),un=mt("removeListener"),At=(Cn,St)=>{const Ft=ft({eventName:Cn},St),bn=function(){var wt=(0,a.A)(function*(){const Dn=yield Ft;un({eventName:Cn,callbackId:Dn},St)});return function(){return wt.apply(this,arguments)}}(),bt=new Promise(wt=>Ft.then(()=>wt({remove:bn})));return bt.remove=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield bn()}),bt},It=new Proxy({},{get(Cn,St){switch(St){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return xt?At:ft;case"removeListener":return un;default:return mt(St)}}});return f[re]=It,pe.set(re,{name:re,proxy:It,platforms:new Set([...Object.keys(ne),...xt?[ge]:[]])}),It});return r.convertFileSrc||(r.convertFileSrc=re=>re),r.getPlatform=j,r.handleError=re=>o.console.error(re),r.isNativePlatform=ie,r.isPluginAvailable=De,r.pluginMethodNoop=(re,ne,G)=>Promise.reject(`${G} does not have an implementation of "${ne}".`),r.registerPlugin=Be,r.Exception=F,r.DEBUG=!!r.DEBUG,r.isLoggingEnabled=!!r.isLoggingEnabled,r.platform=r.getPlatform(),r.isNative=r.isNativePlatform(),r},A=(o=>o.Capacitor=m(o))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),w=A.registerPlugin;class k{constructor(l){this.listeners={},this.windowListeners={},l&&(console.warn(`Capacitor WebPlugin "${l.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=l)}addListener(l,s){var h=this;this.listeners[l]||(this.listeners[l]=[]),this.listeners[l].push(s);const y=this.windowListeners[l];y&&!y.registered&&this.addWindowListener(y);const d=function(){var f=(0,a.A)(function*(){return h.removeListener(l,s)});return function(){return f.apply(this,arguments)}}(),r=Promise.resolve({remove:d});return Object.defineProperty(r,"remove",{value:(f=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield d()}),function(){return f.apply(this,arguments)})}),r;var f}removeAllListeners(){var l=this;return(0,a.A)(function*(){l.listeners={};for(const s in l.windowListeners)l.removeWindowListener(l.windowListeners[s]);l.windowListeners={}})()}notifyListeners(l,s){const h=this.listeners[l];h&&h.forEach(v=>v(s))}hasListeners(l){return!!this.listeners[l].length}registerWindowListener(l,s){this.windowListeners[s]={registered:!1,windowEventName:l,pluginEventName:s,handler:h=>{this.notifyListeners(s,h)}}}unimplemented(l="not implemented"){return new A.Exception(l,_.Unimplemented)}unavailable(l="not available"){return new A.Exception(l,_.Unavailable)}removeListener(l,s){var h=this;return(0,a.A)(function*(){const v=h.listeners[l];if(!v)return;const y=v.indexOf(s);h.listeners[l].splice(y,1),h.listeners[l].length||h.removeWindowListener(h.windowListeners[l])})()}addWindowListener(l){window.addEventListener(l.windowEventName,l.handler),l.registered=!0}removeWindowListener(l){l&&(window.removeEventListener(l.windowEventName,l.handler),l.registered=!1)}}const P=o=>encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),U=o=>o.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class V extends k{getCookies(){return(0,a.A)(function*(){const l=document.cookie,s={};return l.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(l){return(0,a.A)(function*(){try{const s=P(l.key),h=P(l.value),v=`; expires=${(l.expires||"").replace("expires=","")}`,y=(l.path||"/").replace("path=",""),d=null!=l.url&&l.url.length>0?`domain=${l.url}`:"";document.cookie=`${s}=${h||""}${v}; path=${y}; ${d};`}catch(s){return Promise.reject(s)}})()}deleteCookie(l){return(0,a.A)(function*(){try{document.cookie=`${l.key}=; Max-Age=0`}catch(s){return Promise.reject(s)}})()}clearCookies(){return(0,a.A)(function*(){try{const l=document.cookie.split(";")||[];for(const s of l)document.cookie=s.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(l){return Promise.reject(l)}})()}clearAllCookies(){var l=this;return(0,a.A)(function*(){try{yield l.clearCookies()}catch(s){return Promise.reject(s)}})()}}w("CapacitorCookies",{web:()=>new V});const oe=function(){var o=(0,a.A)(function*(l){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(l)})});return function(s){return o.apply(this,arguments)}}(),se=(o,l={})=>{const s=Object.assign({method:o.method||"GET",headers:o.headers},l),v=((o={})=>{const l=Object.keys(o);return Object.keys(o).map(v=>v.toLocaleLowerCase()).reduce((v,y,d)=>(v[y]=o[l[d]],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[d,r]of Object.entries(o.data||{}))y.set(d,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,f)=>{y.append(f,r)});else for(const r of Object.keys(o.data))y.append(r,o.data[r]);s.body=y;const d=new Headers(s.headers);d.delete("content-type"),s.headers=d}else(v.includes("application/json")||"object"==typeof o.data)&&(s.body=JSON.stringify(o.data));return s};class g extends k{request(l){return(0,a.A)(function*(){const s=se(l,l.webFetchExtra),h=((o,l=!0)=>o?Object.entries(o).reduce((h,v)=>{const[y,d]=v;let r,f;return Array.isArray(d)?(f="",d.forEach(L=>{r=l?encodeURIComponent(L):L,f+=`${y}=${r}&`}),f.slice(0,-1)):(r=l?encodeURIComponent(d):d,f=`${y}=${r}`),`${h}&${f}`},"").substr(1):null)(l.params,l.shouldEncodeUrlParams),v=h?`${l.url}?${h}`:l.url,y=yield fetch(v,s),d=y.headers.get("content-type")||"";let f,L,{responseType:r="text"}=y.ok?l:{};switch(d.includes("application/json")&&(r="json"),r){case"arraybuffer":case"blob":L=yield y.blob(),f=yield oe(L);break;case"json":f=yield y.json();break;default:f=yield y.text()}const I={};return y.headers.forEach((j,J)=>{I[J]=j}),{data:f,headers:I,status:y.status,url:y.url}})()}get(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"GET"}))})()}post(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"POST"}))})()}put(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"PUT"}))})()}patch(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"PATCH"}))})()}delete(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"DELETE"}))})()}}const n=w("CapacitorHttp",{web:()=>new g})},9316:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>S});const S=(0,E(5083).F3)("Device",{web:()=>E.e(8622).then(E.bind(E,8622)).then(p=>new p.DeviceWeb)})},1889:(Ce,ee,E)=>{"use strict";E.d(ee,{Wi:()=>S,__:()=>a});var a=function(c){return c.Documents="DOCUMENTS",c.Data="DATA",c.Library="LIBRARY",c.Cache="CACHE",c.External="EXTERNAL",c.ExternalStorage="EXTERNAL_STORAGE",c}(a||{}),S=function(c){return c.UTF8="utf8",c.ASCII="ascii",c.UTF16="utf16",c}(S||{})},2739:(Ce,ee,E)=>{"use strict";E.d(ee,{YA:()=>p,__:()=>S.__});var a=E(5083),S=E(1889);const p=(0,a.F3)("Filesystem",{web:()=>E.e(2937).then(E.bind(E,2937)).then(O=>new O.FilesystemWeb)})},9182:(Ce,ee,E)=>{"use strict";E.d(ee,{_n:()=>S,kn:()=>a});var a=function(c){return c.Heavy="HEAVY",c.Medium="MEDIUM",c.Light="LIGHT",c}(a||{}),S=function(c){return c.Success="SUCCESS",c.Warning="WARNING",c.Error="ERROR",c}(S||{})},6598:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=(0,E(5083).F3)("Network",{web:()=>E.e(3780).then(E.bind(E,3780)).then(p=>new p.NetworkWeb)})},1656:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>p,r:()=>m});const p=(te,se)=>{te.componentOnReady?te.componentOnReady().then(g=>se(g)):m(()=>se(te))},m=te=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(te):"function"==typeof requestAnimationFrame?requestAnimationFrame(te):setTimeout(te)},6031:(Ce,ee,E)=>{"use strict";E.d(ee,{L:()=>a,a:()=>S,b:()=>p,c:()=>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:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>$});var a=E(8476),S=E(5638);let p;const c=k=>k.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),D=k=>(void 0===p&&(p=void 0===k.style.animationName&&void 0!==k.style.webkitAnimationName?"-webkit-":""),p),C=(k,M,P)=>{const U=M.startsWith("animation")?D(k):"";k.style.setProperty(U+M,P)},_=(k,M)=>{const P=M.startsWith("animation")?D(k):"";k.style.removeProperty(P+M)},m=[],R=(k=[],M)=>{if(void 0!==M){const P=Array.isArray(M)?M:[M];return[...k,...P]}return k},$=k=>{let M,P,U,V,W,oe,n,r,f,L,I,xe,De,me=[],te=[],se=[],g=!1,o={},l=[],s=[],h={},v=0,y=!1,d=!1,j=!0,J=!1,ie=!0,Q=!1;const ae=k,tt=[],Oe=[],pe=[],Te=[],Be=[],re=[],ne=[],G=[],ge=[],xt=[],Qe=[],rt="function"==typeof AnimationEffect||void 0!==a.w&&"function"==typeof a.w.AnimationEffect,rn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&rt,ft=()=>Qe,St=(gt,zt)=>{const ye=zt.findIndex(Ke=>Ke.c===gt);ye>-1&&zt.splice(ye,1)},bn=(gt,zt)=>((null!=zt&&zt.oneTimeCallback?Oe:tt).push({c:gt,o:zt}),De),wt=()=>{if(rn)Qe.forEach(gt=>{gt.cancel()}),Qe.length=0;else{const gt=Te.slice();(0,S.r)(()=>{gt.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")})})}},Dn=()=>{re.forEach(gt=>{null!=gt&>.parentNode&>.parentNode.removeChild(gt)}),re.length=0},je=()=>void 0!==W?W:n?n.getFill():"both",it=()=>void 0!==f?f:void 0!==oe?oe:n?n.getDirection():"normal",Pe=()=>y?"linear":void 0!==U?U:n?n.getEasing():"linear",Se=()=>d?0:void 0!==L?L:void 0!==P?P:n?n.getDuration():0,ze=()=>void 0!==V?V:n?n.getIterations():1,Et=()=>void 0!==I?I:void 0!==M?M:n?n.getDelay():0,Fn=()=>{0!==v&&(v--,0===v&&((()=>{wn(),ge.forEach(dt=>dt()),xt.forEach(dt=>dt());const gt=j?1:0,zt=l,ye=s,Ke=h;Te.forEach(dt=>{const pt=dt.classList;zt.forEach(Yt=>pt.add(Yt)),ye.forEach(Yt=>pt.remove(Yt));for(const Yt in Ke)Ke.hasOwnProperty(Yt)&&C(dt,Yt,Ke[Yt])}),L=void 0,f=void 0,I=void 0,tt.forEach(dt=>dt.c(gt,De)),Oe.forEach(dt=>dt.c(gt,De)),Oe.length=0,ie=!0,j&&(J=!0),j=!0})(),n&&n.animationFinish()))},kn=(gt=!0)=>{Dn();const zt=(k=>(k.forEach(M=>{for(const P in M)if(M.hasOwnProperty(P)){const U=M[P];if("easing"===P)M["animation-timing-function"]=U,delete M[P];else{const V=c(P);V!==P&&(M[V]=U,delete M[P])}}}),k))(me);Te.forEach(ye=>{if(zt.length>0){const Ke=((k=[])=>k.map(M=>{const P=M.offset,U=[];for(const V in M)M.hasOwnProperty(V)&&"offset"!==V&&U.push(`${V}: ${M[V]};`);return`${100*P}% { ${U.join(" ")} }`}).join(" "))(zt);xe=void 0!==k?k:(k=>{let M=m.indexOf(k);return M<0&&(M=m.push(k)-1),`ion-animation-${M}`})(Ke);const dt=((k,M,P)=>{var U;const V=(k=>{const M=void 0!==k.getRootNode?k.getRootNode():k;return M.head||M})(P),W=D(P),oe=V.querySelector("#"+k);if(oe)return oe;const me=(null!==(U=P.ownerDocument)&&void 0!==U?U:document).createElement("style");return me.id=k,me.textContent=`@${W}keyframes ${k} { ${M} } @${W}keyframes ${k}-alt { ${M} }`,V.appendChild(me),me})(xe,Ke,ye);re.push(dt),C(ye,"animation-duration",`${Se()}ms`),C(ye,"animation-timing-function",Pe()),C(ye,"animation-delay",`${Et()}ms`),C(ye,"animation-fill-mode",je()),C(ye,"animation-direction",it());const pt=ze()===1/0?"infinite":ze().toString();C(ye,"animation-iteration-count",pt),C(ye,"animation-play-state","paused"),gt&&C(ye,"animation-name",`${dt.id}-alt`),(0,S.r)(()=>{C(ye,"animation-name",dt.id||null)})}})},Xn=(gt=!0)=>{(()=>{ne.forEach(Ke=>Ke()),G.forEach(Ke=>Ke());const gt=te,zt=se,ye=o;Te.forEach(Ke=>{const dt=Ke.classList;gt.forEach(pt=>dt.add(pt)),zt.forEach(pt=>dt.remove(pt));for(const pt in ye)ye.hasOwnProperty(pt)&&C(Ke,pt,ye[pt])})})(),me.length>0&&(rn?(Te.forEach(gt=>{const zt=gt.animate(me,{id:ae,delay:Et(),duration:Se(),easing:Pe(),iterations:ze(),fill:je(),direction:it()});zt.pause(),Qe.push(zt)}),Qe.length>0&&(Qe[0].onfinish=()=>{Fn()})):kn(gt)),g=!0},jn=gt=>{if(gt=Math.min(Math.max(gt,0),.9999),rn)Qe.forEach(zt=>{zt.currentTime=zt.effect.getComputedTiming().delay+Se()*gt,zt.pause()});else{const zt=`-${Se()*gt}ms`;Te.forEach(ye=>{me.length>0&&(C(ye,"animation-delay",zt),C(ye,"animation-play-state","paused"))})}},$e=gt=>{Qe.forEach(zt=>{zt.effect.updateTiming({delay:Et(),duration:Se(),easing:Pe(),iterations:ze(),fill:je(),direction:it()})}),void 0!==gt&&jn(gt)},lt=(gt=!0,zt)=>{(0,S.r)(()=>{Te.forEach(ye=>{C(ye,"animation-name",xe||null),C(ye,"animation-duration",`${Se()}ms`),C(ye,"animation-timing-function",Pe()),C(ye,"animation-delay",void 0!==zt?`-${zt*Se()}ms`:`${Et()}ms`),C(ye,"animation-fill-mode",je()||null),C(ye,"animation-direction",it()||null);const Ke=ze()===1/0?"infinite":ze().toString();C(ye,"animation-iteration-count",Ke),gt&&C(ye,"animation-name",`${xe}-alt`),(0,S.r)(()=>{C(ye,"animation-name",xe||null)})})})},Tt=(gt=!1,zt=!0,ye)=>(gt&&Be.forEach(Ke=>{Ke.update(gt,zt,ye)}),rn?$e(ye):lt(zt,ye),De),qt=()=>{g&&(rn?Qe.forEach(gt=>{gt.pause()}):Te.forEach(gt=>{C(gt,"animation-play-state","paused")}),Q=!0)},Tn=()=>{r=void 0,Fn()},wn=()=>{r&&clearTimeout(r)},Fe=gt=>new Promise(zt=>{null!=gt&>.sync&&(d=!0,bn(()=>d=!1,{oneTimeCallback:!0})),g||Xn(),J&&(rn?(jn(0),$e()):lt(),J=!1),ie&&(v=Be.length+1,ie=!1);const ye=()=>{St(Ke,Oe),zt()},Ke=()=>{St(ye,pe),zt()};bn(Ke,{oneTimeCallback:!0}),((gt,zt)=>{pe.push({c:gt,o:{oneTimeCallback:!0}})})(ye),Be.forEach(dt=>{dt.play()}),rn?(Qe.forEach(gt=>{gt.play()}),(0===me.length||0===Te.length)&&Fn()):(()=>{if(wn(),(0,S.r)(()=>{Te.forEach(gt=>{me.length>0&&C(gt,"animation-play-state","running")})}),0===me.length||0===Te.length)Fn();else{const gt=Et()||0,zt=Se()||0,ye=ze()||1;isFinite(ye)&&(r=setTimeout(Tn,gt+zt*ye+100)),((k,M)=>{let P;const U={passive:!0},W=oe=>{k===oe.target&&(P&&P(),wn(),(0,S.r)(()=>{Te.forEach(gt=>{_(gt,"animation-duration"),_(gt,"animation-delay"),_(gt,"animation-play-state")}),(0,S.r)(Fn)}))};k&&(k.addEventListener("webkitAnimationEnd",W,U),k.addEventListener("animationend",W,U),P=()=>{k.removeEventListener("webkitAnimationEnd",W,U),k.removeEventListener("animationend",W,U)})})(Te[0])}})(),Q=!1}),Ct=(gt,zt)=>{const ye=me[0];return void 0===ye||void 0!==ye.offset&&0!==ye.offset?me=[{offset:0,[gt]:zt},...me]:ye[gt]=zt,De};return De={parentAnimation:n,elements:Te,childAnimations:Be,id:ae,animationFinish:Fn,from:Ct,to:(gt,zt)=>{const ye=me[me.length-1];return void 0===ye||void 0!==ye.offset&&1!==ye.offset?me=[...me,{offset:1,[gt]:zt}]:ye[gt]=zt,De},fromTo:(gt,zt,ye)=>Ct(gt,zt).to(gt,ye),parent:gt=>(n=gt,De),play:Fe,pause:()=>(Be.forEach(gt=>{gt.pause()}),qt(),De),stop:()=>{Be.forEach(gt=>{gt.stop()}),g&&(wt(),g=!1),y=!1,d=!1,ie=!0,f=void 0,L=void 0,I=void 0,v=0,J=!1,j=!0,Q=!1,pe.forEach(gt=>gt.c(0,De)),pe.length=0},destroy:gt=>(Be.forEach(zt=>{zt.destroy(gt)}),(gt=>{wt(),gt&&Dn()})(gt),Te.length=0,Be.length=0,me.length=0,tt.length=0,Oe.length=0,g=!1,ie=!0,De),keyframes:gt=>{const zt=me!==gt;return me=gt,zt&&(gt=>{rn?ft().forEach(zt=>{const ye=zt.effect;if(ye.setKeyframes)ye.setKeyframes(gt);else{const Ke=new KeyframeEffect(ye.target,gt,ye.getTiming());zt.effect=Ke}}):kn()})(me),De},addAnimation:gt=>{if(null!=gt)if(Array.isArray(gt))for(const zt of gt)zt.parent(De),Be.push(zt);else gt.parent(De),Be.push(gt);return De},addElement:gt=>{if(null!=gt)if(1===gt.nodeType)Te.push(gt);else if(gt.length>=0)for(let zt=0;zt(W=gt,Tt(!0),De),direction:gt=>(oe=gt,Tt(!0),De),iterations:gt=>(V=gt,Tt(!0),De),duration:gt=>(!rn&&0===gt&&(gt=1),P=gt,Tt(!0),De),easing:gt=>(U=gt,Tt(!0),De),delay:gt=>(M=gt,Tt(!0),De),getWebAnimations:ft,getKeyframes:()=>me,getFill:je,getDirection:it,getDelay:Et,getIterations:ze,getEasing:Pe,getDuration:Se,afterAddRead:gt=>(ge.push(gt),De),afterAddWrite:gt=>(xt.push(gt),De),afterClearStyles:(gt=[])=>{for(const zt of gt)h[zt]="";return De},afterStyles:(gt={})=>(h=gt,De),afterRemoveClass:gt=>(s=R(s,gt),De),afterAddClass:gt=>(l=R(l,gt),De),beforeAddRead:gt=>(ne.push(gt),De),beforeAddWrite:gt=>(G.push(gt),De),beforeClearStyles:(gt=[])=>{for(const zt of gt)o[zt]="";return De},beforeStyles:(gt={})=>(o=gt,De),beforeRemoveClass:gt=>(se=R(se,gt),De),beforeAddClass:gt=>(te=R(te,gt),De),onFinish:bn,isRunning:()=>0!==v&&!Q,progressStart:(gt=!1,zt)=>(Be.forEach(ye=>{ye.progressStart(gt,zt)}),qt(),y=gt,g||Xn(),Tt(!1,!0,zt),De),progressStep:gt=>(Be.forEach(zt=>{zt.progressStep(gt)}),jn(gt),De),progressEnd:(gt,zt,ye)=>(y=!1,Be.forEach(Ke=>{Ke.progressEnd(gt,zt,ye)}),void 0!==ye&&(L=ye),J=!1,j=!0,0===gt?(f="reverse"===it()?"normal":"reverse","reverse"===f&&(j=!1),rn?(Tt(),jn(1-zt)):(I=(1-zt)*Se()*-1,Tt(!1,!1))):1===gt&&(rn?(Tt(),jn(zt)):(I=zt*Se()*-1,Tt(!1,!1))),void 0!==gt&&!n&&Fe(),De)}}},464:(Ce,ee,E)=>{"use strict";E.d(ee,{E:()=>B,a:()=>a,s:()=>_});const a=m=>{try{if(m instanceof C)return m.value;if(!O()||"string"!=typeof m||""===m)return m;if(m.includes("onload="))return"";const T=document.createDocumentFragment(),A=document.createElement("div");T.appendChild(A),A.innerHTML=m,D.forEach(k=>{const M=T.querySelectorAll(k);for(let P=M.length-1;P>=0;P--){const U=M[P];U.parentNode?U.parentNode.removeChild(U):T.removeChild(U);const V=p(U);for(let W=0;W{if(m.nodeType&&1!==m.nodeType)return;if(typeof NamedNodeMap<"u"&&!(m.attributes instanceof NamedNodeMap))return void m.remove();for(let A=m.attributes.length-1;A>=0;A--){const w=m.attributes.item(A),R=w.name;if(!c.includes(R.toLowerCase())){m.removeAttribute(R);continue}const $=w.value,k=m[R];(null!=$&&$.toLowerCase().includes("javascript:")||null!=k&&k.toLowerCase().includes("javascript:"))&&m.removeAttribute(R)}const T=p(m);for(let A=0;Anull!=m.children?m.children:m.childNodes,O=()=>{var m;const T=window,A=null===(m=null==T?void 0:T.Ionic)||void 0===m?void 0:m.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(T){this.value=T}}const _=m=>{const T=window,A=T.Ionic;if(!A||!A.config||"Object"===A.config.constructor.name)return T.Ionic=T.Ionic||{},T.Ionic.config=Object.assign(Object.assign({},T.Ionic.config),m),T.Ionic.config},B=!1},5938:(Ce,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,_,F,B,m,T){var A;if(C)return C.attachViewToDom(_,F,m,B);if(!(T||"string"==typeof F||F instanceof HTMLElement))throw new Error("framework delegate is missing");const w="string"==typeof F?null===(A=_.ownerDocument)||void 0===A?void 0:A.createElement(F):F;return B&&B.forEach(R=>w.classList.add(R)),m&&Object.assign(w,m),_.appendChild(w),yield new Promise(R=>(0,S.c)(w,R)),w});return function(_,F,B,m,T,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 B=(0,a.A)(function*(m,T,A={},w=[]){var R,$;let k;if(D=m,T){const P="string"==typeof T?null===(R=D.ownerDocument)||void 0===R?void 0:R.createElement(T):T;w.forEach(U=>P.classList.add(U)),Object.assign(P,A),D.appendChild(P),k=P,yield new Promise(U=>(0,S.c)(P,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"),w.forEach(V=>U.classList.add(V)),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(T,A){return B.apply(this,arguments)}}(),removeViewFromDom:()=>(D&&C&&(C.parentNode.insertBefore(D,C),C.remove()),Promise.resolve())}}},8221:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>c});class S{constructor(C,_,F,B,m){this.id=_,this.name=F,this.disableScroll=m,this.priority=1e6*B+_,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,_,F,B){this.id=_,this.disable=F,this.disableScroll=B,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,_,F){return this.canStart(C)?(this.requestedStart.set(_,F),!0):(this.requestedStart.delete(_),!1)}capture(C,_,F){if(!this.start(C,_,F))return!1;const B=this.requestedStart;let m=-1e4;if(B.forEach(T=>{m=Math.max(m,T)}),m===F){this.capturedId=_,B.clear();const T=new CustomEvent("ionGestureCaptured",{detail:{gestureName:C}});return document.dispatchEvent(T),!0}return B.delete(_),!1}release(C){this.requestedStart.delete(C),this.capturedId===C&&(this.capturedId=void 0)}disableGesture(C,_){let F=this.disabledGestures.get(C);void 0===F&&(F=new Set,this.disabledGestures.set(C,F)),F.add(_)}enableGesture(C,_){const F=this.disabledGestures.get(C);void 0!==F&&F.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:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{MENU_BACK_BUTTON_PRIORITY:()=>F,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 B=document;let m=!1;const T=()=>{if(m)return;let A=0,w=[];const R=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,P){w.push({priority:M,handler:P,id:A++})}}});B.dispatchEvent(R);const $=function(){var M=(0,a.A)(function*(P){try{if(null!=P&&P.handler){const U=P.handler(k);null!=U&&(yield U)}}catch(U){console.error(U)}});return function(U){return M.apply(this,arguments)}}(),k=()=>{if(w.length>0){let M={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};w.forEach(P=>{P.priority>=M.priority&&(M=P)}),m=!0,w=w.filter(P=>P.id!==M.id),$(M).then(()=>m=!1)}};k()};if(c()){let A;const w=()=>{null==A||A.destroy(),A=new S.w.CloseWatcher,A.onclose=()=>{T(),w()}};w()}else B.addEventListener("backbutton",T)},_=100,F=99},5638:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>_,b:()=>F,c:()=>p,d:()=>$,e:()=>R,f:()=>w,g:()=>B,h:()=>A,i:()=>C,j:()=>W,k:()=>c,l:()=>k,m:()=>O,n:()=>T,o:()=>M,p:()=>V,q:()=>oe,r:()=>m,s:()=>me,t:()=>a,u:()=>P,v:()=>U});const a=(te,se=0)=>new Promise(g=>{S(te,se,g)}),S=(te,se=0,g)=>{let n,o;const l={passive:!0},h=()=>{n&&n()},v=y=>{(void 0===y||te===y.target)&&(h(),g(y))};return te&&(te.addEventListener("webkitTransitionEnd",v,l),te.addEventListener("transitionend",v,l),o=setTimeout(v,se+500),n=()=>{void 0!==o&&(clearTimeout(o),o=void 0),te.removeEventListener("webkitTransitionEnd",v,l),te.removeEventListener("transitionend",v,l)}),h},p=(te,se)=>{te.componentOnReady?te.componentOnReady().then(g=>se(g)):m(()=>se(te))},O=te=>void 0!==te.componentOnReady,c=(te,se=[])=>{const g={};return se.forEach(n=>{te.hasAttribute(n)&&(null!==te.getAttribute(n)&&(g[n]=te.getAttribute(n)),te.removeAttribute(n))}),g},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 g=D;return se&&se.length>0&&(g=g.filter(n=>!se.includes(n))),c(te,g)},_=(te,se,g,n)=>{var o;if(typeof window<"u"){const l=window,s=null===(o=null==l?void 0:l.Ionic)||void 0===o?void 0:o.config;if(s){const h=s.get("_ael");if(h)return h(te,se,g,n);if(s._ael)return s._ael(te,se,g,n)}}return te.addEventListener(se,g,n)},F=(te,se,g,n)=>{var o;if(typeof window<"u"){const l=window,s=null===(o=null==l?void 0:l.Ionic)||void 0===o?void 0:o.config;if(s){const h=s.get("_rel");if(h)return h(te,se,g,n);if(s._rel)return s._rel(te,se,g,n)}}return te.removeEventListener(se,g,n)},B=(te,se=te)=>te.shadowRoot||se,m=te=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(te):"function"==typeof requestAnimationFrame?requestAnimationFrame(te):setTimeout(te),T=te=>!!te.shadowRoot&&!!te.attachShadow,A=te=>{const se=te.closest("ion-item");return se?se.querySelector("ion-label"):null},w=te=>{if(te.focus(),te.classList.contains("ion-focusable")){const se=te.closest("ion-app");se&&se.setFocus([te])}},R=(te,se)=>{let g;const n=te.getAttribute("aria-labelledby"),o=te.id;let l=null!==n&&""!==n.trim()?n:se+"-lbl",s=null!==n&&""!==n.trim()?document.getElementById(n):A(te);return s?(null===n&&(s.id=l),g=s.textContent,s.setAttribute("aria-hidden","true")):""!==o.trim()&&(s=document.querySelector(`label[for="${o}"]`),s&&(""!==s.id?l=s.id:s.id=l=`${o}-lbl`,g=s.textContent)),{label:s,labelId:l,labelText:g}},$=(te,se,g,n,o)=>{if(te||T(se)){let l=se.querySelector("input.aux-input");l||(l=se.ownerDocument.createElement("input"),l.type="hidden",l.classList.add("aux-input"),se.appendChild(l)),l.disabled=o,l.name=g,l.value=n||""}},k=(te,se,g)=>Math.max(te,Math.min(se,g)),M=(te,se)=>{if(!te){const g="ASSERT: "+se;throw console.error(g),new Error(g)}},P=te=>te.timeStamp||Date.now(),U=te=>{if(te){const se=te.changedTouches;if(se&&se.length>0){const g=se[0];return{x:g.clientX,y:g.clientY}}if(void 0!==te.pageX)return{x:te.pageX,y:te.pageY}}return{x:0,y:0}},V=te=>{const se="rtl"===document.dir;switch(te){case"start":return se;case"end":return!se;default:throw new Error(`"${te}" is not a valid value for [side]. Use "start" or "end" instead.`)}},W=(te,se)=>{const g=te._original||te;return{_original:te,emit:oe(g.emit.bind(g),se)}},oe=(te,se=0)=>{let g;return(...n)=>{clearTimeout(g),g=setTimeout(te,se,...n)}},me=(te,se)=>{if(null!=te||(te={}),null!=se||(se={}),te===se)return!0;const g=Object.keys(te);if(g.length!==Object.keys(se).length)return!1;for(const n of g)if(!(n in se)||te[n]!==se[n])return!1;return!0}},405:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{GESTURE_CONTROLLER:()=>a.G,createGesture:()=>F});var a=E(8221);const S=(A,w,R,$)=>{const k=p(A)?{capture:!!$.capture,passive:!!$.passive}:!!$.capture;let M,P;return A.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",P="__zone_symbol__removeEventListener"):(M="addEventListener",P="removeEventListener"),A[M](w,R,k),()=>{A[P](w,R,k)}},p=A=>{if(void 0===O)try{const w=Object.defineProperty({},"passive",{get:()=>{O=!0}});A.addEventListener("optsTest",()=>{},w)}catch{O=!1}return!!O};let O;const C=A=>A instanceof Document?A:A.ownerDocument,F=A=>{let w=!1,R=!1,$=!0,k=!1;const M=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},A),P=M.canStart,U=M.onWillStart,V=M.onStart,W=M.onEnd,oe=M.notCaptured,me=M.onMove,te=M.threshold,se=M.passive,g=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,w,R)=>{const $=R*(Math.PI/180),k="x"===A,M=Math.cos($),P=w*w;let U=0,V=0,W=!1,oe=0;return{start(me,te){U=me,V=te,oe=0,W=!0},detect(me,te){if(!W)return!1;const se=me-U,g=te-V,n=se*se+g*g;if(nM?1:l<-M?-1:0,W=!1,!0},isGesture:()=>0!==oe,getDirection:()=>oe}})(M.direction,M.threshold,M.maxAngle),l=a.G.createGesture({name:A.gestureName,priority:A.gesturePriority,disableScroll:A.disableScroll}),v=()=>{w&&(k=!1,me&&me(n))},y=()=>!!l.capture()&&(w=!0,$=!1,n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime,U?U(n).then(r):r(),!0),r=()=>{g&&(()=>{if(typeof document<"u"){const J=document.activeElement;null!=J&&J.blur&&J.blur()}})(),V&&V(n),$=!0},f=()=>{w=!1,R=!1,k=!1,$=!0,l.release()},L=J=>{const ie=w,xe=$;if(f(),xe){if(B(n,J),ie)return void(W&&W(n));oe&&oe(n)}},I=((A,w,R,$,k)=>{let M,P,U,V,W,oe,me,te=0;const se=d=>{te=Date.now()+2e3,w(d)&&(!P&&R&&(P=S(A,"touchmove",R,k)),U||(U=S(d.target,"touchend",n,k)),V||(V=S(d.target,"touchcancel",n,k)))},g=d=>{te>Date.now()||w(d)&&(!oe&&R&&(oe=S(C(A),"mousemove",R,k)),me||(me=S(C(A),"mouseup",o,k)))},n=d=>{l(),$&&$(d)},o=d=>{s(),$&&$(d)},l=()=>{P&&P(),U&&U(),V&&V(),P=U=V=void 0},s=()=>{oe&&oe(),me&&me(),oe=me=void 0},h=()=>{l(),s()},v=(d=!0)=>{d?(M||(M=S(A,"touchstart",se,k)),W||(W=S(A,"mousedown",g,k))):(M&&M(),W&&W(),M=W=void 0,h())};return{enable:v,stop:h,destroy:()=>{v(!1),$=R=w=void 0}}})(M.el,J=>{const ie=T(J);return!(R||!$||(m(J,n),n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime=ie,n.velocityX=n.velocityY=n.deltaX=n.deltaY=0,n.event=J,P&&!1===P(n))||(l.release(),!l.start()))&&(R=!0,0===te?y():(o.start(n.startX,n.startY),!0))},J=>{w?!k&&$&&(k=!0,B(n,J),requestAnimationFrame(v)):(B(n,J),o.detect(n.currentX,n.currentY)&&(!o.isGesture()||!y())&&j())},L,{capture:!1,passive:se}),j=()=>{f(),I.stop(),oe&&oe(n)};return{enable(J=!0){J||(w&&L(void 0),f()),I.enable(J)},destroy(){l.destroy(),I.destroy()}}},B=(A,w)=>{if(!w)return;const R=A.currentX,$=A.currentY,k=A.currentTime;m(w,A);const M=A.currentX,P=A.currentY,V=(A.currentTime=T(w))-k;if(V>0&&V<100){const oe=(P-$)/V;A.velocityX=(M-R)/V*.7+.3*A.velocityX,A.velocityY=.7*oe+.3*A.velocityY}A.deltaX=M-A.startX,A.deltaY=P-A.startY,A.event=w},m=(A,w)=>{let R=0,$=0;if(A){const k=A.changedTouches;if(k&&k.length>0){const M=k[0];R=M.clientX,$=M.clientY}else void 0!==A.pageX&&(R=A.pageX,$=A.pageY)}w.currentX=R,w.currentY=$},T=A=>A.timeStamp||Date.now()},5384:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>A});var a=E(467),S=E(8476),p=E(3113),O=E(4929),c=E(5638),D=E(611),C=E(3503);const _=w=>(0,C.c)().duration(w?400:300),F=w=>{let R,$;const k=w.width+8,M=(0,C.c)(),P=(0,C.c)();w.isEndSide?(R=k+"px",$="0px"):(R=-k+"px",$="0px"),M.addElement(w.menuInnerEl).fromTo("transform",`translateX(${R})`,`translateX(${$})`);const V="ios"===(0,D.b)(w),W=V?.2:.25;return P.addElement(w.backdropEl).fromTo("opacity",.01,W),_(V).addAnimation([M,P])},B=w=>{let R,$;const k=(0,D.b)(w),M=w.width;w.isEndSide?(R=-M+"px",$=M+"px"):(R=M+"px",$=-M+"px");const P=(0,C.c)().addElement(w.menuInnerEl).fromTo("transform",`translateX(${$})`,"translateX(0px)"),U=(0,C.c)().addElement(w.contentEl).fromTo("transform","translateX(0px)",`translateX(${R})`),V=(0,C.c)().addElement(w.backdropEl).fromTo("opacity",.01,.32);return _("ios"===k).addAnimation([P,U,V])},m=w=>{const R=(0,D.b)(w),$=w.width*(w.isEndSide?-1:1)+"px",k=(0,C.c)().addElement(w.contentEl).fromTo("transform","translateX(0px)",`translateX(${$})`);return _("ios"===R).addAnimation(k)},A=(()=>{const w=new Map,R=[],$=function(){var f=(0,a.A)(function*(L){const I=yield oe(L,!0);return!!I&&I.open()});return function(I){return f.apply(this,arguments)}}(),k=function(){var f=(0,a.A)(function*(L){const I=yield void 0!==L?oe(L,!0):me();return void 0!==I&&I.close()});return function(I){return f.apply(this,arguments)}}(),M=function(){var f=(0,a.A)(function*(L){const I=yield oe(L,!0);return!!I&&I.toggle()});return function(I){return f.apply(this,arguments)}}(),P=function(){var f=(0,a.A)(function*(L,I){const j=yield oe(I);return j&&(j.disabled=!L),j});return function(I,j){return f.apply(this,arguments)}}(),U=function(){var f=(0,a.A)(function*(L,I){const j=yield oe(I);return j&&(j.swipeGesture=L),j});return function(I,j){return f.apply(this,arguments)}}(),V=function(){var f=(0,a.A)(function*(L){if(null!=L){const I=yield oe(L);return void 0!==I&&I.isOpen()}return void 0!==(yield me())});return function(I){return f.apply(this,arguments)}}(),W=function(){var f=(0,a.A)(function*(L){const I=yield oe(L);return!!I&&!I.disabled});return function(I){return f.apply(this,arguments)}}(),oe=function(){var f=(0,a.A)(function*(L,I=!1){if(yield r(),"start"===L||"end"===L){const J=R.filter(xe=>xe.side===L&&!xe.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(xe=>xe.el)),J[0].el;const ie=R.filter(xe=>xe.side===L);if(ie.length>=1)return ie.length>1&&I&&(0,O.p)(`menuController queried for a menu on the "${L}" side, but ${ie.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.`,ie.map(xe=>xe.el)),ie[0].el}else if(null!=L)return d(J=>J.menuId===L);return d(J=>!J.disabled)||(R.length>0?R[0].el:void 0)});return function(I){return f.apply(this,arguments)}}(),me=function(){var f=(0,a.A)(function*(){return yield r(),h()});return function(){return f.apply(this,arguments)}}(),te=function(){var f=(0,a.A)(function*(){return yield r(),v()});return function(){return f.apply(this,arguments)}}(),se=function(){var f=(0,a.A)(function*(){return yield r(),y()});return function(){return f.apply(this,arguments)}}(),g=(f,L)=>{w.set(f,L)},l=function(){var f=(0,a.A)(function*(L,I,j){if(y())return!1;if(I){const J=yield me();J&&L.el!==J&&(yield J.setOpen(!1,!1))}return L._setOpen(I,j)});return function(I,j,J){return f.apply(this,arguments)}}(),h=()=>d(f=>f._isOpen),v=()=>R.map(f=>f.el),y=()=>R.some(f=>f.isAnimating),d=f=>{const L=R.find(f);if(void 0!==L)return L.el},r=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(f=>new Promise(L=>(0,c.c)(f,L))));return g("reveal",m),g("push",B),g("overlay",F),null==S.d||S.d.addEventListener("ionBackButton",f=>{const L=h();L&&f.detail.register(p.MENU_BACK_BUTTON_PRIORITY,()=>L.close())}),{registerAnimation:g,get:oe,getMenus:te,getOpen:me,isEnabled:W,swipeGesture:U,isAnimating:se,isOpen:V,enable:P,toggle:M,close:k,open:$,_getOpenSync:h,_createAnimation:(f,L)=>{const I=w.get(f);if(!I)throw new Error("animation not registered");return I(L)},_register:f=>{R.indexOf(f)<0&&R.push(f)},_unregister:f=>{const L=R.indexOf(f);L>-1&&R.splice(L,1)},_setOpen:l}})()},4929:(Ce,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:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>T,H:()=>y,a:()=>Tn,b:()=>On,c:()=>xe,d:()=>tt,e:()=>gt,f:()=>ae,g:()=>De,h:()=>h,i:()=>it,j:()=>A,r:()=>Gn,w:()=>zt});var a=E(467);let O,c,D,C=!1,_=!1,F=!1,B=!1,m=!1;const T={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},A=ye=>{const Ke=new URL(ye,Qt.$resourcesUrl$);return Ke.origin!==Zt.location.origin?Ke.href:Ke.pathname},U="s-id",V="sty-id",W="c-id",me="slot-fb{display:contents}slot-fb[hidden]{display:none}",te="http://www.w3.org/1999/xlink",se={},l=ye=>"object"==(ye=typeof ye)||"function"===ye;function s(ye){var Ke,dt,pt;return null!==(pt=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!==pt?pt:void 0}const h=(ye,Ke,...dt)=>{let pt=null,Yt=null,$t=null,an=!1,ln=!1;const xn=[],cn=_n=>{for(let Sn=0;Sn<_n.length;Sn++)pt=_n[Sn],Array.isArray(pt)?cn(pt):null!=pt&&"boolean"!=typeof pt&&((an="function"!=typeof ye&&!l(pt))&&(pt=String(pt)),an&&ln?xn[xn.length-1].$text$+=pt:xn.push(an?v(null,pt):pt),ln=an)};if(cn(dt),Ke){Ke.key&&(Yt=Ke.key),Ke.name&&($t=Ke.name);{const _n=Ke.className||Ke.class;_n&&(Ke.class="object"!=typeof _n?_n:Object.keys(_n).filter(Sn=>_n[Sn]).join(" "))}}if("function"==typeof ye)return ye(null===Ke?{}:Ke,xn,r);const nn=v(ye,null);return nn.$attrs$=Ke,xn.length>0&&(nn.$children$=xn),nn.$key$=Yt,nn.$name$=$t,nn},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(f).forEach(Ke),map:(ye,Ke)=>ye.map(f).map(Ke).map(L)},f=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},j=(ye,Ke,dt,pt,Yt,$t,an)=>{let ln,xn,cn,nn;if(1===$t.nodeType){for(ln=$t.getAttribute(W),ln&&(xn=ln.split("."),(xn[0]===an||"0"===xn[0])&&(cn={$flags$:0,$hostId$:xn[0],$nodeId$:xn[1],$depth$:xn[2],$index$:xn[3],$tag$:$t.tagName.toLowerCase(),$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Ke.push(cn),$t.removeAttribute(W),ye.$children$||(ye.$children$=[]),ye.$children$[cn.$index$]=cn,ye=cn,pt&&"0"===cn.$depth$&&(pt[cn.$index$]=cn.$elm$))),nn=$t.childNodes.length-1;nn>=0;nn--)j(ye,Ke,dt,pt,Yt,$t.childNodes[nn],an);if($t.shadowRoot)for(nn=$t.shadowRoot.childNodes.length-1;nn>=0;nn--)j(ye,Ke,dt,pt,Yt,$t.shadowRoot.childNodes[nn],an)}else if(8===$t.nodeType)xn=$t.nodeValue.split("."),(xn[1]===an||"0"===xn[1])&&(ln=xn[0],cn={$flags$:0,$hostId$:xn[1],$nodeId$:xn[2],$depth$:xn[3],$index$:xn[4],$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===ln?(cn.$elm$=$t.nextSibling,cn.$elm$&&3===cn.$elm$.nodeType&&(cn.$text$=cn.$elm$.textContent,Ke.push(cn),$t.remove(),ye.$children$||(ye.$children$=[]),ye.$children$[cn.$index$]=cn,pt&&"0"===cn.$depth$&&(pt[cn.$index$]=cn.$elm$))):cn.$hostId$===an&&("s"===ln?(cn.$tag$="slot",$t["s-sn"]=xn[5]?cn.$name$=xn[5]:"",$t["s-sr"]=!0,pt&&(cn.$elm$=qt.createElement(cn.$tag$),cn.$name$&&cn.$elm$.setAttribute("name",cn.$name$),$t.parentNode.insertBefore(cn.$elm$,$t),$t.remove(),"0"===cn.$depth$&&(pt[cn.$index$]=cn.$elm$)),dt.push(cn),ye.$children$||(ye.$children$=[]),ye.$children$[cn.$index$]=cn):"r"===ln&&(pt?$t.remove():(Yt["s-cr"]=$t,$t["s-cn"]=!0))));else if(ye&&"style"===ye.$tag$){const _n=v(null,$t.textContent);_n.$elm$=$t,_n.$index$="0",ye.$children$=[_n]}},J=(ye,Ke)=>{if(1===ye.nodeType){let dt=0;for(;dtkt.push(ye),De=ye=>kn(ye).$modeName$,ae=ye=>kn(ye).$hostElement$,tt=(ye,Ke,dt)=>{const pt=ae(ye);return{emit:Yt=>Oe(pt,Ke,{bubbles:!!(4&dt),composed:!!(2&dt),cancelable:!!(1&dt),detail:Yt})}},Oe=(ye,Ke,dt)=>{const pt=Qt.ce(Ke,dt);return ye.dispatchEvent(pt),pt},pe=new WeakMap,Te=(ye,Ke,dt)=>{let pt=Mt.get(ye);Ge&&dt?(pt=pt||new CSSStyleSheet,"string"==typeof pt?pt=Ke:pt.replaceSync(Ke)):pt=Ke,Mt.set(ye,pt)},Be=(ye,Ke,dt)=>{var pt;const Yt=ne(Ke,dt),$t=Mt.get(Yt);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(Yt)){if(ye.host&&(ln=ye.querySelector(`[${V}="${Yt}"]`)))ln.innerHTML=$t;else{ln=qt.createElement("style"),ln.innerHTML=$t;const xn=null!==(pt=Qt.$nonce$)&&void 0!==pt?pt:s(qt);null!=xn&&ln.setAttribute("nonce",xn),ye.insertBefore(ln,ye.querySelector("link"))}4&Ke.$flags$&&(ln.innerHTML+=me),an&&an.add(Yt)}}else ye.adoptedStyleSheets.includes($t)||(ye.adoptedStyleSheets=[...ye.adoptedStyleSheets,$t]);return Yt},ne=(ye,Ke)=>"sc-"+(Ke&&32&ye.$flags$?ye.$tagName$+"-"+Ke:ye.$tagName$),G=ye=>ye.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),ge=(ye,Ke,dt,pt,Yt,$t)=>{if(dt!==pt){let an=jn(ye,Ke),ln=Ke.toLowerCase();if("class"===Ke){const xn=ye.classList,cn=Qe(dt),nn=Qe(pt);xn.remove(...cn.filter(_n=>_n&&!nn.includes(_n))),xn.add(...nn.filter(_n=>_n&&!cn.includes(_n)))}else if("style"===Ke){for(const xn in dt)(!pt||null==pt[xn])&&(xn.includes("-")?ye.style.removeProperty(xn):ye.style[xn]="");for(const xn in pt)(!dt||pt[xn]!==dt[xn])&&(xn.includes("-")?ye.style.setProperty(xn,pt[xn]):ye.style[xn]=pt[xn])}else if("key"!==Ke)if("ref"===Ke)pt&&pt(ye);else if(an||"o"!==Ke[0]||"n"!==Ke[1]){const xn=l(pt);if((an||xn&&null!==pt)&&!Yt)try{if(ye.tagName.includes("-"))ye[Ke]=pt;else{const nn=null==pt?"":pt;"list"===Ke?an=!1:(null==dt||ye[Ke]!=nn)&&(ye[Ke]=nn)}}catch{}let cn=!1;ln!==(ln=ln.replace(/^xlink\:?/,""))&&(Ke=ln,cn=!0),null==pt||!1===pt?(!1!==pt||""===ye.getAttribute(Ke))&&(cn?ye.removeAttributeNS(te,Ke):ye.removeAttribute(Ke)):(!an||4&$t||Yt)&&!xn&&(pt=!0===pt?"":pt,cn?ye.setAttributeNS(te,Ke,pt):ye.setAttribute(Ke,pt))}else if(Ke="-"===Ke[2]?Ke.slice(3):jn(Zt,ln)?ln.slice(2):ln[2]+Ke.slice(3),dt||pt){const xn=Ke.endsWith(rt);Ke=Ke.replace(rn,""),dt&&Qt.rel(ye,Ke,dt,xn),pt&&Qt.ael(ye,Ke,pt,xn)}}},xt=/\s/,Qe=ye=>ye?ye.split(xt):[],rt="Capture",rn=new RegExp(rt+"$"),mt=(ye,Ke,dt,pt)=>{const Yt=11===Ke.$elm$.nodeType&&Ke.$elm$.host?Ke.$elm$.host:Ke.$elm$,$t=ye&&ye.$attrs$||se,an=Ke.$attrs$||se;for(pt of ft(Object.keys($t)))pt in an||ge(Yt,pt,$t[pt],void 0,dt,Ke.$flags$);for(pt of ft(Object.keys(an)))ge(Yt,pt,$t[pt],an[pt],dt,Ke.$flags$)};function ft(ye){return ye.includes("ref")?[...ye.filter(Ke=>"ref"!==Ke),"ref"]:ye}const un=(ye,Ke,dt,pt)=>{var Yt;const $t=Ke.$children$[dt];let ln,xn,cn,an=0;if(C||(F=!0,"slot"===$t.$tag$&&(O&&pt.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(B||(B="svg"===$t.$tag$),ln=$t.$elm$=qt.createElementNS(B?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$t.$flags$?"slot-fb":$t.$tag$),B&&"foreignObject"===$t.$tag$&&(B=!1),mt(null,$t,B),(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)xn=un(ye,$t,an,ln),xn&&ln.appendChild(xn);"svg"===$t.$tag$?B=!1:"foreignObject"===ln.tagName&&(B=!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===(Yt=$t.$attrs$)||void 0===Yt?void 0:Yt.ref,cn=ye&&ye.$children$&&ye.$children$[dt],cn&&cn.$tag$===$t.$tag$&&ye.$elm$&&At(ye.$elm$,!1)),ln},At=(ye,Ke)=>{Qt.$flags$|=1;const dt=Array.from(ye.childNodes);for(let pt=dt.length-1;pt>=0;pt--){const Yt=dt[pt];Yt["s-hn"]!==D&&Yt["s-ol"]&&(bt(Yt).insertBefore(Yt,bn(Yt)),Yt["s-ol"].remove(),Yt["s-ol"]=void 0,Yt["s-sh"]=void 0,F=!0),Ke&&At(Yt,Ke)}Qt.$flags$&=-2},It=(ye,Ke,dt,pt,Yt,$t)=>{let ln,an=ye["s-cr"]&&ye["s-cr"].parentNode||ye;for(an.shadowRoot&&an.tagName===D&&(an=an.shadowRoot);Yt<=$t;++Yt)pt[Yt]&&(ln=un(null,dt,Yt,ye),ln&&(pt[Yt].$elm$=ln,an.insertBefore(ln,bn(Ke))))},Cn=(ye,Ke,dt)=>{for(let pt=Ke;pt<=dt;++pt){const Yt=ye[pt];if(Yt){const $t=Yt.$elm$;Nt(Yt),$t&&(_=!0,$t["s-ol"]?$t["s-ol"].remove():At($t,!0),$t.remove())}}},Ft=(ye,Ke,dt=!1)=>ye.$tag$===Ke.$tag$&&("slot"===ye.$tag$?ye.$name$===Ke.$name$:!!dt||ye.$key$===Ke.$key$),bn=ye=>ye&&ye["s-ol"]||ye,bt=ye=>(ye["s-ol"]?ye["s-ol"]:ye).parentNode,wt=(ye,Ke,dt=!1)=>{const pt=Ke.$elm$=ye.$elm$,Yt=ye.$children$,$t=Ke.$children$,an=Ke.$tag$,ln=Ke.$text$;let xn;null===ln?(B="svg"===an||"foreignObject"!==an&&B,"slot"===an&&!C||mt(ye,Ke,B),null!==Yt&&null!==$t?((ye,Ke,dt,pt,Yt=!1)=>{let X,Ue,$t=0,an=0,ln=0,xn=0,cn=Ke.length-1,nn=Ke[0],_n=Ke[cn],Sn=pt.length-1,Pn=pt[0],hr=pt[Sn];for(;$t<=cn&&an<=Sn;)if(null==nn)nn=Ke[++$t];else if(null==_n)_n=Ke[--cn];else if(null==Pn)Pn=pt[++an];else if(null==hr)hr=pt[--Sn];else if(Ft(nn,Pn,Yt))wt(nn,Pn,Yt),nn=Ke[++$t],Pn=pt[++an];else if(Ft(_n,hr,Yt))wt(_n,hr,Yt),_n=Ke[--cn],hr=pt[--Sn];else if(Ft(nn,hr,Yt))("slot"===nn.$tag$||"slot"===hr.$tag$)&&At(nn.$elm$.parentNode,!1),wt(nn,hr,Yt),ye.insertBefore(nn.$elm$,_n.$elm$.nextSibling),nn=Ke[++$t],hr=pt[--Sn];else if(Ft(_n,Pn,Yt))("slot"===nn.$tag$||"slot"===hr.$tag$)&&At(_n.$elm$.parentNode,!1),wt(_n,Pn,Yt),ye.insertBefore(_n.$elm$,nn.$elm$),_n=Ke[--cn],Pn=pt[++an];else{for(ln=-1,xn=$t;xn<=cn;++xn)if(Ke[xn]&&null!==Ke[xn].$key$&&Ke[xn].$key$===Pn.$key$){ln=xn;break}ln>=0?(Ue=Ke[ln],Ue.$tag$!==Pn.$tag$?X=un(Ke&&Ke[an],dt,ln,ye):(wt(Ue,Pn,Yt),Ke[ln]=void 0,X=Ue.$elm$),Pn=pt[++an]):(X=un(Ke&&Ke[an],dt,an,ye),Pn=pt[++an]),X&&bt(nn.$elm$).insertBefore(X,bn(nn.$elm$))}$t>cn?It(ye,null==pt[Sn+1]?null:pt[Sn+1].$elm$,dt,pt,an,Sn):an>Sn&&Cn(Ke,$t,cn)})(pt,Yt,Ke,$t,dt):null!==$t?(null!==ye.$text$&&(pt.textContent=""),It(pt,null,Ke,$t,0,$t.length-1)):null!==Yt&&Cn(Yt,0,Yt.length-1),B&&"svg"===an&&(B=!1)):(xn=pt["s-cr"])?xn.parentNode.textContent=ln:ye.$text$!==ln&&(pt.data=ln)},Dn=ye=>{const Ke=ye.childNodes;for(const dt of Ke)if(1===dt.nodeType){if(dt["s-sr"]){const pt=dt["s-sn"];dt.hidden=!1;for(const Yt of Ke)if(Yt!==dt)if(Yt["s-hn"]!==dt["s-hn"]||""!==pt){if(1===Yt.nodeType&&(pt===Yt.getAttribute("slot")||pt===Yt["s-sn"])){dt.hidden=!0;break}}else if(1===Yt.nodeType||3===Yt.nodeType&&""!==Yt.textContent.trim()){dt.hidden=!0;break}}Dn(dt)}},Bt=[],Lt=ye=>{let Ke,dt,pt;for(const Yt of ye.childNodes){if(Yt["s-sr"]&&(Ke=Yt["s-cr"])&&Ke.parentNode){dt=Ke.parentNode.childNodes;const $t=Yt["s-sn"];for(pt=dt.length-1;pt>=0;pt--)if(Ke=dt[pt],!Ke["s-cn"]&&!Ke["s-nr"]&&Ke["s-hn"]!==Yt["s-hn"])if(Wt(Ke,$t)){let an=Bt.find(ln=>ln.$nodeToRelocate$===Ke);_=!0,Ke["s-sn"]=Ke["s-sn"]||$t,an?(an.$nodeToRelocate$["s-sh"]=Yt["s-hn"],an.$slotRefNode$=Yt):(Ke["s-sh"]=Yt["s-hn"],Bt.push({$slotRefNode$:Yt,$nodeToRelocate$:Ke})),Ke["s-sr"]&&Bt.map(ln=>{Wt(ln.$nodeToRelocate$,Ke["s-sn"])&&(an=Bt.find(xn=>xn.$nodeToRelocate$===Ke),an&&!ln.$slotRefNode$&&(ln.$slotRefNode$=an.$slotRefNode$))})}else Bt.some(an=>an.$nodeToRelocate$===Ke)||Bt.push({$nodeToRelocate$:Ke})}1===Yt.nodeType&&Lt(Yt)}},Wt=(ye,Ke)=>1===ye.nodeType?null===ye.getAttribute("slot")&&""===Ke||ye.getAttribute("slot")===Ke:ye["s-sn"]===Ke||""===Ke,Nt=ye=>{ye.$attrs$&&ye.$attrs$.ref&&ye.$attrs$.ref(null),ye.$children$&&ye.$children$.map(Nt)},zn=(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 zn(ye,ye.$ancestorComponent$),zt(()=>He(ye,Ke));ye.$flags$|=512},He=(ye,Ke)=>{const pt=ye.$lazyInstance$;let Yt;return Ke&&(ye.$flags$|=256,ye.$queuedListeners$&&(ye.$queuedListeners$.map(([$t,an])=>Se(pt,$t,an)),ye.$queuedListeners$=void 0),Yt=Se(pt,"componentWillLoad")),Yt=_e(Yt,()=>Se(pt,"componentWillRender")),_e(Yt,()=>Me(ye,pt,Ke))},_e=(ye,Ke)=>Ae(ye)?ye.then(Ke):Ke(),Ae=ye=>ye instanceof Promise||ye&&ye.then&&"function"==typeof ye.then,Me=function(){var ye=(0,a.A)(function*(Ke,dt,pt){var Yt;const $t=Ke.$hostElement$,ln=$t["s-rc"];pt&&(ye=>{const Ke=ye.$cmpMeta$,dt=ye.$hostElement$,pt=Ke.$flags$,$t=Be(dt.shadowRoot?dt.shadowRoot:dt.getRootNode(),Ke,ye.$modeName$);10&pt&&(dt["s-sc"]=$t,dt.classList.add($t+"-h"),2&pt&&dt.classList.add($t+"-s"))})(Ke);Ze(Ke,dt,$t,pt),ln&&(ln.map(cn=>cn()),$t["s-rc"]=void 0);{const cn=null!==(Yt=$t["s-p"])&&void 0!==Yt?Yt:[],nn=()=>je(Ke);0===cn.length?nn():(Promise.all(cn).then(nn),Ke.$flags$|=4,cn.length=0)}});return function(dt,pt,Yt){return ye.apply(this,arguments)}}(),Ze=(ye,Ke,dt,pt)=>{try{Ke=Ke.render&&Ke.render(),ye.$flags$&=-17,ye.$flags$|=2,((ye,Ke,dt=!1)=>{var pt,Yt,$t,an;const ln=ye.$hostElement$,xn=ye.$cmpMeta$,cn=ye.$vnode$||v(null,null),nn=(ye=>ye&&ye.$tag$===y)(Ke)?Ke:h(null,null,Ke);if(D=ln.tagName,xn.$attrsToReflect$&&(nn.$attrs$=nn.$attrs$||{},xn.$attrsToReflect$.map(([_n,Sn])=>nn.$attrs$[Sn]=ln[_n])),dt&&nn.$attrs$)for(const _n of Object.keys(nn.$attrs$))ln.hasAttribute(_n)&&!["key","ref","style","class"].includes(_n)&&(nn.$attrs$[_n]=ln[_n]);if(nn.$tag$=null,nn.$flags$|=4,ye.$vnode$=nn,nn.$elm$=cn.$elm$=ln.shadowRoot||ln,O=ln["s-sc"],C=!!(1&xn.$flags$),c=ln["s-cr"],_=!1,wt(cn,nn,dt),Qt.$flags$|=1,F){Lt(nn.$elm$);for(const _n of Bt){const Sn=_n.$nodeToRelocate$;if(!Sn["s-ol"]){const Pn=qt.createTextNode("");Pn["s-nr"]=Sn,Sn.parentNode.insertBefore(Sn["s-ol"]=Pn,Sn)}}for(const _n of Bt){const Sn=_n.$nodeToRelocate$,Pn=_n.$slotRefNode$;if(Pn){const hr=Pn.parentNode;let X=Pn.nextSibling;{let Ue=null===(pt=Sn["s-ol"])||void 0===pt?void 0:pt.previousSibling;for(;Ue;){let le=null!==(Yt=Ue["s-nr"])&&void 0!==Yt?Yt:null;if(le&&le["s-sn"]===Sn["s-sn"]&&hr===le.parentNode){for(le=le.nextSibling;le===Sn||null!=le&&le["s-sr"];)le=null==le?void 0:le.nextSibling;if(!le||!le["s-nr"]){X=le;break}}Ue=Ue.previousSibling}}(!X&&hr!==Sn.parentNode||Sn.nextSibling!==X)&&Sn!==X&&(!Sn["s-hn"]&&Sn["s-ol"]&&(Sn["s-hn"]=Sn["s-ol"].parentNode.nodeName),hr.insertBefore(Sn,X),1===Sn.nodeType&&(Sn.hidden=null!==($t=Sn["s-ih"])&&void 0!==$t&&$t)),Sn&&"function"==typeof Pn["s-rf"]&&Pn["s-rf"](Sn)}else 1===Sn.nodeType&&(dt&&(Sn["s-ih"]=null!==(an=Sn.hidden)&&void 0!==an&&an),Sn.hidden=!0)}}_&&Dn(nn.$elm$),Qt.$flags$&=-2,Bt.length=0,c=void 0})(ye,Ke,pt)}catch(Yt){$e(Yt,ye.$hostElement$)}return null},je=ye=>{const dt=ye.$hostElement$,Yt=ye.$lazyInstance$,$t=ye.$ancestorComponent$;Se(Yt,"componentDidRender"),64&ye.$flags$?Se(Yt,"componentDidUpdate"):(ye.$flags$|=64,ze(dt),Se(Yt,"componentDidLoad"),ye.$onReadyResolve$(dt),$t||Pe()),ye.$onInstanceResolve$(dt),ye.$onRenderResolve$&&(ye.$onRenderResolve$(),ye.$onRenderResolve$=void 0),512&ye.$flags$&&vn(()=>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=>{ze(qt.documentElement),vn(()=>Oe(Zt,"appload",{detail:{namespace:"ionic"}}))},Se=(ye,Ke,dt)=>{if(ye&&ye[Ke])try{return ye[Ke](dt)}catch(pt){$e(pt)}},ze=ye=>ye.classList.add("hydrated"),st=(ye,Ke,dt)=>{var pt;const Yt=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(Yt,an,{get(){return((ye,Ke)=>kn(this).$instanceValues$.get(Ke))(0,an)},set(xn){((ye,Ke,dt,pt)=>{const Yt=kn(ye),$t=Yt.$hostElement$,an=Yt.$instanceValues$.get(Ke),ln=Yt.$flags$,xn=Yt.$lazyInstance$;dt=((ye,Ke)=>null==ye||l(ye)?ye:4&Ke?"false"!==ye&&(""===ye||!!ye):2&Ke?parseFloat(ye):1&Ke?String(ye):ye)(dt,pt.$members$[Ke][0]);const cn=Number.isNaN(an)&&Number.isNaN(dt);if((!(8&ln)||void 0===an)&&dt!==an&&!cn&&(Yt.$instanceValues$.set(Ke,dt),xn)){if(pt.$watchers$&&128&ln){const _n=pt.$watchers$[Ke];_n&&_n.map(Sn=>{try{xn[Sn](dt,an,Ke)}catch(Pn){$e(Pn,$t)}})}2==(18&ln)&&Ut(Yt,!1)}})(this,an,xn,Ke)},configurable:!0,enumerable:!0}):1&dt&&64&ln&&Object.defineProperty(Yt,an,{value(...xn){var cn;const nn=kn(this);return null===(cn=null==nn?void 0:nn.$onInstancePromise$)||void 0===cn?void 0:cn.then(()=>{var _n;return null===(_n=nn.$lazyInstance$)||void 0===_n?void 0:_n[an](...xn)})}})}),1&dt){const an=new Map;Yt.attributeChangedCallback=function(ln,xn,cn){Qt.jmp(()=>{var nn;const _n=an.get(ln);if(this.hasOwnProperty(_n))cn=this[_n],delete this[_n];else{if(Yt.hasOwnProperty(_n)&&"number"==typeof this[_n]&&this[_n]==cn)return;if(null==_n){const Sn=kn(this),Pn=null==Sn?void 0:Sn.$flags$;if(Pn&&!(8&Pn)&&128&Pn&&cn!==xn){const hr=Sn.$lazyInstance$,X=null===(nn=Ke.$watchers$)||void 0===nn?void 0:nn[ln];null==X||X.forEach(Ue=>{null!=hr[Ue]&&hr[Ue].call(hr,cn,xn,ln)})}return}}this[_n]=(null!==cn||"boolean"!=typeof this[_n])&&cn})},ye.observedAttributes=Array.from(new Set([...Object.keys(null!==(pt=Ke.$watchers$)&&void 0!==pt?pt:{}),...$t.filter(([ln,xn])=>15&xn[0]).map(([ln,xn])=>{var cn;const nn=xn[1]||ln;return an.set(nn,ln),512&xn[0]&&(null===(cn=Ke.$attrsToReflect$)||void 0===cn||cn.push([ln,nn])),nn})]))}}return ye},en=function(){var ye=(0,a.A)(function*(Ke,dt,pt,Yt){let $t;if(!(32&dt.$flags$)){if(dt.$flags$|=32,pt.$lazyBundleId$){if($t=Tt(pt),$t.then){const nn=()=>{};$t=yield $t,nn()}$t.isProxied||(pt.$watchers$=$t.watchers,st($t,pt,2),$t.isProxied=!0);const cn=()=>{};dt.$flags$|=8;try{new $t(dt)}catch(nn){$e(nn)}dt.$flags$&=-9,dt.$flags$|=128,cn(),yt(dt.$lazyInstance$)}else $t=Ke.constructor,customElements.whenDefined(pt.$tagName$).then(()=>dt.$flags$|=128);if($t.style){let cn=$t.style;"string"!=typeof cn&&(cn=cn[dt.$modeName$=(ye=>kt.map(Ke=>Ke(ye)).find(Ke=>!!Ke))(Ke)]);const nn=ne(pt,dt.$modeName$);if(!Mt.has(nn)){const _n=()=>{};Te(nn,cn,!!(1&pt.$flags$)),_n()}}}const an=dt.$ancestorComponent$,ln=()=>Ut(dt,!0);an&&an["s-rc"]?an["s-rc"].push(ln):ln()});return function(dt,pt,Yt,$t){return ye.apply(this,arguments)}}(),yt=ye=>{Se(ye,"connectedCallback")},Kt=ye=>{const Ke=ye["s-cr"]=qt.createComment("");Ke["s-cn"]=!0,ye.insertBefore(Ke,ye.firstChild)},Pt=ye=>{Se(ye,"disconnectedCallback")},Rt=function(){var ye=(0,a.A)(function*(Ke){if(!(1&Qt.$flags$)){const dt=kn(Ke);dt.$rmListeners$&&(dt.$rmListeners$.map(pt=>pt()),dt.$rmListeners$=void 0),null!=dt&&dt.$lazyInstance$?Pt(dt.$lazyInstance$):null!=dt&&dt.$onReadyPromise$&&dt.$onReadyPromise$.then(()=>Pt(dt.$lazyInstance$))}});return function(dt){return ye.apply(this,arguments)}}(),On=(ye,Ke={})=>{var dt;const Yt=[],$t=Ke.exclude||[],an=Zt.customElements,ln=qt.head,xn=ln.querySelector("meta[charset]"),cn=qt.createElement("style"),nn=[],_n=qt.querySelectorAll(`[${V}]`);let Sn,Pn=!0,hr=0;for(Object.assign(Qt,Ke),Qt.$resourcesUrl$=new URL(Ke.resourcesUrl||"./",qt.baseURI).href,Qt.$flags$|=2;hr<_n.length;hr++)Te(_n[hr].getAttribute(V),G(_n[hr].innerHTML),!0);let X=!1;if(ye.map(Ue=>{Ue[1].map(le=>{var Ye;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!==(Ye=le[4])&&void 0!==Ye?Ye:{};const Nn=_t.$tagName$,pr=class extends HTMLElement{constructor(wr){super(wr),Xn(wr=this,_t),1&_t.$flags$&&wr.attachShadow({mode:"open",delegatesFocus:!!(16&_t.$flags$)})}connectedCallback(){Sn&&(clearTimeout(Sn),Sn=null),Pn?nn.push(this):Qt.jmp(()=>(ye=>{if(!(1&Qt.$flags$)){const Ke=kn(ye),dt=Ke.$cmpMeta$,pt=()=>{};if(1&Ke.$flags$)An(ye,Ke,dt.$listeners$),null!=Ke&&Ke.$lazyInstance$?yt(Ke.$lazyInstance$):null!=Ke&&Ke.$onReadyPromise$&&Ke.$onReadyPromise$.then(()=>yt(Ke.$lazyInstance$));else{let Yt;if(Ke.$flags$|=1,Yt=ye.getAttribute(U),Yt){if(1&dt.$flags$){const $t=Be(ye.shadowRoot,dt,ye.getAttribute("s-mode"));ye.classList.remove($t+"-h",$t+"-s")}((ye,Ke,dt,pt)=>{const $t=ye.shadowRoot,an=[],xn=$t?[]:null,cn=pt.$vnode$=v(Ke,null);Qt.$orgLocNodes$||J(qt.body,Qt.$orgLocNodes$=new Map),ye[U]=dt,ye.removeAttribute(U),j(cn,an,[],xn,ye,ye,dt),an.map(nn=>{const _n=nn.$hostId$+"."+nn.$nodeId$,Sn=Qt.$orgLocNodes$.get(_n),Pn=nn.$elm$;Sn&&wn&&""===Sn["s-en"]&&Sn.parentNode.insertBefore(Pn,Sn.nextSibling),$t||(Pn["s-hn"]=Ke,Sn&&(Pn["s-ol"]=Sn,Pn["s-ol"]["s-nr"]=Pn)),Qt.$orgLocNodes$.delete(_n)}),$t&&xn.map(nn=>{nn&&$t.appendChild(nn)})})(ye,dt.$tagName$,Yt,Ke)}Yt||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"]){zn(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}}),en(ye,Ke,dt)}pt()}})(this))}disconnectedCallback(){Qt.jmp(()=>Rt(this))}componentOnReady(){return kn(this).$onReadyPromise$}};_t.$lazyBundleId$=Ue[0],!$t.includes(Nn)&&!an.get(Nn)&&(Yt.push(Nn),an.define(Nn,st(pr,_t,1)))})}),Yt.length>0&&(X&&(cn.textContent+=me),cn.textContent+=Yt+"{visibility:hidden}.hydrated{visibility:inherit}",cn.innerHTML.length)){cn.setAttribute("data-styles","");const Ue=null!==(dt=Qt.$nonce$)&&void 0!==dt?dt:s(qt);null!=Ue&&cn.setAttribute("nonce",Ue),ln.insertBefore(cn,xn?xn.nextSibling:ln.firstChild)}Pn=!1,nn.length?nn.map(Ue=>Ue.connectedCallback()):Qt.jmp(()=>Sn=setTimeout(Pe,30))},An=(ye,Ke,dt,pt)=>{dt&&dt.map(([Yt,$t,an])=>{const ln=Mn(ye,Yt),xn=Bn(Ke,an),cn=Wn(Yt);Qt.ael(ln,$t,xn,cn),(Ke.$rmListeners$=Ke.$rmListeners$||[]).push(()=>Qt.rel(ln,$t,xn,cn))})},Bn=(ye,Ke)=>dt=>{try{256&ye.$flags$?ye.$lazyInstance$[Ke](dt):(ye.$queuedListeners$=ye.$queuedListeners$||[]).push([Ke,dt])}catch(pt){$e(pt)}},Mn=(ye,Ke)=>4&Ke?qt:8&Ke?Zt:16&Ke?qt.body:ye,Wn=ye=>Kn?{passive:!!(1&ye),capture:!!(2&ye)}:!!(2&ye),Fn=new WeakMap,kn=ye=>Fn.get(ye),Gn=(ye,Ke)=>Fn.set(Ke.$lazyInstance$=ye,Ke),Xn=(ye,Ke)=>{const dt={$flags$:0,$hostElement$:ye,$cmpMeta$:Ke,$instanceValues$:new Map};return dt.$onInstancePromise$=new Promise(pt=>dt.$onInstanceResolve$=pt),dt.$onReadyPromise$=new Promise(pt=>dt.$onReadyResolve$=pt),ye["s-p"]=[],ye["s-rc"]=[],An(ye,dt,Ke.$listeners$),Fn.set(ye,dt)},jn=(ye,Ke)=>Ke in ye,$e=(ye,Ke)=>(0,console.error)(ye,Ke),lt=new Map,Tt=(ye,Ke,dt)=>{const pt=ye.$tagName$.replace(/-/g,"_"),Yt=ye.$lazyBundleId$,$t=lt.get(Yt);return $t?$t[pt]:E(8996)(`./${Yt}.entry.js`).then(an=>(lt.set(Yt,an),an[pt]),$e)},Mt=new Map,kt=[],Zt=typeof window<"u"?window:{},qt=Zt.document||{head:{}},Qt={$flags$:0,$resourcesUrl$:"",jmp:ye=>ye(),raf:ye=>requestAnimationFrame(ye),ael:(ye,Ke,dt,pt)=>ye.addEventListener(Ke,dt,pt),rel:(ye,Ke,dt,pt)=>ye.removeEventListener(Ke,dt,pt),ce:(ye,Ke)=>new CustomEvent(ye,Ke)},Tn=ye=>{Object.assign(Qt,ye)},wn=!0,Kn=(()=>{let ye=!1;try{qt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){ye=!0}}))}catch{}return ye})(),Ge=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),et=[],Fe=[],qe=(ye,Ke)=>dt=>{ye.push(dt),m||(m=!0,Ke&&4&Qt.$flags$?vn(Gt):Qt.raf(Gt))},Ct=ye=>{for(let Ke=0;Ke{Ct(et),Ct(Fe),(m=et.length>0)&&Qt.raf(Gt)},vn=ye=>Promise.resolve(void 0).then(ye),gt=qe(et,!1),zt=qe(Fe,!0)},8476:(Ce,ee,E)=>{"use strict";E.d(ee,{d:()=>S,w:()=>a});const a=typeof window<"u"?window:void 0,S=typeof document<"u"?document:void 0},7555:(Ce,ee,E)=>{"use strict";E.d(ee,{b:()=>D,c:()=>C,d:()=>_,e:()=>te,g:()=>n,l:()=>oe,s:()=>se,t:()=>m,w:()=>me});var a=E(467),S=E(4363),p=E(5638);const D="ionViewWillLeave",C="ionViewDidLeave",_="ionViewWillUnload",m=o=>new Promise((l,s)=>{(0,S.w)(()=>{T(o),A(o).then(h=>{h.animation&&h.animation.destroy(),w(o),l(h)},h=>{w(o),s(h)})})}),T=o=>{const l=o.enteringEl,s=o.leavingEl;g(l,s,o.direction),o.showGoBack?l.classList.add("can-go-back"):l.classList.remove("can-go-back"),se(l,!1),l.style.setProperty("pointer-events","none"),s&&(se(s,!1),s.style.setProperty("pointer-events","none"))},A=function(){var o=(0,a.A)(function*(l){const s=yield R(l);return s&&S.B.isBrowser?$(s,l):k(l)});return function(s){return o.apply(this,arguments)}}(),w=o=>{const l=o.enteringEl,s=o.leavingEl;l.classList.remove("ion-page-invisible"),l.style.removeProperty("pointer-events"),void 0!==s&&(s.classList.remove("ion-page-invisible"),s.style.removeProperty("pointer-events"))},R=function(){var o=(0,a.A)(function*(l){return l.leavingEl&&l.animated&&0!==l.duration?l.animationBuilder?l.animationBuilder:"ios"===l.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*(l,s){yield M(s,!0);const h=l(s.baseEl,s);V(s.enteringEl,s.leavingEl);const v=yield U(h,s);return s.progressCallback&&s.progressCallback(void 0),v&&W(s.enteringEl,s.leavingEl),{hasCompleted:v,animation:h}});return function(s,h){return o.apply(this,arguments)}}(),k=function(){var o=(0,a.A)(function*(l){const s=l.enteringEl,h=l.leavingEl;return yield M(l,!1),V(s,h),W(s,h),{hasCompleted:!0}});return function(s){return o.apply(this,arguments)}}(),M=function(){var o=(0,a.A)(function*(l,s){(void 0!==l.deepWait?l.deepWait:s)&&(yield Promise.all([te(l.enteringEl),te(l.leavingEl)])),yield P(l.viewIsReady,l.enteringEl)});return function(s,h){return o.apply(this,arguments)}}(),P=function(){var o=(0,a.A)(function*(l,s){l&&(yield l(s))});return function(s,h){return o.apply(this,arguments)}}(),U=(o,l)=>{const s=l.progressCallback,h=new Promise(v=>{o.onFinish(y=>v(1===y))});return s?(o.progressStart(!0),s(o)):o.play(),h},V=(o,l)=>{oe(l,D),oe(o,"ionViewWillEnter")},W=(o,l)=>{oe(o,"ionViewDidEnter"),oe(l,C)},oe=(o,l)=>{if(o){const s=new CustomEvent(l,{bubbles:!1,cancelable:!1});o.dispatchEvent(s)}},me=()=>new Promise(o=>(0,p.r)(()=>(0,p.r)(()=>o()))),te=function(){var o=(0,a.A)(function*(l){const s=l;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,l)=>{l?(o.setAttribute("aria-hidden","true"),o.classList.add("ion-page-hidden")):(o.hidden=!1,o.removeAttribute("aria-hidden"),o.classList.remove("ion-page-hidden"))},g=(o,l,s)=>{void 0!==o&&(o.style.zIndex="back"===s?"99":"101"),void 0!==l&&(l.style.zIndex="100")},n=o=>o.classList.contains("ion-page")?o:o.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||o},611:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>m,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,f){const L=this.m.get(r);return void 0!==L?L:f}getBoolean(r,f=!1){const L=this.m.get(r);return void 0===L?f:"string"==typeof L?"true"===L:!!L}getNumber(r,f){const L=parseFloat(this.m.get(r));return isNaN(L)?void 0!==f?f:NaN:L}set(r,f){this.m.set(r,f)}}const p=new S,_="ionic:",F="ionic-persist-config",m=(d,r)=>("string"==typeof d&&(r=d,d=void 0),(d=>T(d))(d).includes(r)),T=(d=window)=>{if(typeof d>"u")return[];d.Ionic=d.Ionic||{};let r=d.Ionic.platforms;return null==r&&(r=d.Ionic.platforms=A(d),r.forEach(f=>d.document.documentElement.classList.add(`plt-${f}`))),r},A=d=>{const r=p.get("platform");return Object.keys(s).filter(f=>{const L=null==r?void 0:r[f];return"function"==typeof L?L(d):s[f](d)})},R=d=>!!(o(d,/iPad/i)||o(d,/Macintosh/i)&&W(d)),M=d=>o(d,/android|sink/i),W=d=>l(d,"(any-pointer:coarse)"),me=d=>te(d)||se(d),te=d=>!!(d.cordova||d.phonegap||d.PhoneGap),se=d=>{const r=d.Capacitor;return!(null==r||!r.isNative)},o=(d,r)=>r.test(d.navigator.userAgent),l=(d,r)=>{var f;return null===(f=d.matchMedia)||void 0===f?void 0:f.call(d,r).matches},s={ipad:R,iphone:d=>o(d,/iPhone/i),ios:d=>o(d,/iPhone|iPod/i)||R(d),android:M,phablet:d=>{const r=d.innerWidth,f=d.innerHeight,L=Math.min(r,f),I=Math.max(r,f);return L>390&&L<520&&I>620&&I<800},tablet:d=>{const r=d.innerWidth,f=d.innerHeight,L=Math.min(r,f),I=Math.max(r,f);return R(d)||(d=>M(d)&&!o(d,/mobile/i))(d)||L>460&&L<820&&I>780&&I<1400},cordova:te,capacitor:se,electron:d=>o(d,/electron/i),pwa:d=>{var r;return!!(null!==(r=d.matchMedia)&&void 0!==r&&r.call(d,"(display-mode: standalone)").matches||d.navigator.standalone)},mobile:W,mobileweb:d=>W(d)&&!me(d),desktop:d=>!W(d),hybrid:me};let h;const v=d=>d&&(0,a.g)(d)||h,y=(d={})=>{if(typeof window>"u")return;const r=window.document,f=window,L=f.Ionic=f.Ionic||{},I={};d._ael&&(I.ael=d._ael),d._rel&&(I.rel=d._rel),d._ce&&(I.ce=d._ce),(0,a.a)(I);const j=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(d=>{try{const r=d.sessionStorage.getItem(F);return null!==r?JSON.parse(r):{}}catch{return{}}})(f)),{persistConfig:!1}),L.config),(d=>{const r={};return d.location.search.slice(1).split("&").map(f=>f.split("=")).map(([f,L])=>[decodeURIComponent(f),decodeURIComponent(L)]).filter(([f])=>((d,r)=>d.substr(0,r.length)===r)(f,_)).map(([f,L])=>[f.slice(6),L]).forEach(([f,L])=>{r[f]=L}),r})(f)),d);p.reset(j),p.getBoolean("persistConfig")&&((d,r)=>{try{d.sessionStorage.setItem(F,JSON.stringify(r))}catch{return}})(f,j),T(f),L.config=p,L.mode=h=p.get("mode",r.documentElement.getAttribute("mode")||(m(f,"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=xe=>{var De;return null===(De=xe.tagName)||void 0===De?void 0:De.startsWith("ION-")},ie=xe=>["ios","md"].includes(xe);(0,a.c)(xe=>{for(;xe;){const De=xe.mode||xe.getAttribute("mode");if(De){if(ie(De))return De;J(xe)&&console.warn('Invalid ionic mode: "'+De+'", expected: "ios" or "md"')}xe=xe.parentElement}return h})}},4569:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{iosTransitionAnimation:()=>A,shadow:()=>C});var a=E(3503),S=E(7555);E(8476),E(4363);const D=R=>document.querySelector(`${R}.ion-cloned-element`),C=R=>R.shadowRoot||R,_=R=>{const $="ION-TABS"===R.tagName?R:R.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 R.querySelector(k)},F=(R,$)=>{const k="ION-TABS"===R.tagName?R:R.querySelector("ion-tabs");let M=[];if(null!=k){const P=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=P&&(M=P.querySelectorAll("ion-buttons"))}else M=R.querySelectorAll("ion-buttons");for(const P of M){const U=P.closest("ion-header"),V=U&&!U.classList.contains("header-collapse-condense-inactive"),W=P.querySelector("ion-back-button"),oe=P.classList.contains("buttons-collapse");if(null!==W&&("start"===P.slot||""===P.slot)&&(oe&&V&&$||!oe))return W}return null},m=(R,$,k,M,P,U,V,W,oe)=>{var me,te;const se=$?`calc(100% - ${P.right+4}px)`:P.left-4+"px",g=$?"right":"left",n=$?"left":"right",o=$?"right":"left",l=(null===(me=U.textContent)||void 0===me?void 0:me.trim())===(null===(te=W.textContent)||void 0===te?void 0:te.trim()),h=(oe.height-w)/V.height,v=l?`scale(${oe.width/V.width}, ${h})`:`scale(${h})`,y="scale(1)",r=C(M).querySelector("ion-icon").getBoundingClientRect(),f=$?r.width/2-(r.right-P.right)+"px":P.left-r.width/2+"px",L=$?`-${window.innerWidth-P.right}px`:`${P.left}px`,I=`${oe.top}px`,j=`${P.top}px`,xe=k?[{offset:0,transform:`translate3d(${L}, ${j}, 0)`},{offset:1,transform:`translate3d(${f}, ${I}, 0)`}]:[{offset:0,transform:`translate3d(${f}, ${I}, 0)`},{offset:1,transform:`translate3d(${L}, ${j}, 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)"}],Te=(0,a.c)(),Be=(0,a.c)(),re=(0,a.c)(),ne=D("ion-back-button"),G=C(ne).querySelector(".button-text"),ge=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"),Be.addElement(ge),Te.addElement(G),re.addElement(ne),re.beforeStyles({position:"absolute",top:"0px",[o]:"0px"}).keyframes(xe),Te.beforeStyles({"transform-origin":`${g} top`}).beforeAddWrite(()=>{M.style.setProperty("display","none"),ne.style.setProperty(g,se)}).afterAddWrite(()=>{M.style.setProperty("display",""),ne.style.setProperty("display","none"),ne.style.removeProperty(g)}).keyframes(ae),Be.beforeStyles({"transform-origin":`${n} center`}).keyframes(pe),R.addAnimation([Te,Be,re])},T=(R,$,k,M,P,U,V,W)=>{var oe,me;const te=$?"right":"left",se=$?`calc(100% - ${P.right}px)`:`${P.left}px`,n=`${P.top}px`,l=$?`-${window.innerWidth-W.right-8}px`:W.x-8+"px",h=W.y-2+"px",v=(null===(oe=V.textContent)||void 0===oe?void 0:oe.trim())===(null===(me=M.textContent)||void 0===me?void 0:me.trim()),d=W.height/(U.height-w),r="scale(1)",f=v?`scale(${W.width/U.width}, ${d})`:`scale(${d})`,j=k?[{offset:0,opacity:0,transform:`translate3d(${l}, ${h}, 0) ${f}`},{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(${l}, ${h}, 0) ${f}`}],J=D("ion-title"),ie=(0,a.c)();J.innerText=M.innerText,J.size=M.size,J.color=M.color,ie.addElement(J),ie.beforeStyles({"transform-origin":`${te} top`,height:`${P.height}px`,display:"",position:"relative",[te]:se}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),J.style.setProperty("display","none")}).keyframes(j),R.addAnimation(ie)},A=(R,$)=>{var k;try{const M="cubic-bezier(0.32,0.72,0,1)",P="opacity",U="transform",V="0%",oe="rtl"===R.ownerDocument.dir,me=oe?"-99.5%":"99.5%",te=oe?"33%":"-33%",se=$.enteringEl,g=$.leavingEl,n="back"===$.direction,o=se.querySelector(":scope > ion-content"),l=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"),g&&null!=R){const f=(0,a.c)();f.addElement(R),h.addAnimation(f)}if(o||0!==s.length||0!==l.length?(v.addElement(o),v.addElement(l)):v.addElement(se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(v),n?v.beforeClearStyles([P]).fromTo("transform",`translateX(${te})`,`translateX(${V})`).fromTo(P,.8,1):v.beforeClearStyles([P]).fromTo("transform",`translateX(${me})`,`translateX(${V})`),o){const f=C(o).querySelector(".transition-effect");if(f){const L=f.querySelector(".transition-cover"),I=f.querySelector(".transition-shadow"),j=(0,a.c)(),J=(0,a.c)(),ie=(0,a.c)();j.addElement(f).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),J.addElement(L).beforeClearStyles([P]).fromTo(P,0,.1),ie.addElement(I).beforeClearStyles([P]).fromTo(P,.03,.7),j.addAnimation([J,ie]),v.addAnimation([j])}}const y=se.querySelector("ion-header.header-collapse-condense"),{forward:d,backward:r}=((R,$,k,M,P)=>{const U=F(M,k),V=_(P),W=_(M),oe=F(P,k),me=null!==U&&null!==V&&!k,te=null!==W&&null!==oe&&k;if(me){const se=V.getBoundingClientRect(),g=U.getBoundingClientRect(),n=C(U).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(V).querySelector(".toolbar-title").getBoundingClientRect();T(R,$,k,V,se,s,n,o),m(R,$,k,U,g,n,o,V,s)}else if(te){const se=W.getBoundingClientRect(),g=oe.getBoundingClientRect(),n=C(oe).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(W).querySelector(".toolbar-title").getBoundingClientRect();T(R,$,k,W,se,s,n,o),m(R,$,k,oe,g,n,o,W,s)}return{forward:me,backward:te}})(h,oe,n,se,g);if(s.forEach(f=>{const L=(0,a.c)();L.addElement(f),h.addAnimation(L);const I=(0,a.c)();I.addElement(f.querySelector("ion-title"));const j=(0,a.c)(),J=Array.from(f.querySelectorAll("ion-buttons,[menuToggle]")),ie=f.closest("ion-header"),xe=null==ie?void 0:ie.classList.contains("header-collapse-condense-inactive");let De;De=J.filter(n?pe=>{const Te=pe.classList.contains("buttons-collapse");return Te&&!xe||!Te}:pe=>!pe.classList.contains("buttons-collapse")),j.addElement(De);const Q=(0,a.c)();Q.addElement(f.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const ae=(0,a.c)();ae.addElement(C(f).querySelector(".toolbar-background"));const tt=(0,a.c)(),Oe=f.querySelector("ion-back-button");if(Oe&&tt.addElement(Oe),L.addAnimation([I,j,Q,ae,tt]),j.fromTo(P,.01,1),Q.fromTo(P,.01,1),n)xe||I.fromTo("transform",`translateX(${te})`,`translateX(${V})`).fromTo(P,.01,1),Q.fromTo("transform",`translateX(${te})`,`translateX(${V})`),tt.fromTo(P,.01,1);else if(y||I.fromTo("transform",`translateX(${me})`,`translateX(${V})`).fromTo(P,.01,1),Q.fromTo("transform",`translateX(${me})`,`translateX(${V})`),ae.beforeClearStyles([P,"transform"]),(null==ie?void 0:ie.translucent)?ae.fromTo("transform",oe?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ae.fromTo(P,.01,"var(--opacity)"),d||tt.fromTo(P,.01,1),Oe&&!d){const Te=(0,a.c)();Te.addElement(C(Oe).querySelector(".button-text")).fromTo("transform",oe?"translateX(-100px)":"translateX(100px)","translateX(0px)"),L.addAnimation(Te)}}),g){const f=(0,a.c)(),L=g.querySelector(":scope > ion-content"),I=g.querySelectorAll(":scope > ion-header > ion-toolbar"),j=g.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(L||0!==I.length||0!==j.length?(f.addElement(L),f.addElement(j)):f.addElement(g.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(f),n){f.beforeClearStyles([P]).fromTo("transform",`translateX(${V})`,oe?"translateX(-100%)":"translateX(100%)");const J=(0,S.g)(g);h.afterAddWrite(()=>{"normal"===h.getDirection()&&J.style.setProperty("display","none")})}else f.fromTo("transform",`translateX(${V})`,`translateX(${te})`).fromTo(P,1,.8);if(L){const J=C(L).querySelector(".transition-effect");if(J){const ie=J.querySelector(".transition-cover"),xe=J.querySelector(".transition-shadow"),De=(0,a.c)(),Q=(0,a.c)(),ae=(0,a.c)();De.addElement(J).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Q.addElement(ie).beforeClearStyles([P]).fromTo(P,.1,0),ae.addElement(xe).beforeClearStyles([P]).fromTo(P,.7,.03),De.addAnimation([Q,ae]),f.addAnimation([De])}}I.forEach(J=>{const ie=(0,a.c)();ie.addElement(J);const xe=(0,a.c)();xe.addElement(J.querySelector("ion-title"));const De=(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"),Oe=Array.from(Q).filter(G=>{const ge=G.classList.contains("buttons-collapse");return ge&&!tt||!ge});De.addElement(Oe);const pe=(0,a.c)(),Te=J.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Te.length>0&&pe.addElement(Te);const Be=(0,a.c)();Be.addElement(C(J).querySelector(".toolbar-background"));const re=(0,a.c)(),ne=J.querySelector("ion-back-button");if(ne&&re.addElement(ne),ie.addAnimation([xe,De,pe,re,Be]),h.addAnimation(ie),re.fromTo(P,.99,0),De.fromTo(P,.99,0),pe.fromTo(P,.99,0),n){if(tt||xe.fromTo("transform",`translateX(${V})`,oe?"translateX(-100%)":"translateX(100%)").fromTo(P,.99,0),pe.fromTo("transform",`translateX(${V})`,oe?"translateX(-100%)":"translateX(100%)"),Be.beforeClearStyles([P,"transform"]),(null==ae?void 0:ae.translucent)?Be.fromTo("transform","translateX(0px)",oe?"translateX(-100%)":"translateX(100%)"):Be.fromTo(P,"var(--opacity)",0),ne&&!r){const ge=(0,a.c)();ge.addElement(C(ne).querySelector(".button-text")).fromTo("transform",`translateX(${V})`,`translateX(${(oe?-124:124)+"px"})`),ie.addAnimation(ge)}}else tt||xe.fromTo("transform",`translateX(${V})`,`translateX(${te})`).fromTo(P,.99,0).afterClearStyles([U,P]),pe.fromTo("transform",`translateX(${V})`,`translateX(${te})`).afterClearStyles([U,P]),re.afterClearStyles([P]),xe.afterClearStyles([P]),De.afterClearStyles([P])})}return h}catch(M){throw M}},w=10},2942:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{mdTransitionAnimation:()=>c});var a=E(3503),S=E(7555);E(8476),E(4363);const c=(D,C)=>{var _,F,B;const m="40px",A="back"===C.direction,R=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!==(F=C.duration)&&void 0!==F?F:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${m})`,"translateY(0px)").fromTo("opacity",.01,1),k){const P=(0,a.c)();P.addElement(k),M.addAnimation(P)}if(R&&A){M.duration((null!==(B=C.duration)&&void 0!==B?B:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const P=(0,a.c)();P.addElement((0,S.g)(R)).onFinish(U=>{1===U&&P.elements.length>0&&P.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${m})`).fromTo("opacity",1,0),M.addAnimation(P)}return M}},5516:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>De,G:()=>Q,O:()=>ae,a:()=>T,b:()=>A,c:()=>k,d:()=>tt,e:()=>Oe,f:()=>y,g:()=>r,h:()=>I,i:()=>J,j:()=>P,k:()=>U,l:()=>w,m:()=>R,n:()=>me,o:()=>h,s:()=>xe,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,F=0;const B=new WeakMap,m=Be=>({create:re=>V(Be,re),dismiss:(re,ne,G)=>o(document,re,ne,Be,G),getTop:()=>(0,a.A)(function*(){return h(document,Be)})()}),T=m("ion-alert"),A=m("ion-action-sheet"),w=m("ion-loading"),R=m("ion-modal"),k=m("ion-popover"),M=m("ion-toast"),P=Be=>{typeof document<"u"&&n(document);const re=_++;Be.overlayIndex=re},U=Be=>(Be.hasAttribute("id")||(Be.id="ion-overlay-"+ ++F),Be.id),V=(Be,re)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Be).then(()=>{const ne=document.createElement(Be);return ne.classList.add("overlay-hidden"),Object.assign(ne,Object.assign(Object.assign({},re),{hasController:!0})),f(document).appendChild(ne),new Promise(G=>(0,D.c)(ne,G))}):Promise.resolve(),W='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',me=(Be,re)=>{const ne=Be.querySelector(W);se(ne,re)},te=(Be,re)=>{const ne=Array.from(Be.querySelectorAll(W));se(ne.length>0?ne[ne.length-1]:null,re)},se=(Be,re)=>{let ne=Be;const G=null==Be?void 0:Be.shadowRoot;G&&(ne=G.querySelector(W)||Be),ne?(0,D.f)(ne):re.focus()},n=Be=>{0===_&&(_=1,Be.addEventListener("focus",re=>{((Be,re)=>{const ne=h(re,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),G=Be.target;ne&&G&&!ne.classList.contains("ion-disable-focus-trap")&&(ne.shadowRoot?(()=>{if(ne.contains(G))ne.lastFocus=G;else if("ION-TOAST"===G.tagName)se(ne.lastFocus,ne);else{const Qe=ne.lastFocus;me(ne,ne),Qe===re.activeElement&&te(ne,ne),ne.lastFocus=re.activeElement}})():(()=>{if(ne===G)ne.lastFocus=void 0;else if("ION-TOAST"===G.tagName)se(ne.lastFocus,ne);else{const Qe=(0,D.g)(ne);if(!Qe.contains(G))return;const rt=Qe.querySelector(".ion-overlay-wrapper");if(!rt)return;if(rt.contains(G)||G===Qe.querySelector("ion-backdrop"))ne.lastFocus=G;else{const rn=ne.lastFocus;me(rt,ne),rn===re.activeElement&&te(rt,ne),ne.lastFocus=re.activeElement}}})())})(re,Be)},!0),Be.addEventListener("ionBackButton",re=>{const ne=h(Be);null!=ne&&ne.backdropDismiss&&re.detail.register(p.OVERLAY_BACK_BUTTON_PRIORITY,()=>{ne.dismiss(void 0,De)})}),(0,p.shouldUseCloseWatcher)()||Be.addEventListener("keydown",re=>{if("Escape"===re.key){const ne=h(Be);null!=ne&&ne.backdropDismiss&&ne.dismiss(void 0,De)}}))},o=(Be,re,ne,G,ge)=>{const xt=h(Be,G,ge);return xt?xt.dismiss(re,ne):Promise.reject("overlay does not exist")},s=(Be,re)=>((Be,re)=>(void 0===re&&(re="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Be.querySelectorAll(re)).filter(ne=>ne.overlayIndex>0)))(Be,re).filter(ne=>!(Be=>Be.classList.contains("overlay-hidden"))(ne)),h=(Be,re,ne)=>{const G=s(Be,re);return void 0===ne?G[G.length-1]:G.find(ge=>ge.id===ne)},v=(Be=!1)=>{const ne=f(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");ne&&(Be?ne.setAttribute("aria-hidden","true"):ne.removeAttribute("aria-hidden"))},y=function(){var Be=(0,a.A)(function*(re,ne,G,ge,xt){var Qe,rt;if(re.presented)return;v(!0),pe(re.el),re.presented=!0,re.willPresent.emit(),null===(Qe=re.willPresentShorthand)||void 0===Qe||Qe.emit();const rn=(0,O.b)(re),mt=re.enterAnimation?re.enterAnimation:O.c.get(ne,"ios"===rn?G:ge);(yield L(re,mt,re.el,xt))&&(re.didPresent.emit(),null===(rt=re.didPresentShorthand)||void 0===rt||rt.emit()),"ION-TOAST"!==re.el.tagName&&d(re.el),re.keyboardClose&&(null===document.activeElement||!re.el.contains(document.activeElement))&&re.el.focus(),re.el.removeAttribute("aria-hidden")});return function(ne,G,ge,xt,Qe){return Be.apply(this,arguments)}}(),d=function(){var Be=(0,a.A)(function*(re){let ne=document.activeElement;if(!ne)return;const G=null==ne?void 0:ne.shadowRoot;G&&(ne=G.querySelector(W)||ne),yield re.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&ne.focus()});return function(ne){return Be.apply(this,arguments)}}(),r=function(){var Be=(0,a.A)(function*(re,ne,G,ge,xt,Qe,rt){var rn,mt;if(!re.presented)return!1;void 0!==S.d&&1===s(S.d).length&&v(!1),re.presented=!1;try{re.el.style.setProperty("pointer-events","none"),re.willDismiss.emit({data:ne,role:G}),null===(rn=re.willDismissShorthand)||void 0===rn||rn.emit({data:ne,role:G});const ft=(0,O.b)(re),un=re.leaveAnimation?re.leaveAnimation:O.c.get(ge,"ios"===ft?xt:Qe);G!==Q&&(yield L(re,un,re.el,rt)),re.didDismiss.emit({data:ne,role:G}),null===(mt=re.didDismissShorthand)||void 0===mt||mt.emit({data:ne,role:G}),(B.get(re)||[]).forEach(It=>It.destroy()),B.delete(re),re.el.classList.add("overlay-hidden"),re.el.style.removeProperty("pointer-events"),void 0!==re.el.lastFocus&&(re.el.lastFocus=void 0)}catch(ft){console.error(ft)}return re.el.remove(),Te(),!0});return function(ne,G,ge,xt,Qe,rt,rn){return Be.apply(this,arguments)}}(),f=Be=>Be.querySelector("ion-app")||Be.body,L=function(){var Be=(0,a.A)(function*(re,ne,G,ge){G.classList.remove("overlay-hidden");const Qe=ne(re.el,ge);(!re.animated||!O.c.getBoolean("animated",!0))&&Qe.duration(0),re.keyboardClose&&Qe.beforeAddWrite(()=>{const rn=G.ownerDocument.activeElement;null!=rn&&rn.matches("input,ion-input, ion-textarea")&&rn.blur()});const rt=B.get(re)||[];return B.set(re,[...rt,Qe]),yield Qe.play(),!0});return function(ne,G,ge,xt){return Be.apply(this,arguments)}}(),I=(Be,re)=>{let ne;const G=new Promise(ge=>ne=ge);return j(Be,re,ge=>{ne(ge.detail)}),G},j=(Be,re,ne)=>{const G=ge=>{(0,D.b)(Be,re,G),ne(ge)};(0,D.a)(Be,re,G)},J=Be=>"cancel"===Be||Be===De,ie=Be=>Be(),xe=(Be,re)=>{if("function"==typeof Be)return O.c.get("_zoneGate",ie)(()=>{try{return Be(re)}catch(G){throw G}})},De="backdrop",Q="gesture",ae=39,tt=Be=>{let ne,re=!1;const G=(0,c.C)(),ge=(rt=!1)=>{if(ne&&!rt)return{delegate:ne,inline:re};const{el:rn,hasController:mt,delegate:ft}=Be;return re=null!==rn.parentNode&&!mt,ne=re?ft||G:ft,{inline:re,delegate:ne}};return{attachViewToDom:function(){var rt=(0,a.A)(function*(rn){const{delegate:mt}=ge(!0);if(mt)return yield mt.attachViewToDom(Be.el,rn);const{hasController:ft}=Be;if(ft&&void 0!==rn)throw new Error("framework delegate is missing");return null});return function(mt){return rt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:rt}=ge();rt&&void 0!==Be.el&&rt.removeViewFromDom(Be.el.parentElement,Be.el)}}},Oe=()=>{let Be;const re=()=>{Be&&(Be(),Be=void 0)};return{addClickListener:(G,ge)=>{re();const xt=void 0!==ge?document.getElementById(ge):null;xt?Be=((rt,rn)=>{const mt=()=>{rn.present()};return rt.addEventListener("click",mt),()=>{rt.removeEventListener("click",mt)}})(xt,G):(0,C.p)(`A trigger element with the ID "${ge}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,G)},removeClickListener:re}},pe=Be=>{var re;if(void 0===S.d)return;const ne=s(S.d);for(let G=ne.length-1;G>=0;G--){const ge=ne[G],xt=null!==(re=ne[G+1])&&void 0!==re?re:Be;(xt.hasAttribute("aria-hidden")||"ION-TOAST"!==xt.tagName)&&ge.setAttribute("aria-hidden","true")}},Te=()=>{if(void 0===S.d)return;const Be=s(S.d);for(let re=Be.length-1;re>=0;re--){const ne=Be[re];if(ne.removeAttribute("aria-hidden"),"ION-TOAST"!==ne.tagName)break}}},1288:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>M,b:()=>rn,c:()=>W,f:()=>pe,g:()=>V,h:()=>$,p:()=>zn,r:()=>Ft});var a=E(467);let p,O,c=!1,D=!1;const B={},w=Pe=>"object"==(Pe=typeof Pe)||"function"===Pe;function R(Pe){var Se,ze,Et;return null!==(Et=null===(ze=null===(Se=Pe.head)||void 0===Se?void 0:Se.querySelector('meta[name="csp-nonce"]'))||void 0===ze?void 0:ze.getAttribute("content"))&&void 0!==Et?Et:void 0}const $=(Pe,Se,...ze)=>{let Et=null,Je=!1,st=!1;const en=[],yt=Kt=>{for(let Pt=0;PtKt[Pt]).join(" "))}const vt=k(Pe,null);return vt.$attrs$=Se,en.length>0&&(vt.$children$=en),vt},k=(Pe,Se)=>({$flags$:0,$tag$:Pe,$text$:Se,$elm$:null,$children$:null,$attrs$:null}),M={},V=Pe=>St(Pe).$hostElement$,W=(Pe,Se,ze)=>{const Et=V(Pe);return{emit:Je=>oe(Et,Se,{bubbles:!!(4&ze),composed:!!(2&ze),cancelable:!!(1&ze),detail:Je})}},oe=(Pe,Se,ze)=>{const Et=Ot.ce(Se,ze);return Pe.dispatchEvent(Et),Et},me=new WeakMap,n=(Pe,Se)=>"sc-"+Pe.$tagName$,o=(Pe,Se,ze,Et,Je,st)=>{if(ze!==Et){let en=bt(Pe,Se),yt=Se.toLowerCase();if("class"===Se){const vt=Pe.classList,Kt=s(ze),Pt=s(Et);vt.remove(...Kt.filter(Rt=>Rt&&!Pt.includes(Rt))),vt.add(...Pt.filter(Rt=>Rt&&!Kt.includes(Rt)))}else if("style"===Se){for(const vt in ze)(!Et||null==Et[vt])&&(vt.includes("-")?Pe.style.removeProperty(vt):Pe.style[vt]="");for(const vt in Et)(!ze||Et[vt]!==ze[vt])&&(vt.includes("-")?Pe.style.setProperty(vt,Et[vt]):Pe.style[vt]=Et[vt])}else if("ref"===Se)Et&&Et(Pe);else if(en||"o"!==Se[0]||"n"!==Se[1]){const vt=w(Et);if((en||vt&&null!==Et)&&!Je)try{if(Pe.tagName.includes("-"))Pe[Se]=Et;else{const Kt=null==Et?"":Et;"list"===Se?en=!1:(null==ze||Pe[Se]!=Kt)&&(Pe[Se]=Kt)}}catch{}null==Et||!1===Et?(!1!==Et||""===Pe.getAttribute(Se))&&Pe.removeAttribute(Se):(!en||4&st||Je)&&!vt&&Pe.setAttribute(Se,Et=!0===Et?"":Et)}else Se="-"===Se[2]?Se.slice(3):bt(Wt,yt)?yt.slice(2):yt[2]+Se.slice(3),ze&&Ot.rel(Pe,Se,ze,!1),Et&&Ot.ael(Pe,Se,Et,!1)}},l=/\s/,s=Pe=>Pe?Pe.split(l):[],h=(Pe,Se,ze,Et)=>{const Je=11===Se.$elm$.nodeType&&Se.$elm$.host?Se.$elm$.host:Se.$elm$,st=Pe&&Pe.$attrs$||B,en=Se.$attrs$||B;for(Et in st)Et in en||o(Je,Et,st[Et],void 0,ze,Se.$flags$);for(Et in en)o(Je,Et,st[Et],en[Et],ze,Se.$flags$)},v=(Pe,Se,ze,Et)=>{const Je=Se.$children$[ze];let en,yt,st=0;if(null!==Je.$text$)en=Je.$elm$=Nt.createTextNode(Je.$text$);else{if(c||(c="svg"===Je.$tag$),en=Je.$elm$=Nt.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)&&en["s-si"]!==p&&en.classList.add(en["s-si"]=p),Je.$children$)for(st=0;st{let yt,en=Pe;for(en.shadowRoot&&en.tagName===O&&(en=en.shadowRoot);Je<=st;++Je)Et[Je]&&(yt=v(null,ze,Je),yt&&(Et[Je].$elm$=yt,en.insertBefore(yt,Se)))},d=(Pe,Se,ze)=>{for(let Et=Se;Et<=ze;++Et){const Je=Pe[Et];if(Je){const st=Je.$elm$;I(Je),st&&st.remove()}}},f=(Pe,Se)=>Pe.$tag$===Se.$tag$,L=(Pe,Se)=>{const ze=Se.$elm$=Pe.$elm$,Et=Pe.$children$,Je=Se.$children$,st=Se.$tag$,en=Se.$text$;null===en?(c="svg"===st||"foreignObject"!==st&&c,h(Pe,Se,c),null!==Et&&null!==Je?((Pe,Se,ze,Et)=>{let On,Je=0,st=0,en=Se.length-1,yt=Se[0],vt=Se[en],Kt=Et.length-1,Pt=Et[0],Rt=Et[Kt];for(;Je<=en&&st<=Kt;)null==yt?yt=Se[++Je]:null==vt?vt=Se[--en]:null==Pt?Pt=Et[++st]:null==Rt?Rt=Et[--Kt]:f(yt,Pt)?(L(yt,Pt),yt=Se[++Je],Pt=Et[++st]):f(vt,Rt)?(L(vt,Rt),vt=Se[--en],Rt=Et[--Kt]):f(yt,Rt)?(L(yt,Rt),Pe.insertBefore(yt.$elm$,vt.$elm$.nextSibling),yt=Se[++Je],Rt=Et[--Kt]):f(vt,Pt)?(L(vt,Pt),Pe.insertBefore(vt.$elm$,yt.$elm$),vt=Se[--en],Pt=Et[++st]):(On=v(Se&&Se[st],ze,st),Pt=Et[++st],On&&yt.$elm$.parentNode.insertBefore(On,yt.$elm$));Je>en?y(Pe,null==Et[Kt+1]?null:Et[Kt+1].$elm$,ze,Et,st,Kt):st>Kt&&d(Se,Je,en)})(ze,Et,Se,Je):null!==Je?(null!==Pe.$text$&&(ze.textContent=""),y(ze,null,Se,Je,0,Je.length-1)):null!==Et&&d(Et,0,Et.length-1),c&&"svg"===st&&(c=!1)):Pe.$text$!==en&&(ze.data=en)},I=Pe=>{Pe.$attrs$&&Pe.$attrs$.ref&&Pe.$attrs$.ref(null),Pe.$children$&&Pe.$children$.map(I)},J=(Pe,Se)=>{Se&&!Pe.$onRenderResolve$&&Se["s-p"]&&Se["s-p"].push(new Promise(ze=>Pe.$onRenderResolve$=ze))},ie=(Pe,Se)=>{if(Pe.$flags$|=16,!(4&Pe.$flags$))return J(Pe,Pe.$ancestorComponent$),it(()=>xe(Pe,Se));Pe.$flags$|=512},xe=(Pe,Se)=>{const Et=Pe.$lazyInstance$;return Se&&(Pe.$flags$|=256,Pe.$queuedListeners$&&(Pe.$queuedListeners$.map(([st,en])=>Be(Et,st,en)),Pe.$queuedListeners$=void 0)),De(void 0,()=>ae(Pe,Et,Se))},De=(Pe,Se)=>Q(Pe)?Pe.then(Se):Se(),Q=Pe=>Pe instanceof Promise||Pe&&Pe.then&&"function"==typeof Pe.then,ae=function(){var Pe=(0,a.A)(function*(Se,ze,Et){var Je;const st=Se.$hostElement$,yt=st["s-rc"];Et&&(Pe=>{const Se=Pe.$cmpMeta$,ze=Pe.$hostElement$,Et=Se.$flags$,st=((Pe,Se,ze,Et)=>{var Je;let st=n(Se);const en=Lt.get(st);if(Pe=11===Pe.nodeType?Pe:Nt,en)if("string"==typeof en){let vt,yt=me.get(Pe=Pe.head||Pe);if(yt||me.set(Pe,yt=new Set),!yt.has(st)){{vt=Nt.createElement("style"),vt.innerHTML=en;const Kt=null!==(Je=Ot.$nonce$)&&void 0!==Je?Je:R(Nt);null!=Kt&&vt.setAttribute("nonce",Kt),Pe.insertBefore(vt,Pe.querySelector("link"))}yt&&yt.add(st)}}else Pe.adoptedStyleSheets.includes(en)||(Pe.adoptedStyleSheets=[...Pe.adoptedStyleSheets,en]);return st})(ze.shadowRoot?ze.shadowRoot:ze.getRootNode(),Se);10&Et&&(ze["s-sc"]=st,ze.classList.add(st+"-h"))})(Se);tt(Se,ze),yt&&(yt.map(Kt=>Kt()),st["s-rc"]=void 0);{const Kt=null!==(Je=st["s-p"])&&void 0!==Je?Je:[],Pt=()=>Oe(Se);0===Kt.length?Pt():(Promise.all(Kt).then(Pt),Se.$flags$|=4,Kt.length=0)}});return function(ze,Et,Je){return Pe.apply(this,arguments)}}(),tt=(Pe,Se,ze)=>{try{Se=Se.render(),Pe.$flags$&=-17,Pe.$flags$|=2,((Pe,Se)=>{const ze=Pe.$hostElement$,Et=Pe.$vnode$||k(null,null),Je=(Pe=>Pe&&Pe.$tag$===M)(Se)?Se:$(null,null,Se);O=ze.tagName,Je.$tag$=null,Je.$flags$|=4,Pe.$vnode$=Je,Je.$elm$=Et.$elm$=ze.shadowRoot||ze,p=ze["s-sc"],L(Et,Je)})(Pe,Se)}catch(Et){wt(Et,Pe.$hostElement$)}return null},Oe=Pe=>{const ze=Pe.$hostElement$,Je=Pe.$lazyInstance$,st=Pe.$ancestorComponent$;64&Pe.$flags$||(Pe.$flags$|=64,re(ze),Be(Je,"componentDidLoad"),Pe.$onReadyResolve$(ze),st||Te()),Pe.$onInstanceResolve$(ze),Pe.$onRenderResolve$&&(Pe.$onRenderResolve$(),Pe.$onRenderResolve$=void 0),512&Pe.$flags$&&je(()=>ie(Pe,!1)),Pe.$flags$&=-517},pe=Pe=>{{const Se=St(Pe),ze=Se.$hostElement$.isConnected;return ze&&2==(18&Se.$flags$)&&ie(Se,!1),ze}},Te=Pe=>{re(Nt.documentElement),je(()=>oe(Wt,"appload",{detail:{namespace:"ionicpwaelements"}}))},Be=(Pe,Se,ze)=>{if(Pe&&Pe[Se])try{return Pe[Se](ze)}catch(Et){wt(Et)}},re=Pe=>Pe.classList.add("hydrated"),ge=(Pe,Se,ze)=>{if(Se.$members$){const Et=Object.entries(Se.$members$),Je=Pe.prototype;if(Et.map(([st,[en]])=>{31&en||2&ze&&32&en?Object.defineProperty(Je,st,{get(){return((Pe,Se)=>St(this).$instanceValues$.get(Se))(0,st)},set(yt){((Pe,Se,ze,Et)=>{const Je=St(Pe),st=Je.$instanceValues$.get(Se),en=Je.$flags$,yt=Je.$lazyInstance$;ze=((Pe,Se)=>null==Pe||w(Pe)?Pe:4&Se?"false"!==Pe&&(""===Pe||!!Pe):2&Se?parseFloat(Pe):1&Se?String(Pe):Pe)(ze,Et.$members$[Se][0]);const vt=Number.isNaN(st)&&Number.isNaN(ze);(!(8&en)||void 0===st)&&ze!==st&&!vt&&(Je.$instanceValues$.set(Se,ze),yt&&2==(18&en)&&ie(Je,!1))})(this,st,yt,Se)},configurable:!0,enumerable:!0}):1&ze&&64&en&&Object.defineProperty(Je,st,{value(...yt){const vt=St(this);return vt.$onInstancePromise$.then(()=>vt.$lazyInstance$[st](...yt))}})}),1&ze){const st=new Map;Je.attributeChangedCallback=function(en,yt,vt){Ot.jmp(()=>{const Kt=st.get(en);if(this.hasOwnProperty(Kt))vt=this[Kt],delete this[Kt];else if(Je.hasOwnProperty(Kt)&&"number"==typeof this[Kt]&&this[Kt]==vt)return;this[Kt]=(null!==vt||"boolean"!=typeof this[Kt])&&vt})},Pe.observedAttributes=Et.filter(([en,yt])=>15&yt[0]).map(([en,yt])=>{const vt=yt[1]||en;return st.set(vt,en),vt})}}return Pe},xt=function(){var Pe=(0,a.A)(function*(Se,ze,Et,Je,st){if(!(32&ze.$flags$)){ze.$flags$|=32;{if((st=Bt(Et)).then){const Kt=()=>{};st=yield st,Kt()}st.isProxied||(ge(st,Et,2),st.isProxied=!0);const vt=()=>{};ze.$flags$|=8;try{new st(ze)}catch(Kt){wt(Kt)}ze.$flags$&=-9,vt()}if(st.style){let vt=st.style;const Kt=n(Et);if(!Lt.has(Kt)){const Pt=()=>{};((Pe,Se,ze)=>{let Et=Lt.get(Pe);Ut&&ze?(Et=Et||new CSSStyleSheet,"string"==typeof Et?Et=Se:Et.replaceSync(Se)):Et=Se,Lt.set(Pe,Et)})(Kt,vt,!!(1&Et.$flags$)),Pt()}}}const en=ze.$ancestorComponent$,yt=()=>ie(ze,!0);en&&en["s-rc"]?en["s-rc"].push(yt):yt()});return function(ze,Et,Je,st,en){return Pe.apply(this,arguments)}}(),rn=(Pe,Se={})=>{var ze;const Je=[],st=Se.exclude||[],en=Wt.customElements,yt=Nt.head,vt=yt.querySelector("meta[charset]"),Kt=Nt.createElement("style"),Pt=[];let Rt,On=!0;Object.assign(Ot,Se),Ot.$resourcesUrl$=new URL(Se.resourcesUrl||"./",Nt.baseURI).href,Pe.map(An=>{An[1].map(Bn=>{const Mn={$flags$:Bn[0],$tagName$:Bn[1],$members$:Bn[2],$listeners$:Bn[3]};Mn.$members$=Bn[2],Mn.$listeners$=Bn[3];const Wn=Mn.$tagName$,Ln=class extends HTMLElement{constructor(Fn){super(Fn),bn(Fn=this,Mn),1&Mn.$flags$&&Fn.attachShadow({mode:"open"})}connectedCallback(){Rt&&(clearTimeout(Rt),Rt=null),On?Pt.push(this):Ot.jmp(()=>(Pe=>{if(!(1&Ot.$flags$)){const Se=St(Pe),ze=Se.$cmpMeta$,Et=()=>{};if(1&Se.$flags$)mt(Pe,Se,ze.$listeners$);else{Se.$flags$|=1;{let Je=Pe;for(;Je=Je.parentNode||Je.host;)if(Je["s-p"]){J(Se,Se.$ancestorComponent$=Je);break}}ze.$members$&&Object.entries(ze.$members$).map(([Je,[st]])=>{if(31&st&&Pe.hasOwnProperty(Je)){const en=Pe[Je];delete Pe[Je],Pe[Je]=en}}),xt(Pe,Se,ze)}Et()}})(this))}disconnectedCallback(){Ot.jmp(()=>(Pe=>{if(!(1&Ot.$flags$)){const Se=St(this),ze=Se.$lazyInstance$;Se.$rmListeners$&&(Se.$rmListeners$.map(Et=>Et()),Se.$rmListeners$=void 0),Be(ze,"disconnectedCallback")}})())}componentOnReady(){return St(this).$onReadyPromise$}};Mn.$lazyBundleId$=An[0],!st.includes(Wn)&&!en.get(Wn)&&(Je.push(Wn),en.define(Wn,ge(Ln,Mn,1)))})});{Kt.innerHTML=Je+"{visibility:hidden}.hydrated{visibility:inherit}",Kt.setAttribute("data-styles","");const An=null!==(ze=Ot.$nonce$)&&void 0!==ze?ze:R(Nt);null!=An&&Kt.setAttribute("nonce",An),yt.insertBefore(Kt,vt?vt.nextSibling:yt.firstChild)}On=!1,Pt.length?Pt.map(An=>An.connectedCallback()):Ot.jmp(()=>Rt=setTimeout(Te,30))},mt=(Pe,Se,ze,Et)=>{ze&&ze.map(([Je,st,en])=>{const yt=un(Pe,Je),vt=ft(Se,en),Kt=At(Je);Ot.ael(yt,st,vt,Kt),(Se.$rmListeners$=Se.$rmListeners$||[]).push(()=>Ot.rel(yt,st,vt,Kt))})},ft=(Pe,Se)=>ze=>{try{256&Pe.$flags$?Pe.$lazyInstance$[Se](ze):(Pe.$queuedListeners$=Pe.$queuedListeners$||[]).push([Se,ze])}catch(Et){wt(Et)}},un=(Pe,Se)=>16&Se?Nt.body:Pe,At=Pe=>!!(2&Pe),Cn=new WeakMap,St=Pe=>Cn.get(Pe),Ft=(Pe,Se)=>Cn.set(Se.$lazyInstance$=Pe,Se),bn=(Pe,Se)=>{const ze={$flags$:0,$hostElement$:Pe,$cmpMeta$:Se,$instanceValues$:new Map};return ze.$onInstancePromise$=new Promise(Et=>ze.$onInstanceResolve$=Et),ze.$onReadyPromise$=new Promise(Et=>ze.$onReadyResolve$=Et),Pe["s-p"]=[],Pe["s-rc"]=[],mt(Pe,ze,Se.$listeners$),Cn.set(Pe,ze)},bt=(Pe,Se)=>Se in Pe,wt=(Pe,Se)=>(0,console.error)(Pe,Se),Dn=new Map,Bt=(Pe,Se,ze)=>{const Et=Pe.$tagName$.replace(/-/g,"_"),Je=Pe.$lazyBundleId$,st=Dn.get(Je);if(st)return st[Et];if(!ze||!BUILD.hotModuleReplacement){const en=yt=>(Dn.set(Je,yt),yt[Et]);switch(Je){case"pwa-action-sheet":return E.e(6301).then(E.bind(E,6301)).then(en,wt);case"pwa-camera-modal":return E.e(2982).then(E.bind(E,2982)).then(en,wt);case"pwa-toast":return E.e(3574).then(E.bind(E,3574)).then(en,wt);case"pwa-camera-modal-instance":return E.e(5640).then(E.bind(E,5640)).then(en,wt);case"pwa-camera":return E.e(6086).then(E.bind(E,6086)).then(en,wt)}}return E(5235)(`./${Je}.entry.js`).then(en=>(Dn.set(Je,en),en[Et]),wt)},Lt=new Map,Wt=typeof window<"u"?window:{},Nt=Wt.document||{head:{}},Ot={$flags$:0,$resourcesUrl$:"",jmp:Pe=>Pe(),raf:Pe=>requestAnimationFrame(Pe),ael:(Pe,Se,ze,Et)=>Pe.addEventListener(Se,ze,Et),rel:(Pe,Se,ze,Et)=>Pe.removeEventListener(Se,ze,Et),ce:(Pe,Se)=>new CustomEvent(Pe,Se)},zn=Pe=>Promise.resolve(Pe),Ut=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),He=[],_e=[],Ae=(Pe,Se)=>ze=>{Pe.push(ze),D||(D=!0,Se&&4&Ot.$flags$?je(Ze):Ot.raf(Ze))},Me=Pe=>{for(let Se=0;Se{Me(He),Me(_e),(D=He.length>0)&&Ot.raf(Ze)},je=Pe=>zn().then(Pe),it=Ae(_e,!0)},3172:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>S,c:()=>a});const a={production:!0},S={api:{BASE_URL:"https://school-api-dev.tekdinext.com/",BASE_URL_BOT:"https://aibot-dev.tekdinext.com/",TELEMETRY_BASE_URL:"https://school-dev.tekdinext.com/",CONFIG:"seeker/configuration",PAGE_SEARCH_API:"content/search",CONTEXT_SEARCH:"api/aiutility/v1/context",CONTENT_SEARCH_API:"content/search",TELEMETRY_SYNC:"telemetry/v1/telemetry",BOT_QUERY_API:"v1/query",SEARCH_API:"content/search",CONFIRM_API:"confirm",BOT_SAKHI_API_PATH:"v1/query",BOT_ACTIVITY_API_PATH:"api/activitybot/v1/query",REGISTER_DEVICE_API_PATH:"api/registerMobileDevice",KEY:"myjp-0.1",SECRET:"7tVOEu0xj0zYQiYtCYbauEkNC3NBXCpM"},telmetry:{PRODUCER_ID:"dev.ejp.mobileapp",PRODUCER_PID:"mobileapp"}}},56:(Ce,ee,E)=>{"use strict";E.d(ee,{B$:()=>S,Cc:()=>a,Hs:()=>D,K:()=>O,Th:()=>C,Zm:()=>B,cM:()=>_,z5:()=>c});let a=(()=>{var m;class T{}return(m=T).PDF="application/pdf",m.MP4="video/mp4",m.YOUTUBE="video/x-youtube",m.AUDIO="audio/mp3",m.WEBM="video/webm",m.LINK="text/html",T})();const S={dbName:"digital_jaddu_pitara.db",version:3};let O=(()=>{var m;class T{}return(m=T).DATE_TYPE="DATE",m.TEXT_TYPE="TEXT",m.INT_TYPE="INTEGER",m.REAL_TYPE="REAL",m.COMMA_SEP=",",m.SPACE=" ",m.MAX_NUM_OF_EVENTS=1e3,m.MAX_NUM_OF_PROCESSED_EVENTS=1,m.ERROR="DB_ERROR",m.BLOB_TYPE="BLOB",m.NOT_NULL="NOT NULL",m.NULL="NULL",T})(),c=(()=>{var m;class T{}return(m=T).COLLECTION="application/vnd.ekstep.content-collection",m.VIDEO="video/mp4",m.VIDEOS=["video/mp4","video/webm","video/x-m4v","video/quicktime"],m.PDF="application/pdf",m.AUDIOS="audio/mp3",m.RECOEDED_AUDIO="audio/wav",m.AUDIO=["audio/mp3","audio/mp4","audio/mpeg","audio/ogg","audio/webm","audio/x-wav","audio/wav"],m.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"],m.DOCS=["application/pdf","application/epub","application/msword"],m.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"],m.YOUTUBE="video/x-youtube",T})();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(m){return m.YES="Yes",m.NO="No",m}(C||{}),_=function(m){return m.COURSE="Course",m.COURSE_UNIT="CourseUnit",m.E_TEXTBOOK="eTextBook",m.EXPLANATION_RESOURCE="ExplanationResource",m.EXPLANATION_VIDEO="Explanation Video",m.TEXTBOOK="TextBook",m.TEXTBOOK_UNIT="TextBookUnit",m.COLLECTION="Collection",m.TV_LESSION="TVLesson",m.RESOURCE="Resource",m}(_||{});let B=(()=>{var m;class T{}return(m=T).TEACHER="teacher",m.STORY="story",m.PARENT="parent",T})()},319:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>O});var a=E(4438),S=E(8974),p=E(5402);let O=(()=>{var c;class D{constructor(_){this.modalCtrl=_}ngOnInit(){}confirm(_){switch(_){case"exit":this.modalCtrl.dismiss(!0);break;case"cancel":this.modalCtrl.dismiss(!1)}}}return(c=D).\u0275fac=function(_){return new(_||c)(a.rXU(S.W3))},c.\u0275cmp=a.VBU({type:c,selectors:[["app-app-exit"]],decls:13,vars:9,consts:[[1,"inner-content"],["slot","start"],[1,"buttons"],["slot","end","shape","round","fill","outline",1,"btn-info","exit",3,"click"],["slot","end","shape","round",1,"btn-info",3,"click"]],template:function(_,F){1&_&&(a.j41(0,"div",0)(1,"ion-toolbar")(2,"ion-buttons",1)(3,"ion-button"),a.EFF(4),a.nI1(5,"translate"),a.k0s()()(),a.j41(6,"ion-toolbar",2)(7,"ion-button",3),a.bIt("click",function(){return F.confirm("exit")}),a.EFF(8),a.nI1(9,"translate"),a.k0s(),a.j41(10,"ion-button",4),a.bIt("click",function(){return F.confirm("cancel")}),a.EFF(11),a.nI1(12,"translate"),a.k0s()()()),2&_&&(a.R7$(4),a.JRh(a.bMT(5,3,"Exit the app?")),a.R7$(4),a.JRh(a.bMT(9,5,"Exit")),a.R7$(3),a.JRh(a.bMT(12,7,"Cancel")))},dependencies:[S.Jm,S.QW,S.ai,p.D9],styles:[".buttons[_ngcontent-%COMP%]{padding:0 1rem}ion-button[_ngcontent-%COMP%]{text-wrap:wrap}.btn-info[_ngcontent-%COMP%]{width:40%;color:var(--ion-color-primary-contrast);--background: var(--ion-color-tertiary);font-size:.75rem;font-family:Noto Sans;font-weight:700;text-transform:uppercase;line-height:19.6px;word-wrap:break-word;padding:5px;text-wrap:wrap;text-align:center}.exit[_ngcontent-%COMP%]{--color: var(--ion-color-tertiary);--background: white}ion-modal[_ngcontent-%COMP%]{--height: 50%;--border-radius: 1rem;--box-shadow: 0 .625rem .938rem -.188rem rgb(0 0 0 / .1), 0 .25rem .375rem -.25rem rgb(0 0 0 / .1)}ion-modal[_ngcontent-%COMP%]::part(backdrop){background:#d1d5db;opacity:1}"]}),D})()},5553:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>C});var a=E(177),S=E(9417),p=E(8974),O=E(5402),c=E(2904),D=E(4438);let C=(()=>{var _;class F{}return(_=F).\u0275fac=function(m){return new(m||_)},_.\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()]}),F})()},6198:(Ce,ee,E)=>{"use strict";E.d(ee,{g:()=>p});var a=E(4412),S=E(4438);let p=(()=>{var O;class c{constructor(){this.languageSubject=new a.t(localStorage.getItem("DJPData.lang")||"en"),this.currentLanguage$=this.languageSubject.asObservable()}setLanguage(C){localStorage.setItem("DJPData.lang",C),this.languageSubject.next(C)}}return(O=c).\u0275fac=function(C){return new(C||O)},O.\u0275prov=S.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),c})()},446:(Ce,ee,E)=>{"use strict";E.d(ee,{g:()=>D});const c="../assets/appConfig/"+new URL(document.baseURI).hostname.split(".")[0]+".json",D=fetch(c).then(C=>{if(!C.ok)throw new Error("Network response was not ok");return C.json()}).then(C=>C).catch(C=>{console.error("There was a problem with the fetch operation:",C)})},3721:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>S});var a=E(4438);let S=(()=>{var p;class O{}return(p=O).\u0275fac=function(D){return new(D||p)},p.\u0275mod=a.$C({type:p}),p.\u0275inj=a.G2t({}),O})()},1984:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>S});var a=E(467);class S{constructor(){this._isInitialised=!1,this.config={},this.botMsg={}}static getInstance(){return S._instance||(S._instance=new S),S._instance}isInitialised(){return this._isInitialised}getConfig(){return this.config}init(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:(Ce,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),F=E(985),B=E(7374),m=E(3172);let T=(()=>{var l;class s{constructor(v,y){this.apiService=v,this.utilService=y,this.getJWTToken=(d,r)=>new Promise((f,L)=>{window.FilePath.getJWTToken(d,r,f,I=>{console.error(`${d} 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 F._g.Builder).withHost(m.$.api.BASE_URL).withPath(v).withType(F.kr.POST).withHeaders({"Content-Encoding":"gzip",Authorization:`Bearer ${yield y.generateMobileAppConsumerBearerToken()}`}).withBody({id:s.ID,ver:s.VERSION,ts:B().format(),request:{key:`${m.$.telmetry.PRODUCER_ID}-${yield y.getMobileDeviceConsumerKey()}`}}).build())})()}getBearerTokenFromKong(){var v=this;return(0,a.A)(function*(){return v.apiService.fetch(yield v.buildGetMobileDeviceConsumerSecretAPIRequest(m.$.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(m.$.api.KEY,m.$.api.SECRET)})()}}return(l=s).VERSION="1.0",l.ID="org.myjp.device.register",s})();class A{constructor(s,h,v){this.storageService=s,this.apiService=h,this.utilService=v,this.apiTokenHandler=new T(this.apiService,this.utilService)}interceptResponse(s,h){var v=this;return h.responseCode===F.xl.HTTP_UNAUTHORISED&&"Unauthorized"===h.body.message||h.responseCode===F.xl.HTTP_FORBIDDEN?this.apiTokenHandler.refreshAuthToken().pipe((0,_.M)(function(){var y=(0,a.A)(function*(d){yield v.storageService.setData("api_token",d)});return function(d){return y.apply(this,arguments)}}()),(0,p.Z)(()=>this.apiService.fetch(s))):(0,c.of)(h)}}var w=E(6598),R=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 P=(()=>{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 V=E(6421),W=E(5083),oe=E(1413);let me=(()=>{var l;class s{constructor(){this.http=W.pX}get(v,y,d,r){return this.invokeRequest(F.kr.GET,v+y,r,d)}patch(v,y,d,r){return this.invokeRequest(F.kr.PATCH,v+y,r,d)}post(v,y,d,r){return this.invokeRequest(F.kr.POST,v+y,r,d)}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,d,r){const f=new oe.B,L={url:y,method:v.toLowerCase(),headers:r};return v===F.kr.POST||v===F.kr.PATCH?L.data=d:(v===F.kr.GET||v===F.kr.DELETE)&&(L.params=d),this.http.request(L).then(I=>{I.data=I.data;let j=I.data;const J=[];if(j.data&&null!=j.data.djp_contents&&j.data.djp_contents.forEach(xe=>{let De=this.checkMimieType(null==xe?void 0:xe.url);J.push({agegroup:xe.agegroup,audience:xe.audience,bpp_id:xe.bpp_id,bpp_uri:xe.bpp_uri,competency:xe.competencies,category:xe.category,createdon:xe.createdon,curriculargoal:xe.curriculargoal,id:xe.item_id,identifier:xe.identifier,provider_id:xe.provider_id,provider_name:xe.provider_name,name:xe.name,description:xe.description,thumbnail:xe.thumbnail,domain:xe.domain,unique_id:xe.unique_id,language:xe.language,url:xe.url,sourceOrganisation:xe.sourceorg,midea:xe.midea,keywords:xe.keywords,lastupdatedon:xe.lastupdatedon,learningOutcomes:xe.learningOutcomes,status:xe.status,content_type:xe.content_type,mimetype:De})}),J){let xe;var ie;xe=j.data&&null!=j.data.djp_contents?{body:{result:J,audioText:null==I||null===(ie=I.data)||void 0===ie?void 0:ie.audioText},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers}:{body:{result:I.data},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers},f.next(xe),f.complete()}}).catch(I=>{console.error("error",I);const j={body:{},responseCode:I.status,errorMesg:"SERVER_ERROR",headers:I.headers,requestHeaders:L.headers};try{try{I.body=JSON.parse(I.error)}catch(J){if(j.body=I.error,I.status<=0)throw J}f.error(new Error)}catch{f.error(new Error),f.complete()}}),f}}return(l=s).\u0275fac=function(v){return new(v||l)},l.\u0275prov=R.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),s})();var te=E(5402);let se=(()=>{var l;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 d=(0,a.A)(function*(){let r;v=yield y.interceptRequest(v);try{switch(v.getType()){case F.kr.GET:r=yield(0,$.s)(y.http.get(v.getHost()||"this.host",v.getPath(),v.headers,v.getParameters()));break;case F.kr.PATCH:r=yield(0,$.s)(y.http.patch(v.getHost()||"this.host",v.getPath(),v.headers,v.body));break;case F.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(f){const L=I=>{if(I.responseCode>=400&&I.responseCode<=499)throw new P(`\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(!P.isInstance(f)&&!U.isInstance(f))throw f;try{return r=yield y.interceptResponse(v,f.response),L(r)}catch(I){if(I.responseCode)return L(I);throw I}}})();return(0,S.H)(d)}addGlobalHeader(v){var y,d;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,V.A)(),"X-CONSUMER-ID":null===(d=C.f.getInstance().getConfig().deviceInfo)||void 0===d?void 0:d.did,...r?{"x-preferred-language":r}:{}}}interceptRequest(v){var y=this;return(0,a.A)(function*(){const d=[];for(const r of y.requestInterceptors)d.push(r);for(const r of v.requestInterceptors)d.push(r);for(const r of d)v=yield(0,$.s)(r.interceptRequest(v));return v})()}interceptResponse(v,y){var d=this;return(0,a.A)(function*(){const r=[];for(const f of d.responseInterceptors)r.push(f);for(const f of v.getResponseInterceptors())r.push(f);for(const f of r)y=yield(0,$.s)(f.interceptResponse(v,y));if(y.responseCode!==F.xl.HTTP_SUCCESS)throw y;return y})()}buildInterceptorsFromRequest(v){v.withBearerToken&&-1===v.requestInterceptors.indexOf(this.bearerTokenInjectRequestInterceptor)&&v.requestInterceptors.push(this.getBearerTokenInjectRequestInterceptor())}}return(l=s).\u0275fac=function(v){return new(v||l)(R.KVO(me),R.KVO(te.c$))},l.\u0275prov=R.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),s})();var g=E(2904),n=E(8974);let o=(()=>{var l;class s{constructor(v,y,d,r){var f=this;this.httpService=v,this.storageService=y,this.utilService=d,this.toastController=r,this.connected=!0,this.language="",this.defaultRequestInterceptors=[],this.defaultResponseInterceptors=[],w.l.addListener("networkStatusChange",function(){var L=(0,a.A)(function*(I){f.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 T(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(l=s).\u0275fac=function(v){return new(v||l)(R.KVO(se),R.KVO(g.n$),R.KVO(g.a0),R.KVO(n.K_))},l.\u0275prov=R.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),s})()},985:(Ce,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:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>m});var a=E(467),S=E(5083),p=function(T){return T.Dark="DARK",T.Light="LIGHT",T.Default="DEFAULT",T}(p||{}),O=function(T){return T.None="NONE",T.Slide="SLIDE",T.Fade="FADE",T}(O||{});const C=(0,S.F3)("StatusBar");var _=E(1413),F=E(8941),B=E(4438);let m=(()=>{var T;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(),F.q.getInfo().then(R=>{this.appName=R.name})}filterEvent(R){this.filterConfig.next(R)}sidebarEvent(R){this.headerEvent.next(R.name)}sideMenuItemEvents(R){this.sideMenuItemEvent.next(null==R?void 0:R.filter)}updatePageConfig(R){this.headerConfig.next(R)}deviceBackBtnEvent(R){this.deviceBackbtnConfig.next(R)}hideHeader(){var R=this;return(0,a.A)(function*(){const $=R.getDefaultPageConfig();$.showHeader=!1,R.updatePageConfig($)})()}getDefaultPageConfig(){return{showHeader:!0,pageTitle:this.appName,showbackButton:!1,actionButtons:[""]}}showHeader(R,$,k){var M=this;return(0,a.A)(function*(){const P=M.getDefaultPageConfig();P.pageTitle=null!=R?R:M.appName,P.showbackButton=null!=$&&$,P.actionButtons=null!=k?k:[""],M.updatePageConfig(P)})()}hideStatusBar(){C.hide()}showStatusBar(R,$){C.show({animation:O.None}),C.setStyle({style:$?p.Dark:p.Light}),C.setBackgroundColor({color:null!=$?$:"#FFFAEE"}),C.setOverlaysWebView({overlay:R})}}return(T=A).\u0275fac=function(R){return new(R||T)},T.\u0275prov=B.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),A})()},4447:(Ce,ee,E)=>{"use strict";E.d(ee,{i:()=>A});var a=E(467),S=E(5083),p=function(w){return w[w.UNKNOWN=0]="UNKNOWN",w[w.UPDATE_NOT_AVAILABLE=1]="UPDATE_NOT_AVAILABLE",w[w.UPDATE_AVAILABLE=2]="UPDATE_AVAILABLE",w[w.UPDATE_IN_PROGRESS=3]="UPDATE_IN_PROGRESS",w}(p||{});const D=(0,S.F3)("AppUpdate",{web:()=>E.e(5959).then(E.bind(E,5959)).then(w=>new w.AppUpdateWeb)});var C=E(4438),_=E(8974),F=E(5402);let B=(()=>{var w;class R{constructor(k){this.popoverCtrl=k}ngOnInit(){}handleButtonAction(k){this.popoverCtrl.dismiss(k)}}return(w=R).\u0275fac=function(k){return new(k||w)(C.rXU(_.IE))},w.\u0275cmp=C.VBU({type:w,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,F.D9],styles:["ion-content[_ngcontent-%COMP%]{--padding-top: 0px !important}ion-button[_ngcontent-%COMP%]{color:var(--ion-color-primary)}"]}),R})();var m=E(3021),T=E(4517);let A=(()=>{var w;class R{constructor(k,M,P){this.router=k,this.platform=M,this.popoverController=P,this.forDeepLink=!1,this.showListPage=!1}checkForUpdate(){var k=this;return(0,a.A)(function*(){const M=yield D.getAppUpdateInfo();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 P=yield k.popoverController.create({component:B,cssClass:"update-modal",translucent:!0,dismissOnSelect:!0});yield P.present(),P.onDidDismiss().then(U=>{"restart"==U.data&&D.completeFlexibleUpdate()})}))))})()}}return(w=R).\u0275fac=function(k){return new(k||w)(C.KVO(m.Ix),C.KVO(T.OD),C.KVO(_.IE))},w.\u0275prov=C.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),R})()},6011:(Ce,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(F,B){this.dbService=F,this.telemetryService=B}initialize(){var F=this;return(0,a.A)(function*(){yield F.dbService.initializePlugin()})()}}return(D=C).\u0275fac=function(F){return new(F||D)(S.KVO(p.a),S.KVO(O.H))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},4999:(Ce,ee,E)=>{"use strict";E.d(ee,{O:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="chat",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_MESSAGE="message",p.COLUMN_NAME_BOT_TYPE="bot_type",p.COLUMN_NAME_FROM_ME="from_me",p.COLUMN_NAME_REACTIONS="reactions",p.COLUMN_NAME_REQUEST_ID="request_id",p.COLUMN_NAME_MEDIA_TYPE="media_type",p.COLUMN_NAME_MEDIA_DATA="media_data",p.COLUMN_NAME_MEDIA_PATH="media_path",p.COLUMN_NAME_DURATION="duration",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT"+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MESSAGE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_BOT_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_FROM_ME+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_REACTIONS+a.K.SPACE+a.K.INT_TYPE+" DEFAULT -1"+a.K.COMMA_SEP+p.COLUMN_NAME_REQUEST_ID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_DATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_PATH+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_DURATION+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_MESSAGE},\n ${p.COLUMN_NAME_BOT_TYPE},\n ${p.COLUMN_NAME_FROM_ME},\n ${p.COLUMN_NAME_MEDIA_TYPE},\n ${p.COLUMN_NAME_MEDIA_DATA},\n ${p.COLUMN_NAME_MEDIA_PATH},\n ${p.COLUMN_NAME_DURATION},\n ${p.COLUMN_NAME_TIME_STAMP},\n ${p.COLUMN_NAME_REACTIONS}) \n VALUES (?,?,?,?,?,?,?,?,?,?)`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p}(S||{})},3871:(Ce,ee,E)=>{"use strict";E.d(ee,{d:()=>c});var a=E(467),S=E(4438),p=E(3486);let c=(()=>{var D;class C{constructor(F){this.storageService=F}initStorage(){var F=this;return(0,a.A)(function*(){const B=(new Date).getTime()+36e5;(yield F.storageService.getData("firstTimeLoad"))||(yield F.storageService.setData("firstTimeLoad","true")),(yield F.storageService.getData("validTimeStamp"))||F.storageService.setData("validTimeStamp",JSON.stringify(B))})()}getCacheTimeout(){var F=this;return(0,a.A)(function*(){let B=yield F.storageService.getData("firstTimeLoad"),m=(new Date).getTime(),T=yield F.storageService.getData("validTimeStamp");return m>JSON.parse(T)?(F.storageService.removeData("validTimeStamp"),F.initStorage(),!0):"true"===B&&(yield F.storageService.setData("firstTimeLoad","false"),!0)})()}}return(D=C).\u0275fac=function(F){return new(F||D)(S.KVO(p.n))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3696:(Ce,ee,E)=>{"use strict";E.d(ee,{w:()=>B});var a=E(467),S=E(3172),p=E(985),O=E(3207),c=E(6354),D=E(9437),C=E(446),_=E(4438),F=E(2700);let B=(()=>{var m;class T{constructor(w){this.apiService=w,C.g.then(R=>{this.configVariables=R}).catch(R=>{console.error("Failed to load configuration:",R)})}getConfigMeta(){var w=this;return(0,a.A)(function*(){const R=(new p._g.Builder).withHost(S.$.api.BASE_URL).withPath(S.$.api.CONFIG).withType(p.kr.GET).withBearerToken(!0).build();return(0,O.s)(w.apiService.fetch(R)).then($=>{if(null!=$&&$.body.result)return null==$?void 0:$.body.result}).catch($=>{console.log("err ",$)})})()}getAllContent(w,R){var $=this;return(0,a.A)(function*(){let k={language:R,request:{orderBy:{mimetype:"video/x-youtube"},filters:$.configVariables.defaultContentFilter[0]}};const M=(new p._g.Builder).withHost(S.$.api.BASE_URL).withPath(S.$.api.PAGE_SEARCH_API).withType(p.kr.POST).withBearerToken(!0).withBody(k).withLanguge(R).build();return(0,O.s)($.apiService.fetch(M).pipe((0,c.T)(P=>P.body.result),(0,D.W)(P=>{throw P})))})()}}return(m=T).\u0275fac=function(w){return new(w||m)(_.KVO(F.G))},m.\u0275prov=_.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),T})()},444:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>R});var a=E(467),S=E(532),p=E(5396),O=E(4870);class c{static mapContentToRecentlyViewedContentEntry(k,M,P){return{[p.a.COLUMN_NAME_IDENTIFIER]:P,[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 P=JSON.parse(k.content_metadata);return P.isLiked=!!k.reaction_identifier,k.content_metadata=JSON.stringify(P),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),F=E(985),B=E(3207),m=E(742),T=E(4438),A=E(2904),w=E(2700);let R=(()=>{var $;class k{constructor(P,U){this.dbService=P,this.apiService=U,this.results=[]}deleteAllContents(){return this.dbService.remove(S.a.deleteQuery(),{source:"djp"})}saveContents(P){const U=[];return P.map(V=>{U.push({statement:S.a.insertQuery(),values:O.Z.mapContentToValues(V)})}),this.dbService.executeSet(U)}getRecentlyViewedContent(P){var U=this;return(0,a.A)(function*(){const V=`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 ${m.S.TABLE_NAME} cr ON rvc.content_identifier = reaction_identifier \n where rvc.uid='${P}' ORDER BY rvc.ts DESC`,W=yield U.dbService.executeQuery(V),oe=[];return null==W||W.map(me=>{oe.push(D.mapContentRVCtoRecentlyViedContent(me,(0,C.A)()))}),Promise.resolve(oe)})()}getAllContent(){var P=this;return(0,a.A)(function*(){const V=[];return P.dbService.readDbData(`SELECT c.*, cr.content_identifier from ${S.a.TABLE_NAME} c LEFT JOIN ${m.S.TABLE_NAME} cr ON c.identifier = cr.content_identifier WHERE ${S.a.COLUMN_NAME_SOURCE} NOT IN ('local', 'dialcode') ORDER BY ${S.a.COLUMN_NAME_TIME_STAMP}`).then(W=>(W.map(oe=>{const me=JSON.parse(oe.metadata);oe.metaData=me,V.push(oe)}),Promise.resolve(V)))})()}likeContent(P,U,V){var W=this;return(0,a.A)(function*(){return V?W.dbService.readDbData(m.S.readQuery(),{content_identifier:P.metaData.identifier}).then(oe=>{const me=oe?m.S.updateQuery():m.S.insertQuery(),te=oe?{content_identifier:P.metaData.identifier,uid:U}:void 0;return W.dbService.save(me,O.Z.mapContentReactionEntry(P.metaData.identifier,"guest"),te)}):W.dbService.remove(m.S.deleteQuery(),{content_identifier:P.metaData.identifier,uid:U})})()}markContentAsViewed(P){var U=this;return(0,a.A)(function*(){return(yield U.dbService.readDbData(S.a.readQuery(),{identifier:P.metaData.identifier}))||(yield U.dbService.executeSet([{statement:S.a.insertQuery(),values:O.Z.mapContentToValues(P)}])),U.dbService.readDbData(p.a.readQuery(),{content_identifier:P.metaData.identifier}).then(W=>{const oe=W?p.a.updateQuery():p.a.insertQuery(),me=W?{identifier:P.metaData.identifier}:void 0;return U.dbService.save(oe,c.mapContentToRecentlyViewedContentEntry(P,"guest",(0,C.A)()),me)})})()}searchContentInDiksha(P){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:P,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 V=(new F._g.Builder).withHost("https://diksha.gov.in/").withPath("api/content/v1/search").withType(F.kr.POST).withBody(U).build();return(0,B.s)(this.apiService.fetch(V))}getCollectionHierarchy(P){const U=(new F._g.Builder).withHost("https://diksha.gov.in/action/content/v3/hierarchy/").withPath(`${P}`).withType(F.kr.GET).build();return(0,B.s)(this.apiService.fetch(U))}getContents(P){return this.searchContentInDiksha(P).then(U=>{var V;return null!==(V=U.body.result)&&void 0!==V&&null!==(V=V.content)&&void 0!==V&&V.length?this.getCollectionHierarchy(U.body.result.content[0].identifier):""}).then(U=>{this.results=[];const V=[];return U&&(this.showAllChild(U.body.result.content),this.results.map(W=>{V.push({source:"dialcode",sourceType:"Diksha",metaData:{identifier:null==W?void 0:W.identifier,name:null==W?void 0:W.name,thumbnail:null==W?void 0:W.posterImage,description:null==W?void 0:W.name,mimetype:(null==W?void 0:W.mimetype)||(null==W?void 0:W.mimeType),url:null==W?void 0:W.streamingUrl,focus:null==W?void 0:W.focus,keyword:null==W?void 0:W.keyword,domain:null==W?void 0:W.domain,curriculargoal:null==W?void 0:W.curriculargoal,competencies:null==W?void 0:W.competencies,language:null==W?void 0:W.language,category:null==W?void 0:W.category,audience:null==W?void 0:W.audience,status:null==W?void 0:W.status,createdon:null==W?void 0:W.createdOn,lastupdatedon:(null==W?void 0:W.lastupdatedon)||(null==W?void 0:W.lastUpdatedOn),artifactUrl:null==W?void 0:W.artifactUrl}})})),V}).catch(U=>{throw console.error(U),U})}showAllChild(P){let U=_.z5.VIDEOS;U.indexOf(_.z5.PDF)>-1||U.push(_.z5.PDF),void 0!==P.children&&P.children.length?P.children.forEach(V=>{this.showAllChild(V)}):U.indexOf(P.mimeType)>-1&&this.results.push(P)}readDikshaContents(P){const U=(new F._g.Builder).withHost("https://diksha.gov.in/api/content/v1/read/").withPath(`${P}`).withType(F.kr.GET).build();return(0,B.s)(this.apiService.fetch(U))}}return($=k).\u0275fac=function(P){return new(P||$)(T.KVO(A.at),T.KVO(w.G))},$.\u0275prov=T.jDH({token:$,factory:$.\u0275fac,providedIn:"root"}),k})()},742:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="content_reactions",p._ID="_id",p.COLUMN_NAME_CONTENT_IDENTIFIER="content_identifier",p.COLUMN_NAME_REACTION_IDENTIFIER="reaction_identifier",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.insertQueryWithColoumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_CONTENT_IDENTIFIER},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?)`,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p}(S||{})},532:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_SOURCE="source",p.COLUMN_NAME_SOURCE_TYPE="source_type",p.COLUMN_NAME_METADATA="metadata",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+NaN+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_METADATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_SOURCE},\n ${p.COLUMN_NAME_SOURCE_TYPE},\n ${p.COLUMN_NAME_METADATA},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?,?,?)`,p}(S||{})},5396:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="recently_viewed_content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_CONTENT_IDENTIFIER="content_identifier",p.COLUMN_NAME_CONTENT_METADATA="content_metadata",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_MIME_TYPE="mime_type",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY"+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_METADATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MIME_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.deleteTable=()=>"DROP TABLE IF EXISTS"+p.TABLE_NAME,p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_CONTENT_IDENTIFIER},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_CONTENT_METADATA},\n ${p.COLUMN_NAME_MIME_TYPE},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?,?,?,?)`,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p}(S||{})},4870:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>p});var a=E(742),S=E(532);class p{static mapContentToContentEntry(c){return{[S.a.COLUMN_NAME_IDENTIFIER]:c.metaData.identifier,[S.a.COLUMN_NAME_SOURCE]:c.source,[S.a.COLUMN_NAME_SOURCE_TYPE]:c.sourceType,[S.a.COLUMN_NAME_METADATA]:JSON.stringify(c.metaData),[S.a.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(c){return[c.metaData.identifier,c.source,c.sourceType,JSON.stringify(c.metaData),Date.now()]}static mapContentReactionEntry(c,D){return{[a.S.COLUMN_NAME_CONTENT_IDENTIFIER]:c,[a.S.COLUMN_NAME_UID]:D,[a.S.COLUMN_NAME_TIME_STAMP]:Date.now()}}}},4591:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>$});var a=E(467),S=E(5083);class p{constructor(M){this.sqlite=M,this._connectionDict=new Map}initWebStore(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.initWebStore(),Promise.resolve()}catch(P){return Promise.reject(P)}})()}saveToStore(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.saveToStore({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}saveToLocalDisk(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.saveToLocalDisk({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getFromLocalDiskToStore(M){var P=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield P.sqlite.getFromLocalDiskToStore({overwrite:U}),Promise.resolve()}catch(V){return Promise.reject(V)}})()}echo(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.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 P=yield M.sqlite.isSecretStored();return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}setEncryptionSecret(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.setEncryptionSecret({passphrase:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}changeEncryptionSecret(M,P){var U=this;return(0,a.A)(function*(){try{return yield U.sqlite.changeEncryptionSecret({passphrase:M,oldpassphrase:P}),Promise.resolve()}catch(V){return Promise.reject(V)}})()}clearEncryptionSecret(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.clearEncryptionSecret(),Promise.resolve()}catch(P){return Promise.reject(P)}})()}checkEncryptionSecret(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.sqlite.checkEncryptionSecret({passphrase:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}addUpgradeStatement(M,P){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:P}),Promise.resolve()}catch(V){return Promise.reject(V)}})()}createConnection(M,P,U,V,W){var oe=this;return(0,a.A)(function*(){try{M.endsWith(".db")&&(M=M.slice(0,-3)),yield oe.sqlite.createConnection({database:M,encrypted:P,mode:U,version:V,readonly:W});const me=new O(M,W,oe.sqlite);return oe._connectionDict.set(W?`RO_${M}`:`RW_${M}`,me),Promise.resolve(me)}catch(me){return Promise.reject(me)}})()}closeConnection(M,P){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:P}),U._connectionDict.delete(P?`RO_${M}`:`RW_${M}`),Promise.resolve()}catch(V){return Promise.reject(V)}})()}isConnection(M,P){var U=this;return(0,a.A)(function*(){const V={};return M.endsWith(".db")&&(M=M.slice(0,-3)),V.result=U._connectionDict.has(P?`RO_${M}`:`RW_${M}`),Promise.resolve(V)})()}retrieveConnection(M,P){var U=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));const V=P?`RO_${M}`:`RW_${M}`;if(U._connectionDict.has(V)){const W=U._connectionDict.get(V);return typeof W<"u"?Promise.resolve(W):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}getNCDatabasePath(M,P){var U=this;return(0,a.A)(function*(){try{const V=yield U.sqlite.getNCDatabasePath({path:M,database:P});return Promise.resolve(V)}catch(V){return Promise.reject(V)}})()}createNCConnection(M,P){var U=this;return(0,a.A)(function*(){try{yield U.sqlite.createNCConnection({databasePath:M,version:P});const V=new O(M,!0,U.sqlite);return U._connectionDict.set(`RO_${M})`,V),Promise.resolve(V)}catch(V){return Promise.reject(V)}})()}closeNCConnection(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.closeNCConnection({databasePath:M}),P._connectionDict.delete(`RO_${M})`),Promise.resolve()}catch(U){return Promise.reject(U)}})()}isNCConnection(M){var P=this;return(0,a.A)(function*(){const U={};return U.result=P._connectionDict.has(`RO_${M})`),Promise.resolve(U)})()}retrieveNCConnection(M){var P=this;return(0,a.A)(function*(){if(P._connectionDict.has(M)){const V=P._connectionDict.get(`RO_${M})`);return typeof V<"u"?Promise.resolve(V):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}isNCDatabase(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.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 P=new Map;try{for(const U of M._connectionDict.keys()){const V=U.substring(3),W="RO_"===U.substring(0,3);yield M.sqlite.closeConnection({database:V,readonly:W}),P.set(U,null)}for(const U of P.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 P=[...M._connectionDict.keys()],U=[],V=[];for(const oe of P)U.push(oe.substring(0,2)),V.push(oe.substring(3));const W=yield M.sqlite.checkConnectionsConsistency({dbNames:V,openModes:U});return W.result||(M._connectionDict=new Map),Promise.resolve(W)}catch(P){return M._connectionDict=new Map,Promise.reject(P)}})()}importFromJson(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.sqlite.importFromJson({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isJsonValid(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.sqlite.isJsonValid({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}copyFromAssets(M){var P=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield P.sqlite.copyFromAssets({overwrite:U}),Promise.resolve()}catch(V){return Promise.reject(V)}})()}getFromHTTPRequest(M,P){var U=this;return(0,a.A)(function*(){const V=null==P||P;try{return yield U.sqlite.getFromHTTPRequest({url:M,overwrite:V}),Promise.resolve()}catch(W){return Promise.reject(W)}})()}isDatabaseEncrypted(M){var P=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield P.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 P=yield M.sqlite.isInConfigEncryption();return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}isInConfigBiometricAuth(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.isInConfigBiometricAuth();return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}isDatabase(M){var P=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield P.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(P){return Promise.reject(P)}})()}getMigratableDbList(M){var P=this;return(0,a.A)(function*(){const U=M||"default";try{const V=yield P.sqlite.getMigratableDbList({folderPath:U});return Promise.resolve(V)}catch(V){return Promise.reject(V)}})()}addSQLiteSuffix(M,P){var U=this;return(0,a.A)(function*(){const V=M||"default",W=P||[];try{const oe=yield U.sqlite.addSQLiteSuffix({folderPath:V,dbNameList:W});return Promise.resolve(oe)}catch(oe){return Promise.reject(oe)}})()}deleteOldDatabases(M,P){var U=this;return(0,a.A)(function*(){const V=M||"default",W=P||[];try{const oe=yield U.sqlite.deleteOldDatabases({folderPath:V,dbNameList:W});return Promise.resolve(oe)}catch(oe){return Promise.reject(oe)}})()}moveDatabasesAndAddSuffix(M,P){var U=this;return(0,a.A)(function*(){return U.sqlite.moveDatabasesAndAddSuffix({folderPath:M||"default",dbNameList:P||[]})})()}}class O{constructor(M,P,U){this.dbName=M,this.readonly=P,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(P){return Promise.reject(P)}})()}close(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.close({database:M.dbName,readonly:M.readonly}),Promise.resolve()}catch(P){return Promise.reject(P)}})()}beginTransaction(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.beginTransaction({database:M.dbName});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}commitTransaction(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.commitTransaction({database:M.dbName});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}rollbackTransaction(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.rollbackTransaction({database:M.dbName});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}isTransactionActive(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.isTransactionActive({database:M.dbName});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}loadExtension(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.loadExtension({database:P.dbName,path:M,readonly:P.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}enableLoadExtension(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.enableLoadExtension({database:P.dbName,toggle:M,readonly:P.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getUrl(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.getUrl({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}getVersion(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.getVersion({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}getTableList(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.getTableList({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}execute(M,P=!0,U=!0){var V=this;return(0,a.A)(function*(){try{if(V.readonly)return Promise.reject("not allowed in read-only mode");{const W=yield V.sqlite.execute({database:V.dbName,statements:M,transaction:P,readonly:!1,isSQL92:U});return Promise.resolve(W)}}catch(W){return Promise.reject(W)}})()}query(M,P,U=!0){var V=this;return(0,a.A)(function*(){let W;try{return W=P&&P.length>0?yield V.sqlite.query({database:V.dbName,statement:M,values:P,readonly:V.readonly,isSQL92:!0}):yield V.sqlite.query({database:V.dbName,statement:M,values:[],readonly:V.readonly,isSQL92:U}),W=yield V.reorderRows(W),Promise.resolve(W)}catch(oe){return Promise.reject(oe)}})()}run(M,P,U=!0,V="no",W=!0){var oe=this;return(0,a.A)(function*(){let me;try{return oe.readonly?Promise.reject("not allowed in read-only mode"):(me=P&&P.length>0?yield oe.sqlite.run({database:oe.dbName,statement:M,values:P,transaction:U,readonly:!1,returnMode:V,isSQL92:!0}):yield oe.sqlite.run({database:oe.dbName,statement:M,values:[],transaction:U,readonly:!1,returnMode:V,isSQL92:W}),me.changes=yield oe.reorderRows(me.changes),Promise.resolve(me))}catch(te){return Promise.reject(te)}})()}executeSet(M,P=!0,U="no",V=!0){var W=this;return(0,a.A)(function*(){let oe;try{return W.readonly?Promise.reject("not allowed in read-only mode"):(oe=yield W.sqlite.executeSet({database:W.dbName,set:M,transaction:P,readonly:!1,returnMode:U,isSQL92:V}),oe.changes=yield W.reorderRows(oe.changes),Promise.resolve(oe))}catch(me){return Promise.reject(me)}})()}isExists(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.isDBExists({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}isTable(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.sqlite.isTableExists({database:P.dbName,table:M,readonly:P.readonly});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isDBOpen(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.isDBOpen({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}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(P){return Promise.reject(P)}})()}createSyncTable(){var M=this;return(0,a.A)(function*(){try{if(M.readonly)return Promise.reject("not allowed in read-only mode");{const P=yield M.sqlite.createSyncTable({database:M.dbName,readonly:!1});return Promise.resolve(P)}}catch(P){return Promise.reject(P)}})()}setSyncDate(M){var P=this;return(0,a.A)(function*(){try{return P.readonly?Promise.reject("not allowed in read-only mode"):(yield P.sqlite.setSyncDate({database:P.dbName,syncdate:M,readonly:!1}),Promise.resolve())}catch(U){return Promise.reject(U)}})()}getSyncDate(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.getSyncDate({database:M.dbName,readonly:M.readonly});let U="";return P.syncDate>0&&(U=new Date(1e3*P.syncDate).toISOString()),Promise.resolve(U)}catch(P){return Promise.reject(P)}})()}exportToJson(M,P=!1){var U=this;return(0,a.A)(function*(){try{const V=yield U.sqlite.exportToJson({database:U.dbName,jsonexportmode:M,readonly:U.readonly,encrypted:P});return Promise.resolve(V)}catch(V){return Promise.reject(V)}})()}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(P){return Promise.reject(P)}})()}executeTransaction(M,P=!0){var U=this;return(0,a.A)(function*(){let V=0,W=!1;if(U.readonly)return Promise.reject("not allowed in read-only mode");if(yield U.sqlite.beginTransaction({database:U.dbName}),W=yield U.sqlite.isTransactionActive({database:U.dbName}),!W)return Promise.reject("After Begin Transaction, no transaction active");try{for(const te of M){if("object"!=typeof te||!("statement"in te))throw new Error("Error a task.statement must be provided");if("values"in te&&te.values&&te.values.length>0){const se=te.statement.toUpperCase().includes("RETURNING")?"all":"no",g=yield U.sqlite.run({database:U.dbName,statement:te.statement,values:te.values,transaction:!1,readonly:!1,returnMode:se,isSQL92:P});if(g.changes.changes<=0)throw new Error("Error in transaction method run ");V+=g.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 ");V+=se.changes.changes}}return V+=(yield U.sqlite.commitTransaction({database:U.dbName})).changes.changes,Promise.resolve({changes:{changes:V}})}catch(oe){const me=oe.message?oe.message:oe;return yield U.sqlite.rollbackTransaction({database:U.dbName}),Promise.reject(me)}})()}reorderRows(M){return(0,a.A)(function*(){const P=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,V=[];for(let W=1;WE.e(4612).then(E.bind(E,4612)).then(k=>new k.CapacitorSQLiteWeb),electron:()=>window.CapacitorCustomPlatform.plugins.CapacitorSQLite});var D=E(56),C=E(1503),_=E(2798),F=E(5396),B=E(2814),m=E(532),T=E(5870),A=E(742),w=E(4999),R=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(B.C.getCreateEntry()),yield U.createTable(T.K.getCreateEntry()),yield U.createTable(m.a.getCreateEntry()),yield U.createTable(F.a.getCreateEntry()),yield U.createTable(_.J.getCreateEntry()),yield U.createTable(C.y.getCreateEntry()),yield U.createTable(A.S.getCreateEntry()),yield U.createTable(w.O.getCreateEntry()),!0})()}initWebStore(){var U=this;return(0,a.A)(function*(){try{yield U.sqliteConnection.initWebStore()}catch(V){return Promise.reject(`initWebStore: ${V}`)}})()}openDatabase(U,V,W,oe,me){var te=this;return(0,a.A)(function*(){let se;const g=(yield te.sqliteConnection.checkConnectionsConsistency()).result;let n=(yield te.sqliteConnection.isConnection(U,me)).result;return se=g&&n?yield te.sqliteConnection.retrieveConnection(U,me):yield te.sqliteConnection.createConnection(U,V,W,oe,me),yield se.open(),te.sqliteDBConnection=se,!0})()}closeConnection(U,V){var W=this;return(0,a.A)(function*(){const oe=V||!1;return yield W.sqliteConnection.closeConnection(U,oe)})()}createTable(U){var V=this;return(0,a.A)(function*(){try{const W=(yield V.sqliteDBConnection.query(U)).values;return W.length>0?W:null}catch(W){return Promise.reject(`create table err: ${W.message?W.message:W}`)}})()}executeQuery(U){var V=this;return(0,a.A)(function*(){try{const W=(yield V.sqliteDBConnection.query(U)).values;return W.length>0?W:null}catch(W){return Promise.reject(`select table err: ${W.message?W.message:W}`)}})()}executeSet(U){var V=this;return(0,a.A)(function*(){try{return yield V.sqliteDBConnection.executeSet(U)}catch(W){return Promise.reject(`create table err: ${W.message?W.message:W}`)}})()}readDbData(U,V,W){var oe=this;return(0,a.A)(function*(){try{if(V){const me=Object.keys(V)[0],te=`${U} WHERE ${me}='${V[me]}' ${W||""}`,se=(yield oe.sqliteDBConnection.query(te)).values;return se.length>0?se:null}{const me=(yield oe.sqliteDBConnection.query(U)).values;return me.length>0?me:null}}catch(me){return Promise.reject(`readDbData err: ${me.message?me.message:me}`)}})()}save(U,V,W){var oe=this;return(0,a.A)(function*(){const me=!!W,te=Object.keys(V);let n,se="",g=[];for(const o of te)g.push(V[o]);if(me){Object.keys(W);const l=yield oe.setNameForUpdate(te,g);if(0===l.length)return Promise.reject("save: update no SET");se=`${U} ${l} WHERE ${oe.getWhereStatement(W)}`,yield oe.sqliteDBConnection.query(se)}else{const o=[];for(const l of te)o.push("?");if(se=`${U} (${te.toString()}) VALUES (${o.toString()});`,n=yield oe.sqliteDBConnection.run(se,g),1!=n.changes.changes)return Promise.reject("save: insert changes != 1")}})()}remove(U,V){var W=this;return(0,a.A)(function*(){Object.keys(V);const me=`${U} WHERE ${W.getWhereStatement(V)};`;return(yield W.sqliteDBConnection.run(me)).changes})()}getWhereStatement(U){let V="";const W=Object.keys(U);for(let oe=0;oe1?(W=W.slice(0,-1),W):Promise.reject("SetNameForUpdate: length = 0")})()}}return(k=M).\u0275fac=function(U){return new(U||k)},k.\u0275prov=R.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),M})()},2814:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="telemtry",p._ID="_id",p.COLUMN_EVENT_TYPE="event_type",p.COLUMN_EVENT="event",p.COLUMN_TIMESTAMP="timestamp",p.COLUMN_PRIORITY="priority",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"+a.K.COMMA_SEP+p.COLUMN_EVENT_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_EVENT+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_TIMESTAMP+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_PRIORITY+a.K.SPACE+a.K.INT_TYPE+")",p.readDataEntries=()=>"SELECT * FROM "+p.TABLE_NAME,p.delteFromTable=()=>"DELETE FROM "+p.TABLE_NAME+" WHERE ",p.insertData=()=>"INSERT INTO "+p.TABLE_NAME,p.update=()=>"UPDATE "+p.TABLE_NAME+" SET ",p.deleteTable=()=>"DROP TABLE IF EXISTS "+p.TABLE_NAME,p}(S||{})},8402:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(467),S=E(2739),p=E(4438),O=E(8974),c=E(5402);let D=(()=>{var C;class _{constructor(B,m){this.toastController=B,this.translate=m}downlaodContent(B){var m=this;return(0,a.A)(function*(){var T;m.presentToast("Downloading ....");let A=B.metaData.artifactUrl?B.metaData.artifactUrl.split("/"):B.metaData.url.split("/"),w=null!==(T=B.metaData.artifactUrl)&&void 0!==T?T:B.metaData.url;const $=yield(yield fetch(w)).blob(),k=yield m.convertBlobToBase64($);try{return yield S.YA.mkdir({path:"downloadedContents",directory:S.__.Data}),yield m.writeFileStorage(A,k)}catch{return yield m.writeFileStorage(A,k)}})()}writeFileStorage(B,m){var T=this;return(0,a.A)(function*(){try{let A=yield S.YA.writeFile({path:`downloadedContents/${B[B.length-1]}`,data:m,directory:S.__.Data});return yield T.toast.dismiss(),A.uri?yield T.presentToast("Downloaded successfully"):yield T.presentToast("Failed to download"),setTimeout((0,a.A)(function*(){yield T.toast.dismiss()}),100),A}catch(A){console.log("e ",A)}})()}presentToast(B){var m=this;return(0,a.A)(function*(){m.toast=yield m.toastController.create({message:m.translate.instant(B),position:"bottom",color:"dark"}),yield m.toast.present()})()}convertBlobToBase64(B){return new Promise((m,T)=>{const A=new FileReader;A.onerror=T,A.onload=()=>{m(A.result)},A.readAsDataURL(B)})}}return(C=_).\u0275fac=function(B){return new(B||C)(p.KVO(O.K_),p.KVO(c.c$))},C.\u0275prov=p.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}),_})()},2904:(Ce,ee,E)=>{"use strict";E.d(ee,{Gf:()=>C.G,Ux:()=>c.U,F_:()=>o,dk:()=>w.d,we:()=>_.w,at:()=>S.a,XU:()=>A,Ze:()=>l.Z,MK:()=>f,hs:()=>F.h,XI:()=>R.X,Sc:()=>$.S,n$:()=>a.n,q4:()=>B.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),F=E(8014),B=E(7594),m=E(467),T=E(4438);let A=(()=>{var L;class I{constructor(J,ie){this.apiService=J,this.preprocessService=ie}process(J){return(0,m.A)(function*(){})()}}return(L=I).\u0275fac=function(J){return new(J||L)(T.KVO(C.G),T.KVO(F.h))},L.\u0275prov=T.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})();var w=E(3871),R=E(9836),$=E(2186),k=E(3172),M=E(985),P=E(3207),U=E(6354),V=E(9437),W=E(56),oe=E(4999);class me{static mapChatToChatValues(I){return[I.identifier,I.message,I.botType,I.fromMe,I.mediaMimeType,I.mediaData,I.mediaUrl,I.duration,I.ts,I.reaction]}static mapChatToChatEntryToModel(I){return{identifier:I[oe.O.COLUMN_NAME_IDENTIFIER],message:I[oe.O.COLUMN_NAME_MESSAGE],messageType:I[oe.O.COLUMN_NAME_MEDIA_TYPE],botType:I[oe.O.COLUMN_NAME_BOT_TYPE],fromMe:I[oe.O.COLUMN_NAME_FROM_ME],mediaMimeType:I[oe.O.COLUMN_NAME_MEDIA_TYPE],mediaData:I[oe.O.COLUMN_NAME_MEDIA_DATA],mediaUrl:I[oe.O.COLUMN_NAME_MEDIA_PATH],duration:I[oe.O.COLUMN_NAME_DURATION],ts:I[oe.O.COLUMN_NAME_TIME_STAMP],reaction:I[oe.O.COLUMN_NAME_REACTIONS]}}}var te=E(2739),se=E(1626),g=E(446),n=E(5402);let o=(()=>{var L;class I{constructor(J,ie,xe){this.apiService=J,this.translate=ie,this.dbService=xe,g.g.then(De=>{this.domainConfig=De}).catch(De=>{console.error("Failed to load configuration:",De)})}getBotMessage(J,ie,xe,De){var Q=this;return(0,m.A)(function*(){let ae=Q.getBotApiPath(xe),tt={input:{},output:{format:J?"text":"audio"}};""!==J?tt.input={language:De,text:J,audio:"",context:localStorage.getItem("subDomain")+"_"+xe}:""!==ie&&(tt.input={language:De,audio:ie,text:"",context:localStorage.getItem("subDomain")+"_"+xe});let Oe=(new se.Lr).set("Authorization","Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtb2JpbGVfZGV2aWNlIn0.W9cvngZh0_Y6hcGCBqS8MZOejkUxU9ptnJFji6VBHtA").set("Content-Type","application/json");const pe=Oe.keys().reduce((Be,re)=>(Be[re]=Oe.getAll(re),Be),{}),Te=(new M._g.Builder).withHost(k.$.api.BASE_URL_BOT).withPath(ae).withType(M.kr.POST).withHeaders(pe).withBody(tt).withLanguge(De).build();return(0,P.s)(Q.apiService.fetch(Te).pipe((0,U.T)(Be=>Be),(0,V.W)(Be=>{throw Be})))})()}getBotApiPath(J){switch(J){case W.Zm.STORY:case W.Zm.PARENT:case W.Zm.TEACHER:return k.$.api.BOT_ACTIVITY_API_PATH;default:return""}}saveChatMessage(J){const ie=[];return ie.push({statement:oe.O.insertQueryWithColumns(),values:me.mapChatToChatValues(J)}),this.dbService.executeSet(ie)}getAllChatMessages(J){return this.dbService.readDbData(oe.O.readQuery(),{bot_type:J}).then(ie=>{const xe=[];return ie&&ie.length>0&&ie.map(De=>{xe.push(me.mapChatToChatEntryToModel(De))}),xe})}updateMessageReactions(J,ie){return this.dbService.executeQuery(`UPDATE ${oe.O.TABLE_NAME}\n SET ${oe.O.COLUMN_NAME_REACTIONS} = ${ie}\n WHERE ${oe.O.COLUMN_NAME_IDENTIFIER} = '${J}';`)}deleteExpiredChatMessages(){var J=this;return(0,m.A)(function*(){const ie=yield te.YA.readdir({path:"",directory:te.__.Data});for(let xe=0;xe864e5&&(yield te.YA.deleteFile({path:De.uri,directory:te.__.Data})),J.dbService.executeQuery(`DELETE FROM ${oe.O.TABLE_NAME} WHERE ${oe.O.COLUMN_NAME_TIME_STAMP} <= strftime('%s', datetime('now', '-1 day'));`)}})()}}return(L=I).\u0275fac=function(J){return new(J||L)(T.KVO(C.G),T.KVO(n.c$),T.KVO(S.a))},L.\u0275prov=T.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})();var l=E(8402);const v=(0,E(5083).F3)("LocalNotifications",{web:()=>E.e(4224).then(E.bind(E,4224)).then(L=>new L.LocalNotificationsWeb)});var y=E(1413),d=E(3021),r=E(1113);let f=(()=>{var L;class I{constructor(J,ie){this.router=J,this.tabService=ie,this.notifEvent=new y.B,this.notificationEventEmitted$=this.notifEvent.asObservable()}initializeLocalNotif(J){var ie=this;return(0,m.A)(function*(){let xe=ie;try{var De,Q,ae,tt;"granted"!==(yield v.checkPermissions()).display&&(yield v.requestPermissions());let Te={notifications:[{id:J.id,title:J.title,body:J.body,extra:J.extra,largeIcon:"res://drawable/ic_launcher",smallIcon:"res://drawable/ic_notification",schedule:{on:null===(De=J.schedule)||void 0===De?void 0:De.on,repeats:null===(Q=J.schedule)||void 0===Q?void 0:Q.repeats,every:null===(ae=J.schedule)||void 0===ae?void 0:ae.every,allowWhileIdle:null===(tt=J.schedule)||void 0===tt?void 0:tt.allowWhileIdle}}]};yield v.schedule(Te)}catch(Oe){console.log("Error on local notification ",Oe)}yield v.addListener("localNotificationActionPerformed",function(){var Oe=(0,m.A)(function*(pe){let Te=xe.router.location._locationStrategy._platformLocation._location;"/parent-sakhi"!==Te.pathname?(xe.tabService.hide(),"/"===Te.pathname?setTimeout((0,m.A)(function*(){yield xe.router.navigate(["/parent-sakhi"],{state:{notif:pe.notification}})}),3e3):yield xe.router.navigate(["/parent-sakhi"],{state:{notif:pe.notification}})):ie.notifEvent.next(pe.notification)});return function(pe){return Oe.apply(this,arguments)}}())})()}cancelNotification(J){return(0,m.A)(function*(){try{yield v.cancel({notifications:[{id:J}]})}catch(ie){console.log("Error on cancel local notification ",ie)}})()}}return(L=I).\u0275fac=function(J){return new(J||L)(T.KVO(d.Ix),T.KVO(r.q))},L.\u0275prov=T.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})()},1503:(Ce,ee,E)=>{"use strict";E.d(ee,{y:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="playlist_content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_PLAYLIST_IDENTIFIER="playlist_identifier",p.COLUMN_NAME_CONTENT_ID="content_id",p.COLUMN_NAME_CONTENT_METADATA="content_metadata",p.COLUMN_NAME_SOURCE_TYPE="type",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_PLAYLIST_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_ID+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_METADATA+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_PLAYLIST_IDENTIFIER},\n ${p.COLUMN_NAME_CONTENT_ID},\n ${p.COLUMN_NAME_CONTENT_METADATA},\n ${p.COLUMN_NAME_SOURCE_TYPE},\n ${p.COLUMN_NAME_TIME_STAMP}) \n VALUES (?,?,?,?,?,?)`,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.deleteQuery=()=>`DELETE FROM ${p.TABLE_NAME} WHERE \n ${p.COLUMN_NAME_IDENTIFIER} = ? AND \n ${p.COLUMN_NAME_PLAYLIST_IDENTIFIER} = ?`,p.deleteQueryOne=()=>`DELETE FROM ${p.TABLE_NAME}`,p.deleteTable=()=>"DROP TABLE IF EXISTS"+p.TABLE_NAME,p}(S||{})},2798:(Ce,ee,E)=>{"use strict";E.d(ee,{J:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="playlist",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_NAME="name",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_CONTENT_COUNT="content_count",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_NAME+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_COUNT+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_NAME},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_CONTENT_COUNT},\n ${p.COLUMN_NAME_TIME_STAMP}) \n VALUES (?,?,?,?,?)`,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p}(S||{})},7803:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>B});var a=E(467),S=E(2798);class p{static mapContentToPlayListEntry(T,A,w,R){return{[S.J.COLUMN_NAME_IDENTIFIER]:w,[S.J.COLUMN_NAME_NAME]:T,[S.J.COLUMN_NAME_UID]:A,[S.J.COLUMN_NAME_CONTENT_COUNT]:R,[S.J.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(T,A,w,R,$){return[T,A,w,$,R,Date.now()]}}var O=E(6421),c=E(1503),D=E(532),C=E(4870),_=E(4438),F=E(2904);let B=(()=>{var m;class T{constructor(w){this.dbService=w}createPlayList(w,R,$,k){const M=k?S.J.updateQuery():S.J.insertQuery(),P=k?{identifier:k}:void 0,U=!!k;return k||(k=(0,O.A)()),this.dbService.save(M,p.mapContentToPlayListEntry(w,R,k,$.length),P).then(()=>this.addContentToPlayList(k,$,U))}addContentToPlayList(w,R,$){var k=this;return(0,a.A)(function*(){const M=[];for(let V=0;Vthis.getPlayListContents(w).then($=>Promise.resolve({identifier:R[0].identifier,name:R[0].name,uid:R[0].uid,playListcontentList:$})))}getPlayListContents(w){return this.dbService.executeQuery(`SELECT *\n FROM ${c.y.TABLE_NAME}\n WHERE ${c.y.COLUMN_NAME_PLAYLIST_IDENTIFIER} = '${w}'\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(w){return this.dbService.remove(S.J.deleteQuery(),{identifier:w}).then(()=>this.dbService.remove(c.y.deleteQueryOne(),{playlist_identifier:w}))}deleteContentFromPlayList(w,R){const $=[];return R.map(k=>{$.push({statement:c.y.deleteQuery(),values:[k,w]})}),this.dbService.executeSet($)}}return(m=T).\u0275fac=function(w){return new(w||m)(_.KVO(F.at))},m.\u0275prov=_.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),T})()},9836:(Ce,ee,E)=>{"use strict";E.d(ee,{X:()=>F});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(B=>new B.HapticsWeb)});var D=E(1413),C=E(4438),_=E(8974);let F=(()=>{var B;class m{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:R=>{c.impact({style:O.kn.Light})},onMove:R=>{c.impact({style:O.kn.Light}),this.recordEvent.next(!1),this.cancelRecording=!0},onEnd:R=>{c.impact({style:O.kn.Light}),this.recording=!1,this.recordEvent.next(!1)}},!0).enable()}startRecognition(A){var w=this;return(0,a.A)(function*(){w.cancelRecording=!1,S.R.startRecording(),c.impact({style:O.kn.Light}),!w.recording&&(w.recording=!0,w.calculation(A),w.recordEvent.next(!0))})()}calculation(A){if(!this.recording)return this.duration=0,void(this.durationDisplay="");this.duration+=1;const w=Math.floor(this.duration/60),R=(this.duration%60).toString().padStart(2,"0");this.durationDisplay=`${w}:${R}`,setTimeout(()=>{this.calculation(A)},1e3)}stopRecognition(A){var w=this;return(0,a.A)(function*(){if(c.impact({style:O.kn.Light}),w.recordEvent.next(!1),w.recording)return yield S.R.stopRecording().then(function(){var R=(0,a.A)(function*($){if(w.recording=!1,!w.cancelRecording)return"search"==A?$.value.recordDataBase64:$});return function($){return R.apply(this,arguments)}}())})()}}return(B=m).\u0275fac=function(A){return new(A||B)(C.KVO(_.wH))},B.\u0275prov=C.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),m})()},2186:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>B});var a=E(467),S=E(3207),p=E(6354),O=E(9437),c=E(3172),D=E(985),C=E(446),_=E(4438),F=E(2700);let B=(()=>{var m;class T{constructor(w){this.apiService=w,C.g.then(R=>{this.configVariables=R}).catch(R=>{console.error("Failed to load configuration:",R)})}postSearchContext(w,R){var $=this;return(0,a.A)(function*(){let k={};k=R?{audio:w.text,language:w.currentLang,request:{orderBy:{mimetype:"video/x-youtube"},filters:$.configVariables.defaultContentFilter[0]}}:{name:w.text,language:w.currentLang,request:{orderBy:{mimetype:"video/x-youtube"},filters:$.configVariables.defaultContentFilter[0]}};let M=JSON.stringify(k);const P=(new D._g.Builder).withHost(c.$.api.BASE_URL).withPath(c.$.api.CONTENT_SEARCH_API).withType(D.kr.POST).withBody(M).withBearerToken(!0).withLanguge(w.currentLang).build();return(0,S.s)($.apiService.fetch(P).pipe((0,p.T)(U=>U.body),(0,O.W)(U=>{throw U})))})()}postContentSearch(w,R){let $={name:null==w?void 0:w.name,category:null==w?void 0:w.category,language:R,request:{orderBy:{mimetype:"video/x-youtube"},filters:this.configVariables.defaultContentFilter[0]}};const k=(new D._g.Builder).withHost(c.$.api.BASE_URL).withPath(c.$.api.CONTENT_SEARCH_API).withType(D.kr.POST).withBody($).withBearerToken(!0).withLanguge(R).build();return(0,S.s)(this.apiService.fetch(k).pipe((0,p.T)(M=>M.body.result),(0,O.W)(M=>{throw M})))}}return(m=T).\u0275fac=function(w){return new(w||m)(_.KVO(F.G))},m.\u0275prov=_.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),T})()},8014:(Ce,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(_)}),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:(Ce,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(F,B){this.apiService=F,this.preprocessService=B}process(F,B){return(0,a.A)(function*(){})()}}return(D=C).\u0275fac=function(F){return new(F||D)(S.KVO(p.G),S.KVO(O.h))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3486:(Ce,ee,E)=>{"use strict";E.d(ee,{n:()=>c});var a=E(467);const p=(0,E(5083).F3)("Preferences",{web:()=>E.e(2924).then(E.bind(E,2924)).then(D=>new D.PreferencesWeb)});var O=E(4438);let c=(()=>{var D;class C{constructor(){}setData(F,B){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.set({key:F,value:B}).then(m=>!0).catch(m=>m)})()}getData(F){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.get({key:F}).then(B=>B.value).catch(B=>B)})()}removeData(F){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.remove({key:F}).then(B=>!0).catch(B=>B)})()}getStorageKeys(){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.keys().then(F=>F).catch(F=>F)})()}clearStorage(){return(0,a.A)(function*(){yield p.configure({group:C.groupPreferenceName}),yield p.clear().then(F=>!0).catch(F=>F)})()}}return(D=C).groupPreferenceName="DJPData",D.\u0275fac=function(F){return new(F||D)},D.\u0275prov=O.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},1113:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>S});var a=E(4438);let S=(()=>{var p;class 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(F=>{"translateY(5rem)"!==D[F].style.transform&&(D[F].style.transform="translateY(5rem)")}),Object.keys(C).map(F=>{"translateY(5.2rem)"!==C[F].style.transform&&(C[F].style.transform="translateY(5.2rem)")}),setTimeout(()=>{Object.keys(_).map(F=>{_[F].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:(Ce,ee,E)=>{"use strict";E.d(ee,{K:()=>S});var a=E(56),S=function(p){return p._ID="_id",p.TABLE_NAME="processed_telemetry",p.COLUMN_NAME_MSG_ID="msg_id",p.COLUMN_NAME_DATA="data",p.COLUMN_NAME_NUMBER_OF_EVENTS="event_count",p.COLUMN_NAME_PRIORITY="priority",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY,"+p.COLUMN_NAME_MSG_ID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_DATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_NUMBER_OF_EVENTS+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_PRIORITY+a.K.SPACE+a.K.INT_TYPE+" )",p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.getDeleteEntry=()=>"DROP TABLE IF EXISTS "+p.TABLE_NAME,p}(S||{})},2918:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>C});var a=E(8855),p=E(3172),O=E(3649),c=E(4438),D=E(2904);let C=(()=>{var _;class F{constructor(m){this.utilService=m}decorate(m,T,A,w,R,$,k){return m.mid||(m.mid=`${m.eid}:${a(JSON.stringify(m)).toString()}`),this.patchActor(m,A),this.patchContext(m,T,A,R,$,k),m.context.cdata&&(m.context.cdata=[...m.context.cdata,{id:T,type:"UserSession"}]),m}patchActor(m,T){m.actor||(m.actor=new O.Ag);const A=m.actor;A.id||(A.id=T),A.type||(A.type=O.Ag.TYPE_USER)}patchContext(m,T,A,w,R,$){m.context||(m.context=new O.ob),m.context=this.buildContext(T,A,R,m.context,w,$)}patchPData(m,T){m.pdata||(m.pdata=new O.zE);const A=m.pdata;A.id||(A.id=p.$.telmetry.PRODUCER_ID),A.pid=p.$.telmetry.PRODUCER_PID,A.ver||(A.ver=T)}prepare(m,T){return{event:JSON.stringify(m),event_type:m.eid,timestamp:Date.now(),priority:1}}buildContext(m,T,A,w,R,$){return w.channel=A,this.patchPData(w,R),w.env||(w.env="app"),w.sid=m,w.did=T,w.cdata=w.cdata?w.cdata.concat($||[]):$||[],w}}return(_=F).\u0275fac=function(m){return new(m||_)(c.KVO(D.a0))},_.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),F})()},3649:(Ce,ee,E)=>{"use strict";E.d(ee,{$i:()=>C,Ag:()=>a,Q$:()=>_,ob:()=>S,zE:()=>c});let a=(()=>{var F;class B{constructor(){this.id="",this.type=B.TYPE_USER}}return(F=B).TYPE_SYSTEM="System",F.TYPE_USER="User",B})();class S{}class c{ProducerData(){this.id="",this.pid="",this.ver=""}}class C{constructor(B,m,T){this.id=B,this.type=m,this.version=T}setRollup(B){this.rollup=B}}var _;!function(F){let B=(()=>{class k{constructor(P){this.ver=k.TELEMETRY_VERSION,this.eid=P,this.ets=Date.now(),this.actor=new a,this.context=new S,this.edata={}}}return k.TELEMETRY_VERSION="3.0",k})();F.Telemetry=B,F.Interact=(()=>{class k extends B{constructor(P,U,V,W,oe,me,te,se="",g="",n="",o={},l=[]){super(k.EID),this.edata={type:P,subtype:U,...V?{id:V}:{},...W?{pageid:W}:{},extra:{...oe?{pos:oe}:{},...me?{values:[me]}:{}}},this.context.cdata=l,this.context.env=te,se&&g&&(this.object=new C(se,g,n),o&&(this.object.rollup=o||{}))}}return k.EID="INTERACT",k})(),F.End=(()=>{class k extends B{constructor(P,U,V,W,oe,me,te="",se="",g="",n={},o=[]){super(k.EID),this.edata={...P?{type:P}:{},...V?{duration:V}:{},...W?{pageid:W}:{},...U?{mode:U}:{},...oe?{summaryList:oe}:{}},this.context.cdata=o,this.context.env=me,this.object=new C(te,se,g),this.object.rollup=n}}return k.EID="END",k})(),F.Start=(()=>{class k extends B{constructor(P="",U,V,W,oe,me,te,se="",g="",n="",o={},l=[]){super(k.EID),this.edata={...P?{type:P}:{type:""},...U?{dspec:U}:{},...V?{loc:V}:{},...W?{mode:W}:{},...oe?{mode:W}:{},...me?{pageid:me}:{}},this.context.cdata=l,this.context.env=te,se&&g&&(this.object=new C(se,g,n),o&&(this.object.rollup=o||{}))}}return k.EID="START",k})(),F.Impression=(()=>{class k extends B{constructor(P,U,V,W,oe,me="",te="",se="",g={},n=[]){super(k.EID),this.edata={...P?{type:P}:{type:""},...U?{subtype:U}:{},...V?{pageid:V}:{},...V?{uri:V}:{},...W?{visits:W}:{}},this.context.cdata=n,this.context.env=oe,me&&te&&(this.object=new C(me,te,se),g&&(this.object.rollup=g||{}))}}return k.EID="IMPRESSION",k})(),F.Search=(()=>{class k extends B{constructor(P,U,V,W,oe,me,te=0,se=[]){super(k.EID),this.edata={...P?{type:P}:{type:""},...U?{query:U}:{},...V?{filters:V}:{},...W?{sort:W}:{},...me?{correlationid:me}:{},...te?{size:te}:{}},this.context.cdata=se,this.context.env=oe}}return k.EID="SEARCH",k})()}(_||(_={}))},5173:(Ce,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 F;class B{constructor(T){this.telemetryService=T}generateInteractTelemetry(T,A,w,R,$,k,M,P,U){const V=new a;V.type=T,V.subType=A,V.pageId=R,V.id=U||R,V.env=w,null!==k&&(V.valueMap=k),void 0!==M&&(V.rollup=M),void 0!==P&&(V.correlationData=P),$&&$.id&&(V.objId=$.id),$&&$.type&&(V.objType=$.type),$&&$.version&&(V.objVer=$.version+""),this.telemetryService.interact(V).subscribe()}generateImpressionTelemetry(T,A,w,R,$,k,M,P,U){const V=new S;V.type=T,V.subType=A,V.pageId=w,V.env=R,V.objId=$||"",V.objType=k||"",V.objVer=M?M+"":"",void 0!==P&&(V.rollup=P),void 0!==U&&(V.correlationData=U),this.telemetryService.impression(V).subscribe()}generateEndTelemetry(T,A,w,R,$,k,M,P,U){const V=new O;V.type=T,V.pageId=w,V.env=R,V.mode=A,P&&(V.duration=P),$&&$.id&&(V.objId=$.id),$&&$.type&&(V.objType=$.type),$&&$.version&&(V.objVer=$.version+""),k&&(V.rollup=k),M&&(V.correlationData=M),U&&(V.summaryList=U),this.telemetryService.end(V).subscribe()}generateStartTelemetry(T,A,w,R,$){const k=new p;k.type=T,k.pageId=A,k.mode="play",w&&w.id&&(k.objId=w.id),w&&w.type&&(k.objType=w.type),w&&w.version&&(k.objVer=w.version+""),void 0!==R&&(k.rollup=R),void 0!==$&&(k.correlationData=$),this.telemetryService.start(k).subscribe()}generateSearchTelemetry(T,A,w,R,$,k,M,P){const U=new c;U.type=T,U.query=A,U.env=R,U.size=w,$&&(U.filters=$),k&&(U.sort=k),void 0!==P&&(U.correlationData=P),M&&(U.correlationid=M),this.telemetryService.search(U).subscribe()}genererateAppStartTelemetry(T){const A=new p;A.type="app",A.env="home",A.deviceSpecification=T,this.telemetryService.start(A).subscribe()}}return(F=B).\u0275fac=function(T){return new(T||F)(D.KVO(C.H0))},F.\u0275prov=D.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),B})()},1765:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>f});var a=E(2814),S=E(1985),p=E(8750);const{isArray:O}=Array;var D=E(983),C=E(4360),_=E(9326);var B=E(6648),m=E(3028),T=E(9030),A=E(7673),w=E(9316),R=E(9974),$=E(5412);function k(L,I=1/0,j){return I=(I||0)<1?1/0:I,(0,R.N)((J,ie)=>(0,$.h)(J,ie,L,I,void 0,!0,j))}var M=E(6649);function P(L,I){return(0,R.N)((0,M.S)(L,I,arguments.length>=2,!1,!0))}var U=E(3703),V=E(6354),W=E(9437),oe=E(7374),me=E(5870),te=E(6421);class se{process(I){if("object"!=typeof I)throw new Error('TelemetryEntriesToStringPreprocessor expects input of type "object"');return JSON.stringify(I)}}var g=E(3172),n=E(985);class o{constructor(I,j){this.dbService=I,this.apiService=j,this.preprocessors=[],this.preprocessors=[new se]}handle(I){return this.hasTelemetryThresholdCrossed().pipe((0,m.Z)(j=>j?this.processEventsBatch(I).pipe(k(J=>J?this.processEventsBatch(I):D.w),P(()=>{},void 0),(0,m.Z)(()=>this.handleProcessedEventsBatch()),k(J=>J.syncedEventCount?this.handleProcessedEventsBatch():D.w),P((J,ie)=>({syncedEventCount:J.syncedEventCount+ie.syncedEventCount,syncTime:Date.now(),syncedFileSize:J.syncedFileSize+ie.syncedFileSize,error:ie.error?ie.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,m.Z)(j=>j?this.processEvents(j,I).pipe((0,m.Z)(J=>this.persistProcessedEvents(J,J.processedEventsSize).pipe((0,m.Z)(()=>this.deleteEvents(j)),(0,U.u)(j.length)))):(0,A.of)(0)))}hasTelemetryThresholdCrossed(){return(0,B.H)(this.dbService.executeQuery(`\n SELECT count(*) as COUNT FROM ${a.C.TABLE_NAME}`)).pipe((0,V.T)(I=>!0))}fetchEvents(){return(0,B.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,j){if(!I)return(0,A.of)({processedEventsSize:0});const J=(0,te.A)();return(0,A.of)({processedEvents:this.preprocessors.reduce((ie,xe)=>xe.process(ie),{id:"ekstep.telemetry",ver:"1.0",ts:oe().format("YYYY-MM-DDTHH:mm:ss[Z]"),events:I.map(ie=>JSON.parse(ie[a.C.COLUMN_EVENT])),params:{did:j,msgid:J,key:"",requesterId:""}}),processedEventsSize:I.length,messageId:J})}persistProcessedEvents({processedEvents:I,messageId:j},J){return I?(0,B.H)(this.dbService.save(me.K.insertQuery(),{[me.K.COLUMN_NAME_MSG_ID]:j,[me.K.COLUMN_NAME_NUMBER_OF_EVENTS]:J,[me.K.COLUMN_NAME_PRIORITY]:1,[me.K.COLUMN_NAME_DATA]:I})).pipe((0,U.u)(void 0)):(0,A.of)(void 0)}deleteEvents(I){return I.length?(0,B.H)(this.dbService.executeQuery(`\n DELETE FROM ${a.C.TABLE_NAME}\n WHERE ${a.C._ID} IN (${I.map(j=>j[a.C._ID]).join(",")})\n `)):(0,A.of)(void 0)}handleProcessedEventsBatch(I){return this.fetchProcessedEventsBatch().pipe((0,m.Z)(j=>this.syncProcessedEvent(j).pipe((0,m.Z)(J=>this.deleteProcessedEvent(j).pipe((0,U.u)(J||{syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})))))).pipe()}fetchProcessedEventsBatch(){return(0,B.H)(this.dbService.executeQuery(`SELECT * FROM ${me.K.TABLE_NAME} LIMIT 1`)).pipe((0,V.T)(I=>I&&I[0]))}syncProcessedEvent(I){if(!I)return(0,A.of)(void 0);const j=(new n._g.Builder).withHost(g.$.api.TELEMETRY_BASE_URL).withPath(g.$.api.TELEMETRY_SYNC).withType(n.kr.POST).withBearerToken(!0).withBody(JSON.parse(I[me.K.COLUMN_NAME_DATA])).build();return this.apiService.fetch(j).pipe((0,V.T)(()=>({syncedEventCount:I[me.K.COLUMN_NAME_NUMBER_OF_EVENTS],syncTime:Date.now(),syncedFileSize:0})),(0,W.W)(J=>(0,A.of)({syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0,error:J})))}deleteProcessedEvent(I){return I?(0,B.H)(this.dbService.executeQuery(`DELETE FROM ${me.K.TABLE_NAME} WHERE ${me.K._ID}='${I[me.K._ID]}'`)):(0,A.of)(void 0)}}var l=E(3649),s=E(4438),h=E(4591),v=E(3486),y=E(2342),d=E(2700),r=E(2918);let f=(()=>{var L;class I{constructor(J,ie,xe,De,Q){this.dbService=J,this.storageService=ie,this.utilService=xe,this.apiService=De,this.decorator=Q,this.deviceId="",w.p.getId().then(ae=>(this.deviceId=ae.identifier,this.deviceId))}start({type:J,deviceSpecification:ie,loc:xe,mode:De,duration:Q,pageId:ae,env:tt,objId:Oe,objType:pe,objVer:Te,rollup:Be,correlationData:re}){const ne=new l.Q$.Start(J,ie,xe,De,Q,ae,tt,Oe,pe,Te,Be,re);return this.decorateAndPersist(ne)}end({type:J,mode:ie,duration:xe,pageId:De,summaryList:Q,env:ae,objId:tt,objType:Oe,objVer:pe,rollup:Te,correlationData:Be}){const re=new l.Q$.End(J,ie,xe,De,Q,ae,tt,Oe,pe,Te,Be);return this.decorateAndPersist(re)}interact({type:J,subType:ie,id:xe,pageId:De,pos:Q,env:ae,rollup:tt,valueMap:Oe,correlationData:pe,objId:Te,objType:Be,objVer:re}){const ne=new l.Q$.Interact(J,ie,xe,De,Q,Oe,ae,Te,Be,re,tt,pe);return this.decorateAndPersist(ne)}impression({type:J,subType:ie,pageId:xe,env:De,objId:Q,objType:ae,objVer:tt,rollup:Oe,correlationData:pe}){const Te=new l.Q$.Impression(J,ie,xe,[],De,Q,ae,tt,Oe,pe);return this.decorateAndPersist(Te)}search({type:J,query:ie,filters:xe,sort:De,correlationid:Q,size:ae,env:tt,correlationData:Oe}){const pe=new l.Q$.Search(J,ie,xe,De,tt,Q,ae,Oe);return this.decorateAndPersist(pe)}decorateAndPersist(J){let ie="";const xe=localStorage.getItem("subDomain");return ie=null!=xe?xe:new URL(document.baseURI).hostname,function F(...L){const I=(0,_.ms)(L),j=function c(L){return 1===L.length&&O(L[0])?L[0]:L}(L);return j.length?new S.c(J=>{let ie=j.map(()=>[]),xe=j.map(()=>!1);J.add(()=>{ie=xe=null});for(let De=0;!J.closed&&De{if(ie[De].push(Q),ie.every(ae=>ae.length)){const ae=ie.map(tt=>tt.shift());J.next(I?I(...ae):ae),ie.some((tt,Oe)=>!tt.length&&xe[Oe])&&J.complete()}},()=>{xe[De]=!0,!ie[De].length&&J.complete()}));return()=>{ie=xe=null}}):D.w}((0,B.H)(this.utilService.getAppInfo()),(0,B.H)(this.utilService.getDeviceId())).pipe((0,m.Z)(De=>{const Q=De[0].version,ae=De[1];return(0,B.H)(this.storageService.getData("sid")).pipe((0,m.Z)(tt=>{const Oe=this.decorator.prepare(this.decorator.decorate(J,null!=tt?tt:"",ae,(0,te.A)(),Q,ie,[]),1);return this.dbService.save(a.C.insertData(),Oe)}))}))}saveTelemetry(J){return(0,T.v)(()=>{try{const ie=JSON.parse(J);return this.decorateAndPersist(ie)}catch(ie){return console.error(ie),(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(d.G),s.KVO(r.B))},L.\u0275prov=s.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})()},2342:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>B});var a=E(467),S=E(8941),p=E(9316),O=E(9986),D=E(5083),C=E(4438),_=E(5402),F=E(8974);let B=(()=>{var m;class T{constructor(w,R){this.translate=w,this.loadingCtrl=R}getDeviceSpec(){var w=this;return(0,a.A)(function*(){const R=yield p.p.getInfo(),$=yield w.getDeviceId();return{os:`${R.operatingSystem} ${R.osVersion}`,make:R.manufacturer,id:$}})()}getDeviceId(){return(0,a.A)(function*(){const w=yield p.p.getId();return O(w.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(w,R){let $="",k="";return k="object"==typeof R?R:{"%s":R},this.translate.get(w,k).subscribe(M=>{$=M}),$}getLoader(w,R){return this.loadingCtrl.create({message:R,duration:w||3e4,cssClass:R?"custom-loader-message-class":"custom-loader-class"})}}return(m=T).\u0275fac=function(w){return new(w||m)(C.KVO(_.c$),C.KVO(F.Xi))},m.\u0275prov=C.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),T})()},6313:(Ce,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),F=E(6198),B=E(2904),m=E(177),T=E(9417);function A(Ve,Re){if(1&Ve&&(p.j41(0,"ion-item")(1,"ion-label"),p.EFF(2),p.k0s(),p.nrm(3,"ion-radio",3),p.k0s()),2&Ve){const Le=Re.$implicit;p.R7$(2),p.JRh(Le.label),p.R7$(),p.FS9("value",Le.id)}}let w=(()=>{var Ve;class Re{constructor(Ie,ut,Vt,dn,fn){this.translateService=Ie,this.navParams=ut,this.modalCtrl=Vt,this.languageService=dn,this.storage=fn,this.selectedLanguage=""}ngOnInit(){var Ie=this;return(0,a.A)(function*(){Ie.languages=[],Ie.languages=Ie.navParams.get("languages");let ut=yield Ie.storage.getData("lang");console.log("current lang ",ut),Ie.selectedLanguage=ut})()}languageSelected(Ie){let ut=Ie.detail.value;this.storage.setData("lang",ut),this.translateService.use(ut),this.selectedLanguage=ut,this.languageService.setLanguage(ut),this.dismissModal()}dismissModal(){this.modalCtrl.dismiss()}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.rXU(_.c$),p.rXU(c.y8),p.rXU(D.W3),p.rXU(F.g),p.rXU(B.n$))},Ve.\u0275cmp=p.VBU({type:Ve,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(Ie,ut){1&Ie&&(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(dn){return p.DH7(ut.selectedLanguage,dn)||(ut.selectedLanguage=dn),dn}),p.bIt("ionChange",function(dn){return ut.languageSelected(dn)}),p.j41(7,"ion-list"),p.DNE(8,A,4,2,"ion-item",2),p.k0s()()()),2&Ie&&(p.R7$(3),p.JRh(p.bMT(4,3,"Select Language")),p.R7$(3),p.R50("ngModel",ut.selectedLanguage),p.R7$(2),p.Y8G("ngForOf",ut.languages))},dependencies:[m.Sq,T.BC,T.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}"]}),Re})();var R=E(4801),$=E.n(R);const k=["video"],M=["canvas"],P=["fileinput"];function U(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"ion-button",13),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.reset())}),p.nrm(1,"ion-icon",14),p.EFF(2," Reset "),p.k0s()}}function V(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"ion-button",15),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.stopScan())}),p.nrm(1,"ion-icon",16),p.EFF(2," Stop scan "),p.k0s()}}function W(Ve,Re){if(1&Ve&&(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&Ve){const Le=p.XpG();p.R7$(5),p.SpI(" ",Le.scanResult," ")}}function oe(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.openLink())}),p.EFF(2),p.nI1(3,"translate"),p.k0s(),p.j41(4,"ion-button",18),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.close())}),p.EFF(5,"Close"),p.k0s()()}2&Ve&&(p.R7$(2),p.JRh(p.bMT(3,1,"OPEN_IN_BROWSER")))}function me(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.close())}),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}2&Ve&&(p.R7$(2),p.JRh(p.bMT(3,1,"CLOSE")))}let te=(()=>{var Ve;class Re{constructor(Ie,ut,Vt,dn,fn){this.navParams=Ie,this.modalCtrl=ut,this.toastCtrl=Vt,this.loadingCtrl=dn,this.plt=fn,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 Ie=new URL(this.scanText);return"http:"===Ie.protocol||"https:"===Ie.protocol}catch{return!1}}ngAfterViewInit(){this.canvasElement=this.canvas.nativeElement,this.canvasContext=this.canvasElement.getContext("2d"),this.videoElement=this.video.nativeElement}showQrToast(){var Ie=this;return(0,a.A)(function*(){(yield Ie.toastCtrl.create({message:`Open ${Ie.scanResult}?`,position:"top",buttons:[{text:"Open",handler:()=>{Ie.scanResult&&window.open(Ie.scanResult,"_system","location=yes")}}]})).present()})()}reset(){this.scanResult=null}startScan(){var Ie=this;return(0,a.A)(function*(){const ut=yield navigator.mediaDevices.getUserMedia({video:{facingMode:"environment"}});Ie.videoElement.srcObject=ut,Ie.videoElement.setAttribute("playsinline",!0),Ie.loading=yield Ie.loadingCtrl.create({}),yield Ie.loading.present(),Ie.videoElement.play(),requestAnimationFrame(Ie.scan.bind(Ie))})()}stopScan(){this.scanActive=!1;const Ie=this.videoElement.srcObject;Ie&&(Ie.getTracks().forEach(function(Vt){Vt.stop()}),this.videoElement.srcObject=null)}scan(){var Ie=this;return(0,a.A)(function*(){try{if(yield navigator.mediaDevices.getUserMedia({video:!0}),Ie.videoElement.readyState===Ie.videoElement.HAVE_ENOUGH_DATA){Ie.loading&&(yield Ie.loading.dismiss(),Ie.loading=null,Ie.scanActive=!0),Ie.canvasElement.height=Ie.videoElement.videoHeight,Ie.canvasElement.width=Ie.videoElement.videoWidth,Ie.canvasContext.drawImage(Ie.videoElement,0,0,Ie.canvasElement.width,Ie.canvasElement.height);const Vt=Ie.canvasContext.getImageData(0,0,Ie.canvasElement.width,Ie.canvasElement.height),dn=$()(Vt.data,Vt.width,Vt.height,{inversionAttempts:"dontInvert"});null!=dn&&dn.data?(Ie.scanActive=!1,Ie.scanResult=dn.data,Ie.stopScan(),Ie.showQrToast()):Ie.scanActive&&requestAnimationFrame(Ie.scan.bind(Ie))}else requestAnimationFrame(Ie.scan.bind(Ie))}catch(ut){console.error("Error accessing camera:",ut)}})()}captureImage(){this.fileinput.nativeElement.click()}handleFile(Ie){const ut=Ie.target;if(ut instanceof HTMLInputElement&&ut.files&&ut.files.length>0){const dn=ut.files[0];var Vt=new Image;Vt.onload=()=>{this.canvasContext.drawImage(Vt,0,0,this.canvasElement.width,this.canvasElement.height);const fn=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Un=$()(fn.data,fn.width,fn.height,{inversionAttempts:"dontInvert"});Un&&(this.scanResult=Un.data,this.showQrToast())},Vt.src=URL.createObjectURL(dn)}}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.rXU(c.y8),p.rXU(D.W3),p.rXU(D.K_),p.rXU(D.Xi),p.rXU(c.OD))},Ve.\u0275cmp=p.VBU({type:Ve,selectors:[["app-qrcode-popup"]],viewQuery:function(Ie,ut){if(1&Ie&&(p.GBs(k,5),p.GBs(M,5),p.GBs(P,5)),2&Ie){let Vt;p.mGM(Vt=p.lsd())&&(ut.video=Vt.first),p.mGM(Vt=p.lsd())&&(ut.canvas=Vt.first),p.mGM(Vt=p.lsd())&&(ut.fileinput=Vt.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(Ie,ut){if(1&Ie){const Vt=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(Vt),p.Njj(ut.captureImage())}),p.nrm(6,"ion-icon",6),p.EFF(7," Capture Image "),p.k0s(),p.j41(8,"ion-button",5),p.bIt("click",function(){return p.eBV(Vt),p.Njj(ut.startScan())}),p.nrm(9,"ion-icon",7),p.EFF(10," Start scan "),p.k0s(),p.DNE(11,U,3,0,"ion-button",8),p.nrm(12,"video",9,1)(14,"canvas",10,2),p.DNE(16,V,3,0,"ion-button",11)(17,W,6,1,"ion-card",12)(18,oe,6,3,"div",12)(19,me,4,3,"div",12),p.k0s()}2&Ie&&(p.R7$(2),p.JRh(ut.scanText),p.R7$(9),p.Y8G("ngIf",ut.scanResult),p.R7$(),p.Y8G("hidden",!ut.scanActive),p.R7$(4),p.Y8G("ngIf",ut.scanActive),p.R7$(),p.Y8G("ngIf",ut.scanResult),p.R7$(),p.Y8G("ngIf",ut.isValidURL),p.R7$(),p.Y8G("ngIf",!ut.isValidURL))},dependencies:[m.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}"]}),Re})();var se=E(319),g=E(3568),n=E(8359);class o extends n.yU{constructor(Re,Le){super()}schedule(Re,Le=0){return this}}const l={setInterval(Ve,Re,...Le){const{delegate:Ie}=l;return null!=Ie&&Ie.setInterval?Ie.setInterval(Ve,Re,...Le):setInterval(Ve,Re,...Le)},clearInterval(Ve){const{delegate:Re}=l;return((null==Re?void 0:Re.clearInterval)||clearInterval)(Ve)},delegate:void 0};var s=E(7908),v=E(6129);class y{constructor(Re,Le=y.now){this.schedulerActionCtor=Re,this.now=Le}schedule(Re,Le=0,Ie){return new this.schedulerActionCtor(this,Re).schedule(Ie,Le)}}y.now=v.U.now;const r=new class d extends y{constructor(Re,Le=y.now){super(Re,Le),this.actions=[],this._active=!1}flush(Re){const{actions:Le}=this;if(this._active)return void Le.push(Re);let Ie;this._active=!0;do{if(Ie=Re.execute(Re.state,Re.delay))break}while(Re=Le.shift());if(this._active=!1,Ie){for(;Re=Le.shift();)Re.unsubscribe();throw Ie}}}(class h extends o{constructor(Re,Le){super(Re,Le),this.scheduler=Re,this.work=Le,this.pending=!1}schedule(Re,Le=0){var Ie;if(this.closed)return this;this.state=Re;const ut=this.id,Vt=this.scheduler;return null!=ut&&(this.id=this.recycleAsyncId(Vt,ut,Le)),this.pending=!0,this.delay=Le,this.id=null!==(Ie=this.id)&&void 0!==Ie?Ie:this.requestAsyncId(Vt,this.id,Le),this}requestAsyncId(Re,Le,Ie=0){return l.setInterval(Re.flush.bind(Re,this),Ie)}recycleAsyncId(Re,Le,Ie=0){if(null!=Ie&&this.delay===Ie&&!1===this.pending)return Le;null!=Le&&l.clearInterval(Le)}execute(Re,Le){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Ie=this._execute(Re,Le);if(Ie)return Ie;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Re,Le){let ut,Ie=!1;try{this.work(Re)}catch(Vt){Ie=!0,ut=Vt||new Error("Scheduled action threw falsy error")}if(Ie)return this.unsubscribe(),ut}unsubscribe(){if(!this.closed){const{id:Re,scheduler:Le}=this,{actions:Ie}=Le;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.o)(Ie,this),null!=Re&&(this.id=this.recycleAsyncId(Le,Re,null)),this.delay=null,super.unsubscribe()}}}),f=r;var L=E(1985),I=E(9470);function J(Ve=0,Re,Le=f){let Ie=-1;return null!=Re&&((0,I.m)(Re)?Le=Re:Ie=Re),new L.c(ut=>{let Vt=function j(Ve){return Ve instanceof Date&&!isNaN(Ve)}(Ve)?+Ve-Le.now():Ve;Vt<0&&(Vt=0);let dn=0;return Le.schedule(function(){ut.closed||(ut.next(dn++),0<=Ie?this.schedule(void 0,Ie):ut.complete())},Vt)})}var xe=E(7673),De=E(8141),Q=E(5964),ae=E(9437),tt=E(3703);let Oe=(()=>{var Ve;class Re{constructor(Ie){this.telemetryService=Ie,this.shouldSync=!1}start(Ie){return this.shouldSync=!0,function ie(Ve=0,Re=r){return Ve<0&&(Ve=0),J(Ve,Ve,Re)}(Ie).pipe((0,De.M)(ut=>{}),(0,Q.p)(()=>this.shouldSync),(0,De.M)(()=>this.telemetryService.sync().pipe((0,De.M)(ut=>{}),(0,ae.W)(ut=>(console.error(ut),(0,xe.of)(void 0)))).toPromise()),(0,tt.u)(void 0))}pause(){this.shouldSync=!1}continue(){this.shouldSync=!0}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(B.H0))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Re})();var pe=E(2771),Te=E(1635),re=E(3726),ne={error:"cordova_not_available"},G={error:"plugin_not_installed"};function ge(Ve){if(typeof window<"u"&&window.angular){var Le=window.document,Ie=window.angular.element(Le.querySelector("[ng-app]")||Le.body).injector();if(Ie)return Ie.get("$q")(function(Vt,dn){Ve(Vt,dn)});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(Vt,dn){Ve(Vt,dn)});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 mt(Ve,Re,Le){var Ie,ut;"string"==typeof Ve?Ie=Ve:(Ie=Ve.constructor.getPluginRef(),Le=Ve.constructor.getPluginName(),ut=Ve.constructor.getPluginInstallName());var Vt=Cn(Ie);return!(!Vt||Re&&typeof Vt[Re]>"u")||(typeof window>"u"||!window.cordova?(function bn(Ve,Re){typeof process>"u"&&console.warn(Re?"Native: tried calling "+Ve+"."+Re+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+Ve+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}(Le,Re),ne):(function Ft(Ve,Re,Le){console.warn(Le?"Native: tried calling "+Ve+"."+Le+", but the "+Ve+" plugin is not installed.":"Native: tried accessing the "+Ve+" plugin but it's not installed."),Re&&console.warn("Install the "+Ve+" plugin: 'ionic cordova plugin add "+Re+"'")}(Le,ut,Re),G))}function At(Ve,Re,Le,Ie,ut,Vt){void 0===Ie&&(Ie={}),Le=function un(Ve,Re,Le,Ie){if(void 0===Re&&(Re={}),Re.sync)return Ve;if("reverse"===Re.callbackOrder)Ve.unshift(Ie),Ve.unshift(Le);else if("node"===Re.callbackStyle)Ve.push(function(fn,Un){fn?Ie(fn):Le(Un)});else if("object"===Re.callbackStyle&&Re.successName&&Re.errorName){var ut={};ut[Re.successName]=Le,ut[Re.errorName]=Ie,Ve.push(ut)}else if(typeof Re.successIndex<"u"||typeof Re.errorIndex<"u"){var Vt=function(){Re.successIndex>Ve.length?Ve[Re.successIndex]=Le:Ve.splice(Re.successIndex,0,Le)},dn=function(){Re.errorIndex>Ve.length?Ve[Re.errorIndex]=Ie:Ve.splice(Re.errorIndex,0,Ie)};Re.successIndex>Re.errorIndex?(dn(),Vt()):(Vt(),dn())}else Ve.push(Le),Ve.push(Ie);return Ve}(Le,Ie,ut,Vt);var dn=mt(Ve,Re);if(!0===dn){var fn=Cn(Ve.constructor.getPluginRef());return fn[Re].apply(fn,Le)}return dn}function Cn(Ve){return typeof window<"u"?St(window,Ve):null}function St(Ve,Re){for(var Le=Re.split("."),Ie=Ve,ut=0;ut"u"){var Ve=typeof window<"u"?window:{},Le=Date.now(),Ie=!1;Ve.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-Le)+" ms"),Ie=!0}),setTimeout(function(){!Ie&&Ve.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 _e=function(Ve){function Re(){var Le=null!==Ve&&Ve.apply(this,arguments)||this;return Le.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"},Le.locationAuthorizationMode={ALWAYS:"always",WHEN_IN_USE:"when_in_use"},Le.locationAccuracyAuthorization={FULL:"full",REDUCED:"reduced"},Le.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"]},Le.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},Le.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"},Le.photoLibraryAccessLevel={ADD_ONLY:"add_only",READ_WRITE:"read_write"},Le}return(0,Te.C6)(Re,Ve),Re.prototype.isLocationAvailable=function(){return Wt(this,"isLocationAvailable",{},arguments)},Re.prototype.isWifiAvailable=function(){return Wt(this,"isWifiAvailable",{},arguments)},Re.prototype.isCameraAvailable=function(Le){return Wt(this,"isCameraAvailable",{callbackOrder:"reverse"},arguments)},Re.prototype.isBluetoothAvailable=function(){return Wt(this,"isBluetoothAvailable",{},arguments)},Re.prototype.switchToLocationSettings=function(){return Wt(this,"switchToLocationSettings",{sync:!0,platforms:["Android","Windows 10","iOS"]},arguments)},Re.prototype.switchToMobileDataSettings=function(){return Wt(this,"switchToMobileDataSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Re.prototype.switchToBluetoothSettings=function(){return Wt(this,"switchToBluetoothSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Re.prototype.switchToWifiSettings=function(){return Wt(this,"switchToWifiSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Re.prototype.isWifiEnabled=function(){return Wt(this,"isWifiEnabled",{platforms:["Android","Windows 10"]},arguments)},Re.prototype.setWifiState=function(Le){return Wt(this,"setWifiState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Re.prototype.setBluetoothState=function(Le){return Wt(this,"setBluetoothState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Re.prototype.enableDebug=function(){return Wt(this,"enableDebug",{platforms:["Android","iOS"]},arguments)},Re.prototype.isLocationEnabled=function(){return Wt(this,"isLocationEnabled",{platforms:["Android","iOS"]},arguments)},Re.prototype.isLocationAuthorized=function(){return Wt(this,"isLocationAuthorized",{},arguments)},Re.prototype.getLocationAuthorizationStatus=function(){return Wt(this,"getLocationAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.getLocationAuthorizationStatuses=function(){return Wt(this,"getLocationAuthorizationStatuses",{platforms:["Android","iOS"]},arguments)},Re.prototype.requestLocationAuthorization=function(Le,Ie){return Wt(this,"requestLocationAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.isCameraPresent=function(){return Wt(this,"isCameraPresent",{platforms:["Android","iOS"]},arguments)},Re.prototype.isCameraAuthorized=function(Le){return Wt(this,"isCameraAuthorized",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.getCameraAuthorizationStatus=function(Le){return Wt(this,"getCameraAuthorizationStatus",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.requestCameraAuthorization=function(Le){return Wt(this,"requestCameraAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.isMicrophoneAuthorized=function(){return Wt(this,"isMicrophoneAuthorized",{platforms:["Android","iOS"]},arguments)},Re.prototype.getMicrophoneAuthorizationStatus=function(){return Wt(this,"getMicrophoneAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.requestMicrophoneAuthorization=function(){return Wt(this,"requestMicrophoneAuthorization",{platforms:["Android","iOS"]},arguments)},Re.prototype.isContactsAuthorized=function(){return Wt(this,"isContactsAuthorized",{platforms:["Android","iOS"]},arguments)},Re.prototype.getContactsAuthorizationStatus=function(){return Wt(this,"getContactsAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.requestContactsAuthorization=function(){return Wt(this,"requestContactsAuthorization",{platforms:["Android","iOS"]},arguments)},Re.prototype.isCalendarAuthorized=function(){return Wt(this,"isCalendarAuthorized",{platforms:["Android","iOS"]},arguments)},Re.prototype.getCalendarAuthorizationStatus=function(){return Wt(this,"getCalendarAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.requestCalendarAuthorization=function(){return Wt(this,"requestCalendarAuthorization",{platforms:["Android","iOS"]},arguments)},Re.prototype.switchToSettings=function(){return Wt(this,"switchToSettings",{platforms:["Android","iOS"]},arguments)},Re.prototype.getBluetoothState=function(){return Wt(this,"getBluetoothState",{platforms:["Android","iOS"]},arguments)},Re.prototype.registerBluetoothStateChangeHandler=function(Le){return Wt(this,"registerBluetoothStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Re.prototype.registerLocationStateChangeHandler=function(Le){return Wt(this,"registerLocationStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Re.prototype.getArchitecture=function(){return Wt(this,"getArchitecture",{platforms:["Android","iOS"]},arguments)},Re.prototype.getCurrentBatteryLevel=function(){return Wt(this,"getCurrentBatteryLevel",{platforms:["Android","iOS"]},arguments)},Re.prototype.restart=function(Le){return Wt(this,"restart",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.isGpsLocationAvailable=function(){return Wt(this,"isGpsLocationAvailable",{platforms:["Android"]},arguments)},Re.prototype.isGpsLocationEnabled=function(){return Wt(this,"isGpsLocationEnabled",{platforms:["Android"]},arguments)},Re.prototype.isNetworkLocationAvailable=function(){return Wt(this,"isNetworkLocationAvailable",{platforms:["Android"]},arguments)},Re.prototype.isNetworkLocationEnabled=function(){return Wt(this,"isNetworkLocationEnabled",{platforms:["Android"]},arguments)},Re.prototype.isAirplaneModeEnabled=function(){return Wt(this,"isAirplaneModeEnabled",{platforms:["Android"]},arguments)},Re.prototype.isMobileDataEnabled=function(){return Wt(this,"isMobileDataEnabled",{platforms:["Android"]},arguments)},Re.prototype.getLocationMode=function(){return Wt(this,"getLocationMode",{platforms:["Android"]},arguments)},Re.prototype.getDeviceOSVersion=function(){return Wt(this,"getDeviceOSVersion",{platforms:["Android"]},arguments)},Re.prototype.getBuildOSVersion=function(){return Wt(this,"getBuildOSVersion",{platforms:["Android"]},arguments)},Re.prototype.getPermissionAuthorizationStatus=function(Le){return Wt(this,"getPermissionAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.getPermissionsAuthorizationStatus=function(Le){return Wt(this,"getPermissionsAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.requestRuntimePermission=function(Le){return Wt(this,"requestRuntimePermission",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.requestRuntimePermissions=function(Le){return Wt(this,"requestRuntimePermissions",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.isRequestingPermission=function(){return Wt(this,"isRequestingPermission",{sync:!0},arguments)},Re.prototype.registerPermissionRequestCompleteHandler=function(Le){return Wt(this,"registerPermissionRequestCompleteHandler",{sync:!0},arguments)},Re.prototype.isBluetoothEnabled=function(){return Wt(this,"isBluetoothEnabled",{platforms:["Android"]},arguments)},Re.prototype.hasBluetoothSupport=function(){return Wt(this,"hasBluetoothSupport",{platforms:["Android"]},arguments)},Re.prototype.hasBluetoothLESupport=function(){return Wt(this,"hasBluetoothLESupport",{platforms:["Android"]},arguments)},Re.prototype.hasBluetoothLEPeripheralSupport=function(){return Wt(this,"hasBluetoothLEPeripheralSupport",{platforms:["Android"]},arguments)},Re.prototype.getBluetoothAuthorizationStatus=function(){return Wt(this,"getBluetoothAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.getBluetoothAuthorizationStatuses=function(){return Wt(this,"getBluetoothAuthorizationStatuses",{platforms:["Android"]},arguments)},Re.prototype.isExternalStorageAuthorized=function(){return Wt(this,"isExternalStorageAuthorized",{platforms:["Android"]},arguments)},Re.prototype.getExternalStorageAuthorizationStatus=function(){return Wt(this,"getExternalStorageAuthorizationStatus",{platforms:["Android"]},arguments)},Re.prototype.requestExternalStorageAuthorization=function(){return Wt(this,"requestExternalStorageAuthorization",{platforms:["Android"]},arguments)},Re.prototype.getExternalSdCardDetails=function(){return Wt(this,"getExternalSdCardDetails",{platforms:["Android"]},arguments)},Re.prototype.switchToWirelessSettings=function(){return Wt(this,"switchToWirelessSettings",{platforms:["Android"],sync:!0},arguments)},Re.prototype.switchToNFCSettings=function(){return Wt(this,"switchToNFCSettings",{platforms:["Android"],sync:!0},arguments)},Re.prototype.isNFCPresent=function(){return Wt(this,"isNFCPresent",{platforms:["Android"]},arguments)},Re.prototype.isNFCEnabled=function(){return Wt(this,"isNFCEnabled",{platforms:["Android"]},arguments)},Re.prototype.isNFCAvailable=function(){return Wt(this,"isNFCAvailable",{platforms:["Android"]},arguments)},Re.prototype.registerNFCStateChangeHandler=function(Le){return Wt(this,"registerNFCStateChangeHandler",{platforms:["Android"],sync:!0},arguments)},Re.prototype.isDataRoamingEnabled=function(){return Wt(this,"isDataRoamingEnabled",{platforms:["Android"]},arguments)},Re.prototype.isADBModeEnabled=function(){return Wt(this,"isADBModeEnabled",{platforms:["Android"]},arguments)},Re.prototype.isDeviceRooted=function(){return Wt(this,"isDeviceRooted",{platforms:["Android"]},arguments)},Re.prototype.isCameraRollAuthorized=function(Le){return Wt(this,"isCameraRollAuthorized",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.getCameraRollAuthorizationStatus=function(Le){return Wt(this,"getCameraRollAuthorizationStatus",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.requestCameraRollAuthorization=function(Le){return Wt(this,"requestCameraRollAuthorization",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.presentLimitedLibraryPicker=function(){return Wt(this,"presentLimitedLibraryPicker",{platforms:["iOS"]},arguments)},Re.prototype.isRemoteNotificationsEnabled=function(){return Wt(this,"isRemoteNotificationsEnabled",{platforms:["iOS","Android"]},arguments)},Re.prototype.isRegisteredForRemoteNotifications=function(){return Wt(this,"isRegisteredForRemoteNotifications",{platforms:["iOS"]},arguments)},Re.prototype.getRemoteNotificationsAuthorizationStatus=function(){return Wt(this,"getRemoteNotificationsAuthorizationStatus",{platforms:["iOS"]},arguments)},Re.prototype.requestRemoteNotificationsAuthorization=function(Le,Ie){return Wt(this,"requestRemoteNotificationsAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.getRemoteNotificationTypes=function(){return Wt(this,"getRemoteNotificationTypes",{platforms:["iOS"]},arguments)},Re.prototype.isRemindersAuthorized=function(){return Wt(this,"isRemindersAuthorized",{platforms:["iOS"]},arguments)},Re.prototype.getRemindersAuthorizationStatus=function(){return Wt(this,"getRemindersAuthorizationStatus",{platforms:["iOS"]},arguments)},Re.prototype.requestRemindersAuthorization=function(){return Wt(this,"requestRemindersAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.isBackgroundRefreshAuthorized=function(){return Wt(this,"isBackgroundRefreshAuthorized",{platforms:["iOS"]},arguments)},Re.prototype.getBackgroundRefreshStatus=function(){return Wt(this,"getBackgroundRefreshStatus",{platforms:["iOS"]},arguments)},Re.prototype.requestBluetoothAuthorization=function(){return Wt(this,"requestBluetoothAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.isMotionAvailable=function(){return Wt(this,"isMotionAvailable",{platforms:["iOS"]},arguments)},Re.prototype.isMotionRequestOutcomeAvailable=function(){return Wt(this,"isMotionRequestOutcomeAvailable",{platforms:["iOS"]},arguments)},Re.prototype.requestMotionAuthorization=function(){return Wt(this,"requestMotionAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.getMotionAuthorizationStatus=function(){return Wt(this,"getMotionAuthorizationStatus",{platforms:["iOS"]},arguments)},Re.prototype.getLocationAccuracyAuthorization=function(){return Wt(this,"getLocationAccuracyAuthorization",{platforms:["iOS","Android"]},arguments)},Re.prototype.requestTemporaryFullAccuracyAuthorization=function(Le){return Wt(this,"requestTemporaryFullAccuracyAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.registerLocationAccuracyAuthorizationChangeHandler=function(Le){return Wt(this,"registerLocationAccuracyAuthorizationChangeHandler",{platforms:["iOS"],sync:!0},arguments)},Object.defineProperty(Re.prototype,"permissionStatus",{get:function(){return Ut(this,"permissionStatus")},set:function(Le){He(this,"permissionStatus",Le)},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"NFCState",{get:function(){return Ut(this,"NFCState")},set:function(Le){He(this,"NFCState",Le)},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"cpuArchitecture",{get:function(){return Ut(this,"cpuArchitecture")},set:function(Le){He(this,"cpuArchitecture",Le)},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"remoteNotificationType",{get:function(){return Ut(this,"remoteNotificationType")},set:function(Le){He(this,"remoteNotificationType",Le)},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"motionStatus",{get:function(){return Ut(this,"motionStatus")},set:function(Le){He(this,"motionStatus",Le)},enumerable:!1,configurable:!0}),Re.\u0275fac=(()=>{let Le;return function(ut){return(Le||(Le=p.xGo(Re)))(ut||Re)}})(),Re.\u0275prov=p.jDH({token:Re,factory:Re.\u0275fac}),Re.pluginName="Diagnostic",Re.plugin="cordova.plugins.diagnostic",Re.pluginRef="cordova.plugins.diagnostic",Re.repo="https://github.com/dpa99c/cordova-diagnostic-plugin",Re.platforms=["Android","iOS","Windows"],Re=(0,Te.Cg)([],Re)}(Lt),Ae=function(Ve){return Ve.GRANTED="GRANTED",Ve.NOT_REQUESTED="NOT_REQUESTED",Ve.DENIED_ALWAYS="DENIED_ALWAYS",Ve.DENIED="DENIED",Ve.UNKNOWN="UNKNOWN",Ve}(Ae||{}),Me=function(Ve){return Ve.CAMERA="CAMERA",Ve.MICROPHONE="MICROPHONE",Ve}(Me||{});let Ze=(()=>{var Ve;class Re{constructor(Ie,ut){this.platform=Ie,this.diagnostic=ut}hasCameraPermission(){var Ie=this;return(0,a.A)(function*(){const ut=yield Ie.diagnostic.getCameraAuthorizationStatus(!1);return Ie.getPermissionStatus(ut)})()}hasMicrophonePermission(){var Ie=this;return(0,a.A)(function*(){const ut=yield Ie.diagnostic.getMicrophoneAuthorizationStatus();return Ie.getPermissionStatus(ut)})()}requestPermissions(Ie){var ut=this;return(0,a.A)(function*(){if(ut.platform.is("android")){const Vt=[];Ie.indexOf(Me.CAMERA)>=0&&Vt.push(ut.diagnostic.permission.CAMERA),Ie.indexOf(Me.MICROPHONE)>=0&&Vt.push(ut.diagnostic.permission.RECORD_AUDIO),yield ut.diagnostic.requestRuntimePermissions(Vt)}else ut.platform.is("ios")?(Ie.indexOf(Me.CAMERA)>=0&&(yield ut.diagnostic.requestCameraAuthorization(!1)),Ie.indexOf(Me.MICROPHONE)>=0&&(yield ut.diagnostic.requestMicrophoneAuthorization())):console.warn("requesting permission in browser")})()}userRequestsPermissions(Ie){var ut=this;return(0,a.A)(function*(){let Vt=!1;for(const dn of Ie)Vt=(yield ut.canAskForPermission(dn))||Vt;Vt&&(yield ut.requestPermissions(Ie))})()}canAskForPermission(Ie){var ut=this;return(0,a.A)(function*(){let Vt=!0;return ut.platform.is("android")?Ie===Me.CAMERA?Vt=(yield ut.hasCameraPermission())!==Ae.DENIED_ALWAYS:Ie===Me.MICROPHONE&&(Vt=(yield ut.hasMicrophonePermission())!==Ae.DENIED_ALWAYS):ut.platform.is("ios")&&(Ie===Me.CAMERA?Vt=(yield ut.hasCameraPermission())!==Ae.DENIED:Ie===Me.MICROPHONE&&(Vt=(yield ut.hasMicrophonePermission())!==Ae.DENIED)),Vt})()}getPermissionStatus(Ie){var ut=this;return(0,a.A)(function*(){return ut.isGranted(Ie)?Ae.GRANTED:ut.isNotRequested(Ie)?Ae.NOT_REQUESTED:ut.isDeniedAlways(Ie)?Ae.DENIED_ALWAYS:ut.isDenied(Ie)?Ae.DENIED:Ae.UNKNOWN})()}isGranted(Ie){return Ie===this.diagnostic.permissionStatus.GRANTED||Ie===this.diagnostic.permissionStatus.GRANTED_WHEN_IN_USE}isNotRequested(Ie){return Ie===this.diagnostic.permissionStatus.NOT_REQUESTED}isDeniedAlways(Ie){return Ie===this.diagnostic.permissionStatus.DENIED_ALWAYS||Ie===this.diagnostic.permissionStatus.RESTRICTED}isDenied(Ie){return!(this.isGranted(Ie)||this.isNotRequested(Ie))}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(c.OD),p.KVO(_e))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Re})();var je=E(2342);let it=(()=>{var Ve;class Re{constructor(Ie,ut,Vt){this.platform=Ie,this.utilService=ut,this.permissionsService=Vt,this.hasCameras=!1,this.isActive=!1,this._hasCameraPermission=new pe.m,this.hasCameraPermission=this._hasCameraPermission.asObservable()}requestPermission(Ie,ut){var Vt=this;return(0,a.A)(function*(){yield Vt.permissionsService.userRequestsPermissions([Me.CAMERA]),yield Vt.checkCameraPermissionsAndActivate(Ie,ut)})()}checkCameraPermissionsAndActivate(Ie,ut){var Vt=this;return(0,a.A)(function*(){(yield Vt.permissionsService.hasCameraPermission())===Ae.GRANTED?(document.body.style.backgroundColor="transparent",Vt._hasCameraPermission.next(!0),Vt.startScan(Ie,ut)):Vt._hasCameraPermission.next(!1)})()}startScan(Ie,ut=null){this.scan(Ie,ut)}checkScan(Ie){console.error(`The checkScan method needs to be overwritten. Ignoring text ${Ie}`)}scan(Ie,ut=null){var Vt=this;this.isActive=!0;let dn=this.utilService.translateMessage("SCAN_QR_INSTRUCTION");window.qrScanner.startScanner("Scan",dn,"#0b0b0b",dn,!1,this.platform.isRTL,function(){var fn=(0,a.A)(function*(Un){Ie(Un),Vt.stopScanner()});return function(Un){return fn.apply(this,arguments)}}(),fn=>{this.stopScanner()})}stopScanner(){this.isActive&&setTimeout(()=>{window.qrScanner.stopScanner(),this.isActive=!1},100)}destroy(){window.qrScanner.stopScanner()}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(c.OD),p.KVO(je.a),p.KVO(Ze))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Re})();var Pe=E(9030),Se=E(8810),ze=E(8793),Et=E(1413),Je=E(5343);const st=new L.c(Je.l);var yt=E(6365),vt=E(8750),Kt=E(983),Pt=E(9326),Rt=E(6648);function On(...Ve){const Re=(0,Pt.lI)(Ve),Le=(0,Pt.R0)(Ve,1/0),Ie=Ve;return Ie.length?1===Ie.length?(0,vt.Tg)(Ie[0]):(0,yt.U)(Le)((0,Rt.H)(Ie,Re)):Kt.w}var An=E(6354),Bn=E(5558),Mn=E(17),Wn=E(8071),Ln=E(9974);const kn={connector:()=>new Et.B};function Gn(Ve,Re=kn){const{connector:Le}=Re;return(0,Ln.N)((Ie,ut)=>{const Vt=Le();(0,vt.Tg)(Ve(function Fn(Ve){return new L.c(Re=>Ve.subscribe(Re))}(Vt))).subscribe(ut),ut.add(Ie.subscribe(Vt))})}var $e=E(6697),lt=E(4360),Mt=E(3028);function kt(Ve,Re){return Re?Le=>(0,ze.x)(Re.pipe((0,$e.s)(1),function Tt(){return(0,Ln.N)((Ve,Re)=>{Ve.subscribe((0,lt._)(Re,Je.l))})}()),Le.pipe(kt(Ve))):(0,Mt.Z)((Le,Ie)=>(0,vt.Tg)(Ve(Le,Ie)).pipe((0,$e.s)(1),(0,tt.u)(Le)))}const qt="Service workers are disabled or not supported by this browser";class Tn{constructor(Re){if(this.serviceWorker=Re,Re){const Ie=(0,re.R)(Re,"controllerchange").pipe((0,An.T)(()=>Re.controller)),ut=(0,Pe.v)(()=>(0,xe.of)(Re.controller)),Vt=(0,ze.x)(ut,Ie);this.worker=Vt.pipe((0,Q.p)(Vn=>!!Vn)),this.registration=this.worker.pipe((0,Bn.n)(()=>Re.getRegistration()));const mr=(0,re.R)(Re,"message").pipe((0,An.T)(Vn=>Vn.data)).pipe((0,Q.p)(Vn=>Vn&&Vn.type)).pipe(function jn(Ve){return Ve?Re=>Gn(Ve)(Re):Re=>function Xn(Ve,Re){const Le=(0,Wn.T)(Ve)?Ve:()=>Ve;return(0,Wn.T)(Re)?Gn(Re,{connector:Le}):Ie=>new Mn.G(Ie,Le)}(new Et.B)(Re)}());mr.connect(),this.events=mr}else this.worker=this.events=this.registration=function Qt(Ve){return(0,Pe.v)(()=>(0,Se.$)(new Error(Ve)))}(qt)}postMessage(Re,Le){return this.worker.pipe((0,$e.s)(1),(0,De.M)(Ie=>{Ie.postMessage({action:Re,...Le})})).toPromise().then(()=>{})}postMessageWithOperation(Re,Le,Ie){const ut=this.waitForOperationCompleted(Ie),Vt=this.postMessage(Re,Le);return Promise.all([Vt,ut]).then(([,dn])=>dn)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Re){let Le;return Le="string"==typeof Re?Ie=>Ie.type===Re:Ie=>Re.includes(Ie.type),this.events.pipe((0,Q.p)(Le))}nextEventOfType(Re){return this.eventsOfType(Re).pipe((0,$e.s)(1))}waitForOperationCompleted(Re){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Q.p)(Le=>Le.nonce===Re),(0,$e.s)(1),(0,An.T)(Le=>{if(void 0!==Le.result)return Le.result;throw new Error(Le.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let wn=(()=>{var Ve;class Re{get isEnabled(){return this.sw.isEnabled}constructor(Ie){if(this.sw=Ie,this.pushManager=null,this.subscriptionChanges=new Et.B,!Ie.isEnabled)return this.messages=st,this.notificationClicks=st,void(this.subscription=st);this.messages=this.sw.eventsOfType("PUSH").pipe((0,An.T)(Vt=>Vt.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,An.T)(Vt=>Vt.data)),this.pushManager=this.sw.registration.pipe((0,An.T)(Vt=>Vt.pushManager));const ut=this.pushManager.pipe((0,Bn.n)(Vt=>Vt.getSubscription()));this.subscription=On(ut,this.subscriptionChanges)}requestSubscription(Ie){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(qt));const ut={userVisibleOnly:!0};let Vt=this.decodeBase64(Ie.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),dn=new Uint8Array(new ArrayBuffer(Vt.length));for(let fn=0;fnfn.subscribe(ut)),(0,$e.s)(1)).toPromise().then(fn=>(this.subscriptionChanges.next(fn),fn))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,$e.s)(1),(0,Bn.n)(ut=>{if(null===ut)throw new Error("Not subscribed to push notifications.");return ut.unsubscribe().then(Vt=>{if(!Vt)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(qt))}decodeBase64(Ie){return atob(Ie)}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(Tn))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac}),Re})(),Kn=(()=>{var Ve;class Re{get isEnabled(){return this.sw.isEnabled}constructor(Ie){if(this.sw=Ie,!Ie.isEnabled)return this.versionUpdates=st,void(this.unrecoverable=st);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(qt));const Ie=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:Ie},Ie)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(qt));const Ie=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:Ie},Ie)}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(Tn))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac}),Re})();const fr=new p.nKC("");function Ge(Ve,Re,Le,Ie){return()=>{if(!(0,m.UE)(Ie)||!("serviceWorker"in navigator)||!1===Le.enabled)return;let ut;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof Le.registrationStrategy)ut=Le.registrationStrategy();else{const[dn,...fn]=(Le.registrationStrategy||"registerWhenStable:30000").split(":");switch(dn){case"registerImmediately":ut=(0,xe.of)(null);break;case"registerWithDelay":ut=et(+fn[0]||0);break;case"registerWhenStable":ut=fn[0]?On(Fe(Ve),et(+fn[0])):Fe(Ve);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${Le.registrationStrategy}`)}}Ve.get(p.SKi).runOutsideAngular(()=>ut.pipe((0,$e.s)(1)).subscribe(()=>navigator.serviceWorker.register(Re,{scope:Le.scope}).catch(dn=>console.error("Service worker registration failed with:",dn))))}}function et(Ve){return(0,xe.of)(null).pipe(function Zt(Ve,Re=r){const Le=J(Ve,Re);return kt(()=>Le)}(Ve))}function Fe(Ve){return Ve.get(p.o8S).isStable.pipe((0,Q.p)(Le=>Le))}function qe(Ve,Re){return new Tn((0,m.UE)(Re)&&!1!==Ve.enabled?navigator.serviceWorker:void 0)}class Ct{}function Gt(Ve,Re={}){return(0,p.EmA)([wn,Kn,{provide:fr,useValue:Ve},{provide:Ct,useValue:Re},{provide:Tn,useFactory:qe,deps:[Ct,p.Agw]},{provide:p.hnV,useFactory:Ge,deps:[p.zZn,fr,Ct,p.Agw],multi:!0}])}let vn=(()=>{var Ve;class Re{static register(Ie,ut={}){return{ngModule:Re,providers:[Gt(Ie,ut)]}}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)},Ve.\u0275mod=p.$C({type:Ve}),Ve.\u0275inj=p.G2t({providers:[wn,Kn]}),Re})();var gt=E(446),zt=E(5173);const ye=(Ve,Re)=>({title_bb:Ve,animate_title:Re});function Ke(Ve,Re){if(1&Ve&&(p.j41(0,"ion-title",27),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.Y8G("ngClass",p.l_i(2,ye,null==Le.headerConfig?null:Le.headerConfig.showbackButton,(null==Le.headerConfig?null:Le.headerConfig.pageTitle)==Le.appName)),p.R7$(),p.JRh(null==Le.configVariables?null:Le.configVariables.siteName)}}function dt(Ve,Re){if(1&Ve&&(p.j41(0,"ion-title",28),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.JRh(null==Le.headerConfig?null:Le.headerConfig.pageTitle)}}function pt(Ve,Re){1&Ve&&(p.nrm(0,"ion-input",29,0),p.nI1(2,"translate")),2&Ve&&p.Y8G("placeholder",p.bMT(2,1,"SEARCH_HINT"))}function Yt(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"ion-button",23),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG(2);return p.Njj(Vt.emitEvent(ut,"edit"))}),p.nrm(1,"ion-icon",30),p.k0s()}}function $t(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div",14)(1,"ion-buttons",15)(2,"ion-button",1),p.nrm(3,"ion-icon",16),p.k0s(),p.j41(4,"ion-button",17),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG();return p.Njj(Vt.emitEvent(ut,"back"))}),p.nrm(5,"ion-icon",18),p.k0s()(),p.DNE(6,Ke,2,5,"ion-title",19)(7,dt,2,1,"ion-title",20)(8,pt,3,3,"ion-input",21),p.j41(9,"ion-buttons",22)(10,"ion-button",23),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG();return p.Njj(Vt.emitEvent(ut,"search"))}),p.nrm(11,"ion-icon",24),p.k0s(),p.j41(12,"ion-button",23),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG();return p.Njj(Vt.emitEvent(ut,"profile"))}),p.nrm(13,"ion-icon",25),p.k0s()(),p.j41(14,"ion-buttons",22),p.DNE(15,Yt,2,0,"ion-button",26),p.k0s()()}if(2&Ve){const Le=p.XpG();p.R7$(2),p.Y8G("hidden",null==Le.headerConfig?null:Le.headerConfig.showbackButton),p.R7$(),p.FS9("src",null==Le.configVariables?null:Le.configVariables.tenantLogo),p.R7$(),p.Y8G("hidden",!(null!=Le.headerConfig&&Le.headerConfig.showbackButton)),p.R7$(2),p.Y8G("ngIf",!(null!=Le.headerConfig&&Le.headerConfig.showbackButton&&((null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("search"))>=0||(null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("edit"))>=0))),p.R7$(),p.Y8G("ngIf",(null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("edit"))>=0),p.R7$(),p.Y8G("ngIf",(null==Le.headerConfig?null:Le.headerConfig.showbackButton)&&(null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("search"))>=0),p.R7$(),p.Y8G("hidden",null==Le.headerConfig?null:Le.headerConfig.showbackButton),p.R7$(5),p.Y8G("hidden",!(null!=Le.headerConfig&&Le.headerConfig.showbackButton)),p.R7$(),p.Y8G("ngIf",(null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("edit"))>=0)}}function an(Ve,Re){if(1&Ve&&(p.j41(0,"div",40),p.EFF(1),p.nI1(2,"translate"),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.JRh(p.bMT(2,1,null==Le.headerConfig?null:Le.headerConfig.pageTitle))}}function ln(Ve,Re){if(1&Ve&&(p.j41(0,"ion-label"),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.SpI(" ",null==Le.configVariables||null==Le.configVariables[Le.language]?null:Le.configVariables[Le.language].kathaSakhiBotName," ")}}function xn(Ve,Re){if(1&Ve&&(p.j41(0,"ion-label"),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.JRh(null==Le.configVariables||null==Le.configVariables[Le.language]?null:Le.configVariables[Le.language].parentTaraBotName)}}function cn(Ve,Re){if(1&Ve&&(p.j41(0,"ion-label"),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.JRh(null==Le.configVariables||null==Le.configVariables[Le.language]?null:Le.configVariables[Le.language].teacherTaraBotName)}}function nn(Ve,Re){1&Ve&&p.nrm(0,"img",41)}function _n(Ve,Re){1&Ve&&p.nrm(0,"img",42)}function Sn(Ve,Re){1&Ve&&p.nrm(0,"img",43)}function Pn(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div",31)(1,"div",32),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG();return p.Njj(Vt.emitEvent(ut,"back"))}),p.nrm(2,"ion-icon",33),p.DNE(3,an,3,3,"div",34)(4,ln,2,1,"ion-label",35)(5,xn,2,1,"ion-label",35)(6,cn,2,1,"ion-label",35),p.j41(7,"div",36),p.DNE(8,nn,1,0,"img",37)(9,_n,1,0,"img",38)(10,Sn,1,0,"img",39),p.k0s()()()}if(2&Ve){const Le=p.XpG();p.R7$(),p.Y8G("ngClass","Parent Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)||"Teacher Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)?"question-bot":""),p.R7$(2),p.Y8G("ngIf",!Le.isTitleChanged),p.R7$(),p.Y8G("ngIf",Le.isTitleChanged&&"Katha Sakhi"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf",Le.isTitleChanged&&"Parent Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf",Le.isTitleChanged&&"Teacher Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(2),p.Y8G("ngIf","Katha Sakhi"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf","Parent Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf","Teacher Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle))}}function hr(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div",23),p.bIt("click",function(){const ut=p.eBV(Le).$implicit,Vt=p.XpG(2);return p.Njj(Vt.handleFilter(ut))}),p.j41(1,"ion-chip",48),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&Ve){const Le=Re.$implicit,Ie=p.XpG(2);p.R7$(),p.Y8G("ngClass",(null==Le?null:Le.label)==(null==Ie.defaultFilter?null:Ie.defaultFilter.label)?"active":""),p.R7$(),p.JRh(p.bMT(3,2,Le.label))}}function X(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div",44)(1,"ion-chip",45),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.toggleMenu())}),p.nrm(2,"ion-icon",46),p.k0s(),p.DNE(3,hr,4,4,"div",47),p.k0s()}if(2&Ve){const Le=p.XpG();p.R7$(3),p.Y8G("ngForOf",Le.filters)}}function Ue(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"ion-item",49),p.bIt("click",function(ut){const Vt=p.eBV(Le).$implicit,dn=p.XpG();return p.Njj(dn.emitSideMenuItemEvent(ut,Vt))}),p.j41(1,"ion-label",50),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&Ve){const Le=Re.$implicit,Ie=p.XpG();p.R7$(),p.Y8G("ngClass",(null==Le?null:Le.label)==(null==Ie.defaultFilter?null:Ie.defaultFilter.label)?"active-label":""),p.R7$(),p.JRh(p.bMT(3,2,Le.label))}}let le=(()=>{var Ve;class Re{constructor(Ie,ut,Vt,dn,fn,Un,mr){this.utilService=Ie,this.telemetryGeneratorService=ut,this.menuCtrl=Vt,this.headerService=dn,this.storage=fn,this.languageService=Un,this.modalCtrl=mr,this.headerConfig=!1,this.headerEvents=new p.bkB,this.sideMenuItemEvent=new p.bkB,this.isMenuOpen=!1,this.filters=[],this.appVersion="",this.appName="",this.isTitleChanged=!1,this.language="",C.q.getInfo().then(Vn=>{this.appVersion=`v${Vn.version}.${Vn.build}`,this.appName=Vn.name}),gt.g.then(Vn=>{this.configVariables=Vn}).catch(Vn=>{console.error("Failed to load configuration:",Vn)})}loadTabData(Ie){this.language=Ie,this.isTitleChanged=this.configVariables.titleCode.includes(Ie)}ngOnInit(){var Ie=this;return(0,a.A)(function*(){Ie.defaultFilter={},Ie.language=(yield Ie.storage.getData("lang"))||"en",Ie.isTitleChanged=Ie.configVariables.titleCode.includes(Ie.language),Ie.languageSubscription=Ie.languageService.currentLanguage$.subscribe(ut=>{Ie.loadTabData(ut)}),Ie.headerService.filterConfigEmitted$.subscribe(ut=>{Ie.filters=[],Ie.defaultFilter=ut.defaultFilter,Ie.filters.push(ut.defaultFilter),ut.filter.forEach(Vt=>{Ie.filters.push(Vt)})}),Ie.appInfo=yield Ie.utilService.getAppInfo()})()}scan(){var Ie=this;return(0,a.A)(function*(){Ie.telemetryGeneratorService.generateInteractTelemetry("TOUCH","qrscanner-clicked","home","home")})()}handleSearch(Ie){var ut=this;return(0,a.A)(function*(){ut.emitEvent(Ie,"search")})()}emitEvent(Ie,ut){"scan"==ut&&this.scan(),this.headerEvents.emit({event:Ie,name:ut})}toggleMenu(){var Ie=this;return(0,a.A)(function*(){yield Ie.menuCtrl.toggle(),Ie.isMenuOpen=yield Ie.menuCtrl.isEnabled()})()}emitSideMenuItemEvent(Ie,ut){this.menuCtrl.close().then(()=>{this.handleFilter(ut)}).catch(Vt=>{this.handleFilter(ut)})}handleFilter(Ie){this.defaultFilter=Ie,this.sideMenuItemEvent.emit({filter:Ie})}navigateToQRScreen(){var Ie=this;return(0,a.A)(function*(){const ut=yield Ie.modalCtrl.create({component:te,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield ut.present(),ut.onDidDismiss()})()}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.rXU(B.a0),p.rXU(zt.O),p.rXU(D._t),p.rXU(B.Ux),p.rXU(B.n$),p.rXU(F.g),p.rXU(D.W3))},Ve.\u0275cmp=p.VBU({type:Ve,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"],["class","bot-back-panel__title",4,"ngIf"],[4,"ngIf"],[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"],[1,"bot-back-panel__title"],["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(Ie,ut){1&Ie&&(p.j41(0,"ion-header",1)(1,"ion-toolbar",2),p.DNE(2,$t,16,9,"div",3)(3,Pn,11,8,"div",4)(4,X,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,Ue,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&Ie&&(p.Y8G("hidden",!(null!=ut.headerConfig&&ut.headerConfig.showHeader)),p.R7$(2),p.Y8G("ngIf","bot"!==(null==ut.headerConfig?null:ut.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf","bot"===(null==ut.headerConfig?null:ut.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf",!(null!=ut.headerConfig&&ut.headerConfig.showbackButton)&&"My Jaadui Pitara"!==(null==ut.headerConfig?null:ut.headerConfig.pageTitle)),p.R7$(),p.Y8G("swipeGesture",!1),p.R7$(4),p.JRh(p.bMT(10,10,"All Categories")),p.R7$(4),p.Y8G("ngForOf",ut.filters),p.R7$(4),p.Lme("",p.bMT(18,12,"Version: ")," ",ut.appVersion,""),p.R7$(4),p.JRh(null==ut.configVariables?null:ut.configVariables.siteName))},dependencies:[m.YU,m.Sq,m.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:var(--ion-color-primary)}.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;cursor:pointer}ion-title[_ngcontent-%COMP%]{font-weight:700;padding:0 .5rem 0 0;font-size:.8rem;width:48%}.animate_title[_ngcontent-%COMP%]{background-image:linear-gradient(-225deg,#FCB915 5%,var(--ion-color-primary) 29%,var(--ion-color-primary-shade) 67%,#EC5050 100%);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}"]}),Re})();const Ye=["mainContent"];let _t=(()=>{var Ve;class Re{constructor(Ie,ut,Vt,dn,fn,Un,mr,Vn,lr,Or,ni,gi){this.headerService=Ie,this.telemetryAutoSyncService=ut,this.scannerService=Vt,this.popoverCtrl=dn,this.modalCtrl=fn,this.router=Un,this.alertController=mr,this.location=Vn,this.route=lr,this.platform=Or,this.translate=ni,this.swUpdate=gi,this.langModalOpen=!1,this.count=0,this.optModalOpen=!1,this.languages=[],this.exitModalPresented=!1,this.environmentInjector=(0,p.WQX)(p.uvJ),this.initializeApp(),this.initialize()}initializeApp(){history.pushState(null,"",location.href),this.swUpdate.versionUpdates.subscribe(Ie=>{switch(Ie.type){case"VERSION_DETECTED":this.presentUpdateAlert();break;case"VERSION_READY":console.log(`Current app version: ${Ie.currentVersion.hash}`);break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${Ie.version.hash}': ${Ie.error}`)}})}initialize(){var Ie=this;return(0,a.A)(function*(){window.onpopstate=(0,a.A)(function*(){history.pushState(null,"",location.href);const ut=yield Ie.modalCtrl.getTop();ut&&ut.dismiss()})})()}presentExitConfirmationModal(){var Ie=this;return(0,a.A)(function*(){let ut;Ie.exitModalPresented=!0,setTimeout(()=>{Ie.exitModalPresented=!1},4e3),Ie.optModalOpen=!0,ut=yield Ie.modalCtrl.create({component:se.Z,cssClass:"sheet-modal",breakpoints:[.2],showBackdrop:!1,backdropDismiss:!1,initialBreakpoint:.2,handle:!1,handleBehavior:"none"}),yield ut.present(),ut.onDidDismiss().then(Vt=>{Ie.optModalOpen=!1,Vt.data&&Vt.data&&(window.close(),C.q.exitApp())})})()}presentUpdateAlert(){var Ie=this;return(0,a.A)(function*(){yield(yield Ie.alertController.create({header:Ie.translate.instant("Update Available"),message:Ie.translate.instant("A new version of the application is available. Load it?"),buttons:[{text:Ie.translate.instant("Yes"),handler:()=>{window.location.reload()}}]})).present()})()}ngOnInit(){var Ie=this;return(0,a.A)(function*(){history.pushState(null,document.title,window.location.href),Ie.headerService.headerConfigEmitted$.subscribe(ut=>{Ie.headerConfig=ut}),Ie.headerService.filterConfigEmitted$.subscribe(ut=>{Ie.languages=ut.languages}),Ie.autoSyncTelemetry(),C.q.addListener("pause",()=>Ie.telemetryAutoSyncService.pause()),C.q.addListener("resume",()=>Ie.telemetryAutoSyncService.continue())})()}handleHeaderEvents(Ie){var ut=this;return(0,a.A)(function*(){"scan"==Ie.name?ut.scannerService.requestPermission(Vt=>{if("cancel"===Vt||"cancel_hw_back"===Vt||"cancel_nav_back"===Vt)return;let dn="";const fn=new RegExp("(/dial/(?[a-zA-Z0-9]+)|(/QR/\\?id=(?[a-zA-Z0-9]+)))").exec(Vt);fn&&fn.length>1&&(dn=null==fn?void 0:fn.groups[Object.keys(null==fn?void 0:fn.groups).find(Un=>!(null==fn||!fn.groups[Un]))]),dn?ut.router.navigate(["/qr-scan-result"],{state:{scannedData:dn}}):ut.handleInvalidQRcode(Vt)},Vt=>{console.warn(Vt)}):"profile"==Ie.name?ut.langModalOpen||(ut.presentModal(Ie),ut.langModalOpen=!0):"search"==Ie.name&&ut.router.navigate(["/search"]),ut.headerService.sidebarEvent(Ie)})()}presentModal(Ie){var ut=this;return(0,a.A)(function*(){const Vt=yield ut.popoverCtrl.create({component:w,componentProps:{languages:ut.languages},cssClass:"lang-modal",event:Ie,translucent:!0,dismissOnSelect:!0});yield Vt.present(),Vt.onDidDismiss().then(dn=>{ut.langModalOpen=!1,ut.headerService.sidebarEvent({name:"language"})})})()}menuItemAction(Ie){var ut=this;return(0,a.A)(function*(){ut.headerService.sideMenuItemEvents(Ie)})()}autoSyncTelemetry(){this.telemetryAutoSyncService.start(3e4).subscribe()}handleInvalidQRcode(Ie){var ut=this;return(0,a.A)(function*(){const Vt=yield ut.modalCtrl.create({component:te,componentProps:{scannedData:Ie},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield Vt.present(),Vt.onDidDismiss()})()}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.rXU(g.U),p.rXU(Oe),p.rXU(it),p.rXU(D.IE),p.rXU(D.W3),p.rXU(O.Ix),p.rXU(D.hG),p.rXU(m.aZ),p.rXU(O.nX),p.rXU(c.OD),p.rXU(_.c$),p.rXU(Kn))},Ve.\u0275cmp=p.VBU({type:Ve,selectors:[["app-root"]],viewQuery:function(Ie,ut){if(1&Ie&&p.GBs(Ye,5,D.Rg),2&Ie){let Vt;p.mGM(Vt=p.lsd())&&(ut.routerOutlet=Vt.first)}},decls:8,vars:2,consts:[["ionRouterOutlet",""],[2,"z-index","1"],[3,"headerEvents","sideMenuItemEvent","headerConfig"],["contentId","mainContent"],["id","mainContent","main","",3,"swipeGesture"]],template:function(Ie,ut){if(1&Ie){const Vt=p.RV6();p.j41(0,"ion-app")(1,"div",1)(2,"app-application-header",2),p.bIt("headerEvents",function(fn){return p.eBV(Vt),p.Njj(ut.handleHeaderEvents(fn))})("sideMenuItemEvent",function(fn){return p.eBV(Vt),p.Njj(ut.menuItemAction(fn))}),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&Ie&&(p.R7$(2),p.Y8G("headerConfig",ut.headerConfig),p.R7$(2),p.Y8G("swipeGesture",!1))},dependencies:[D.U1,D.HP,D.Rg,le]}),Re})();const Nn=[{path:"",loadChildren:()=>E.e(786).then(E.bind(E,786)).then(Ve=>Ve.SplashPageModule),pathMatch:"full"},{path:"tabs",loadChildren:()=>E.e(5695).then(E.bind(E,5695)).then(Ve=>Ve.TabsPageModule)},{path:"home",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(4392)]).then(E.bind(E,4392)).then(Ve=>Ve.HomePageModule)},{path:"my-pitara",loadChildren:()=>Promise.all([E.e(2076),E.e(4567)]).then(E.bind(E,4567)).then(Ve=>Ve.MyPitaraPageModule)},{path:"story",loadChildren:()=>Promise.all([E.e(4503),E.e(2648)]).then(E.bind(E,2648)).then(Ve=>Ve.StoryPageModule)},{path:"player",loadChildren:()=>E.e(7916).then(E.bind(E,7916)).then(Ve=>Ve.PlayerPageModule)},{path:"teacher-sakhi",loadChildren:()=>Promise.all([E.e(4503),E.e(1177)]).then(E.bind(E,1177)).then(Ve=>Ve.TeacherSakhiPageModule)},{path:"view-all",loadChildren:()=>Promise.all([E.e(5006),E.e(6674),E.e(3119)]).then(E.bind(E,3119)).then(Ve=>Ve.ViewAllPageModule)},{path:"create-playlist",loadChildren:()=>Promise.all([E.e(6674),E.e(3066)]).then(E.bind(E,3066)).then(Ve=>Ve.CreatePlaylistPageModule)},{path:"search",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(1983)]).then(E.bind(E,1983)).then(Ve=>Ve.SearchPageModule)},{path:"qr-scan-result",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(8761)]).then(E.bind(E,8761)).then(Ve=>Ve.QrScanResultPageModule)},{path:"parent-sakhi",loadChildren:()=>Promise.all([E.e(4503),E.e(101)]).then(E.bind(E,101)).then(Ve=>Ve.ParentSakhiPageModule)},{path:"playlist-details",loadChildren:()=>Promise.all([E.e(2076),E.e(4294)]).then(E.bind(E,4294)).then(Ve=>Ve.PlaylistDetailsPageModule)}];let pr=(()=>{var Ve;class Re{}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)},Ve.\u0275mod=p.$C({type:Ve}),Ve.\u0275inj=p.G2t({imports:[O.iI.forRoot(Nn,{preloadingStrategy:O.Kp}),O.iI]}),Re})();var wr=E(5553);class qr{constructor(Re,Le="/assets/i18n/",Ie=".json"){this.http=Re,this.prefix=Le,this.suffix=Ie}getTranslation(Re){return this.http.get(`${this.prefix}${Re}${this.suffix}`)}}var Wr=E(1626),ei=E(3486),jr=E(4591),Vi=E(6011),Dr=E(1765),vi=E(444),$n=E(7803),mi=E(3696),Oi=E(3871),Di=E(2918),Ai=E(1113),ji=E(3721),Mi=E(8402),Hi=E(4447),Kr=E(3172);function wi(Ve){return new qr(Ve,"./assets/i18n/",".json")}function _i(Ve){return()=>Ve.initializePlugin()}let Po=(()=>{var Ve;class Re{constructor(Ie,ut){this.translate=Ie,this.storage=ut,this.findSiteSubDomain(),this.storage.getData("lang").then(Vt=>{this.translate.setDefaultLang(Vt||"hi"),Vt||this.setDefaultLanguage()}),gt.g.then(Vt=>{this.configVariables=Vt}).catch(Vt=>{console.error("Failed to load configuration:",Vt)})}setDefaultLanguage(){this.storage.setData("lang","hi"),this.translate.setDefaultLang("hi"),this.translate.use("hi");for(let dn=0;dn<(null===(Ie=this.configVariables)||void 0===Ie?void 0:Ie.languages.length);dn++){var Ie,ut;if(null!==(ut=this.configVariables)&&void 0!==ut&&ut.languages[dn].default){var Vt;let fn=null===(Vt=this.configVariables)||void 0===Vt?void 0:Vt.languages[dn].id;this.storage.setData("lang",fn),this.translate.setDefaultLang(fn),this.translate.use(fn)}}}findSiteSubDomain(){const Vt=new URL(document.baseURI).hostname.split(".");localStorage.setItem("subDomain",Vt[0]),this.setManifestFile(Vt[0])}setManifestFile(Ie){var ut=document.createElement("link");ut.rel="manifest",ut.href=Ie+".webmanifest",document.getElementsByTagName("head")[0].appendChild(ut)}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(_.c$),p.KVO(ei.n))},Ve.\u0275mod=p.$C({type:Ve,bootstrap:[_t]}),Ve.\u0275inj=p.G2t({providers:[{provide:O.b,useClass:c.jM},ei.n,jr.a,Vi.H,Dr.H,Oe,g.U,je.a,vi.f,$n.q,B.Gf,mi.w,B.hs,B.q4,B.XU,Oi.d,B.XI,Di.B,zt.O,it,Ze,_e,B.Sc,Ai.q,B.F_,Mi.Z,B.MK,Hi.i,Kn,{provide:p.hnV,useFactory:_i,deps:[jr.a],multi:!0}],imports:[S.Bb,D.bv.forRoot(),pr,Wr.q1,_.h.forRoot({loader:{provide:_.Wr,useFactory:wi,deps:[Wr.Qq]}}),wr.h,ji.h,vn.register("ngsw-worker.js",{enabled:Kr.c.production})]}),Re})();var Ir=E(1288),Bi=E(9657);const go=function(){var Ve=(0,a.A)(function*(Re,Le){if(!(typeof window>"u"))return yield,(0,Bi.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"]}]]]],Le)});return function(Le,Ie){return Ve.apply(this,arguments)}}();var zi=E(5083);(0,p.SmG)(),"web"===zi.Ii.getPlatform()&&(window,typeof window>"u"?Promise.resolve():(0,Ir.p)().then(()=>(0,Ir.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)),go(window),window.addEventListener("DOMContentLoaded",(0,a.A)(function*(){const Ve=document.createElement("jeep-sqlite");document.body.appendChild(Ve),yield customElements.whenDefined("jeep-sqlite"),Ve.autoSave=!0}))),S.sG().bootstrapModule(Po).catch(Ve=>console.log(Ve))},1990:(Ce,ee,E)=>{var a=ee;a.bignum=E(6867),a.define=E(6626).define,a.base=E(5066),a.constants=E(7740),a.decoders=E(1558),a.encoders=E(2714)},6626:(Ce,ee,E)=>{var a=E(1990),S=E(1993);function 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(F){this._initNamed(F)}}return S(C,D),C.prototype._initNamed=function(F){D.call(this,F)},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:(Ce,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 F=new O(this.base);return F._reporterState=this._reporterState,F.offset=this.offset,F.length=this.offset+C,this.offset+=C,F},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(F){F.join(C,_),_+=F.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:(Ce,ee,E)=>{var a=ee;a.Reporter=E(5697).a,a.DecoderBuffer=E(7290).t,a.EncoderBuffer=E(7290).d,a.Node=E(4320)},4320:(Ce,ee,E)=>{var a=E(5066).Reporter,S=E(5066).EncoderBuffer,p=E(5066).DecoderBuffer,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 _(B,m){var T={};this._baseState=T,T.enc=B,T.parent=m||null,T.children=null,T.tag=null,T.args=null,T.reverseArgs=null,T.choice=null,T.optional=!1,T.any=!1,T.obj=!1,T.use=null,T.useDecoder=null,T.key=null,T.default=null,T.explicit=null,T.implicit=null,T.contains=null,T.parent||(T.children=[],this._wrap())}Ce.exports=_;var F=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];_.prototype.clone=function(){var m=this._baseState,T={};F.forEach(function(w){T[w]=m[w]});var A=new this.constructor(T.parent);return A._baseState=T,A},_.prototype._wrap=function(){var m=this._baseState;D.forEach(function(T){this[T]=function(){var w=new this.constructor(this);return m.children.push(w),w[T].apply(w,arguments)}},this)},_.prototype._init=function(m){var T=this._baseState;O(null===T.parent),m.call(this),T.children=T.children.filter(function(A){return A._baseState.parent===this},this),O.equal(T.children.length,1,"Root node can have only one child")},_.prototype._useArgs=function(m){var T=this._baseState,A=m.filter(function(w){return w instanceof this.constructor},this);m=m.filter(function(w){return!(w instanceof this.constructor)},this),0!==A.length&&(O(null===T.children),T.children=A,A.forEach(function(w){w._baseState.parent=this},this)),0!==m.length&&(O(null===T.args),T.args=m,T.reverseArgs=m.map(function(w){if("object"!=typeof w||w.constructor!==Object)return w;var R={};return Object.keys(w).forEach(function($){$==(0|$)&&($|=0),R[w[$]]=$}),R}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(B){_.prototype[B]=function(){throw new Error(B+" not implemented for encoding: "+this._baseState.enc)}}),c.forEach(function(B){_.prototype[B]=function(){var T=this._baseState,A=Array.prototype.slice.call(arguments);return O(null===T.tag),T.tag=B,this._useArgs(A),this}}),_.prototype.use=function(m){O(m);var T=this._baseState;return O(null===T.use),T.use=m,this},_.prototype.optional=function(){return this._baseState.optional=!0,this},_.prototype.def=function(m){var T=this._baseState;return O(null===T.default),T.default=m,T.optional=!0,this},_.prototype.explicit=function(m){var T=this._baseState;return O(null===T.explicit&&null===T.implicit),T.explicit=m,this},_.prototype.implicit=function(m){var T=this._baseState;return O(null===T.explicit&&null===T.implicit),T.implicit=m,this},_.prototype.obj=function(){var m=this._baseState,T=Array.prototype.slice.call(arguments);return m.obj=!0,0!==T.length&&this._useArgs(T),this},_.prototype.key=function(m){var T=this._baseState;return O(null===T.key),T.key=m,this},_.prototype.any=function(){return this._baseState.any=!0,this},_.prototype.choice=function(m){var T=this._baseState;return O(null===T.choice),T.choice=m,this._useArgs(Object.keys(m).map(function(A){return m[A]})),this},_.prototype.contains=function(m){var T=this._baseState;return O(null===T.use),T.contains=m,this},_.prototype._decode=function(m,T){var A=this._baseState;if(null===A.parent)return m.wrapResult(A.children[0]._decode(m,T));var P,w=A.default,R=!0,$=null;if(null!==A.key&&($=m.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(R=this._peekTag(m,k,A.any),m.isError(R))return R}else{var M=m.save();try{null===A.choice?this._decodeGeneric(A.tag,m,T):this._decodeChoice(m,T),R=!0}catch{R=!1}m.restore(M)}}if(A.obj&&R&&(P=m.enterObject()),R){if(null!==A.explicit){var U=this._decodeTag(m,A.explicit);if(m.isError(U))return U;m=U}var V=m.offset;if(null===A.use&&null===A.choice){A.any&&(M=m.save());var W=this._decodeTag(m,null!==A.implicit?A.implicit:A.tag,A.any);if(m.isError(W))return W;A.any?w=m.raw(M):m=W}if(T&&T.track&&null!==A.tag&&T.track(m.path(),V,m.length,"tagged"),T&&T.track&&null!==A.tag&&T.track(m.path(),m.offset,m.length,"content"),A.any||(w=null===A.choice?this._decodeGeneric(A.tag,m,T):this._decodeChoice(m,T)),m.isError(w))return w;if(!A.any&&null===A.choice&&null!==A.children&&A.children.forEach(function(te){te._decode(m,T)}),A.contains&&("octstr"===A.tag||"bitstr"===A.tag)){var oe=new p(w);w=this._getUse(A.contains,m._reporterState.obj)._decode(oe,T)}}return A.obj&&R&&(w=m.leaveObject(P)),null===A.key||null===w&&!0!==R?null!==$&&m.exitKey($):m.leaveKey($,A.key,w),w},_.prototype._decodeGeneric=function(m,T,A){var w=this._baseState;return"seq"===m||"set"===m?null:"seqof"===m||"setof"===m?this._decodeList(T,m,w.args[0],A):/str$/.test(m)?this._decodeStr(T,m,A):"objid"===m&&w.args?this._decodeObjid(T,w.args[0],w.args[1],A):"objid"===m?this._decodeObjid(T,null,null,A):"gentime"===m||"utctime"===m?this._decodeTime(T,m,A):"null_"===m?this._decodeNull(T,A):"bool"===m?this._decodeBool(T,A):"objDesc"===m?this._decodeStr(T,m,A):"int"===m||"enum"===m?this._decodeInt(T,w.args&&w.args[0],A):null!==w.use?this._getUse(w.use,T._reporterState.obj)._decode(T,A):T.error("unknown tag: "+m)},_.prototype._getUse=function(m,T){var A=this._baseState;return A.useDecoder=this._use(m,T),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(m,T){var A=this._baseState,w=null,R=!1;return Object.keys(A.choice).some(function($){var k=m.save(),M=A.choice[$];try{var P=M._decode(m,T);if(m.isError(P))return!1;w={type:$,value:P},R=!0}catch{return m.restore(k),!1}return!0},this),R?w:m.error("Choice not matched")},_.prototype._createEncoderBuffer=function(m){return new S(m,this.reporter)},_.prototype._encode=function(m,T,A){var w=this._baseState;if(null===w.default||w.default!==m){var R=this._encodeValue(m,T,A);if(void 0!==R&&!this._skipDefault(R,T,A))return R}},_.prototype._encodeValue=function(m,T,A){var w=this._baseState;if(null===w.parent)return w.children[0]._encode(m,T||new a);var M=null;if(this.reporter=T,w.optional&&void 0===m){if(null===w.default)return;m=w.default}var R=null,$=!1;if(w.any)M=this._createEncoderBuffer(m);else if(w.choice)M=this._encodeChoice(m,T);else if(w.contains)R=this._getUse(w.contains,A)._encode(m,T),$=!0;else if(w.children)R=w.children.map(function(V){if("null_"===V._baseState.tag)return V._encode(null,T,m);if(null===V._baseState.key)return T.error("Child should have a key");var W=T.enterKey(V._baseState.key);if("object"!=typeof m)return T.error("Child expected, but input is not object");var oe=V._encode(m[V._baseState.key],T,m);return T.leaveKey(W),oe},this).filter(function(V){return V}),R=this._createEncoderBuffer(R);else if("seqof"===w.tag||"setof"===w.tag){if(!w.args||1!==w.args.length)return T.error("Too many args for : "+w.tag);if(!Array.isArray(m))return T.error("seqof/setof, but data is not Array");var k=this.clone();k._baseState.implicit=null,R=this._createEncoderBuffer(m.map(function(V){return this._getUse(this._baseState.args[0],m)._encode(V,T)},k))}else null!==w.use?M=this._getUse(w.use,A)._encode(m,T):(R=this._encodePrimitive(w.tag,m),$=!0);if(!w.any&&null===w.choice){var P=null!==w.implicit?w.implicit:w.tag,U=null===w.implicit?"universal":"context";null===P?null===w.use&&T.error("Tag could be omitted only for .use()"):null===w.use&&(M=this._encodeComposite(P,$,U,R))}return null!==w.explicit&&(M=this._encodeComposite(w.explicit,!1,"context",M)),M},_.prototype._encodeChoice=function(m,T){var A=this._baseState,w=A.choice[m.type];return w||O(!1,m.type+" not found in "+JSON.stringify(Object.keys(A.choice))),w._encode(m.value,T)},_.prototype._encodePrimitive=function(m,T){var A=this._baseState;if(/str$/.test(m))return this._encodeStr(T,m);if("objid"===m&&A.args)return this._encodeObjid(T,A.reverseArgs[0],A.args[1]);if("objid"===m)return this._encodeObjid(T,null,null);if("gentime"===m||"utctime"===m)return this._encodeTime(T,m);if("null_"===m)return this._encodeNull();if("int"===m||"enum"===m)return this._encodeInt(T,A.args&&A.reverseArgs[0]);if("bool"===m)return this._encodeBool(T);if("objDesc"===m)return this._encodeStr(T,m);throw new Error("Unsupported tag: "+m)},_.prototype._isNumstr=function(m){return/^[0-9 ]*$/.test(m)},_.prototype._isPrintstr=function(m){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(m)}},5697:(Ce,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(F){return"["+JSON.stringify(F)+"]"}).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:(Ce,ee,E)=>{var a=E(7740);ee.tagClass={0:"universal",1:"application",2:"context",3:"private"},ee.tagClassByName=a._reverse(ee.tagClass),ee.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},ee.tagByName=a._reverse(ee.tag)},7740:(Ce,ee,E)=>{var a=ee;a._reverse=function(p){var O={};return Object.keys(p).forEach(function(c){(0|c)==c&&(c|=0),O[p[c]]=c}),O},a.der=E(6283)},5941:(Ce,ee,E)=>{var a=E(1993),S=E(1990),p=S.base,O=S.bignum,c=S.constants.der;function D(B){this.enc="der",this.name=B.name,this.entity=B,this.tree=new C,this.tree._init(B.body)}function C(B){p.Node.call(this,"der",B)}function _(B,m){var T=B.readUInt8(m);if(B.isError(T))return T;var A=c.tagClass[T>>6],w=!(32&T);if(31&~T)T&=31;else{var R=T;for(T=0;!(128&~R);){if(R=B.readUInt8(m),B.isError(R))return R;T<<=7,T|=127&R}}return{cls:A,primitive:w,tag:T,tagStr:c.tag[T]}}function F(B,m,T){var A=B.readUInt8(T);if(B.isError(A))return A;if(!m&&128===A)return null;if(!(128&A))return A;var w=127&A;if(w>4)return B.error("length octect is too long");A=0;for(var R=0;R{var a=ee;a.der=E(5941),a.pem=E(6935)},6935:(Ce,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(5941);function O(c){p.call(this,c),this.enc="pem"}a(O,p),Ce.exports=O,O.prototype.decode=function(D,C){for(var _=D.toString().split(/[\r\n]+/g),F=C.label.toUpperCase(),B=/^-----(BEGIN|END) ([^-]+)-----$/,m=-1,T=-1,A=0;A<_.length;A++){var w=_[A].match(B);if(null!==w&&w[2]===F){if(-1!==m){if("END"!==w[1])break;T=A;break}if("BEGIN"!==w[1])break;m=A}}if(-1===m||-1===T)throw new Error("PEM section not found for: "+F);var R=_.slice(m+1,T).join("");R.replace(/[^a-z0-9\+\/=]+/gi,"");var $=new S(R,"base64");return p.prototype.decode.call(this,$,C)}},2193:(Ce,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(1990),O=p.base,c=p.constants.der;function D(B){this.enc="der",this.name=B.name,this.entity=B,this.tree=new C,this.tree._init(B.body)}function C(B){O.Node.call(this,"der",B)}function _(B){return B<10?"0"+B:B}Ce.exports=D,D.prototype.encode=function(m,T){return this.tree._encode(m,T).join()},a(C,O.Node),C.prototype._encodeComposite=function(m,T,A,w){var M,R=function F(B,m,T,A){var w;if("seqof"===B?B="seq":"setof"===B&&(B="set"),c.tagByName.hasOwnProperty(B))w=c.tagByName[B];else{if("number"!=typeof B||(0|B)!==B)return A.error("Unknown tag: "+B);w=B}return w>=31?A.error("Multi-octet tag encoding unsupported"):(m||(w|=32),w|=c.tagClassByName[T||"universal"]<<6)}(m,T,A,this.reporter);if(w.length<128)return(M=new S(2))[0]=R,M[1]=w.length,this._createEncoderBuffer([M,w]);for(var $=1,k=w.length;k>=256;k>>=8)$++;(M=new S(2+$))[0]=R,M[1]=128|$,k=1+$;for(var P=w.length;P>0;k--,P>>=8)M[k]=255&P;return this._createEncoderBuffer([M,w])},C.prototype._encodeStr=function(m,T){if("bitstr"===T)return this._createEncoderBuffer([0|m.unused,m.data]);if("bmpstr"===T){for(var A=new S(2*m.length),w=0;w=40)return this.reporter.error("Second objid identifier OOB");m.splice(0,2,40*m[0]+m[1])}var R=0;for(w=0;w=128;$>>=7)R++}var k=new S(R),M=k.length-1;for(w=m.length-1;w>=0;w--)for(k[M--]=127&($=m[w]);($>>=7)>0;)k[M--]=128|127&$;return this._createEncoderBuffer(k)},C.prototype._encodeTime=function(m,T){var A,w=new Date(m);return"gentime"===T?A=[_(w.getFullYear()),_(w.getUTCMonth()+1),_(w.getUTCDate()),_(w.getUTCHours()),_(w.getUTCMinutes()),_(w.getUTCSeconds()),"Z"].join(""):"utctime"===T?A=[_(w.getFullYear()%100),_(w.getUTCMonth()+1),_(w.getUTCDate()),_(w.getUTCHours()),_(w.getUTCMinutes()),_(w.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+T+" time is not supported yet"),this._encodeStr(A,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(m,T){if("string"==typeof m){if(!T)return this.reporter.error("String int or enum given, but no values map");if(!T.hasOwnProperty(m))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(m));m=T[m]}if("number"!=typeof m&&!S.isBuffer(m)){var A=m.toArray();!m.sign&&128&A[0]&&A.unshift(0),m=new S(A)}if(S.isBuffer(m)){var w=m.length;0===m.length&&w++;var $=new S(w);return m.copy($),0===m.length&&($[0]=0),this._createEncoderBuffer($)}if(m<128)return this._createEncoderBuffer(m);if(m<256)return this._createEncoderBuffer([0,m]);w=1;for(var R=m;R>=256;R>>=8)w++;for(R=($=new Array(w)).length-1;R>=0;R--)$[R]=255&m,m>>=8;return 128&$[0]&&$.unshift(0),this._createEncoderBuffer(new S($))},C.prototype._encodeBool=function(m){return this._createEncoderBuffer(m?255:0)},C.prototype._use=function(m,T){return"function"==typeof m&&(m=m(T)),m._getEncoder("der").tree},C.prototype._skipDefault=function(m,T,A){var R,w=this._baseState;if(null===w.default)return!1;var $=m.join();if(void 0===w.defaultBuffer&&(w.defaultBuffer=this._encodeValue(w.default,T,A).join()),$.length!==w.defaultBuffer.length)return!1;for(R=0;R<$.length;R++)if($[R]!==w.defaultBuffer[R])return!1;return!0}},2714:(Ce,ee,E)=>{var a=ee;a.der=E(2193),a.pem=E(4816)},4816:(Ce,ee,E)=>{var a=E(1993),S=E(2193);function p(O){S.call(this,O),this.enc="pem"}a(p,S),Ce.exports=p,p.prototype.encode=function(c,D){for(var _=S.prototype.encode.call(this,c).toString("base64"),F=["-----BEGIN "+D.label+"-----"],B=0;B<_.length;B+=64)F.push(_.slice(B,B+64));return F.push("-----END "+D.label+"-----"),F.join("\n")}},6867:function(Ce,ee,E){!function(a,S){"use strict";function p(g,n){if(!g)throw new Error(n||"Assertion failed")}function O(g,n){g.super_=n;var o=function(){};o.prototype=n.prototype,g.prototype=new o,g.prototype.constructor=g}function c(g,n,o){if(c.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,null!==g&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(g||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(g,n){var o=g.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,xe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},3981:(Ce,ee)=>{"use strict";ee.byteLength=function C(A){var w=D(A),$=w[1];return 3*(w[0]+$)/4-$},ee.toByteArray=function F(A){var w,V,R=D(A),$=R[0],k=R[1],M=new S(function _(A,w,R){return 3*(w+R)/4-R}(0,$,k)),P=0,U=k>0?$-4:$;for(V=0;V>16&255,M[P++]=w>>8&255,M[P++]=255&w;return 2===k&&(w=a[A.charCodeAt(V)]<<2|a[A.charCodeAt(V+1)]>>4,M[P++]=255&w),1===k&&(w=a[A.charCodeAt(V)]<<10|a[A.charCodeAt(V+1)]<<4|a[A.charCodeAt(V+2)]>>2,M[P++]=w>>8&255,M[P++]=255&w),M},ee.fromByteArray=function T(A){for(var w,R=A.length,$=R%3,k=[],M=16383,P=0,U=R-$;PU?U:P+M));return 1===$?k.push(E[(w=A[R-1])>>2]+E[w<<4&63]+"=="):2===$&&k.push(E[(w=(A[R-2]<<8)+A[R-1])>>10]+E[w>>4&63]+E[w<<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 w=A.length;if(w%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var R=A.indexOf("=");return-1===R&&(R=w),[R,R===w?0:4-R%4]}function B(A){return E[A>>18&63]+E[A>>12&63]+E[A>>6&63]+E[63&A]}function m(A,w,R){for(var k=[],M=w;M=48&&h<=57?h-48:h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:void p(!1,"Invalid character in "+l)}function _(l,s,h){var v=C(l,h);return h-1>=s&&(v|=C(l,h-1)<<4),v}function F(l,s,h,v){for(var y=0,d=0,r=Math.min(l.length,h),f=s;f=49?L-49+10:L>=17?L-17+10:L,p(L>=0&&d0?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[d]|=(r=s[y]|s[y-1]<<8|s[y-2]<<16)<>>26-f&67108863,(f+=24)>=26&&(f-=26,d++);else if("le"===v)for(y=0,d=0;y>>26-f&67108863,(f+=24)>=26&&(f-=26,d++);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)f=_(s,h,y)<=18?(d-=18,this.words[r+=1]|=f>>>26):d+=8;else for(y=(s.length-h)%2==0?h+1:h;y=18?(d-=18,this.words[r+=1]|=f>>>26):d+=8;this._strip()},c.prototype._parseBase=function(s,h,v){this.words=[0],this.length=1;for(var y=0,d=1;d<=67108863;d*=h)y++;y--,d=d/h|0;for(var r=s.length-v,f=r%y,L=Math.min(r,r-f)+v,I=0,j=v;j1&&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")]=m}catch{c.prototype.inspect=m}else c.prototype.inspect=m;function m(){return(this.red?""}var T=["","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],w=[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(l,s,h){h.negative=s.negative^l.negative;var v=l.length+s.length|0;h.length=v,v=v-1|0;var y=0|l.words[0],d=0|s.words[0],r=y*d,L=r/67108864|0;h.words[0]=67108863&r;for(var I=1;I>>26,J=67108863&L,ie=Math.min(I,s.length-1),xe=Math.max(0,I-l.length+1);xe<=ie;xe++)j+=(r=(y=0|l.words[I-xe|0])*(d=0|s.words[xe])+J)/67108864|0,J=67108863&r;h.words[I]=0|J,L=0|j}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,d=0,r=0;r>>24-y&16777215,(y+=2)>=26&&(y-=26,r--),v=0!==d||r!==this.length-1?T[6-L.length]+L+v:L+v}for(0!==d&&(v=d.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],j=w[s];v="";var J=this.clone();for(J.negative=0;!J.isZero();){var ie=J.modrn(j).toString(s);v=(J=J.idivn(j)).isZero()?ie+v:T[I-ie.length]+ie+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(),d=v||Math.max(1,y);p(y<=d,"byte array longer than desired length"),p(d>0,"Requested array length <= 0");var r=function(s,h){return s.allocUnsafe?s.allocUnsafe(h):new s(h)}(s,d);return this["_toArrayLike"+("le"===h?"LE":"BE")](r,y),r},c.prototype._toArrayLikeLE=function(s,h){for(var v=0,y=0,d=0,r=0;d>8&255),v>16&255),6===r?(v>24&255),y=0,r=0):(y=f>>>24,r+=2)}if(v=0&&(s[v--]=f>>8&255),v>=0&&(s[v--]=f>>16&255),6===r?(v>=0&&(s[v--]=f>>24&255),y=0,r=0):(y=f>>>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 d=0,r=0;r>>26;for(;0!==d&&r>>26;if(this.length=v.length,0!==d)this.words[this.length]=d,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,d,v=this.cmp(s);if(0===v)return this.negative=0,this.length=1,this.words[0]=0,this;v>0?(y=this,d=s):(y=s,d=this);for(var r=0,f=0;f>26,this.words[f]=67108863&h;for(;0!==r&&f>26,this.words[f]=67108863&h;if(0===r&&f>>13,De=0|y[1],Q=8191&De,ae=De>>>13,tt=0|y[2],Oe=8191&tt,pe=tt>>>13,Te=0|y[3],Be=8191&Te,re=Te>>>13,ne=0|y[4],G=8191&ne,ge=ne>>>13,xt=0|y[5],Qe=8191&xt,rt=xt>>>13,rn=0|y[6],mt=8191&rn,ft=rn>>>13,un=0|y[7],At=8191&un,It=un>>>13,Cn=0|y[8],St=8191&Cn,Ft=Cn>>>13,bn=0|y[9],bt=8191&bn,wt=bn>>>13,Dn=0|d[0],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|d[1],Nt=8191&Wt,Ot=Wt>>>13,zn=0|d[2],Ut=8191&zn,He=zn>>>13,_e=0|d[3],Ae=8191&_e,Me=_e>>>13,Ze=0|d[4],je=8191&Ze,it=Ze>>>13,Pe=0|d[5],Se=8191&Pe,ze=Pe>>>13,Et=0|d[6],Je=8191&Et,st=Et>>>13,en=0|d[7],yt=8191&en,vt=en>>>13,Kt=0|d[8],Pt=8191&Kt,Rt=Kt>>>13,On=0|d[9],An=8191&On,Bn=On>>>13;v.negative=s.negative^h.negative,v.length=19;var Mn=(f+(L=Math.imul(ie,Bt))|0)+((8191&(I=(I=Math.imul(ie,Lt))+Math.imul(xe,Bt)|0))<<13)|0;f=((j=Math.imul(xe,Lt))+(I>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,L=Math.imul(Q,Bt),I=(I=Math.imul(Q,Lt))+Math.imul(ae,Bt)|0,j=Math.imul(ae,Lt);var Wn=(f+(L=L+Math.imul(ie,Nt)|0)|0)+((8191&(I=(I=I+Math.imul(ie,Ot)|0)+Math.imul(xe,Nt)|0))<<13)|0;f=((j=j+Math.imul(xe,Ot)|0)+(I>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,L=Math.imul(Oe,Bt),I=(I=Math.imul(Oe,Lt))+Math.imul(pe,Bt)|0,j=Math.imul(pe,Lt),L=L+Math.imul(Q,Nt)|0,I=(I=I+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,j=j+Math.imul(ae,Ot)|0;var Ln=(f+(L=L+Math.imul(ie,Ut)|0)|0)+((8191&(I=(I=I+Math.imul(ie,He)|0)+Math.imul(xe,Ut)|0))<<13)|0;f=((j=j+Math.imul(xe,He)|0)+(I>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,L=Math.imul(Be,Bt),I=(I=Math.imul(Be,Lt))+Math.imul(re,Bt)|0,j=Math.imul(re,Lt),L=L+Math.imul(Oe,Nt)|0,I=(I=I+Math.imul(Oe,Ot)|0)+Math.imul(pe,Nt)|0,j=j+Math.imul(pe,Ot)|0,L=L+Math.imul(Q,Ut)|0,I=(I=I+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,j=j+Math.imul(ae,He)|0;var Fn=(f+(L=L+Math.imul(ie,Ae)|0)|0)+((8191&(I=(I=I+Math.imul(ie,Me)|0)+Math.imul(xe,Ae)|0))<<13)|0;f=((j=j+Math.imul(xe,Me)|0)+(I>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,L=Math.imul(G,Bt),I=(I=Math.imul(G,Lt))+Math.imul(ge,Bt)|0,j=Math.imul(ge,Lt),L=L+Math.imul(Be,Nt)|0,I=(I=I+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,j=j+Math.imul(re,Ot)|0,L=L+Math.imul(Oe,Ut)|0,I=(I=I+Math.imul(Oe,He)|0)+Math.imul(pe,Ut)|0,j=j+Math.imul(pe,He)|0,L=L+Math.imul(Q,Ae)|0,I=(I=I+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,j=j+Math.imul(ae,Me)|0;var kn=(f+(L=L+Math.imul(ie,je)|0)|0)+((8191&(I=(I=I+Math.imul(ie,it)|0)+Math.imul(xe,je)|0))<<13)|0;f=((j=j+Math.imul(xe,it)|0)+(I>>>13)|0)+(kn>>>26)|0,kn&=67108863,L=Math.imul(Qe,Bt),I=(I=Math.imul(Qe,Lt))+Math.imul(rt,Bt)|0,j=Math.imul(rt,Lt),L=L+Math.imul(G,Nt)|0,I=(I=I+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,j=j+Math.imul(ge,Ot)|0,L=L+Math.imul(Be,Ut)|0,I=(I=I+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,j=j+Math.imul(re,He)|0,L=L+Math.imul(Oe,Ae)|0,I=(I=I+Math.imul(Oe,Me)|0)+Math.imul(pe,Ae)|0,j=j+Math.imul(pe,Me)|0,L=L+Math.imul(Q,je)|0,I=(I=I+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,j=j+Math.imul(ae,it)|0;var Gn=(f+(L=L+Math.imul(ie,Se)|0)|0)+((8191&(I=(I=I+Math.imul(ie,ze)|0)+Math.imul(xe,Se)|0))<<13)|0;f=((j=j+Math.imul(xe,ze)|0)+(I>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,L=Math.imul(mt,Bt),I=(I=Math.imul(mt,Lt))+Math.imul(ft,Bt)|0,j=Math.imul(ft,Lt),L=L+Math.imul(Qe,Nt)|0,I=(I=I+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,j=j+Math.imul(rt,Ot)|0,L=L+Math.imul(G,Ut)|0,I=(I=I+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,j=j+Math.imul(ge,He)|0,L=L+Math.imul(Be,Ae)|0,I=(I=I+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,j=j+Math.imul(re,Me)|0,L=L+Math.imul(Oe,je)|0,I=(I=I+Math.imul(Oe,it)|0)+Math.imul(pe,je)|0,j=j+Math.imul(pe,it)|0,L=L+Math.imul(Q,Se)|0,I=(I=I+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,j=j+Math.imul(ae,ze)|0;var Xn=(f+(L=L+Math.imul(ie,Je)|0)|0)+((8191&(I=(I=I+Math.imul(ie,st)|0)+Math.imul(xe,Je)|0))<<13)|0;f=((j=j+Math.imul(xe,st)|0)+(I>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,L=Math.imul(At,Bt),I=(I=Math.imul(At,Lt))+Math.imul(It,Bt)|0,j=Math.imul(It,Lt),L=L+Math.imul(mt,Nt)|0,I=(I=I+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,j=j+Math.imul(ft,Ot)|0,L=L+Math.imul(Qe,Ut)|0,I=(I=I+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,j=j+Math.imul(rt,He)|0,L=L+Math.imul(G,Ae)|0,I=(I=I+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,j=j+Math.imul(ge,Me)|0,L=L+Math.imul(Be,je)|0,I=(I=I+Math.imul(Be,it)|0)+Math.imul(re,je)|0,j=j+Math.imul(re,it)|0,L=L+Math.imul(Oe,Se)|0,I=(I=I+Math.imul(Oe,ze)|0)+Math.imul(pe,Se)|0,j=j+Math.imul(pe,ze)|0,L=L+Math.imul(Q,Je)|0,I=(I=I+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,j=j+Math.imul(ae,st)|0;var jn=(f+(L=L+Math.imul(ie,yt)|0)|0)+((8191&(I=(I=I+Math.imul(ie,vt)|0)+Math.imul(xe,yt)|0))<<13)|0;f=((j=j+Math.imul(xe,vt)|0)+(I>>>13)|0)+(jn>>>26)|0,jn&=67108863,L=Math.imul(St,Bt),I=(I=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,j=Math.imul(Ft,Lt),L=L+Math.imul(At,Nt)|0,I=(I=I+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,j=j+Math.imul(It,Ot)|0,L=L+Math.imul(mt,Ut)|0,I=(I=I+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,j=j+Math.imul(ft,He)|0,L=L+Math.imul(Qe,Ae)|0,I=(I=I+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,j=j+Math.imul(rt,Me)|0,L=L+Math.imul(G,je)|0,I=(I=I+Math.imul(G,it)|0)+Math.imul(ge,je)|0,j=j+Math.imul(ge,it)|0,L=L+Math.imul(Be,Se)|0,I=(I=I+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,j=j+Math.imul(re,ze)|0,L=L+Math.imul(Oe,Je)|0,I=(I=I+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,j=j+Math.imul(pe,st)|0,L=L+Math.imul(Q,yt)|0,I=(I=I+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,j=j+Math.imul(ae,vt)|0;var $e=(f+(L=L+Math.imul(ie,Pt)|0)|0)+((8191&(I=(I=I+Math.imul(ie,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;f=((j=j+Math.imul(xe,Rt)|0)+(I>>>13)|0)+($e>>>26)|0,$e&=67108863,L=Math.imul(bt,Bt),I=(I=Math.imul(bt,Lt))+Math.imul(wt,Bt)|0,j=Math.imul(wt,Lt),L=L+Math.imul(St,Nt)|0,I=(I=I+Math.imul(St,Ot)|0)+Math.imul(Ft,Nt)|0,j=j+Math.imul(Ft,Ot)|0,L=L+Math.imul(At,Ut)|0,I=(I=I+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,j=j+Math.imul(It,He)|0,L=L+Math.imul(mt,Ae)|0,I=(I=I+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,j=j+Math.imul(ft,Me)|0,L=L+Math.imul(Qe,je)|0,I=(I=I+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,j=j+Math.imul(rt,it)|0,L=L+Math.imul(G,Se)|0,I=(I=I+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,j=j+Math.imul(ge,ze)|0,L=L+Math.imul(Be,Je)|0,I=(I=I+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,j=j+Math.imul(re,st)|0,L=L+Math.imul(Oe,yt)|0,I=(I=I+Math.imul(Oe,vt)|0)+Math.imul(pe,yt)|0,j=j+Math.imul(pe,vt)|0,L=L+Math.imul(Q,Pt)|0,I=(I=I+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0,j=j+Math.imul(ae,Rt)|0;var lt=(f+(L=L+Math.imul(ie,An)|0)|0)+((8191&(I=(I=I+Math.imul(ie,Bn)|0)+Math.imul(xe,An)|0))<<13)|0;f=((j=j+Math.imul(xe,Bn)|0)+(I>>>13)|0)+(lt>>>26)|0,lt&=67108863,L=Math.imul(bt,Nt),I=(I=Math.imul(bt,Ot))+Math.imul(wt,Nt)|0,j=Math.imul(wt,Ot),L=L+Math.imul(St,Ut)|0,I=(I=I+Math.imul(St,He)|0)+Math.imul(Ft,Ut)|0,j=j+Math.imul(Ft,He)|0,L=L+Math.imul(At,Ae)|0,I=(I=I+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,j=j+Math.imul(It,Me)|0,L=L+Math.imul(mt,je)|0,I=(I=I+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,j=j+Math.imul(ft,it)|0,L=L+Math.imul(Qe,Se)|0,I=(I=I+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,j=j+Math.imul(rt,ze)|0,L=L+Math.imul(G,Je)|0,I=(I=I+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,j=j+Math.imul(ge,st)|0,L=L+Math.imul(Be,yt)|0,I=(I=I+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,j=j+Math.imul(re,vt)|0,L=L+Math.imul(Oe,Pt)|0,I=(I=I+Math.imul(Oe,Rt)|0)+Math.imul(pe,Pt)|0,j=j+Math.imul(pe,Rt)|0;var Tt=(f+(L=L+Math.imul(Q,An)|0)|0)+((8191&(I=(I=I+Math.imul(Q,Bn)|0)+Math.imul(ae,An)|0))<<13)|0;f=((j=j+Math.imul(ae,Bn)|0)+(I>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,L=Math.imul(bt,Ut),I=(I=Math.imul(bt,He))+Math.imul(wt,Ut)|0,j=Math.imul(wt,He),L=L+Math.imul(St,Ae)|0,I=(I=I+Math.imul(St,Me)|0)+Math.imul(Ft,Ae)|0,j=j+Math.imul(Ft,Me)|0,L=L+Math.imul(At,je)|0,I=(I=I+Math.imul(At,it)|0)+Math.imul(It,je)|0,j=j+Math.imul(It,it)|0,L=L+Math.imul(mt,Se)|0,I=(I=I+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,j=j+Math.imul(ft,ze)|0,L=L+Math.imul(Qe,Je)|0,I=(I=I+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,j=j+Math.imul(rt,st)|0,L=L+Math.imul(G,yt)|0,I=(I=I+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,j=j+Math.imul(ge,vt)|0,L=L+Math.imul(Be,Pt)|0,I=(I=I+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0,j=j+Math.imul(re,Rt)|0;var Mt=(f+(L=L+Math.imul(Oe,An)|0)|0)+((8191&(I=(I=I+Math.imul(Oe,Bn)|0)+Math.imul(pe,An)|0))<<13)|0;f=((j=j+Math.imul(pe,Bn)|0)+(I>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,L=Math.imul(bt,Ae),I=(I=Math.imul(bt,Me))+Math.imul(wt,Ae)|0,j=Math.imul(wt,Me),L=L+Math.imul(St,je)|0,I=(I=I+Math.imul(St,it)|0)+Math.imul(Ft,je)|0,j=j+Math.imul(Ft,it)|0,L=L+Math.imul(At,Se)|0,I=(I=I+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,j=j+Math.imul(It,ze)|0,L=L+Math.imul(mt,Je)|0,I=(I=I+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,j=j+Math.imul(ft,st)|0,L=L+Math.imul(Qe,yt)|0,I=(I=I+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,j=j+Math.imul(rt,vt)|0,L=L+Math.imul(G,Pt)|0,I=(I=I+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0,j=j+Math.imul(ge,Rt)|0;var kt=(f+(L=L+Math.imul(Be,An)|0)|0)+((8191&(I=(I=I+Math.imul(Be,Bn)|0)+Math.imul(re,An)|0))<<13)|0;f=((j=j+Math.imul(re,Bn)|0)+(I>>>13)|0)+(kt>>>26)|0,kt&=67108863,L=Math.imul(bt,je),I=(I=Math.imul(bt,it))+Math.imul(wt,je)|0,j=Math.imul(wt,it),L=L+Math.imul(St,Se)|0,I=(I=I+Math.imul(St,ze)|0)+Math.imul(Ft,Se)|0,j=j+Math.imul(Ft,ze)|0,L=L+Math.imul(At,Je)|0,I=(I=I+Math.imul(At,st)|0)+Math.imul(It,Je)|0,j=j+Math.imul(It,st)|0,L=L+Math.imul(mt,yt)|0,I=(I=I+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,j=j+Math.imul(ft,vt)|0,L=L+Math.imul(Qe,Pt)|0,I=(I=I+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0,j=j+Math.imul(rt,Rt)|0;var Zt=(f+(L=L+Math.imul(G,An)|0)|0)+((8191&(I=(I=I+Math.imul(G,Bn)|0)+Math.imul(ge,An)|0))<<13)|0;f=((j=j+Math.imul(ge,Bn)|0)+(I>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,L=Math.imul(bt,Se),I=(I=Math.imul(bt,ze))+Math.imul(wt,Se)|0,j=Math.imul(wt,ze),L=L+Math.imul(St,Je)|0,I=(I=I+Math.imul(St,st)|0)+Math.imul(Ft,Je)|0,j=j+Math.imul(Ft,st)|0,L=L+Math.imul(At,yt)|0,I=(I=I+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,j=j+Math.imul(It,vt)|0,L=L+Math.imul(mt,Pt)|0,I=(I=I+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0,j=j+Math.imul(ft,Rt)|0;var qt=(f+(L=L+Math.imul(Qe,An)|0)|0)+((8191&(I=(I=I+Math.imul(Qe,Bn)|0)+Math.imul(rt,An)|0))<<13)|0;f=((j=j+Math.imul(rt,Bn)|0)+(I>>>13)|0)+(qt>>>26)|0,qt&=67108863,L=Math.imul(bt,Je),I=(I=Math.imul(bt,st))+Math.imul(wt,Je)|0,j=Math.imul(wt,st),L=L+Math.imul(St,yt)|0,I=(I=I+Math.imul(St,vt)|0)+Math.imul(Ft,yt)|0,j=j+Math.imul(Ft,vt)|0,L=L+Math.imul(At,Pt)|0,I=(I=I+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0,j=j+Math.imul(It,Rt)|0;var Qt=(f+(L=L+Math.imul(mt,An)|0)|0)+((8191&(I=(I=I+Math.imul(mt,Bn)|0)+Math.imul(ft,An)|0))<<13)|0;f=((j=j+Math.imul(ft,Bn)|0)+(I>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,L=Math.imul(bt,yt),I=(I=Math.imul(bt,vt))+Math.imul(wt,yt)|0,j=Math.imul(wt,vt),L=L+Math.imul(St,Pt)|0,I=(I=I+Math.imul(St,Rt)|0)+Math.imul(Ft,Pt)|0,j=j+Math.imul(Ft,Rt)|0;var Tn=(f+(L=L+Math.imul(At,An)|0)|0)+((8191&(I=(I=I+Math.imul(At,Bn)|0)+Math.imul(It,An)|0))<<13)|0;f=((j=j+Math.imul(It,Bn)|0)+(I>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,L=Math.imul(bt,Pt),I=(I=Math.imul(bt,Rt))+Math.imul(wt,Pt)|0,j=Math.imul(wt,Rt);var wn=(f+(L=L+Math.imul(St,An)|0)|0)+((8191&(I=(I=I+Math.imul(St,Bn)|0)+Math.imul(Ft,An)|0))<<13)|0;f=((j=j+Math.imul(Ft,Bn)|0)+(I>>>13)|0)+(wn>>>26)|0,wn&=67108863;var Kn=(f+(L=Math.imul(bt,An))|0)+((8191&(I=(I=Math.imul(bt,Bn))+Math.imul(wt,An)|0))<<13)|0;return f=((j=Math.imul(wt,Bn))+(I>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,r[0]=Mn,r[1]=Wn,r[2]=Ln,r[3]=Fn,r[4]=kn,r[5]=Gn,r[6]=Xn,r[7]=jn,r[8]=$e,r[9]=lt,r[10]=Tt,r[11]=Mt,r[12]=kt,r[13]=Zt,r[14]=qt,r[15]=Qt,r[16]=Tn,r[17]=wn,r[18]=Kn,0!==f&&(r[19]=f,v.length++),v};function P(l,s,h){h.negative=s.negative^l.negative,h.length=l.length+s.length;for(var v=0,y=0,d=0;d>>26)|0)>>>26,r&=67108863}h.words[d]=f,v=r,r=y}return 0!==v?h.words[d]=v:h.length--,h._strip()}function U(l,s,h){return P(l,s,h)}function V(l,s){this.x=l,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?P(this,s,h):U(this,s,h)},V.prototype.makeRBT=function(s){for(var h=new Array(s),v=c.prototype._countBits(s)-1,y=0;y>=1;return y},V.prototype.permute=function(s,h,v,y,d,r){for(var f=0;f>>=1)d++;return 1<>>=13),d>>>=13;for(r=2*h;r>=26,v+=d/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 $(l){for(var s=new Array(l.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 d,h=s%26,v=(s-h)/26,y=67108863>>>26-h<<26-h;if(0!==h){var r=0;for(d=0;d>>26-h}r&&(this.words[d]=r,this.length++)}if(0!==v){for(d=this.length-1;d>=0;d--)this.words[d+v]=this.words[d];for(d=0;d=0),y=h?(h-h%26)/26:0;var d=s%26,r=Math.min((s-d)/26,this.length),f=67108863^67108863>>>d<r)for(this.length-=r,I=0;I=0&&(0!==j||I>=y);I--){var J=0|this.words[I];this.words[I]=j<<26-d|J>>>d,j=J&f}return L&&0!==j&&(L.words[L.length++]=j),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[d+v]=67108863&r}for(;d>26,this.words[d+v]=67108863&r;if(0===f)return this._strip();for(p(-1===f),f=0,d=0;d>26,this.words[d]=67108863&r;return this.negative=1,this._strip()},c.prototype._wordDiv=function(s,h){var v,y=this.clone(),d=s,r=0|d.words[d.length-1];0!=(v=26-this._countBits(r))&&(d=d.ushln(v),y.iushln(v),r=0|d.words[d.length-1]);var I,L=y.length-d.length;if("mod"!==h){(I=new c(null)).length=L+1,I.words=new Array(I.length);for(var j=0;j=0;ie--){var xe=67108864*(0|y.words[d.length+ie])+(0|y.words[d.length+ie-1]);for(xe=Math.min(xe/r|0,67108863),y._ishlnsubmul(d,xe,ie);0!==y.negative;)xe--,y.negative=0,y._ishlnsubmul(d,1,ie),y.isZero()||(y.negative^=1);I&&(I.words[ie]=xe)}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&&(d=r.mod.neg(),v&&0!==d.negative&&d.iadd(s)),{div:y,mod:d}):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&&(d=r.mod.neg(),v&&0!==d.negative&&d.isub(s)),{div:r.div,mod:d}):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,d,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),d=s.andln(1),r=v.cmp(y);return r<0||1===d&&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,d=this.length-1;d>=0;d--)y=(v*y+(0|this.words[d]))%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 d=(0|this.words[y])+67108864*v;this.words[y]=d/s|0,v=d%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),d=new c(0),r=new c(0),f=new c(1),L=0;h.isEven()&&v.isEven();)h.iushrn(1),v.iushrn(1),++L;for(var I=v.clone(),j=h.clone();!h.isZero();){for(var J=0,ie=1;!(h.words[0]&ie)&&J<26;++J,ie<<=1);if(J>0)for(h.iushrn(J);J-- >0;)(y.isOdd()||d.isOdd())&&(y.iadd(I),d.isub(j)),y.iushrn(1),d.iushrn(1);for(var xe=0,De=1;!(v.words[0]&De)&&xe<26;++xe,De<<=1);if(xe>0)for(v.iushrn(xe);xe-- >0;)(r.isOdd()||f.isOdd())&&(r.iadd(I),f.isub(j)),r.iushrn(1),f.iushrn(1);h.cmp(v)>=0?(h.isub(v),y.isub(r),d.isub(f)):(v.isub(h),r.isub(y),f.isub(d))}return{a:r,b:f,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),d=new c(0),r=v.clone();h.cmpn(1)>0&&v.cmpn(1)>0;){for(var f=0,L=1;!(h.words[0]&L)&&f<26;++f,L<<=1);if(f>0)for(h.iushrn(f);f-- >0;)y.isOdd()&&y.iadd(r),y.iushrn(1);for(var I=0,j=1;!(v.words[0]&j)&&I<26;++I,j<<=1);if(I>0)for(v.iushrn(I);I-- >0;)d.isOdd()&&d.iadd(r),d.iushrn(1);h.cmp(v)>=0?(h.isub(v),y.isub(d)):(v.isub(h),d.isub(y))}return(J=0===h.cmpn(1)?y:d).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 d=h.cmp(v);if(d<0){var r=h;h=v,v=r}else if(0===d||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]=f&=67108863}return 0!==d&&(this.words[r]=d,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],d=0|s.words[v];if(y!==d){yd&&(h=1);break}}return h},c.prototype.gtn=function(s){return 1===this.cmpn(s)},c.prototype.gt=function(s){return 1===this.cmp(s)},c.prototype.gten=function(s){return this.cmpn(s)>=0},c.prototype.gte=function(s){return this.cmp(s)>=0},c.prototype.ltn=function(s){return-1===this.cmpn(s)},c.prototype.lt=function(s){return-1===this.cmp(s)},c.prototype.lten=function(s){return this.cmpn(s)<=0},c.prototype.lte=function(s){return this.cmp(s)<=0},c.prototype.eqn=function(s){return 0===this.cmpn(s)},c.prototype.eq=function(s){return 0===this.cmp(s)},c.red=function(s){return new n(s)},c.prototype.toRed=function(s){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),s.convertTo(this)._forceRed(s)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(s){return this.red=s,this},c.prototype.forceRed=function(s){return p(!this.red,"Already a number in reduction context"),this._forceRed(s)},c.prototype.redAdd=function(s){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,s)},c.prototype.redIAdd=function(s){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,s)},c.prototype.redSub=function(s){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,s)},c.prototype.redISub=function(s){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,s)},c.prototype.redShl=function(s){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,s)},c.prototype.redMul=function(s){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.mul(this,s)},c.prototype.redIMul=function(s){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.imul(this,s)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(s){return p(this.red&&!s.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,s)};var W={k256:null,p224:null,p192:null,p25519:null};function oe(l,s){this.name=l,this.p=new c(s,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function me(){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 g(){oe.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(l){if("string"==typeof l){var s=c._prime(l);this.m=s.p,this.prime=s}else p(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}function o(l){n.call(this,l),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(me,oe),me.prototype.split=function(s,h){for(var v=4194303,y=Math.min(s.length,9),d=0;d>>22,r=f}s.words[d-10]=r>>>=22,s.length-=0===r&&s.length>10?10:9},me.prototype.imulK=function(s){s.words[s.length]=0,s.words[s.length+1]=0,s.length+=2;for(var h=0,v=0;v>>=26,s.words[v]=d,h=y}return 0!==h&&(s.words[s.length++]=h),s},c._prime=function(s){if(W[s])return W[s];var h;if("k256"===s)h=new me;else if("p224"===s)h=new te;else if("p192"===s)h=new se;else{if("p25519"!==s)throw new Error("Unknown prime "+s);h=new g}return W[s]=h,h},n.prototype._verify1=function(s){p(0===s.negative,"red works only with positives"),p(s.red,"red works only with red numbers")},n.prototype._verify2=function(s,h){p(!(s.negative|h.negative),"red works only with positives"),p(s.red&&s.red===h.red,"red works only with red numbers")},n.prototype.imod=function(s){return this.prime?this.prime.ireduce(s)._forceRed(this):(B(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),d=0;!y.isZero()&&0===y.andln(1);)d++,y.iushrn(1);p(!y.isZero());var r=new c(1).toRed(this),f=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(f);)I.redIAdd(f);for(var j=this.pow(I,y),J=this.pow(s,y.addn(1).iushrn(1)),ie=this.pow(s,y),xe=d;0!==ie.cmp(r);){for(var De=ie,Q=0;0!==De.cmp(r);Q++)De=De.redSqr();p(Q=0;d--){for(var j=h.words[d],J=I-1;J>=0;J--){var ie=j>>J&1;r!==y[0]&&(r=this.sqr(r)),0!==ie||0!==f?(f<<=1,f|=ie,(4==++L||0===d&&0===J)&&(r=this.mul(r,y[f]),L=0,f=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),d=v.isub(y).iushrn(this.shift),r=d;return d.cmp(this.m)>=0?r=d.isub(this.m):d.cmpn(0)<0&&(r=d.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),d=v.isub(y).iushrn(this.shift),r=d;return d.cmp(this.m)>=0?r=d.isub(this.m):d.cmpn(0)<0&&(r=d.iadd(this.m)),r._forceRed(this)},o.prototype.invm=function(s){return this.imod(s._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},5294:(Ce,ee,E)=>{var a;function S(O){this.rand=O}if(Ce.exports=function(c){return a||(a=new S(null)),a.generate(c)},Ce.exports.Rand=S,S.prototype.generate=function(c){return this._rand(c)},S.prototype._rand=function(c){if(this.rand.getBytes)return this.rand.getBytes(c);for(var D=new Uint8Array(c),C=0;C{var a=E(7054).Buffer;function S(_){a.isBuffer(_)||(_=a.from(_));for(var F=_.length/4|0,B=new Array(F),m=0;m>>24]^w[M>>>16&255]^R[P>>>8&255]^$[255&U]^F[te++],W=A[M>>>24]^w[P>>>16&255]^R[U>>>8&255]^$[255&k]^F[te++],oe=A[P>>>24]^w[U>>>16&255]^R[k>>>8&255]^$[255&M]^F[te++],me=A[U>>>24]^w[k>>>16&255]^R[M>>>8&255]^$[255&P]^F[te++],k=V,M=W,P=oe,U=me;return V=(m[k>>>24]<<24|m[M>>>16&255]<<16|m[P>>>8&255]<<8|m[255&U])^F[te++],W=(m[M>>>24]<<24|m[P>>>16&255]<<16|m[U>>>8&255]<<8|m[255&k])^F[te++],oe=(m[P>>>24]<<24|m[U>>>16&255]<<16|m[k>>>8&255]<<8|m[255&M])^F[te++],me=(m[U>>>24]<<24|m[k>>>16&255]<<16|m[M>>>8&255]<<8|m[255&P])^F[te++],[V>>>=0,W>>>=0,oe>>>=0,me>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],D=function(){for(var _=new Array(256),F=0;F<256;F++)_[F]=F<128?F<<1:F<<1^283;for(var B=[],m=[],T=[[],[],[],[]],A=[[],[],[],[]],w=0,R=0,$=0;$<256;++$){var k=R^R<<1^R<<2^R<<3^R<<4;B[w]=k=k>>>8^255&k^99,m[k]=w;var M=_[w],P=_[M],U=_[P],V=257*_[k]^16843008*k;T[0][w]=V<<24|V>>>8,T[1][w]=V<<16|V>>>16,T[2][w]=V<<8|V>>>24,T[3][w]=V,A[0][k]=(V=16843009*U^65537*P^257*M^16843008*w)<<24|V>>>8,A[1][k]=V<<16|V>>>16,A[2][k]=V<<8|V>>>24,A[3][k]=V,0===w?w=R=1:(w=M^_[_[_[U^M]]],R^=_[_[R]])}return{SBOX:B,INV_SBOX:m,SUB_MIX:T,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,F=_.length,B=F+6,m=4*(B+1),T=[],A=0;A>>24)>>>24]<<24|D.SBOX[w>>>16&255]<<16|D.SBOX[w>>>8&255]<<8|D.SBOX[255&w],w^=c[A/F|0]<<24):F>6&&A%F==4&&(w=D.SBOX[w>>>24]<<24|D.SBOX[w>>>16&255]<<16|D.SBOX[w>>>8&255]<<8|D.SBOX[255&w]),T[A]=T[A-F]^w}for(var R=[],$=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=B,this._keySchedule=T,this._invKeySchedule=R},C.prototype.encryptBlockRaw=function(_){return O(_=S(_),this._keySchedule,D.SUB_MIX,D.SBOX,this._nRounds)},C.prototype.encryptBlock=function(_){var F=this.encryptBlockRaw(_),B=a.allocUnsafe(16);return B.writeUInt32BE(F[0],0),B.writeUInt32BE(F[1],4),B.writeUInt32BE(F[2],8),B.writeUInt32BE(F[3],12),B},C.prototype.decryptBlock=function(_){var F=(_=S(_))[1];_[1]=_[3],_[3]=F;var B=O(_,this._invKeySchedule,D.INV_SUB_MIX,D.INV_SBOX,this._nRounds),m=a.allocUnsafe(16);return m.writeUInt32BE(B[0],0),m.writeUInt32BE(B[3],4),m.writeUInt32BE(B[2],8),m.writeUInt32BE(B[1],12),m},C.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},Ce.exports.AES=C},9307:(Ce,ee,E)=>{var a=E(2375),S=E(7054).Buffer,p=E(3247),O=E(1993),c=E(5917),D=E(3546),C=E(5725);function B(m,T,A,w){p.call(this);var R=S.alloc(4,0);this._cipher=new a.AES(T);var $=this._cipher.encryptBlock(R);this._ghash=new c($),A=function F(m,T,A){if(12===T.length)return m._finID=S.concat([T,S.from([0,0,0,1])]),S.concat([T,S.from([0,0,0,2])]);var w=new c(A),R=T.length,$=R%16;w.update(T),$&&w.update(S.alloc($=16-$,0)),w.update(S.alloc(8,0));var k=8*R,M=S.alloc(8);M.writeUIntBE(k,0,8),w.update(M),m._finID=w.state;var P=S.from(m._finID);return C(P),P}(this,A,$),this._prev=S.from(A),this._cache=S.allocUnsafe(0),this._secCache=S.allocUnsafe(0),this._decrypt=w,this._alen=0,this._len=0,this._mode=m,this._authTag=null,this._called=!1}O(B,p),B.prototype._update=function(m){if(!this._called&&this._alen){var T=16-this._alen%16;T<16&&(T=S.alloc(T,0),this._ghash.update(T))}this._called=!0;var A=this._mode.encrypt(this,m);return this._ghash.update(this._decrypt?m:A),this._len+=m.length,A},B.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var m=D(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function _(m,T){var A=0;m.length!==T.length&&A++;for(var w=Math.min(m.length,T.length),R=0;R{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:(Ce,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 F(w,R,$){c.call(this),this._cache=new B,this._last=void 0,this._cipher=new D.AES(R),this._prev=S.from($),this._mode=w,this._autopadding=!0}function B(){this.cache=S.allocUnsafe(0)}function T(w,R,$){var k=p[w.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 R&&(R=S.from(R)),R.length!==k.key/8)throw new TypeError("invalid key length "+R.length);return"stream"===k.type?new O(k.module,R,$,!0):"auth"===k.type?new a(k.module,R,$,!0):new F(k.module,R,$)}E(1993)(F,c),F.prototype._update=function(w){this._cache.add(w);for(var R,$,k=[];R=this._cache.get(this._autopadding);)$=this._mode.decrypt(this,R),k.push($);return S.concat(k)},F.prototype._final=function(){var w=this._cache.flush();if(this._autopadding)return function m(w){var R=w[15];if(R<1||R>16)throw new Error("unable to decrypt data");for(var $=-1;++$16)return R=this.cache.slice(0,16),this.cache=this.cache.slice(16),R}else if(this.cache.length>=16)return R=this.cache.slice(0,16),this.cache=this.cache.slice(16),R;return null},B.prototype.flush=function(){if(this.cache.length)return this.cache},ee.createDecipher=function A(w,R){var $=p[w.toLowerCase()];if(!$)throw new TypeError("invalid suite type");var k=C(R,!1,$.key,$.iv);return T(w,k.key,k.iv)},ee.createDecipheriv=T},350:(Ce,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 F(w,R,$){c.call(this),this._cache=new m,this._cipher=new D.AES(R),this._prev=p.from($),this._mode=w,this._autopadding=!0}E(1993)(F,c),F.prototype._update=function(w){this._cache.add(w);for(var R,$,k=[];R=this._cache.get();)$=this._mode.encrypt(this,R),k.push($);return p.concat(k)};var B=p.alloc(16,16);function m(){this.cache=p.allocUnsafe(0)}function T(w,R,$){var k=a[w.toLowerCase()];if(!k)throw new TypeError("invalid suite type");if("string"==typeof R&&(R=p.from(R)),R.length!==k.key/8)throw new TypeError("invalid key length "+R.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,R,$):"auth"===k.type?new S(k.module,R,$):new F(k.module,R,$)}F.prototype._final=function(){var w=this._cache.flush();if(this._autopadding)return w=this._mode.encrypt(this,w),this._cipher.scrub(),w;if(!w.equals(B))throw this._cipher.scrub(),new Error("data not multiple of block length")},F.prototype.setAutoPadding=function(w){return this._autopadding=!!w,this},m.prototype.add=function(w){this.cache=p.concat([this.cache,w])},m.prototype.get=function(){if(this.cache.length>15){var w=this.cache.slice(0,16);return this.cache=this.cache.slice(16),w}return null},m.prototype.flush=function(){for(var w=16-this.cache.length,R=p.allocUnsafe(w),$=-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,B&&(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},Ce.exports=c},5725:Ce=>{Ce.exports=function ee(E){for(var S,a=E.length;a--;){if(255!==(S=E.readUInt8(a))){S++,E.writeUInt8(S,a);break}E.writeUInt8(0,a)}}},4133:(Ce,ee,E)=>{var a=E(3546);ee.encrypt=function(S,p){var 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:(Ce,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:(Ce,ee,E)=>{var a=E(7054).Buffer;function S(O,c,D){for(var m,T,_=-1,B=0;++_<8;)B+=(128&(T=O._cipher.encryptBlock(O._prev)[0]^(m=c&1<<7-_?128:0)))>>_%8,O._prev=p(O._prev,D?m:T);return B}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),F=-1;++F{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),F=D._cache.length;D._cache=S.concat([D._cache,S.allocUnsafe(16*_)]);for(var B=0;B<_;B++){var m=O(D),T=F+16*B;D._cache.writeUInt32BE(m[0],T+0),D._cache.writeUInt32BE(m[1],T+4),D._cache.writeUInt32BE(m[2],T+8),D._cache.writeUInt32BE(m[3],T+12)}var A=D._cache.slice(0,C.length);return D._cache=D._cache.slice(C.length),a(C,A)}},7513:(Ce,ee)=>{ee.encrypt=function(E,a){return E._cipher.encryptBlock(a)},ee.decrypt=function(E,a){return E._cipher.decryptBlock(a)}},503:(Ce,ee,E)=>{var a={ECB:E(7513),CBC:E(4133),CFB:E(7090),CFB8:E(2576),CFB1:E(1039),OFB:E(6854),CTR:E(336),GCM:E(336)},S=E(3219);for(var p in S)S[p].module=a[S[p].mode];Ce.exports=S},6854:(Ce,ee,E)=>{var a=E(3546);function S(p){return p._prev=p._cipher.encryptBlock(p._prev),p._prev}ee.encrypt=function(p,O){for(;p._cache.length{var a=E(2375),S=E(7054).Buffer,p=E(3247);function c(D,C,_,F){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=F,this._mode=D}E(1993)(c,p),c.prototype._update=function(D){return this._mode.encrypt(this,D,this._decrypt)},c.prototype._final=function(){this._cipher.scrub()},Ce.exports=c},8862:(Ce,ee,E)=>{var a=E(9799),S=E(3388),p=E(503),O=E(9571),c=E(8211);function _(m,T,A){if(m=m.toLowerCase(),p[m])return S.createCipheriv(m,T,A);if(O[m])return new a({key:T,iv:A,mode:m});throw new TypeError("invalid suite type")}function F(m,T,A){if(m=m.toLowerCase(),p[m])return S.createDecipheriv(m,T,A);if(O[m])return new a({key:T,iv:A,mode:m,decrypt:!0});throw new TypeError("invalid suite type")}ee.createCipher=ee.Cipher=function D(m,T){var A,w;if(m=m.toLowerCase(),p[m])A=p[m].key,w=p[m].iv;else{if(!O[m])throw new TypeError("invalid suite type");A=8*O[m].key,w=O[m].iv}var R=c(T,!1,A,w);return _(m,R.key,R.iv)},ee.createCipheriv=ee.Cipheriv=_,ee.createDecipher=ee.Decipher=function C(m,T){var A,w;if(m=m.toLowerCase(),p[m])A=p[m].key,w=p[m].iv;else{if(!O[m])throw new TypeError("invalid suite type");A=8*O[m].key,w=O[m].iv}var R=c(T,!1,A,w);return F(m,R.key,R.iv)},ee.createDecipheriv=ee.Decipheriv=F,ee.listCiphers=ee.getCiphers=function B(){return Object.keys(O).concat(S.getCiphers())}},9799:(Ce,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 B,_=C.mode.toLowerCase(),F=c[_];B=C.decrypt?"decrypt":"encrypt";var m=C.key;O.isBuffer(m)||(m=O.from(m)),("des-ede"===_||"des-ede-cbc"===_)&&(m=O.concat([m,m.slice(0,8)]));var T=C.iv;O.isBuffer(T)||(T=O.from(T)),this._des=F.create({key:m,iv:T,type:B})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],Ce.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:(Ce,ee)=>{ee["des-ecb"]={key:8,iv:0},ee["des-cbc"]=ee.des={key:8,iv:8},ee["des-ede3-cbc"]=ee.des3={key:24,iv:8},ee["des-ede3"]={key:24,iv:0},ee["des-ede-cbc"]={key:16,iv:8},ee["des-ede"]={key:16,iv:0}},4105:(Ce,ee,E)=>{var a=E(917),S=E(3342);function 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),F=C.modulus.byteLength(),B=new a(D).mul(_.blinder).umod(C.modulus),m=B.toRed(a.mont(C.prime1)),T=B.toRed(a.mont(C.prime2)),A=C.coefficient,w=C.prime1,R=C.prime2,$=m.redPow(C.exponent1).fromRed(),k=T.redPow(C.exponent2).fromRed(),M=$.isub(k).imul(A).umod(w).imul(R);return k.iadd(M).imul(_.unblinder).umod(C.modulus).toArrayLike(Buffer,"be",F)}c.getr=O,Ce.exports=c},9560:(Ce,ee,E)=>{"use strict";Ce.exports=E(2951)},9143:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7211),p=E(5942),O=E(1993),c=E(3150),D=E(4754),C=E(2951);function _(T){p.Writable.call(this);var A=C[T];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 F(T){p.Writable.call(this);var A=C[T];if(!A)throw new Error("Unknown message digest");this._hash=S(A.hash),this._tag=A.id,this._signType=A.sign}function B(T){return new _(T)}function m(T){return new F(T)}Object.keys(C).forEach(function(T){C[T].id=a.from(C[T].id,"hex"),C[T.toLowerCase()]=C[T]}),O(_,p.Writable),_.prototype._write=function(A,w,R){this._hash.update(A),R()},_.prototype.update=function(A,w){return this._hash.update("string"==typeof A?a.from(A,w):A),this},_.prototype.sign=function(A,w){this.end();var R=this._hash.digest(),$=c(R,A,this._hashType,this._signType,this._tag);return w?$.toString(w):$},O(F,p.Writable),F.prototype._write=function(A,w,R){this._hash.update(A),R()},F.prototype.update=function(A,w){return this._hash.update("string"==typeof A?a.from(A,w):A),this},F.prototype.verify=function(A,w,R){var $="string"==typeof w?a.from(w,R):w;this.end();var k=this._hash.digest();return D($,k,A,this._signType,this._tag)},Ce.exports={Sign:B,Verify:m,createSign:B,createVerify:m}},3150:(Ce,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,P,U,V){if((M=a.from(M.toArray())).length0&&U.ishrn(V),U}function $(M,P,U){var V,W;do{for(V=a.alloc(0);8*V.length{"use strict";var a=E(7054).Buffer,S=E(917),p=E(518).ec,O=E(5667),c=E(4589);function F(B,m){if(B.cmpn(0)<=0)throw new Error("invalid sig");if(B.cmp(m)>=0)throw new Error("invalid sig")}Ce.exports=function D(B,m,T,A,w){var R=O(T);if("ec"===R.type){if("ecdsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");return function C(B,m,T){var A=c[T.data.algorithm.curve.join(".")];if(!A)throw new Error("unknown curve "+T.data.algorithm.curve.join("."));return new p(A).verify(m,B,T.data.subjectPrivateKey.data)}(B,m,R)}if("dsa"===R.type){if("dsa"!==A)throw new Error("wrong public key type");return function _(B,m,T){var A=T.data.p,w=T.data.q,R=T.data.g,$=T.data.pub_key,k=O.signature.decode(B,"der"),M=k.s,P=k.r;F(M,w),F(P,w);var U=S.mont(A),V=M.invm(w);return 0===R.toRed(U).redPow(new S(m).mul(V).mod(w)).fromRed().mul($.toRed(U).redPow(P.mul(V).mod(w)).fromRed()).mod(A).mod(w).cmp(P)}(B,m,R)}if("rsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");m=a.concat([w,m]);for(var $=R.modulus.byteLength(),k=[1],M=0;m.length+k.length+2<$;)k.push(255),M+=1;k.push(0);for(var P=-1;++P{Ce.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(re){return+re!=re&&(re=0),C.alloc(+re)},ee.INSPECT_MAX_BYTES=50;var O=2147483647;function D(re){if(re>O)throw new RangeError('The value "'+re+'" is invalid for option "size"');var ne=new Uint8Array(re);return Object.setPrototypeOf(ne,C.prototype),ne}function C(re,ne,G){if("number"==typeof re){if("string"==typeof ne)throw new TypeError('The "string" argument must be of type string. Received type number');return m(re)}return _(re,ne,G)}function _(re,ne,G){if("string"==typeof re)return function T(re,ne){if(("string"!=typeof ne||""===ne)&&(ne="utf8"),!C.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);var G=0|P(re,ne),ge=D(G),xt=ge.write(re,ne);return xt!==G&&(ge=ge.slice(0,xt)),ge}(re,ne);if(ArrayBuffer.isView(re))return function w(re){if(pe(re,Uint8Array)){var ne=new Uint8Array(re);return R(ne.buffer,ne.byteOffset,ne.byteLength)}return A(re)}(re);if(null==re)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re);if(pe(re,ArrayBuffer)||re&&pe(re.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pe(re,SharedArrayBuffer)||re&&pe(re.buffer,SharedArrayBuffer)))return R(re,ne,G);if("number"==typeof re)throw new TypeError('The "value" argument must not be of type number. Received type number');var ge=re.valueOf&&re.valueOf();if(null!=ge&&ge!==re)return C.from(ge,ne,G);var xt=function $(re){if(C.isBuffer(re)){var ne=0|k(re.length),G=D(ne);return 0===G.length||re.copy(G,0,0,ne),G}return void 0!==re.length?"number"!=typeof re.length||Te(re.length)?D(0):A(re):"Buffer"===re.type&&Array.isArray(re.data)?A(re.data):void 0}(re);if(xt)return xt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof re[Symbol.toPrimitive])return C.from(re[Symbol.toPrimitive]("string"),ne,G);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re)}function F(re){if("number"!=typeof re)throw new TypeError('"size" argument must be of type number');if(re<0)throw new RangeError('The value "'+re+'" is invalid for option "size"')}function m(re){return F(re),D(re<0?0:0|k(re))}function A(re){for(var ne=re.length<0?0:0|k(re.length),G=D(ne),ge=0;ge=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return 0|re}function P(re,ne){if(C.isBuffer(re))return re.length;if(ArrayBuffer.isView(re)||pe(re,ArrayBuffer))return re.byteLength;if("string"!=typeof re)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof re);var G=re.length,ge=arguments.length>2&&!0===arguments[2];if(!ge&&0===G)return 0;for(var xt=!1;;)switch(ne){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":return De(re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*G;case"hex":return G>>>1;case"base64":return tt(re).length;default:if(xt)return ge?-1:De(re).length;ne=(""+ne).toLowerCase(),xt=!0}}function U(re,ne,G){var ge=!1;if((void 0===ne||ne<0)&&(ne=0),ne>this.length||((void 0===G||G>this.length)&&(G=this.length),G<=0)||(G>>>=0)<=(ne>>>=0))return"";for(re||(re="utf8");;)switch(re){case"hex":return d(this,ne,G);case"utf8":case"utf-8":return l(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(ge)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),ge=!0}}function V(re,ne,G){var ge=re[ne];re[ne]=re[G],re[G]=ge}function W(re,ne,G,ge,xt){if(0===re.length)return-1;if("string"==typeof G?(ge=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),Te(G=+G)&&(G=xt?0:re.length-1),G<0&&(G=re.length+G),G>=re.length){if(xt)return-1;G=re.length-1}else if(G<0){if(!xt)return-1;G=0}if("string"==typeof ne&&(ne=C.from(ne,ge)),C.isBuffer(ne))return 0===ne.length?-1:oe(re,ne,G,ge,xt);if("number"==typeof ne)return ne&=255,"function"==typeof Uint8Array.prototype.indexOf?xt?Uint8Array.prototype.indexOf.call(re,ne,G):Uint8Array.prototype.lastIndexOf.call(re,ne,G):oe(re,[ne],G,ge,xt);throw new TypeError("val must be string, number or Buffer")}function oe(re,ne,G,ge,xt){var ft,Qe=1,rt=re.length,rn=ne.length;if(void 0!==ge&&("ucs2"===(ge=String(ge).toLowerCase())||"ucs-2"===ge||"utf16le"===ge||"utf-16le"===ge)){if(re.length<2||ne.length<2)return-1;Qe=2,rt/=2,rn/=2,G/=2}function mt(Cn,St){return 1===Qe?Cn[St]:Cn.readUInt16BE(St*Qe)}if(xt){var un=-1;for(ft=G;ftrt&&(G=rt-rn),ft=G;ft>=0;ft--){for(var At=!0,It=0;Itxt&&(ge=xt):ge=xt;var Qe=ne.length;ge>Qe/2&&(ge=Qe/2);for(var rt=0;rt>8,Qe.push(G%256),Qe.push(ge);return Qe}(ne,re.length-G),re,G,ge)}function o(re,ne,G){return a.fromByteArray(0===ne&&G===re.length?re:re.slice(ne,G))}function l(re,ne,G){G=Math.min(re.length,G);for(var ge=[],xt=ne;xt239?4:Qe>223?3:Qe>191?2:1;if(xt+rn<=G)switch(rn){case 1:Qe<128&&(rt=Qe);break;case 2:128==(192&(mt=re[xt+1]))&&(At=(31&Qe)<<6|63&mt)>127&&(rt=At);break;case 3:ft=re[xt+2],128==(192&(mt=re[xt+1]))&&128==(192&ft)&&(At=(15&Qe)<<12|(63&mt)<<6|63&ft)>2047&&(At<55296||At>57343)&&(rt=At);break;case 4:ft=re[xt+2],un=re[xt+3],128==(192&(mt=re[xt+1]))&&128==(192&ft)&&128==(192&un)&&(At=(15&Qe)<<18|(63&mt)<<12|(63&ft)<<6|63&un)>65535&&At<1114112&&(rt=At)}null===rt?(rt=65533,rn=1):rt>65535&&(ge.push((rt-=65536)>>>10&1023|55296),rt=56320|1023&rt),ge.push(rt),xt+=rn}return function h(re){var ne=re.length;if(ne<=s)return String.fromCharCode.apply(String,re);for(var G="",ge=0;gext.length?C.from(rt).copy(xt,Qe):Uint8Array.prototype.set.call(xt,rt,Qe);else{if(!C.isBuffer(rt))throw new TypeError('"list" argument must be an Array of Buffers');rt.copy(xt,Qe)}Qe+=rt.length}return xt},C.byteLength=P,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,ge,xt,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===ge&&(ge=ne?ne.length:0),void 0===xt&&(xt=0),void 0===Qe&&(Qe=this.length),G<0||ge>ne.length||xt<0||Qe>this.length)throw new RangeError("out of range index");if(xt>=Qe&&G>=ge)return 0;if(xt>=Qe)return-1;if(G>=ge)return 1;if(this===ne)return 0;for(var rt=(Qe>>>=0)-(xt>>>=0),rn=(ge>>>=0)-(G>>>=0),mt=Math.min(rt,rn),ft=this.slice(xt,Qe),un=ne.slice(G,ge),At=0;At>>=0,isFinite(ge)?(ge>>>=0,void 0===xt&&(xt="utf8")):(xt=ge,ge=void 0)}var Qe=this.length-G;if((void 0===ge||ge>Qe)&&(ge=Qe),ne.length>0&&(ge<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");xt||(xt="utf8");for(var rt=!1;;)switch(xt){case"hex":return me(this,ne,G,ge);case"utf8":case"utf-8":return te(this,ne,G,ge);case"ascii":case"latin1":case"binary":return se(this,ne,G,ge);case"base64":return g(this,ne,G,ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ne,G,ge);default:if(rt)throw new TypeError("Unknown encoding: "+xt);xt=(""+xt).toLowerCase(),rt=!0}},C.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var s=4096;function v(re,ne,G){var ge="";G=Math.min(re.length,G);for(var xt=ne;xtge)&&(G=ge);for(var xt="",Qe=ne;QeG)throw new RangeError("Trying to access beyond buffer length")}function L(re,ne,G,ge,xt,Qe){if(!C.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(ne>xt||nere.length)throw new RangeError("Index out of range")}function I(re,ne,G,ge,xt,Qe){if(G+ge>re.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function j(re,ne,G,ge,xt){return ne=+ne,G>>>=0,xt||I(re,0,G,4),S.write(re,ne,G,ge,23,4),G+4}function J(re,ne,G,ge,xt){return ne=+ne,G>>>=0,xt||I(re,0,G,8),S.write(re,ne,G,ge,52,8),G+8}C.prototype.slice=function(ne,G){var ge=this.length;(ne=~~ne)<0?(ne+=ge)<0&&(ne=0):ne>ge&&(ne=ge),(G=void 0===G?ge:~~G)<0?(G+=ge)<0&&(G=0):G>ge&&(G=ge),G>>=0,G>>>=0,ge||f(ne,G,this.length);for(var xt=this[ne],Qe=1,rt=0;++rt>>=0,G>>>=0,ge||f(ne,G,this.length);for(var xt=this[ne+--G],Qe=1;G>0&&(Qe*=256);)xt+=this[ne+--G]*Qe;return xt},C.prototype.readUint8=C.prototype.readUInt8=function(ne,G){return ne>>>=0,G||f(ne,1,this.length),this[ne]},C.prototype.readUint16LE=C.prototype.readUInt16LE=function(ne,G){return ne>>>=0,G||f(ne,2,this.length),this[ne]|this[ne+1]<<8},C.prototype.readUint16BE=C.prototype.readUInt16BE=function(ne,G){return ne>>>=0,G||f(ne,2,this.length),this[ne]<<8|this[ne+1]},C.prototype.readUint32LE=C.prototype.readUInt32LE=function(ne,G){return ne>>>=0,G||f(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||f(ne,4,this.length),16777216*this[ne]+(this[ne+1]<<16|this[ne+2]<<8|this[ne+3])},C.prototype.readIntLE=function(ne,G,ge){ne>>>=0,G>>>=0,ge||f(ne,G,this.length);for(var xt=this[ne],Qe=1,rt=0;++rt=(Qe*=128)&&(xt-=Math.pow(2,8*G)),xt},C.prototype.readIntBE=function(ne,G,ge){ne>>>=0,G>>>=0,ge||f(ne,G,this.length);for(var xt=G,Qe=1,rt=this[ne+--xt];xt>0&&(Qe*=256);)rt+=this[ne+--xt]*Qe;return rt>=(Qe*=128)&&(rt-=Math.pow(2,8*G)),rt},C.prototype.readInt8=function(ne,G){return ne>>>=0,G||f(ne,1,this.length),128&this[ne]?-1*(255-this[ne]+1):this[ne]},C.prototype.readInt16LE=function(ne,G){ne>>>=0,G||f(ne,2,this.length);var ge=this[ne]|this[ne+1]<<8;return 32768&ge?4294901760|ge:ge},C.prototype.readInt16BE=function(ne,G){ne>>>=0,G||f(ne,2,this.length);var ge=this[ne+1]|this[ne]<<8;return 32768&ge?4294901760|ge:ge},C.prototype.readInt32LE=function(ne,G){return ne>>>=0,G||f(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||f(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||f(ne,4,this.length),S.read(this,ne,!0,23,4)},C.prototype.readFloatBE=function(ne,G){return ne>>>=0,G||f(ne,4,this.length),S.read(this,ne,!1,23,4)},C.prototype.readDoubleLE=function(ne,G){return ne>>>=0,G||f(ne,8,this.length),S.read(this,ne,!0,52,8)},C.prototype.readDoubleBE=function(ne,G){return ne>>>=0,G||f(ne,8,this.length),S.read(this,ne,!1,52,8)},C.prototype.writeUintLE=C.prototype.writeUIntLE=function(ne,G,ge,xt){ne=+ne,G>>>=0,ge>>>=0,xt||L(this,ne,G,ge,Math.pow(2,8*ge)-1,0);var rt=1,rn=0;for(this[G]=255≠++rn>>=0,ge>>>=0,xt||L(this,ne,G,ge,Math.pow(2,8*ge)-1,0);var rt=ge-1,rn=1;for(this[G+rt]=255≠--rt>=0&&(rn*=256);)this[G+rt]=ne/rn&255;return G+ge},C.prototype.writeUint8=C.prototype.writeUInt8=function(ne,G,ge){return ne=+ne,G>>>=0,ge||L(this,ne,G,1,255,0),this[G]=255&ne,G+1},C.prototype.writeUint16LE=C.prototype.writeUInt16LE=function(ne,G,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||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,ge,xt){if(ne=+ne,G>>>=0,!xt){var Qe=Math.pow(2,8*ge-1);L(this,ne,G,ge,Qe-1,-Qe)}var rt=0,rn=1,mt=0;for(this[G]=255≠++rt>>=0,!xt){var Qe=Math.pow(2,8*ge-1);L(this,ne,G,ge,Qe-1,-Qe)}var rt=ge-1,rn=1,mt=0;for(this[G+rt]=255≠--rt>=0&&(rn*=256);)ne<0&&0===mt&&0!==this[G+rt+1]&&(mt=1),this[G+rt]=(ne/rn|0)-mt&255;return G+ge},C.prototype.writeInt8=function(ne,G,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||L(this,ne,G,2,32767,-32768),this[G]=255&ne,this[G+1]=ne>>>8,G+2},C.prototype.writeInt16BE=function(ne,G,ge){return ne=+ne,G>>>=0,ge||L(this,ne,G,2,32767,-32768),this[G]=ne>>>8,this[G+1]=255&ne,G+2},C.prototype.writeInt32LE=function(ne,G,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||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,ge){return j(this,ne,G,!0,ge)},C.prototype.writeFloatBE=function(ne,G,ge){return j(this,ne,G,!1,ge)},C.prototype.writeDoubleLE=function(ne,G,ge){return J(this,ne,G,!0,ge)},C.prototype.writeDoubleBE=function(ne,G,ge){return J(this,ne,G,!1,ge)},C.prototype.copy=function(ne,G,ge,xt){if(!C.isBuffer(ne))throw new TypeError("argument should be a Buffer");if(ge||(ge=0),!xt&&0!==xt&&(xt=this.length),G>=ne.length&&(G=ne.length),G||(G=0),xt>0&&xt=this.length)throw new RangeError("Index out of range");if(xt<0)throw new RangeError("sourceEnd out of bounds");xt>this.length&&(xt=this.length),ne.length-G>>=0,ge=void 0===ge?this.length:ge>>>0,ne||(ne=0),"number"==typeof ne)for(rt=G;rt55295&&G<57344){if(!xt){if(G>56319){(ne-=3)>-1&&Qe.push(239,191,189);continue}if(rt+1===ge){(ne-=3)>-1&&Qe.push(239,191,189);continue}xt=G;continue}if(G<56320){(ne-=3)>-1&&Qe.push(239,191,189),xt=G;continue}G=65536+(xt-55296<<10|G-56320)}else xt&&(ne-=3)>-1&&Qe.push(239,191,189);if(xt=null,G<128){if((ne-=1)<0)break;Qe.push(G)}else if(G<2048){if((ne-=2)<0)break;Qe.push(G>>6|192,63&G|128)}else if(G<65536){if((ne-=3)<0)break;Qe.push(G>>12|224,G>>6&63|128,63&G|128)}else{if(!(G<1114112))throw new Error("Invalid code point");if((ne-=4)<0)break;Qe.push(G>>18|240,G>>12&63|128,G>>6&63|128,63&G|128)}}return Qe}function tt(re){return a.toByteArray(function xe(re){if((re=(re=re.split("=")[0]).trim().replace(ie,"")).length<2)return"";for(;re.length%4!=0;)re+="=";return re}(re))}function Oe(re,ne,G,ge){for(var xt=0;xt=ne.length||xt>=re.length);++xt)ne[xt+G]=re[xt];return xt}function pe(re,ne){return re instanceof ne||null!=re&&null!=re.constructor&&null!=re.constructor.name&&re.constructor.name===ne.name}function Te(re){return re!=re}var Be=function(){for(var re="0123456789abcdef",ne=new Array(256),G=0;G<16;++G)for(var ge=16*G,xt=0;xt<16;++xt)ne[ge+xt]=re[G]+re[xt];return ne}()},5293:(Ce,ee,E)=>{"use strict";E.d(ee,{R:()=>S});const S=(0,E(5083).F3)("VoiceRecorder",{web:()=>E.e(5120).then(E.bind(E,5120)).then(p=>new p.VoiceRecorderWeb)})},3247:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(7045).Transform,p=E(8454).I;function c(D){S.call(this),this.hashMode="string"==typeof D,this.hashMode?this[D]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}E(1993)(c,S),c.prototype.update=function(D,C,_){"string"==typeof D&&(D=a.from(D,C));var F=this._update(D);return this.hashMode?this:(_&&(F=this._toString(F,_)),F)},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 F;try{this.hashMode?this._update(D):this.push(this._update(D))}catch(B){F=B}finally{_(F)}},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 F=this._decoder.write(D);return _&&(F+=this._decoder.end()),F},Ce.exports=c},7637:(Ce,ee,E)=>{function R($){return Object.prototype.toString.call($)}ee.isArray=function a($){return Array.isArray?Array.isArray($):"[object Array]"===R($)},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 F($){return"[object RegExp]"===R($)},ee.isObject=function B($){return"object"==typeof $&&null!==$},ee.isDate=function m($){return"[object Date]"===R($)},ee.isError=function T($){return"[object Error]"===R($)||$ instanceof Error},ee.isFunction=function A($){return"function"==typeof $},ee.isPrimitive=function w($){return null===$||"boolean"==typeof $||"number"==typeof $||"string"==typeof $||"symbol"==typeof $||typeof $>"u"},ee.isBuffer=E(3838).Buffer.isBuffer},7303:(Ce,ee,E)=>{var a=E(518),S=E(9606);Ce.exports=function(C){return new 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 F=new Buffer(D);if(_&&F.length<_){var B=new Buffer(_-F.length);B.fill(0),F=Buffer.concat([B,F])}return C?F.toString(C):F}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(Ce,ee,E){!function(a,S){"use strict";function p(g,n){if(!g)throw new Error(n||"Assertion failed")}function O(g,n){g.super_=n;var o=function(){};o.prototype=n.prototype,g.prototype=new o,g.prototype.constructor=g}function c(g,n,o){if(c.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,null!==g&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(g||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(g,n){var o=g.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,xe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},7211:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(4725),p=E(6636),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()},Ce.exports=function(_){return"md5"===(_=_.toLowerCase())?new S:"rmd160"===_||"ripemd160"===_?new p:new D(O(_))}},3407:(Ce,ee,E)=>{var a=E(4725);Ce.exports=function(S){return(new a).update(S).digest()}},6432:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(509),p=E(3247),O=E(7054).Buffer,c=E(3407),D=E(6636),C=E(5443),_=O.alloc(128);function F(B,m){p.call(this,"digest"),"string"==typeof m&&(m=O.from(m));var T="sha512"===B||"sha384"===B?128:64;this._alg=B,this._key=m,m.length>T?m=("rmd160"===B?new D:C(B)).update(m).digest():m.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 F=E(9682);ee.randomFill=F.randomFill,ee.randomFillSync=F.randomFillSync,ee.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},ee.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},7656:function(Ce,ee,E){var a;Ce.exports=(a=a||function(S,p){var 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(P){var U;return M.prototype=P,U=new M,M.prototype=null,U}}(),C={},_=C.lib={},F=_.Base=function(){return{extend:function(M){var P=D(this);return M&&P.mixIn(M),(!P.hasOwnProperty("init")||this.init===P.init)&&(P.init=function(){P.$super.init.apply(this,arguments)}),P.init.prototype=P,P.$super=this,P},create:function(){var M=this.extend();return M.init.apply(M,arguments),M},init:function(){},mixIn:function(M){for(var P in M)M.hasOwnProperty(P)&&(this[P]=M[P]);M.hasOwnProperty("toString")&&(this.toString=M.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),B=_.WordArray=F.extend({init:function(M,P){M=this.words=M||[],this.sigBytes=null!=P?P:4*M.length},toString:function(M){return(M||T).stringify(this)},concat:function(M){var P=this.words,U=M.words,V=this.sigBytes,W=M.sigBytes;if(this.clamp(),V%4)for(var oe=0;oe>>2]|=(U[oe>>>2]>>>24-oe%4*8&255)<<24-(V+oe)%4*8;else for(var te=0;te>>2]=U[te>>>2];return this.sigBytes+=W,this},clamp:function(){var M=this.words,P=this.sigBytes;M[P>>>2]&=4294967295<<32-P%4*8,M.length=S.ceil(P/4)},clone:function(){var M=F.clone.call(this);return M.words=this.words.slice(0),M},random:function(M){for(var P=[],U=0;U>>2]>>>24-W%4*8&255;V.push((oe>>>4).toString(16)),V.push((15&oe).toString(16))}return V.join("")},parse:function(M){for(var P=M.length,U=[],V=0;V>>3]|=parseInt(M.substr(V,2),16)<<24-V%8*4;return new B.init(U,P/2)}},A=m.Latin1={stringify:function(M){for(var P=M.words,U=M.sigBytes,V=[],W=0;W>>2]>>>24-W%4*8&255));return V.join("")},parse:function(M){for(var P=M.length,U=[],V=0;V>>2]|=(255&M.charCodeAt(V))<<24-V%4*8;return new B.init(U,P)}},w=m.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)))}},R=_.BufferedBlockAlgorithm=F.extend({reset:function(){this._data=new B.init,this._nDataBytes=0},_append:function(M){"string"==typeof M&&(M=w.parse(M)),this._data.concat(M),this._nDataBytes+=M.sigBytes},_process:function(M){var P,U=this._data,V=U.words,W=U.sigBytes,oe=this.blockSize,te=W/(4*oe),se=(te=M?S.ceil(te):S.max((0|te)-this._minBufferSize,0))*oe,g=S.min(4*se,W);if(se){for(var n=0;n>>24)|4278255360&(M<<24|M>>>8)}var P=this._hash.words,U=w[R+0],V=w[R+1],W=w[R+2],oe=w[R+3],me=w[R+4],te=w[R+5],se=w[R+6],g=w[R+7],n=w[R+8],o=w[R+9],l=w[R+10],s=w[R+11],h=w[R+12],v=w[R+13],y=w[R+14],d=w[R+15],r=P[0],f=P[1],L=P[2],I=P[3];r=B(r,f,L,I,U,7,_[0]),I=B(I,r,f,L,V,12,_[1]),L=B(L,I,r,f,W,17,_[2]),f=B(f,L,I,r,oe,22,_[3]),r=B(r,f,L,I,me,7,_[4]),I=B(I,r,f,L,te,12,_[5]),L=B(L,I,r,f,se,17,_[6]),f=B(f,L,I,r,g,22,_[7]),r=B(r,f,L,I,n,7,_[8]),I=B(I,r,f,L,o,12,_[9]),L=B(L,I,r,f,l,17,_[10]),f=B(f,L,I,r,s,22,_[11]),r=B(r,f,L,I,h,7,_[12]),I=B(I,r,f,L,v,12,_[13]),L=B(L,I,r,f,y,17,_[14]),r=m(r,f=B(f,L,I,r,d,22,_[15]),L,I,V,5,_[16]),I=m(I,r,f,L,se,9,_[17]),L=m(L,I,r,f,s,14,_[18]),f=m(f,L,I,r,U,20,_[19]),r=m(r,f,L,I,te,5,_[20]),I=m(I,r,f,L,l,9,_[21]),L=m(L,I,r,f,d,14,_[22]),f=m(f,L,I,r,me,20,_[23]),r=m(r,f,L,I,o,5,_[24]),I=m(I,r,f,L,y,9,_[25]),L=m(L,I,r,f,oe,14,_[26]),f=m(f,L,I,r,n,20,_[27]),r=m(r,f,L,I,v,5,_[28]),I=m(I,r,f,L,W,9,_[29]),L=m(L,I,r,f,g,14,_[30]),r=T(r,f=m(f,L,I,r,h,20,_[31]),L,I,te,4,_[32]),I=T(I,r,f,L,n,11,_[33]),L=T(L,I,r,f,s,16,_[34]),f=T(f,L,I,r,y,23,_[35]),r=T(r,f,L,I,V,4,_[36]),I=T(I,r,f,L,me,11,_[37]),L=T(L,I,r,f,g,16,_[38]),f=T(f,L,I,r,l,23,_[39]),r=T(r,f,L,I,v,4,_[40]),I=T(I,r,f,L,U,11,_[41]),L=T(L,I,r,f,oe,16,_[42]),f=T(f,L,I,r,se,23,_[43]),r=T(r,f,L,I,o,4,_[44]),I=T(I,r,f,L,h,11,_[45]),L=T(L,I,r,f,d,16,_[46]),r=A(r,f=T(f,L,I,r,W,23,_[47]),L,I,U,6,_[48]),I=A(I,r,f,L,g,10,_[49]),L=A(L,I,r,f,y,15,_[50]),f=A(f,L,I,r,te,21,_[51]),r=A(r,f,L,I,h,6,_[52]),I=A(I,r,f,L,oe,10,_[53]),L=A(L,I,r,f,l,15,_[54]),f=A(f,L,I,r,V,21,_[55]),r=A(r,f,L,I,n,6,_[56]),I=A(I,r,f,L,d,10,_[57]),L=A(L,I,r,f,se,15,_[58]),f=A(f,L,I,r,v,21,_[59]),r=A(r,f,L,I,me,6,_[60]),I=A(I,r,f,L,s,10,_[61]),L=A(L,I,r,f,W,15,_[62]),f=A(f,L,I,r,o,21,_[63]),P[0]=P[0]+r|0,P[1]=P[1]+f|0,P[2]=P[2]+L|0,P[3]=P[3]+I|0},_doFinalize:function(){var w=this._data,R=w.words,$=8*this._nDataBytes,k=8*w.sigBytes;R[k>>>5]|=128<<24-k%32;var M=S.floor($/4294967296),P=$;R[15+(k+64>>>9<<4)]=16711935&(M<<8|M>>>24)|4278255360&(M<<24|M>>>8),R[14+(k+64>>>9<<4)]=16711935&(P<<8|P>>>24)|4278255360&(P<<24|P>>>8),w.sigBytes=4*(R.length+1),this._process();for(var U=this._hash,V=U.words,W=0;W<4;W++){var oe=V[W];V[W]=16711935&(oe<<8|oe>>>24)|4278255360&(oe<<24|oe>>>8)}return U},clone:function(){var w=D.clone.call(this);return w._hash=this._hash.clone(),w}});function B(w,R,$,k,M,P,U){var V=w+(R&$|~R&k)+M+U;return(V<>>32-P)+R}function m(w,R,$,k,M,P,U){var V=w+(R&k|$&~k)+M+U;return(V<>>32-P)+R}function T(w,R,$,k,M,P,U){var V=w+(R^$^k)+M+U;return(V<>>32-P)+R}function A(w,R,$,k,M,P,U){var V=w+($^(R|~k))+M+U;return(V<>>32-P)+R}p.MD5=D._createHelper(F),p.HmacMD5=D._createHmacHelper(F)}(Math),a.MD5)},9986:function(Ce,ee,E){var S,p,O,c,C,_,a;Ce.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(F,B){for(var m=this._hash.words,T=m[0],A=m[1],w=m[2],R=m[3],$=m[4],k=0;k<80;k++){if(k<16)C[k]=0|F[B+k];else{var M=C[k-3]^C[k-8]^C[k-14]^C[k-16];C[k]=M<<1|M>>>31}var P=(T<<5|T>>>27)+$+C[k];P+=k<20?1518500249+(A&w|~A&R):k<40?1859775393+(A^w^R):k<60?(A&w|A&R|w&R)-1894007588:(A^w^R)-899497514,$=R,R=w,w=A<<30|A>>>2,A=T,T=P}m[0]=m[0]+T|0,m[1]=m[1]+A|0,m[2]=m[2]+w|0,m[3]=m[3]+R|0,m[4]=m[4]+$|0},_doFinalize:function(){var F=this._data,B=F.words,m=8*this._nDataBytes,T=8*F.sigBytes;return B[T>>>5]|=128<<24-T%32,B[14+(T+64>>>9<<4)]=Math.floor(m/4294967296),B[15+(T+64>>>9<<4)]=m,F.sigBytes=4*B.length,this._process(),this._hash},clone:function(){var F=c.clone.call(this);return F._hash=this._hash.clone(),F}}),S.SHA1=c._createHelper(_),S.HmacSHA1=c._createHmacHelper(_),a.SHA1)},7374:function(Ce){Ce.exports=function(){"use strict";var E=6e4,a=36e5,S="millisecond",p="second",O="minute",c="hour",D="day",C="week",_="month",F="quarter",B="year",m="date",T="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|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,R={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(g){var n=["th","st","nd","rd"],o=g%100;return"["+g+(n[(o-20)%10]||n[o]||n[0])+"]"}},$=function(g,n,o){var l=String(g);return!l||l.length>=n?g:""+Array(n+1-l.length).join(o)+g},k={s:$,z:function(g){var n=-g.utcOffset(),o=Math.abs(n),l=Math.floor(o/60),s=o%60;return(n<=0?"+":"-")+$(l,2,"0")+":"+$(s,2,"0")},m:function g(n,o){if(n.date()1)return g(v[0])}else{var y=n.name;P[y]=n,s=y}return!l&&s&&(M=s),s||!l&&M},oe=function(g,n){if(V(g))return g.clone();var o="object"==typeof n?n:{};return o.date=g,o.args=arguments,new te(o)},me=k;me.l=W,me.i=V,me.w=function(g,n){return oe(g,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var te=function(){function g(o){this.$L=W(o.locale,null,!0),this.parse(o),this.$x=this.$x||o.x||{},this[U]=!0}var n=g.prototype;return n.parse=function(o){this.$d=function(l){var s=l.date,h=l.utc;if(null===s)return new Date(NaN);if(me.u(s))return new Date;if(s instanceof Date)return new Date(s);if("string"==typeof s&&!/Z$/i.test(s)){var v=s.match(A);if(v){var y=v[2]-1||0,d=(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,d)):new Date(v[1],y,v[3]||1,v[4]||0,v[5]||0,v[6]||0,d)}}return new Date(s)}(o),this.init()},n.init=function(){var o=this.$d;this.$y=o.getFullYear(),this.$M=o.getMonth(),this.$D=o.getDate(),this.$W=o.getDay(),this.$H=o.getHours(),this.$m=o.getMinutes(),this.$s=o.getSeconds(),this.$ms=o.getMilliseconds()},n.$utils=function(){return me},n.isValid=function(){return this.$d.toString()!==T},n.isSame=function(o,l){var s=oe(o);return this.startOf(l)<=s&&s<=this.endOf(l)},n.isAfter=function(o,l){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:(Ce,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}Ce.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 F=new c;this._desState=F,this.deriveKeys(F,_.key)}S(D,O),Ce.exports=D,D.create=function(F){return new D(F)};var C=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];D.prototype.deriveKeys=function(F,B){F.keys=new Array(32),a.equal(B.length,this.blockSize,"Invalid key length");var m=p.readUInt32BE(B,0),T=p.readUInt32BE(B,4);p.pc1(m,T,F.tmp,0),m=F.tmp[0],T=F.tmp[1];for(var A=0;A>>1];m=p.r28shl(m,w),T=p.r28shl(T,w),p.pc2(m,T,F.keys,A)}},D.prototype._update=function(F,B,m,T){var A=this._desState,w=p.readUInt32BE(F,B),R=p.readUInt32BE(F,B+4);p.ip(w,R,A.tmp,0),w=A.tmp[0],R=A.tmp[1],"encrypt"===this.type?this._encrypt(A,w,R,A.tmp,0):this._decrypt(A,w,R,A.tmp,0),R=A.tmp[1],p.writeUInt32BE(m,w=A.tmp[0],T),p.writeUInt32BE(m,R,T+4)},D.prototype._pad=function(F,B){if(!1===this.padding)return!1;for(var m=F.length-B,T=B;T>>0,w=V}p.rip(R,w,T,A)},D.prototype._decrypt=function(F,B,m,T,A){for(var w=m,R=B,$=F.keys.length-2;$>=0;$-=2){var k=F.keys[$],M=F.keys[$+1];p.expand(w,F.tmp,0);var P=p.substitute(k^=F.tmp[0],M^=F.tmp[1]),V=w;w=(R^p.permute(P))>>>0,R=V}p.rip(w,R,T,A)}},2122:(Ce,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 F=_.slice(0,8),B=_.slice(8,16),m=_.slice(16,24);this.ciphers="encrypt"===C?[O.create({type:"encrypt",key:F}),O.create({type:"decrypt",key:B}),O.create({type:"encrypt",key:m})]:[O.create({type:"decrypt",key:m}),O.create({type:"encrypt",key:B}),O.create({type:"decrypt",key:F})]}function D(C){p.call(this,C);var _=new c(this.type,this.options.key);this._edeState=_}S(D,p),Ce.exports=D,D.create=function(_){return new D(_)},D.prototype._update=function(_,F,B,m){var T=this._edeState;T.ciphers[0]._update(_,F,B,m),T.ciphers[1]._update(B,m,B,m),T.ciphers[2]._update(B,m,B,m)},D.prototype._pad=O.prototype._pad,D.prototype._unpad=O.prototype._unpad},5671:(Ce,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,F=0,B=6;B>=0;B-=2){for(var m=0;m<=24;m+=8)_<<=1,_|=c>>>m+B&1;for(m=0;m<=24;m+=8)_<<=1,_|=O>>>m+B&1}for(B=6;B>=0;B-=2){for(m=1;m<=25;m+=8)F<<=1,F|=c>>>m+B&1;for(m=1;m<=25;m+=8)F<<=1,F|=O>>>m+B&1}D[C+0]=_>>>0,D[C+1]=F>>>0},ee.rip=function(O,c,D,C){for(var _=0,F=0,B=0;B<4;B++)for(var m=24;m>=0;m-=8)_<<=1,_|=c>>>m+B&1,_<<=1,_|=O>>>m+B&1;for(B=4;B<8;B++)for(m=24;m>=0;m-=8)F<<=1,F|=c>>>m+B&1,F<<=1,F|=O>>>m+B&1;D[C+0]=_>>>0,D[C+1]=F>>>0},ee.pc1=function(O,c,D,C){for(var _=0,F=0,B=7;B>=5;B--){for(var m=0;m<=24;m+=8)_<<=1,_|=c>>m+B&1;for(m=0;m<=24;m+=8)_<<=1,_|=O>>m+B&1}for(m=0;m<=24;m+=8)_<<=1,_|=c>>m+B&1;for(B=1;B<=3;B++){for(m=0;m<=24;m+=8)F<<=1,F|=c>>m+B&1;for(m=0;m<=24;m+=8)F<<=1,F|=O>>m+B&1}for(m=0;m<=24;m+=8)F<<=1,F|=O>>m+B&1;D[C+0]=_>>>0,D[C+1]=F>>>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,F=0,B=E.length>>>1,m=0;m>>E[m]&1;for(m=B;m>>E[m]&1;D[C+0]=_>>>0,D[C+1]=F>>>0},ee.expand=function(O,c,D){var C=0,_=0;C=(1&O)<<5|O>>>27;for(var F=23;F>=15;F-=4)C<<=6,C|=O>>>F&63;for(F=11;F>=3;F-=4)_|=O>>>F&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"),F=new Buffer(S[C].gen,"hex");return new p(_,F)},ee.createDiffieHellman=ee.DiffieHellman=function D(C,_,F,B){return Buffer.isBuffer(_)||void 0===c[_]?D(C,"binary",_,F):(_=_||"binary",B=B||"binary",F=F||new Buffer([2]),Buffer.isBuffer(F)||(F=new Buffer(F,B)),"number"==typeof C?new p(a(C,F),F,!0):(Buffer.isBuffer(C)||(C=new Buffer(C,_)),new p(C,F,!0)))}},4593:(Ce,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),F=E(2727),B=E(3342);function m(k,M){return M=M||"utf8",Buffer.isBuffer(k)||(k=new Buffer(k,M)),this._pub=new a(k),this}function T(k,M){return M=M||"utf8",Buffer.isBuffer(k)||(k=new Buffer(k,M)),this._priv=new a(k),this}Ce.exports=R;var A={};function R(k,M,P){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,P?(this.setPublicKey=m,this.setPrivateKey=T):this._primeCode=8}function $(k,M){var P=new Buffer(k.toArray());return M?P.toString(M):P}Object.defineProperty(R.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function w(k,M){var P=M.toString("hex"),U=[P,k.toString(16)].join("_");if(U in A)return A[U];var W,V=0;if(k.isEven()||!F.simpleSieve||!F.fermatTest(k)||!p.test(k))return V+=1,A[U]=V+="02"===P||"05"===P?8:4,V;switch(p.test(k.shrn(1))||(V+=2),P){case"02":k.mod(O).cmp(c)&&(V+=8);break;case"05":(W=k.mod(D)).cmp(C)&&W.cmp(_)&&(V+=8);break;default:V+=4}return A[U]=V,V}(this.__prime,this.__gen)),this._primeCode}}),R.prototype.generateKeys=function(){return this._priv||(this._priv=new a(B(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},R.prototype.computeSecret=function(k){var M=(k=(k=new a(k)).toRed(this._prime)).redPow(this._priv).fromRed(),P=new Buffer(M.toArray()),U=this.getPrime();if(P.length{var a=E(3342);Ce.exports=V,V.simpleSieve=P,V.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),m=(new S(16),new S(8),new S(10)),T=new S(3),w=(new S(7),new S(11)),R=new S(4),k=(new S(12),null);function P(W){for(var oe=function M(){if(null!==k)return k;var oe=[];oe[0]=2;for(var me=1,te=3;te<1048576;te+=2){for(var se=Math.ceil(Math.sqrt(te)),g=0;gW;)me.ishrn(1);if(me.isEven()&&me.iadd(D),me.testn(1)||me.iadd(C),oe.cmp(C)){if(!oe.cmp(_))for(;me.mod(m).cmp(T);)me.iadd(R)}else for(;me.mod(p).cmp(w);)me.iadd(R);if(P(te=me.shrn(1))&&P(me)&&U(te)&&U(me)&&c.test(te)&&c.test(me))return me}}},8280:function(Ce,ee,E){!function(a,S){"use strict";function p(g,n){if(!g)throw new Error(n||"Assertion failed")}function O(g,n){g.super_=n;var o=function(){};o.prototype=n.prototype,g.prototype=new o,g.prototype.constructor=g}function c(g,n,o){if(c.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,null!==g&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(g||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(g,n){var o=g.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,xe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},518:(Ce,ee,E)=>{"use strict";var a=ee;a.version=E(1636).rE,a.utils=E(3136),a.rand=E(5294),a.curve=E(8729),a.curves=E(3401),a.ec=E(9042),a.eddsa=E(3045)},8828:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.getNAF,O=S.getJSF,c=S.assert;function D(_,F){this.type=_,this.p=new a(F.p,16),this.red=F.prime?a.red(F.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=F.n&&new a(F.n,16),this.g=F.g&&this.pointFromJSON(F.g,F.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 B=this.n&&this.p.div(this.n);!B||B.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function C(_,F){this.curve=_,this.type=F,this.precomputed=null}Ce.exports=D,D.prototype.point=function(){throw new Error("Not implemented")},D.prototype.validate=function(){throw new Error("Not implemented")},D.prototype._fixedNafMul=function(F,B){c(F.precomputed);var m=F._getDoubles(),T=p(B,1,this._bitLength),A=(1<=R;k--)$=($<<1)+T[k];w.push($)}for(var M=this.jpoint(null,null,null),P=this.jpoint(null,null,null),U=A;U>0;U--){for(R=0;R=0;$--){for(var k=0;$>=0&&0===w[$];$--)k++;if($>=0&&k++,R=R.dblp(k),$<0)break;var M=w[$];c(0!==M),R="affine"===F.type?R.mixedAdd(M>0?A[M-1>>1]:A[-M-1>>1].neg()):R.add(M>0?A[M-1>>1]:A[-M-1>>1].neg())}return"affine"===F.type?R.toP():R},D.prototype._wnafMulAdd=function(F,B,m,T,A){var M,P,U,w=this._wnafT1,R=this._wnafT2,$=this._wnafT3,k=0;for(M=0;M=1;M-=2){var W=M-1,oe=M;if(1===w[W]&&1===w[oe]){var me=[B[W],null,null,B[oe]];0===B[W].y.cmp(B[oe].y)?(me[1]=B[W].add(B[oe]),me[2]=B[W].toJ().mixedAdd(B[oe].neg())):0===B[W].y.cmp(B[oe].y.redNeg())?(me[1]=B[W].toJ().mixedAdd(B[oe]),me[2]=B[W].add(B[oe].neg())):(me[1]=B[W].toJ().mixedAdd(B[oe]),me[2]=B[W].toJ().mixedAdd(B[oe].neg()));var te=[-3,-1,-5,-7,0,7,5,1,3],se=O(m[W],m[oe]);for(k=Math.max(se[0].length,k),$[W]=new Array(k),$[oe]=new Array(k),P=0;P=0;M--){for(var s=0;M>=0;){var h=!0;for(P=0;P=0&&s++,o=o.dblp(s),M<0)break;for(P=0;P0?U=R[P][v-1>>1]:v<0&&(U=R[P][-v-1>>1].neg()),o="affine"===U.type?o.mixedAdd(U):o.add(U))}}for(M=0;M=Math.ceil((F.bitLength()+1)/B.step)},C.prototype._getDoubles=function(F,B){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var m=[this],T=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(_,F,B,m,T){O.BasePoint.call(this,_,"projective"),null===F&&null===B&&null===m?(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(F,16),this.y=new S(B,16),this.z=m?new S(m,16):this.curve.one,this.t=T&&new S(T,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),Ce.exports=D,D.prototype._mulA=function(F){return this.mOneA?F.redNeg():this.a.redMul(F)},D.prototype._mulC=function(F){return this.oneC?F:this.c.redMul(F)},D.prototype.jpoint=function(F,B,m,T){return this.point(F,B,m,T)},D.prototype.pointFromX=function(F,B){(F=new S(F,16)).red||(F=F.toRed(this.red));var m=F.redSqr(),T=this.c2.redSub(this.a.redMul(m)),A=this.one.redSub(this.c2.redMul(this.d).redMul(m)),w=T.redMul(A.redInvm()),R=w.redSqrt();if(0!==R.redSqr().redSub(w).cmp(this.zero))throw new Error("invalid point");var $=R.fromRed().isOdd();return(B&&!$||!B&&$)&&(R=R.redNeg()),this.point(F,R)},D.prototype.pointFromY=function(F,B){(F=new S(F,16)).red||(F=F.toRed(this.red));var m=F.redSqr(),T=m.redSub(this.c2),A=m.redMul(this.d).redMul(this.c2).redSub(this.a),w=T.redMul(A.redInvm());if(0===w.cmp(this.zero)){if(B)throw new Error("invalid point");return this.point(this.zero,F)}var R=w.redSqrt();if(0!==R.redSqr().redSub(w).cmp(this.zero))throw new Error("invalid point");return R.fromRed().isOdd()!==B&&(R=R.redNeg()),this.point(R,F)},D.prototype.validate=function(F){if(F.isInfinity())return!0;F.normalize();var B=F.x.redSqr(),m=F.y.redSqr(),T=B.redMul(this.a).redAdd(m),A=this.c2.redMul(this.one.redAdd(this.d.redMul(B).redMul(m)));return 0===T.cmp(A)},p(C,O.BasePoint),D.prototype.pointFromJSON=function(F){return C.fromJSON(this,F)},D.prototype.point=function(F,B,m,T){return new C(this,F,B,m,T)},C.fromJSON=function(F,B){return new C(F,B[0],B[1],B[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 F=this.x.redSqr(),B=this.y.redSqr(),m=this.z.redSqr();m=m.redIAdd(m);var T=this.curve._mulA(F),A=this.x.redAdd(this.y).redSqr().redISub(F).redISub(B),w=T.redAdd(B),R=w.redSub(m),$=T.redSub(B),k=A.redMul(R),M=w.redMul($),P=A.redMul($),U=R.redMul(w);return this.curve.point(k,M,U,P)},C.prototype._projDbl=function(){var T,A,w,R,$,k,F=this.x.redAdd(this.y).redSqr(),B=this.x.redSqr(),m=this.y.redSqr();if(this.curve.twisted){var M=(R=this.curve._mulA(B)).redAdd(m);this.zOne?(T=F.redSub(B).redSub(m).redMul(M.redSub(this.curve.two)),A=M.redMul(R.redSub(m)),w=M.redSqr().redSub(M).redSub(M)):($=this.z.redSqr(),k=M.redSub($).redISub($),T=F.redSub(B).redISub(m).redMul(k),A=M.redMul(R.redSub(m)),w=M.redMul(k))}else R=B.redAdd(m),$=this.curve._mulC(this.z).redSqr(),k=R.redSub($).redSub($),T=this.curve._mulC(F.redISub(R)).redMul(k),A=this.curve._mulC(R).redMul(B.redISub(m)),w=R.redMul(k);return this.curve.point(T,A,w)},C.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},C.prototype._extAdd=function(F){var B=this.y.redSub(this.x).redMul(F.y.redSub(F.x)),m=this.y.redAdd(this.x).redMul(F.y.redAdd(F.x)),T=this.t.redMul(this.curve.dd).redMul(F.t),A=this.z.redMul(F.z.redAdd(F.z)),w=m.redSub(B),R=A.redSub(T),$=A.redAdd(T),k=m.redAdd(B),M=w.redMul(R),P=$.redMul(k),U=w.redMul(k),V=R.redMul($);return this.curve.point(M,P,V,U)},C.prototype._projAdd=function(F){var P,U,B=this.z.redMul(F.z),m=B.redSqr(),T=this.x.redMul(F.x),A=this.y.redMul(F.y),w=this.curve.d.redMul(T).redMul(A),R=m.redSub(w),$=m.redAdd(w),k=this.x.redAdd(this.y).redMul(F.x.redAdd(F.y)).redISub(T).redISub(A),M=B.redMul(R).redMul(k);return this.curve.twisted?(P=B.redMul($).redMul(A.redSub(this.curve._mulA(T))),U=R.redMul($)):(P=B.redMul($).redMul(A.redSub(T)),U=this.curve._mulC(R).redMul($)),this.curve.point(M,P,U)},C.prototype.add=function(F){return this.isInfinity()?F:F.isInfinity()?this:this.curve.extended?this._extAdd(F):this._projAdd(F)},C.prototype.mul=function(F){return this._hasDoubles(F)?this.curve._fixedNafMul(this,F):this.curve._wnafMul(this,F)},C.prototype.mulAdd=function(F,B,m){return this.curve._wnafMulAdd(1,[this,B],[F,m],2,!1)},C.prototype.jmulAdd=function(F,B,m){return this.curve._wnafMulAdd(1,[this,B],[F,m],2,!0)},C.prototype.normalize=function(){if(this.zOne)return this;var F=this.z.redInvm();return this.x=this.x.redMul(F),this.y=this.y.redMul(F),this.t&&(this.t=this.t.redMul(F)),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(F){return this===F||0===this.getX().cmp(F.getX())&&0===this.getY().cmp(F.getY())},C.prototype.eqXToP=function(F){var B=F.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(B))return!0;for(var m=F.clone(),T=this.curve.redN.redMul(this.z);;){if(m.iadd(this.curve.n),m.cmp(this.curve.p)>=0)return!1;if(B.redIAdd(T),0===this.x.cmp(B))return!0}},C.prototype.toP=C.prototype.normalize,C.prototype.mixedAdd=C.prototype.add},8729:(Ce,ee,E)=>{"use strict";var a=ee;a.base=E(8828),a.short=E(8075),a.mont=E(4947),a.edwards=E(5537)},4947:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(1993),p=E(8828),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,_,F){p.BasePoint.call(this,C,"projective"),null===_&&null===F?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a(_,16),this.z=new a(F,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}S(c,p),Ce.exports=c,c.prototype.validate=function(_){var F=_.normalize().x,B=F.redSqr(),m=B.redMul(F).redAdd(B.redMul(this.a)).redAdd(F);return 0===m.redSqrt().redSqr().cmp(m)},S(D,p.BasePoint),c.prototype.decodePoint=function(_,F){return this.point(O.toArray(_,F),1)},c.prototype.point=function(_,F){return new D(this,_,F)},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(_,F){return new D(_,F[0],F[1]||_.one)},D.prototype.inspect=function(){return this.isInfinity()?"":""},D.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},D.prototype.dbl=function(){var F=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),T=F.redSub(m),A=F.redMul(m),w=T.redMul(m.redAdd(this.curve.a24.redMul(T)));return this.curve.point(A,w)},D.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.diffAdd=function(_,F){var B=this.x.redAdd(this.z),m=this.x.redSub(this.z),T=_.x.redAdd(_.z),w=_.x.redSub(_.z).redMul(B),R=T.redMul(m),$=F.z.redMul(w.redAdd(R).redSqr()),k=F.x.redMul(w.redISub(R).redSqr());return this.curve.point($,k)},D.prototype.mul=function(_){for(var F=_.clone(),B=this,m=this.curve.point(null,null),A=[];0!==F.cmpn(0);F.iushrn(1))A.push(F.andln(1));for(var w=A.length-1;w>=0;w--)0===A[w]?(B=B.diffAdd(m,this),m=m.dbl()):(m=B.diffAdd(m,this),B=B.dbl());return m},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:(Ce,ee,E)=>{"use strict";var a=E(3136),S=E(8723),p=E(1993),O=E(8828),c=a.assert;function D(F){O.call(this,"short",F),this.a=new S(F.a,16).toRed(this.red),this.b=new S(F.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(F),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function C(F,B,m,T){O.BasePoint.call(this,F,"affine"),null===B&&null===m?(this.x=null,this.y=null,this.inf=!0):(this.x=new S(B,16),this.y=new S(m,16),T&&(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 _(F,B,m,T){O.BasePoint.call(this,F,"jacobian"),null===B&&null===m&&null===T?(this.x=this.curve.one,this.y=this.curve.one,this.z=new S(0)):(this.x=new S(B,16),this.y=new S(m,16),this.z=new S(T,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),Ce.exports=D,D.prototype._getEndomorphism=function(B){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var m,T;if(B.beta)m=new S(B.beta,16).toRed(this.red);else{var A=this._getEndoRoots(this.p);m=(m=A[0].cmp(A[1])<0?A[0]:A[1]).toRed(this.red)}if(B.lambda)T=new S(B.lambda,16);else{var w=this._getEndoRoots(this.n);0===this.g.mul(w[0]).x.cmp(this.g.x.redMul(m))?T=w[0]:c(0===this.g.mul(T=w[1]).x.cmp(this.g.x.redMul(m)))}return{beta:m,lambda:T,basis:B.basis?B.basis.map(function($){return{a:new S($.a,16),b:new S($.b,16)}}):this._getEndoBasis(T)}}},D.prototype._getEndoRoots=function(B){var m=B===this.p?this.red:S.mont(B),T=new S(2).toRed(m).redInvm(),A=T.redNeg(),w=new S(3).toRed(m).redNeg().redSqrt().redMul(T);return[A.redAdd(w).fromRed(),A.redSub(w).fromRed()]},D.prototype._getEndoBasis=function(B){for(var M,P,U,V,W,oe,me,se,g,m=this.n.ushrn(Math.floor(this.n.bitLength()/2)),T=B,A=this.n.clone(),w=new S(1),R=new S(0),$=new S(0),k=new S(1),te=0;0!==T.cmpn(0);){var n=A.div(T);se=A.sub(n.mul(T)),g=$.sub(n.mul(w));var o=k.sub(n.mul(R));if(!U&&se.cmp(m)<0)M=me.neg(),P=w,U=se.neg(),V=g;else if(U&&2==++te)break;me=se,A=T,T=se,$=w,w=g,k=R,R=o}W=se.neg(),oe=g;var l=U.sqr().add(V.sqr());return W.sqr().add(oe.sqr()).cmp(l)>=0&&(W=M,oe=P),U.negative&&(U=U.neg(),V=V.neg()),W.negative&&(W=W.neg(),oe=oe.neg()),[{a:U,b:V},{a:W,b:oe}]},D.prototype._endoSplit=function(B){var m=this.endo.basis,T=m[0],A=m[1],w=A.b.mul(B).divRound(this.n),R=T.b.neg().mul(B).divRound(this.n),$=w.mul(T.a),k=R.mul(A.a),M=w.mul(T.b),P=R.mul(A.b);return{k1:B.sub($).sub(k),k2:M.add(P).neg()}},D.prototype.pointFromX=function(B,m){(B=new S(B,16)).red||(B=B.toRed(this.red));var T=B.redSqr().redMul(B).redIAdd(B.redMul(this.a)).redIAdd(this.b),A=T.redSqrt();if(0!==A.redSqr().redSub(T).cmp(this.zero))throw new Error("invalid point");var w=A.fromRed().isOdd();return(m&&!w||!m&&w)&&(A=A.redNeg()),this.point(B,A)},D.prototype.validate=function(B){if(B.inf)return!0;var m=B.x,T=B.y,A=this.a.redMul(m),w=m.redSqr().redMul(m).redIAdd(A).redIAdd(this.b);return 0===T.redSqr().redISub(w).cmpn(0)},D.prototype._endoWnafMulAdd=function(B,m,T){for(var A=this._endoWnafT1,w=this._endoWnafT2,R=0;R":""},C.prototype.isInfinity=function(){return this.inf},C.prototype.add=function(B){if(this.inf)return B;if(B.inf)return this;if(this.eq(B))return this.dbl();if(this.neg().eq(B))return this.curve.point(null,null);if(0===this.x.cmp(B.x))return this.curve.point(null,null);var m=this.y.redSub(B.y);0!==m.cmpn(0)&&(m=m.redMul(this.x.redSub(B.x).redInvm()));var T=m.redSqr().redISub(this.x).redISub(B.x),A=m.redMul(this.x.redSub(T)).redISub(this.y);return this.curve.point(T,A)},C.prototype.dbl=function(){if(this.inf)return this;var B=this.y.redAdd(this.y);if(0===B.cmpn(0))return this.curve.point(null,null);var m=this.curve.a,T=this.x.redSqr(),A=B.redInvm(),w=T.redAdd(T).redIAdd(T).redIAdd(m).redMul(A),R=w.redSqr().redISub(this.x.redAdd(this.x)),$=w.redMul(this.x.redSub(R)).redISub(this.y);return this.curve.point(R,$)},C.prototype.getX=function(){return this.x.fromRed()},C.prototype.getY=function(){return this.y.fromRed()},C.prototype.mul=function(B){return B=new S(B,16),this.isInfinity()?this:this._hasDoubles(B)?this.curve._fixedNafMul(this,B):this.curve.endo?this.curve._endoWnafMulAdd([this],[B]):this.curve._wnafMul(this,B)},C.prototype.mulAdd=function(B,m,T){var A=[this,m],w=[B,T];return this.curve.endo?this.curve._endoWnafMulAdd(A,w):this.curve._wnafMulAdd(1,A,w,2)},C.prototype.jmulAdd=function(B,m,T){var A=[this,m],w=[B,T];return this.curve.endo?this.curve._endoWnafMulAdd(A,w,!0):this.curve._wnafMulAdd(1,A,w,2,!0)},C.prototype.eq=function(B){return this===B||this.inf===B.inf&&(this.inf||0===this.x.cmp(B.x)&&0===this.y.cmp(B.y))},C.prototype.neg=function(B){if(this.inf)return this;var m=this.curve.point(this.x,this.y.redNeg());if(B&&this.precomputed){var T=this.precomputed,A=function(w){return w.neg()};m.precomputed={naf:T.naf&&{wnd:T.naf.wnd,points:T.naf.points.map(A)},doubles:T.doubles&&{step:T.doubles.step,points:T.doubles.points.map(A)}}}return m},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(B,m,T){return new _(this,B,m,T)},_.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var B=this.z.redInvm(),m=B.redSqr(),T=this.x.redMul(m),A=this.y.redMul(m).redMul(B);return this.curve.point(T,A)},_.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},_.prototype.add=function(B){if(this.isInfinity())return B;if(B.isInfinity())return this;var m=B.z.redSqr(),T=this.z.redSqr(),A=this.x.redMul(m),w=B.x.redMul(T),R=this.y.redMul(m.redMul(B.z)),$=B.y.redMul(T.redMul(this.z)),k=A.redSub(w),M=R.redSub($);if(0===k.cmpn(0))return 0!==M.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var P=k.redSqr(),U=P.redMul(k),V=A.redMul(P),W=M.redSqr().redIAdd(U).redISub(V).redISub(V),oe=M.redMul(V.redISub(W)).redISub(R.redMul(U)),me=this.z.redMul(B.z).redMul(k);return this.curve.jpoint(W,oe,me)},_.prototype.mixedAdd=function(B){if(this.isInfinity())return B.toJ();if(B.isInfinity())return this;var m=this.z.redSqr(),T=this.x,A=B.x.redMul(m),w=this.y,R=B.y.redMul(m).redMul(this.z),$=T.redSub(A),k=w.redSub(R);if(0===$.cmpn(0))return 0!==k.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var M=$.redSqr(),P=M.redMul($),U=T.redMul(M),V=k.redSqr().redIAdd(P).redISub(U).redISub(U),W=k.redMul(U.redISub(V)).redISub(w.redMul(P)),oe=this.z.redMul($);return this.curve.jpoint(V,W,oe)},_.prototype.dblp=function(B){if(0===B)return this;if(this.isInfinity())return this;if(!B)return this.dbl();var m;if(this.curve.zeroA||this.curve.threeA){var T=this;for(m=0;m=0)return!1;if(T.redIAdd(w),0===this.x.cmp(T))return!0}},_.prototype.inspect=function(){return this.isInfinity()?"":""},_.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(Ce,ee,E)=>{"use strict";var _,a=ee,S=E(2529),p=E(8729),c=E(3136).assert;function D(F){this.curve="short"===F.type?new p.short(F):"edwards"===F.type?new p.edwards(F):new p.mont(F),this.g=this.curve.g,this.n=this.curve.n,this.hash=F.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function C(F,B){Object.defineProperty(a,F,{configurable:!0,enumerable:!0,get:function(){var m=new D(B);return Object.defineProperty(a,F,{configurable:!0,enumerable:!0,value:m}),m}})}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:(Ce,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 F(B){if(!(this instanceof F))return new F(B);"string"==typeof B&&(D(Object.prototype.hasOwnProperty.call(O,B),"Unknown curve "+B),B=O[B]),B instanceof O.PresetCurve&&(B={curve:B}),this.curve=B.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=B.curve.g,this.g.precompute(B.curve.n.bitLength()+1),this.hash=B.hash||B.curve.hash}Ce.exports=F,F.prototype.keyPair=function(m){return new C(this,m)},F.prototype.keyFromPrivate=function(m,T){return C.fromPrivate(this,m,T)},F.prototype.keyFromPublic=function(m,T){return C.fromPublic(this,m,T)},F.prototype.genKeyPair=function(m){m||(m={});for(var T=new S({hash:this.hash,pers:m.pers,persEnc:m.persEnc||"utf8",entropy:m.entropy||c(this.hash.hmacStrength),entropyEnc:m.entropy&&m.entropyEnc||"utf8",nonce:this.n.toArray()}),A=this.n.byteLength(),w=this.n.sub(new a(2));;){var R=new a(T.generate(A));if(!(R.cmp(w)>0))return R.iaddn(1),this.keyFromPrivate(R)}},F.prototype._truncateToN=function(m,T){var A=8*m.byteLength()-this.n.bitLength();return A>0&&(m=m.ushrn(A)),!T&&m.cmp(this.n)>=0?m.sub(this.n):m},F.prototype.sign=function(m,T,A,w){"object"==typeof A&&(w=A,A=null),w||(w={}),T=this.keyFromPrivate(T,A),m=this._truncateToN(new a(m,16));for(var R=this.n.byteLength(),$=T.getPrivate().toArray("be",R),k=m.toArray("be",R),M=new S({hash:this.hash,entropy:$,nonce:k,pers:w.pers,persEnc:w.persEnc||"utf8"}),P=this.n.sub(new a(1)),U=0;;U++){var V=w.k?w.k(U):new a(M.generate(this.n.byteLength()));if(!((V=this._truncateToN(V,!0)).cmpn(1)<=0||V.cmp(P)>=0)){var W=this.g.mul(V);if(!W.isInfinity()){var oe=W.getX(),me=oe.umod(this.n);if(0!==me.cmpn(0)){var te=V.invm(this.n).mul(me.mul(T.getPrivate()).iadd(m));if(0!==(te=te.umod(this.n)).cmpn(0)){var se=(W.getY().isOdd()?1:0)|(0!==oe.cmp(me)?2:0);return w.canonical&&te.cmp(this.nh)>0&&(te=this.n.sub(te),se^=1),new _({r:me,s:te,recoveryParam:se})}}}}}},F.prototype.verify=function(m,T,A,w){m=this._truncateToN(new a(m,16)),A=this.keyFromPublic(A,w);var R=(T=new _(T,"hex")).r,$=T.s;if(R.cmpn(1)<0||R.cmp(this.n)>=0||$.cmpn(1)<0||$.cmp(this.n)>=0)return!1;var U,k=$.invm(this.n),M=k.mul(m).umod(this.n),P=k.mul(R).umod(this.n);return this.curve._maxwellTrick?!(U=this.g.jmulAdd(M,A.getPublic(),P)).isInfinity()&&U.eqXToP(R):!(U=this.g.mulAdd(M,A.getPublic(),P)).isInfinity()&&0===U.getX().umod(this.n).cmp(R)},F.prototype.recoverPubKey=function(B,m,T,A){D((3&T)===T,"The recovery param is more than two bits"),m=new _(m,A);var w=this.n,R=new a(B),$=m.r,k=m.s,M=1&T,P=T>>1;if($.cmp(this.curve.p.umod(this.curve.n))>=0&&P)throw new Error("Unable to find sencond key candinate");$=this.curve.pointFromX(P?$.add(this.curve.n):$,M);var U=m.r.invm(w),V=w.sub(R).mul(U).umod(w),W=k.mul(U).umod(w);return this.g.mulAdd(V,$,W)},F.prototype.getKeyRecoveryParam=function(B,m,T,A){if(null!==(m=new _(m,A)).recoveryParam)return m.recoveryParam;for(var w=0;w<4;w++){var R;try{R=this.recoverPubKey(B,m,w)}catch{continue}if(R.eq(T))return w}throw new Error("Unable to find valid recovery factor")}},541:(Ce,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)}Ce.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:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert;function O(F,B){if(F instanceof O)return F;this._importDER(F,B)||(p(F.r&&F.s,"Signature without r or s"),this.r=new a(F.r,16),this.s=new a(F.s,16),this.recoveryParam=void 0===F.recoveryParam?null:F.recoveryParam)}function c(){this.place=0}function D(F,B){var m=F[B.place++];if(!(128&m))return m;var T=15&m;if(0===T||T>4)return!1;for(var A=0,w=0,R=B.place;w>>=0;return!(A<=127)&&(B.place=R,A)}function C(F){for(var B=0,m=F.length-1;!F[B]&&!(128&F[B+1])&&B>>3);for(F.push(128|m);--m;)F.push(B>>>(m<<3)&255);F.push(B)}}Ce.exports=O,O.prototype._importDER=function(B,m){B=S.toArray(B,m);var T=new c;if(48!==B[T.place++])return!1;var A=D(B,T);if(!1===A||A+T.place!==B.length||2!==B[T.place++])return!1;var w=D(B,T);if(!1===w)return!1;var R=B.slice(T.place,w+T.place);if(T.place+=w,2!==B[T.place++])return!1;var $=D(B,T);if(!1===$||B.length!==$+T.place)return!1;var k=B.slice(T.place,$+T.place);if(0===R[0]){if(!(128&R[1]))return!1;R=R.slice(1)}if(0===k[0]){if(!(128&k[1]))return!1;k=k.slice(1)}return this.r=new a(R),this.s=new a(k),this.recoveryParam=null,!0},O.prototype.toDER=function(B){var m=this.r.toArray(),T=this.s.toArray();for(128&m[0]&&(m=[0].concat(m)),128&T[0]&&(T=[0].concat(T)),m=C(m),T=C(T);!(T[0]||128&T[1]);)T=T.slice(1);var A=[2];_(A,m.length),(A=A.concat(m)).push(2),_(A,T.length);var w=A.concat(T),R=[48];return _(R,w.length),R=R.concat(w),S.encode(R,B)}},3045:(Ce,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 _(F){if(O("ed25519"===F,"only tested with ed25519 so far"),!(this instanceof _))return new _(F);this.curve=F=S[F].curve,this.g=F.g,this.g.precompute(F.n.bitLength()+1),this.pointClass=F.point().constructor,this.encodingLength=Math.ceil(F.n.bitLength()/8),this.hash=a.sha512}Ce.exports=_,_.prototype.sign=function(B,m){B=c(B);var T=this.keyFromSecret(m),A=this.hashInt(T.messagePrefix(),B),w=this.g.mul(A),R=this.encodePoint(w),$=this.hashInt(R,T.pubBytes(),B).mul(T.priv()),k=A.add($).umod(this.curve.n);return this.makeSignature({R:w,S:k,Rencoded:R})},_.prototype.verify=function(B,m,T){B=c(B),m=this.makeSignature(m);var A=this.keyFromPublic(T),w=this.hashInt(m.Rencoded(),A.pubBytes(),B),R=this.g.mul(m.S());return m.R().add(A.pub().mul(w)).eq(R)},_.prototype.hashInt=function(){for(var B=this.hash(),m=0;m{"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(),F=C.encodingLength-1,B=_.slice(0,C.encodingLength);return B[0]&=248,B[F]&=127,B[F]|=64,B}),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)},Ce.exports=c},5451:(Ce,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()},Ce.exports=D},1416:Ce=>{Ce.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},3136:(Ce,ee,E)=>{"use strict";var a=ee,S=E(8723),p=E(9210),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(B,m,T){var w,A=new Array(Math.max(B.bitLength(),T)+1);for(w=0;w(R>>1)-1?(R>>1)-M:M):k=0,A[w]=k,$.iushrn(1)}return A},a.getJSF=function D(B,m){var T=[[],[]];B=B.clone(),m=m.clone();for(var R,A=0,w=0;B.cmpn(-A)>0||m.cmpn(-w)>0;){var M,P,$=B.andln(3)+A&3,k=m.andln(3)+w&3;3===$&&($=-1),3===k&&(k=-1),M=1&$?3!=(R=B.andln(7)+A&7)&&5!==R||2!==k?$:-$:0,T[0].push(M),P=1&k?3!=(R=m.andln(7)+w&7)&&5!==R||2!==$?k:-k:0,T[1].push(P),2*A===M+1&&(A=1-A),2*w===P+1&&(w=1-w),B.iushrn(1),m.iushrn(1)}return T},a.cachedProperty=function C(B,m,T){var A="_"+m;B.prototype[m]=function(){return void 0!==this[A]?this[A]:this[A]=T.call(this)}},a.parseBytes=function _(B){return"string"==typeof B?a.toArray(B,"hex"):B},a.intFromLE=function F(B){return new S(B,"hex","le")}},8723:function(Ce,ee,E){!function(a,S){"use strict";function p(g,n){if(!g)throw new Error(n||"Assertion failed")}function O(g,n){g.super_=n;var o=function(){};o.prototype=n.prototype,g.prototype=new o,g.prototype.constructor=g}function c(g,n,o){if(c.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,null!==g&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(g||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(g,n){var o=g.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,xe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},4356:Ce=>{"use strict";var a,ee="object"==typeof Reflect?Reflect:null,E=ee&&"function"==typeof ee.apply?ee.apply:function(U,V,W){return Function.prototype.apply.call(U,V,W)};a=ee&&"function"==typeof ee.ownKeys?ee.ownKeys:Object.getOwnPropertySymbols?function(U){return Object.getOwnPropertyNames(U).concat(Object.getOwnPropertySymbols(U))}:function(U){return Object.getOwnPropertyNames(U)};var p=Number.isNaN||function(U){return U!=U};function O(){O.init.call(this)}Ce.exports=O,Ce.exports.once=function $(P,U){return new Promise(function(V,W){function oe(te){P.removeListener(U,me),W(te)}function me(){"function"==typeof P.removeListener&&P.removeListener("error",oe),V([].slice.call(arguments))}M(P,U,me,{once:!0}),"error"!==U&&function k(P,U,V){"function"==typeof P.on&&M(P,"error",U,V)}(P,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(P){if("function"!=typeof P)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof P)}function C(P){return void 0===P._maxListeners?O.defaultMaxListeners:P._maxListeners}function _(P,U,V,W){var oe,me,te;if(D(V),void 0===(me=P._events)?(me=P._events=Object.create(null),P._eventsCount=0):(void 0!==me.newListener&&(P.emit("newListener",U,V.listener?V.listener:V),me=P._events),te=me[U]),void 0===te)te=me[U]=V,++P._eventsCount;else if("function"==typeof te?te=me[U]=W?[V,te]:[te,V]:W?te.unshift(V):te.push(V),(oe=C(P))>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=P,se.type=U,se.count=te.length,function S(P){console&&console.warn&&console.warn(P)}(se)}return P}function F(){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 B(P,U,V){var W={fired:!1,wrapFn:void 0,target:P,type:U,listener:V},oe=F.bind(W);return oe.listener=V,W.wrapFn=oe,oe}function m(P,U,V){var W=P._events;if(void 0===W)return[];var oe=W[U];return void 0===oe?[]:"function"==typeof oe?V?[oe.listener||oe]:[oe]:V?function R(P){for(var U=new Array(P.length),V=0;V0&&(te=V[0]),te instanceof Error)throw te;var se=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw se.context=te,se}var g=me[U];if(void 0===g)return!1;if("function"==typeof g)E(g,this,V);else{var n=g.length,o=A(g,n);for(W=0;W=0;te--)if(W[te]===V||W[te].listener===V){se=W[te].listener,me=te;break}if(me<0)return this;0===me?W.shift():function w(P,U){for(;U+1=0;oe--)this.removeListener(U,V[oe]);return this},O.prototype.listeners=function(U){return m(this,U,!0)},O.prototype.rawListeners=function(U){return m(this,U,!1)},O.listenerCount=function(P,U){return"function"==typeof P.listenerCount?P.listenerCount(U):T.call(P,U)},O.prototype.listenerCount=T,O.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},8211:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(4725);Ce.exports=function p(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,F=a.alloc(_),B=a.alloc(C||0),m=a.alloc(0);_>0||C>0;){var T=new S;T.update(m),T.update(O),c&&T.update(c),m=T.digest();var A=0;if(_>0){var w=F.length-_;A=Math.min(_,m.length),m.copy(F,w,0,A),_-=A}if(A0){var R=B.length-C,$=Math.min(C,m.length-A);m.copy(B,R,A,A+$),C-=$}}return m.fill(0),{key:F,iv:B}}},3686:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7045).Transform;function c(D){S.call(this),this._block=a.allocUnsafe(D),this._blockSize=D,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}E(1993)(c,S),c.prototype._transform=function(D,C,_){var F=null;try{this.update(D,C)}catch(B){F=B}_(F)},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,F=0;this._blockOffset+D.length-F>=this._blockSize;){for(var B=this._blockOffset;B0;++m)this._length[m]+=T,(T=this._length[m]/4294967296|0)>0&&(this._length[m]-=4294967296*T);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")},Ce.exports=c},2529:(Ce,ee,E)=>{var a=ee;a.utils=E(8283),a.common=E(2901),a.sha=E(8528),a.ripemd=E(5283),a.hmac=E(7163),a.sha1=a.sha.sha1,a.sha256=a.sha.sha256,a.sha224=a.sha.sha224,a.sha384=a.sha.sha384,a.sha512=a.sha.sha512,a.ripemd160=a.ripemd.ripemd160},2901:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(9210);function p(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}ee.BlockHash=p,p.prototype.update=function(c,D){if(c=a.toArray(c,D),this.pending=this.pending?this.pending.concat(c):c,this.pendingTotal+=c.length,this.pending.length>=this._delta8){var C=(c=this.pending).length%this._delta8;this.pending=c.slice(c.length-C,c.length),0===this.pending.length&&(this.pending=null),c=a.join32(c,0,c.length-C,this.endian);for(var _=0;_>>24&255,_[F++]=c>>>16&255,_[F++]=c>>>8&255,_[F++]=255&c}else for(_[F++]=255&c,_[F++]=c>>>8&255,_[F++]=c>>>16&255,_[F++]=c>>>24&255,_[F++]=0,_[F++]=0,_[F++]=0,_[F++]=0,B=8;B{"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))}Ce.exports=p,p.prototype._init=function(c){c.length>this.blockSize&&(c=(new this.Hash).update(c).digest()),S(c.length<=this.blockSize);for(var D=c.length;D{"use strict";var a=E(8283),S=E(2901),p=a.rotl32,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 F($,k,M,P){return $<=15?k^M^P:$<=31?k&M|~k&P:$<=47?(k|~M)^P:$<=63?k&P|M&~P:k^(M|~P)}function m($){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 P=this.h[0],U=this.h[1],V=this.h[2],W=this.h[3],oe=this.h[4],me=P,te=U,se=V,g=W,n=oe,o=0;o<80;o++){var l=O(p(D(P,F(o,U,V,W),k[T[o]+M],($=o)<=15?0:$<=31?1518500249:$<=47?1859775393:$<=63?2400959708:2840853838),w[o]),oe);P=oe,oe=W,W=p(V,10),V=U,U=l,l=O(p(D(me,F(79-o,te,se,g),k[A[o]+M],m(o)),R[o]),n),me=n,n=g,g=p(se,10),se=te,te=l}var $;l=c(this.h[1],V,g),this.h[1]=c(this.h[2],W,n),this.h[2]=c(this.h[3],oe,me),this.h[3]=c(this.h[4],P,te),this.h[4]=c(this.h[0],U,se),this.h[0]=l},_.prototype._digest=function(k){return"hex"===k?a.toHex32(this.h,"little"):a.split32(this.h,"little")};var T=[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],w=[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],R=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},8528:(Ce,ee,E)=>{"use strict";ee.sha1=E(3468),ee.sha224=E(5563),ee.sha256=E(7138),ee.sha384=E(3898),ee.sha512=E(827)},3468:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),O=a.rotl32,c=a.sum32,D=a.sum32_5,C=p.ft_1,_=S.BlockHash,F=[1518500249,1859775393,2400959708,3395469782];function B(){if(!(this instanceof B))return new B;_.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}a.inherits(B,_),Ce.exports=B,B.blockSize=512,B.outSize=160,B.hmacStrength=80,B.padLength=64,B.prototype._update=function(T,A){for(var w=this.W,R=0;R<16;R++)w[R]=T[A+R];for(;R{"use strict";var a=E(8283),S=E(7138);function p(){if(!(this instanceof p))return new p;S.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}a.inherits(p,S),Ce.exports=p,p.blockSize=512,p.outSize=224,p.hmacStrength=192,p.padLength=64,p.prototype._digest=function(c){return"hex"===c?a.toHex32(this.h.slice(0,7),"big"):a.split32(this.h.slice(0,7),"big")}},7138:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),O=E(9210),c=a.sum32,D=a.sum32_4,C=a.sum32_5,_=p.ch32,F=p.maj32,B=p.s0_256,m=p.s1_256,T=p.g0_256,A=p.g1_256,w=S.BlockHash,R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function $(){if(!(this instanceof $))return new $;w.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=R,this.W=new Array(64)}a.inherits($,w),Ce.exports=$,$.blockSize=512,$.outSize=256,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(M,P){for(var U=this.W,V=0;V<16;V++)U[V]=M[P+V];for(;V{"use strict";var a=E(8283),S=E(827);function p(){if(!(this instanceof p))return new p;S.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}a.inherits(p,S),Ce.exports=p,p.blockSize=1024,p.outSize=384,p.hmacStrength=192,p.padLength=128,p.prototype._digest=function(c){return"hex"===c?a.toHex32(this.h.slice(0,12),"big"):a.split32(this.h.slice(0,12),"big")}},827:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(9210),O=a.rotr64_hi,c=a.rotr64_lo,D=a.shr64_hi,C=a.shr64_lo,_=a.sum64,F=a.sum64_hi,B=a.sum64_lo,m=a.sum64_4_hi,T=a.sum64_4_lo,A=a.sum64_5_hi,w=a.sum64_5_lo,R=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;R.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(l,s,h,v,y){var d=l&h^~l&y;return d<0&&(d+=4294967296),d}function P(l,s,h,v,y,d){var r=s&v^~s&d;return r<0&&(r+=4294967296),r}function U(l,s,h,v,y){var d=l&h^l&y^h&y;return d<0&&(d+=4294967296),d}function V(l,s,h,v,y,d){var r=s&v^s&d^v&d;return r<0&&(r+=4294967296),r}function W(l,s){var d=O(l,s,28)^O(s,l,2)^O(s,l,7);return d<0&&(d+=4294967296),d}function oe(l,s){var d=c(l,s,28)^c(s,l,2)^c(s,l,7);return d<0&&(d+=4294967296),d}function me(l,s){var d=O(l,s,14)^O(l,s,18)^O(s,l,9);return d<0&&(d+=4294967296),d}function te(l,s){var d=c(l,s,14)^c(l,s,18)^c(s,l,9);return d<0&&(d+=4294967296),d}function se(l,s){var d=O(l,s,1)^O(l,s,8)^D(l,s,7);return d<0&&(d+=4294967296),d}function g(l,s){var d=c(l,s,1)^c(l,s,8)^C(l,s,7);return d<0&&(d+=4294967296),d}function n(l,s){var d=O(l,s,19)^O(s,l,29)^D(l,s,6);return d<0&&(d+=4294967296),d}function o(l,s){var d=c(l,s,19)^c(s,l,29)^C(l,s,6);return d<0&&(d+=4294967296),d}a.inherits(k,R),Ce.exports=k,k.blockSize=1024,k.outSize=512,k.hmacStrength=192,k.padLength=128,k.prototype._prepareBlock=function(s,h){for(var v=this.W,y=0;y<32;y++)v[y]=s[h+y];for(;y{"use strict";var S=E(8283).rotr32;function O(m,T,A){return m&T^~m&A}function c(m,T,A){return m&T^m&A^T&A}function D(m,T,A){return m^T^A}ee.ft_1=function p(m,T,A,w){return 0===m?O(T,A,w):1===m||3===m?D(T,A,w):2===m?c(T,A,w):void 0},ee.ch32=O,ee.maj32=c,ee.p32=D,ee.s0_256=function C(m){return S(m,2)^S(m,13)^S(m,22)},ee.s1_256=function _(m){return S(m,6)^S(m,11)^S(m,25)},ee.g0_256=function F(m){return S(m,7)^S(m,18)^m>>>3},ee.g1_256=function B(m){return S(m,17)^S(m,19)^m>>>10}},8283:(Ce,ee,E)=>{"use strict";var a=E(9210),S=E(1993);function p(o,l){return!(55296!=(64512&o.charCodeAt(l))||l<0||l+1>=o.length)&&56320==(64512&o.charCodeAt(l+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 F(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,l){if(Array.isArray(o))return o.slice();if(!o)return[];var s=[];if("string"==typeof o)if(l){if("hex"===l)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 m(o,l){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 T(o,l){return o>>>l|o<<32-l},ee.rotl32=function A(o,l){return o<>>32-l},ee.sum32=function w(o,l){return o+l>>>0},ee.sum32_3=function R(o,l,s){return o+l+s>>>0},ee.sum32_4=function $(o,l,s,h){return o+l+s+h>>>0},ee.sum32_5=function k(o,l,s,h,v){return o+l+s+h+v>>>0},ee.sum64=function M(o,l,s,h){var d=h+o[l+1]>>>0;o[l]=(d>>0,o[l+1]=d},ee.sum64_hi=function P(o,l,s,h){return(l+h>>>0>>0},ee.sum64_lo=function U(o,l,s,h){return l+h>>>0},ee.sum64_4_hi=function V(o,l,s,h,v,y,d,r){var f=0,L=l;return f+=(L=L+h>>>0)>>0)>>0)>>0},ee.sum64_4_lo=function W(o,l,s,h,v,y,d,r){return l+h+y+r>>>0},ee.sum64_5_hi=function oe(o,l,s,h,v,y,d,r,f,L){var I=0,j=l;return I+=(j=j+h>>>0)>>0)>>0)>>0)>>0},ee.sum64_5_lo=function me(o,l,s,h,v,y,d,r,f,L){return l+h+y+r+L>>>0},ee.rotr64_hi=function te(o,l,s){return(l<<32-s|o>>>s)>>>0},ee.rotr64_lo=function se(o,l,s){return(o<<32-s|l>>>s)>>>0},ee.shr64_hi=function g(o,l,s){return o>>>s},ee.shr64_lo=function n(o,l,s){return(o<<32-s|l>>>s)>>>0}},3556:(Ce,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,_)}Ce.exports=O,O.prototype._init=function(D,C,_){var F=D.concat(C).concat(_);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var B=0;B=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(D.concat(_||[])),this._reseed=1},O.prototype.generate=function(D,C,_,F){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof C&&(F=_,_=C,C=null),_&&(_=S.toArray(_,F||"hex"),this._update(_));for(var B=[];B.length{ee.read=function(E,a,S,p,O){var c,D,C=8*O-p-1,_=(1<>1,B=-7,m=S?O-1:0,T=S?-1:1,A=E[a+m];for(m+=T,c=A&(1<<-B)-1,A>>=-B,B+=C;B>0;c=256*c+E[a+m],m+=T,B-=8);for(D=c&(1<<-B)-1,c>>=-B,B+=p;B>0;D=256*D+E[a+m],m+=T,B-=8);if(0===c)c=1-F;else{if(c===_)return D?NaN:1/0*(A?-1:1);D+=Math.pow(2,p),c-=F}return(A?-1:1)*D*Math.pow(2,c-p)},ee.write=function(E,a,S,p,O,c){var D,C,_,F=8*c-O-1,B=(1<>1,T=23===O?Math.pow(2,-24)-Math.pow(2,-77):0,A=p?0:c-1,w=p?1:-1,R=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=B):(D=Math.floor(Math.log(a)/Math.LN2),a*(_=Math.pow(2,-D))<1&&(D--,_*=2),(a+=D+m>=1?T/_:T*Math.pow(2,1-m))*_>=2&&(D++,_/=2),D+m>=B?(C=0,D=B):D+m>=1?(C=(a*_-1)*Math.pow(2,O),D+=m):(C=a*Math.pow(2,m-1)*Math.pow(2,O),D=0));O>=8;E[S+A]=255&C,A+=w,C/=256,O-=8);for(D=D<0;E[S+A]=255&D,A+=w,D/=256,F-=8);E[S+A-w]|=128*R}},1993:Ce=>{Ce.exports="function"==typeof Object.create?function(E,a){a&&(E.super_=a,E.prototype=Object.create(a.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}))}:function(E,a){if(a){E.super_=a;var S=function(){};S.prototype=a.prototype,E.prototype=new S,E.prototype.constructor=E}}},53:Ce=>{var ee={}.toString;Ce.exports=Array.isArray||function(E){return"[object Array]"==ee.call(E)}},9657:(Ce,ee,E)=>{"use strict";E.d(ee,{b:()=>Qe,c:()=>V,g:()=>U,r:()=>ft});var a=E(467);let p,O,D=!1;const B="slot-fb{display:contents}slot-fb[hidden]{display:none}",m={},A=_e=>"object"==(_e=typeof _e)||"function"===_e;function w(_e){var Ae,Me,Ze;return null!==(Ze=null===(Me=null===(Ae=_e.head)||void 0===Ae?void 0:Ae.querySelector('meta[name="csp-nonce"]'))||void 0===Me?void 0:Me.getAttribute("content"))&&void 0!==Ze?Ze:void 0}const $=(_e,Ae)=>({$flags$:0,$tag$:_e,$text$:Ae,$elm$:null,$children$:null,$attrs$:null}),k={},U=_e=>mt(_e).$hostElement$,V=(_e,Ae,Me)=>{const Ze=U(_e);return{emit:je=>W(Ze,Ae,{bubbles:!!(4&Me),composed:!!(2&Me),cancelable:!!(1&Me),detail:je})}},W=(_e,Ae,Me)=>{const Ze=wt.ce(Ae,Me);return _e.dispatchEvent(Ze),Ze},oe=new WeakMap,g=(_e,Ae)=>"sc-"+_e.$tagName$,n=(_e,Ae,Me,Ze,je,it)=>{if(Me!==Ze){let Pe=At(_e,Ae);Ae.toLowerCase();{const Se=A(Ze);if((Pe||Se&&null!==Ze)&&!je)try{if(_e.tagName.includes("-"))_e[Ae]=Ze;else{const ze=null==Ze?"":Ze;"list"===Ae?Pe=!1:(null==Me||_e[Ae]!=ze)&&(_e[Ae]=ze)}}catch{}null==Ze||!1===Ze?(!1!==Ze||""===_e.getAttribute(Ae))&&_e.removeAttribute(Ae):(!Pe||4&it||je)&&!Se&&_e.setAttribute(Ae,Ze=!0===Ze?"":Ze)}}},o=(_e,Ae,Me,Ze)=>{const je=11===Ae.$elm$.nodeType&&Ae.$elm$.host?Ae.$elm$.host:Ae.$elm$,it=_e&&_e.$attrs$||m,Pe=Ae.$attrs$||m;for(Ze of l(Object.keys(it)))Ze in Pe||n(je,Ze,it[Ze],void 0,Me,Ae.$flags$);for(Ze of l(Object.keys(Pe)))n(je,Ze,it[Ze],Pe[Ze],Me,Ae.$flags$)};function l(_e){return _e.includes("ref")?[..._e.filter(Ae=>"ref"!==Ae),"ref"]:_e}const s=(_e,Ae,Me,Ze)=>{const je=Ae.$children$[Me];let Pe,Se,it=0;if(Pe=je.$elm$=bt.createElement(je.$tag$),o(null,je,!1),(_e=>null!=_e)(p)&&Pe["s-si"]!==p&&Pe.classList.add(Pe["s-si"]=p),je.$children$)for(it=0;it{let Se,Pe=_e;for(Pe.shadowRoot&&Pe.tagName===O&&(Pe=Pe.shadowRoot);je<=it;++je)Ze[je]&&(Se=s(null,Me,je),Se&&(Ze[je].$elm$=Se,Pe.insertBefore(Se,Ae)))},v=(_e,Ae,Me)=>{for(let Ze=Ae;Ze<=Me;++Ze){const je=_e[Ze];if(je){const it=je.$elm$;it&&it.remove()}}},d=(_e,Ae,Me=!1)=>_e.$tag$===Ae.$tag$,r=(_e,Ae,Me=!1)=>{const Ze=Ae.$elm$=_e.$elm$,je=_e.$children$,it=Ae.$children$;o(_e,Ae,!1),null!==je&&null!==it?((_e,Ae,Me,Ze,je=!1)=>{let yt,it=0,Pe=0,Se=Ae.length-1,ze=Ae[0],Et=Ae[Se],Je=Ze.length-1,st=Ze[0],en=Ze[Je];for(;it<=Se&&Pe<=Je;)null==ze?ze=Ae[++it]:null==Et?Et=Ae[--Se]:null==st?st=Ze[++Pe]:null==en?en=Ze[--Je]:d(ze,st,je)?(r(ze,st,je),ze=Ae[++it],st=Ze[++Pe]):d(Et,en,je)?(r(Et,en,je),Et=Ae[--Se],en=Ze[--Je]):d(ze,en,je)?(r(ze,en,je),_e.insertBefore(ze.$elm$,Et.$elm$.nextSibling),ze=Ae[++it],en=Ze[--Je]):d(Et,st,je)?(r(Et,st,je),_e.insertBefore(Et.$elm$,ze.$elm$),Et=Ae[--Se],st=Ze[++Pe]):(yt=s(Ae&&Ae[Pe],Me,Pe),st=Ze[++Pe],yt&&ze.$elm$.parentNode.insertBefore(yt,ze.$elm$));it>Se?h(_e,null==Ze[Je+1]?null:Ze[Je+1].$elm$,Me,Ze,Pe,Je):Pe>Je&&v(Ae,it,Se)})(Ze,je,Ae,it,Me):null!==it?h(Ze,null,Ae,it,0,it.length-1):null!==je&&v(je,0,je.length-1)},L=(_e,Ae)=>{Ae&&!_e.$onRenderResolve$&&Ae["s-p"]&&Ae["s-p"].push(new Promise(Me=>_e.$onRenderResolve$=Me))},I=(_e,Ae)=>{if(_e.$flags$|=16,!(4&_e.$flags$))return L(_e,_e.$ancestorComponent$),He(()=>j(_e,Ae));_e.$flags$|=512},j=(_e,Ae)=>{const Ze=_e.$lazyInstance$;let je;return Ae&&(je=tt(Ze,"componentWillLoad")),J(je,()=>xe(_e,Ze,Ae))},J=(_e,Ae)=>ie(_e)?_e.then(Ae):Ae(),ie=_e=>_e instanceof Promise||_e&&_e.then&&"function"==typeof _e.then,xe=function(){var _e=(0,a.A)(function*(Ae,Me,Ze){var je;const it=Ae.$hostElement$,Se=it["s-rc"];Ze&&(_e=>{const Ae=_e.$cmpMeta$,Me=_e.$hostElement$,Ze=Ae.$flags$,it=((_e,Ae,Me)=>{var Ze;const je=g(Ae),it=Ft.get(je);if(_e=11===_e.nodeType?_e:bt,it)if("string"==typeof it){let Se,Pe=oe.get(_e=_e.head||_e);if(Pe||oe.set(_e,Pe=new Set),!Pe.has(je)){{Se=bt.createElement("style"),Se.innerHTML=it;const ze=null!==(Ze=wt.$nonce$)&&void 0!==Ze?Ze:w(bt);null!=ze&&Se.setAttribute("nonce",ze),_e.insertBefore(Se,_e.querySelector("link"))}4&Ae.$flags$&&(Se.innerHTML+=B),Pe&&Pe.add(je)}}else _e.adoptedStyleSheets.includes(it)||(_e.adoptedStyleSheets=[..._e.adoptedStyleSheets,it]);return je})(Me.shadowRoot?Me.shadowRoot:Me.getRootNode(),Ae);10&Ze&&(Me["s-sc"]=it,Me.classList.add(it+"-h"))})(Ae);De(Ae,Me,it,Ze),Se&&(Se.map(Et=>Et()),it["s-rc"]=void 0);{const Et=null!==(je=it["s-p"])&&void 0!==je?je:[],Je=()=>Q(Ae);0===Et.length?Je():(Promise.all(Et).then(Je),Ae.$flags$|=4,Et.length=0)}});return function(Me,Ze,je){return _e.apply(this,arguments)}}(),De=(_e,Ae,Me,Ze)=>{try{Ae=Ae.render(),_e.$flags$&=-17,_e.$flags$|=2,((_e,Ae,Me=!1)=>{const Ze=_e.$hostElement$,je=_e.$cmpMeta$,it=_e.$vnode$||$(null,null),Pe=(_e=>_e&&_e.$tag$===k)(Ae)?Ae:((_e,Ae,...Me)=>{let Ze=null,je=!1,it=!1;const Pe=[],Se=Et=>{for(let Je=0;Je0&&(ze.$children$=Pe),ze})(null,null,Ae);if(O=Ze.tagName,je.$attrsToReflect$&&(Pe.$attrs$=Pe.$attrs$||{},je.$attrsToReflect$.map(([Se,ze])=>Pe.$attrs$[ze]=Ze[Se])),Me&&Pe.$attrs$)for(const Se of Object.keys(Pe.$attrs$))Ze.hasAttribute(Se)&&!["key","ref","style","class"].includes(Se)&&(Pe.$attrs$[Se]=Ze[Se]);Pe.$tag$=null,Pe.$flags$|=4,_e.$vnode$=Pe,Pe.$elm$=it.$elm$=Ze.shadowRoot||Ze,p=Ze["s-sc"],r(it,Pe,Me)})(_e,Ae,Ze)}catch(je){It(je,_e.$hostElement$)}return null},Q=_e=>{const Me=_e.$hostElement$,je=_e.$lazyInstance$,it=_e.$ancestorComponent$;64&_e.$flags$||(_e.$flags$|=64,Oe(Me),tt(je,"componentDidLoad"),_e.$onReadyResolve$(Me),it||ae()),_e.$onInstanceResolve$(Me),_e.$onRenderResolve$&&(_e.$onRenderResolve$(),_e.$onRenderResolve$=void 0),512&_e.$flags$&&Ut(()=>I(_e,!1)),_e.$flags$&=-517},ae=_e=>{Oe(bt.documentElement),Ut(()=>W(bn,"appload",{detail:{namespace:"jeep-sqlite"}}))},tt=(_e,Ae,Me)=>{if(_e&&_e[Ae])try{return _e[Ae](Me)}catch(Ze){It(Ze)}},Oe=_e=>_e.classList.add("hydrated"),Be=(_e,Ae,Me)=>{var Ze;const je=_e.prototype;if(Ae.$members$){_e.watchers&&(Ae.$watchers$=_e.watchers);const it=Object.entries(Ae.$members$);if(it.map(([Pe,[Se]])=>{31&Se||2&Me&&32&Se?Object.defineProperty(je,Pe,{get(){return((_e,Ae)=>mt(this).$instanceValues$.get(Ae))(0,Pe)},set(ze){((_e,Ae,Me,Ze)=>{const je=mt(_e),it=je.$hostElement$,Pe=je.$instanceValues$.get(Ae),Se=je.$flags$,ze=je.$lazyInstance$;Me=((_e,Ae)=>null==_e||A(_e)?_e:4&Ae?"false"!==_e&&(""===_e||!!_e):1&Ae?String(_e):_e)(Me,Ze.$members$[Ae][0]);const Et=Number.isNaN(Pe)&&Number.isNaN(Me);if((!(8&Se)||void 0===Pe)&&Me!==Pe&&!Et&&(je.$instanceValues$.set(Ae,Me),ze)){if(Ze.$watchers$&&128&Se){const st=Ze.$watchers$[Ae];st&&st.map(en=>{try{ze[en](Me,Pe,Ae)}catch(yt){It(yt,it)}})}2==(18&Se)&&I(je,!1)}})(this,Pe,ze,Ae)},configurable:!0,enumerable:!0}):1&Me&&64&Se&&Object.defineProperty(je,Pe,{value(...ze){var Et;const Je=mt(this);return null===(Et=null==Je?void 0:Je.$onInstancePromise$)||void 0===Et?void 0:Et.then(()=>{var st;return null===(st=Je.$lazyInstance$)||void 0===st?void 0:st[Pe](...ze)})}})}),1&Me){const Pe=new Map;je.attributeChangedCallback=function(Se,ze,Et){wt.jmp(()=>{var Je;const st=Pe.get(Se);if(this.hasOwnProperty(st))Et=this[st],delete this[st];else{if(je.hasOwnProperty(st)&&"number"==typeof this[st]&&this[st]==Et)return;if(null==st){const en=mt(this),yt=null==en?void 0:en.$flags$;if(yt&&!(8&yt)&&128&yt&&Et!==ze){const vt=en.$lazyInstance$,Kt=null===(Je=Ae.$watchers$)||void 0===Je?void 0:Je[Se];null==Kt||Kt.forEach(Pt=>{null!=vt[Pt]&&vt[Pt].call(vt,Et,ze,Se)})}return}}this[st]=(null!==Et||"boolean"!=typeof this[st])&&Et})},_e.observedAttributes=Array.from(new Set([...Object.keys(null!==(Ze=Ae.$watchers$)&&void 0!==Ze?Ze:{}),...it.filter(([Se,ze])=>15&ze[0]).map(([Se,ze])=>{var Et;const Je=ze[1]||Se;return Pe.set(Je,Se),512&ze[0]&&(null===(Et=Ae.$attrsToReflect$)||void 0===Et||Et.push([Se,Je])),Je})]))}}return _e},re=function(){var _e=(0,a.A)(function*(Ae,Me,Ze,je){let it;if(!(32&Me.$flags$)){if(Me.$flags$|=32,Ze.$lazyBundleId$){if(it=St(Ze),it.then){const Je=()=>{};it=yield it,Je()}it.isProxied||(Ze.$watchers$=it.watchers,Be(it,Ze,2),it.isProxied=!0);const Et=()=>{};Me.$flags$|=8;try{new it(Me)}catch(Je){It(Je)}Me.$flags$&=-9,Me.$flags$|=128,Et(),ne(Me.$lazyInstance$)}else it=Ae.constructor,customElements.whenDefined(Ze.$tagName$).then(()=>Me.$flags$|=128);if(it.style){let Et=it.style;const Je=g(Ze);if(!Ft.has(Je)){const st=()=>{};((_e,Ae,Me)=>{let Ze=Ft.get(_e);Bt&&Me?(Ze=Ze||new CSSStyleSheet,"string"==typeof Ze?Ze=Ae:Ze.replaceSync(Ae)):Ze=Ae,Ft.set(_e,Ze)})(Je,Et,!!(1&Ze.$flags$)),st()}}}const Pe=Me.$ancestorComponent$,Se=()=>I(Me,!0);Pe&&Pe["s-rc"]?Pe["s-rc"].push(Se):Se()});return function(Me,Ze,je,it){return _e.apply(this,arguments)}}(),ne=_e=>{tt(_e,"connectedCallback")},xt=function(){var _e=(0,a.A)(function*(Ae){if(!(1&wt.$flags$)){const Me=mt(Ae);null!=Me&&Me.$lazyInstance$||null!=Me&&Me.$onReadyPromise$&&Me.$onReadyPromise$.then(()=>{})}});return function(Me){return _e.apply(this,arguments)}}(),Qe=(_e,Ae={})=>{var Me;const je=[],it=Ae.exclude||[],Pe=bn.customElements,Se=bt.head,ze=Se.querySelector("meta[charset]"),Et=bt.createElement("style"),Je=[];let st,en=!0;Object.assign(wt,Ae),wt.$resourcesUrl$=new URL(Ae.resourcesUrl||"./",bt.baseURI).href;let yt=!1;if(_e.map(vt=>{vt[1].map(Kt=>{var Pt;const Rt={$flags$:Kt[0],$tagName$:Kt[1],$members$:Kt[2],$listeners$:Kt[3]};4&Rt.$flags$&&(yt=!0),Rt.$members$=Kt[2],Rt.$attrsToReflect$=[],Rt.$watchers$=null!==(Pt=Kt[4])&&void 0!==Pt?Pt:{};const On=Rt.$tagName$,An=class extends HTMLElement{constructor(Bn){super(Bn),un(Bn=this,Rt),1&Rt.$flags$&&Bn.attachShadow({mode:"open"})}connectedCallback(){st&&(clearTimeout(st),st=null),en?Je.push(this):wt.jmp(()=>(_e=>{if(!(1&wt.$flags$)){const Ae=mt(_e),Me=Ae.$cmpMeta$,Ze=()=>{};if(1&Ae.$flags$)null!=Ae&&Ae.$lazyInstance$?ne(Ae.$lazyInstance$):null!=Ae&&Ae.$onReadyPromise$&&Ae.$onReadyPromise$.then(()=>ne(Ae.$lazyInstance$));else{Ae.$flags$|=1;{let je=_e;for(;je=je.parentNode||je.host;)if(je["s-p"]){L(Ae,Ae.$ancestorComponent$=je);break}}Me.$members$&&Object.entries(Me.$members$).map(([je,[it]])=>{if(31&it&&_e.hasOwnProperty(je)){const Pe=_e[je];delete _e[je],_e[je]=Pe}}),re(_e,Ae,Me)}Ze()}})(this))}disconnectedCallback(){wt.jmp(()=>xt(this))}componentOnReady(){return mt(this).$onReadyPromise$}};Rt.$lazyBundleId$=vt[0],!it.includes(On)&&!Pe.get(On)&&(je.push(On),Pe.define(On,Be(An,Rt,1)))})}),je.length>0&&(yt&&(Et.textContent+=B),Et.textContent+=je+"{visibility:hidden}.hydrated{visibility:inherit}",Et.innerHTML.length)){Et.setAttribute("data-styles","");const vt=null!==(Me=wt.$nonce$)&&void 0!==Me?Me:w(bt);null!=vt&&Et.setAttribute("nonce",vt),Se.insertBefore(Et,ze?ze.nextSibling:Se.firstChild)}en=!1,Je.length?Je.map(vt=>vt.connectedCallback()):wt.jmp(()=>st=setTimeout(ae,30))},rn=new WeakMap,mt=_e=>rn.get(_e),ft=(_e,Ae)=>rn.set(Ae.$lazyInstance$=_e,Ae),un=(_e,Ae)=>{const Me={$flags$:0,$hostElement$:_e,$cmpMeta$:Ae,$instanceValues$:new Map};return Me.$onInstancePromise$=new Promise(Ze=>Me.$onInstanceResolve$=Ze),Me.$onReadyPromise$=new Promise(Ze=>Me.$onReadyResolve$=Ze),_e["s-p"]=[],_e["s-rc"]=[],rn.set(_e,Me)},At=(_e,Ae)=>Ae in _e,It=(_e,Ae)=>(0,console.error)(_e,Ae),Cn=new Map,St=(_e,Ae,Me)=>{const Ze=_e.$tagName$.replace(/-/g,"_"),je=_e.$lazyBundleId$,it=Cn.get(je);return it?it[Ze]:E(7321)(`./${je}.entry.js`).then(Pe=>(Cn.set(je,Pe),Pe[Ze]),It)},Ft=new Map,bn=typeof window<"u"?window:{},bt=bn.document||{head:{}},wt={$flags$:0,$resourcesUrl$:"",jmp:_e=>_e(),raf:_e=>requestAnimationFrame(_e),ael:(_e,Ae,Me,Ze)=>_e.addEventListener(Ae,Me,Ze),rel:(_e,Ae,Me,Ze)=>_e.removeEventListener(Ae,Me,Ze),ce:(_e,Ae)=>new CustomEvent(_e,Ae)},Bt=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Lt=[],Wt=[],Nt=(_e,Ae)=>Me=>{_e.push(Me),D||(D=!0,Ae&&4&wt.$flags$?Ut(zn):wt.raf(zn))},Ot=_e=>{for(let Ae=0;Ae<_e.length;Ae++)try{_e[Ae](performance.now())}catch(Me){It(Me)}_e.length=0},zn=()=>{Ot(Lt),Ot(Wt),(D=Lt.length>0)&&wt.raf(zn)},Ut=_e=>Promise.resolve(void 0).then(_e),He=Nt(Wt,!0)},4801:function(Ce){typeof self<"u"&&self,Ce.exports=function(ee){var E={};function a(S){if(E[S])return E[S].exports;var p=E[S]={i:S,l:!1,exports:{}};return ee[S].call(p.exports,p,p.exports,a),p.l=!0,p.exports}return a.m=ee,a.c=E,a.d=function(S,p,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 F=c;F=this.size&&(F=(F^this.primitive)&this.size-1);for(B=0;B1&&0===D[0]){for(var _=1;__.length&&(C=(D=[_,C])[0],_=D[1]);for(var F=new Uint8ClampedArray(_.length),B=_.length-C.length,m=0;mB?B:_}var D=function(){function _(F,B){this.width=F,this.data=new Uint8ClampedArray(F*B)}return _.prototype.get=function(F,B){return this.data[B*this.width+F]},_.prototype.set=function(F,B,m){this.data[B*this.width+F]=m},_}();E.binarize=function C(_,F,B,m){if(_.length!==F*B*4)throw new Error("Malformed data passed to binarizer.");for(var T=new D(F,B),A=0;A0&&W>0)){var n=(U.get(W,V-1)+2*U.get(W-1,V)+U.get(W-1,V-1))/4;me6&&(P.setRegion(M-11,0,3,6,!0),P.setRegion(0,M-11,6,3,!0)),P}(M),oe=[],me=0,te=0,se=!0,g=V-1;g>0;g-=2){6===g&&g--;for(var n=0;n=0;V--)for(var W=M-9;W>=M-11;W--)U=C(k.get(W,V),U);var oe=0;for(W=5;W>=0;W--)for(V=M-9;V>=M-11;V--)oe=C(k.get(W,V),oe);for(var te,me=1/0,se=0,g=c.VERSIONS;se=0;U--)6!==U&&(M=C(k.get(8,U),M));var V=k.height,W=0;for(U=V-1;U>=V-7;U--)W=C(k.get(8,U),W);for(P=V-8;P1){var n=U.ecBlocks[0].numBlocks,o=U.ecBlocks[1].numBlocks;for(me=0;me0;)for(var l=0,s=V;l=3;){if((M=T.readBits(10))>=1e3)throw new Error("Invalid numeric value above 999");var P=Math.floor(M/100),U=Math.floor(M/10)%10,V=M%10;w.push(48+P,48+U,48+V),R+=P.toString()+U.toString()+V.toString(),k-=3}if(2===k){if((M=T.readBits(7))>=100)throw new Error("Invalid numeric value above 99");P=Math.floor(M/10),w.push(48+P,48+(U=M%10)),R+=P.toString()+U.toString()}else if(1===k){var M;if((M=T.readBits(4))>=10)throw new Error("Invalid numeric value above 9");w.push(48+M),R+=M.toString()}return{bytes:w,text:R}}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 _(T,A){for(var w=[],R="",k=T.readBits([9,11,13][A]);k>=2;){var M=T.readBits(11),P=Math.floor(M/45),U=M%45;w.push(C[P].charCodeAt(0),C[U].charCodeAt(0)),R+=C[P]+C[U],k-=2}return 1===k&&(P=T.readBits(6),w.push(C[P].charCodeAt(0)),R+=C[P]),{bytes:w,text:R}}function F(T,A){for(var w=[],R="",k=T.readBits([8,16,16][A]),M=0;M>8,255&U),R+=String.fromCharCode(p.shiftJISTable[U])}return{bytes:w,text:R}}E.decode=function m(T,A){for(var w,R,$,k,M=new S.BitStream(T),P=A<=9?0:A<=26?1:2,U={text:"",bytes:[],chunks:[],version:A};M.available()>=4;){var V=M.readBits(4);if(V===c.Terminator)return U;if(V===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(V===c.Numeric){var W=D(M,P);U.text+=W.text,(w=U.bytes).push.apply(w,W.bytes),U.chunks.push({type:O.Numeric,text:W.text})}else if(V===c.Alphanumeric){var oe=_(M,P);U.text+=oe.text,(R=U.bytes).push.apply(R,oe.bytes),U.chunks.push({type:O.Alphanumeric,text:oe.text})}else if(V===c.Byte){var me=F(M,P);U.text+=me.text,($=U.bytes).push.apply($,me.bytes),U.chunks.push({type:O.Byte,bytes:me.bytes,text:me.text})}else if(V===c.Kanji){var te=B(M,P);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(_,F){var B=new Uint8ClampedArray(_.length);B.set(_);for(var m=new S.default(285,256,0),T=new p.default(m,B),A=new Uint8ClampedArray(F),w=!1,R=0;R=m/2;){var k=A,M=R;if(R=$,(A=w).isZero())return null;w=k;for(var P=_.zero,U=A.getCoefficient(A.degree()),V=_.inverse(U);w.degree()>=A.degree()&&!w.isZero();){var W=w.degree()-A.degree(),oe=_.multiply(w.getCoefficient(w.degree()),V);P=P.addOrSubtract(_.buildMonomial(W,oe)),w=w.addOrSubtract(A.multiplyByMonomial(W,oe))}if($=P.multiplyPoly(R).addOrSubtract(M),w.degree()>=A.degree())return null}var me=$.getCoefficient(0);if(0===me)return null;var te=_.inverse(me);return[$.multiply(te),w.multiply(te)]}(m,m.buildMonomial(F,1),k,F);if(null===M)return null;var P=function c(_,F){var B=F.degree();if(1===B)return[F.getCoefficient(1)];for(var m=new Array(B),T=0,A=1;A<_.size&&TMath.abs(k.x-$.x);V?(W=Math.floor($.y),oe=Math.floor($.x),me=Math.floor(k.y),te=Math.floor(k.x)):(W=Math.floor($.x),oe=Math.floor($.y),me=Math.floor(k.x),te=Math.floor(k.y));for(var se=Math.abs(me-W),g=Math.abs(te-oe),n=Math.floor(-se/2),o=W0){if(v===te)break;v+=l,n-=se}}for(var r=[],f=0;f=15&&n.length?n[0]:g,dimension:W}}E.locate=function w($){for(var k=[],M=[],P=[],U=[],V=function(y){for(var d=0,r=!1,f=[0,0,0,0,0],L=function(j){var J=$.get(j,y);if(J===r)d++;else{f=[f[1],f[2],f[3],f[4],d],d=1,r=J;var ie=D(f)/7,xe=Math.abs(f[0]-ie)=re.bottom.startX&&tt<=re.bottom.endX||ae>=re.bottom.startX&&tt<=re.bottom.endX||tt<=re.bottom.startX&&ae>=re.bottom.endX&&f[2]/(re.bottom.endX-re.bottom.startX)<1.5&&f[2]/(re.bottom.endX-re.bottom.startX)>.5})).length>0?pe[0].bottom=Oe:M.push({top:Oe,bottom:Oe})}if(Q){var pe,Te=j-f[4],Be=Te-f[3];Oe={startX:Be,y,endX:Te},(pe=U.filter(function(G){return Be>=G.bottom.startX&&Be<=G.bottom.endX||Te>=G.bottom.startX&&Be<=G.bottom.endX||Be<=G.bottom.startX&&Te>=G.bottom.endX&&f[2]/(G.bottom.endX-G.bottom.startX)<1.5&&f[2]/(G.bottom.endX-G.bottom.startX)>.5})).length>0?pe[0].bottom=Oe:U.push({top:Oe,bottom:Oe})}}},I=-1;I<=$.width;I++)L(I);k.push.apply(k,M.filter(function(j){return j.bottom.y!==y&&j.bottom.y-j.top.y>=2})),M=M.filter(function(j){return j.bottom.y===y}),P.push.apply(P,U.filter(function(j){return j.bottom.y!==y})),U=U.filter(function(j){return j.bottom.y===y})},W=0;W<=$.height;W++)V(W);k.push.apply(k,M.filter(function(y){return y.bottom.y-y.top.y>=2})),P.push.apply(P,U);var oe=k.filter(function(y){return y.bottom.y-y.top.y>=2}).map(function(y){var d=(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(d),Math.round(r))){var f=[y.top.endX-y.top.startX,y.bottom.endX-y.bottom.startX,y.bottom.y-y.top.y+1],L=D(f)/f.length;return{score:T({x:Math.round(d),y:Math.round(r)},[1,1,3,1,1],$),x:d,y:r,size:L}}}).filter(function(y){return!!y}).sort(function(y,d){return y.score-d.score}).map(function(y,d,r){if(d>4)return null;var f=r.filter(function(I,j){return d!==j}).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,j){return I.score-j.score});if(f.length<2)return null;var L=y.score+f[0].score+f[1].score;return{points:[y].concat(f.slice(0,2)),score:L}}).filter(function(y){return!!y}).sort(function(y,d){return y.score-d.score});if(0===oe.length)return null;var me=function C($,k,M){var P,U,V,W,se,g,n,oe=c($,k),me=c(k,M),te=c($,M);return me>=oe&&me>=te?(se=(P=[k,$,M])[0],g=P[1],n=P[2]):te>=me&&te>=oe?(se=(U=[$,k,M])[0],g=U[1],n=U[2]):(se=(V=[$,M,k])[0],g=V[1],n=V[2]),(n.x-g.x)*(se.y-g.y)-(n.y-g.y)*(se.x-g.x)<0&&(se=(W=[n,se])[0],n=W[1]),{bottomLeft:se,topLeft:g,topRight:n}}(oe[0].points[0],oe[0].points[1],oe[0].points[2]),te=me.topRight,se=me.topLeft,g=me.bottomLeft,n=R($,P,te,se,g),o=[];n&&o.push({alignmentPattern:{x:n.alignmentPattern.x,y:n.alignmentPattern.y},bottomLeft:{x:g.x,y:g.y},dimension:n.dimension,topLeft:{x:se.x,y:se.y},topRight:{x:te.x,y:te.y}});var l=A($,te),s=A($,se),h=A($,g),v=R($,P,l,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:l.x,y:l.y},dimension:v.dimension}),0===o.length?null:o}}]).default},4725:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(3686),p=E(7054).Buffer,O=new Array(16);function c(){S.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function D(m,T){return m<>>32-T}function C(m,T,A,w,R,$,k){return D(m+(T&A|~T&w)+R+$|0,k)+T|0}function _(m,T,A,w,R,$,k){return D(m+(T&w|A&~w)+R+$|0,k)+T|0}function F(m,T,A,w,R,$,k){return D(m+(T^A^w)+R+$|0,k)+T|0}function B(m,T,A,w,R,$,k){return D(m+(A^(T|~w))+R+$|0,k)+T|0}a(c,S),c.prototype._update=function(){for(var m=O,T=0;T<16;++T)m[T]=this._block.readInt32LE(4*T);var A=this._a,w=this._b,R=this._c,$=this._d;A=C(A,w,R,$,m[0],3614090360,7),$=C($,A,w,R,m[1],3905402710,12),R=C(R,$,A,w,m[2],606105819,17),w=C(w,R,$,A,m[3],3250441966,22),A=C(A,w,R,$,m[4],4118548399,7),$=C($,A,w,R,m[5],1200080426,12),R=C(R,$,A,w,m[6],2821735955,17),w=C(w,R,$,A,m[7],4249261313,22),A=C(A,w,R,$,m[8],1770035416,7),$=C($,A,w,R,m[9],2336552879,12),R=C(R,$,A,w,m[10],4294925233,17),w=C(w,R,$,A,m[11],2304563134,22),A=C(A,w,R,$,m[12],1804603682,7),$=C($,A,w,R,m[13],4254626195,12),R=C(R,$,A,w,m[14],2792965006,17),A=_(A,w=C(w,R,$,A,m[15],1236535329,22),R,$,m[1],4129170786,5),$=_($,A,w,R,m[6],3225465664,9),R=_(R,$,A,w,m[11],643717713,14),w=_(w,R,$,A,m[0],3921069994,20),A=_(A,w,R,$,m[5],3593408605,5),$=_($,A,w,R,m[10],38016083,9),R=_(R,$,A,w,m[15],3634488961,14),w=_(w,R,$,A,m[4],3889429448,20),A=_(A,w,R,$,m[9],568446438,5),$=_($,A,w,R,m[14],3275163606,9),R=_(R,$,A,w,m[3],4107603335,14),w=_(w,R,$,A,m[8],1163531501,20),A=_(A,w,R,$,m[13],2850285829,5),$=_($,A,w,R,m[2],4243563512,9),R=_(R,$,A,w,m[7],1735328473,14),A=F(A,w=_(w,R,$,A,m[12],2368359562,20),R,$,m[5],4294588738,4),$=F($,A,w,R,m[8],2272392833,11),R=F(R,$,A,w,m[11],1839030562,16),w=F(w,R,$,A,m[14],4259657740,23),A=F(A,w,R,$,m[1],2763975236,4),$=F($,A,w,R,m[4],1272893353,11),R=F(R,$,A,w,m[7],4139469664,16),w=F(w,R,$,A,m[10],3200236656,23),A=F(A,w,R,$,m[13],681279174,4),$=F($,A,w,R,m[0],3936430074,11),R=F(R,$,A,w,m[3],3572445317,16),w=F(w,R,$,A,m[6],76029189,23),A=F(A,w,R,$,m[9],3654602809,4),$=F($,A,w,R,m[12],3873151461,11),R=F(R,$,A,w,m[15],530742520,16),A=B(A,w=F(w,R,$,A,m[2],3299628645,23),R,$,m[0],4096336452,6),$=B($,A,w,R,m[7],1126891415,10),R=B(R,$,A,w,m[14],2878612391,15),w=B(w,R,$,A,m[5],4237533241,21),A=B(A,w,R,$,m[12],1700485571,6),$=B($,A,w,R,m[3],2399980690,10),R=B(R,$,A,w,m[10],4293915773,15),w=B(w,R,$,A,m[1],2240044497,21),A=B(A,w,R,$,m[8],1873313359,6),$=B($,A,w,R,m[15],4264355552,10),R=B(R,$,A,w,m[6],2734768916,15),w=B(w,R,$,A,m[13],1309151649,21),A=B(A,w,R,$,m[4],4149444226,6),$=B($,A,w,R,m[11],3174756917,10),R=B(R,$,A,w,m[2],718787259,15),w=B(w,R,$,A,m[9],3951481745,21),this._a=this._a+A|0,this._b=this._b+w|0,this._c=this._c+R|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 m=p.allocUnsafe(16);return m.writeInt32LE(this._a,0),m.writeInt32LE(this._b,4),m.writeInt32LE(this._c,8),m.writeInt32LE(this._d,12),m},Ce.exports=c},3459:(Ce,ee,E)=>{var a=E(7223),S=E(5294);function p(O){this.rand=O||new S.Rand}Ce.exports=p,p.create=function(c){return new p(c)},p.prototype._randbelow=function(c){var D=c.bitLength(),C=Math.ceil(D/8);do{var _=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(),F=a.mont(c),B=new a(1).toRed(F);D||(D=Math.max(1,_/48|0));for(var m=c.subn(1),T=0;!m.testn(T);T++);for(var A=c.shrn(T),w=m.toRed(F);D>0;D--){var $=this._randrange(new a(2),m);C&&C($);var k=$.toRed(F).redPow(A);if(0!==k.cmp(B)&&0!==k.cmp(w)){for(var M=1;M0;D--){var w=this._randrange(new a(2),B),R=c.gcd(w);if(0!==R.cmpn(1))return R;var $=w.toRed(_).redPow(T);if(0!==$.cmp(F)&&0!==$.cmp(A)){for(var k=1;k=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,xe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},9210:Ce=>{function ee(E,a){if(!E)throw new Error(a||"Assertion failed")}Ce.exports=ee,ee.equal=function(a,S,p){if(a!=S)throw new Error(p||"Assertion failed: "+a+" != "+S)}},1832:(Ce,ee)=>{"use strict";var E=ee;function S(O){return 1===O.length?"0"+O:O}function p(O){for(var c="",D=0;D>8,B=255&_;F?D.push(F,B):D.push(B)}return D},E.zero2=S,E.toHex=p,E.encode=function(c,D){return"hex"===D?p(c):c}},3138:(Ce,ee,E)=>{"use strict";var a=E(1990);ee.certificate=E(4772);var S=a.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});ee.RSAPrivateKey=S;var p=a.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ee.RSAPublicKey=p;var 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 F=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),B=a.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(F),this.key("publicKey").optional().explicit(1).bitstr())});ee.ECPrivateKey=B,ee.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(Ce,ee,E)=>{"use strict";var a=E(1990),S=a.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),p=a.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),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)})}),F=a.define("Validity",function(){this.seq().obj(this.key("notBefore").use(S),this.key("notAfter").use(S))}),B=a.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),m=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(F),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(B).optional())}),T=a.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(m),this.key("signatureAlgorithm").use(O),this.key("signatureValue").bitstr())});Ce.exports=T},9472:(Ce,ee,E)=>{"use strict";var a=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,S=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,p=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,O=E(8211),c=E(3388),D=E(7054).Buffer;Ce.exports=function(C,_){var m,F=C.toString(),B=F.match(a);if(B){var A="aes"+B[1],w=D.from(B[2],"hex"),R=D.from(B[3].replace(/[\r\n]/g,""),"base64"),$=O(_,w.slice(0,8),parseInt(B[1],10)).key,k=[],M=c.createDecipheriv(A,$,w);k.push(M.update(R)),k.push(M.final()),m=D.concat(k)}else{var T=F.match(p);m=D.from(T[2].replace(/[\r\n]/g,""),"base64")}return{tag:F.match(S)[1],data:m}}},5667:(Ce,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 _(F){var B;"object"==typeof F&&!D.isBuffer(F)&&(B=F.passphrase,F=F.key),"string"==typeof F&&(F=D.from(F));var w,R,m=p(F,B),T=m.tag,A=m.data;switch(T){case"CERTIFICATE":R=a.certificate.decode(A,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(R||(R=a.PublicKey.decode(A,"der")),w=R.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPublicKey.decode(R.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return R.subjectPrivateKey=R.subjectPublicKey,{type:"ec",data:R};case"1.2.840.10040.4.1":return R.algorithm.params.pub_key=a.DSAparam.decode(R.subjectPublicKey.data,"der"),{type:"dsa",data:R.algorithm.params};default:throw new Error("unknown key id "+w)}case"ENCRYPTED PRIVATE KEY":A=function C(F,B){var m=F.algorithm.decrypt.kde.kdeparams.salt,T=parseInt(F.algorithm.decrypt.kde.kdeparams.iters.toString(),10),A=S[F.algorithm.decrypt.cipher.algo.join(".")],w=F.algorithm.decrypt.cipher.iv,R=F.subjectPrivateKey,$=parseInt(A.split("-")[1],10)/8,k=c.pbkdf2Sync(B,m,T,$,"sha1"),M=O.createDecipheriv(A,k,w),P=[];return P.push(M.update(R)),P.push(M.final()),D.concat(P)}(A=a.EncryptedPrivateKey.decode(A,"der"),B);case"PRIVATE KEY":switch(w=(R=a.PrivateKey.decode(A,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPrivateKey.decode(R.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:R.algorithm.curve,privateKey:a.ECPrivateKey.decode(R.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return R.algorithm.params.priv_key=a.DSAparam.decode(R.subjectPrivateKey,"der"),{type:"dsa",params:R.algorithm.params};default:throw new Error("unknown key id "+w)}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 "+T)}}_.signature=a.signature,Ce.exports=_},3397:(Ce,ee,E)=>{ee.pbkdf2=E(2685),ee.pbkdf2Sync=E(9111)},2685:(Ce,ee,E)=>{var D,m,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"},F=[];function T(){return m||(m=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function A(R,$,k,M,P){return C.importKey("raw",R,{name:"PBKDF2"},!1,["deriveBits"]).then(function(U){return C.deriveBits({name:"PBKDF2",salt:$,iterations:k,hash:{name:P}},U,M<<3)}).then(function(U){return a.from(U)})}Ce.exports=function(R,$,k,M,P,U){"function"==typeof P&&(U=P,P=void 0);var V=_[(P=P||"sha1").toLowerCase()];if(V&&"function"==typeof global.Promise){if(S(k,M),R=c(R,p,"Password"),$=c($,p,"Salt"),"function"!=typeof U)throw new Error("No callback provided to pbkdf2");!function w(R,$){R.then(function(k){T()(function(){$(null,k)})},function(k){T()(function(){$(k)})})}(function B(R){if(global.process&&!global.process.browser||!C||!C.importKey||!C.deriveBits)return Promise.resolve(!1);if(void 0!==F[R])return F[R];var $=A(D=D||a.alloc(8),D,10,128,R).then(function(){return!0}).catch(function(){return!1});return F[R]=$,$}(V).then(function(W){return W?A(R,$,k,M,V):O(R,$,k,M,P)}),U)}else T()(function(){var W;try{W=O(R,$,k,M,P)}catch(oe){return U(oe)}U(null,W)})}},5392:Ce=>{var ee;ee=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",Ce.exports=ee},6111:Ce=>{var ee=Math.pow(2,30)-1;Ce.exports=function(E,a){if("number"!=typeof E)throw new TypeError("Iterations not a number");if(E<0)throw new TypeError("Bad iterations");if("number"!=typeof a)throw new TypeError("Key length not a number");if(a<0||a>ee||a!=a)throw new TypeError("Bad key length")}},9111:(Ce,ee,E)=>{var a=E(3407),S=E(6636),p=E(5443),O=E(7054).Buffer,c=E(6111),D=E(5392),C=E(6643),_=O.alloc(128),F={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function B(A,w,R){var $=function m(A){return"rmd160"===A||"ripemd160"===A?function R($){return(new S).update($).digest()}:"md5"===A?a:function w($){return p(A).update($).digest()}}(A),k="sha512"===A||"sha384"===A?128:64;w.length>k?w=$(w):w.length{var a=E(7054).Buffer;Ce.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:Ce=>{"use strict";Ce.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function ee(E,a,S,p){if("function"!=typeof E)throw new TypeError('"callback" argument must be a function');var c,D,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:(Ce,ee,E)=>{var a=E(7211),S=E(7054).Buffer;function p(O){var c=S.allocUnsafe(4);return c.writeUInt32BE(O,0),c}Ce.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 _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,xe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,tt=0|s[3],Oe=8191&tt,pe=tt>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},8613:(Ce,ee,E)=>{var a=E(5667),S=E(715),p=E(7196),O=E(6508),c=E(4105),D=E(7211),C=E(568),_=E(7054).Buffer;Ce.exports=function(A,w,R){var $;$=A.padding?A.padding:R?1:4;var P,k=a(A),M=k.modulus.byteLength();if(w.length>M||new O(w).cmp(k.modulus)>=0)throw new Error("decryption error");P=R?C(new O(w),k):c(w,k);var U=_.alloc(M-P.length);if(P=_.concat([U,P],M),4===$)return function F(T,A){var w=T.modulus.byteLength(),R=D("sha1").update(_.alloc(0)).digest(),$=R.length;if(0!==A[0])throw new Error("decryption error");var k=A.slice(1,$+1),M=A.slice($+1),P=p(k,S(M,$)),U=p(M,S(P,w-$-1));if(function m(T,A){T=_.from(T),A=_.from(A);var w=0,R=T.length;T.length!==A.length&&(w++,R=Math.min(T.length,A.length));for(var $=-1;++$=A.length){k++;break}var M=A.slice(2,$-1);if(("0002"!==R.toString("hex")&&!w||"0001"!==R.toString("hex")&&w)&&k++,M.length<8&&k++,k)throw new Error("decryption error");return A.slice($)}(0,P,R);if(3===$)return P;throw new Error("unknown padding")}},7267:(Ce,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),F=E(7054).Buffer;Ce.exports=function(w,R,$){var k;k=w.padding?w.padding:$?1:4;var P,M=a(w);if(4===k)P=function B(A,w){var R=A.modulus.byteLength(),$=w.length,k=p("sha1").update(F.alloc(0)).digest(),M=k.length,P=2*M;if($>R-P-2)throw new Error("message too long");var U=F.alloc(R-$-P-2),V=R-M-1,W=S(M),oe=c(F.concat([k,U,F.alloc(1,1),w],V),O(W,V)),me=c(W,O(oe,M));return new D(F.concat([F.alloc(1),me,oe],R))}(M,R);else if(1===k)P=function m(A,w,R){var M,$=w.length,k=A.modulus.byteLength();if($>k-11)throw new Error("message too long");return M=R?F.alloc(k-$-3,255):function T(A){for(var M,w=F.allocUnsafe(A),R=0,$=S(2*A),k=0;R=0)throw new Error("data too long for modulus")}return $?_(P,M):C(P,M)}},568:(Ce,ee,E)=>{var a=E(6508),S=E(7054).Buffer;Ce.exports=function p(O,c){return S.from(O.toRed(a.mont(c.modulus)).redPow(new a(c.publicExponent)).fromRed().toArray())}},7196:Ce=>{Ce.exports=function(E,a){for(var S=E.length,p=-1;++p{"use strict";var a=65536,O=E(7054).Buffer,c=global.crypto||global.msCrypto;Ce.exports=c&&c.getRandomValues?function D(C,_){if(C>4294967295)throw new RangeError("requested too many random bytes");var F=O.allocUnsafe(C);if(C>0)if(C>a)for(var B=0;B{"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,w){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>w)throw new RangeError("offset out of range")}function F(A,w,R){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+w>R||A>c)throw new RangeError("buffer too small")}function m(A,w,R,$){if(process.browser){var M=new Uint8Array(A.buffer,w,R);return D.getRandomValues(M),$?void process.nextTick(function(){$(null,A)}):A}if(!$)return p(R).copy(A,w),A;p(R,function(U,V){if(U)return $(U);V.copy(A,w),$(null,A)})}D&&D.getRandomValues||!process.browser?(ee.randomFill=function B(A,w,R,$){if(!(O.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof w)$=w,w=0,R=A.length;else if("function"==typeof R)$=R,R=A.length-w;else if("function"!=typeof $)throw new TypeError('"cb" argument must be a function');return _(w,A.length),F(R,w,A.length),m(A,w,R,$)},ee.randomFillSync=function T(A,w,R){if(typeof w>"u"&&(w=0),!(O.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return _(w,A.length),void 0===R&&(R=A.length-w),F(R,w,A.length),m(A,w,R)}):(ee.randomFill=a,ee.randomFillSync=a)},4075:(Ce,ee,E)=>{"use strict";var a=E(9656),S=Object.keys||function(T){var A=[];for(var w in T)A.push(w);return A};Ce.exports=F;var p=Object.create(E(7637));p.inherits=E(1993);var O=E(9609),c=E(7849);p.inherits(F,O);for(var D=S(c.prototype),C=0;C{"use strict";Ce.exports=p;var a=E(2909),S=Object.create(E(7637));function p(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:(Ce,ee,E)=>{"use strict";var a=E(9656);Ce.exports=U;var p,S=E(53);U.ReadableState=P,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(){},m=Object.create(E(7637));m.inherits=E(1993);var T=E(9838),A=void 0;A=T&&T.debuglog?T.debuglog("stream"):function(){};var $,w=E(7809),R=E(1509);m.inherits(U,D);var k=["error","close","destroy","pause","resume"];function P(Q,ae){var tt=ae instanceof(p=p||E(4075));this.objectMode=!!(Q=Q||{}).objectMode,tt&&(this.objectMode=this.objectMode||!!Q.readableObjectMode);var Oe=Q.highWaterMark,pe=Q.readableHighWaterMark;this.highWaterMark=Oe||0===Oe?Oe:tt&&(pe||0===pe)?pe:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new w,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 P(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 V(Q,ae,tt,Oe,pe){var Be,Te=Q._readableState;return null===ae?(Te.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,Te)):(pe||(Be=function oe(Q,ae){var tt;return!function B(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}(Te,ae)),Be?Q.emit("error",Be):Te.objectMode||ae&&ae.length>0?("string"!=typeof ae&&!Te.objectMode&&Object.getPrototypeOf(ae)!==C.prototype&&(ae=function F(Q){return C.from(Q)}(ae)),Oe?Te.endEmitted?Q.emit("error",new Error("stream.unshift() after end event")):W(Q,Te,ae,!0):Te.ended?Q.emit("error",new Error("stream.push() after EOF")):(Te.reading=!1,Te.decoder&&!tt?(ae=Te.decoder.write(ae),Te.objectMode||0!==ae.length?W(Q,Te,ae,!1):s(Q,Te)):W(Q,Te,ae,!1))):Oe||(Te.reading=!1)),function me(Q){return!Q.ended&&(Q.needReadable||Q.lengthae.highWaterMark&&(ae.highWaterMark=function se(Q){return Q>=8388608?Q=8388608:(Q--,Q|=Q>>>1,Q|=Q>>>2,Q|=Q>>>4,Q|=Q>>>8,Q|=Q>>>16,Q++),Q}(Q)),Q<=ae.length?Q:ae.ended?ae.length:(ae.needReadable=!0,0))}function o(Q){var ae=Q._readableState;ae.needReadable=!1,ae.emittedReadable||(A("emitReadable",ae.flowing),ae.emittedReadable=!0,ae.sync?a.nextTick(l,Q):l(Q))}function l(Q){A("emit readable"),Q.emit("readable"),f(Q)}function s(Q,ae){ae.readingMore||(ae.readingMore=!0,a.nextTick(h,Q,ae))}function h(Q,ae){for(var tt=ae.length;!ae.reading&&!ae.flowing&&!ae.ended&&ae.length=ae.length?(tt=ae.decoder?ae.buffer.join(""):1===ae.buffer.length?ae.buffer.head.data:ae.buffer.concat(ae.length),ae.buffer.clear()):tt=function I(Q,ae,tt){var Oe;return QTe.length?Te.length:Q;if(pe+=Be===Te.length?Te:Te.slice(0,Q),0==(Q-=Be)){Be===Te.length?(++Oe,ae.head=tt.next?tt.next:ae.tail=null):(ae.head=tt,tt.data=Te.slice(Be));break}++Oe}return ae.length-=Oe,pe}(Q,ae):function J(Q,ae){var tt=C.allocUnsafe(Q),Oe=ae.head,pe=1;for(Oe.data.copy(tt),Q-=Oe.data.length;Oe=Oe.next;){var Te=Oe.data,Be=Q>Te.length?Te.length:Q;if(Te.copy(tt,tt.length-Q,0,Be),0==(Q-=Be)){Be===Te.length?(++pe,ae.head=Oe.next?Oe.next:ae.tail=null):(ae.head=Oe,Oe.data=Te.slice(Be));break}++pe}return ae.length-=pe,tt}(Q,ae),Oe}(Q,ae.buffer,ae.decoder),tt);var tt}function ie(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(xe,ae,Q))}function xe(Q,ae){!Q.endEmitted&&0===Q.length&&(Q.endEmitted=!0,ae.readable=!1,ae.emit("end"))}function De(Q,ae){for(var tt=0,Oe=Q.length;tt=ae.highWaterMark||ae.ended))return A("read: emitReadable",ae.length,ae.ended),0===ae.length&&ae.ended?ie(this):o(this),null;if(0===(Q=g(Q,ae))&&ae.ended)return 0===ae.length&&ie(this),null;var pe,Oe=ae.needReadable;return A("need readable",Oe),(0===ae.length||ae.length-Q0?L(Q,ae):null)?(ae.needReadable=!0,Q=0):ae.length-=Q,0===ae.length&&(ae.ended||(ae.needReadable=!0),tt!==Q&&ae.ended&&ie(this)),null!==pe&&this.emit("data",pe),pe},U.prototype._read=function(Q){this.emit("error",new Error("_read() is not implemented"))},U.prototype.pipe=function(Q,ae){var tt=this,Oe=this._readableState;switch(Oe.pipesCount){case 0:Oe.pipes=Q;break;case 1:Oe.pipes=[Oe.pipes,Q];break;default:Oe.pipes.push(Q)}Oe.pipesCount+=1,A("pipe count=%d opts=%j",Oe.pipesCount,ae);var Te=ae&&!1===ae.end||Q===process.stdout||Q===process.stderr?ft:re;function re(){A("onend"),Q.end()}Oe.endEmitted?a.nextTick(Te):tt.once("end",Te),Q.on("unpipe",function Be(un,At){A("onunpipe"),un===tt&&At&&!1===At.hasUnpiped&&(At.hasUnpiped=!0,function ge(){A("cleanup"),Q.removeListener("close",rn),Q.removeListener("finish",mt),Q.removeListener("drain",ne),Q.removeListener("error",rt),Q.removeListener("unpipe",Be),tt.removeListener("end",re),tt.removeListener("end",ft),tt.removeListener("data",Qe),G=!0,Oe.awaitDrain&&(!Q._writableState||Q._writableState.needDrain)&&ne()}())});var ne=function v(Q){return function(){var ae=Q._readableState;A("pipeOnDrain",ae.awaitDrain),ae.awaitDrain&&ae.awaitDrain--,0===ae.awaitDrain&&c(Q,"data")&&(ae.flowing=!0,f(Q))}}(tt);Q.on("drain",ne);var G=!1,xt=!1;function Qe(un){A("ondata"),xt=!1,!1===Q.write(un)&&!xt&&((1===Oe.pipesCount&&Oe.pipes===Q||Oe.pipesCount>1&&-1!==De(Oe.pipes,Q))&&!G&&(A("false write response, pause",Oe.awaitDrain),Oe.awaitDrain++,xt=!0),tt.pause())}function rt(un){A("onerror",un),ft(),Q.removeListener("error",rt),0===c(Q,"error")&&Q.emit("error",un)}function rn(){Q.removeListener("finish",mt),ft()}function mt(){A("onfinish"),Q.removeListener("close",rn),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",rn),Q.once("finish",mt),Q.emit("pipe",tt),Oe.flowing||(A("pipe resume"),tt.resume()),Q},U.prototype.unpipe=function(Q){var ae=this._readableState,tt={hasUnpiped:!1};if(0===ae.pipesCount)return this;if(1===ae.pipesCount)return Q&&Q!==ae.pipes||(Q||(Q=ae.pipes),ae.pipes=null,ae.pipesCount=0,ae.flowing=!1,Q&&Q.emit("unpipe",this,tt)),this;if(!Q){var Oe=ae.pipes,pe=ae.pipesCount;ae.pipes=null,ae.pipesCount=0,ae.flowing=!1;for(var Te=0;Te{"use strict";Ce.exports=O;var a=E(4075),S=Object.create(E(7637));function p(C,_){var F=this._transformState;F.transforming=!1;var B=F.writecb;if(!B)return this.emit("error",new Error("write callback called multiple times"));F.writechunk=null,F.writecb=null,null!=_&&this.push(_),B(C);var m=this._readableState;m.reading=!1,(m.needReadable||m.length{"use strict";var a=E(9656);function p(d){var r=this;this.next=null,this.entry=null,this.finish=function(){!function y(d,r,f){var L=d.entry;for(d.entry=null;L;){var I=L.callback;r.pendingcb--,I(f),L=L.next}r.corkedRequestsFree.next=d}(r,d)}}Ce.exports=k;var c,O=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;k.WritableState=R;var D=Object.create(E(7637));D.inherits=E(1993);var $,C={deprecate:E(3398)},_=E(8342),F=E(2655).Buffer,B=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},A=E(1509);function w(){}function R(d,r){c=c||E(4075);var f=r instanceof c;this.objectMode=!!(d=d||{}).objectMode,f&&(this.objectMode=this.objectMode||!!d.writableObjectMode);var L=d.highWaterMark,I=d.writableHighWaterMark;this.highWaterMark=L||0===L?L:f&&(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===d.decodeStrings),this.defaultEncoding=d.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ie){!function te(d,r){var f=d._writableState,L=f.sync,I=f.writecb;if(function me(d){d.writing=!1,d.writecb=null,d.length-=d.writelen,d.writelen=0}(f),r)!function oe(d,r,f,L,I){--r.pendingcb,f?(a.nextTick(I,L),a.nextTick(h,d,r),d._writableState.errorEmitted=!0,d.emit("error",L)):(I(L),d._writableState.errorEmitted=!0,d.emit("error",L),h(d,r))}(d,f,L,r,I);else{var j=o(f);!j&&!f.corked&&!f.bufferProcessing&&f.bufferedRequest&&n(d,f),L?O(se,d,f,j,I):se(d,f,j,I)}}(r,ie)},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(d){if(c=c||E(4075),!($.call(k,this)||this instanceof c))return new k(d);this._writableState=new R(d,this),this.writable=!0,d&&("function"==typeof d.write&&(this._write=d.write),"function"==typeof d.writev&&(this._writev=d.writev),"function"==typeof d.destroy&&(this._destroy=d.destroy),"function"==typeof d.final&&(this._final=d.final)),_.call(this)}function W(d,r,f,L,I,j,J){r.writelen=L,r.writecb=J,r.writing=!0,r.sync=!0,f?d._writev(I,r.onwrite):d._write(I,j,r.onwrite),r.sync=!1}function se(d,r,f,L){f||function g(d,r){0===r.length&&r.needDrain&&(r.needDrain=!1,d.emit("drain"))}(d,r),r.pendingcb--,L(),h(d,r)}function n(d,r){r.bufferProcessing=!0;var f=r.bufferedRequest;if(d._writev&&f&&f.next){var I=new Array(r.bufferedRequestCount),j=r.corkedRequestsFree;j.entry=f;for(var J=0,ie=!0;f;)I[J]=f,f.isBuf||(ie=!1),f=f.next,J+=1;I.allBuffers=ie,W(d,r,!0,r.length,I,"",j.finish),r.pendingcb++,r.lastBufferedRequest=null,j.next?(r.corkedRequestsFree=j.next,j.next=null):r.corkedRequestsFree=new p(r),r.bufferedRequestCount=0}else{for(;f;){var xe=f.chunk;if(W(d,r,!1,r.objectMode?1:xe.length,xe,f.encoding,f.callback),f=f.next,r.bufferedRequestCount--,r.writing)break}null===f&&(r.lastBufferedRequest=null)}r.bufferedRequest=f,r.bufferProcessing=!1}function o(d){return d.ending&&0===d.length&&null===d.bufferedRequest&&!d.finished&&!d.writing}function l(d,r){d._final(function(f){r.pendingcb--,f&&d.emit("error",f),r.prefinished=!0,d.emit("prefinish"),h(d,r)})}function h(d,r){var f=o(r);return f&&(function s(d,r){!r.prefinished&&!r.finalCalled&&("function"==typeof d._final?(r.pendingcb++,r.finalCalled=!0,a.nextTick(l,d,r)):(r.prefinished=!0,d.emit("prefinish")))}(d,r),0===r.pendingcb&&(r.finished=!0,d.emit("finish"))),f}D.inherits(k,_),R.prototype.getBuffer=function(){for(var r=this.bufferedRequest,f=[];r;)f.push(r),r=r.next;return f},function(){try{Object.defineProperty(R.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(d){return!!$.call(this,d)||this===k&&d&&d._writableState instanceof R}})):$=function(d){return d instanceof this},k.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},k.prototype.write=function(d,r,f){var L=this._writableState,I=!1,j=!L.objectMode&&function T(d){return F.isBuffer(d)||d instanceof B}(d);return j&&!F.isBuffer(d)&&(d=function m(d){return F.from(d)}(d)),"function"==typeof r&&(f=r,r=null),j?r="buffer":r||(r=L.defaultEncoding),"function"!=typeof f&&(f=w),L.ended?function M(d,r){var f=new Error("write after end");d.emit("error",f),a.nextTick(r,f)}(this,f):(j||function P(d,r,f,L){var I=!0,j=!1;return null===f?j=new TypeError("May not write null values to stream"):"string"!=typeof f&&void 0!==f&&!r.objectMode&&(j=new TypeError("Invalid non-string/buffer chunk")),j&&(d.emit("error",j),a.nextTick(L,j),I=!1),I}(this,L,d,f))&&(L.pendingcb++,I=function V(d,r,f,L,I,j){if(!f){var J=function U(d,r,f){return!d.objectMode&&!1!==d.decodeStrings&&"string"==typeof r&&(r=F.from(r,f)),r}(r,L,I);L!==J&&(f=!0,I="buffer",L=J)}var ie=r.objectMode?1:L.length;r.length+=ie;var xe=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(d,r,f){f(new Error("_write() is not implemented"))},k.prototype._writev=null,k.prototype.end=function(d,r,f){var L=this._writableState;"function"==typeof d?(f=d,d=null,r=null):"function"==typeof r&&(f=r,r=null),null!=d&&this.write(d,r),L.corked&&(L.corked=1,this.uncork()),L.ending||function v(d,r,f){r.ending=!0,h(d,r),f&&(r.finished?a.nextTick(f):d.once("finish",f)),r.ended=!0,d.writable=!1}(this,L,f)},Object.defineProperty(k.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(d){this._writableState&&(this._writableState.destroyed=d)}}),k.prototype.destroy=A.destroy,k.prototype._undestroy=A.undestroy,k.prototype._destroy=function(d,r){this.end(),r(d)}},7809:(Ce,ee,E)=>{"use strict";var S=E(2655).Buffer,p=E(5340);function O(c,D,C){c.copy(D,C)}Ce.exports=function(){function c(){(function a(c,D){if(!(c instanceof D))throw new TypeError("Cannot call a class as a function")})(this,c),this.head=null,this.tail=null,this.length=0}return c.prototype.push=function(C){var _={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,F=""+_.data;_=_.next;)F+=C+_.data;return F},c.prototype.concat=function(C){if(0===this.length)return S.alloc(0);for(var _=S.allocUnsafe(C>>>0),F=this.head,B=0;F;)O(F.data,_,B),B+=F.data.length,F=F.next;return _},c}(),p&&p.inspect&&p.inspect.custom&&(Ce.exports.prototype[p.inspect.custom]=function(){var c=p.inspect({length:this.length});return this.constructor.name+" "+c})},1509:(Ce,ee,E)=>{"use strict";var a=E(9656);function O(c,D){c.emit("error",D)}Ce.exports={destroy:function S(c,D){var C=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(D?D(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,a.nextTick(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(B){!D&&B?C._writableState?C._writableState.errorEmitted||(C._writableState.errorEmitted=!0,a.nextTick(O,C,B)):a.nextTick(O,C,B):D&&D(B)}),this)},undestroy:function p(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},8342:(Ce,ee,E)=>{Ce.exports=E(4356).EventEmitter},2655:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.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:(Ce,ee,E)=>{(ee=Ce.exports=E(9609)).Stream=ee,ee.Readable=ee,ee.Writable=E(7849),ee.Duplex=E(4075),ee.Transform=E(2909),ee.PassThrough=E(8823)},6636:(Ce,ee,E)=>{"use strict";var a=E(3838).Buffer,S=E(1993),p=E(3686),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],F=[0,1518500249,1859775393,2400959708,2840853838],B=[1352829926,1548603684,1836072691,2053994217,0];function m(){p.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function T(M,P){return M<>>32-P}function A(M,P,U,V,W,oe,me,te){return T(M+(P^U^V)+oe+me|0,te)+W|0}function w(M,P,U,V,W,oe,me,te){return T(M+(P&U|~P&V)+oe+me|0,te)+W|0}function R(M,P,U,V,W,oe,me,te){return T(M+((P|~U)^V)+oe+me|0,te)+W|0}function $(M,P,U,V,W,oe,me,te){return T(M+(P&V|U&~V)+oe+me|0,te)+W|0}function k(M,P,U,V,W,oe,me,te){return T(M+(P^(U|~V))+oe+me|0,te)+W|0}S(m,p),m.prototype._update=function(){for(var M=O,P=0;P<16;++P)M[P]=this._block.readInt32LE(4*P);for(var U=0|this._a,V=0|this._b,W=0|this._c,oe=0|this._d,me=0|this._e,te=0|this._a,se=0|this._b,g=0|this._c,n=0|this._d,o=0|this._e,l=0;l<80;l+=1){var s,h;l<16?(s=A(U,V,W,oe,me,M[c[l]],F[0],C[l]),h=k(te,se,g,n,o,M[D[l]],B[0],_[l])):l<32?(s=w(U,V,W,oe,me,M[c[l]],F[1],C[l]),h=$(te,se,g,n,o,M[D[l]],B[1],_[l])):l<48?(s=R(U,V,W,oe,me,M[c[l]],F[2],C[l]),h=R(te,se,g,n,o,M[D[l]],B[2],_[l])):l<64?(s=$(U,V,W,oe,me,M[c[l]],F[3],C[l]),h=w(te,se,g,n,o,M[D[l]],B[3],_[l])):(s=k(U,V,W,oe,me,M[c[l]],F[4],C[l]),h=A(te,se,g,n,o,M[D[l]],B[4],_[l])),U=me,me=oe,oe=T(W,10),W=V,V=s,te=o,o=n,n=T(g,10),g=se,se=h}var v=this._b+W+n|0;this._b=this._c+oe+o|0,this._c=this._d+me+te|0,this._d=this._e+U+se|0,this._e=this._a+V+g|0,this._a=v},m.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var M=a.alloc?a.alloc(20):new a(20);return M.writeInt32LE(this._a,0),M.writeInt32LE(this._b,4),M.writeInt32LE(this._c,8),M.writeInt32LE(this._d,12),M.writeInt32LE(this._e,16),M},Ce.exports=m},4412:(Ce,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:(Ce,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 T{constructor(w){w&&(this._subscribe=w)}lift(w){const R=new T;return R.source=this,R.operator=w,R}subscribe(w,R,$){const k=function m(T){return T&&T instanceof a.vU||function B(T){return T&&(0,D.T)(T.next)&&(0,D.T)(T.error)&&(0,D.T)(T.complete)}(T)&&(0,S.Uv)(T)}(w)?w:new a.Ms(w,R,$);return(0,C.Y)(()=>{const{operator:M,source:P}=this;k.add(M?M.call(k,P):P?this._subscribe(k):this._trySubscribe(k))}),k}_trySubscribe(w){try{return this._subscribe(w)}catch(R){w.error(R)}}forEach(w,R){return new(R=F(R))(($,k)=>{const M=new a.Ms({next:P=>{try{w(P)}catch(U){k(U),M.unsubscribe()}},error:k,complete:$});this.subscribe(M)})}_subscribe(w){var R;return null===(R=this.source)||void 0===R?void 0:R.subscribe(w)}[p.s](){return this}pipe(...w){return(0,O.m)(w)(this)}toPromise(w){return new(w=F(w))((R,$)=>{let k;this.subscribe(M=>k=M,M=>$(M),()=>R(k))})}}return T.create=A=>new T(A),T})();function F(T){var A;return null!==(A=null!=T?T:c.$.Promise)&&void 0!==A?A:Promise}},2771:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>p});var a=E(1413),S=E(6129);class p extends a.B{constructor(c=1/0,D=1/0,C=S.U){super(),this._bufferSize=c,this._windowTime=D,this._timestampProvider=C,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=D===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,D)}next(c){const{isStopped:D,_buffer:C,_infiniteTimeWindow:_,_timestampProvider:F,_windowTime:B}=this;D||(C.push(c),!_&&C.push(F.now()+B)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const D=this._innerSubscribe(c),{_infiniteTimeWindow:C,_buffer:_}=this,F=_.slice();for(let B=0;B{"use strict";E.d(ee,{B:()=>C});var a=E(1985),S=E(8359);const O=(0,E(1853).L)(F=>function(){F(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=E(7908),D=E(9786);let C=(()=>{class F extends a.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(m){const T=new _(this,this);return T.operator=m,T}_throwIfClosed(){if(this.closed)throw new O}next(m){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const T of this.currentObservers)T.next(m)}})}error(m){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=m;const{observers:T}=this;for(;T.length;)T.shift().error(m)}})}complete(){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:m}=this;for(;m.length;)m.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var m;return(null===(m=this.observers)||void 0===m?void 0:m.length)>0}_trySubscribe(m){return this._throwIfClosed(),super._trySubscribe(m)}_subscribe(m){return this._throwIfClosed(),this._checkFinalizedStatuses(m),this._innerSubscribe(m)}_innerSubscribe(m){const{hasError:T,isStopped:A,observers:w}=this;return T||A?S.Kn:(this.currentObservers=null,w.push(m),new S.yU(()=>{this.currentObservers=null,(0,c.o)(w,m)}))}_checkFinalizedStatuses(m){const{hasError:T,thrownError:A,isStopped:w}=this;T?m.error(A):w&&m.complete()}asObservable(){const m=new a.c;return m.source=this,m}}return F.create=(B,m)=>new _(B,m),F})();class _ extends C{constructor(B,m){super(),this.destination=B,this.source=m}next(B){var m,T;null===(T=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===T||T.call(m,B)}error(B){var m,T;null===(T=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===T||T.call(m,B)}complete(){var B,m;null===(m=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===m||m.call(B)}_subscribe(B){var m,T;return null!==(T=null===(m=this.source)||void 0===m?void 0:m.subscribe(B))&&void 0!==T?T:S.Kn}}},7707:(Ce,ee,E)=>{"use strict";E.d(ee,{Ms:()=>$,vU:()=>T});var a=E(8071),S=E(8359),p=E(1026),O=E(5334),c=E(5343);const D=F("C",void 0,void 0);function F(V,W,oe){return{kind:V,value:W,error:oe}}var B=E(9270),m=E(9786);class T extends S.yU{constructor(W){super(),this.isStopped=!1,W?(this.destination=W,(0,S.Uv)(W)&&W.add(this)):this.destination=U}static create(W,oe,me){return new $(W,oe,me)}next(W){this.isStopped?P(function _(V){return F("N",V,void 0)}(W),this):this._next(W)}error(W){this.isStopped?P(function C(V){return F("E",void 0,V)}(W),this):(this.isStopped=!0,this._error(W))}complete(){this.isStopped?P(D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(W){this.destination.next(W)}_error(W){try{this.destination.error(W)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function w(V,W){return A.call(V,W)}class R{constructor(W){this.partialObserver=W}next(W){const{partialObserver:oe}=this;if(oe.next)try{oe.next(W)}catch(me){k(me)}}error(W){const{partialObserver:oe}=this;if(oe.error)try{oe.error(W)}catch(me){k(me)}else k(W)}complete(){const{partialObserver:W}=this;if(W.complete)try{W.complete()}catch(oe){k(oe)}}}class $ extends T{constructor(W,oe,me){let te;if(super(),(0,a.T)(W)||!W)te={next:null!=W?W:void 0,error:null!=oe?oe:void 0,complete:null!=me?me:void 0};else{let se;this&&p.$.useDeprecatedNextContext?(se=Object.create(W),se.unsubscribe=()=>this.unsubscribe(),te={next:W.next&&w(W.next,se),error:W.error&&w(W.error,se),complete:W.complete&&w(W.complete,se)}):te=W}this.destination=new R(te)}}function k(V){p.$.useDeprecatedSynchronousErrorHandling?(0,m.l)(V):(0,O.m)(V)}function P(V,W){const{onStoppedNotification:oe}=p.$;oe&&B.f.setTimeout(()=>oe(V,W))}const U={closed:!0,next:c.l,error:function M(V){throw V},complete:c.l}},8359:(Ce,ee,E)=>{"use strict";E.d(ee,{Kn:()=>D,yU:()=>c,Uv:()=>C});var a=E(8071);const p=(0,E(1853).L)(F=>function(m){F(this),this.message=m?`${m.length} errors occurred during unsubscription:\n${m.map((T,A)=>`${A+1}) ${T.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=m});var O=E(7908);class c{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:m}=this;if(m)if(this._parentage=null,Array.isArray(m))for(const w of m)w.remove(this);else m.remove(this);const{initialTeardown:T}=this;if((0,a.T)(T))try{T()}catch(w){B=w instanceof p?w.errors:[w]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const w of A)try{_(w)}catch(R){B=null!=B?B:[],R instanceof p?B=[...B,...R.errors]:B.push(R)}}if(B)throw new p(B)}}add(B){var m;if(B&&B!==this)if(this.closed)_(B);else{if(B instanceof c){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(m=this._finalizers)&&void 0!==m?m:[]).push(B)}}_hasParent(B){const{_parentage:m}=this;return m===B||Array.isArray(m)&&m.includes(B)}_addParent(B){const{_parentage:m}=this;this._parentage=Array.isArray(m)?(m.push(B),m):m?[m,B]:B}_removeParent(B){const{_parentage:m}=this;m===B?this._parentage=null:Array.isArray(m)&&(0,O.o)(m,B)}remove(B){const{_finalizers:m}=this;m&&(0,O.o)(m,B),B instanceof c&&B._removeParent(this)}}c.EMPTY=(()=>{const F=new c;return F.closed=!0,F})();const D=c.EMPTY;function C(F){return F instanceof c||F&&"closed"in F&&(0,a.T)(F.remove)&&(0,a.T)(F.add)&&(0,a.T)(F.unsubscribe)}function _(F){(0,a.T)(F)?F():F.unsubscribe()}},1026:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3207:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>S});var a=E(9350);function S(p,O){const c="object"==typeof O;return new Promise((D,C)=>{let F,_=!1;p.subscribe({next:B=>{F=B,_=!0},error:C,complete:()=>{_?D(F):c?D(O.defaultValue):C(new a.G)}})})}},17:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>D});var a=E(1985),S=E(8359),p=E(9898),O=E(4360),c=E(9974);class D extends a.c{constructor(_,F){super(),this.source=_,this.subjectFactory=F,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 F=this.getSubject();_.add(this.source.subscribe((0,O._)(F,void 0,()=>{this._teardown(),F.complete()},B=>{this._teardown(),F.error(B)},()=>this._teardown()))),_.closed&&(this._connection=null,_=S.yU.EMPTY)}return _}refCount(){return(0,p.B)()(this)}}},4572:(Ce,ee,E)=>{"use strict";E.d(ee,{z:()=>B});var a=E(1985),S=E(3073),p=E(6648),O=E(3669),c=E(6450),D=E(9326),C=E(8496),_=E(4360),F=E(5225);function B(...A){const w=(0,D.lI)(A),R=(0,D.ms)(A),{args:$,keys:k}=(0,S.D)(A);if(0===$.length)return(0,p.H)([],w);const M=new a.c(function m(A,w,R=O.D){return $=>{T(w,()=>{const{length:k}=A,M=new Array(k);let P=k,U=k;for(let V=0;V{const W=(0,p.H)(A[V],w);let oe=!1;W.subscribe((0,_._)($,me=>{M[V]=me,oe||(oe=!0,U--),U||$.next(R(M.slice()))},()=>{--P||$.complete()}))},$)},$)}}($,w,k?P=>(0,C.e)(k,P):O.D));return R?M.pipe((0,c.I)(R)):M}function T(A,w,R){A?(0,F.N)(R,A,w):w()}},8793:(Ce,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:(Ce,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:(Ce,ee,E)=>{"use strict";E.d(ee,{w:()=>S});const S=new(E(1985).c)(c=>c.complete())},7468:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>_});var a=E(1985),S=E(3073),p=E(8750),O=E(9326),c=E(4360),D=E(6450),C=E(8496);function _(...F){const B=(0,O.ms)(F),{args:m,keys:T}=(0,S.D)(F),A=new a.c(w=>{const{length:R}=m;if(!R)return void w.complete();const $=new Array(R);let k=R,M=R;for(let P=0;P{U||(U=!0,M--),$[P]=V},()=>k--,void 0,()=>{(!k||!U)&&(M||w.next(T?(0,C.e)(T,$):$),w.complete())}))}});return B?A.pipe((0,D.I)(B)):A}},6648:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>me});var a=E(8750),S=E(5225),p=E(9974),O=E(4360);function c(te,se=0){return(0,p.N)((g,n)=>{g.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)((g,n)=>{n.add(te.schedule(()=>g.subscribe(n),se))})}var F=E(1985),m=E(4761),T=E(8071);function w(te,se){if(!te)throw new Error("Iterable cannot be null");return new F.c(g=>{(0,S.N)(g,se,()=>{const n=te[Symbol.asyncIterator]();(0,S.N)(g,se,()=>{n.next().then(o=>{o.done?g.complete():g.next(o.value)})},0,!0)})})}var R=E(5055),$=E(9858),k=E(7441),M=E(5397),P=E(7953),U=E(591),V=E(5196);function me(te,se){return se?function oe(te,se){if(null!=te){if((0,R.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 B(te,se){return new F.c(g=>{let n=0;return se.schedule(function(){n===te.length?g.complete():(g.next(te[n++]),g.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,P.T)(te))return w(te,se);if((0,M.x)(te))return function A(te,se){return new F.c(g=>{let n;return(0,S.N)(g,se,()=>{n=te[m.l](),(0,S.N)(g,se,()=>{let o,l;try{({value:o,done:l}=n.next())}catch(s){return void g.error(s)}l?g.complete():g.next(o)},0,!0)}),()=>(0,T.T)(null==n?void 0:n.return)&&n.return()})}(te,se);if((0,V.U)(te))return function W(te,se){return w((0,V.C)(te),se)}(te,se)}throw(0,U.L)(te)}(te,se):(0,a.Tg)(te)}},3726:(Ce,ee,E)=>{"use strict";E.d(ee,{R:()=>B});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"],F=["on","off"];function B(R,$,k,M){if((0,c.T)(k)&&(M=k,k=void 0),M)return B(R,$,k).pipe((0,D.I)(M));const[P,U]=function w(R){return(0,c.T)(R.addEventListener)&&(0,c.T)(R.removeEventListener)}(R)?_.map(V=>W=>R[V]($,W,k)):function T(R){return(0,c.T)(R.addListener)&&(0,c.T)(R.removeListener)}(R)?C.map(m(R,$)):function A(R){return(0,c.T)(R.on)&&(0,c.T)(R.off)}(R)?F.map(m(R,$)):[];if(!P&&(0,O.X)(R))return(0,p.Z)(V=>B(V,$,k))((0,a.Tg)(R));if(!P)throw new TypeError("Invalid event target");return new S.c(V=>{const W=(...oe)=>V.next(1U(W)})}function m(R,$){return k=>M=>R[k]($,M)}},8750:(Ce,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),F=E(5196),B=E(8071),m=E(5334),T=E(3494);function A(V){if(V instanceof O.c)return V;if(null!=V){if((0,c.l)(V))return function w(V){return new O.c(W=>{const oe=V[T.s]();if((0,B.T)(oe.subscribe))return oe.subscribe(W);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(V);if((0,S.X)(V))return function R(V){return new O.c(W=>{for(let oe=0;oe{V.then(oe=>{W.closed||(W.next(oe),W.complete())},oe=>W.error(oe)).then(null,m.m)})}(V);if((0,D.T)(V))return M(V);if((0,_.x)(V))return function k(V){return new O.c(W=>{for(const oe of V)if(W.next(oe),W.closed)return;W.complete()})}(V);if((0,F.U)(V))return function P(V){return M((0,F.C)(V))}(V)}throw(0,C.L)(V)}function M(V){return new O.c(W=>{(function U(V,W){var oe,me,te,se;return(0,a.sH)(this,void 0,void 0,function*(){try{for(oe=(0,a.xN)(V);!(me=yield oe.next()).done;)if(W.next(me.value),W.closed)return}catch(g){te={error:g}}finally{try{me&&!me.done&&(se=oe.return)&&(yield se.call(oe))}finally{if(te)throw te.error}}W.complete()})})(V,W).catch(oe=>W.error(oe))})}},7673:(Ce,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:(Ce,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:(Ce,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,_,F,B){super(c),this.onFinalize=F,this.shouldUnsubscribe=B,this._next=D?function(m){try{D(m)}catch(T){c.error(T)}}:super._next,this._error=_?function(m){try{_(m)}catch(T){c.error(T)}finally{this.unsubscribe()}}:super._error,this._complete=C?function(){try{C()}catch(m){c.error(m)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:D}=this;super.unsubscribe(),!D&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},9437:(Ce,ee,E)=>{"use strict";E.d(ee,{W:()=>O});var a=E(8750),S=E(4360),p=E(9974);function O(c){return(0,p.N)((D,C)=>{let B,_=null,F=!1;_=D.subscribe((0,S._)(C,void 0,void 0,m=>{B=(0,a.Tg)(c(m,O(c)(D))),_?(_.unsubscribe(),_=null,B.subscribe(C)):F=!0})),F&&(_.unsubscribe(),_=null,B.subscribe(C))})}},274:(Ce,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:(Ce,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,F=>O.call(c,F,_++)&&C.next(F)))})}},980:(Ce,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:(Ce,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,F=>{C.next(O.call(c,F,_++))}))})}},3703:(Ce,ee,E)=>{"use strict";E.d(ee,{u:()=>S});var a=E(6354);function S(p){return(0,a.T)(()=>p)}},6365:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>p});var a=E(3028),S=E(3669);function p(O=1/0){return(0,a.Z)(S.D,O)}},5412:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>O});var a=E(8750),S=E(5225),p=E(4360);function O(c,D,C,_,F,B,m,T){const A=[];let w=0,R=0,$=!1;const k=()=>{$&&!A.length&&!w&&D.complete()},M=U=>w<_?P(U):A.push(U),P=U=>{B&&D.next(U),w++;let V=!1;(0,a.Tg)(C(U,R++)).subscribe((0,p._)(D,W=>{null==F||F(W),B?M(W):D.next(W)},()=>{V=!0},void 0,()=>{if(V)try{for(w--;A.length&&w<_;){const W=A.shift();m?(0,S.N)(D,m,()=>P(W)):P(W)}k()}catch(W){D.error(W)}}))};return c.subscribe((0,p._)(D,M,()=>{$=!0,k()})),()=>{null==T||T()}}},3028:(Ce,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,_,F=1/0){return(0,c.T)(_)?D((B,m)=>(0,a.T)((T,A)=>_(B,T,m,A))((0,S.Tg)(C(B,m))),F):("number"==typeof _&&(F=_),(0,p.N)((B,m)=>(0,O.h)(B,m,C,F)))}},9898:(Ce,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,F=D;D=null,_&&(!F||_===F)&&_.unsubscribe(),c.unsubscribe()});O.subscribe(C),C.closed||(D=O.connect())})}},6649:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(4360);function S(p,O,c,D,C){return(_,F)=>{let B=c,m=O,T=0;_.subscribe((0,a._)(F,A=>{const w=T++;m=B?p(m,A,w):(B=!0,A),D&&F.next(m)},C&&(()=>{B&&F.next(m),F.complete()})))}}},5558:(Ce,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 F=null,B=0,m=!1;const T=()=>m&&!F&&_.complete();C.subscribe((0,p._)(_,A=>{null==F||F.unsubscribe();let w=0;const R=B++;(0,a.Tg)(c(A,R)).subscribe(F=(0,p._)(_,$=>_.next(D?D(A,$,R,w++):$),()=>{F=null,T()}))},()=>{m=!0,T()}))})}},6697:(Ce,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,F=>{++_<=c&&(C.next(F),c<=_&&C.complete())}))})}},8141:(Ce,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 F=(0,a.T)(D)||C||_?{next:D,error:C,complete:_}:D;return F?(0,S.N)((B,m)=>{var T;null===(T=F.subscribe)||void 0===T||T.call(F);let A=!0;B.subscribe((0,p._)(m,w=>{var R;null===(R=F.next)||void 0===R||R.call(F,w),m.next(w)},()=>{var w;A=!1,null===(w=F.complete)||void 0===w||w.call(F),m.complete()},w=>{var R;A=!1,null===(R=F.error)||void 0===R||R.call(F,w),m.error(w)},()=>{var w,R;A&&(null===(w=F.unsubscribe)||void 0===w||w.call(F)),null===(R=F.finalize)||void 0===R||R.call(F)}))}):O.D}},6129:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},9270:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>a});const a={setTimeout(S,p,...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:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>S});const S=(0,E(1853).L)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Ce,ee,E)=>{"use strict";E.d(ee,{R0:()=>D,lI:()=>c,ms:()=>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:(Ce,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 F=O(_);return{args:F.map(B=>_[B]),keys:F}}}return{args:C,keys:null}}},7908:(Ce,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:(Ce,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:(Ce,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:(Ce,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:(Ce,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:(Ce,ee,E)=>{"use strict";function a(S){return S}E.d(ee,{D:()=>a})},7441:(Ce,ee,E)=>{"use strict";E.d(ee,{X:()=>a});const a=S=>S&&"number"==typeof S.length&&"function"!=typeof S},7953:(Ce,ee,E)=>{"use strict";E.d(ee,{T:()=>S});var a=E(8071);function S(p){return Symbol.asyncIterator&&(0,a.T)(null==p?void 0:p[Symbol.asyncIterator])}},8071:(Ce,ee,E)=>{"use strict";function a(S){return"function"==typeof S}E.d(ee,{T:()=>a})},5055:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>p});var a=E(3494),S=E(8071);function p(O){return(0,S.T)(O[a.s])}},5397:(Ce,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:(Ce,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:(Ce,ee,E)=>{"use strict";E.d(ee,{y:()=>S});var a=E(8071);function S(p){return(0,a.T)(null==p?void 0:p.then)}},5196:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>p,U:()=>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:F}=yield(0,a.N3)(C.read());if(F)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:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>S});var a=E(8071);function S(p){return p&&(0,a.T)(p.schedule)}},9974:(Ce,ee,E)=>{"use strict";E.d(ee,{N:()=>p,S:()=>S});var a=E(8071);function S(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:(Ce,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:(Ce,ee,E)=>{"use strict";function a(){}E.d(ee,{l:()=>a})},1203:(Ce,ee,E)=>{"use strict";E.d(ee,{F:()=>S,m:()=>p});var a=E(3669);function S(...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:(Ce,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:(Ce,ee,E)=>{"use strict";function a(S){return new TypeError(`You provided ${null!==S&&"object"==typeof S?"an invalid object":`'${S}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}E.d(ee,{L:()=>a})},7054:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.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:(Ce,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,F=0;F=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")},Ce.exports=S},5443:(Ce,ee,E)=>{var a=Ce.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:(Ce,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(B){return B<<5|B>>>27}function _(B){return B<<30|B>>>2}function F(B,m,T,A){return 0===B?m&T|~m&A:2===B?m&T|m&A|T&A:m^T^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(B){for(var m=this._w,T=0|this._a,A=0|this._b,w=0|this._c,R=0|this._d,$=0|this._e,k=0;k<16;++k)m[k]=B.readInt32BE(4*k);for(;k<80;++k)m[k]=m[k-3]^m[k-8]^m[k-14]^m[k-16];for(var M=0;M<80;++M){var P=~~(M/20),U=C(T)+F(P,A,w,R)+$+m[M]+O[P]|0;$=R,R=w,w=_(A),A=T,T=U}this._a=T+this._a|0,this._b=A+this._b|0,this._c=w+this._c|0,this._d=R+this._d|0,this._e=$+this._e|0},D.prototype._hash=function(){var B=p.allocUnsafe(20);return B.writeInt32BE(0|this._a,0),B.writeInt32BE(0|this._b,4),B.writeInt32BE(0|this._c,8),B.writeInt32BE(0|this._d,12),B.writeInt32BE(0|this._e,16),B},Ce.exports=D},1270:(Ce,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(m){return m<<1|m>>>31}function _(m){return m<<5|m>>>27}function F(m){return m<<30|m>>>2}function B(m,T,A,w){return 0===m?T&A|~T&w:2===m?T&A|T&w|A&w:T^A^w}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(m){for(var T=this._w,A=0|this._a,w=0|this._b,R=0|this._c,$=0|this._d,k=0|this._e,M=0;M<16;++M)T[M]=m.readInt32BE(4*M);for(;M<80;++M)T[M]=C(T[M-3]^T[M-8]^T[M-14]^T[M-16]);for(var P=0;P<80;++P){var U=~~(P/20),V=_(A)+B(U,w,R,$)+k+T[P]+O[U]|0;k=$,$=R,R=F(w),w=A,A=V}this._a=A+this._a|0,this._b=w+this._b|0,this._c=R+this._c|0,this._d=$+this._d|0,this._e=k+this._e|0},D.prototype._hash=function(){var m=p.allocUnsafe(20);return m.writeInt32BE(0|this._a,0),m.writeInt32BE(0|this._b,4),m.writeInt32BE(0|this._c,8),m.writeInt32BE(0|this._d,12),m.writeInt32BE(0|this._e,16),m},Ce.exports=D},2709:(Ce,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},Ce.exports=D},2148:(Ce,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,w,R){return R^A&(w^R)}function _(A,w,R){return A&w|R&(A|w)}function F(A){return(A>>>2|A<<30)^(A>>>13|A<<19)^(A>>>22|A<<10)}function B(A){return(A>>>6|A<<26)^(A>>>11|A<<21)^(A>>>25|A<<7)}function m(A){return(A>>>7|A<<25)^(A>>>18|A<<14)^A>>>3}function T(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 w=this._w,R=0|this._a,$=0|this._b,k=0|this._c,M=0|this._d,P=0|this._e,U=0|this._f,V=0|this._g,W=0|this._h,oe=0;oe<16;++oe)w[oe]=A.readInt32BE(4*oe);for(;oe<64;++oe)w[oe]=T(w[oe-2])+w[oe-7]+m(w[oe-15])+w[oe-16]|0;for(var me=0;me<64;++me){var te=W+B(P)+C(P,U,V)+O[me]+w[me]|0,se=F(R)+_(R,$,k)|0;W=V,V=U,U=P,P=M+te|0,M=k,k=$,$=R,R=te+se|0}this._a=R+this._a|0,this._b=$+this._b|0,this._c=k+this._c|0,this._d=M+this._d|0,this._e=P+this._e|0,this._f=U+this._f|0,this._g=V+this._g|0,this._h=W+this._h|0},D.prototype._hash=function(){var A=p.allocUnsafe(32);return A.writeInt32BE(this._a,0),A.writeInt32BE(this._b,4),A.writeInt32BE(this._c,8),A.writeInt32BE(this._d,12),A.writeInt32BE(this._e,16),A.writeInt32BE(this._f,20),A.writeInt32BE(this._g,24),A.writeInt32BE(this._h,28),A},Ce.exports=D},1856:(Ce,ee,E)=>{var a=E(1993),S=E(3121),p=E(463),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 _(F,B,m){C.writeInt32BE(F,m),C.writeInt32BE(B,m+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},Ce.exports=D},3121:(Ce,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 F($,k){return($>>>28|k<<4)^(k>>>2|$<<30)^(k>>>7|$<<25)}function B($,k){return($>>>14|k<<18)^($>>>18|k<<14)^(k>>>9|$<<23)}function m($,k){return($>>>1|k<<31)^($>>>8|k<<24)^$>>>7}function T($,k){return($>>>1|k<<31)^($>>>8|k<<24)^($>>>7|k<<25)}function A($,k){return($>>>19|k<<13)^(k>>>29|$<<3)^$>>>6}function w($,k){return($>>>19|k<<13)^(k>>>29|$<<3)^($>>>6|k<<26)}function R($,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,P=0|this._bh,U=0|this._ch,V=0|this._dh,W=0|this._eh,oe=0|this._fh,me=0|this._gh,te=0|this._hh,se=0|this._al,g=0|this._bl,n=0|this._cl,o=0|this._dl,l=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 d=k[y-30],r=k[y-30+1],f=m(d,r),L=T(r,d),I=A(d=k[y-4],r=k[y-4+1]),j=w(r,d),xe=k[y-32],De=k[y-32+1],Q=L+k[y-14+1]|0,ae=f+k[y-14]+R(Q,L)|0;ae=(ae=ae+I+R(Q=Q+j|0,j)|0)+xe+R(Q=Q+De|0,De)|0,k[y]=ae,k[y+1]=Q}for(var tt=0;tt<160;tt+=2){ae=k[tt],Q=k[tt+1];var Oe=_(M,P,U),pe=_(se,g,n),Te=F(M,se),Be=F(se,M),re=B(W,l),ne=B(l,W),G=O[tt],ge=O[tt+1],xt=C(W,oe,me),Qe=C(l,s,h),rt=v+ne|0,rn=te+re+R(rt,v)|0;rn=(rn=(rn=rn+xt+R(rt=rt+Qe|0,Qe)|0)+G+R(rt=rt+ge|0,ge)|0)+ae+R(rt=rt+Q|0,Q)|0;var mt=Be+pe|0,ft=Te+Oe+R(mt,Be)|0;te=me,v=h,me=oe,h=s,oe=W,s=l,W=V+rn+R(l=o+rt|0,o)|0,V=U,o=n,U=P,n=g,P=M,g=se,M=rn+ft+R(se=rt+mt|0,rt)|0}this._al=this._al+se|0,this._bl=this._bl+g|0,this._cl=this._cl+n|0,this._dl=this._dl+o|0,this._el=this._el+l|0,this._fl=this._fl+s|0,this._gl=this._gl+h|0,this._hl=this._hl+v|0,this._ah=this._ah+M+R(this._al,se)|0,this._bh=this._bh+P+R(this._bl,g)|0,this._ch=this._ch+U+R(this._cl,n)|0,this._dh=this._dh+V+R(this._dl,o)|0,this._eh=this._eh+W+R(this._el,l)|0,this._fh=this._fh+oe+R(this._fl,s)|0,this._gh=this._gh+me+R(this._gl,h)|0,this._hh=this._hh+te+R(this._hl,v)|0},D.prototype._hash=function(){var $=p.allocUnsafe(64);function k(M,P,U){$.writeInt32BE(M,U),$.writeInt32BE(P,U+4)}return k(this._ah,this._al,0),k(this._bh,this._bl,8),k(this._ch,this._cl,16),k(this._dh,this._dl,24),k(this._eh,this._el,32),k(this._fh,this._fl,40),k(this._gh,this._gl,48),k(this._hh,this._hl,56),$},Ce.exports=D},7045:(Ce,ee,E)=>{Ce.exports=p;var a=E(4356).EventEmitter;function p(){a.call(this)}E(1993)(p,a),p.Readable=E(1092),p.Writable=E(5492),p.Duplex=E(1030),p.Transform=E(3410),p.PassThrough=E(3824),p.finished=E(7854),p.pipeline=E(6846),p.Stream=p,p.prototype.pipe=function(O,c){var D=this;function C(w){O.writable&&!1===O.write(w)&&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",B),D.on("close",m));var F=!1;function B(){F||(F=!0,O.end())}function m(){F||(F=!0,"function"==typeof O.destroy&&O.destroy())}function T(w){if(A(),0===a.listenerCount(this,"error"))throw w}function A(){D.removeListener("data",C),O.removeListener("drain",_),D.removeListener("end",B),D.removeListener("close",m),D.removeListener("error",T),O.removeListener("error",T),D.removeListener("end",A),D.removeListener("close",A),O.removeListener("close",A)}return D.on("error",T),O.on("error",T),D.on("end",A),D.on("close",A),O.on("close",A),O.emit("pipe",D),O}},8083:Ce=>{"use strict";var E={};function a(D,C,_){_||(_=Error);var B=function(m){function T(A,w,R){return m.call(this,function F(m,T,A){return"string"==typeof C?C:C(m,T,A)}(A,w,R))||this}return function ee(D,C){D.prototype=Object.create(C.prototype),D.prototype.constructor=D,D.__proto__=C}(T,m),T}(_);B.prototype.name=_.name,B.prototype.code=D,E[D]=B}function S(D,C){if(Array.isArray(D)){var _=D.length;return D=D.map(function(F){return String(F)}),_>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 F,B;if("string"==typeof C&&function p(D,C,_){return D.substr(!_||_<0?0:+_,C.length)===C}(C,"not ")?(F="must not be",C=C.replace(/^not /,"")):F="must be",function O(D,C,_){return(void 0===_||_>D.length)&&(_=D.length),D.substring(_-C.length,_)===C}(D," argument"))B="The ".concat(D," ").concat(F," ").concat(S(C,"type"));else{var m=function c(D,C,_){return"number"!=typeof _&&(_=0),!(_+C.length>D.length)&&-1!==D.indexOf(C,_)}(D,".")?"property":"argument";B='The "'.concat(D,'" ').concat(m," ").concat(F," ").concat(S(C,"type"))}return B+". 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"),Ce.exports.F=E},1030:(Ce,ee,E)=>{"use strict";var a=Object.keys||function(B){var m=[];for(var T in B)m.push(T);return m};Ce.exports=C;var S=E(1092),p=E(5492);E(1993)(C,S);for(var O=a(p.prototype),c=0;c{"use strict";Ce.exports=S;var a=E(3410);function S(p){if(!(this instanceof S))return new S(p);a.call(this,p)}E(1993)(S,a),S.prototype._transform=function(p,O,c){c(null,p)}},1092:(Ce,ee,E)=>{"use strict";var a;Ce.exports=g,g.ReadableState=se,E(4356);var B,p=function(Te,Be){return Te.listeners(Be).length},O=E(2601),c=E(3838).Buffer,D=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},F=E(7199);B=F&&F.debuglog?F.debuglog("stream"):function(){};var U,V,W,m=E(7606),T=E(8152),w=E(2827).getHighWaterMark,R=E(8083).F,$=R.ERR_INVALID_ARG_TYPE,k=R.ERR_STREAM_PUSH_AFTER_EOF,M=R.ERR_METHOD_NOT_IMPLEMENTED,P=R.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;E(1993)(g,O);var oe=T.errorOrDestroy,me=["error","close","destroy","pause","resume"];function se(pe,Te,Be){a=a||E(1030),"boolean"!=typeof Be&&(Be=Te instanceof a),this.objectMode=!!(pe=pe||{}).objectMode,Be&&(this.objectMode=this.objectMode||!!pe.readableObjectMode),this.highWaterMark=w(this,pe,"readableHighWaterMark",Be),this.buffer=new m,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 g(pe){if(a=a||E(1030),!(this instanceof g))return new g(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,Te,Be,re,ne){B("readableAddChunk",Te);var ge,G=pe._readableState;if(null===Te)G.reading=!1,function y(pe,Te){if(B("onEofChunk"),!Te.ended){if(Te.decoder){var Be=Te.decoder.end();Be&&Be.length&&(Te.buffer.push(Be),Te.length+=Te.objectMode?1:Be.length)}Te.ended=!0,Te.sync?d(pe):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,r(pe)))}}(pe,G);else if(ne||(ge=function l(pe,Te){var Be;return!function _(pe){return c.isBuffer(pe)||pe instanceof D}(Te)&&"string"!=typeof Te&&void 0!==Te&&!pe.objectMode&&(Be=new $("chunk",["string","Buffer","Uint8Array"],Te)),Be}(G,Te)),ge)oe(pe,ge);else if(G.objectMode||Te&&Te.length>0)if("string"!=typeof Te&&!G.objectMode&&Object.getPrototypeOf(Te)!==c.prototype&&(Te=function C(pe){return c.from(pe)}(Te)),re)G.endEmitted?oe(pe,new P):o(pe,G,Te,!0);else if(G.ended)oe(pe,new k);else{if(G.destroyed)return!1;G.reading=!1,G.decoder&&!Be?(Te=G.decoder.write(Te),G.objectMode||0!==Te.length?o(pe,G,Te,!1):f(pe,G)):o(pe,G,Te,!1)}else re||(G.reading=!1,f(pe,G));return!G.ended&&(G.lengthTe.highWaterMark&&(Te.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<=Te.length?pe:Te.ended?Te.length:(Te.needReadable=!0,0))}function d(pe){var Te=pe._readableState;B("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(B("emitReadable",Te.flowing),Te.emittedReadable=!0,process.nextTick(r,pe))}function r(pe){var Te=pe._readableState;B("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&(pe.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,De(pe)}function f(pe,Te){Te.readingMore||(Te.readingMore=!0,process.nextTick(L,pe,Te))}function L(pe,Te){for(;!Te.reading&&!Te.ended&&(Te.length0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:pe.listenerCount("data")>0&&pe.resume()}function J(pe){B("readable nexttick read 0"),pe.read(0)}function xe(pe,Te){B("resume",Te.reading),Te.reading||pe.read(0),Te.resumeScheduled=!1,pe.emit("resume"),De(pe),Te.flowing&&!Te.reading&&pe.read(0)}function De(pe){var Te=pe._readableState;for(B("flow",Te.flowing);Te.flowing&&null!==pe.read(););}function Q(pe,Te){return 0===Te.length?null:(Te.objectMode?Be=Te.buffer.shift():!pe||pe>=Te.length?(Be=Te.decoder?Te.buffer.join(""):1===Te.buffer.length?Te.buffer.first():Te.buffer.concat(Te.length),Te.buffer.clear()):Be=Te.buffer.consume(pe,Te.decoder),Be);var Be}function ae(pe){var Te=pe._readableState;B("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,process.nextTick(tt,Te,pe))}function tt(pe,Te){if(B("endReadableNT",pe.endEmitted,pe.length),!pe.endEmitted&&0===pe.length&&(pe.endEmitted=!0,Te.readable=!1,Te.emit("end"),pe.autoDestroy)){var Be=Te._writableState;(!Be||Be.autoDestroy&&Be.finished)&&Te.destroy()}}function Oe(pe,Te){for(var Be=0,re=pe.length;Be=Te.highWaterMark:Te.length>0)||Te.ended))return B("read: emitReadable",Te.length,Te.ended),0===Te.length&&Te.ended?ae(this):d(this),null;if(0===(pe=v(pe,Te))&&Te.ended)return 0===Te.length&&ae(this),null;var ne,re=Te.needReadable;return B("need readable",re),(0===Te.length||Te.length-pe0?Q(pe,Te):null)?(Te.needReadable=Te.length<=Te.highWaterMark,pe=0):(Te.length-=pe,Te.awaitDrain=0),0===Te.length&&(Te.ended||(Te.needReadable=!0),Be!==pe&&Te.ended&&ae(this)),null!==ne&&this.emit("data",ne),ne},g.prototype._read=function(pe){oe(this,new M("_read()"))},g.prototype.pipe=function(pe,Te){var Be=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=pe;break;case 1:re.pipes=[re.pipes,pe];break;default:re.pipes.push(pe)}re.pipesCount+=1,B("pipe count=%d opts=%j",re.pipesCount,Te);var G=Te&&!1===Te.end||pe===process.stdout||pe===process.stderr?It:xt;function xt(){B("onend"),pe.end()}re.endEmitted?process.nextTick(G):Be.once("end",G),pe.on("unpipe",function ge(Cn,St){B("onunpipe"),Cn===Be&&St&&!1===St.hasUnpiped&&(St.hasUnpiped=!0,function rn(){B("cleanup"),pe.removeListener("close",un),pe.removeListener("finish",At),pe.removeListener("drain",Qe),pe.removeListener("error",ft),pe.removeListener("unpipe",ge),Be.removeListener("end",xt),Be.removeListener("end",It),Be.removeListener("data",mt),rt=!0,re.awaitDrain&&(!pe._writableState||pe._writableState.needDrain)&&Qe()}())});var Qe=function I(pe){return function(){var Be=pe._readableState;B("pipeOnDrain",Be.awaitDrain),Be.awaitDrain&&Be.awaitDrain--,0===Be.awaitDrain&&p(pe,"data")&&(Be.flowing=!0,De(pe))}}(Be);pe.on("drain",Qe);var rt=!1;function mt(Cn){B("ondata");var St=pe.write(Cn);B("dest.write",St),!1===St&&((1===re.pipesCount&&re.pipes===pe||re.pipesCount>1&&-1!==Oe(re.pipes,pe))&&!rt&&(B("false write response, pause",re.awaitDrain),re.awaitDrain++),Be.pause())}function ft(Cn){B("onerror",Cn),It(),pe.removeListener("error",ft),0===p(pe,"error")&&oe(pe,Cn)}function un(){pe.removeListener("finish",At),It()}function At(){B("onfinish"),pe.removeListener("close",un),It()}function It(){B("unpipe"),Be.unpipe(pe)}return Be.on("data",mt),function te(pe,Te,Be){if("function"==typeof pe.prependListener)return pe.prependListener(Te,Be);pe._events&&pe._events[Te]?Array.isArray(pe._events[Te])?pe._events[Te].unshift(Be):pe._events[Te]=[Be,pe._events[Te]]:pe.on(Te,Be)}(pe,"error",ft),pe.once("close",un),pe.once("finish",At),pe.emit("pipe",Be),re.flowing||(B("pipe resume"),Be.resume()),pe},g.prototype.unpipe=function(pe){var Te=this._readableState,Be={hasUnpiped:!1};if(0===Te.pipesCount)return this;if(1===Te.pipesCount)return pe&&pe!==Te.pipes||(pe||(pe=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,pe&&pe.emit("unpipe",this,Be)),this;if(!pe){var re=Te.pipes,ne=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var G=0;G0,!1!==re.flowing&&this.resume()):"readable"===pe&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,B("on readable",re.length,re.reading),re.length?d(this):re.reading||process.nextTick(J,this)),Be},g.prototype.removeListener=function(pe,Te){var Be=O.prototype.removeListener.call(this,pe,Te);return"readable"===pe&&process.nextTick(j,this),Be},g.prototype.removeAllListeners=function(pe){var Te=O.prototype.removeAllListeners.apply(this,arguments);return("readable"===pe||void 0===pe)&&process.nextTick(j,this),Te},g.prototype.resume=function(){var pe=this._readableState;return pe.flowing||(B("resume"),pe.flowing=!pe.readableListening,function ie(pe,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,process.nextTick(xe,pe,Te))}(this,pe)),pe.paused=!1,this},g.prototype.pause=function(){return B("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(B("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},g.prototype.wrap=function(pe){var Te=this,Be=this._readableState,re=!1;for(var ne in pe.on("end",function(){if(B("wrapped end"),Be.decoder&&!Be.ended){var ge=Be.decoder.end();ge&&ge.length&&Te.push(ge)}Te.push(null)}),pe.on("data",function(ge){B("wrapped data"),Be.decoder&&(ge=Be.decoder.write(ge)),Be.objectMode&&null==ge||!(Be.objectMode||ge&&ge.length)||Te.push(ge)||(re=!0,pe.pause())}),pe)void 0===this[ne]&&"function"==typeof pe[ne]&&(this[ne]=function(xt){return function(){return pe[xt].apply(pe,arguments)}}(ne));for(var G=0;G{"use strict";Ce.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(m,T){var A=this._transformState;A.transforming=!1;var w=A.writecb;if(null===w)return this.emit("error",new p);A.writechunk=null,A.writecb=null,null!=T&&this.push(T),w(m);var R=this._readableState;R.reading=!1,(R.needReadable||R.length{"use strict";function S(De){var Q=this;this.next=null,this.entry=null,this.finish=function(){!function xe(De,Q,ae){var tt=De.entry;for(De.entry=null;tt;){var Oe=tt.callback;Q.pendingcb--,Oe(ae),tt=tt.next}Q.corkedRequestsFree.next=De}(Q,De)}}var p;Ce.exports=se,se.WritableState=me;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(){},B=E(8152),T=E(2827).getHighWaterMark,A=E(8083).F,w=A.ERR_INVALID_ARG_TYPE,R=A.ERR_METHOD_NOT_IMPLEMENTED,$=A.ERR_MULTIPLE_CALLBACK,k=A.ERR_STREAM_CANNOT_PIPE,M=A.ERR_STREAM_DESTROYED,P=A.ERR_STREAM_NULL_VALUES,U=A.ERR_STREAM_WRITE_AFTER_END,V=A.ERR_UNKNOWN_ENCODING,W=B.errorOrDestroy;function oe(){}function me(De,Q,ae){p=p||E(1030),"boolean"!=typeof ae&&(ae=Q instanceof p),this.objectMode=!!(De=De||{}).objectMode,ae&&(this.objectMode=this.objectMode||!!De.writableObjectMode),this.highWaterMark=T(this,De,"writableHighWaterMark",ae),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===De.decodeStrings),this.defaultEncoding=De.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Oe){!function y(De,Q){var ae=De._writableState,tt=ae.sync,Oe=ae.writecb;if("function"!=typeof Oe)throw new $;if(function v(De){De.writing=!1,De.writecb=null,De.length-=De.writelen,De.writelen=0}(ae),Q)!function h(De,Q,ae,tt,Oe){--Q.pendingcb,ae?(process.nextTick(Oe,tt),process.nextTick(J,De,Q),De._writableState.errorEmitted=!0,W(De,tt)):(Oe(tt),De._writableState.errorEmitted=!0,W(De,tt),J(De,Q))}(De,ae,tt,Q,Oe);else{var pe=L(ae)||De.destroyed;!pe&&!ae.corked&&!ae.bufferProcessing&&ae.bufferedRequest&&f(De,ae),tt?process.nextTick(d,De,ae,pe,Oe):d(De,ae,pe,Oe)}}(Q,Oe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==De.emitClose,this.autoDestroy=!!De.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new S(this)}function se(De){var Q=this instanceof(p=p||E(1030));if(!Q&&!te.call(se,this))return new se(De);this._writableState=new me(De,this,Q),this.writable=!0,De&&("function"==typeof De.write&&(this._write=De.write),"function"==typeof De.writev&&(this._writev=De.writev),"function"==typeof De.destroy&&(this._destroy=De.destroy),"function"==typeof De.final&&(this._final=De.final)),c.call(this)}function s(De,Q,ae,tt,Oe,pe,Te){Q.writelen=tt,Q.writecb=Te,Q.writing=!0,Q.sync=!0,Q.destroyed?Q.onwrite(new M("write")):ae?De._writev(Oe,Q.onwrite):De._write(Oe,pe,Q.onwrite),Q.sync=!1}function d(De,Q,ae,tt){ae||function r(De,Q){0===Q.length&&Q.needDrain&&(Q.needDrain=!1,De.emit("drain"))}(De,Q),Q.pendingcb--,tt(),J(De,Q)}function f(De,Q){Q.bufferProcessing=!0;var ae=Q.bufferedRequest;if(De._writev&&ae&&ae.next){var Oe=new Array(Q.bufferedRequestCount),pe=Q.corkedRequestsFree;pe.entry=ae;for(var Te=0,Be=!0;ae;)Oe[Te]=ae,ae.isBuf||(Be=!1),ae=ae.next,Te+=1;Oe.allBuffers=Be,s(De,Q,!0,Q.length,Oe,"",pe.finish),Q.pendingcb++,Q.lastBufferedRequest=null,pe.next?(Q.corkedRequestsFree=pe.next,pe.next=null):Q.corkedRequestsFree=new S(Q),Q.bufferedRequestCount=0}else{for(;ae;){var re=ae.chunk;if(s(De,Q,!1,Q.objectMode?1:re.length,re,ae.encoding,ae.callback),ae=ae.next,Q.bufferedRequestCount--,Q.writing)break}null===ae&&(Q.lastBufferedRequest=null)}Q.bufferedRequest=ae,Q.bufferProcessing=!1}function L(De){return De.ending&&0===De.length&&null===De.bufferedRequest&&!De.finished&&!De.writing}function I(De,Q){De._final(function(ae){Q.pendingcb--,ae&&W(De,ae),Q.prefinished=!0,De.emit("prefinish"),J(De,Q)})}function J(De,Q){var ae=L(Q);if(ae&&(function j(De,Q){!Q.prefinished&&!Q.finalCalled&&("function"!=typeof De._final||Q.destroyed?(Q.prefinished=!0,De.emit("prefinish")):(Q.pendingcb++,Q.finalCalled=!0,process.nextTick(I,De,Q)))}(De,Q),0===Q.pendingcb&&(Q.finished=!0,De.emit("finish"),Q.autoDestroy))){var tt=De._readableState;(!tt||tt.autoDestroy&&tt.endEmitted)&&De.destroy()}return ae}E(1993)(se,c),me.prototype.getBuffer=function(){for(var Q=this.bufferedRequest,ae=[];Q;)ae.push(Q),Q=Q.next;return ae},function(){try{Object.defineProperty(me.prototype,"buffer",{get: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 me}})):te=function(Q){return Q instanceof this},se.prototype.pipe=function(){W(this,new k)},se.prototype.write=function(De,Q,ae){var tt=this._writableState,Oe=!1,pe=!tt.objectMode&&function F(De){return D.isBuffer(De)||De instanceof C}(De);return pe&&!D.isBuffer(De)&&(De=function _(De){return D.from(De)}(De)),"function"==typeof Q&&(ae=Q,Q=null),pe?Q="buffer":Q||(Q=tt.defaultEncoding),"function"!=typeof ae&&(ae=oe),tt.ending?function g(De,Q){var ae=new U;W(De,ae),process.nextTick(Q,ae)}(this,ae):(pe||function n(De,Q,ae,tt){var Oe;return null===ae?Oe=new P:"string"!=typeof ae&&!Q.objectMode&&(Oe=new w("chunk",["string","Buffer"],ae)),!Oe||(W(De,Oe),process.nextTick(tt,Oe),!1)}(this,tt,De,ae))&&(tt.pendingcb++,Oe=function l(De,Q,ae,tt,Oe,pe){if(!ae){var Te=function o(De,Q,ae){return!De.objectMode&&!1!==De.decodeStrings&&"string"==typeof Q&&(Q=D.from(Q,ae)),Q}(Q,tt,Oe);tt!==Te&&(ae=!0,Oe="buffer",tt=Te)}var Be=Q.objectMode?1:tt.length;Q.length+=Be;var re=Q.length-1))throw new V(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(De,Q,ae){ae(new R("_write()"))},se.prototype._writev=null,se.prototype.end=function(De,Q,ae){var tt=this._writableState;return"function"==typeof De?(ae=De,De=null,Q=null):"function"==typeof Q&&(ae=Q,Q=null),null!=De&&this.write(De,Q),tt.corked&&(tt.corked=1,this.uncork()),tt.ending||function ie(De,Q,ae){Q.ending=!0,J(De,Q),ae&&(Q.finished?process.nextTick(ae):De.once("finish",ae)),Q.ended=!0,De.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=B.destroy,se.prototype._undestroy=B.undestroy,se.prototype._destroy=function(De,Q){Q(De)}},2683:(Ce,ee,E)=>{"use strict";var a;function S(U,V,W){return V=function p(U){var V=function O(U,V){if("object"!=typeof U||null===U)return U;var W=U[Symbol.toPrimitive];if(void 0!==W){var oe=W.call(U,V||"default");if("object"!=typeof oe)return oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===V?String:Number)(U)}(U,"string");return"symbol"==typeof V?V:String(V)}(V),V in U?Object.defineProperty(U,V,{value:W,enumerable:!0,configurable:!0,writable:!0}):U[V]=W,U}var c=E(7854),D=Symbol("lastResolve"),C=Symbol("lastReject"),_=Symbol("error"),F=Symbol("ended"),B=Symbol("lastPromise"),m=Symbol("handlePromise"),T=Symbol("stream");function A(U,V){return{value:U,done:V}}function w(U){var V=U[D];if(null!==V){var W=U[T].read();null!==W&&(U[B]=null,U[D]=null,U[C]=null,V(A(W,!1)))}}function R(U){process.nextTick(w,U)}var k=Object.getPrototypeOf(function(){}),M=Object.setPrototypeOf((S(a={get stream(){return this[T]},next:function(){var V=this,W=this[_];if(null!==W)return Promise.reject(W);if(this[F])return Promise.resolve(A(void 0,!0));if(this[T].destroyed)return new Promise(function(se,g){process.nextTick(function(){V[_]?g(V[_]):se(A(void 0,!0))})});var me,oe=this[B];if(oe)me=new Promise(function $(U,V){return function(W,oe){U.then(function(){V[F]?W(A(void 0,!0)):V[m](W,oe)},oe)}}(oe,this));else{var te=this[T].read();if(null!==te)return Promise.resolve(A(te,!1));me=new Promise(this[m])}return this[B]=me,me}},Symbol.asyncIterator,function(){return this}),S(a,"return",function(){var V=this;return new Promise(function(W,oe){V[T].destroy(null,function(me){me?oe(me):W(A(void 0,!0))})})}),a),k);Ce.exports=function(V){var W,oe=Object.create(M,(S(W={},T,{value:V,writable:!0}),S(W,D,{value:null,writable:!0}),S(W,C,{value:null,writable:!0}),S(W,_,{value:null,writable:!0}),S(W,F,{value:V._readableState.endEmitted,writable:!0}),S(W,m,{value:function(te,se){var g=oe[T].read();g?(oe[B]=null,oe[D]=null,oe[C]=null,te(A(g,!1))):(oe[D]=te,oe[C]=se)},writable:!0}),W));return oe[B]=null,c(V,function(me){if(me&&"ERR_STREAM_PREMATURE_CLOSE"!==me.code){var te=oe[C];return null!==te&&(oe[B]=null,oe[D]=null,oe[C]=null,te(me)),void(oe[_]=me)}var se=oe[D];null!==se&&(oe[B]=null,oe[D]=null,oe[C]=null,se(A(void 0,!0))),oe[F]=!0}),V.on("readable",R.bind(null,oe)),oe}},7606:(Ce,ee,E)=>{"use strict";function a(R,$){var k=Object.keys(R);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(R);$&&(M=M.filter(function(P){return Object.getOwnPropertyDescriptor(R,P).enumerable})),k.push.apply(k,M)}return k}function S(R){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,P=""+M.data;M=M.next;)P+=k+M.data;return P}},{key:"concat",value:function(k){if(0===this.length)return B.alloc(0);for(var M=B.allocUnsafe(k>>>0),P=this.head,U=0;P;)w(P.data,M,U),U+=P.data.length,P=P.next;return M}},{key:"consume",value:function(k,M){var P;return kV.length?V.length:k;if(U+=W===V.length?V:V.slice(0,k),0==(k-=W)){W===V.length?(++P,this.head=M.next?M.next:this.tail=null):(this.head=M,M.data=V.slice(W));break}++P}return this.length-=P,U}},{key:"_getBuffer",value:function(k){var M=B.allocUnsafe(k),P=this.head,U=1;for(P.data.copy(M),k-=P.data.length;P=P.next;){var V=P.data,W=k>V.length?V.length:k;if(V.copy(M,M.length-k,0,W),0==(k-=W)){W===V.length?(++U,this.head=P.next?P.next:this.tail=null):(this.head=P,P.data=V.slice(W));break}++U}return this.length-=U,M}},{key:A,value:function(k,M){return T(this,S(S({},M),{},{depth:0,customInspect:!1}))}}]),R}()},8152:Ce=>{"use strict";function E(c,D){p(c,D),a(c)}function a(c){c._writableState&&!c._writableState.emitClose||c._readableState&&!c._readableState.emitClose||c.emit("close")}function p(c,D){c.emit("error",D)}Ce.exports={destroy:function ee(c,D){var C=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(D?D(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(p,this,c)):process.nextTick(p,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(B){!D&&B?C._writableState?C._writableState.errorEmitted?process.nextTick(a,C):(C._writableState.errorEmitted=!0,process.nextTick(E,C,B)):process.nextTick(E,C,B):D?(process.nextTick(a,C),D(B)):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:(Ce,ee,E)=>{"use strict";var a=E(8083).F.ERR_STREAM_PREMATURE_CLOSE;function p(){}Ce.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,F=new Array(_),B=0;B<_;B++)F[B]=arguments[B];D.apply(this,F)}}}(_||p);var F=C.readable||!1!==C.readable&&D.readable,B=C.writable||!1!==C.writable&&D.writable,m=function(){D.writable||A()},T=D._writableState&&D._writableState.finished,A=function(){B=!1,T=!0,F||_.call(D)},w=D._readableState&&D._readableState.endEmitted,R=function(){F=!1,w=!0,B||_.call(D)},$=function(U){_.call(D,U)},k=function(){var U;return F&&!w?((!D._readableState||!D._readableState.ended)&&(U=new a),_.call(D,U)):B&&!T?((!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)):B&&!D._writableState&&(D.on("end",m),D.on("close",m)),D.on("end",R),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",m),D.removeListener("close",m),D.removeListener("finish",A),D.removeListener("end",R),D.removeListener("error",$),D.removeListener("close",k)}}},7765:Ce=>{Ce.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(Ce,ee,E)=>{"use strict";var a,p=E(8083).F,O=p.ERR_MISSING_ARGS,c=p.ERR_STREAM_DESTROYED;function D(A){if(A)throw A}function F(A){A()}function B(A,w){return A.pipe(w)}Ce.exports=function T(){for(var A=arguments.length,w=new Array(A),R=0;R0,function(oe){k||(k=oe),oe&&M.forEach(F),!V&&(M.forEach(F),$(k))})});return w.reduce(B)}},2827:(Ce,ee,E)=>{"use strict";var a=E(8083).F.ERR_INVALID_OPT_VALUE;Ce.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:(Ce,ee,E)=>{Ce.exports=E(4356).EventEmitter},8454:(Ce,ee,E)=>{"use strict";var a=E(4272).Buffer,S=a.isEncoding||function(M){switch((M=""+M)&&M.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function c(M){var P;switch(this.encoding=function O(M){var P=function p(M){if(!M)return"utf8";for(var P;;)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(P)return;M=(""+M).toLowerCase(),P=!0}}(M);if("string"!=typeof P&&(a.isEncoding===S||!S(M)))throw new Error("Unknown encoding: "+M);return P||M}(M),this.encoding){case"utf16le":this.text=T,this.end=A,P=4;break;case"utf8":this.fillLast=F,P=4;break;case"base64":this.text=w,this.end=R,P=3;break;default:return this.write=$,void(this.end=k)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(P)}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 F(M){var P=this.lastTotal-this.lastNeed,U=function _(M,P,U){if(128!=(192&P[0]))return M.lastNeed=0,"\ufffd";if(M.lastNeed>1&&P.length>1){if(128!=(192&P[1]))return M.lastNeed=1,"\ufffd";if(M.lastNeed>2&&P.length>2&&128!=(192&P[2]))return M.lastNeed=2,"\ufffd"}}(this,M);return void 0!==U?U:this.lastNeed<=M.length?(M.copy(this.lastChar,P,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,P,0,M.length),void(this.lastNeed-=M.length))}function T(M,P){if((M.length-P)%2==0){var U=M.toString("utf16le",P);if(U){var V=U.charCodeAt(U.length-1);if(V>=55296&&V<=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",P,M.length-1)}function A(M){var P=M&&M.length?this.write(M):"";return this.lastNeed?P+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):P}function w(M,P){var U=(M.length-P)%3;return 0===U?M.toString("base64",P):(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",P,M.length-U))}function R(M){var P=M&&M.length?this.write(M):"";return this.lastNeed?P+this.lastChar.toString("base64",0,3-this.lastNeed):P}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 P,U;if(this.lastNeed){if(void 0===(P=this.fillLast(M)))return"";U=this.lastNeed,this.lastNeed=0}else U=0;return U=0?(W>0&&(M.lastNeed=W-1),W):--V=0?(W>0&&(M.lastNeed=W-2),W):--V=0?(W>0&&(2===W?W=0:M.lastNeed=W-3),W):0}(this,M,P);if(!this.lastNeed)return M.toString("utf8",P);this.lastTotal=U;var V=M.length-(U-this.lastNeed);return M.copy(this.lastChar,0,V),M.toString("utf8",P,V)},c.prototype.fillLast=function(M){if(this.lastNeed<=M.length)return M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,M.length),this.lastNeed-=M.length}},4272:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.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:Ce=>{function E(a){try{if(!global.localStorage)return!1}catch{return!1}var S=global.localStorage[a];return null!=S&&"true"===String(S).toLowerCase()}Ce.exports=function ee(a,S){if(E("noDeprecation"))return a;var p=!1;return function 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:(Ce,ee,E)=>{"use strict";E.d(ee,{A:()=>m});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 T=0;T<256;++T)D.push((T+256).toString(16).slice(1));const m=function B(T,A,w){if(S.randomUUID&&!A&&!T)return S.randomUUID();const R=(T=T||{}).random||(T.rng||c)();if(R[6]=15&R[6]|64,R[8]=63&R[8]|128,A){w=w||0;for(let $=0;$<16;++$)A[w+$]=R[$];return A}return function C(T,A=0){return D[T[A+0]]+D[T[A+1]]+D[T[A+2]]+D[T[A+3]]+"-"+D[T[A+4]]+D[T[A+5]]+"-"+D[T[A+6]]+D[T[A+7]]+"-"+D[T[A+8]]+D[T[A+9]]+"-"+D[T[A+10]]+D[T[A+11]]+D[T[A+12]]+D[T[A+13]]+D[T[A+14]]+D[T[A+15]]}(R)}},8326:(__unused_webpack_module,exports)=>{var indexOf=function(Ce,ee){if(Ce.indexOf)return Ce.indexOf(ee);for(var E=0;E{var a={"./ion-accordion_2.entry.js":[4756,2076,2375],"./ion-action-sheet.entry.js":[8814,2076,8814],"./ion-alert.entry.js":[5222,2076,5222],"./ion-app_8.entry.js":[7720,2076,7720],"./ion-avatar_3.entry.js":[1049,1049],"./ion-back-button.entry.js":[3162,2076,3162],"./ion-backdrop.entry.js":[7240,7240],"./ion-breadcrumb_2.entry.js":[8314,2076,8314],"./ion-button_2.entry.js":[6972,4591],"./ion-card_5.entry.js":[8584,8584],"./ion-checkbox.entry.js":[3511,2076,3511],"./ion-chip.entry.js":[6024,6024],"./ion-col_3.entry.js":[5100,5100],"./ion-datetime-button.entry.js":[7428,771,7428],"./ion-datetime_3.entry.js":[5266,771,2076,2885],"./ion-fab_3.entry.js":[4463,2076,4463],"./ion-img.entry.js":[4183,4183],"./ion-infinite-scroll_2.entry.js":[4171,2076,4171],"./ion-input.entry.js":[9344,2076,9344],"./ion-item-option_3.entry.js":[5949,2076,5949],"./ion-item_8.entry.js":[3506,2076,3506],"./ion-loading.entry.js":[7372,2076,7372],"./ion-menu_3.entry.js":[2075,2076,2075],"./ion-modal.entry.js":[441,2076,441],"./ion-nav_2.entry.js":[5712,2076,5712],"./ion-picker-column-internal.entry.js":[1433,2076,1433],"./ion-picker-internal.entry.js":[2628,2628],"./ion-popover.entry.js":[6433,2076,6433],"./ion-progress-bar.entry.js":[9977,9977],"./ion-radio_2.entry.js":[8066,2076,8066],"./ion-range.entry.js":[8477,2076,8477],"./ion-refresher_2.entry.js":[5197,2076,5197],"./ion-reorder_2.entry.js":[7030,2076,7030],"./ion-ripple-effect.entry.js":[964,964],"./ion-route_4.entry.js":[8970,8970],"./ion-searchbar.entry.js":[8193,2076,8193],"./ion-segment_2.entry.js":[2560,2076,2560],"./ion-select_3.entry.js":[7076,2076,7076],"./ion-spinner.entry.js":[8805,2076,8805],"./ion-split-pane.entry.js":[5887,5887],"./ion-tab-bar_2.entry.js":[4406,2076,4406],"./ion-tab_2.entry.js":[1102,1102],"./ion-text.entry.js":[1577,1577],"./ion-textarea.entry.js":[2348,2076,2348],"./ion-toast.entry.js":[2415,2076,2415],"./ion-toggle.entry.js":[3814,2076,3814]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var 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,Ce.exports=S},5235:(Ce,ee,E)=>{var a={"./pwa-action-sheet.entry.js":[6301,6301],"./pwa-camera-modal-instance.entry.js":[5640,5640],"./pwa-camera-modal.entry.js":[2982,2982],"./pwa-camera.entry.js":[6086,6086],"./pwa-toast.entry.js":[3574,3574]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var O=a[p],c=O[0];return E.e(O[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=5235,Ce.exports=S},7321:(Ce,ee,E)=>{var a={"./jeep-sqlite.entry.js":[477,477]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var O=a[p],c=O[0];return E.e(O[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=7321,Ce.exports=S},8982:()=>{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},177:(Ce,ee,E)=>{"use strict";E.d(ee,{AJ:()=>Ai,B3:()=>dt,MD:()=>Di,N0:()=>Bi,QT:()=>p,Sm:()=>$,Sq:()=>Tn,T3:()=>pt,UE:()=>Kr,VF:()=>c,Vw:()=>_,Vy:()=>wi,Xr:()=>mo,YU:()=>kt,ZD:()=>O,_b:()=>lt,aZ:()=>M,bT:()=>fr,fw:()=>k,hb:()=>w,hj:()=>F,qQ:()=>C});var a=E(4438);let S=null;function p(){return S}function O(Y){var ve;null!==(ve=S)&&void 0!==ve||(S=Y)}class c{}const C=new a.nKC("");let _=(()=>{var Y;class ve{historyGo(de){throw new Error("")}}return(Y=ve).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>(0,a.WQX)(B),providedIn:"platform"}),ve})();const F=new a.nKC("");let B=(()=>{var Y;class ve 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 We=p().getGlobalEventTarget(this._doc,"window");return We.addEventListener("popstate",de,!1),()=>We.removeEventListener("popstate",de)}onHashChange(de){const We=p().getGlobalEventTarget(this._doc,"window");return We.addEventListener("hashchange",de,!1),()=>We.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,We,ht){this._history.pushState(de,We,ht)}replaceState(de,We,ht){this._history.replaceState(de,We,ht)}forward(){this._history.forward()}back(){this._history.back()}historyGo(de=0){this._history.go(de)}getState(){return this._history.state}}return(Y=ve).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>new Y,providedIn:"platform"}),ve})();function m(Y,ve){if(0==Y.length)return ve;if(0==ve.length)return Y;let at=0;return Y.endsWith("/")&&at++,ve.startsWith("/")&&at++,2==at?Y+ve.substring(1):1==at?Y+ve:Y+"/"+ve}function T(Y){const ve=Y.match(/#|\?|$/),at=ve&&ve.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 w=(()=>{var Y;class ve{historyGo(de){throw new Error("")}}return(Y=ve).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>(0,a.WQX)($),providedIn:"root"}),ve})();const R=new a.nKC("");let $=(()=>{var Y;class ve extends w{constructor(de,We){var ht,Jt,mn;super(),this._platformLocation=de,this._removeListenerFns=[],this._baseHref=null!==(ht=null!==(Jt=null!=We?We:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Jt?Jt:null===(mn=(0,a.WQX)(C).location)||void 0===mn?void 0:mn.origin)&&void 0!==ht?ht:""}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 m(this._baseHref,de)}path(de=!1){const We=this._platformLocation.pathname+A(this._platformLocation.search),ht=this._platformLocation.hash;return ht&&de?`${We}${ht}`:We}pushState(de,We,ht,Jt){const mn=this.prepareExternalUrl(ht+A(Jt));this._platformLocation.pushState(de,We,mn)}replaceState(de,We,ht,Jt){const mn=this.prepareExternalUrl(ht+A(Jt));this._platformLocation.replaceState(de,We,mn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(de=0){var We,ht;null===(We=(ht=this._platformLocation).historyGo)||void 0===We||We.call(ht,de)}}return(Y=ve).\u0275fac=function(de){return new(de||Y)(a.KVO(_),a.KVO(R,8))},Y.\u0275prov=a.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}),ve})(),k=(()=>{var Y;class ve extends w{constructor(de,We){super(),this._platformLocation=de,this._baseHref="",this._removeListenerFns=[],null!=We&&(this._baseHref=We)}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 We;const ht=null!==(We=this._platformLocation.hash)&&void 0!==We?We:"#";return ht.length>0?ht.substring(1):ht}prepareExternalUrl(de){const We=m(this._baseHref,de);return We.length>0?"#"+We:We}pushState(de,We,ht,Jt){let mn=this.prepareExternalUrl(ht+A(Jt));0==mn.length&&(mn=this._platformLocation.pathname),this._platformLocation.pushState(de,We,mn)}replaceState(de,We,ht,Jt){let mn=this.prepareExternalUrl(ht+A(Jt));0==mn.length&&(mn=this._platformLocation.pathname),this._platformLocation.replaceState(de,We,mn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(de=0){var We,ht;null===(We=(ht=this._platformLocation).historyGo)||void 0===We||We.call(ht,de)}}return(Y=ve).\u0275fac=function(de){return new(de||Y)(a.KVO(_),a.KVO(R,8))},Y.\u0275prov=a.jDH({token:Y,factory:Y.\u0275fac}),ve})(),M=(()=>{var Y;class ve{constructor(de){this._subject=new a.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=de;const We=this._locationStrategy.getBaseHref();this._basePath=function W(Y){if(new RegExp("^(https?:)?//").test(Y)){const[,at]=Y.split(/\/\/[^\/]+/);return at}return Y}(T(V(We))),this._locationStrategy.onPopState(ht=>{this._subject.emit({url:this.path(!0),pop:!0,state:ht.state,type:ht.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,We=""){return this.path()==this.normalize(de+A(We))}normalize(de){return ve.stripTrailingSlash(function U(Y,ve){if(!Y||!ve.startsWith(Y))return ve;const at=ve.substring(Y.length);return""===at||["/",";","?","#"].includes(at[0])?at:ve}(this._basePath,V(de)))}prepareExternalUrl(de){return de&&"/"!==de[0]&&(de="/"+de),this._locationStrategy.prepareExternalUrl(de)}go(de,We="",ht=null){this._locationStrategy.pushState(ht,"",de,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(de+A(We)),ht)}replaceState(de,We="",ht=null){this._locationStrategy.replaceState(ht,"",de,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(de+A(We)),ht)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(de=0){var We,ht;null===(We=(ht=this._locationStrategy).historyGo)||void 0===We||We.call(ht,de)}onUrlChange(de){var We;return this._urlChangeListeners.push(de),null!==(We=this._urlChangeSubscription)&&void 0!==We||(this._urlChangeSubscription=this.subscribe(ht=>{this._notifyUrlChangeListeners(ht.url,ht.state)})),()=>{const ht=this._urlChangeListeners.indexOf(de);var Jt;this._urlChangeListeners.splice(ht,1),0===this._urlChangeListeners.length&&(null===(Jt=this._urlChangeSubscription)||void 0===Jt||Jt.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(de="",We){this._urlChangeListeners.forEach(ht=>ht(de,We))}subscribe(de,We,ht){return this._subject.subscribe({next:de,error:We,complete:ht})}}return(Y=ve).normalizeQueryParams=A,Y.joinWithSlash=m,Y.stripTrailingSlash=T,Y.\u0275fac=function(de){return new(de||Y)(a.KVO(w))},Y.\u0275prov=a.jDH({token:Y,factory:()=>function P(){return new M((0,a.KVO)(w))}(),providedIn:"root"}),ve})();function V(Y){return Y.replace(/\/index.html$/,"")}function lt(Y,ve){ve=encodeURIComponent(ve);for(const at of Y.split(";")){const de=at.indexOf("="),[We,ht]=-1==de?[at,""]:[at.slice(0,de),at.slice(de+1)];if(We.trim()===ve)return decodeURIComponent(ht)}return null}const Tt=/\s+/,Mt=[];let kt=(()=>{var Y;class ve{constructor(de,We){this._ngEl=de,this._renderer=We,this.initialClasses=Mt,this.stateMap=new Map}set klass(de){this.initialClasses=null!=de?de.trim().split(Tt):Mt}set ngClass(de){this.rawClass="string"==typeof de?de.trim().split(Tt):de}ngDoCheck(){for(const We of this.initialClasses)this._updateState(We,!0);const de=this.rawClass;if(Array.isArray(de)||de instanceof Set)for(const We of de)this._updateState(We,!0);else if(null!=de)for(const We of Object.keys(de))this._updateState(We,!!de[We]);this._applyStateDiff()}_updateState(de,We){const ht=this.stateMap.get(de);void 0!==ht?(ht.enabled!==We&&(ht.changed=!0,ht.enabled=We),ht.touched=!0):this.stateMap.set(de,{enabled:We,changed:!0,touched:!0})}_applyStateDiff(){for(const de of this.stateMap){const We=de[0],ht=de[1];ht.changed?(this._toggleClass(We,ht.enabled),ht.changed=!1):ht.touched||(ht.enabled&&this._toggleClass(We,!1),this.stateMap.delete(We)),ht.touched=!1}}_toggleClass(de,We){(de=de.trim()).length>0&&de.split(Tt).forEach(ht=>{We?this._renderer.addClass(this._ngEl.nativeElement,ht):this._renderer.removeClass(this._ngEl.nativeElement,ht)})}}return(Y=ve).\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}),ve})();class Qt{constructor(ve,at,de,We){this.$implicit=ve,this.ngForOf=at,this.index=de,this.count=We}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 ve{set ngForOf(de){this._ngForOf=de,this._ngForOfDirty=!0}set ngForTrackBy(de){this._trackByFn=de}get ngForTrackBy(){return this._trackByFn}constructor(de,We,ht){this._viewContainer=de,this._template=We,this._differs=ht,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 We=this._viewContainer;de.forEachOperation((ht,Jt,mn)=>{if(null==ht.previousIndex)We.createEmbeddedView(this._template,new Qt(ht.item,this._ngForOf,-1,-1),null===mn?void 0:mn);else if(null==mn)We.remove(null===Jt?void 0:Jt);else if(null!==Jt){const Zn=We.get(Jt);We.move(Zn,mn),wn(Zn,ht)}});for(let ht=0,Jt=We.length;ht{wn(We.get(ht.currentIndex),ht)})}static ngTemplateContextGuard(de,We){return!0}}return(Y=ve).\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}),ve})();function wn(Y,ve){Y.context.$implicit=ve.item}let fr=(()=>{var Y;class ve{constructor(de,We){this._viewContainer=de,this._context=new Ge,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=We}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,We){return!0}}return(Y=ve).\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}),ve})();class Ge{constructor(){this.$implicit=null,this.ngIf=null}}function et(Y,ve){if(ve&&!ve.createEmbeddedView)throw new Error(`${Y} must be a TemplateRef, but received '${(0,a.Tbb)(ve)}'.`)}let dt=(()=>{var Y;class ve{constructor(de,We,ht){this._ngEl=de,this._differs=We,this._renderer=ht,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,We){const[ht,Jt]=de.split("."),mn=-1===ht.indexOf("-")?void 0:a.czy.DashCase;null!=We?this._renderer.setStyle(this._ngEl.nativeElement,ht,Jt?`${We}${Jt}`:We,mn):this._renderer.removeStyle(this._ngEl.nativeElement,ht,mn)}_applyChanges(de){de.forEachRemovedItem(We=>this._setStyle(We.key,null)),de.forEachAddedItem(We=>this._setStyle(We.key,We.currentValue)),de.forEachChangedItem(We=>this._setStyle(We.key,We.currentValue))}}return(Y=ve).\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}),ve})(),pt=(()=>{var Y;class ve{constructor(de){this._viewContainerRef=de,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(de){if(this._shouldRecreateView(de)){var We;const ht=this._viewContainerRef;if(this._viewRef&&ht.remove(ht.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Jt=this._createContextForwardProxy();this._viewRef=ht.createEmbeddedView(this.ngTemplateOutlet,Jt,{injector:null!==(We=this.ngTemplateOutletInjector)&&void 0!==We?We:void 0})}}_shouldRecreateView(de){return!!de.ngTemplateOutlet||!!de.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(de,We,ht)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,We,ht),get:(de,We,ht)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,We,ht)}})}}return(Y=ve).\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$]}),ve})(),Di=(()=>{var Y;class ve{}return(Y=ve).\u0275fac=function(de){return new(de||Y)},Y.\u0275mod=a.$C({type:Y}),Y.\u0275inj=a.G2t({}),ve})();const Ai="browser",ji="server";function Kr(Y){return Y===Ai}function wi(Y){return Y===ji}let mo=(()=>{var Y;class ve{}return(Y=ve).\u0275prov=(0,a.jDH)({token:Y,providedIn:"root",factory:()=>Kr((0,a.WQX)(a.Agw))?new Ir((0,a.WQX)(C),window):new Ni}),ve})();class Ir{constructor(ve,at){this.document=ve,this.window=at,this.offset=()=>[0,0]}setOffset(ve){this.offset=Array.isArray(ve)?()=>ve:ve}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(ve){this.window.scrollTo(ve[0],ve[1])}scrollToAnchor(ve){const at=function si(Y,ve){const at=Y.getElementById(ve)||Y.getElementsByName(ve)[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 We=de.currentNode;for(;We;){const ht=We.shadowRoot;if(ht){const Jt=ht.getElementById(ve)||ht.querySelector(`[name="${ve}"]`);if(Jt)return Jt}We=de.nextNode()}}return null}(this.document,ve);at&&(this.scrollToElement(at),at.focus())}setHistoryScrollRestoration(ve){this.window.history.scrollRestoration=ve}scrollToElement(ve){const at=ve.getBoundingClientRect(),de=at.left+this.window.pageXOffset,We=at.top+this.window.pageYOffset,ht=this.offset();this.window.scrollTo(de-ht[0],We-ht[1])}}class Ni{setOffset(ve){}getScrollPosition(){return[0,0]}scrollToPosition(ve){}scrollToAnchor(ve){}setHistoryScrollRestoration(ve){}}class Bi{}},1626:(Ce,ee,E)=>{"use strict";E.d(ee,{Lr:()=>w,Qq:()=>L,q1:()=>en}),E(467);var S=E(4438),p=E(7673),O=E(1985),c=E(6648),D=E(274),C=E(5964),_=E(6354),F=E(980),B=E(5558),m=E(177);class T{}class A{}class w{constructor(lt){this.normalizedNames=new Map,this.lazyUpdate=null,lt?"string"==typeof lt?this.lazyInit=()=>{this.headers=new Map,lt.split("\n").forEach(Tt=>{const Mt=Tt.indexOf(":");if(Mt>0){const kt=Tt.slice(0,Mt),Zt=kt.toLowerCase(),qt=Tt.slice(Mt+1).trim();this.maybeSetNormalizedName(kt,Zt),this.headers.has(Zt)?this.headers.get(Zt).push(qt):this.headers.set(Zt,[qt])}})}:typeof Headers<"u"&< instanceof Headers?(this.headers=new Map,lt.forEach((Tt,Mt)=>{this.setHeaderEntries(Mt,Tt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(lt).forEach(([Tt,Mt])=>{this.setHeaderEntries(Tt,Mt)})}:this.headers=new Map}has(lt){return this.init(),this.headers.has(lt.toLowerCase())}get(lt){this.init();const Tt=this.headers.get(lt.toLowerCase());return Tt&&Tt.length>0?Tt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(lt){return this.init(),this.headers.get(lt.toLowerCase())||null}append(lt,Tt){return this.clone({name:lt,value:Tt,op:"a"})}set(lt,Tt){return this.clone({name:lt,value:Tt,op:"s"})}delete(lt,Tt){return this.clone({name:lt,value:Tt,op:"d"})}maybeSetNormalizedName(lt,Tt){this.normalizedNames.has(Tt)||this.normalizedNames.set(Tt,lt)}init(){this.lazyInit&&(this.lazyInit instanceof w?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(lt=>this.applyUpdate(lt)),this.lazyUpdate=null))}copyFrom(lt){lt.init(),Array.from(lt.headers.keys()).forEach(Tt=>{this.headers.set(Tt,lt.headers.get(Tt)),this.normalizedNames.set(Tt,lt.normalizedNames.get(Tt))})}clone(lt){const Tt=new w;return Tt.lazyInit=this.lazyInit&&this.lazyInit instanceof w?this.lazyInit:this,Tt.lazyUpdate=(this.lazyUpdate||[]).concat([lt]),Tt}applyUpdate(lt){const Tt=lt.name.toLowerCase();switch(lt.op){case"a":case"s":let Mt=lt.value;if("string"==typeof Mt&&(Mt=[Mt]),0===Mt.length)return;this.maybeSetNormalizedName(lt.name,Tt);const kt=("a"===lt.op?this.headers.get(Tt):void 0)||[];kt.push(...Mt),this.headers.set(Tt,kt);break;case"d":const Zt=lt.value;if(Zt){let qt=this.headers.get(Tt);if(!qt)return;qt=qt.filter(Qt=>-1===Zt.indexOf(Qt)),0===qt.length?(this.headers.delete(Tt),this.normalizedNames.delete(Tt)):this.headers.set(Tt,qt)}else this.headers.delete(Tt),this.normalizedNames.delete(Tt)}}setHeaderEntries(lt,Tt){const Mt=(Array.isArray(Tt)?Tt:[Tt]).map(Zt=>Zt.toString()),kt=lt.toLowerCase();this.headers.set(kt,Mt),this.maybeSetNormalizedName(lt,kt)}forEach(lt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Tt=>lt(this.normalizedNames.get(Tt),this.headers.get(Tt)))}}class ${encodeKey(lt){return U(lt)}encodeValue(lt){return U(lt)}decodeKey(lt){return decodeURIComponent(lt)}decodeValue(lt){return decodeURIComponent(lt)}}const M=/%(\d[a-f0-9])/gi,P={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U($e){return encodeURIComponent($e).replace(M,(lt,Tt)=>{var Mt;return null!==(Mt=P[Tt])&&void 0!==Mt?Mt:lt})}function V($e){return`${$e}`}class W{constructor(lt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=lt.encoder||new $,lt.fromString){if(lt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k($e,lt){const Tt=new Map;return $e.length>0&&$e.replace(/^\?/,"").split("&").forEach(kt=>{const Zt=kt.indexOf("="),[qt,Qt]=-1==Zt?[lt.decodeKey(kt),""]:[lt.decodeKey(kt.slice(0,Zt)),lt.decodeValue(kt.slice(Zt+1))],Tn=Tt.get(qt)||[];Tn.push(Qt),Tt.set(qt,Tn)}),Tt}(lt.fromString,this.encoder)}else lt.fromObject?(this.map=new Map,Object.keys(lt.fromObject).forEach(Tt=>{const Mt=lt.fromObject[Tt],kt=Array.isArray(Mt)?Mt.map(V):[V(Mt)];this.map.set(Tt,kt)})):this.map=null}has(lt){return this.init(),this.map.has(lt)}get(lt){this.init();const Tt=this.map.get(lt);return Tt?Tt[0]:null}getAll(lt){return this.init(),this.map.get(lt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(lt,Tt){return this.clone({param:lt,value:Tt,op:"a"})}appendAll(lt){const Tt=[];return Object.keys(lt).forEach(Mt=>{const kt=lt[Mt];Array.isArray(kt)?kt.forEach(Zt=>{Tt.push({param:Mt,value:Zt,op:"a"})}):Tt.push({param:Mt,value:kt,op:"a"})}),this.clone(Tt)}set(lt,Tt){return this.clone({param:lt,value:Tt,op:"s"})}delete(lt,Tt){return this.clone({param:lt,value:Tt,op:"d"})}toString(){return this.init(),this.keys().map(lt=>{const Tt=this.encoder.encodeKey(lt);return this.map.get(lt).map(Mt=>Tt+"="+this.encoder.encodeValue(Mt)).join("&")}).filter(lt=>""!==lt).join("&")}clone(lt){const Tt=new W({encoder:this.encoder});return Tt.cloneFrom=this.cloneFrom||this,Tt.updates=(this.updates||[]).concat(lt),Tt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(lt=>this.map.set(lt,this.cloneFrom.map.get(lt))),this.updates.forEach(lt=>{switch(lt.op){case"a":case"s":const Tt=("a"===lt.op?this.map.get(lt.param):void 0)||[];Tt.push(V(lt.value)),this.map.set(lt.param,Tt);break;case"d":if(void 0===lt.value){this.map.delete(lt.param);break}{let Mt=this.map.get(lt.param)||[];const kt=Mt.indexOf(V(lt.value));-1!==kt&&Mt.splice(kt,1),Mt.length>0?this.map.set(lt.param,Mt):this.map.delete(lt.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(lt,Tt){return this.map.set(lt,Tt),this}get(lt){return this.map.has(lt)||this.map.set(lt,lt.defaultValue()),this.map.get(lt)}delete(lt){return this.map.delete(lt),this}has(lt){return this.map.has(lt)}keys(){return this.map.keys()}}function se($e){return typeof ArrayBuffer<"u"&&$e instanceof ArrayBuffer}function g($e){return typeof Blob<"u"&&$e instanceof Blob}function n($e){return typeof FormData<"u"&&$e instanceof FormData}class l{constructor(lt,Tt,Mt,kt){var Zt,qt;let Qt;if(this.url=Tt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=lt.toUpperCase(),function te($e){switch($e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||kt?(this.body=void 0!==Mt?Mt:null,Qt=kt):Qt=Mt,Qt&&(this.reportProgress=!!Qt.reportProgress,this.withCredentials=!!Qt.withCredentials,Qt.responseType&&(this.responseType=Qt.responseType),Qt.headers&&(this.headers=Qt.headers),Qt.context&&(this.context=Qt.context),Qt.params&&(this.params=Qt.params),this.transferCache=Qt.transferCache),null!==(Zt=this.headers)&&void 0!==Zt||(this.headers=new w),null!==(qt=this.context)&&void 0!==qt||(this.context=new me),this.params){const Tn=this.params.toString();if(0===Tn.length)this.urlWithParams=Tt;else{const wn=Tt.indexOf("?");this.urlWithParams=Tt+(-1===wn?"?":wnCt.set(Gt,lt.setHeaders[Gt]),et)),lt.setParams&&(Fe=Object.keys(lt.setParams).reduce((Ct,Gt)=>Ct.set(Gt,lt.setParams[Gt]),Fe)),new l(qt,Qt,Kn,{params:Fe,headers:et,context:qe,reportProgress:Ge,responseType:Tn,withCredentials:fr,transferCache:wn})}}var s=function($e){return $e[$e.Sent=0]="Sent",$e[$e.UploadProgress=1]="UploadProgress",$e[$e.ResponseHeader=2]="ResponseHeader",$e[$e.DownloadProgress=3]="DownloadProgress",$e[$e.Response=4]="Response",$e[$e.User=5]="User",$e}(s||{});class h{constructor(lt,Tt=r.Ok,Mt="OK"){this.headers=lt.headers||new w,this.status=void 0!==lt.status?lt.status:Tt,this.statusText=lt.statusText||Mt,this.url=lt.url||null,this.ok=this.status>=200&&this.status<300}}class v extends h{constructor(lt={}){super(lt),this.type=s.ResponseHeader}clone(lt={}){return new v({headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class y extends h{constructor(lt={}){super(lt),this.type=s.Response,this.body=void 0!==lt.body?lt.body:null}clone(lt={}){return new y({body:void 0!==lt.body?lt.body:this.body,headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class d extends h{constructor(lt){super(lt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${lt.url||"(unknown url)"}`:`Http failure response for ${lt.url||"(unknown url)"}: ${lt.status} ${lt.statusText}`,this.error=lt.error||null}}var r=function($e){return $e[$e.Continue=100]="Continue",$e[$e.SwitchingProtocols=101]="SwitchingProtocols",$e[$e.Processing=102]="Processing",$e[$e.EarlyHints=103]="EarlyHints",$e[$e.Ok=200]="Ok",$e[$e.Created=201]="Created",$e[$e.Accepted=202]="Accepted",$e[$e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",$e[$e.NoContent=204]="NoContent",$e[$e.ResetContent=205]="ResetContent",$e[$e.PartialContent=206]="PartialContent",$e[$e.MultiStatus=207]="MultiStatus",$e[$e.AlreadyReported=208]="AlreadyReported",$e[$e.ImUsed=226]="ImUsed",$e[$e.MultipleChoices=300]="MultipleChoices",$e[$e.MovedPermanently=301]="MovedPermanently",$e[$e.Found=302]="Found",$e[$e.SeeOther=303]="SeeOther",$e[$e.NotModified=304]="NotModified",$e[$e.UseProxy=305]="UseProxy",$e[$e.Unused=306]="Unused",$e[$e.TemporaryRedirect=307]="TemporaryRedirect",$e[$e.PermanentRedirect=308]="PermanentRedirect",$e[$e.BadRequest=400]="BadRequest",$e[$e.Unauthorized=401]="Unauthorized",$e[$e.PaymentRequired=402]="PaymentRequired",$e[$e.Forbidden=403]="Forbidden",$e[$e.NotFound=404]="NotFound",$e[$e.MethodNotAllowed=405]="MethodNotAllowed",$e[$e.NotAcceptable=406]="NotAcceptable",$e[$e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",$e[$e.RequestTimeout=408]="RequestTimeout",$e[$e.Conflict=409]="Conflict",$e[$e.Gone=410]="Gone",$e[$e.LengthRequired=411]="LengthRequired",$e[$e.PreconditionFailed=412]="PreconditionFailed",$e[$e.PayloadTooLarge=413]="PayloadTooLarge",$e[$e.UriTooLong=414]="UriTooLong",$e[$e.UnsupportedMediaType=415]="UnsupportedMediaType",$e[$e.RangeNotSatisfiable=416]="RangeNotSatisfiable",$e[$e.ExpectationFailed=417]="ExpectationFailed",$e[$e.ImATeapot=418]="ImATeapot",$e[$e.MisdirectedRequest=421]="MisdirectedRequest",$e[$e.UnprocessableEntity=422]="UnprocessableEntity",$e[$e.Locked=423]="Locked",$e[$e.FailedDependency=424]="FailedDependency",$e[$e.TooEarly=425]="TooEarly",$e[$e.UpgradeRequired=426]="UpgradeRequired",$e[$e.PreconditionRequired=428]="PreconditionRequired",$e[$e.TooManyRequests=429]="TooManyRequests",$e[$e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",$e[$e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",$e[$e.InternalServerError=500]="InternalServerError",$e[$e.NotImplemented=501]="NotImplemented",$e[$e.BadGateway=502]="BadGateway",$e[$e.ServiceUnavailable=503]="ServiceUnavailable",$e[$e.GatewayTimeout=504]="GatewayTimeout",$e[$e.HttpVersionNotSupported=505]="HttpVersionNotSupported",$e[$e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",$e[$e.InsufficientStorage=507]="InsufficientStorage",$e[$e.LoopDetected=508]="LoopDetected",$e[$e.NotExtended=510]="NotExtended",$e[$e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",$e}(r||{});function f($e,lt){return{body:lt,headers:$e.headers,context:$e.context,observe:$e.observe,params:$e.params,reportProgress:$e.reportProgress,responseType:$e.responseType,withCredentials:$e.withCredentials,transferCache:$e.transferCache}}let L=(()=>{var $e;class lt{constructor(Mt){this.handler=Mt}request(Mt,kt,Zt={}){let qt;if(Mt instanceof l)qt=Mt;else{let wn,Kn;wn=Zt.headers instanceof w?Zt.headers:new w(Zt.headers),Zt.params&&(Kn=Zt.params instanceof W?Zt.params:new W({fromObject:Zt.params})),qt=new l(Mt,kt,void 0!==Zt.body?Zt.body:null,{headers:wn,context:Zt.context,params:Kn,reportProgress:Zt.reportProgress,responseType:Zt.responseType||"json",withCredentials:Zt.withCredentials,transferCache:Zt.transferCache})}const Qt=(0,p.of)(qt).pipe((0,D.H)(wn=>this.handler.handle(wn)));if(Mt instanceof l||"events"===Zt.observe)return Qt;const Tn=Qt.pipe((0,C.p)(wn=>wn instanceof y));switch(Zt.observe||"body"){case"body":switch(qt.responseType){case"arraybuffer":return Tn.pipe((0,_.T)(wn=>{if(null!==wn.body&&!(wn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wn.body}));case"blob":return Tn.pipe((0,_.T)(wn=>{if(null!==wn.body&&!(wn.body instanceof Blob))throw new Error("Response is not a Blob.");return wn.body}));case"text":return Tn.pipe((0,_.T)(wn=>{if(null!==wn.body&&"string"!=typeof wn.body)throw new Error("Response is not a string.");return wn.body}));default:return Tn.pipe((0,_.T)(wn=>wn.body))}case"response":return Tn;default:throw new Error(`Unreachable: unhandled observe type ${Zt.observe}}`)}}delete(Mt,kt={}){return this.request("DELETE",Mt,kt)}get(Mt,kt={}){return this.request("GET",Mt,kt)}head(Mt,kt={}){return this.request("HEAD",Mt,kt)}jsonp(Mt,kt){return this.request("JSONP",Mt,{params:(new W).append(kt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Mt,kt={}){return this.request("OPTIONS",Mt,kt)}patch(Mt,kt,Zt={}){return this.request("PATCH",Mt,f(Zt,kt))}post(Mt,kt,Zt={}){return this.request("POST",Mt,f(Zt,kt))}put(Mt,kt,Zt={}){return this.request("PUT",Mt,f(Zt,kt))}}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)(S.KVO(T))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();function ae($e,lt){return lt($e)}function tt($e,lt){return(Tt,Mt)=>lt.intercept(Tt,{handle:kt=>$e(kt,Mt)})}const pe=new S.nKC(""),Te=new S.nKC(""),Be=new S.nKC(""),re=new S.nKC("");function ne(){let $e=null;return(lt,Tt)=>{var Mt;null===$e&&($e=(null!==(Mt=(0,S.WQX)(pe,{optional:!0}))&&void 0!==Mt?Mt:[]).reduceRight(tt,ae));const kt=(0,S.WQX)(S.TgB),Zt=kt.add();return $e(lt,Tt).pipe((0,F.j)(()=>kt.remove(Zt)))}}let xt=(()=>{var $e;class lt extends T{constructor(Mt,kt){super(),this.backend=Mt,this.injector=kt,this.chain=null,this.pendingTasks=(0,S.WQX)(S.TgB);const Zt=(0,S.WQX)(re,{optional:!0});this.backend=null!=Zt?Zt:Mt}handle(Mt){if(null===this.chain){const Zt=Array.from(new Set([...this.injector.get(Te),...this.injector.get(Be,[])]));this.chain=Zt.reduceRight((qt,Qt)=>function Oe($e,lt,Tt){return(Mt,kt)=>(0,S.N4e)(Tt,()=>lt(Mt,Zt=>$e(Zt,kt)))}(qt,Qt,this.injector),ae)}const kt=this.pendingTasks.add();return this.chain(Mt,Zt=>this.backend.handle(Zt)).pipe((0,F.j)(()=>this.pendingTasks.remove(kt)))}}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)(S.KVO(A),S.KVO(S.uvJ))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();const bn=/^\)\]\}',?\n/;let wt=(()=>{var $e;class lt{constructor(Mt){this.xhrFactory=Mt}handle(Mt){if("JSONP"===Mt.method)throw new S.wOt(-2800,!1);const kt=this.xhrFactory;return(kt.\u0275loadImpl?(0,c.H)(kt.\u0275loadImpl()):(0,p.of)(null)).pipe((0,B.n)(()=>new O.c(qt=>{const Qt=kt.build();if(Qt.open(Mt.method,Mt.urlWithParams),Mt.withCredentials&&(Qt.withCredentials=!0),Mt.headers.forEach((Ct,Gt)=>Qt.setRequestHeader(Ct,Gt.join(","))),Mt.headers.has("Accept")||Qt.setRequestHeader("Accept","application/json, text/plain, */*"),!Mt.headers.has("Content-Type")){const Ct=Mt.detectContentTypeHeader();null!==Ct&&Qt.setRequestHeader("Content-Type",Ct)}if(Mt.responseType){const Ct=Mt.responseType.toLowerCase();Qt.responseType="json"!==Ct?Ct:"text"}const Tn=Mt.serializeBody();let wn=null;const Kn=()=>{if(null!==wn)return wn;const Ct=Qt.statusText||"OK",Gt=new w(Qt.getAllResponseHeaders()),vn=function bt($e){return"responseURL"in $e&&$e.responseURL?$e.responseURL:/^X-Request-URL:/m.test($e.getAllResponseHeaders())?$e.getResponseHeader("X-Request-URL"):null}(Qt)||Mt.url;return wn=new v({headers:Gt,status:Qt.status,statusText:Ct,url:vn}),wn},fr=()=>{let{headers:Ct,status:Gt,statusText:vn,url:gt}=Kn(),zt=null;Gt!==r.NoContent&&(zt=typeof Qt.response>"u"?Qt.responseText:Qt.response),0===Gt&&(Gt=zt?r.Ok:0);let ye=Gt>=200&&Gt<300;if("json"===Mt.responseType&&"string"==typeof zt){const Ke=zt;zt=zt.replace(bn,"");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:Ct,status:Gt,statusText:vn,url:gt||void 0})),qt.complete()):qt.error(new d({error:zt,headers:Ct,status:Gt,statusText:vn,url:gt||void 0}))},Ge=Ct=>{const{url:Gt}=Kn(),vn=new d({error:Ct,status:Qt.status||0,statusText:Qt.statusText||"Unknown Error",url:Gt||void 0});qt.error(vn)};let et=!1;const Fe=Ct=>{et||(qt.next(Kn()),et=!0);let Gt={type:s.DownloadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Gt.total=Ct.total),"text"===Mt.responseType&&Qt.responseText&&(Gt.partialText=Qt.responseText),qt.next(Gt)},qe=Ct=>{let Gt={type:s.UploadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Gt.total=Ct.total),qt.next(Gt)};return Qt.addEventListener("load",fr),Qt.addEventListener("error",Ge),Qt.addEventListener("timeout",Ge),Qt.addEventListener("abort",Ge),Mt.reportProgress&&(Qt.addEventListener("progress",Fe),null!==Tn&&Qt.upload&&Qt.upload.addEventListener("progress",qe)),Qt.send(Tn),qt.next({type:s.Sent}),()=>{Qt.removeEventListener("error",Ge),Qt.removeEventListener("abort",Ge),Qt.removeEventListener("load",fr),Qt.removeEventListener("timeout",Ge),Mt.reportProgress&&(Qt.removeEventListener("progress",Fe),null!==Tn&&Qt.upload&&Qt.upload.removeEventListener("progress",qe)),Qt.readyState!==Qt.DONE&&Qt.abort()}})))}}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)(S.KVO(m.N0))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();const Dn=new S.nKC(""),Lt=new S.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Nt=new S.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ot{}let zn=(()=>{var $e;class lt{constructor(Mt,kt,Zt){this.doc=Mt,this.platform=kt,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,m._b)(Mt,this.cookieName),this.lastCookieString=Mt),this.lastToken}}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)(S.KVO(m.qQ),S.KVO(S.Agw),S.KVO(Lt))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();function Ut($e,lt){const Tt=$e.url.toLowerCase();if(!(0,S.WQX)(Dn)||"GET"===$e.method||"HEAD"===$e.method||Tt.startsWith("http://")||Tt.startsWith("https://"))return lt($e);const Mt=(0,S.WQX)(Ot).getToken(),kt=(0,S.WQX)(Nt);return null!=Mt&&!$e.headers.has(kt)&&($e=$e.clone({headers:$e.headers.set(kt,Mt)})),lt($e)}var _e=function($e){return $e[$e.Interceptors=0]="Interceptors",$e[$e.LegacyInterceptors=1]="LegacyInterceptors",$e[$e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",$e[$e.NoXsrfProtection=3]="NoXsrfProtection",$e[$e.JsonpSupport=4]="JsonpSupport",$e[$e.RequestsMadeViaParent=5]="RequestsMadeViaParent",$e[$e.Fetch=6]="Fetch",$e}(_e||{});function Ae($e,lt){return{\u0275kind:$e,\u0275providers:lt}}function Me(...$e){const lt=[L,wt,xt,{provide:T,useExisting:xt},{provide:A,useExisting:wt},{provide:Te,useValue:Ut,multi:!0},{provide:Dn,useValue:!0},{provide:Ot,useClass:zn}];for(const Tt of $e)lt.push(...Tt.\u0275providers);return(0,S.EmA)(lt)}const je=new S.nKC("");let en=(()=>{var $e;class lt{}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)},$e.\u0275mod=S.$C({type:$e}),$e.\u0275inj=S.G2t({providers:[Me(Ae(_e.LegacyInterceptors,[{provide:je,useFactory:ne},{provide:Te,useExisting:je,multi:!0}]))]}),lt})()},4438:(Ce,ee,E)=>{"use strict";E.d(ee,{iLQ:()=>vf,sZ2:()=>Lh,hnV:()=>Qg,Hbi:()=>MA,o8S:()=>Qo,BIS:()=>cy,gRc:()=>c1,Ql9:()=>QD,Ocv:()=>oA,Z63:()=>Un,aKT:()=>Za,uvJ:()=>fi,zcH:()=>So,bkB:()=>co,$GK:()=>nn,nKC:()=>kt,zZn:()=>Fi,_q3:()=>Af,MKu:()=>Mf,xe9:()=>gc,Co$:()=>Jx,Vns:()=>ys,SKi:()=>zr,Xx1:()=>Kr,Agw:()=>o0,PLl:()=>$h,sFG:()=>O9,_9s:()=>ax,czy:()=>Su,WPN:()=>ms,kdw:()=>_i,C4Q:()=>xl,NYb:()=>zD,giA:()=>Yg,RxE:()=>jg,c1b:()=>Xu,gXe:()=>ni,mal:()=>px,L39:()=>e3,a0P:()=>l3,Ol2:()=>md,w6W:()=>RC,oH4:()=>s1,SmG:()=>cA,Rfq:()=>Ut,WQX:()=>$n,QuC:()=>li,EmA:()=>Ro,fpN:()=>AA,HJs:()=>u3,N4e:()=>ro,O8t:()=>n3,H3F:()=>Hg,H8p:()=>No,KH2:()=>ba,TgB:()=>ra,wOt:()=>G,WHO:()=>Gg,e01:()=>Xg,lNU:()=>ne,h9k:()=>ip,$MX:()=>Mu,ZF7:()=>Ys,Kcf:()=>Iy,e5t:()=>Ry,UyX:()=>Fy,cWb:()=>Ty,osQ:()=>Py,H5H:()=>zd,Zy3:()=>ge,mq5:()=>tm,JZv:()=>bt,LfX:()=>kn,plB:()=>Go,jNT:()=>pf,zjR:()=>Zg,TL$:()=>ly,Tbb:()=>Wt,rcV:()=>Io,Vt3:()=>pd,Mj6:()=>gi,GFd:()=>Qx,OA$:()=>dr,Jv_:()=>pg,aNF:()=>xg,R7$:()=>Ip,BMQ:()=>Bd,ZvI:()=>Kv,AVh:()=>Rd,wni:()=>Hm,VBU:()=>Ba,FsC:()=>ns,jDH:()=>Mn,G2t:()=>Ln,$C:()=>ts,EJ8:()=>Co,rXU:()=>Js,nrm:()=>Ud,eu8:()=>Hd,k0s:()=>lc,j41:()=>ac,RV6:()=>Jv,xGo:()=>ah,KVO:()=>Dr,kS0:()=>du,QTQ:()=>Fp,bIt:()=>Gd,lsd:()=>Km,XpG:()=>Fm,nI1:()=>Mg,bMT:()=>wg,SdG:()=>Rm,NAR:()=>Pm,Y8G:()=>Fd,FS9:()=>Yd,lJ4:()=>mg,eq3:()=>gg,l_i:()=>Eg,mGM:()=>Wm,Njj:()=>Lf,tSv:()=>cp,eBV:()=>kf,npT:()=>op,f$h:()=>y0,B4B:()=>E0,n$t:()=>sp,muq:()=>Gm,DNE:()=>ia,EFF:()=>rg,JRh:()=>Qd,SpI:()=>hc,Lme:()=>Jd,DH7:()=>fg,mxI:()=>ef,R50:()=>qd,GBs:()=>zm}),E(467);let p=null,c=1;const D=Symbol("SIGNAL");function C(e){const t=p;return p=e,t}function w(e){if((!me(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==c)){if(!e.producerMustRecompute(e)&&!U(e))return e.dirty=!1,void(e.lastCleanEpoch=c);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=c}}function U(e){te(e);for(let t=0;t0}function te(e){var t,i,u;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(i=e.producerIndexOfThis)&&void 0!==i||(e.producerIndexOfThis=[]),null!==(u=e.producerLastReadVersion)&&void 0!==u||(e.producerLastReadVersion=[])}let v=null;var Oe=E(1413),pe=E(8359),Te=E(4412),Be=E(6354);const ne="https://g.co/ng/security#xss";class G extends Error{constructor(t,i){super(ge(t,i)),this.code=t}}function ge(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ft(e){return{toString:e}.toString()}const At="__parameters__";function Ft(e,t,i){return ft(()=>{const u=function St(e){return function(...i){if(e){const u=e(...i);for(const x in u)this[x]=u[x]}}}(t);function x(...b){if(this instanceof x)return u.apply(this,b),this;const N=new x(...b);return H.annotation=N,H;function H(K,he,we){const Ne=K.hasOwnProperty(At)?K[At]:Object.defineProperty(K,At,{value:[]})[At];for(;Ne.length<=we;)Ne.push(null);return(Ne[we]=Ne[we]||[]).push(N),K}}return i&&(x.prototype=Object.create(i.prototype)),x.prototype.ngMetadataName=e,x.annotationCls=x,x})}const bt=globalThis;function Bt(e){for(let t in e)if(e[t]===Bt)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 Wt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Wt).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 Nt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const zn=Bt({__forward_ref__:Bt});function Ut(e){return e.__forward_ref__=Ut,e.toString=function(){return Wt(this())},e}function He(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(zn)&&e.__forward_ref__===Ut}function Mn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ln(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fn(e){return Gn(e,$e)||Gn(e,Tt)}function kn(e){return null!==Fn(e)}function Gn(e,t){return e.hasOwnProperty(t)?e[t]:null}function jn(e){return e&&(e.hasOwnProperty(lt)||e.hasOwnProperty(Mt))?e[lt]:null}const $e=Bt({\u0275prov:Bt}),lt=Bt({\u0275inj:Bt}),Tt=Bt({ngInjectableDef:Bt}),Mt=Bt({ngInjectorDef:Bt});class kt{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=Mn({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 Ct=Bt({\u0275cmp:Bt}),Gt=Bt({\u0275dir:Bt}),vn=Bt({\u0275pipe:Bt}),gt=Bt({\u0275mod:Bt}),zt=Bt({\u0275fac:Bt}),ye=Bt({__NG_ELEMENT_ID__:Bt}),Ke=Bt({__NG_ENV_ID__:Bt});function dt(e){return"string"==typeof e?e:null==e?"":String(e)}function cn(e,t){throw new G(-201,!1)}var nn=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}(nn||{});let _n;function Sn(){return _n}function Pn(e){const t=_n;return _n=e,t}function hr(e,t,i){const u=Fn(e);return u&&"root"==u.providedIn?void 0===u.value?u.value=u.factory():u.value:i&nn.Optional?null:void 0!==t?t:void cn()}const le={},Ye="__NG_DI_FLAG__",_t="ngTempTokenPath",pr=/\n/gm,qr="__source";let Wr;function jr(e){const t=Wr;return Wr=e,t}function Vi(e,t=nn.Default){if(void 0===Wr)throw new G(-203,!1);return null===Wr?hr(e,void 0,t):Wr.get(e,t&nn.Optional?null:void 0,t)}function Dr(e,t=nn.Default){return(Sn()||Vi)(He(e),t)}function $n(e,t=nn.Default){return Dr(e,mi(t))}function mi(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Oi(e){const t=[];for(let i=0;iArray.isArray(i)?si(i,t):t(i))}function Ni(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Bi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Re(e,t,i){let u=Ie(e,t);return u>=0?e[1|u]=i:(u=~u,function qo(e,t,i,u){let x=e.length;if(x==t)e.push(i,u);else if(1===x)e.push(u,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]=u}}(e,u,t,i)),u}function Le(e,t){const i=Ie(e,t);if(i>=0)return e[1|i]}function Ie(e,t){return function Vt(e,t,i){let u=0,x=e.length>>i;for(;x!==u;){const b=u+(x-u>>1),N=e[b<t?x=b:u=b+1}return~(x<t){N=b-1;break}}}for(;b-1){let b;for(;++xb?"":x[we+1].toLowerCase(),2&u&&he!==Ne){if(Hr(u))return!1;N=!0}}}}else{if(!N&&!Hr(u)&&!Hr(K))return!1;if(N&&Hr(K))continue;N=!1,u=K|1&u}}return Hr(u)||N}function Hr(e){return!(1&e)}function Eo(e,t,i,u){if(null===t)return-1;let x=0;if(u||!i){let b=!1;for(;x-1)for(i++;i0?'="'+H+'"':"")+"]"}else 8&u?x+="."+N:4&u&&(x+=" "+N);else""!==x&&!Hr(N)&&(t+=_a(b,x),x=""),u=N,b=b||!Hr(u);i++}return""!==x&&(t+=_a(b,x)),t}function Ba(e){return ft(()=>{var t;const i=rs(e),u={...i,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Or.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||ni.Emulated,styles:e.styles||fn,_:null,schemas:e.schemas||null,tView:null,id:""};is(u);const x=e.dependencies;return u.directiveDefs=Wi(x,!1),u.pipeDefs=Wi(x,!0),u.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}(u),u})}function Xl(e){return er(e)||Nr(e)}function Sa(e){return null!==e}function ts(e){return ft(()=>({type:e.type,bootstrap:e.bootstrap||fn,declarations:e.declarations||fn,imports:e.imports||fn,exports:e.exports||fn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ia(e,t){if(null==e)return dn;const i={};for(const x in e)if(e.hasOwnProperty(x)){const b=e[x];let N,H,K=gi.None;var u;Array.isArray(b)?(K=b[0],N=b[1],H=null!==(u=b[2])&&void 0!==u?u:N):(N=b,H=b),t?(i[N]=K!==gi.None?[x,K]:x,t[N]=H):i[N]=x}return i}function ns(e){return ft(()=>{const t=rs(e);return is(t),t})}function Co(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function er(e){return e[Ct]||null}function Nr(e){return e[Gt]||null}function Pr(e){return e[vn]||null}function li(e){const t=er(e)||Nr(e)||Pr(e);return null!==t&&t.standalone}function Gr(e,t){const i=e[gt]||null;if(!i&&!0===t)throw new Error(`Type ${Wt(e)} does not have '\u0275mod' property.`);return i}function rs(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||dn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||fn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ia(e.inputs,t),outputs:Ia(e.outputs),debugInfo:null}}function is(e){var t;null===(t=e.features)||void 0===t||t.forEach(i=>i(e))}function Wi(e,t){if(!e)return null;const i=t?Pr:Xl;return()=>("function"==typeof e?e():e).map(u=>i(u)).filter(Sa)}function Ro(e){return{\u0275providers:e}}function Bs(...e){return{\u0275providers:Oo(0,e),\u0275fromNgModule:!0}}function Oo(e,...t){const i=[],u=new Set;let x;const b=N=>{i.push(N)};return si(t,N=>{const H=N;eo(H,b,[],u)&&(x||(x=[]),x.push(H))}),void 0!==x&&Ss(x,b),i}function Ss(e,t){for(let i=0;i{t(b,u)})}}function eo(e,t,i,u){if(!(e=He(e)))return!1;let x=null,b=jn(e);const N=!b&&er(e);if(b||N){if(N&&!N.standalone)return!1;x=e}else{const K=e.ngModule;if(b=jn(K),!b)return!1;x=K}const H=u.has(x);if(N){if(H)return!1;if(u.add(x),N.dependencies){const K="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const he of K)eo(he,t,i,u)}}else{if(!b)return!1;{if(null!=b.imports&&!H){let he;u.add(x);try{si(b.imports,we=>{eo(we,t,i,u)&&(he||(he=[]),he.push(we))})}finally{}void 0!==he&&Ss(he,t)}if(!H){const he=ti(x)||(()=>new x);t({provide:x,useFactory:he,deps:fn},x),t({provide:Vn,useValue:x,multi:!0},x),t({provide:Un,useValue:()=>Dr(x),multi:!0},x)}const K=b.providers;if(null!=K&&!H){const he=e;Is(K,we=>{t(we,he)})}}}return x!==e&&void 0!==e.providers}function Is(e,t){for(let i of e)qe(i)&&(i=i.\u0275providers),Array.isArray(i)?Is(i,t):t(i)}const Zl=Bt({provide:String,useValue:Bt});function Ts(e){return null!==e&&"object"==typeof e&&Zl in e}function Ki(e){return"function"==typeof e}const No=new kt(""),Fs={},Oa={};let Ps;function ko(){return void 0===Ps&&(Ps=new lr),Ps}class fi{}class to extends fi{get destroyed(){return this._destroyed}constructor(t,i,u,x){super(),this.parent=i,this.source=u,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(mr,no(void 0,this)),x.has("environment")&&this.records.set(fi,no(void 0,this));const b=this.records.get(No);null!=b&&"string"==typeof b.value&&this.scopes.add(b.value),this.injectorDefTypes=new Set(this.get(Vn,fn,nn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=C(null);try{for(const u of this._ngOnDestroyHooks)u.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const u of i)u()}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=jr(this),u=Pn(void 0);try{return t()}finally{jr(i),Pn(u)}}get(t,i=le,u=nn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ke))return t[Ke](this);u=mi(u);const b=jr(this),N=Pn(void 0);try{if(!(u&nn.SkipSelf)){let K=this.records.get(t);if(void 0===K){const he=function Do(e){return"function"==typeof e||"object"==typeof e&&e instanceof kt}(t)&&Fn(t);K=he&&this.injectableDefInScope(he)?no(Rs(t),Fs):null,this.records.set(t,K)}if(null!=K)return this.hydrate(t,K)}return(u&nn.Self?ko():this.parent).get(t,i=u&nn.Optional&&i===le?null:i)}catch(H){if("NullInjectorError"===H.name){if((H[_t]=H[_t]||[]).unshift(Wt(t)),b)throw H;return function ji(e,t,i,u){const x=e[_t];throw t[qr]&&x.unshift(t[qr]),e.message=function Mi(e,t,i,u=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let x=Wt(t);if(Array.isArray(t))x=t.map(Wt).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):Wt(H)))}x=`{${b.join(", ")}}`}return`${i}${u?"("+u+")":""}[${x}]: ${e.replace(pr,"\n ")}`}("\n"+e.message,x,i,u),e.ngTokenPath=x,e[_t]=null,e}(H,t,"R3InjectorError",this.source)}throw H}finally{Pn(N),jr(b)}}resolveInjectorInitializers(){const t=C(null),i=jr(this),u=Pn(void 0);try{const b=this.get(Un,fn,nn.Self);for(const N of b)N()}finally{jr(i),Pn(u),C(t)}}toString(){const t=[],i=this.records;for(const u of i.keys())t.push(Wt(u));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new G(205,!1)}processProvider(t){let i=Ki(t=He(t))?t:He(t&&t.provide);const u=function Jl(e){return Ts(e)?no(void 0,e.useValue):no(os(e),Fs)}(t);if(!Ki(t)&&!0===t.multi){let x=this.records.get(i);x||(x=no(void 0,Fs,!0),x.factory=()=>Oi(x.multi),this.records.set(i,x)),i=t,x.multi.push(t)}this.records.set(i,u)}hydrate(t,i){const u=C(null);try{return i.value===Fs&&(i.value=Oa,i.value=i.factory()),"object"==typeof i.value&&i.value&&function bo(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{C(u)}}injectableDefInScope(t){if(!t.providedIn)return!1;const i=He(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Rs(e){const t=Fn(e),i=null!==t?t.factory:ti(e);if(null!==i)return i;if(e instanceof kt)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 Xn(e){return e&&(e[$e]||e[Tt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new G(204,!1)}function os(e,t,i){let u;if(Ki(e)){const x=He(e);return ti(x)||Rs(x)}if(Ts(e))u=()=>He(e.useValue);else if(function Pa(e){return!(!e||!e.useFactory)}(e))u=()=>e.useFactory(...Oi(e.deps||[]));else if(function Fa(e){return!(!e||!e.useExisting)}(e))u=()=>Dr(He(e.useExisting));else{const x=He(e&&(e.useClass||e.provide));if(!function ql(e){return!!e.deps}(e))return ti(x)||Rs(x);u=()=>new x(...Oi(e.deps))}return u}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 u=jr(e),x=Pn(void 0);try{return t()}finally{jr(u),Pn(x)}}function Na(){return void 0!==Sn()||null!=function ei(){return Wr}()}const xr=0,yn=1,Rn=2,ir=3,Lr=4,Ar=5,Sr=6,ki=7,Cr=8,Rr=9,Si=10,Qn=11,ss=12,Os=13,Ao=14,Tr=15,Uo=16,ri=17,Li=18,Ns=19,_c=20,Mo=21,Vo=22,io=23,Jn=25,ka=1,Gi=7,jo=9,kr=10;var eu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(eu||{});function ii(e){return Array.isArray(e)&&"object"==typeof e[ka]}function Jr(e){return Array.isArray(e)&&!0===e[ka]}function La(e){return!!(4&e.flags)}function Ho(e){return e.componentOffset>-1}function us(e){return!(1&~e.flags)}function Ii(e){return!!e.template}function $a(e){return!!(512&e[Rn])}class qn{constructor(t,i,u){this.previousValue=t,this.currentValue=i,this.firstChange=u}isFirstChange(){return this.firstChange}}function Mr(e,t,i,u){null!==t?t.applyValueToInputSignal(t,u):e[i]=u}function dr(){return Xr}function Xr(e){return e.type.prototype.ngOnChanges&&(e.setInput=cs),wo}function wo(){const e=Wo(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===dn)e.previous=t;else for(let u in t)i[u]=t[u];e.current=null,this.ngOnChanges(t)}}function cs(e,t,i,u,x){const b=this.declaredInputs[u],N=Wo(e)||function ds(e,t){return e[zo]=t}(e,{previous:dn,current:null}),H=N.current||(N.current={}),K=N.previous,he=K[b];H[b]=new qn(he&&he.currentValue,i,K===dn),Mr(e,t,x,i)}dr.ngInherit=!0;const zo="__ngSimpleChanges__";function Wo(e){return e[zo]||null}const oo=function(e,t,i){};let Ff=!1;function br(e){for(;Array.isArray(e);)e=e[xr];return e}function ja(e,t){return br(t[e])}function hi(e,t){return br(t[e.index])}function Ha(e,t){return e.data[t]}function Ti(e,t){const i=t[e];return ii(i)?i:i[xr]}function Fc(e){return!(128&~e[Rn])}function so(e,t){return null==t?null:e[t]}function Pf(e){e[ri]=0}function Q1(e){1024&e[Rn]||(e[Rn]|=1024,Fc(e)&&za(e))}function Pc(e){var t;return!!(9216&e[Rn]||null!==(t=e[io])&&void 0!==t&&t.dirty)}function Rc(e){var t;if(null===(t=e[Si].changeDetectionScheduler)||void 0===t||t.notify(1),Pc(e))za(e);else if(64&e[Rn])if(function G1(){return Ff}())e[Rn]|=1024,za(e);else{var i;null===(i=e[Si].changeDetectionScheduler)||void 0===i||i.notify()}}function za(e){var t;null===(t=e[Si].changeDetectionScheduler)||void 0===t||t.notify();let i=hs(e);for(;null!==i&&!(8192&i[Rn])&&(i[Rn]|=8192,Fc(i));)i=hs(i)}function nu(e,t){if(!(256&~e[Rn]))throw new G(911,!1);null===e[Mo]&&(e[Mo]=[]),e[Mo].push(t)}function hs(e){const t=e[ir];return Jr(t)?t[ir]:t}const tr={lFrame:Wf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nf(){return tr.bindingsEnabled}function $s(){return null!==tr.skipHydrationRootTNode}function sn(){return tr.lFrame.lView}function ur(){return tr.lFrame.tView}function kf(e){return tr.lFrame.contextLView=e,e[Cr]}function Lf(e){return tr.lFrame.contextLView=null,e}function yr(){let e=$f();for(;null!==e&&64===e.type;)e=e.parent;return e}function $f(){return tr.lFrame.currentTNode}function ao(e,t){const i=tr.lFrame;i.currentTNode=e,i.isParent=t}function Nc(){return tr.lFrame.isParent}function kc(){tr.lFrame.isParent=!1}function pi(){const e=tr.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xi(){return tr.lFrame.bindingIndex++}function Bo(e){const t=tr.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function lE(e,t){const i=tr.lFrame;i.bindingIndex=i.bindingRootIndex=e,Lc(t)}function Lc(e){tr.lFrame.currentDirectiveIndex=e}function Uc(){return tr.lFrame.currentQueryIndex}function ru(e){tr.lFrame.currentQueryIndex=e}function cE(e){const t=e[yn];return 2===t.type?t.declTNode:1===t.type?e[Ar]:null}function Hf(e,t,i){if(i&nn.SkipSelf){let x=t,b=e;for(;!(x=x.parent,null!==x||i&nn.Host||(x=cE(b),null===x||(b=b[Ao],10&x.type))););if(null===x)return!1;t=x,e=b}const u=tr.lFrame=zf();return u.currentTNode=t,u.lView=e,!0}function Vc(e){const t=zf(),i=e[yn];tr.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=tr.lFrame,t=null===e?null:e.child;return null===t?Wf(e):t}function Wf(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Kf(){const e=tr.lFrame;return tr.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gf=Kf;function jc(){const e=Kf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ui(){return tr.lFrame.selectedIndex}function ps(e){tr.lFrame.selectedIndex=e}function Br(){const e=tr.lFrame;return Ha(e.tView,e.selectedIndex)}let Yf=!0;function Ka(){return Yf}function lo(e){Yf=e}function iu(e,t){for(let he=t.directiveStart,we=t.directiveEnd;he=u)break}else t[K]<0&&(e[ri]+=65536),(H>14>16&&(3&e[Rn])===t&&(e[Rn]+=16384,Qf(H,b)):Qf(H,b)}const Us=-1;class Ga{constructor(t,i,u){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=u}}function Wc(e){return e!==Us}function Xa(e){return 32767&e}function Ya(e,t){let i=function bE(e){return e>>16}(e),u=t;for(;i>0;)u=u[Ao],i--;return u}let Kc=!0;function au(e){const t=Kc;return Kc=e,t}const Jf=255,qf=5;let DE=0;const uo={};function lu(e,t){const i=eh(e,t);if(-1!==i)return i;const u=t[yn];u.firstCreatePass&&(e.injectorIndex=t.length,Gc(u.data,e),Gc(t,null),Gc(u.blueprint,null));const x=uu(e,t),b=e.injectorIndex;if(Wc(x)){const N=Xa(x),H=Ya(x,t),K=H[yn].data;for(let he=0;he<8;he++)t[b+he]=H[N+he]|K[N+he]}return t[b+8]=x,b}function Gc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function eh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function uu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,u=null,x=t;for(;null!==x;){if(u=lh(x),null===u)return Us;if(i++,x=x[Ao],-1!==u.injectorIndex)return u.injectorIndex|i<<16}return Us}function Xc(e,t,i){!function AE(e,t,i){let u;"string"==typeof i?u=i.charCodeAt(0)||0:i.hasOwnProperty(ye)&&(u=i[ye]),null==u&&(u=i[ye]=DE++);const x=u&Jf;t.data[e+(x>>qf)]|=1<=0?t&Jf:BE:t}(i);if("function"==typeof b){if(!Hf(t,e,u))return u&nn.Host?th(x,0,u):nh(t,i,u,x);try{let N;if(N=b(u),null!=N||u&nn.Optional)return N;cn()}finally{Gf()}}else if("number"==typeof b){let N=null,H=eh(e,t),K=Us,he=u&nn.Host?t[Tr][Ar]:null;for((-1===H||u&nn.SkipSelf)&&(K=-1===H?uu(e,t):t[H+8],K!==Us&&sh(u,!1)?(N=t[yn],H=Xa(K),t=Ya(K,t)):H=-1);-1!==H;){const we=t[yn];if(oh(b,H,we.data)){const Ne=wE(H,t,i,N,u,he);if(Ne!==uo)return Ne}K=t[H+8],K!==Us&&sh(u,t[yn].data[H+8]===he)&&oh(b,H,t)?(N=we,H=Xa(K),t=Ya(K,t)):H=-1}}return x}function wE(e,t,i,u,x,b){const N=t[yn],H=N.data[e+8],we=cu(H,N,i,null==u?Ho(H)&&Kc:u!=N&&!!(3&H.type),x&nn.Host&&b===H);return null!==we?xs(t,N,we,H):uo}function cu(e,t,i,u,x){const b=e.providerIndexes,N=t.data,H=1048575&b,K=e.directiveStart,we=b>>20,ct=x?H+we:e.directiveEnd;for(let Dt=u?H:H+we;Dt=K&&jt.type===i)return Dt}if(x){const Dt=N[K];if(Dt&&Ii(Dt)&&Dt.type===i)return K}return null}function xs(e,t,i,u){let x=e[i];const b=t.data;if(function gE(e){return e instanceof Ga}(x)){const N=x;N.resolving&&function an(e,t){throw t&&t.join(" > "),new G(-200,e)}(function pt(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?Pn(N.injectImpl):null;Hf(e,u,nn.Default);try{x=e[i]=N.factory(void 0,b,e,u),t.firstCreatePass&&i>=u.directiveStart&&function vE(e,t,i){const{ngOnChanges:u,ngOnInit:x,ngDoCheck:b}=t.type.prototype;if(u){var N,H;const Ne=Xr(t);(null!==(N=i.preOrderHooks)&&void 0!==N?N:i.preOrderHooks=[]).push(e,Ne),(null!==(H=i.preOrderCheckHooks)&&void 0!==H?H:i.preOrderCheckHooks=[]).push(e,Ne)}var K,he,we;x&&(null!==(K=i.preOrderHooks)&&void 0!==K?K:i.preOrderHooks=[]).push(0-e,x),b&&((null!==(he=i.preOrderHooks)&&void 0!==he?he:i.preOrderHooks=[]).push(e,b),(null!==(we=i.preOrderCheckHooks)&&void 0!==we?we:i.preOrderCheckHooks=[]).push(e,b))}(i,b[i],t)}finally{null!==he&&Pn(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),u=Object.prototype;let x=Object.getPrototypeOf(e.prototype).constructor;for(;x&&x!==u;){const b=x[zt]||Yc(x);if(b&&b!==i)return b;x=Object.getPrototypeOf(x)}return b=>new b})}function Yc(e){return _e(e)?()=>{const t=Yc(He(e));return t&&t()}:ti(e)}function lh(e){const t=e[yn],i=t.type;return 2===i?t.declTNode:1===i?e[Ar]:null}function du(e){return function ME(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const u=i.length;let x=0;for(;x{var e;class t{static create(u,x){if(Array.isArray(u))return hh({name:""},x,u,"");{var b;const N=null!==(b=u.name)&&void 0!==b?b:"";return hh({name:N},u.parent,u.providers,N)}}}return(e=t).THROW_IF_NOT_FOUND=le,e.NULL=new lr,e.\u0275prov=Mn({token:e,providedIn:"any",factory:()=>Dr(mr)}),e.__NG_ELEMENT_ID__=-1,t})();function Qc(e){return e.ngOriginalError}class So{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Qc(t);for(;i&&Qc(i);)i=Qc(i);return i||null}}const vh=new kt("",{providedIn:"root",factory:()=>$n(So).handleError.bind(void 0)});let Hs=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=LE,e.__NG_ENV_ID__=i=>i,t})();class kE extends Hs{constructor(t){super(),this._lView=t}onDestroy(t){return nu(this._lView,t),()=>function Oc(e,t){if(null===e[Mo])return;const i=e[Mo].indexOf(t);-1!==i&&e[Mo].splice(i,1)}(this._lView,t)}}function LE(){return new kE(sn())}function $E(){return zs(yr(),sn())}function zs(e,t){return new Za(hi(e,t))}let Za=(()=>{class t{constructor(u){this.nativeElement=u}}return t.__NG_ELEMENT_ID__=$E,t})();function gh(e){return e instanceof Za?e.nativeElement:e}function Jc(e){return t=>{setTimeout(e,void 0,t)}}const co=class UE extends Oe.B{constructor(t=!1){var i;super(),this.destroyRef=void 0,this.__isAsync=t,Na()&&(this.destroyRef=null!==(i=$n(Hs,{optional:!0}))&&void 0!==i?i:void 0)}emit(t){const i=C(null);try{super.next(t)}finally{C(i)}}subscribe(t,i,u){let x=t,b=i||(()=>null),N=u;if(t&&"object"==typeof t){var H,K,he;const Ne=t;x=null===(H=Ne.next)||void 0===H?void 0:H.bind(Ne),b=null===(K=Ne.error)||void 0===K?void 0:K.bind(Ne),N=null===(he=Ne.complete)||void 0===he?void 0:he.bind(Ne)}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 VE(){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]=VE)}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 u=function Ir(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function mo(e,t,i){if(e.length!==t.length)return!1;for(let u=0;uuy}),uy="ng",$h=new kt(""),o0=new kt("",{providedIn:"platform",factory:()=>"unknown"}),cy=new kt("",{providedIn:"root",factory:()=>{var e;return(null===(e=Ko().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let Uh=()=>null;function c0(e,t,i=!1){return Uh(e,t,i)}const Wh=new kt("",{providedIn:"root",factory:()=>!1});let Du,Au;function Xs(e){var t;return(null===(t=function p0(){if(void 0===Du&&(Du=null,bt.trustedTypes))try{Du=bt.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 x0(){if(void 0===Au&&(Au=null,bt.trustedTypes))try{Au=bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Au}function Gh(e){var t;return(null===(t=x0())||void 0===t?void 0:t.createHTML(e))||e}function Yh(e){var t;return(null===(t=x0())||void 0===t?void 0:t.createScriptURL(e))||e}class vs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ne})`}}class Ay extends vs{getTypeName(){return"HTML"}}class My extends vs{getTypeName(){return"Style"}}class wy extends vs{getTypeName(){return"Script"}}class _y extends vs{getTypeName(){return"URL"}}class By extends vs{getTypeName(){return"ResourceURL"}}function Io(e){return e instanceof vs?e.changingThisBreaksApplicationSecurity:e}function Ys(e,t){const i=function Sy(e){return e instanceof vs&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${ne})`)}return i===t}function Iy(e){return new Ay(e)}function Ty(e){return new My(e)}function Fy(e){return new wy(e)}function Py(e){return new _y(e)}function Ry(e){return new By(e)}class Oy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Xs(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class Ny{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Xs(t),i}}const Ly=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mu(e){return(e=String(e)).match(Ly)?e:"unsafe:"+e}function To(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function il(...e){const t={};for(const i of e)for(const u in i)i.hasOwnProperty(u)&&(t[u]=!0);return t}const Qh=To("area,br,col,hr,img,wbr"),Jh=To("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qh=To("rp,rt"),v0=il(Qh,il(Jh,To("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),il(qh,To("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),il(qh,Jh)),m0=To("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ep=il(m0,To("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),To("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),$y=To("script,style,template");class Uy{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,u=!0,x=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?u=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,u&&i.firstChild)x.push(i),i=Hy(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let b=jy(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,!$y.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const u=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 jy(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw np(t);return t}function Hy(e){const t=e.firstChild;if(t&&function Vy(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 zy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wy=/([^\#-~ |!])/g;function rp(e){return e.replace(/&/g,"&").replace(zy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Wy,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 Ny(e);return function ky(){try{return!!(new window.DOMParser).parseFromString(Xs(""),"text/html")}catch{return!1}}()?new Oy(t):t}(e);let u=t?String(t):"";i=wu.getInertBodyElement(u);let x=5,b=u;do{if(0===x)throw new Error("Failed to sanitize html because the input is unstable");x--,u=b,b=i.innerHTML,i=wu.getInertBodyElement(u)}while(u!==b);return Xs((new Uy).sanitizeChildren(g0(i)||i))}finally{if(i){const u=g0(i)||i;for(;u.firstChild;)u.removeChild(u.firstChild)}}}function g0(e){return"content"in e&&function Ky(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ms=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ms||{});function op(e){const t=ol();return t?Gh(t.sanitize(ms.HTML,e)||""):Ys(e,"HTML")?Gh(Io(e)):ip(Ko(),dt(e))}function E0(e){const t=ol();return t?t.sanitize(ms.URL,e)||"":Ys(e,"URL")?Io(e):Mu(dt(e))}function y0(e){const t=ol();if(t)return Yh(t.sanitize(ms.RESOURCE_URL,e)||"");if(Ys(e,"ResourceURL"))return Yh(Io(e));throw new G(904,!1)}function sp(e,t,i){return function Qy(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[Si].sanitizer}const Jy=/^>|^->||--!>|)/g,e8="\u200b$1\u200b";function cp(e){return e.ownerDocument.defaultView}function Pi(e){return e instanceof Function?e():e}var Su=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Su||{});let A0;function M0(e,t){return A0(e,t)}function Qs(e,t,i,u,x){if(null!=u){let b,N=!1;Jr(u)?b=u:ii(u)&&(N=!0,u=u[xr]);const H=br(u);0===e&&null!==i?null==x?Ep(t,i,H):gs(t,i,H,x||null,!0):1===e&&null!==i?gs(t,i,H,x||null,!0):2===e?function ll(e,t,i){const u=Fu(e,t);u&&function g8(e,t,i,u){e.removeChild(t,i,u)}(e,u,t,i)}(t,H,N):3===e&&t.destroyNode(H),null!=b&&function C8(e,t,i,u,x){const b=i[Gi];b!==br(i)&&Qs(t,e,u,b,x);for(let H=kr;Ht.replace(qy,e8))}(t))}function Iu(e,t,i){return e.createElement(t,i)}function vp(e,t){var i;null===(i=t[Si].changeDetectionScheduler)||void 0===i||i.notify(1),Ru(e,t,t[Qn],2,null,null)}function mp(e,t){const i=e[jo],u=i.indexOf(t);i.splice(u,1)}function sl(e,t){if(e.length<=kr)return;const i=kr+t,u=e[i];if(u){const x=u[Uo];null!==x&&x!==e&&mp(x,u),t>0&&(e[i-1][Lr]=u[Lr]);const b=Bi(e,kr+t);!function d8(e,t){vp(e,t),t[xr]=null,t[Ar]=null}(u[yn],u);const N=b[Li];null!==N&&N.detachView(b[yn]),u[ir]=null,u[Lr]=null,u[Rn]&=-129}return u}function Tu(e,t){if(!(256&t[Rn])){const i=t[Qn];i.destroyNode&&Ru(e,t,i,3,null,null),function h8(e){let t=e[ss];if(!t)return B0(e[yn],e);for(;t;){let i=null;if(ii(t))i=t[ss];else{const u=t[kr];u&&(i=u)}if(!i){for(;t&&!t[Lr]&&t!==e;)ii(t)&&B0(t[yn],t),t=t[ir];null===t&&(t=e),ii(t)&&B0(t[yn],t),i=t&&t[Lr]}t=i}}(t)}}function B0(e,t){if(256&t[Rn])return;const i=C(null);try{t[Rn]&=-129,t[Rn]|=256,t[io]&&function V(e){if(te(e),me(e))for(let t=0;t=0?u[N]():u[-N].unsubscribe(),b+=2}else i[b].call(u[i[b+1]]);null!==u&&(t[ki]=null);const x=t[Mo];if(null!==x){t[Mo]=null;for(let b=0;b-1){const{encapsulation:b}=e.data[u.directiveStart+x];if(b===ni.None||b===ni.Emulated)return null}return hi(u,i)}}(e,t.parent,i)}function gs(e,t,i,u,x){e.insertBefore(t,i,u,x)}function Ep(e,t,i){e.appendChild(t,i)}function yp(e,t,i,u,x){null!==u?gs(e,t,i,u,x):Ep(e,t,i)}function Fu(e,t){return e.parentNode(t)}function Cp(e,t,i){return Dp(e,t,i)}let I0,Dp=function bp(e,t,i){return 40&e.type?hi(e,i):null};function Pu(e,t,i,u){const x=S0(e,u,t),b=t[Qn],H=Cp(u.parent||t[Ar],u,t);if(null!=x)if(Array.isArray(i))for(let K=0;KJn&&Tp(e,t,Jn,!1),oo(N?2:0,x),i(u,x)}finally{ps(b),oo(N?3:1,x)}}function R0(e,t,i){if(La(t)){const u=C(null);try{const b=t.directiveEnd;for(let N=t.directiveStart;Nnull;function kp(e,t,i,u,x){for(let N in t){var b;if(!t.hasOwnProperty(N))continue;const H=t[N];if(void 0===H)continue;null!==(b=u)&&void 0!==b||(u={});let K,he=gi.None;Array.isArray(H)?(K=H[0],he=H[1]):K=H;let we=N;if(null!==x){if(!x.hasOwnProperty(N))continue;we=x[N]}0===e?Lp(u,i,we,K,he):Lp(u,i,we,K)}return u}function Lp(e,t,i,u,x){let b;e.hasOwnProperty(i)?(b=e[i]).push(t,u):b=e[i]=[t,u],void 0!==x&&b.push(x)}function Ci(e,t,i,u,x,b,N,H){const K=hi(t,i);let we,he=t.inputs;!H&&null!=he&&(we=he[u])?(j0(e,i,we,u,x),Ho(t)&&function R8(e,t){const i=Ti(t,e);16&i[Rn]||(i[Rn]|=64)}(i,t.index)):3&t.type&&(u=function P8(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(u),x=null!=N?N(x,t.value||"",u):x,b.setProperty(K,u,x))}function L0(e,t,i,u){if(Nf()){const x=null===u?null:{"":-1},b=function U8(e,t){const i=e.directiveRegistry;let u=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,u,b)}}(e,t,u,ul(e,i,x.hostVars,rr),x)}function fo(e,t,i,u,x,b){const N=hi(e,t);!function U0(e,t,i,u,x,b,N){if(null==b)e.removeAttribute(t,x,i);else{const H=null==N?dt(b):N(b,u||"",x);e.setAttribute(t,x,H,i)}}(t[Qn],N,b,e.value,i,u,x)}function K8(e,t,i,u,x,b){const N=b[t];if(null!==N)for(let H=0;H0&&(i[x-1][Lr]=t),u!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{za(e.lView)},consumerOnSignalRead(){this.lView[io]=this}},Yp=100;function Lu(e,t=!0,i=0){const u=e[Si],x=u.rendererFactory;var N;null===(N=x.begin)||void 0===N||N.call(x);try{!function t9(e,t){W0(e,t);let i=0;for(;Pc(e);){if(i===Yp)throw new G(103,!1);i++,W0(e,1)}}(e,i)}catch(he){throw t&&ku(e,he),he}finally{var H,K;null===(H=x.end)||void 0===H||H.call(x),null===(K=u.inlineEffectRunner)||void 0===K||K.flush()}}function n9(e,t,i,u){var x;const b=t[Rn];if(!(256&~b))return;null===(x=t[Si].inlineEffectRunner)||void 0===x||x.flush(),Vc(t);let H=null,K=null;(function r9(e){return 2!==e.type})(e)&&(K=function Q8(e){var t;return null!==(t=e[io])&&void 0!==t?t:function J8(e){var t;const i=null!==(t=Xp.pop())&&void 0!==t?t:Object.create(e9);return i.lView=e,i}(e)}(t),H=function M(e){return e&&(e.nextProducerIndex=0),C(e)}(K));try{Pf(t),function Vf(e){return tr.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==i&&Rp(e,t,i,2,u);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[Rn]&eu.HasTransplantedViews))continue;const i=t[jo];for(let u=0;ue.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(K,H),function q8(e){e.lView[io]!==e&&(e.lView=null,Xp.push(e))}(K)),jc()}}function Zp(e,t){for(let i=Bh(e);null!==i;i=Sh(i))for(let u=kr;u-1&&(sl(t,u),Bi(i,u))}this._attachedToViewContainer=!1}Tu(this._lView[yn],this._lView)}onDestroy(t){nu(this._lView,t)}markForCheck(){hl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Rn]&=-129}reattach(){Rc(this._lView),this._lView[Rn]|=128}detectChanges(){this._lView[Rn]|=1024,Lu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vp(this._lView[yn],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,u){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=u}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,u){const x=function cl(e,t,i,u){const x=C(null);try{var b,N,H;const K=t.tView,Ne=Ou(e,K,i,4096&e[Rn]?4096:16,null,t,null,null,null!==(b=null==u?void 0:u.injector)&&void 0!==b?b:null,null!==(N=null==u?void 0:u.embeddedViewInjector)&&void 0!==N?N:null,null!==(H=null==u?void 0:u.dehydratedView)&&void 0!==H?H:null);Ne[Uo]=e[t.index];const Dt=e[Li];return null!==Dt&&(Ne[Li]=Dt.createEmbeddedView(K)),H0(K,Ne,i),Ne}finally{C(x)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:u});return new pl(x)}};function l9(){return $u(yr(),sn())}function $u(e,t){return 4&e.type?new a9(t,e,zs(e,t)):null}class Q0{}class F9{}class ox{}class R9{resolveComponentFactory(t){throw function P9(e){const t=Error(`No component factory found for ${Wt(e)}.`);return t.ngComponent=e,t}(t)}}let zu=(()=>{class t{}return t.NULL=new R9,t})();class ax{}let O9=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function N9(){const e=sn(),i=Ti(yr().index,e);return(ii(i)?i:e)[Qn]}(),t})(),k9=(()=>{var e;class t{}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>null}),t})();const J0={},lx=new Set;function ho(e){var t,i;lx.has(e)||(lx.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 ux(...e){}class zr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:u=!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=!u&&i,x.shouldCoalesceRunChangeDetection=u,x.lastRequestAnimationFrameId=-1,x.nativeRequestAnimationFrame=function L9(){const e="function"==typeof bt.requestAnimationFrame;let t=bt[e?"requestAnimationFrame":"setTimeout"],i=bt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const u=t[Zone.__symbol__("OriginalDelegate")];u&&(t=u);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(bt,()=>{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,u,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 cx(e),i.invokeTask(x,b,N,H)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===b.type||e.shouldCoalesceRunChangeDetection)&&t(),dx(e)}},onInvoke:(i,u,x,b,N,H,K)=>{try{return cx(e),i.invoke(x,b,N,H,K)}finally{e.shouldCoalesceRunChangeDetection&&t(),dx(e)}},onHasTask:(i,u,x,b)=>{i.hasTask(x,b),u===x&&("microTask"==b.change?(e._hasPendingMicrotasks=b.microTask,ed(e),q0(e)):"macroTask"==b.change&&(e.hasPendingMacrotasks=b.macroTask))},onHandleError:(i,u,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(!zr.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(zr.isInAngularZone())throw new G(909,!1)}run(t,i,u){return this._inner.run(t,i,u)}runTask(t,i,u,x){const b=this._inner,N=b.scheduleEventTask("NgZoneEvent: "+x,t,$9,ux,ux);try{return b.runTask(N,i,u)}finally{b.cancelTask(N)}}runGuarded(t,i,u){return this._inner.runGuarded(t,i,u)}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 cx(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function dx(e){e._nesting--,q0(e)}class fx{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,u){return t.apply(i,u)}runGuarded(t,i,u){return t.apply(i,u)}runOutsideAngular(t){return t()}runTask(t,i,u,x){return t.apply(i,u)}}var Es=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Es||{});const hx={destroy(){}};function px(e,t){var i,u,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:$n(Fi);if(!function Yi(e){return"browser"===(null!=e?e:$n(Fi)).get(o0)}(b))return hx;ho("NgAfterNextRender");const N=b.get(yl),H=null!==(u=N.handler)&&void 0!==u?u:N.handler=new vx,K=null!==(x=null==t?void 0:t.phase)&&void 0!==x?x:Es.MixedReadWrite,he=()=>{H.unregister(Ne),we()},we=b.get(Hs).onDestroy(he),Ne=ro(b,()=>new xx(K,()=>{he(),e()}));return H.register(Ne),{destroy:he}}class xx{constructor(t,i){var u;this.phase=t,this.callbackFn=i,this.zone=$n(zr),this.errorHandler=$n(So,{optional:!0}),null===(u=$n(Q0,{optional:!0}))||void 0===u||u.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(i){var t;null===(t=this.errorHandler)||void 0===t||t.handleError(i)}}}class vx{constructor(){this.executingCallbacks=!1,this.buckets={[Es.EarlyRead]:new Set,[Es.Write]:new Set,[Es.MixedReadWrite]:new Set,[Es.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let yl=(()=>{var e;class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var u;this.executeInternalCallbacks(),null===(u=this.handler)||void 0===u||u.execute()}executeInternalCallbacks(){const u=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const x of u)x()}ngOnDestroy(){var u;null===(u=this.handler)||void 0===u||u.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>new e}),t})();function Go(e){return!!Gr(e)}function Ku(e,t,i){let u=i?e.styles:null,x=i?e.classes:null,b=0;if(null!==t)for(let N=0;N0&&Bp(e,i,b.join(" "))}}(tn,Ji,gn,u),void 0!==i&&function eC(e,t,i){const u=e.projection=[];for(let x=0;x{class t{}return t.__NG_ELEMENT_ID__=nC,t})();function nC(){return Dx(yr(),sn())}const rC=Xu,Cx=class extends rC{constructor(t,i,u){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=u}get element(){return zs(this._hostTNode,this._hostLView)}get injector(){return new Yr(this._hostTNode,this._hostLView)}get parentInjector(){const t=uu(this._hostTNode,this._hostLView);if(Wc(t)){const i=Ya(t,this._hostLView),u=Xa(t);return new Yr(i[yn].data[u+8],i)}return new Yr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=bx(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-kr}createEmbeddedView(t,i,u){let x,b;"number"==typeof u?x=u:null!=u&&(x=u.index,b=u.injector);const H=t.createEmbeddedViewImpl(i||{},b,null);return this.insertImpl(H,x,ea(this._hostTNode,null)),H}createComponent(t,i,u,x,b){var N,K;const he=t&&!function Jt(e){return"function"==typeof e}(t);let we;if(he)we=i;else{const gn=i||{};we=gn.index,u=gn.injector,x=gn.projectableNodes,b=gn.environmentInjector||gn.ngModuleRef}const Ne=he?t:new Dl(er(t)),ct=u||this.parentInjector;if(!b&&null==Ne.ngModule){const on=(he?ct:this.parentInjector).get(fi,null);on&&(b=on)}const Dt=er(null!==(N=Ne.componentType)&&void 0!==N?N:{}),jt=(null==Dt?void 0:Dt.id,null),tn=null!==(K=null==jt?void 0:jt.firstChild)&&void 0!==K?K:null,pn=Ne.create(ct,x,tn,b);return this.insertImpl(pn.hostView,we,ea(this._hostTNode,jt)),pn}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,u){const x=t._lView;if(function Z1(e){return Jr(e[ir])}(x)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const K=x[ir],he=new Cx(K,K[Ar],K[ir]);he.detach(he.indexOf(t))}}const b=this._adjustIndex(i),N=this._lContainer;return dl(N,x,b,u),t.attachToViewContainerRef(),Ni(id(N),b,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=bx(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),u=sl(this._lContainer,i);u&&(Bi(id(this._lContainer),i),Tu(u[yn],u))}detach(t){const i=this._adjustIndex(t,-1),u=sl(this._lContainer,i);return u&&null!=Bi(id(this._lContainer),i)?new pl(u):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function bx(e){return e[8]}function id(e){return e[8]||(e[8]=[])}function Dx(e,t){let i;const u=t[e.index];return Jr(u)?i=u:(i=Vp(u,t,null,e),t[e.index]=i,Nu(t,i)),Ax(i,t,e,u),new Cx(i,e,t)}let Ax=function wx(e,t,i,u){if(e[Gi])return;let x;x=8&i.type?br(u):function iC(e,t){const i=e[Qn],u=i.createComment(""),x=hi(t,e);return gs(i,Fu(i,x),u,function E8(e,t){return e.nextSibling(t)}(i,x),!1),u}(t,i),e[Gi]=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 u=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 u=0;u0)u.push(N[H/2]);else{const he=b[H+1],we=t[-K];for(let Ne=kr;Ne=0;u--){const x=e[u];x.hostVars=t+=x.hostVars,x.hostAttrs=Xe(x.hostAttrs,i=Xe(i,x.hostAttrs))}}(u)}function AC(e,t){for(const u in t.inputs){if(!t.inputs.hasOwnProperty(u)||e.inputs.hasOwnProperty(u))continue;const x=t.inputs[u];if(void 0!==x&&(e.inputs[u]=x,e.declaredInputs[u]=t.declaredInputs[u],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===dn?{}:e===fn?[]:e}function wC(e,t){const i=e.viewQuery;e.viewQuery=i?(u,x)=>{t(u,x),i(u,x)}:t}function _C(e,t){const i=e.contentQueries;e.contentQueries=i?(u,x,b)=>{t(u,x,b),i(u,x,b)}:t}function BC(e,t){const i=e.hostBindings;e.hostBindings=i?(u,x)=>{t(u,x),i(u,x)}:t}function Qx(e){const t=e.inputConfig,i={};for(const u in t)if(t.hasOwnProperty(u)){const x=t[u];Array.isArray(x)&&x[3]&&(i[u]=x[3])}e.inputTransforms=i}class ys{}class Jx{}function RC(e,t){return new xd(e,null!=t?t:null,[])}class xd extends ys{constructor(t,i,u){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ex(this);const x=Gr(t);this._bootstrapComponents=Pi(x.bootstrap),this._r3Injector=ph(t,i,[{provide:ys,useValue:this},{provide:zu,useValue:this.componentFactoryResolver},...u],Wt(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 Jx{constructor(t){super(),this.moduleType=t}create(t){return new xd(this.moduleType,t,[])}}class qx extends ys{constructor(t){super(),this.componentFactoryResolver=new Ex(this),this.instance=null;const i=new to([...t.providers,{provide:ys,useValue:this},{provide:zu,useValue:this.componentFactoryResolver}],t.parent||ko(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function md(e,t,i=null){return new qx({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let ra=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Te.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const u=this.taskId++;return this.pendingTasks.add(u),u}remove(u){this.pendingTasks.delete(u),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(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Ju(e){return!!gd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function gd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function po(e,t,i){return e[t]=i}function $r(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Cs(e,t,i,u){const x=$r(e,t,i);return $r(e,t+1,u)||x}function ia(e,t,i,u,x,b,N,H){const K=sn(),he=ur(),we=e+Jn,Ne=he.firstCreatePass?function VC(e,t,i,u,x,b,N,H,K){const he=t.consts,we=qs(t,e,4,N||null,so(he,H));L0(t,i,we,so(he,K)),iu(t,we);const Ne=we.tView=k0(2,we,u,x,b,t.directiveRegistry,t.pipeRegistry,null,t.schemas,he,null);return null!==t.queries&&(t.queries.template(t,we),Ne.queries=t.queries.embeddedTView(we)),we}(we,he,K,t,i,u,x,b,N):he.data[we];ao(Ne,!1);const ct=ev(he,K,Ne,e);Ka()&&Pu(he,K,ct,Ne),ci(ct,K);const Dt=Vp(ct,K,ct,Ne);return K[we]=Dt,Nu(K,Dt),function Mx(e,t,i){return od(e,t,i)}(Dt,Ne,K),us(Ne)&&O0(he,K,Ne),null!=N&&N0(K,Ne,H),ia}let ev=function tv(e,t,i,u){return lo(!0),t[Qn].createComment("")};function Bd(e,t,i,u){const x=sn();return $r(x,Xi(),t)&&(ur(),fo(Br(),x,e,t,i,u)),Bd}function fa(e,t,i,u){return $r(e,Xi(),i)?t+dt(i)+u:rr}function ha(e,t,i,u,x,b){const H=Cs(e,function _o(){return tr.lFrame.bindingIndex}(),i,x);return Bo(2),H?t+dt(i)+u+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 Ds(e){return(131068&e)>>2}function Id(e,t){return-131069&e|t<<2}function Td(e){return 1|e}function Fv(e,t,i,u){const x=e[i+1],b=null===t;let N=u?Zo(x):Ds(x),H=!1;for(;0!==N&&(!1===H||b);){const he=e[N+1];_2(e[N],t)&&(H=!0,e[N+1]=u?Td(he):Sd(he)),N=u?Zo(he):Ds(he)}H&&(e[i+1]=u?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)&&Ie(e,t)>=0}const Zr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Pv(e){return e.substring(Zr.key,Zr.keyEnd)}function B2(e){return e.substring(Zr.value,Zr.valueEnd)}function Rv(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),ya(e,t,i))}function Ov(e,t){const i=Zr.textEnd;let u=Zr.key=ya(e,t,i);return i===u?-1:(u=Zr.keyEnd=function F2(e,t,i){let u;for(;t=65&&(-33&u)<=90||u>=48&&u<=57);)t++;return t}(e,u,i),u=kv(e,u,i),u=Zr.value=ya(e,u,i),u=Zr.valueEnd=function P2(e,t,i){let u=-1,x=-1,b=-1,N=t,H=N;for(;N32&&(H=N),b=x,x=u,u=-33&K}return H}(e,u,i),kv(e,u,i))}function Nv(e){Zr.key=0,Zr.keyEnd=0,Zr.value=0,Zr.valueEnd=0,Zr.textEnd=e.length}function ya(e,t,i){for(;t=0;i=Ov(t,i))jv(e,Pv(t),B2(t))}function vo(e,t){for(let i=function S2(e){return Nv(e),Rv(e,ya(e,0,Zr.textEnd))}(t);i>=0;i=Rv(t,i))Re(e,Pv(t),!0)}function Qi(e,t,i,u){const x=ur(),b=Bo(2);x.firstUpdatePass&&Vv(x,null,b,u);const N=sn();if(i!==rr&&$r(N,b,i)){const H=x.data[ui()];if(Wv(H,u)&&!Uv(x,b)){let K=u?H.classesWithoutHost:H.stylesWithoutHost;null!==K&&(i=Nt(K,i||"")),Pd(x,H,N,i,u)}else!function j2(e,t,i,u,x,b,N,H){x===rr&&(x=fn);let K=0,he=0,we=0=e.expandoStartIndex}function Vv(e,t,i,u){const x=e.data;if(null===x[i+1]){const b=x[ui()],N=Uv(e,i);Wv(b,u)&&null===t&&!N&&(t=!1),t=function N2(e,t,i,u){const x=function $c(e){const t=tr.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let b=u?t.residualClasses:t.residualStyles;if(null===x)0===(u?t.classBindings:t.styleBindings)&&(i=Il(i=Od(null,e,t,i,u),t.attrs,u),b=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==x)if(i=Od(x,e,t,i,u),null===b){let K=function k2(e,t,i){const u=i?t.classBindings:t.styleBindings;if(0!==Ds(u))return e[Zo(u)]}(e,t,u);void 0!==K&&Array.isArray(K)&&(K=Od(null,e,t,K[1],u),K=Il(K,t.attrs,u),function L2(e,t,i,u){e[Zo(i?t.classBindings:t.styleBindings)]=u}(e,t,u,K))}else b=function $2(e,t,i){let u;const x=t.directiveEnd;for(let b=1+t.directiveStylingLast;b0)&&(he=!0)):we=i,x)if(0!==K){const ct=Zo(e[H+1]);e[u+1]=oc(ct,H),0!==ct&&(e[ct+1]=Id(e[ct+1],u)),e[H+1]=function D2(e,t){return 131071&e|t<<17}(e[H+1],u)}else e[u+1]=oc(H,0),0!==H&&(e[H+1]=Id(e[H+1],u)),H=u;else e[u+1]=oc(K,0),0===H?H=u:e[K+1]=Id(e[K+1],u),K=u;he&&(e[u+1]=Sd(e[u+1])),Fv(e,we,u,!0),Fv(e,we,u,!1),function w2(e,t,i,u,x){const b=x?e.residualClasses:e.residualStyles;null!=b&&"string"==typeof t&&Ie(b,t)>=0&&(i[u+1]=Td(i[u+1]))}(t,we,e,u,b),N=oc(H,K),b?t.classBindings=N:t.styleBindings=N}(x,b,t,i,N,u)}}function Od(e,t,i,u,x){let b=null;const N=i.directiveEnd;let H=i.directiveStylingLast;for(-1===H?H=i.directiveStart:H++;H0;){const K=e[x],he=Array.isArray(K),we=he?K[1]:K,Ne=null===we;let ct=i[x+1];ct===rr&&(ct=Ne?fn:void 0);let Dt=Ne?Le(ct,u):we===u?ct:void 0;if(he&&!sc(Dt)&&(Dt=Le(K,u)),sc(Dt)&&(H=Dt,N))return H;const jt=e[x+1];x=N?Zo(jt):Ds(jt)}if(null!==t){let K=b?t.residualClasses:t.residualStyles;null!=K&&(H=Le(K,u))}return H}function sc(e){return void 0!==e}function Wv(e,t){return!!(e.flags&(t?8:16))}function Kv(e,t,i){Qi(Re,vo,fa(sn(),e,t,i),!0)}function ac(e,t,i,u){const x=sn(),b=ur(),N=Jn+e,H=x[Qn],K=b.firstCreatePass?function db(e,t,i,u,x,b){const N=t.consts,K=qs(t,e,2,u,so(N,x));return L0(t,i,K,so(N,b)),null!==K.attrs&&Ku(K,K.attrs,!1),null!==K.mergedAttrs&&Ku(K,K.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,K),K}(N,b,x,t,i,u):b.data[N],he=Zv(b,x,K,H,t,e);x[N]=he;const we=us(K);return ao(K,!0),Sp(H,he,K),!function wl(e){return!(32&~e.flags)}(K)&&Ka()&&Pu(b,x,he,K),0===function J1(){return tr.lFrame.elementDepthCount}()&&ci(he,x),function q1(){tr.lFrame.elementDepthCount++}(),we&&(O0(b,x,K),R0(b,K,x)),null!==u&&N0(x,K),ac}function lc(){let e=yr();Nc()?kc():(e=e.parent,ao(e,!1));const t=e;(function tE(e){return tr.skipHydrationRootTNode===e})(t)&&function oE(){tr.skipHydrationRootTNode=null}(),function eE(){tr.lFrame.elementDepthCount--}();const i=ur();return i.firstCreatePass&&(iu(i,e),La(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function yE(e){return!!(8&e.flags)}(t)&&Pd(i,t,sn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function CE(e){return!!(16&e.flags)}(t)&&Pd(i,t,sn(),t.stylesWithoutHost,!1),lc}function Ud(e,t,i,u){return ac(e,t,i,u),lc(),Ud}let Zv=(e,t,i,u,x,b)=>(lo(!0),Iu(u,x,function Xf(){return tr.lFrame.currentNamespace}()));function Vd(e,t,i){const u=sn(),x=ur(),b=e+Jn,N=x.firstCreatePass?function pb(e,t,i,u,x){const b=t.consts,N=so(b,u),H=qs(t,e,8,"ng-container",N);return null!==N&&Ku(H,N,!0),L0(t,i,H,so(b,x)),null!==t.queries&&t.queries.elementStart(t,H),H}(b,x,u,t,i):x.data[b];ao(N,!0);const H=Qv(x,u,N,e);return u[b]=H,Ka()&&Pu(x,u,H,N),ci(H,u),us(N)&&(O0(x,u,N),R0(x,N,u)),null!=i&&N0(u,N),Vd}function jd(){let e=yr();const t=ur();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 Qv=(e,t,i,u)=>(lo(!0),_0(t[Qn],""));function Jv(){return sn()}const As=void 0;var gb=["en",[["a","p"],["AM","PM"],As],[["AM","PM"],As,As],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],As,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],As,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",As,"{1} 'at' {0}",As],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mb(e){const i=Math.floor(Math.abs(e)),u=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===u?1:5}];let Ca={};function zd(e){const t=function Eb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=nm(t);if(i)return i;const u=t.split("-")[0];if(i=nm(u),i)return i;if("en"===u)return gb;throw new G(701,!1)}function tm(e){return zd(e)[ba.PluralCase]}function nm(e){return e in Ca||(Ca[e]=bt.ng&&bt.ng.common&&bt.ng.common.locales&&bt.ng.common.locales[e]),Ca[e]}var ba=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ba||{});const Da="en-US";let rm=Da;function Gd(e,t,i,u){const x=sn(),b=ur(),N=yr();return Xd(b,x,x[Qn],N,e,t,u),Gd}function Xd(e,t,i,u,x,b,N){const H=us(u),he=e.firstCreatePass&&zp(e),we=t[Cr],Ne=Hp(t);let ct=!0;if(3&u.type||N){const tn=hi(u,t),pn=N?N(tn):tn,gn=Ne.length,on=N?or=>N(br(or[u.index])):u.index;let Yn=null;if(!N&&H&&(Yn=function x6(e,t,i,u){const x=e.cleanup;if(null!=x)for(let b=0;bK?H[K]:null}"string"==typeof N&&(b+=2)}return null}(e,t,x,u.index)),null!==Yn)(Yn.__ngLastListenerFn__||Yn).__ngNextListenerFn__=b,Yn.__ngLastListenerFn__=b,ct=!1;else{b=Tm(u,t,we,b,!1);const or=i.listen(pn,x,b);Ne.push(b,or),he&&he.push(x,on,gn,gn+1)}}else b=Tm(u,t,we,b,!1);const Dt=u.outputs;let jt;if(ct&&null!==Dt&&(jt=Dt[x])){const tn=jt.length;if(tn)for(let pn=0;pn-1?Ti(e.index,t):t);let K=Im(t,i,u,N),he=b.__ngNextListenerFn__;for(;he;)K=Im(t,i,he,N)&&K,he=he.__ngNextListenerFn__;return x&&!1===K&&N.preventDefault(),K}}function Fm(e=1){return function dE(e){return(tr.lFrame.contextLView=function Rf(e,t){for(;e>0;)t=t[Ao],e--;return t}(e,tr.lFrame.contextLView))[Cr]}(e)}function v6(e,t){let i=null;const u=function yo(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let x=0;x(lo(!0),function w0(e,t){return e.createText(t)}(t[Qn],u));function Qd(e){return hc("",e,""),Qd}function hc(e,t,i){const u=sn(),x=fa(u,e,t,i);return x!==rr&&Fo(u,ui(),x),hc}function Jd(e,t,i,u,x){const b=sn(),N=ha(b,e,t,i,u,x);return N!==rr&&Fo(b,ui(),N),Jd}function qd(e,t,i){Nx(t)&&(t=t());const u=sn();return $r(u,Xi(),t)&&Ci(ur(),Br(),u,e,t,u[Qn],i,!1),qd}function fg(e,t){const i=Nx(e);return i&&e.set(t),i}function ef(e,t){const i=sn(),u=ur(),x=yr();return Xd(u,i,i[Qn],x,e,t),ef}function tf(e,t,i,u,x){if(e=He(e),Array.isArray(e))for(let b=0;b>20;if(Ki(e)||!e.multi){const Dt=new Ga(he,x,Js),jt=rf(K,t,x?we:we+ct,Ne);-1===jt?(Xc(lu(H,N),b,K),nf(b,e,t.length),t.push(K),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(Dt),N.push(Dt)):(i[jt]=Dt,N[jt]=Dt)}else{const Dt=rf(K,t,we+ct,Ne),jt=rf(K,t,we,we+ct),pn=jt>=0&&i[jt];if(x&&!pn||!x&&!(Dt>=0&&i[Dt])){Xc(lu(H,N),b,K);const gn=function O6(e,t,i,u,x){const b=new Ga(e,i,Js);return b.multi=[],b.index=t,b.componentProviders=0,hg(b,x,u&&!i),b}(x?R6:P6,i.length,x,u,he);!x&&pn&&(i[jt].providerFactory=gn),nf(b,e,t.length,0),t.push(K),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(gn),N.push(gn)}else nf(b,e,Dt>-1?Dt:jt,hg(i[x?jt:Dt],he,!x&&u));!x&&u&&pn&&i[jt].componentProviders++}}}function nf(e,t,i,u){const x=Ki(t),b=function Ra(e){return!!e.useClass}(t);if(x||b){const K=(b?He(t.useClass):t).prototype.ngOnDestroy;if(K){const he=e.destroyHooks||(e.destroyHooks=[]);if(!x&&t.multi){const we=he.indexOf(i);-1===we?he.push(i,[u,K]):he[we+1].push(u,K)}else he.push(i,K)}}}function hg(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function rf(e,t,i,u){for(let x=i;x{i.providersResolver=(u,x)=>function F6(e,t,i){const u=ur();if(u.firstCreatePass){const x=Ii(e);tf(i,u.data,u.blueprint,x,!0),tf(t,u.data,u.blueprint,x,!1)}}(u,x?x(e):e,t)}}let N6=(()=>{var e;class t{constructor(u){this._injector=u,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(u){if(!u.standalone)return null;if(!this.cachedInjectors.has(u)){const x=Oo(0,u.type),b=x.length>0?md([x],this._injector,`Standalone[${u.type.name}]`):null;this.cachedInjectors.set(u,b)}return this.cachedInjectors.get(u)}ngOnDestroy(){try{for(const u of this.cachedInjectors.values())null!==u&&u.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Mn({token:e,providedIn:"environment",factory:()=>new e(Dr(fi))}),t})();function xg(e){ho("NgStandalone"),e.getStandaloneInjector=t=>t.get(N6).getOrCreateStandaloneInjector(e)}function mg(e,t,i){const u=pi()+e,x=sn();return x[u]===rr?po(x,u,i?t.call(i):t()):function Ml(e,t){return e[t]}(x,u)}function gg(e,t,i,u){return yg(sn(),pi(),e,t,i,u)}function Eg(e,t,i,u,x){return function Cg(e,t,i,u,x,b,N){const H=t+i;return Cs(e,H,x,b)?po(e,H+2,N?u.call(N,x,b):u(x,b)):kl(e,H+2)}(sn(),pi(),e,t,i,u,x)}function kl(e,t){const i=e[t];return i===rr?void 0:i}function yg(e,t,i,u,x,b){const N=t+i;return $r(e,N,x)?po(e,N+1,b?u.call(b,x):u(x)):kl(e,N+1)}function Mg(e,t){const i=ur();let u;const x=e+Jn;var b;i.firstCreatePass?(u=function K6(e,t){if(t)for(let i=t.length-1;i>=0;i--){const u=t[i];if(e===u.name)return u}}(t,i.pipeRegistry),i.data[x]=u,u.onDestroy&&(null!==(b=i.destroyHooks)&&void 0!==b?b:i.destroyHooks=[]).push(x,u.onDestroy)):u=i.data[x];const N=u.factory||(u.factory=ti(u.type)),K=Pn(Js);try{const he=au(!1),we=N();return au(he),function y6(e,t,i,u){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=u}(i,sn(),x,we),we}finally{Pn(K)}}function wg(e,t,i){const u=e+Jn,x=sn(),b=function Ls(e,t){return e[t]}(x,u);return function Ll(e,t){return e[yn].data[t].pure}(x,u)?yg(x,pi(),t,b.transform,i,b):b.transform(i)}class jg{constructor(t){this.full=t;const i=t.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}let Hg=(()=>{var e;class t{log(u){console.log(u)}warn(u){console.warn(u)}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Gg=new kt(""),Xg=new kt("");let hf,zD=(()=>{var e;class t{constructor(u,x,b){this._ngZone=u,this.registry=x,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,hf||(function WD(e){hf=e}(b),b.addToWindow(x)),this._watchAngularEvents(),u.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:()=>{zr.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 u=this._callbacks.pop();clearTimeout(u.timeoutId),u.doneCb()}});else{let u=this.getPendingTasks();this._callbacks=this._callbacks.filter(x=>!x.updateCb||!x.updateCb(u)||(clearTimeout(x.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(u=>({source:u.source,creationLocation:u.creationLocation,data:u.data})):[]}addCallback(u,x,b){let N=-1;x&&x>0&&(N=setTimeout(()=>{this._callbacks=this._callbacks.filter(H=>H.timeoutId!==N),u()},x)),this._callbacks.push({doneCb:u,timeoutId:N,updateCb:b})}whenStable(u,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(u,x,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(u){this.registry.registerApplication(u,this)}unregisterApplication(u){this.registry.unregisterApplication(u)}findProviders(u,x,b){return[]}}return(e=t).\u0275fac=function(u){return new(u||e)(Dr(zr),Dr(Yg),Dr(Xg))},e.\u0275prov=Mn({token:e,factory:e.\u0275fac}),t})(),Yg=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(u,x){this._applications.set(u,x)}unregisterApplication(u){this._applications.delete(u)}unregisterAllApplications(){this._applications.clear()}getTestability(u){return this._applications.get(u)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(u,x=!0){var b,N;return null!==(b=null===(N=hf)||void 0===N?void 0:N.findTestabilityInTree(this,u,x))&&void 0!==b?b:null}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function pf(e){return!!e&&"function"==typeof e.then}function Zg(e){return!!e&&"function"==typeof e.subscribe}const Qg=new kt("");let xf=(()=>{var e;class t{constructor(){var u;this.initialized=!1,this.done=!1,this.donePromise=new Promise((x,b)=>{this.resolve=x,this.reject=b}),this.appInits=null!==(u=$n(Qg,{optional:!0}))&&void 0!==u?u:[]}runInitializers(){if(this.initialized)return;const u=[];for(const b of this.appInits){const N=b();if(pf(N))u.push(N);else if(Zg(N)){const H=new Promise((K,he)=>{N.subscribe({complete:K,error:he})});u.push(H)}}const x=()=>{this.done=!0,this.resolve()};Promise.all(u).then(()=>{x()}).catch(b=>{this.reject(b)}),0===u.length&&x(),this.initialized=!0}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const vf=new kt("");function e1(e,t){return Array.isArray(t)?t.reduce(e1,e):{...e,...t}}let Qo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=$n(vh),this.afterRenderEffectManager=$n(yl),this.externalTestViews=new Set,this.beforeRender=new Oe.B,this.afterTick=new Oe.B,this.componentTypes=[],this.components=[],this.isStable=$n(ra).hasPendingTasks.pipe((0,Be.T)(u=>!u)),this._injector=$n(fi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(u,x){const b=u instanceof ox;if(!this._injector.get(xf).done)throw!b&&li(u),new G(405,!1);let H;H=b?u:this._injector.get(zu).resolveComponentFactory(u),this.componentTypes.push(H.componentType);const K=function KD(e){return e.isBoundToModule}(H)?void 0:this._injector.get(ys),we=H.create(Fi.NULL,[],x||H.selector,K),Ne=we.location.nativeElement,ct=we.injector.get(Gg,null);return null==ct||ct.registerApplication(Ne),we.onDestroy(()=>{this.detachView(we.hostView),mc(this.components,we),null==ct||ct.unregisterApplication(Ne)}),this._loadComponent(we),we}tick(){this._tick(!0)}_tick(u){if(this._runningTick)throw new G(101,!1);const x=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(u)}catch(b){this.internalErrorHandler(b)}finally{this.afterTick.next(),this._runningTick=!1,C(x)}}detectChangesInAttachedViews(u){let x=0;const b=this.afterRenderEffectManager;for(;;){if(x===Yp)throw new G(103,!1);if(u){const N=0===x;this.beforeRender.next(N);for(let{_lView:H,notifyErrorHandler:K}of this._views)XD(H,N,K)}if(x++,b.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:N})=>mf(N))&&(b.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:N})=>mf(N))))break}}attachView(u){const x=u;this._views.push(x),x.attachToAppRef(this)}detachView(u){const x=u;mc(this._views,x),x.detachFromAppRef()}_loadComponent(u){this.attachView(u.hostView),this.tick(),this.components.push(u);const x=this._injector.get(vf,[]);[...this._bootstrapListeners,...x].forEach(b=>b(u))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(u=>u()),this._views.slice().forEach(u=>u.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(u){return this._destroyListeners.push(u),()=>mc(this._destroyListeners,u)}destroy(){if(this._destroyed)throw new G(406,!1);const u=this._injector;u.destroy&&!u.destroyed&&u.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({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 u;i?(u=0,e[Rn]|=1024):u=64&e[Rn]?0:1,Lu(e,t,u)}(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(u){return new vd(u)}compileModuleAsync(u){return Promise.resolve(this.compileModuleSync(u))}compileModuleAndAllComponentsSync(u){const x=this.compileModuleSync(u),N=Pi(Gr(u).declarations).reduce((H,K)=>{const he=er(K);return he&&H.push(new Dl(he)),H},[]);return new ZD(x,N)}compileModuleAndAllComponentsAsync(u){return Promise.resolve(this.compileModuleAndAllComponentsSync(u))}clearCache(){}clearCacheFor(u){}getModuleId(u){}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),eA=(()=>{var e;class t{constructor(){this.zone=$n(zr),this.applicationRef=$n(Qo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var u;null===(u=this._onMicrotaskEmptySubscription)||void 0===u||u.unsubscribe()}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function tA(){const e=$n(zr),t=$n(So);return i=>e.runOutsideAngular(()=>t.handleError(i))}let rA=(()=>{var e;class t{constructor(){this.subscription=new pe.yU,this.initialized=!1,this.zone=$n(zr),this.pendingTasks=$n(ra)}initialize(){if(this.initialized)return;this.initialized=!0;let u=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(u=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{zr.assertNotInAngularZone(),queueMicrotask(()=>{null!==u&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(u),u=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{var x;zr.assertInAngularZone(),null!==(x=u)&&void 0!==x||(u=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const gc=new kt("",{providedIn:"root",factory:()=>$n(gc,nn.Optional|nn.SkipSelf)||function iA(){return typeof $localize<"u"&&$localize.locale||Da}()}),oA=new kt("",{providedIn:"root",factory:()=>"USD"}),gf=new kt("");let i1=(()=>{var e;class t{constructor(u){this._injector=u,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(u,x){const b=function H9(e="zone.js",t){return"noop"===e?new fx:"zone.js"===e?new zr(t):e}(null==x?void 0:x.ngZone,function r1(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)}(u.moduleType,this.injector,function n1(e){return[{provide:zr,useFactory:e},{provide:Un,multi:!0,useFactory:()=>{const t=$n(eA,{optional:!0});return()=>t.initialize()}},{provide:Un,multi:!0,useFactory:()=>{const t=$n(rA);return()=>{t.initialize()}}},{provide:vh,useFactory:tA}]}(()=>b)),H=N.injector.get(So,null);return b.runOutsideAngular(()=>{const K=b.onError.subscribe({next:he=>{H.handleError(he)}});N.onDestroy(()=>{mc(this._modules,N),K.unsubscribe()})}),function qg(e,t,i){try{const u=i();return pf(u)?u.catch(x=>{throw t.runOutsideAngular(()=>e.handleError(x)),x}):u}catch(u){throw t.runOutsideAngular(()=>e.handleError(u)),u}}(H,b,()=>{const K=N.injector.get(xf);return K.runInitializers(),K.donePromise.then(()=>(function im(e){"string"==typeof e&&(rm=e.toLowerCase().replace(/_/g,"-"))}(N.injector.get(gc,Da)||Da),this._moduleDoBootstrap(N),N))})})}bootstrapModule(u,x=[]){const b=e1({},x);return function qD(e,t,i){const u=new vd(i);return Promise.resolve(u)}(0,0,u).then(N=>this.bootstrapModuleFactory(N,b))}_moduleDoBootstrap(u){const x=u.injector.get(Qo);if(u._bootstrapComponents.length>0)u._bootstrapComponents.forEach(b=>x.bootstrap(b));else{if(!u.instance.ngDoBootstrap)throw new G(-403,!1);u.instance.ngDoBootstrap(x)}this._modules.push(u)}onDestroy(u){this._destroyListeners.push(u)}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 u=this._injector.get(gf,null);u&&(u.forEach(x=>x()),u.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(u){return new(u||e)(Dr(Fi))},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Jo=null;const o1=new kt("");function s1(e,t,i=[]){const u=`Platform: ${t}`,x=new kt(u);return(b=[])=>{let N=Ef();if(!N||N.injector.get(o1,!1)){const H=[...i,...b,{provide:x,useValue:!0}];e?e(H):function aA(e){if(Jo&&!Jo.get(o1,!1))throw new G(400,!1);(function Jg(){!function d(e){v=e}(()=>{throw new G(600,!1)})})(),Jo=e;const t=e.get(i1);(function l1(e){const t=e.get($h,null);null==t||t.forEach(i=>i())})(e)}(function a1(e=[],t){return Fi.create({name:t,providers:[{provide:No,useValue:"platform"},{provide:gf,useValue:new Set([()=>Jo=null])},...e]})}(H,u))}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(i1))&&void 0!==e?e:null}function cA(){}let c1=(()=>{class t{}return t.__NG_ELEMENT_ID__=dA,t})();function dA(e){return function fA(e,t,i){if(Ho(e)&&!i){const u=Ti(e.index,t);return new pl(u,u)}return 47&e.type?new pl(t[Tr],t):null}(yr(),sn(),!(16&~e))}class p1{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,u=this._removalsHead,x=0,b=null;for(;i||u;){const N=!u||i&&i.currentIndex{N=this._trackByFn(x,H),null!==i&&Object.is(i.trackById,N)?(u&&(i=this._verifyReinsertion(i,H,N,x)),Object.is(i.item,H)||this._addIdentityChange(i,H)):(i=this._mismatch(i,H,N,x),u=!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,u,x){let b;return null===t?b=this._itTail:(b=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(u,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,b,x)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(u,x))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,b,x)):t=this._addAfter(new gA(i,u),b,x),t}_verifyReinsertion(t,i,u,x){let b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(u,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,u){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,u),this._addToMoves(t,u),t}_moveAfter(t,i,u){return this._unlink(t),this._insertAfter(t,i,u),this._addToMoves(t,u),t}_addAfter(t,i,u){return this._insertAfter(t,i,u),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,u){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 x1),this._linkedRecords.put(t),t.currentIndex=u,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,u=t._next;return null===i?this._itHead=u:i._next=u,null===u?this._itTail=i:u._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 x1),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 u;for(u=this._head;null!==u;u=u._nextDup)if((null===i||i<=u.currentIndex)&&Object.is(u.trackById,t))return u;return null}remove(t){const i=t._prevDup,u=t._nextDup;return null===i?this._head=u:i._nextDup=u,null===u?this._tail=i:u._prevDup=i,null===this._head}}class x1{constructor(){this.map=new Map}put(t){const i=t.trackById;let u=this.map.get(i);u||(u=new EA,this.map.set(i,u)),u.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 v1(e,t,i){const u=e.previousIndex;if(null===u)return u;let x=0;return i&&u{if(i&&i.key===x)this._maybeAddToChanges(i,u),this._appendAfter=i,i=i._next;else{const b=this._getOrCreateRecordForKey(x,u);i=this._insertBeforeOrAppend(i,b)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let u=i;null!==u;u=u._nextRemoved)u===this._mapHead&&(this._mapHead=null),this._records.delete(u.key),u._nextRemoved=u._next,u.previousValue=u.currentValue,u.currentValue=null,u._prev=null,u._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const u=t._prev;return i._next=t,i._prev=u,t._prev=i,u&&(u._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 u=new CA(t);return this._records.set(t,u),u.currentValue=i,this._addToAdditions(u),u}_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(u=>i(t[u],u))}}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 g1(){return new Af([new p1])}let Af=(()=>{var e;class t{constructor(u){this.factories=u}static create(u,x){if(null!=x){const b=x.factories.slice();u=u.concat(b)}return new t(u)}static extend(u){return{provide:t,useFactory:x=>t.create(u,x||g1()),deps:[[t,new _i,new Kr]]}}find(u){const x=this.factories.find(b=>b.supports(u));if(null!=x)return x;throw new G(901,!1)}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:g1}),t})();function E1(){return new Mf([new m1])}let Mf=(()=>{var e;class t{constructor(u){this.factories=u}static create(u,x){if(x){const b=x.factories.slice();u=u.concat(b)}return new t(u)}static extend(u){return{provide:t,useFactory:x=>t.create(u,x||E1()),deps:[[t,new _i,new Kr]]}}find(u){const x=this.factories.find(b=>b.supports(u));if(x)return x;throw new G(901,!1)}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:E1}),t})();const AA=s1(null,"core",[]);let MA=(()=>{var e;class t{constructor(u){}}return(e=t).\u0275fac=function(u){return new(u||e)(Dr(Qo))},e.\u0275mod=ts({type:e}),e.\u0275inj=Ln({}),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=er(e),u=t.elementInjector||ko();return new Dl(i).create(u,t.projectableNodes,t.hostElement,t.environmentInjector)}function u3(e){const t=er(e);if(!t)return null;const i=new Dl(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(Ce,ee,E)=>{"use strict";E.d(ee,{BC:()=>ne,VZ:()=>ti,X1:()=>Ei,YN:()=>es,cz:()=>k,kq:()=>_,vO:()=>pe,vS:()=>pt,zX:()=>_i});var a=E(4438),S=E(177),p=E(6648),O=E(7468),c=E(6354);let D=(()=>{var be;class ce{constructor(Ee,ot){this._renderer=Ee,this._elementRef=ot,this.onChange=En=>{},this.onTouched=()=>{}}setProperty(Ee,ot){this._renderer.setProperty(this._elementRef.nativeElement,Ee,ot)}registerOnTouched(Ee){this.onTouched=Ee}registerOnChange(Ee){this.onChange=Ee}setDisabledState(Ee){this.setProperty("disabled",Ee)}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)(a.rXU(a.sFG),a.rXU(a.aKT))},be.\u0275dir=a.FsC({type:be}),ce})(),C=(()=>{var be;class ce extends D{}return(be=ce).\u0275fac=(()=>{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,features:[a.Vt3]}),ce})();const _=new a.nKC(""),m={provide:_,useExisting:(0,a.Rfq)(()=>w),multi:!0},A=new a.nKC("");let w=(()=>{var be;class ce extends D{constructor(Ee,ot,En){super(Ee,ot),this._compositionMode=En,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function T(){const be=(0,S.QT)()?(0,S.QT)().getUserAgent():"";return/android (\d+)/.test(be.toLowerCase())}())}writeValue(Ee){this.setProperty("value",null==Ee?"":Ee)}_handleInput(Ee){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ee)}_compositionStart(){this._composing=!0}_compositionEnd(Ee){this._composing=!1,this._compositionMode&&this.onChange(Ee)}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(A,8))},be.\u0275dir=a.FsC({type:be,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Ee,ot){1&Ee&&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_([m]),a.Vt3]}),ce})();function R(be){return null==be||("string"==typeof be||Array.isArray(be))&&0===be.length}const k=new a.nKC(""),M=new a.nKC("");function o(be){return null}function l(be){return null!=be}function s(be){return(0,a.jNT)(be)?(0,p.H)(be):be}function h(be){let ce={};return be.forEach(Xe=>{ce=null!=Xe?{...ce,...Xe}:ce}),0===Object.keys(ce).length?null:ce}function v(be,ce){return ce.map(Xe=>Xe(be))}function d(be){return be.map(ce=>function y(be){return!be.validate}(ce)?ce:Xe=>ce.validate(Xe))}function f(be){return null!=be?function r(be){if(!be)return null;const ce=be.filter(l);return 0==ce.length?null:function(Xe){return h(v(Xe,ce))}}(d(be)):null}function I(be){return null!=be?function L(be){if(!be)return null;const ce=be.filter(l);return 0==ce.length?null:function(Xe){const Ee=v(Xe,ce).map(s);return(0,O.p)(Ee).pipe((0,c.T)(h))}}(d(be)):null}function j(be,ce){return null===be?[ce]:Array.isArray(be)?[...be,ce]:[be,ce]}function xe(be){return be?Array.isArray(be)?be:[be]:[]}function De(be,ce){return Array.isArray(be)?be.includes(ce):be===ce}function Q(be,ce){const Xe=xe(ce);return xe(be).forEach(ot=>{De(Xe,ot)||Xe.push(ot)}),Xe}function ae(be,ce){return xe(ce).filter(Xe=>!De(be,Xe))}class tt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ce){this._rawValidators=ce||[],this._composedValidatorFn=f(this._rawValidators)}_setAsyncValidators(ce){this._rawAsyncValidators=ce||[],this._composedAsyncValidatorFn=I(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ce){this._onDestroyCallbacks.push(ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ce=>ce()),this._onDestroyCallbacks=[]}reset(ce=void 0){this.control&&this.control.reset(ce)}hasError(ce,Xe){return!!this.control&&this.control.hasError(ce,Xe)}getError(ce,Xe){return this.control?this.control.getError(ce,Xe):null}}class Oe extends tt{get formDirective(){return null}get path(){return null}}class pe extends tt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Te{constructor(ce){this._cd=ce}get isTouched(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.touched)}get isUntouched(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.untouched)}get isPristine(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.pristine)}get isDirty(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.dirty)}get isValid(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.valid)}get isInvalid(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.invalid)}get isPending(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.pending)}get isSubmitted(){var ce;return!(null===(ce=this._cd)||void 0===ce||!ce.submitted)}}let ne=(()=>{var be;class ce extends Te{constructor(Ee){super(Ee)}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)(a.rXU(pe,2))},be.\u0275dir=a.FsC({type:be,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ee,ot){2&Ee&&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 Bt="VALID",Lt="INVALID",Wt="PENDING",Nt="DISABLED";function _e(be){return null!=be&&!Array.isArray(be)&&"object"==typeof be}class Ze{constructor(ce,Xe){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ce),this._assignAsyncValidators(Xe)}get validator(){return this._composedValidatorFn}set validator(ce){this._rawValidators=this._composedValidatorFn=ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=ce}get parent(){return this._parent}get valid(){return this.status===Bt}get invalid(){return this.status===Lt}get pending(){return this.status==Wt}get disabled(){return this.status===Nt}get enabled(){return this.status!==Nt}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 De(this._rawValidators,ce)}hasAsyncValidator(ce){return De(this._rawAsyncValidators,ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ce={}){this.touched=!0,this._parent&&!ce.onlySelf&&this._parent.markAsTouched(ce)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ce=>ce.markAllAsTouched())}markAsUntouched(ce={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Xe=>{Xe.markAsUntouched({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}markAsDirty(ce={}){this.pristine=!1,this._parent&&!ce.onlySelf&&this._parent.markAsDirty(ce)}markAsPristine(ce={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Xe=>{Xe.markAsPristine({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}markAsPending(ce={}){this.status=Wt,!1!==ce.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ce.onlySelf&&this._parent.markAsPending(ce)}disable(ce={}){const Xe=this._parentMarkedDirty(ce.onlySelf);this.status=Nt,this.errors=null,this._forEachChild(Ee=>{Ee.disable({...ce,onlySelf:!0})}),this._updateValue(),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ce,skipPristineCheck:Xe}),this._onDisabledChange.forEach(Ee=>Ee(!0))}enable(ce={}){const Xe=this._parentMarkedDirty(ce.onlySelf);this.status=Bt,this._forEachChild(Ee=>{Ee.enable({...ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent}),this._updateAncestors({...ce,skipPristineCheck:Xe}),this._onDisabledChange.forEach(Ee=>Ee(!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===Bt||this.status===Wt)&&this._runAsyncValidator(ce.emitEvent)),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ce.onlySelf&&this._parent.updateValueAndValidity(ce)}_updateTreeValidity(ce={emitEvent:!0}){this._forEachChild(Xe=>Xe._updateTreeValidity(ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Nt:Bt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ce){if(this.asyncValidator){this.status=Wt,this._hasOwnPendingAsyncValidator=!0;const Xe=s(this.asyncValidator(this));this._asyncValidationSubscription=Xe.subscribe(Ee=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ee,{emitEvent:ce})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ce,Xe={}){this.errors=ce,this._updateControlsErrors(!1!==Xe.emitEvent)}get(ce){let Xe=ce;return null==Xe||(Array.isArray(Xe)||(Xe=Xe.split(".")),0===Xe.length)?null:Xe.reduce((Ee,ot)=>Ee&&Ee._find(ot),this)}getError(ce,Xe){const Ee=Xe?this.get(Xe):this;return Ee&&Ee.errors?Ee.errors[ce]:null}hasError(ce,Xe){return!!this.getError(ce,Xe)}get root(){let ce=this;for(;ce._parent;)ce=ce._parent;return ce}_updateControlsErrors(ce){this.status=this._calculateStatus(),ce&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ce)}_initObservables(){this.valueChanges=new a.bkB,this.statusChanges=new a.bkB}_calculateStatus(){return this._allControlsDisabled()?Nt:this.errors?Lt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wt)?Wt:this._anyControlsHaveStatus(Lt)?Lt:Bt}_anyControlsHaveStatus(ce){return this._anyControls(Xe=>Xe.status===ce)}_anyControlsDirty(){return this._anyControls(ce=>ce.dirty)}_anyControlsTouched(){return this._anyControls(ce=>ce.touched)}_updatePristine(ce={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}_updateTouched(ce={}){this.touched=this._anyControlsTouched(),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}_registerOnCollectionChange(ce){this._onCollectionChange=ce}_setUpdateStrategy(ce){_e(ce)&&null!=ce.updateOn&&(this._updateOn=ce.updateOn)}_parentMarkedDirty(ce){return!ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ce){return null}_assignValidators(ce){this._rawValidators=Array.isArray(ce)?ce.slice():ce,this._composedValidatorFn=function zn(be){return Array.isArray(be)?f(be):be||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function He(be){return Array.isArray(be)?I(be):be||null}(this._rawAsyncValidators)}}const Je=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>st}),st="always";function yt(be,ce,Xe=st){var Ee,ot;(function Rt(be,ce){const Xe=function J(be){return be._rawValidators}(be);null!==ce.validator?be.setValidators(j(Xe,ce.validator)):"function"==typeof Xe&&be.setValidators([Xe]);const Ee=function ie(be){return be._rawAsyncValidators}(be);null!==ce.asyncValidator?be.setAsyncValidators(j(Ee,ce.asyncValidator)):"function"==typeof Ee&&be.setAsyncValidators([Ee]);const ot=()=>be.updateValueAndValidity();Kt(ce._rawValidators,ot),Kt(ce._rawAsyncValidators,ot)})(be,ce),ce.valueAccessor.writeValue(be.value),(be.disabled||"always"===Xe)&&(null===(Ee=(ot=ce.valueAccessor).setDisabledState)||void 0===Ee||Ee.call(ot,be.disabled)),function An(be,ce){ce.valueAccessor.registerOnChange(Xe=>{be._pendingValue=Xe,be._pendingChange=!0,be._pendingDirty=!0,"change"===be.updateOn&&Mn(be,ce)})}(be,ce),function Wn(be,ce){const Xe=(Ee,ot)=>{ce.valueAccessor.writeValue(Ee),ot&&ce.viewToModelUpdate(Ee)};be.registerOnChange(Xe),ce._registerOnDestroy(()=>{be._unregisterOnChange(Xe)})}(be,ce),function Bn(be,ce){ce.valueAccessor.registerOnTouched(()=>{be._pendingTouched=!0,"blur"===be.updateOn&&be._pendingChange&&Mn(be,ce),"submit"!==be.updateOn&&be.markAsTouched()})}(be,ce),function Pt(be,ce){if(ce.valueAccessor.setDisabledState){const Xe=Ee=>{ce.valueAccessor.setDisabledState(Ee)};be.registerOnDisabledChange(Xe),ce._registerOnDestroy(()=>{be._unregisterOnDisabledChange(Xe)})}}(be,ce)}function Kt(be,ce){be.forEach(Xe=>{Xe.registerOnValidatorChange&&Xe.registerOnValidatorChange(ce)})}function Mn(be,ce){be._pendingDirty&&be.markAsDirty(),be.setValue(be._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(be._pendingValue),be._pendingChange=!1}function Kn(be,ce){const Xe=be.indexOf(ce);Xe>-1&&be.splice(Xe,1)}function fr(be){return"object"==typeof be&&null!==be&&2===Object.keys(be).length&&"value"in be&&"disabled"in be}Promise.resolve();const Ge=class extends Ze{constructor(ce=null,Xe,Ee){super(function Ot(be){return(_e(be)?be.validators:be)||null}(Xe),function Ut(be,ce){return(_e(ce)?ce.asyncValidators:be)||null}(Ee,Xe)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ce),this._setUpdateStrategy(Xe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_e(Xe)&&(Xe.nonNullable||Xe.initialValueIsDefault)&&(this.defaultValue=fr(ce)?ce.value:ce)}setValue(ce,Xe={}){this.value=this._pendingValue=ce,this._onChange.length&&!1!==Xe.emitModelToViewChange&&this._onChange.forEach(Ee=>Ee(this.value,!1!==Xe.emitViewToModelChange)),this.updateValueAndValidity(Xe)}patchValue(ce,Xe={}){this.setValue(ce,Xe)}reset(ce=this.defaultValue,Xe={}){this._applyFormState(ce),this.markAsPristine(Xe),this.markAsUntouched(Xe),this.setValue(this.value,Xe),this._pendingChange=!1}_updateValue(){}_anyControls(ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ce){this._onChange.push(ce)}_unregisterOnChange(ce){Kn(this._onChange,ce)}registerOnDisabledChange(ce){this._onDisabledChange.push(ce)}_unregisterOnDisabledChange(ce){Kn(this._onDisabledChange,ce)}_forEachChild(ce){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ce){fr(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)(()=>pt)},dt=Promise.resolve();let pt=(()=>{var be;class ce extends pe{constructor(Ee,ot,En,Hn,Fr,di){super(),this._changeDetectorRef=Fr,this.callSetDisabledState=di,this.control=new Ge,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=Ee,this._setValidators(ot),this._setAsyncValidators(En),this.valueAccessor=function kt(be,ce){if(!ce)return null;let Xe,Ee,ot;return Array.isArray(ce),ce.forEach(En=>{En.constructor===w?Xe=En:function Tt(be){return Object.getPrototypeOf(be.constructor)===C}(En)?Ee=En:ot=En}),ot||Ee||Xe||null}(0,Hn)}ngOnChanges(Ee){if(this._checkForErrors(),!this._registered||"name"in Ee){if(this._registered&&(this._checkName(),this.formDirective)){const ot=Ee.name.previousValue;this.formDirective.removeControl({name:ot,path:this._getPath(ot)})}this._setUpControl()}"isDisabled"in Ee&&this._updateDisabled(Ee),function lt(be,ce){if(!be.hasOwnProperty("model"))return!1;const Xe=be.model;return!!Xe.isFirstChange()||!Object.is(ce,Xe.currentValue)}(Ee,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(Ee){this.viewModel=Ee,this.update.emit(Ee)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){yt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ee){dt.then(()=>{var ot;this.control.setValue(Ee,{emitViewToModelChange:!1}),null===(ot=this._changeDetectorRef)||void 0===ot||ot.markForCheck()})}_updateDisabled(Ee){const ot=Ee.isDisabled.currentValue,En=0!==ot&&(0,a.L39)(ot);dt.then(()=>{var Hn;En&&!this.control.disabled?this.control.disable():!En&&this.control.disabled&&this.control.enable(),null===(Hn=this._changeDetectorRef)||void 0===Hn||Hn.markForCheck()})}_getPath(Ee){return this._parent?function en(be,ce){return[...ce.path,be]}(Ee,this._parent):[Ee]}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)(a.rXU(Oe,9),a.rXU(k,10),a.rXU(M,10),a.rXU(_,10),a.rXU(a.gRc,8),a.rXU(Je,8))},be.\u0275dir=a.FsC({type:be,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[a.Mj6.None,"disabled","isDisabled"],model:[a.Mj6.None,"ngModel","model"],options:[a.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.Jv_([Ke]),a.Vt3,a.OA$]}),ce})();const Pn=new a.nKC("");function Hi(be){return"number"==typeof be?be:parseFloat(be)}let Kr=(()=>{var be;class ce{constructor(){this._validator=o}ngOnChanges(Ee){if(this.inputName in Ee){const ot=this.normalizeInput(Ee[this.inputName].currentValue);this._enabled=this.enabled(ot),this._validator=this._enabled?this.createValidator(ot):o,this._onChange&&this._onChange()}}validate(Ee){return this._validator(Ee)}registerOnValidatorChange(Ee){this._onChange=Ee}enabled(Ee){return null!=Ee}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)},be.\u0275dir=a.FsC({type:be,features:[a.OA$]}),ce})();const wi={provide:k,useExisting:(0,a.Rfq)(()=>_i),multi:!0};let _i=(()=>{var be;class ce extends Kr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ee=>Hi(Ee),this.createValidator=Ee=>function W(be){return ce=>{if(R(ce.value)||R(be))return null;const Xe=parseFloat(ce.value);return!isNaN(Xe)&&Xe>be?{max:{max:be,actual:ce.value}}:null}}(Ee)}}return(be=ce).\u0275fac=(()=>{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ee,ot){2&Ee&&a.BMQ("max",ot._enabled?ot.max:null)},inputs:{max:"max"},features:[a.Jv_([wi]),a.Vt3]}),ce})();const Po={provide:k,useExisting:(0,a.Rfq)(()=>ti),multi:!0};let ti=(()=>{var be;class ce extends Kr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ee=>Hi(Ee),this.createValidator=Ee=>function V(be){return ce=>{if(R(ce.value)||R(be))return null;const Xe=parseFloat(ce.value);return!isNaN(Xe)&&Xe{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ee,ot){2&Ee&&a.BMQ("min",ot._enabled?ot.min:null)},inputs:{min:"min"},features:[a.Jv_([Po]),a.Vt3]}),ce})(),dn=(()=>{var be;class ce{}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({}),ce})(),es=(()=>{var be;class ce{static withConfig(Ee){var ot;return{ngModule:ce,providers:[{provide:Je,useValue:null!==(ot=Ee.callSetDisabledState)&&void 0!==ot?ot:st}]}}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({imports:[dn]}),ce})(),Ei=(()=>{var be;class ce{static withConfig(Ee){var ot,En;return{ngModule:ce,providers:[{provide:Pn,useValue:null!==(ot=Ee.warnOnNgModelWithFormControl)&&void 0!==ot?ot:"always"},{provide:Je,useValue:null!==(En=Ee.callSetDisabledState)&&void 0!==En?En:st}]}}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({imports:[dn]}),ce})()},345:(Ce,ee,E)=>{"use strict";E.d(ee,{Bb:()=>Te,hE:()=>ne,sG:()=>ae,up:()=>bn});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,Ae,Me){return _e.addEventListener(Ae,Me),()=>{_e.removeEventListener(Ae,Me)}}dispatchEvent(_e,Ae){_e.dispatchEvent(Ae)}remove(_e){_e.parentNode&&_e.parentNode.removeChild(_e)}createElement(_e,Ae){return(Ae=Ae||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,Ae){return"window"===Ae?window:"document"===Ae?_e:"body"===Ae?_e.body:null}getBaseHref(_e){const Ae=function D(){return c=c||document.querySelector("base"),c?c.getAttribute("href"):null}();return null==Ae?null:function C(He){return new URL(He,document.baseURI).pathname}(Ae)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(_e){return(0,S._b)(document.cookie,_e)}}let c=null,F=(()=>{var He;class _e{build(){return new XMLHttpRequest}}return(He=_e).\u0275fac=function(Me){return new(Me||He)},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const B=new a.nKC("");let m=(()=>{var He;class _e{constructor(Me,Ze){this._zone=Ze,this._eventNameToPlugin=new Map,Me.forEach(je=>{je.manager=this}),this._plugins=Me.slice().reverse()}addEventListener(Me,Ze,je){return this._findPluginFor(Ze).addEventListener(Me,Ze,je)}getZone(){return this._zone}_findPluginFor(Me){let Ze=this._eventNameToPlugin.get(Me);if(Ze)return Ze;if(Ze=this._plugins.find(it=>it.supports(Me)),!Ze)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(Me,Ze),Ze}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(B),a.KVO(a.SKi))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();class T{constructor(_e){this._doc=_e}}const A="ng-app-id";let w=(()=>{var He;class _e{constructor(Me,Ze,je,it={}){this.doc=Me,this.appId=Ze,this.nonce=je,this.platformId=it,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,S.Vy)(it),this.resetHostNodes()}addStyles(Me){for(const Ze of Me)1===this.changeUsageCount(Ze,1)&&this.onStyleAdded(Ze)}removeStyles(Me){for(const Ze of Me)this.changeUsageCount(Ze,-1)<=0&&this.onStyleRemoved(Ze)}ngOnDestroy(){const Me=this.styleNodesInDOM;Me&&(Me.forEach(Ze=>Ze.remove()),Me.clear());for(const Ze of this.getAllStyles())this.onStyleRemoved(Ze);this.resetHostNodes()}addHost(Me){this.hostNodes.add(Me);for(const Ze of this.getAllStyles())this.addStyleToHost(Me,Ze)}removeHost(Me){this.hostNodes.delete(Me)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Me){for(const Ze of this.hostNodes)this.addStyleToHost(Ze,Me)}onStyleRemoved(Me){var Ze;const je=this.styleRef;null===(Ze=je.get(Me))||void 0===Ze||null===(Ze=Ze.elements)||void 0===Ze||Ze.forEach(it=>it.remove()),je.delete(Me)}collectServerRenderedStyles(){var Me;const Ze=null===(Me=this.doc.head)||void 0===Me?void 0:Me.querySelectorAll(`style[${A}="${this.appId}"]`);if(null!=Ze&&Ze.length){const je=new Map;return Ze.forEach(it=>{null!=it.textContent&&je.set(it.textContent,it)}),je}return null}changeUsageCount(Me,Ze){const je=this.styleRef;if(je.has(Me)){const it=je.get(Me);return it.usage+=Ze,it.usage}return je.set(Me,{usage:Ze,elements:[]}),Ze}getStyleElement(Me,Ze){const je=this.styleNodesInDOM,it=null==je?void 0:je.get(Ze);if((null==it?void 0:it.parentNode)===Me)return je.delete(Ze),it.removeAttribute(A),it;{const Pe=this.doc.createElement("style");return this.nonce&&Pe.setAttribute("nonce",this.nonce),Pe.textContent=Ze,this.platformIsServer&&Pe.setAttribute(A,this.appId),Me.appendChild(Pe),Pe}}addStyleToHost(Me,Ze){var je;const it=this.getStyleElement(Me,Ze),Pe=this.styleRef,Se=null===(je=Pe.get(Ze))||void 0===je?void 0:je.elements;Se?Se.push(it):Pe.set(Ze,{elements:[it],usage:1})}resetHostNodes(){const Me=this.hostNodes;Me.clear(),Me.add(this.doc.head)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const R={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}`,P=`_ngcontent-${k}`,V=new a.nKC("",{providedIn:"root",factory:()=>!0});function me(He,_e){return _e.map(Ae=>Ae.replace($,He))}let te=(()=>{var He;class _e{constructor(Me,Ze,je,it,Pe,Se,ze,Et=null){this.eventManager=Me,this.sharedStylesHost=Ze,this.appId=je,this.removeStylesOnCompDestroy=it,this.doc=Pe,this.platformId=Se,this.ngZone=ze,this.nonce=Et,this.rendererByCompId=new Map,this.platformIsServer=(0,S.Vy)(Se),this.defaultRenderer=new se(Me,Pe,ze,this.platformIsServer)}createRenderer(Me,Ze){if(!Me||!Ze)return this.defaultRenderer;this.platformIsServer&&Ze.encapsulation===a.gXe.ShadowDom&&(Ze={...Ze,encapsulation:a.gXe.Emulated});const je=this.getOrCreateRenderer(Me,Ze);return je instanceof h?je.applyToHost(Me):je instanceof s&&je.applyStyles(),je}getOrCreateRenderer(Me,Ze){const je=this.rendererByCompId;let it=je.get(Ze.id);if(!it){const Pe=this.doc,Se=this.ngZone,ze=this.eventManager,Et=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,st=this.platformIsServer;switch(Ze.encapsulation){case a.gXe.Emulated:it=new h(ze,Et,Ze,this.appId,Je,Pe,Se,st);break;case a.gXe.ShadowDom:return new l(ze,Et,Me,Ze,Pe,Se,this.nonce,st);default:it=new s(ze,Et,Ze,Je,Pe,Se,st)}je.set(Ze.id,it)}return it}ngOnDestroy(){this.rendererByCompId.clear()}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(m),a.KVO(w),a.KVO(a.sZ2),a.KVO(V),a.KVO(S.qQ),a.KVO(a.Agw),a.KVO(a.SKi),a.KVO(a.BIS))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();class se{constructor(_e,Ae,Me,Ze){this.eventManager=_e,this.doc=Ae,this.ngZone=Me,this.platformIsServer=Ze,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(_e,Ae){return Ae?this.doc.createElementNS(R[Ae]||Ae,_e):this.doc.createElement(_e)}createComment(_e){return this.doc.createComment(_e)}createText(_e){return this.doc.createTextNode(_e)}appendChild(_e,Ae){(o(_e)?_e.content:_e).appendChild(Ae)}insertBefore(_e,Ae,Me){_e&&(o(_e)?_e.content:_e).insertBefore(Ae,Me)}removeChild(_e,Ae){_e&&_e.removeChild(Ae)}selectRootElement(_e,Ae){let Me="string"==typeof _e?this.doc.querySelector(_e):_e;if(!Me)throw new a.wOt(-5104,!1);return Ae||(Me.textContent=""),Me}parentNode(_e){return _e.parentNode}nextSibling(_e){return _e.nextSibling}setAttribute(_e,Ae,Me,Ze){if(Ze){Ae=Ze+":"+Ae;const je=R[Ze];je?_e.setAttributeNS(je,Ae,Me):_e.setAttribute(Ae,Me)}else _e.setAttribute(Ae,Me)}removeAttribute(_e,Ae,Me){if(Me){const Ze=R[Me];Ze?_e.removeAttributeNS(Ze,Ae):_e.removeAttribute(`${Me}:${Ae}`)}else _e.removeAttribute(Ae)}addClass(_e,Ae){_e.classList.add(Ae)}removeClass(_e,Ae){_e.classList.remove(Ae)}setStyle(_e,Ae,Me,Ze){Ze&(a.czy.DashCase|a.czy.Important)?_e.style.setProperty(Ae,Me,Ze&a.czy.Important?"important":""):_e.style[Ae]=Me}removeStyle(_e,Ae,Me){Me&a.czy.DashCase?_e.style.removeProperty(Ae):_e.style[Ae]=""}setProperty(_e,Ae,Me){null!=_e&&(_e[Ae]=Me)}setValue(_e,Ae){_e.nodeValue=Ae}listen(_e,Ae,Me){if("string"==typeof _e&&!(_e=(0,S.QT)().getGlobalEventTarget(this.doc,_e)))throw new Error(`Unsupported event target ${_e} for event ${Ae}`);return this.eventManager.addEventListener(_e,Ae,this.decoratePreventDefault(Me))}decoratePreventDefault(_e){return Ae=>{if("__ngUnwrap__"===Ae)return _e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>_e(Ae)):_e(Ae))&&Ae.preventDefault()}}}function o(He){return"TEMPLATE"===He.tagName&&void 0!==He.content}class l extends se{constructor(_e,Ae,Me,Ze,je,it,Pe,Se){super(_e,je,it,Se),this.sharedStylesHost=Ae,this.hostEl=Me,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ze=me(Ze.id,Ze.styles);for(const Et of ze){const Je=document.createElement("style");Pe&&Je.setAttribute("nonce",Pe),Je.textContent=Et,this.shadowRoot.appendChild(Je)}}nodeOrShadowRoot(_e){return _e===this.hostEl?this.shadowRoot:_e}appendChild(_e,Ae){return super.appendChild(this.nodeOrShadowRoot(_e),Ae)}insertBefore(_e,Ae,Me){return super.insertBefore(this.nodeOrShadowRoot(_e),Ae,Me)}removeChild(_e,Ae){return super.removeChild(this.nodeOrShadowRoot(_e),Ae)}parentNode(_e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(_e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class s extends se{constructor(_e,Ae,Me,Ze,je,it,Pe,Se){super(_e,je,it,Pe),this.sharedStylesHost=Ae,this.removeStylesOnCompDestroy=Ze,this.styles=Se?me(Se,Me.styles):Me.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class h extends s{constructor(_e,Ae,Me,Ze,je,it,Pe,Se){const ze=Ze+"-"+Me.id;super(_e,Ae,Me,je,it,Pe,Se,ze),this.contentAttr=function W(He){return P.replace($,He)}(ze),this.hostAttr=function oe(He){return M.replace($,He)}(ze)}applyToHost(_e){this.applyStyles(),this.setAttribute(_e,this.hostAttr,"")}createElement(_e,Ae){const Me=super.createElement(_e,Ae);return super.setAttribute(Me,this.contentAttr,""),Me}}let v=(()=>{var He;class _e extends T{constructor(Me){super(Me)}supports(Me){return!0}addEventListener(Me,Ze,je){return Me.addEventListener(Ze,je,!1),()=>this.removeEventListener(Me,Ze,je)}removeEventListener(Me,Ze,je){return Me.removeEventListener(Ze,je)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const y=["alt","control","meta","shift"],d={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},r={alt:He=>He.altKey,control:He=>He.ctrlKey,meta:He=>He.metaKey,shift:He=>He.shiftKey};let f=(()=>{var He;class _e extends T{constructor(Me){super(Me)}supports(Me){return null!=_e.parseEventName(Me)}addEventListener(Me,Ze,je){const it=_e.parseEventName(Ze),Pe=_e.eventCallback(it.fullKey,je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,S.QT)().onAndCancel(Me,it.domEventName,Pe))}static parseEventName(Me){const Ze=Me.toLowerCase().split("."),je=Ze.shift();if(0===Ze.length||"keydown"!==je&&"keyup"!==je)return null;const it=_e._normalizeKey(Ze.pop());let Pe="",Se=Ze.indexOf("code");if(Se>-1&&(Ze.splice(Se,1),Pe="code."),y.forEach(Et=>{const Je=Ze.indexOf(Et);Je>-1&&(Ze.splice(Je,1),Pe+=Et+".")}),Pe+=it,0!=Ze.length||0===it.length)return null;const ze={};return ze.domEventName=je,ze.fullKey=Pe,ze}static matchEventFullKeyCode(Me,Ze){let je=d[Me.key]||Me.key,it="";return Ze.indexOf("code.")>-1&&(je=Me.code,it="code."),!(null==je||!je)&&(je=je.toLowerCase()," "===je?je="space":"."===je&&(je="dot"),y.forEach(Pe=>{Pe!==je&&(0,r[Pe])(Me)&&(it+=Pe+".")}),it+=je,it===Ze)}static eventCallback(Me,Ze,je){return it=>{_e.matchEventFullKeyCode(it,Me)&&je.runGuarded(()=>Ze(it))}}static _normalizeKey(Me){return"esc"===Me?"escape":Me}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const ae=(0,a.oH4)(a.fpN,"browser",[{provide:a.Agw,useValue:S.AJ},{provide:a.PLl,useValue:function ie(){O.makeCurrent()},multi:!0},{provide:S.qQ,useFactory:function De(){return(0,a.TL$)(document),document},deps:[]}]),tt=new a.nKC(""),Oe=[{provide:a.e01,useClass:class _{addToWindow(_e){a.JZv.getAngularTestability=(Me,Ze=!0)=>{const je=_e.findTestabilityInTree(Me,Ze);if(null==je)throw new a.wOt(5103,!1);return je},a.JZv.getAllAngularTestabilities=()=>_e.getAllTestabilities(),a.JZv.getAllAngularRootElements=()=>_e.getAllRootElements(),a.JZv.frameworkStabilizers||(a.JZv.frameworkStabilizers=[]),a.JZv.frameworkStabilizers.push(Me=>{const Ze=a.JZv.getAllAngularTestabilities();let je=Ze.length;const it=function(){je--,0==je&&Me()};Ze.forEach(Pe=>{Pe.whenStable(it)})})}findTestabilityInTree(_e,Ae,Me){if(null==Ae)return null;const Ze=_e.getTestability(Ae);return null!=Ze?Ze:Me?(0,S.QT)().isShadowRoot(Ae)?this.findTestabilityInTree(_e,Ae.host,!0):this.findTestabilityInTree(_e,Ae.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 xe(){return new a.zcH},deps:[]},{provide:B,useClass:v,multi:!0,deps:[S.qQ,a.SKi,a.Agw]},{provide:B,useClass:f,multi:!0,deps:[S.qQ]},te,w,m,{provide:a._9s,useExisting:te},{provide:S.N0,useClass:F,deps:[]},[]];let Te=(()=>{var He;class _e{constructor(Me){}static withServerTransition(Me){return{ngModule:_e,providers:[{provide:a.sZ2,useValue:Me.appId}]}}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(tt,12))},He.\u0275mod=a.$C({type:He}),He.\u0275inj=a.G2t({providers:[...pe,...Oe],imports:[S.MD,a.Hbi]}),_e})(),ne=(()=>{var He;class _e{constructor(Me){this._doc=Me}getTitle(){return this._doc.title}setTitle(Me){this._doc.title=Me||""}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),_e})(),bn=(()=>{var He;class _e{}return(He=_e).\u0275fac=function(Me){return new(Me||He)},He.\u0275prov=a.jDH({token:He,factory:function(Me){let Ze=null;return Ze=Me?new(Me||He):a.KVO(bt),Ze},providedIn:"root"}),_e})(),bt=(()=>{var He;class _e extends bn{constructor(Me){super(),this._doc=Me}sanitize(Me,Ze){if(null==Ze)return null;switch(Me){case a.WPN.NONE:return Ze;case a.WPN.HTML:return(0,a.ZF7)(Ze,"HTML")?(0,a.rcV)(Ze):(0,a.h9k)(this._doc,String(Ze)).toString();case a.WPN.STYLE:return(0,a.ZF7)(Ze,"Style")?(0,a.rcV)(Ze):Ze;case a.WPN.SCRIPT:if((0,a.ZF7)(Ze,"Script"))return(0,a.rcV)(Ze);throw new a.wOt(5200,!1);case a.WPN.URL:return(0,a.ZF7)(Ze,"URL")?(0,a.rcV)(Ze):(0,a.$MX)(String(Ze));case a.WPN.RESOURCE_URL:if((0,a.ZF7)(Ze,"ResourceURL"))return(0,a.rcV)(Ze);throw new a.wOt(5201,!1);default:throw new a.wOt(5202,!1)}}bypassSecurityTrustHtml(Me){return(0,a.Kcf)(Me)}bypassSecurityTrustStyle(Me){return(0,a.cWb)(Me)}bypassSecurityTrustScript(Me){return(0,a.UyX)(Me)}bypassSecurityTrustUrl(Me){return(0,a.osQ)(Me)}bypassSecurityTrustResourceUrl(Me){return(0,a.e5t)(Me)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),_e})()},3021:(Ce,ee,E)=>{"use strict";E.d(ee,{nX:()=>ei,Zp:()=>Ue,Z:()=>Fe,Xk:()=>tt,Kp:()=>Si,b:()=>Zn,Ix:()=>ir,Wk:()=>Sr,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),F=E(8793),B=E(9030),m=E(1203),T=E(8810),A=E(983),w=E(17),R=E(1413),$=E(8359),k=E(177),M=E(6354),P=E(5558),U=E(6697),V=E(9326),W=E(9974),me=E(5964),te=E(3028),se=E(4360);function g(z){return(0,W.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,W.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 l=E(3669);function s(z,q){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,me.p)((fe,ke)=>z(fe,ke,Z)):l.D,(0,U.s)(1),ue?g(q):n(()=>new _.G))}var h=E(274),v=E(8141),y=E(9437),d=E(6649);function f(z){return z<=0?()=>A.w:(0,W.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),j=E(980),J=E(9898),ie=E(8750),xe=E(5343),Q=E(6365),ae=E(345);const tt="primary",Oe=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 Te(z){return new pe(z)}function Be(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 xt(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 un(z,q,ue){if(!Dn(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]||!un(z.children[Z],q.children[Z],ue))return!1;return!0},subset:It},rn={exact:function ft(z,q){return ne(z,q)},subset:function At(z,q){return Object.keys(q).length<=Object.keys(z).length&&Object.keys(q).every(ue=>ge(z[ue],q[ue]))},ignored:()=>!0};function mt(z,q,ue){return rt[ue.paths](z.root,q.root,ue.matrixParams)&&rn[ue.queryParams](z.queryParams,q.queryParams)&&!("exact"===ue.fragment&&z.fragment!==q.fragment)}function It(z,q,ue){return Cn(z,q,q.segments,ue)}function Cn(z,q,ue,Z){if(z.segments.length>ue.length){const fe=z.segments.slice(0,ue.length);return!(!Dn(fe,ue)||q.hasChildren()||!St(fe,ue,Z))}if(z.segments.length===ue.length){if(!Dn(z.segments,ue)||!St(z.segments,ue,Z))return!1;for(const fe in q.children)if(!z.children[fe]||!It(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!!(Dn(z.segments,fe)&&St(z.segments,fe,Z)&&z.children[tt])&&Cn(z.children[tt],q,ke,Z)}}function St(z,q,ue){return q.every((Z,fe)=>rn[ue](z[fe].parameters,Z.parameters))}class Ft{constructor(q=new bn([],{}),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=Te(this.queryParams)),this._queryParamMap}toString(){return Nt.serialize(this)}}class bn{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 bt{constructor(q,ue){this.path=q,this.parameters=ue}get parameterMap(){var q;return null!==(q=this._parameterMap)&&void 0!==q||(this._parameterMap=Te(this.parameters)),this._parameterMap}toString(){return je(this)}}function Dn(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 Wt,providedIn:"root"}),q})();class Wt{parse(q){const ue=new Kt(q);return new Ft(ue.parseRootSegment(),ue.parseQueryParams(),ue.parseFragment())}serialize(q){const ue=`/${zn(q.root,!0)}`,Z=function Pe(z){const q=Object.entries(z).map(([ue,Z])=>Array.isArray(Z)?Z.map(fe=>`${He(ue)}=${He(fe)}`).join("&"):`${He(ue)}=${He(Z)}`).filter(ue=>ue);return q.length?`?${q.join("&")}`:""}(q.queryParams);return`${ue}${Z}${"string"==typeof q.fragment?`#${function _e(z){return encodeURI(z)}(q.fragment)}`:""}`}}const Nt=new Wt;function Ot(z){return z.segments.map(q=>je(q)).join("/")}function zn(z,q){if(!z.hasChildren())return Ot(z);if(q){const ue=z.children[tt]?zn(z.children[tt],!1):"",Z=[];return Object.entries(z.children).forEach(([fe,ke])=>{fe!==tt&&Z.push(`${fe}:${zn(ke,!1)}`)}),Z.length>0?`${ue}(${Z.join("//")})`:ue}{const ue=function Bt(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?[zn(z.children[tt],!1)]:[`${fe}:${zn(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 He(z){return Ut(z).replace(/%3B/gi,";")}function Ae(z){return Ut(z).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Me(z){return decodeURIComponent(z)}function Ze(z){return Me(z.replace(/\+/g,"%20"))}function je(z){return`${Ae(z.path)}${function it(z){return Object.entries(z).map(([q,ue])=>`;${Ae(q)}=${Ae(ue)}`).join("")}(z.parameters)}`}const Se=/^[^\/()?;#]+/;function ze(z){const q=z.match(Se);return q?q[0]:""}const Et=/^[^\/()?;=#]+/,st=/^[^=?&#]+/,yt=/^[^&#]+/;class Kt{constructor(q){this.url=q,this.remaining=q}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bn([],{}):new bn([],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 bn(q,ue)),Z}parseSegment(){const q=ze(this.remaining);if(""===q&&this.peekStartsWith(";"))throw new S.wOt(4009,!1);return this.capture(q),new bt(Me(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(Et);return q?q[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const fe=ze(this.remaining);fe&&(Z=fe,this.capture(Z))}q[Me(ue)]=Me(Z)}parseQueryParam(q){const ue=function en(z){const q=z.match(st);return q?q[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const nt=function vt(z){const q=z.match(yt);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=ze(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 bn([],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 Pt(z){return z.segments.length>0?new bn([],{[tt]:z}):z}function Rt(z){const q={};for(const[Z,fe]of Object.entries(z.children)){const ke=Rt(fe);if(Z===tt&&0===ke.segments.length&&ke.hasChildren())for(const[nt,Ht]of Object.entries(ke.children))q[nt]=Ht;else(ke.segments.length>0||ke.hasChildren())&&(q[Z]=ke)}return function On(z){if(1===z.numberOfChildren&&z.children[tt]){const q=z.children[tt];return new bn(z.segments.concat(q.segments),q.children)}return z}(new bn(z.segments,q))}function An(z){return z instanceof Ft}function Mn(z){var q;let ue;const ke=Pt(function Z(nt){const Ht={};for(const Xt of nt.children){const In=Z(Xt);Ht[Xt.outlet]=In}const hn=new bn(nt.url,Ht);return nt===z&&(ue=hn),hn}(z.root));return null!==(q=ue)&&void 0!==q?q:ke}function Wn(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 Xn(!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 Ht={};return Object.entries(ke.outlets).forEach(([hn,Xt])=>{Ht[hn]="string"==typeof Xt?Xt.split("/"):Xt}),[...fe,{outlets:Ht}]}if(ke.segmentPath)return[...fe,ke.segmentPath]}return"string"!=typeof ke?[...fe,ke]:0===nt?(ke.split("/").forEach((Ht,hn)=>{0==hn&&"."===Ht||(0==hn&&""===Ht?ue=!0:".."===Ht?q++:""!=Ht&&fe.push(Ht))}),fe):[...fe,ke]},[]);return new Xn(ue,q,Z)}(q);if(ke.toRoot())return kn(fe,fe,new bn([],{}),ue,Z);const nt=function lt(z,q,ue){if(z.isAbsolute)return new $e(q,!0,0);if(!ue)return new $e(q,!1,NaN);if(null===ue.parent)return new $e(ue,!0,0);const Z=Ln(z.commands[0])?0:1;return function Tt(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 $e(Z,!1,fe-ke)}(ue,ue.segments.length-1+Z,z.numberOfDoubleDots)}(ke,fe,z),Ht=nt.processChildren?Zt(nt.segmentGroup,nt.index,ke.commands):kt(nt.segmentGroup,nt.index,ke.commands);return kn(fe,nt.segmentGroup,Ht,ue,Z)}function Ln(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(([hn,Xt])=>{ke[hn]=Array.isArray(Xt)?Xt.map(In=>`${In}`):`${Xt}`}),nt=z===q?ue:Gn(z,q,ue);const Ht=Pt(Rt(nt));return new Ft(Ht,ke,fe)}function Gn(z,q,ue){const Z={};return Object.entries(z.children).forEach(([fe,ke])=>{Z[fe]=ke===q?ue:Gn(ke,q,ue)}),new bn(z.segments,Z)}class Xn{constructor(q,ue,Z){if(this.isAbsolute=q,this.numberOfDoubleDots=ue,this.commands=Z,q&&Z.length>0&&Ln(Z[0]))throw new S.wOt(4003,!1);const fe=Z.find(Fn);if(fe&&fe!==xt(Z))throw new S.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $e{constructor(q,ue,Z){this.segmentGroup=q,this.processChildren=ue,this.index=Z}}function kt(z,q,ue){var Z;if(null!==(Z=z)&&void 0!==Z||(z=new bn([],{})),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],Ht=ue[Z];if(Fn(Ht))break;const hn=`${Ht}`,Xt=Z0&&void 0===hn)break;if(hn&&Xt&&"object"==typeof Xt&&void 0===Xt.outlets){if(!Kn(hn,Xt,nt))return ke;Z+=2}else{if(!Kn(hn,{},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 bn(z.segments,ke.children)}return Object.entries(Z).forEach(([ke,nt])=>{"string"==typeof nt&&(nt=[nt]),null!==nt&&(fe[ke]=kt(z.children[ke],q,nt))}),Object.entries(z.children).forEach(([ke,nt])=>{void 0===Z[ke]&&(fe[ke]=nt)}),new bn(z.segments,fe)}}function Qt(z,q,ue){const Z=z.segments.slice(0,q);let fe=0;for(;fe{"string"==typeof Z&&(Z=[Z]),null!==Z&&(q[ue]=Qt(new bn([],{}),0,Z))}),q}function wn(z){const q={};return Object.entries(z).forEach(([ue,Z])=>q[ue]=`${Z}`),q}function Kn(z,q,ue){return z==ue.path&&ne(q,ue.parameters)}const fr="imperative";var Ge=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}(Ge||{});class et{constructor(q,ue){this.id=q,this.url=ue}}class Fe extends et{constructor(q,ue,Z="imperative",fe=null){super(q,ue),this.type=Ge.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=Ge.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ct=function(z){return z[z.Redirect=0]="Redirect",z[z.SupersededByNewNavigation=1]="SupersededByNewNavigation",z[z.NoDataFromResolver=2]="NoDataFromResolver",z[z.GuardRejected=3]="GuardRejected",z}(Ct||{}),Gt=function(z){return z[z.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",z[z.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",z}(Gt||{});class vn extends et{constructor(q,ue,Z,fe){super(q,ue),this.reason=Z,this.code=fe,this.type=Ge.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class gt extends et{constructor(q,ue,Z,fe){super(q,ue),this.reason=Z,this.code=fe,this.type=Ge.NavigationSkipped}}class zt extends et{constructor(q,ue,Z,fe){super(q,ue),this.error=Z,this.target=fe,this.type=Ge.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=Ge.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=Ge.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=Ge.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pt extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ge.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends et{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ge.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=Ge.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class an{constructor(q){this.route=q,this.type=Ge.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ln{constructor(q){this.snapshot=q,this.type=Ge.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xn{constructor(q){this.snapshot=q,this.type=Ge.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cn{constructor(q){this.snapshot=q,this.type=Ge.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nn{constructor(q){this.snapshot=q,this.type=Ge.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _n{constructor(q,ue,Z){this.routerEvent=q,this.position=ue,this.anchor=Z,this.type=Ge.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Sn{}class Pn{constructor(q){this.url=q}}class X{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ue,this.attachRef=null}}let Ue=(()=>{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=Ye(q,this._root);return ue?ue.children.map(Z=>Z.value):[]}firstChild(q){const ue=Ye(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 Ye(z,q){if(z===q.value)return q;for(const ue of q.children){const Z=Ye(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 pr(z){const q={};return z&&z.children.forEach(ue=>q[ue.value.outlet]=ue),q}class wr extends le{constructor(q,ue){super(q),this.snapshot=ue,vi(this,q)}toString(){return this.snapshot.toString()}}function qr(z){const q=function Wr(z){const ke=new Vi([],{},{},"",{},tt,z,null,{});return new Dr("",new Nn(ke,[]))}(z),ue=new D.t([new bt("",{})]),Z=new D.t({}),fe=new D.t({}),ke=new D.t({}),nt=new D.t(""),Ht=new ei(ue,Z,ke,nt,fe,tt,z,q.root);return Ht.snapshot=q.root,new wr(new Nn(Ht,[]),q)}class ei{constructor(q,ue,Z,fe,ke,nt,Ht,hn){var Xt,In;this.urlSubject=q,this.paramsSubject=ue,this.queryParamsSubject=Z,this.fragmentSubject=fe,this.dataSubject=ke,this.outlet=nt,this.component=Ht,this._futureSnapshot=hn,this.title=null!==(Xt=null===(In=this.dataSubject)||void 0===In?void 0:In.pipe((0,M.T)(qn=>qn[Oe])))&&void 0!==Xt?Xt:(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=>Te(ue)))),this._paramMap}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(this._queryParamMap=this.queryParams.pipe((0,M.T)(ue=>Te(ue)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function jr(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[Oe]=ke.title),fe}class Vi{get title(){var q;return null===(q=this.data)||void 0===q?void 0:q[Oe]}constructor(q,ue,Z,fe,ke,nt,Ht,hn,Xt){this.url=q,this.params=ue,this.queryParams=Z,this.fragment=fe,this.data=ke,this.outlet=nt,this.component=Ht,this.routeConfig=hn,this._resolve=Xt}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=Te(this.params)),this._paramMap}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(this._queryParamMap=Te(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Z=>Z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Dr extends le{constructor(q,ue){super(ue),this.url=q,vi(this,ue)}toString(){return $n(this._root)}}function vi(z,q){q.value._routerState=z,q.children.forEach(ue=>vi(z,ue))}function $n(z){const q=z.children.length>0?` { ${z.children.map($n).join(", ")} } `:"";return`${z.value}${q}`}function mi(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 re(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||Oi(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)(Ue),this.location=(0,S.WQX)(S.c1b),this.changeDetector=(0,S.WQX)(S.gRc),this.environmentInjector=(0,S.WQX)(S.uvJ),this.inputBinder=(0,S.WQX)(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,hn=Z.snapshot.component,Xt=this.parentContexts.getOrCreateContext(this.name).children,In=new ji(Z,Xt,nt.injector);this.activated=nt.createComponent(hn,{index:nt.length,injector:In,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 ji{__ngOutletInjector(q){return new ji(this.route,this.childContexts,q)}constructor(q,ue,Z){this.route=q,this.childContexts=ue,this.parent=Z}get(q,ue){return q===ei?this.route:q===Ue?this.childContexts:this.parent.get(q,ue)}}const Mi=new S.nKC("");let Hi=(()=>{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,P.n)(([nt,Ht,hn],Xt)=>(hn={...nt,...Ht,...hn},0===Xt?(0,c.of)(hn):Promise.resolve(hn)))).subscribe(nt=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==fe||null===fe.component)return void this.unsubscribeFromRouteData(Z);const Ht=(0,S.HJs)(fe.component);if(Ht)for(const{templateName:hn}of Ht.inputs)Z.activatedComponentRef.setInput(hn,nt[hn]);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(Ht=>wi(z,Ht)),nt}}const Z=function Po(z){return new ei(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 mo(z,q){const{redirectTo:ue,navigationBehaviorOptions:Z}=An(q)?{redirectTo:q,navigationBehaviorOptions:void 0}:q,fe=Ir(!1,Ct.Redirect);return fe.url=ue,fe.navigationBehaviorOptions=Z,fe}function Ir(z,q){const ue=new Error(`NavigationCancelingError: ${z||""}`);return ue[ti]=!0,ue.cancellationCode=q,ue}function Ni(z){return!!z&&z[ti]}let Bi=(()=>{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 Vt(z){const q=z.children&&z.children.map(Vt),ue=q?{...z,children:q}:{...z};return!ue.component&&!ue.loadComponent&&(q||ue.loadChildren)&&ue.outlet&&ue.outlet!==tt&&(ue.component=Bi),ue}function dn(z){return z.outlet||tt}function Un(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 lr{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),mi(this.futureState.root),this.activateChildRoutes(ue,Z,q)}deactivateChildRoutes(q,ue,Z){const fe=pr(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=pr(q);for(const nt of Object.values(ke))this.deactivateRouteAndItsChildren(nt,fe);if(Z&&Z.outlet){const nt=Z.outlet.detach(),Ht=Z.children.onOutletDeactivated();this.routeReuseStrategy.store(q.value.snapshot,{componentRef:nt,route:q,contexts:Ht})}}deactivateRouteAndOutlet(q,ue){const Z=ue.getContext(q.value.outlet),fe=Z&&q.value.component?Z.children:ue,ke=pr(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=pr(ue);q.children.forEach(ke=>{this.activateRoutes(ke,fe[ke.value.outlet],Z),this.forwardEvent(new nn(ke.value.snapshot))}),q.children.length&&this.forwardEvent(new xn(q.value.snapshot))}activateRoutes(q,ue,Z){const fe=q.value,ke=ue?ue.value:null;if(mi(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 Ht=this.routeReuseStrategy.retrieve(fe.snapshot);this.routeReuseStrategy.store(fe.snapshot,null),nt.children.onOutletReAttached(Ht.contexts),nt.attachRef=Ht.componentRef,nt.route=Ht.route.value,nt.outlet&&nt.outlet.attach(Ht.componentRef,Ht.route.value),mi(Ht.route.value),this.activateChildRoutes(q,null,nt.children)}else{const Ht=Un(fe.snapshot);nt.attachRef=null,nt.route=fe,nt.injector=Ht,nt.outlet&&nt.outlet.activateWith(fe,nt.injector),this.activateChildRoutes(q,null,nt.children)}}else this.activateChildRoutes(q,null,Z)}}class Or{constructor(q){this.path=q,this.route=this.path[this.path.length-1]}}class ni{constructor(q,ue){this.component=q,this.route=ue}}function gi(z,q,ue){const Z=z._root;return be(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 be(z,q,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=pr(q);return z.children.forEach(nt=>{(function ce(z,q,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=z.value,nt=q?q.value:null,Ht=ue?ue.getContext(z.value.outlet):null;if(nt&&ke.routeConfig===nt.routeConfig){const hn=function Xe(z,q,ue){if("function"==typeof ue)return ue(z,q);switch(ue){case"pathParamsChange":return!Dn(z.url,q.url);case"pathParamsOrQueryParamsChange":return!Dn(z.url,q.url)||!ne(z.queryParams,q.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Oi(z,q)||!ne(z.queryParams,q.queryParams);default:return!Oi(z,q)}}(nt,ke,ke.routeConfig.runGuardsAndResolvers);hn?fe.canActivateChecks.push(new Or(Z)):(ke.data=nt.data,ke._resolvedData=nt._resolvedData),be(z,q,ke.component?Ht?Ht.children:null:ue,Z,fe),hn&&Ht&&Ht.outlet&&Ht.outlet.isActivated&&fe.canDeactivateChecks.push(new ni(Ht.outlet.component,nt))}else nt&&Ee(q,Ht,fe),fe.canActivateChecks.push(new Or(Z)),be(z,null,ke.component?Ht?Ht.children:null:ue,Z,fe)})(nt,ke[nt.value.outlet],ue,Z.concat([nt.value]),fe),delete ke[nt.value.outlet]}),Object.entries(ke).forEach(([nt,Ht])=>Ee(Ht,ue.getContext(nt),fe)),fe}function Ee(z,q,ue){const Z=pr(z),fe=z.value;Object.entries(Z).forEach(([ke,nt])=>{Ee(nt,fe.component?q?q.children.getContext(ke):null:q,ue)}),ue.canDeactivateChecks.push(new ni(fe.component&&q&&q.outlet&&q.outlet.isActivated?q.outlet.component:null,fe))}function ot(z){return"function"==typeof z}function _s(z){return z instanceof _.G||"EmptyError"===(null==z?void 0:z.name)}const yo=Symbol("INITIAL_VALUE");function qi(){return(0,P.n)(z=>(0,C.z)(z.map(q=>q.pipe((0,U.s)(1),function oe(...z){const q=(0,V.lI)(z);return(0,W.N)((ue,Z)=>{(q?(0,F.x)(z,ue,q):(0,F.x)(z,ue)).subscribe(Z)})}(yo)))).pipe((0,M.T)(q=>{for(const ue of q)if(!0!==ue){if(ue===yo)return yo;if(!1===ue||ue instanceof Ft)return ue}return!0}),(0,me.p)(q=>q!==yo),(0,U.s)(1)))}function ts(z){return(0,m.F)((0,v.M)(q=>{if(An(q))throw mo(0,q)}),(0,M.T)(q=>!0===q))}class ns{constructor(q){this.segmentGroup=q||null}}class Co extends Error{constructor(q){super(),this.urlTree=q}}function er(z){return(0,T.$)(new ns(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,T.$)(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 Co(fe);return fe}applyRedirectCreateUrlTree(q,ue,Z,fe){const ke=this.createSegmentGroup(q,ue.root,Z,fe);return new Ft(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 Ht=ke.substring(1);Z[fe]=ue[Ht]}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(([Ht,hn])=>{nt[Ht]=this.createSegmentGroup(q,hn,Z,fe)}),new bn(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 rs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function is(z,q,ue,Z,fe){const ke=Wi(z,q,ue);return ke.matched?(Z=function ai(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 Ht=Ei(nt,z);return Qe(function Eo(z){return z&&ot(z.canMatch)}(Ht)?Ht.canMatch(q,ue):(0,S.N4e)(z,()=>Ht(q,ue)))});return(0,c.of)(ke).pipe(qi(),ts())}(Z,q,ue).pipe((0,M.T)(nt=>!0===nt?ke:{...rs}))):(0,c.of)(ke)}function Wi(z,q,ue){var Z,fe;if("**"===q.path)return function Yl(z){return{matched:!0,parameters:z.length>0?xt(z).parameters:{},consumedSegments:z,remainingSegments:[],positionalParamSegments:{}}}(ue);if(""===q.path)return"full"===q.pathMatch&&(z.hasChildren()||ue.length>0)?{...rs}:{matched:!0,consumedSegments:[],remainingSegments:ue,parameters:{},positionalParamSegments:{}};const nt=(q.matcher||Be)(ue,z,q);if(!nt)return{...rs};const Ht={};Object.entries(null!==(Z=nt.posParams)&&void 0!==Z?Z:{}).forEach(([Xt,In])=>{Ht[Xt]=In.path});const hn=nt.consumed.length>0?{...Ht,...nt.consumed[nt.consumed.length-1].parameters}:Ht;return{matched:!0,consumedSegments:nt.consumed,remainingSegments:ue.slice(nt.consumed.length),parameters:hn,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)&&dn(Z)!==tt)}(z,ue,Z)?{segmentGroup:new bn(q,Bs(Z,new bn(ue,z.children))),slicedSegments:[]}:0===ue.length&&function Ss(z,q,ue){return ue.some(Z=>eo(z,q,Z))}(z,ue,Z)?{segmentGroup:new bn(z.segments,Ro(z,ue,Z,z.children)),slicedSegments:ue}:{segmentGroup:new bn(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[dn(ke)]){const nt=new bn([],{});fe[dn(ke)]=nt}return{...Z,...fe}}function Bs(z,q){const ue={};ue[tt]=q;for(const Z of z)if(""===Z.path&&dn(Z)!==tt){const fe=new bn([],{});ue[dn(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,Ht){this.injector=q,this.configLoader=ue,this.rootComponentType=Z,this.config=fe,this.urlTree=ke,this.paramsInheritanceStrategy=nt,this.urlSerializer=Ht,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 Vi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,{}),fe=new Nn(Z,ue),ke=new Dr("",fe),nt=function Bn(z,q,ue=null,Z=null){return Wn(Mn(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 Co)return this.urlTree=Z.urlTree,this.match(Z.urlTree.root);throw Z instanceof ns?this.noMatchError(Z):Z}))}inheritParamsAndData(q,ue){const Z=q.value,fe=jr(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],Ht=function fn(z,q){const ue=z.filter(Z=>dn(Z)===q);return ue.push(...z.filter(Z=>dn(Z)!==q)),ue}(ue,ke);return this.processSegmentGroup(q,Ht,nt,ke)}),function r(z,q){return(0,W.N)((0,d.S)(z,q,arguments.length>=2,!0))}((ke,nt)=>(ke.push(...nt),ke)),g(null),function L(z,q){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,me.p)((fe,ke)=>z(fe,ke,Z)):l.D,f(1),ue?g(q):n(()=>new _.G))}(),(0,te.Z)(ke=>{if(null===ke)return er(Z);const nt=No(ke);return function Ki(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)(Ht=>{var hn;return this.processSegmentAgainstRoute(null!==(hn=Ht._injector)&&void 0!==hn?hn:q,ue,Ht,Z,fe,ke,nt).pipe((0,y.W)(Xt=>{if(Xt instanceof ns)return(0,c.of)(null);throw Xt}))}),s(Ht=>!!Ht),(0,y.W)(Ht=>{if(_s(Ht))return function Is(z,q,ue){return 0===q.length&&!z.children[ue]}(Z,fe,ke)?(0,c.of)(new Zl):er(Z);throw Ht}))}processSegmentAgainstRoute(q,ue,Z,fe,ke,nt,Ht){return function wc(z,q,ue,Z){return!!(dn(z)===Z||Z!==tt&&eo(q,ue,z))&&Wi(q,z,ue).matched}(Z,fe,ke,nt)?void 0===Z.redirectTo?this.matchSegmentAgainstRoute(q,fe,Z,ke,nt):this.allowRedirects&&Ht?this.expandSegmentAgainstRouteUsingRedirect(q,fe,ue,Z,ke,nt):er(fe):er(fe)}expandSegmentAgainstRouteUsingRedirect(q,ue,Z,fe,ke,nt){const{matched:Ht,consumedSegments:hn,positionalParamSegments:Xt,remainingSegments:In}=Wi(ue,fe,ke);if(!Ht)return er(ue);fe.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const qn=this.applyRedirects.applyRedirectCommands(hn,fe.redirectTo,Xt);return this.applyRedirects.lineralizeSegments(fe,qn).pipe((0,te.Z)(Mr=>this.processSegment(q,Z,ue,Mr.concat(In),nt,!1)))}matchSegmentAgainstRoute(q,ue,Z,fe,ke){const nt=is(ue,Z,fe,q);return"**"===Z.path&&(ue.children={}),nt.pipe((0,P.n)(Ht=>{var hn;return Ht.matched?(q=null!==(hn=Z._injector)&&void 0!==hn?hn:q,this.getChildConfig(q,Z,fe).pipe((0,P.n)(({routes:Xt})=>{var In,qn,Mr;const dr=null!==(In=Z._loadedInjector)&&void 0!==In?In:q,{consumedSegments:Xr,remainingSegments:wo,parameters:cs}=Ht,zo=new Vi(Xr,cs,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Oa(z){return z.data||{}}(Z),dn(Z),null!==(qn=null!==(Mr=Z.component)&&void 0!==Mr?Mr:Z._loadedComponent)&&void 0!==qn?qn:null,Z,function Ps(z){return z.resolve||{}}(Z)),{segmentGroup:Wo,slicedSegments:ds}=Ta(ue,Xr,wo,Xt);if(0===ds.length&&Wo.hasChildren())return this.processChildren(dr,Xt,Wo).pipe((0,M.T)(fs=>null===fs?null:new Nn(zo,fs)));if(0===Xt.length&&0===ds.length)return(0,c.of)(new Nn(zo,[]));const Va=dn(Z)===ke;return this.processSegment(dr,Xt,Wo,ds,Va?tt:ke,!0).pipe((0,M.T)(fs=>new Nn(zo,fs instanceof Nn?[fs]:[])))}))):er(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 Ht=Ei(nt,z);return Qe(function Hn(z){return z&&ot(z.canLoad)}(Ht)?Ht.canLoad(q,ue):(0,S.N4e)(z,()=>Ht(q,ue)))});return(0,c.of)(ke).pipe(qi(),ts())}(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 li(z){return(0,T.$)(Ir(!1,Ct.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 os(z){return(0,P.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(Ht=>Ht.outlet===tt)}return fe}getResolvedTitleForRoute(Z){return Z.data[Oe]}}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 bo=new S.nKC("",{providedIn:"root",factory:()=>({})}),Do=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,j.j)(()=>{this.componentLoaders.delete(Z)})),ke=new w.G(fe,()=>new R.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,Ht=!1;return Array.isArray(fe)?(nt=fe,!0):(ke=fe.create(ue).injector,nt=ke.get(Do,[],{optional:!0,self:!0}).flat()),{routes:nt.map(Vt),injector:ke}}))}(fe,this.compiler,Z,this.onLoadEndListener).pipe((0,j.j)(()=>{this.childrenLoaders.delete(fe)})),Ht=new w.G(nt,()=>new R.B).pipe((0,J.B)());return this.childrenLoaders.set(fe,Ht),Ht}}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)(ve),providedIn:"root"}),q})(),ve=(()=>{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 We(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(Xt=>setTimeout(Xt));let ke;const nt=new Promise(Xt=>{ke=Xt}),Ht=fe.startViewTransition(()=>(ke(),function ht(z){return new Promise(q=>{(0,S.mal)(q,{injector:z})})}(z))),{onViewTransitionCreated:hn}=Z;return hn&&(0,S.N4e)(z,()=>hn({transition:Ht,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 R.B,this.transitionAbortSubject=new R.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)(Ue),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)(bo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,S.WQX)(Y),this.createViewTransition=(0,S.WQX)(at,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,c.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ke=>this.events.next(new an(ke)),this.configLoader.onLoadStartListener=ke=>this.events.next(new $t(ke))}complete(){var Z;null===(Z=this.transitions)||void 0===Z||Z.complete()}handleNavigationRequest(Z){var fe;const ke=++this.navigationId;null===(fe=this.transitions)||void 0===fe||fe.next({...this.transitions.value,...Z,id:ke})}setupNavigations(Z,fe,ke){return this.transitions=new D.t({id:0,currentUrlTree:fe,currentRawUrl:fe,extractedUrl:this.urlHandlingStrategy.extract(fe),urlAfterRedirects:this.urlHandlingStrategy.extract(fe),rawUrl:fe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:fr,restoredState:null,currentSnapshot:ke.snapshot,targetSnapshot:null,currentRouterState:ke,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,me.p)(nt=>0!==nt.id),(0,M.T)(nt=>({...nt,extractedUrl:this.urlHandlingStrategy.extract(nt.rawUrl)})),(0,P.n)(nt=>{let Ht=!1,hn=!1;return(0,c.of)(nt).pipe((0,P.n)(Xt=>{var In;if(this.navigationId>nt.id)return this.cancelNavigationTransition(nt,"",Ct.SupersededByNewNavigation),A.w;this.currentTransition=nt,this.currentNavigation={id:Xt.id,initialUrl:Xt.rawUrl,extractedUrl:Xt.extractedUrl,trigger:Xt.source,extras:Xt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const qn=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),Mr=null!==(In=Xt.extras.onSameUrlNavigation)&&void 0!==In?In:Z.onSameUrlNavigation;if(!qn&&"reload"!==Mr){const dr="";return this.events.next(new gt(Xt.id,this.urlSerializer.serialize(Xt.rawUrl),dr,Gt.IgnoredSameUrlNavigation)),Xt.resolve(null),A.w}if(this.urlHandlingStrategy.shouldProcessUrl(Xt.rawUrl))return(0,c.of)(Xt).pipe((0,P.n)(dr=>{var Xr,wo;const cs=null===(Xr=this.transitions)||void 0===Xr?void 0:Xr.getValue();return this.events.next(new Fe(dr.id,this.urlSerializer.serialize(dr.extractedUrl),dr.source,dr.restoredState)),cs!==(null===(wo=this.transitions)||void 0===wo?void 0:wo.getValue())?A.w:Promise.resolve(dr)}),function ko(z,q,ue,Z,fe,ke){return(0,te.Z)(nt=>function Ts(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:Ht,tree:hn})=>({...nt,targetSnapshot:Ht,urlAfterRedirects:hn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,v.M)(dr=>{nt.targetSnapshot=dr.targetSnapshot,nt.urlAfterRedirects=dr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:dr.urlAfterRedirects};const Xr=new ye(dr.id,this.urlSerializer.serialize(dr.extractedUrl),this.urlSerializer.serialize(dr.urlAfterRedirects),dr.targetSnapshot);this.events.next(Xr)}));if(qn&&this.urlHandlingStrategy.shouldProcessUrl(Xt.currentRawUrl)){const{id:dr,extractedUrl:Xr,source:wo,restoredState:cs,extras:zo}=Xt,Wo=new Fe(dr,this.urlSerializer.serialize(Xr),wo,cs);this.events.next(Wo);const ds=qr(this.rootComponentType).snapshot;return this.currentTransition=nt={...Xt,targetSnapshot:ds,urlAfterRedirects:Xr,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Xr,(0,c.of)(nt)}{const dr="";return this.events.next(new gt(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),dr,Gt.IgnoredByUrlHandlingStrategy)),Xt.resolve(null),A.w}}),(0,v.M)(Xt=>{const In=new Ke(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot);this.events.next(In)}),(0,M.T)(Xt=>(this.currentTransition=nt={...Xt,guards:gi(Xt.targetSnapshot,Xt.currentSnapshot,this.rootContexts)},nt)),function Er(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(Ht=>{var hn;const Xt=null!==(hn=Un(q))&&void 0!==hn?hn:fe,In=Ei(Ht,Xt);return Qe(function Hr(z){return z&&ot(z.canDeactivate)}(In)?In.canDeactivate(z,q,ue,Z):(0,S.N4e)(Xt,()=>In(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)(Ht=>Ht&&function En(z){return"boolean"==typeof z}(Ht)?function _a(z,q,ue,Z){return(0,O.H)(q).pipe((0,h.H)(fe=>(0,F.x)(function Kl(z,q){return null!==z&&q&&q(new ln(z)),(0,c.of)(!0)}(fe.route.parent,Z),function Wl(z,q){return null!==z&&q&&q(new cn(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 es(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,B.v)(()=>{const Ht=nt.guards.map(hn=>{var Xt;const In=null!==(Xt=Un(nt.node))&&void 0!==Xt?Xt:ue,qn=Ei(hn,In);return Qe(function di(z){return z&&ot(z.canActivateChild)}(qn)?qn.canActivateChild(Z,z):(0,S.N4e)(In,()=>qn(Z,z))).pipe(s())});return(0,c.of)(Ht).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,B.v)(()=>{var nt;const Ht=null!==(nt=Un(q))&&void 0!==nt?nt:ue,hn=Ei(ke,Ht);return Qe(function Fr(z){return z&&ot(z.canActivate)}(hn)?hn.canActivate(q,z):(0,S.N4e)(Ht,()=>hn(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)(Ht)),(0,M.T)(Ht=>({...ue,guardsResult:Ht})))})}(this.environmentInjector,Xt=>this.events.next(Xt)),(0,v.M)(Xt=>{if(nt.guardsResult=Xt.guardsResult,An(Xt.guardsResult))throw mo(0,Xt.guardsResult);const In=new dt(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot,!!Xt.guardsResult);this.events.next(In)}),(0,me.p)(Xt=>!!Xt.guardsResult||(this.cancelNavigationTransition(Xt,"",Ct.GuardRejected),!1)),os(Xt=>{if(Xt.guards.canActivateChecks.length)return(0,c.of)(Xt).pipe((0,v.M)(In=>{const qn=new pt(In.id,this.urlSerializer.serialize(In.extractedUrl),this.urlSerializer.serialize(In.urlAfterRedirects),In.targetSnapshot);this.events.next(qn)}),(0,P.n)(In=>{let qn=!1;return(0,c.of)(In).pipe(function fi(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(hn=>hn.route)),nt=new Set;for(const hn of ke)if(!nt.has(hn))for(const Xt of to(hn))nt.add(Xt);let Ht=0;return(0,O.H)(nt).pipe((0,h.H)(hn=>ke.has(hn)?function Rs(z,q,ue,Z){const fe=z.routeConfig,ke=z._resolve;return void 0!==(null==fe?void 0:fe.title)&&!Di(fe)&&(ke[Oe]=fe.title),function Ql(z,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=Un(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)(Ht=>{ke[nt]=Ht}))),f(1),(0,I.u)(ke),(0,y.W)(nt=>_s(nt)?A.w:(0,T.$)(nt)))}(ke,z,q,Z).pipe((0,M.T)(nt=>(z._resolvedData=nt,z.data=jr(z,z.parent,ue).resolve,null)))}(hn,Z,z,q):(hn.data=jr(hn,hn.parent,z).resolve,(0,c.of)(void 0))),(0,v.M)(()=>Ht++),f(1),(0,te.Z)(hn=>Ht===nt.size?(0,c.of)(ue):A.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,v.M)({next:()=>qn=!0,complete:()=>{qn||this.cancelNavigationTransition(In,"",Ct.NoDataFromResolver)}}))}),(0,v.M)(In=>{const qn=new Yt(In.id,this.urlSerializer.serialize(In.extractedUrl),this.urlSerializer.serialize(In.urlAfterRedirects),In.targetSnapshot);this.events.next(qn)}))}),os(Xt=>{const In=qn=>{var Mr;const dr=[];null!==(Mr=qn.routeConfig)&&void 0!==Mr&&Mr.loadComponent&&!qn.routeConfig._loadedComponent&&dr.push(this.configLoader.loadComponent(qn.routeConfig).pipe((0,v.M)(Xr=>{qn.component=Xr}),(0,M.T)(()=>{})));for(const Xr of qn.children)dr.push(...In(Xr));return dr};return(0,C.z)(In(Xt.targetSnapshot.root)).pipe(g(null),(0,U.s)(1))}),os(()=>this.afterPreactivation()),(0,P.n)(()=>{var Xt;const{currentSnapshot:In,targetSnapshot:qn}=nt,Mr=null===(Xt=this.createViewTransition)||void 0===Xt?void 0:Xt.call(this,this.environmentInjector,In.root,qn.root);return Mr?(0,O.H)(Mr).pipe((0,M.T)(()=>nt)):(0,c.of)(nt)}),(0,M.T)(Xt=>{const In=function Kr(z,q,ue){const Z=wi(z,q._root,ue?ue._root:void 0);return new wr(Z,q)}(Z.routeReuseStrategy,Xt.targetSnapshot,Xt.currentRouterState);return this.currentTransition=nt={...Xt,targetRouterState:In},this.currentNavigation.targetRouterState=In,nt}),(0,v.M)(()=>{this.events.next(new Sn)}),((z,q,ue,Z)=>(0,M.T)(fe=>(new lr(q,fe.targetRouterState,fe.currentRouterState,ue,Z).activate(z),fe)))(this.rootContexts,Z.routeReuseStrategy,Xt=>this.events.next(Xt),this.inputBindingEnabled),(0,U.s)(1),(0,v.M)({next:Xt=>{var In;Ht=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new qe(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects))),null===(In=this.titleStrategy)||void 0===In||In.updateTitle(Xt.targetRouterState.snapshot),Xt.resolve(!0)},complete:()=>{Ht=!0}}),function De(z){return(0,W.N)((q,ue)=>{(0,ie.Tg)(z).subscribe((0,se._)(ue,()=>ue.complete(),xe.l)),!ue.closed&&q.subscribe(ue)})}(this.transitionAbortSubject.pipe((0,v.M)(Xt=>{throw Xt}))),(0,j.j)(()=>{var Xt;!Ht&&!hn&&this.cancelNavigationTransition(nt,"",Ct.SupersededByNewNavigation),(null===(Xt=this.currentTransition)||void 0===Xt?void 0:Xt.id)===nt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,y.W)(Xt=>{if(hn=!0,Ni(Xt))this.events.next(new vn(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Xt.message,Xt.cancellationCode)),function si(z){return Ni(z)&&An(z.url)}(Xt)?this.events.next(new Pn(Xt.url)):nt.resolve(!1);else{var In;this.events.next(new zt(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Xt,null!==(In=nt.targetSnapshot)&&void 0!==In?In:void 0));try{nt.resolve(Z.errorHandler(Xt))}catch(qn){this.options.resolveNavigationPromiseOnError?nt.resolve(!1):nt.reject(qn)}}return A.w}))}))}cancelNavigationTransition(Z,fe,ke){const nt=new vn(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 mn(z){return z!==fr}let Zn=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(cr),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 cr=(()=>{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})(),nr=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(gr),providedIn:"root"}),q})(),gr=(()=>{var z;class q extends nr{constructor(){super(...arguments),this.location=(0,S.WQX)(k.aZ),this.urlSerializer=(0,S.WQX)(Lt),this.options=(0,S.WQX)(bo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,S.WQX)(Y),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ft,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var Z,fe;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(Z=null===(fe=this.restoredState())||void 0===fe?void 0:fe.\u0275routerPageId)&&void 0!==Z?Z:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Z){return this.location.subscribe(fe=>{"popstate"===fe.type&&Z(fe.url,fe.state)})}handleRouterEvent(Z,fe){if(Z instanceof Fe)this.stateMemento=this.createStateMemento();else if(Z instanceof gt)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 Sn?(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 vn&&(Z.code===Ct.GuardRejected||Z.code===Ct.NoDataFromResolver)?this.restoreHistory(fe):Z instanceof zt?this.restoreHistory(fe,!0):Z instanceof qe&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,fe){const ke=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(ke)||fe.extras.replaceUrl){const Ht={...fe.extras.state,...this.generateNgRouterState(fe.id,this.browserPageId)};this.location.replaceState(ke,"",Ht)}else{const nt={...fe.extras.state,...this.generateNgRouterState(fe.id,this.browserPageId+1)};this.location.go(ke,"",nt)}}restoreHistory(Z,fe=!1){if("computed"===this.canceledNavigationResolution){const nt=this.currentPageId-this.browserPageId;0!==nt?this.location.historyGo(nt):this.currentUrlTree===Z.finalUrl&&0===nt&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(fe&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){var fe;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(fe=Z.finalUrl)&&void 0!==fe?fe:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,fe){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:fe}:{navigationId:Z}}}return(z=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 ar=function(z){return z[z.COMPLETE=0]="COMPLETE",z[z.FAILED=1]="FAILED",z[z.REDIRECTING=2]="REDIRECTING",z}(ar||{});function _r(z,q){z.events.pipe((0,me.p)(ue=>ue instanceof qe||ue instanceof vn||ue instanceof zt||ue instanceof gt),(0,M.T)(ue=>ue instanceof qe||ue instanceof gt?ar.COMPLETE:ue instanceof vn&&(ue.code===Ct.Redirect||ue.code===Ct.SupersededByNewNavigation)?ar.REDIRECTING:ar.FAILED),(0,me.p)(ue=>ue!==ar.REDIRECTING),(0,U.s)(1)).subscribe(()=>{q()})}function xr(z){throw z}const yn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rn={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)(nr),this.options=(0,S.WQX)(bo,{optional:!0})||{},this.pendingTasks=(0,S.WQX)(S.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,S.WQX)(Jt),this.urlSerializer=(0,S.WQX)(Lt),this.location=(0,S.WQX)(k.aZ),this.urlHandlingStrategy=(0,S.WQX)(Y),this._events=new R.B,this.errorHandler=this.options.errorHandler||xr,this.navigated=!1,this.routeReuseStrategy=(0,S.WQX)(Zn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(Z=null===(fe=(0,S.WQX)(Do,{optional:!0}))||void 0===fe?void 0:fe.flat())&&void 0!==Z?Z:[],this.componentInputBindingEnabled=!!(0,S.WQX)(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 vn&&fe.code!==Ct.Redirect&&fe.code!==Ct.SupersededByNewNavigation)this.navigated=!0;else if(fe instanceof qe)this.navigated=!0;else if(fe instanceof Pn){const Ht=this.urlHandlingStrategy.merge(fe.url,ke.currentRawUrl),hn={info:ke.extras.info,skipLocationChange:ke.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||mn(ke.source)};this.scheduleNavigation(Ht,fr,null,hn,{resolve:ke.resolve,reject:ke.reject,promise:ke.promise})}(function Ar(z){return!(z instanceof Sn||z instanceof Pn)})(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),fr,this.stateManager.restoredState())}setUpLocationChangeListener(){var Z;null!==(Z=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==Z||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((fe,ke)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(fe,"popstate",ke)},0)}))}navigateToSyncWithBrowser(Z,fe,ke){const nt={replaceUrl:!0},Ht=null!=ke&&ke.navigationId?ke:null;if(ke){const Xt={...ke};delete Xt.navigationId,delete Xt.\u0275routerPageId,0!==Object.keys(Xt).length&&(nt.state=Xt)}const hn=this.parseUrl(Z);this.scheduleNavigation(hn,fe,Ht,nt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(Vt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Z,fe={}){const{relativeTo:ke,queryParams:nt,fragment:Ht,queryParamsHandling:hn,preserveFragment:Xt}=fe,In=Xt?this.currentUrlTree.fragment:Ht;let Mr,qn=null;switch(hn){case"merge":qn={...this.currentUrlTree.queryParams,...nt};break;case"preserve":qn=this.currentUrlTree.queryParams;break;default:qn=nt||null}null!==qn&&(qn=this.removeEmptyProps(qn));try{Mr=Mn(ke?ke.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),Mr=this.currentUrlTree.root}return Wn(Mr,Z,qn,null!=In?In:null)}navigateByUrl(Z,fe={skipLocationChange:!1}){const ke=An(Z)?Z:this.parseUrl(Z),nt=this.urlHandlingStrategy.merge(ke,this.rawUrlTree);return this.scheduleNavigation(nt,fr,null,fe)}navigate(Z,fe={skipLocationChange:!1}){return function Lr(z){for(let q=0;q(null!=nt&&(fe[ke]=nt),fe),{})}scheduleNavigation(Z,fe,ke,nt,Ht){if(this.disposed)return Promise.resolve(!1);let hn,Xt,In;Ht?(hn=Ht.resolve,Xt=Ht.reject,In=Ht.promise):In=new Promise((Mr,dr)=>{hn=Mr,Xt=dr});const qn=this.pendingTasks.add();return _r(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(qn))}),this.navigationTransitions.handleNavigationRequest({source:fe,restoredState:ke,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:nt,resolve:hn,reject:Xt,promise:In,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),In.catch(Mr=>Promise.reject(Mr))}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})(),Sr=(()=>{var z;class q{constructor(Z,fe,ke,nt,Ht,hn){var Xt;this.router=Z,this.route=fe,this.tabIndexAttribute=ke,this.renderer=nt,this.el=Ht,this.locationStrategy=hn,this.href=null,this.commands=null,this.onChanges=new R.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const In=null===(Xt=Ht.nativeElement.tagName)||void 0===Xt?void 0:Xt.toLowerCase();this.isAnchorElement="a"===In||"area"===In,this.isAnchorElement?this.subscription=Z.events.subscribe(qn=>{qn instanceof qe&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,fe,ke,nt,Ht){const hn=this.urlTree;return!!(null===hn||this.isAnchorElement&&(0!==Z||fe||ke||nt||Ht||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(hn,{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(ei),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 Rr{}let Si=(()=>{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})(),ss=(()=>{var z;class q{constructor(Z,fe,ke,nt,Ht){this.router=Z,this.injector=ke,this.preloadingStrategy=nt,this.loader=Ht}setUpPreloading(){this.subscription=this.router.events.pipe((0,me.p)(Z=>Z instanceof qe),(0,h.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,fe){const ke=[];for(const Xt of fe){var nt,Ht;Xt.providers&&!Xt._injector&&(Xt._injector=(0,S.Ol2)(Xt.providers,Z,`Route: ${Xt.path}`));const In=null!==(nt=Xt._injector)&&void 0!==nt?nt:Z,qn=null!==(Ht=Xt._loadedInjector)&&void 0!==Ht?Ht:In;var hn;(Xt.loadChildren&&!Xt._loadedRoutes&&void 0===Xt.canLoad||Xt.loadComponent&&!Xt._loadedComponent)&&ke.push(this.preloadConfig(In,Xt)),(Xt.children||Xt._loadedRoutes)&&ke.push(this.processRoutes(qn,null!==(hn=Xt.children)&&void 0!==hn?hn:Xt._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)(Ht=>{var hn;return null===Ht?(0,c.of)(void 0):(fe._loadedRoutes=Ht.routes,fe._loadedInjector=Ht.injector,this.processRoutes(null!==(hn=Ht.injector)&&void 0!==hn?hn:Z,Ht.routes))}));if(fe.loadComponent&&!fe._loadedComponent){const Ht=this.loader.loadComponent(fe);return(0,O.H)([nt,Ht]).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(Rr),S.KVO(Lo))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();const Os=new S.nKC("");let Ao=(()=>{var z;class q{constructor(Z,fe,ke,nt,Ht={}){this.urlSerializer=Z,this.transitions=fe,this.viewportScroller=ke,this.zone=nt,this.options=Ht,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,S.WQX)(S.uvJ),Ht.scrollPositionRestoration||(Ht.scrollPositionRestoration="disabled"),Ht.anchorScrolling||(Ht.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof Fe?(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 gt&&Z.code===Gt.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 _n&&(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 _n(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 ri(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(Jn)&&ke.initialNavigation(),null===(ue=z.get(ls,null,S.$GK.Optional))||void 0===ue||ue.setUpPreloading(),null===(Z=z.get(Os,null,S.$GK.Optional))||void 0===Z||Z.init(),ke.resetRootComponentType(fe.componentTypes[0]),nt.closed||(nt.next(),nt.complete(),nt.unsubscribe())}}const io=new S.nKC("",{factory:()=>new R.B}),Jn=new S.nKC("",{providedIn:"root",factory:()=>1}),ls=new S.nKC("");function jo(z){return ri(0,[{provide:ls,useExisting:ss},{provide:Rr,useExisting:z}])}function La(z){return ri(9,[{provide:at,useValue:We},{provide:de,useValue:{skipNextTransition:!(null==z||!z.skipInitialTransition),...z}}])}const us=new S.nKC("ROUTER_FORROOT_GUARD"),Ii=[k.aZ,{provide:Lt,useClass:Wt},ir,Ue,{provide:ei,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:[Ii,[],{provide:Do,multi:!0,useValue:Z},{provide:us,useFactory:tu,deps:[[ir,new S.Xx1,new S.kdw]]},{provide:bo,useValue:fe||{}},null!=fe&&fe.useHash?{provide:k.hb,useClass:k.fw}:{provide:k.hb,useClass:k.Sm},{provide:Os,useFactory:()=>{const z=(0,S.WQX)(k.Xr),q=(0,S.WQX)(S.SKi),ue=(0,S.WQX)(bo),Z=(0,S.WQX)(Jt),fe=(0,S.WQX)(Lt);return ue.scrollOffset&&z.setOffset(ue.scrollOffset),new Ao(fe,Z,z,q,ue)}},null!=fe&&fe.preloadingStrategy?jo(fe.preloadingStrategy).\u0275providers:[],null!=fe&&fe.initialNavigation?Ic(fe):[],null!=fe&&fe.bindToComponentInputs?ri(8,[Hi,{provide:Mi,useExisting:Hi}]).\u0275providers:[],null!=fe&&fe.enableViewTransitions?La().\u0275providers:[],[{provide:ks,useFactory:Vo},{provide:S.iLQ,multi:!0,useExisting:ks}]]}}static forChild(Z){return{ngModule:q,providers:[{provide:Do,multi:!0,useValue:Z}]}}}return(z=q).\u0275fac=function(Z){return new(Z||z)(S.KVO(us,8))},z.\u0275mod=S.$C({type:z}),z.\u0275inj=S.G2t({}),q})();function tu(z){return"guarded"}function Ic(z){return["disabled"===z.initialNavigation?ri(3,[{provide:S.hnV,multi:!0,useFactory:()=>{const q=(0,S.WQX)(ir);return()=>{q.setUpLocationChangeListener()}}},{provide:Jn,useValue:2}]).\u0275providers:[],"enabledBlocking"===z.initialNavigation?ri(2,[{provide:Jn,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);_r(fe,()=>{Z(!0)}),q.get(Jt).afterPreactivation=()=>(Z(!0),ke.closed?(0,c.of)(void 0):ke),fe.initialNavigation()}))}}]).\u0275providers:[]]}const ks=new S.nKC("")},4517:(Ce,ee,E)=>{"use strict";E.d(ee,{Yq:()=>bt,TS:()=>Cn,sR:()=>St,el:()=>Gn,Sb:()=>Pe,QE:()=>Tt,CF:()=>Ze,Rg:()=>An,p4:()=>Mt,jM:()=>Kn,_t:()=>ge,q9:()=>ft,y8:()=>bn,Kb:()=>fr,OD:()=>rt,CE:()=>Xn,pF:()=>jn,fL:()=>Zt,YV:()=>Ln,er:()=>kt,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,Fe){const qe=this.m.get(et);return void 0!==qe?qe:Fe}getBoolean(et,Fe=!1){const qe=this.m.get(et);return void 0===qe?Fe:"string"==typeof qe?"true"===qe:!!qe}getNumber(et,Fe){const qe=parseFloat(this.m.get(et));return isNaN(qe)?void 0!==Fe?Fe:NaN:qe}set(et,Fe){this.m.set(et,Fe)}}const D=new c,A=Ge=>R(Ge),R=(Ge=window)=>{if(typeof Ge>"u")return[];Ge.Ionic=Ge.Ionic||{};let et=Ge.Ionic.platforms;return null==et&&(et=Ge.Ionic.platforms=$(Ge),et.forEach(Fe=>Ge.document.documentElement.classList.add(`plt-${Fe}`))),et},$=Ge=>{const et=D.get("platform");return Object.keys(y).filter(Fe=>{const qe=null==et?void 0:et[Fe];return"function"==typeof qe?qe(Ge):y[Fe](Ge)})},M=Ge=>!!(h(Ge,/iPad/i)||h(Ge,/Macintosh/i)&&te(Ge)),V=Ge=>h(Ge,/android|sink/i),te=Ge=>v(Ge,"(any-pointer:coarse)"),g=Ge=>n(Ge)||o(Ge),n=Ge=>!!(Ge.cordova||Ge.phonegap||Ge.PhoneGap),o=Ge=>{const et=Ge.Capacitor;return!(null==et||!et.isNative)},h=(Ge,et)=>et.test(Ge.navigator.userAgent),v=(Ge,et)=>{var Fe;return null===(Fe=Ge.matchMedia)||void 0===Fe?void 0:Fe.call(Ge,et).matches},y={ipad:M,iphone:Ge=>h(Ge,/iPhone/i),ios:Ge=>h(Ge,/iPhone|iPod/i)||M(Ge),android:V,phablet:Ge=>{const et=Ge.innerWidth,Fe=Ge.innerHeight,qe=Math.min(et,Fe),Ct=Math.max(et,Fe);return qe>390&&qe<520&&Ct>620&&Ct<800},tablet:Ge=>{const et=Ge.innerWidth,Fe=Ge.innerHeight,qe=Math.min(et,Fe),Ct=Math.max(et,Fe);return M(Ge)||(Ge=>V(Ge)&&!h(Ge,/mobile/i))(Ge)||qe>460&&qe<820&&Ct>780&&Ct<1400},cordova:n,capacitor:o,electron:Ge=>h(Ge,/electron/i),pwa:Ge=>{var et;return!!(null!==(et=Ge.matchMedia)&&void 0!==et&&et.call(Ge,"(display-mode: standalone)").matches||Ge.navigator.standalone)},mobile:te,mobileweb:Ge=>te(Ge)&&!g(Ge),desktop:Ge=>!te(Ge),hybrid:g};var L=E(6031),I=E(1656),j=E(1413),J=E(3726),ie=E(4412),xe=E(4572),De=E(7673),Q=E(1635),ae=E(5964),tt=E(5558),Oe=E(3669),pe=E(9974),Te=E(4360);function re(Ge,et){return Ge===et}var ne=E(9417);const G=["tabsInner"];class ge{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,Fe){return this.menuController.enable(et,Fe)}swipeGesture(et,Fe){return this.menuController.swipeGesture(et,Fe)}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,Fe){return this.menuController.registerAnimation(et,Fe)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(et,Fe){return this.menuController._createAnimation(et,Fe)}_register(et){return this.menuController._register(et)}_unregister(et){return this.menuController._unregister(et)}_setOpen(et,Fe,qe){return this.menuController._setOpen(et,Fe,qe)}}let rt=(()=>{class Ge{constructor(Fe,qe){this.doc=Fe,this.backButton=new j.B,this.keyboardDidShow=new j.B,this.keyboardDidHide=new j.B,this.pause=new j.B,this.resume=new j.B,this.resize=new j.B,qe.run(()=>{var Ct;let Gt;this.win=Fe.defaultView,this.backButton.subscribeWithPriority=function(vn,gt){return this.subscribe(zt=>zt.register(vn,ye=>qe.run(()=>gt(ye))))},mt(this.pause,Fe,"pause",qe),mt(this.resume,Fe,"resume",qe),mt(this.backButton,Fe,"ionBackButton",qe),mt(this.resize,this.win,"resize",qe),mt(this.keyboardDidShow,this.win,"ionKeyboardDidShow",qe),mt(this.keyboardDidHide,this.win,"ionKeyboardDidHide",qe),this._readyPromise=new Promise(vn=>{Gt=vn}),null!==(Ct=this.win)&&void 0!==Ct&&Ct.cordova?Fe.addEventListener("deviceready",()=>{Gt("cordova")},{once:!0}):Gt("dom")})}is(Fe){return((Ge,et)=>("string"==typeof Ge&&(et=Ge,Ge=void 0),A(Ge).includes(et)))(this.win,Fe)}platforms(){return A(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(Fe){return rn(this.win.location.href,Fe)}isLandscape(){return!this.isPortrait()}isPortrait(){var Fe,qe;return null===(Fe=(qe=this.win).matchMedia)||void 0===Fe?void 0:Fe.call(qe,"(orientation: portrait)").matches}testUserAgent(Fe){const qe=this.win.navigator;return!!(null!=qe&&qe.userAgent&&qe.userAgent.indexOf(Fe)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.KVO(O.qQ),S.KVO(S.SKi))},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const rn=(Ge,et)=>{et=et.replace(/[[\]\\]/g,"\\$&");const qe=new RegExp("[\\?&]"+et+"=([^&#]*)").exec(Ge);return qe?decodeURIComponent(qe[1].replace(/\+/g," ")):null},mt=(Ge,et,Fe,qe)=>{et&&et.addEventListener(Fe,Ct=>{qe.run(()=>{Ge.next(null!=Ct?Ct.detail:void 0)})})};let ft=(()=>{class Ge{constructor(Fe,qe,Ct,Gt){this.location=qe,this.serializer=Ct,this.router=Gt,this.direction=At,this.animated=It,this.guessDirection="forward",this.lastNavId=-1,Gt&&Gt.events.subscribe(vn=>{if(vn instanceof p.Z){const gt=vn.restoredState?vn.restoredState.navigationId:vn.id;this.guessDirection=gt{this.pop(),vn()})}navigateForward(Fe,qe={}){return this.setDirection("forward",qe.animated,qe.animationDirection,qe.animation),this.navigate(Fe,qe)}navigateBack(Fe,qe={}){return this.setDirection("back",qe.animated,qe.animationDirection,qe.animation),this.navigate(Fe,qe)}navigateRoot(Fe,qe={}){return this.setDirection("root",qe.animated,qe.animationDirection,qe.animation),this.navigate(Fe,qe)}back(Fe={animated:!0,animationDirection:"back"}){return this.setDirection("back",Fe.animated,Fe.animationDirection,Fe.animation),this.location.back()}pop(){var Fe=this;return(0,a.A)(function*(){let qe=Fe.topOutlet;for(;qe;){if(yield qe.pop())return!0;qe=qe.parentOutlet}return!1})()}setDirection(Fe,qe,Ct,Gt){this.direction=Fe,this.animated=un(Fe,qe,Ct),this.animationBuilder=Gt}setTopOutlet(Fe){this.topOutlet=Fe}consumeTransition(){let qe,Fe="root";const Ct=this.animationBuilder;return"auto"===this.direction?(Fe=this.guessDirection,qe=this.guessAnimation):(qe=this.animated,Fe=this.direction),this.direction=At,this.animated=It,this.animationBuilder=void 0,{direction:Fe,animation:qe,animationBuilder:Ct}}navigate(Fe,qe){if(Array.isArray(Fe))return this.router.navigate(Fe,qe);{const Ct=this.serializer.parse(Fe.toString());return void 0!==qe.queryParams&&(Ct.queryParams={...qe.queryParams}),void 0!==qe.fragment&&(Ct.fragment=qe.fragment),this.router.navigateByUrl(Ct,qe)}}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.KVO(rt),S.KVO(O.aZ),S.KVO(p.Sd),S.KVO(p.Ix,8))},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const un=(Ge,et,Fe)=>{if(!1!==et){if(void 0!==Fe)return Fe;if("forward"===Ge||"back"===Ge)return Ge;if("root"===Ge&&!0===et)return"forward"}},At="auto",It=void 0;let Cn=(()=>{class Ge{get(Fe,qe){const Ct=Ft();return Ct?Ct.get(Fe,qe):null}getBoolean(Fe,qe){const Ct=Ft();return!!Ct&&Ct.getBoolean(Fe,qe)}getNumber(Fe,qe){const Ct=Ft();return Ct?Ct.getNumber(Fe,qe):0}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const St=new S.nKC("USERCONFIG"),Ft=()=>{if(typeof window<"u"){const Ge=window.Ionic;if(null!=Ge&&Ge.config)return Ge.config}return null};class bn{constructor(et={}){this.data=et}get(et){return this.data[et]}}let bt=(()=>{class Ge{constructor(){this.zone=(0,S.WQX)(S.SKi),this.applicationRef=(0,S.WQX)(S.o8S)}create(Fe,qe,Ct){return new wt(Fe,qe,this.applicationRef,this.zone,Ct)}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac}),Ge})();class wt{constructor(et,Fe,qe,Ct,Gt){this.environmentInjector=et,this.injector=Fe,this.applicationRef=qe,this.zone=Ct,this.elementReferenceKey=Gt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(et,Fe,qe,Ct){return this.zone.run(()=>new Promise(Gt=>{const vn={...qe};void 0!==this.elementReferenceKey&&(vn[this.elementReferenceKey]=et),Gt(Dn(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,et,Fe,vn,Ct,this.elementReferenceKey))}))}removeViewFromDom(et,Fe){return this.zone.run(()=>new Promise(qe=>{const Ct=this.elRefMap.get(Fe);if(Ct){Ct.destroy(),this.elRefMap.delete(Fe);const Gt=this.elEventsMap.get(Fe);Gt&&(Gt(),this.elEventsMap.delete(Fe))}qe()}))}}const Dn=(Ge,et,Fe,qe,Ct,Gt,vn,gt,zt,ye,Ke)=>{const dt=S.zZn.create({providers:Nt(zt),parent:Fe}),pt=(0,S.a0P)(gt,{environmentInjector:et,elementInjector:dt}),Yt=pt.instance,$t=pt.location.nativeElement;if(zt&&(Ke&&void 0!==Yt[Ke]&&console.error(`[Ionic Error]: ${Ke} is a reserved property when using ${vn.tagName.toLowerCase()}. Rename or remove the "${Ke}" property from ${gt.name}.`),Object.assign(Yt,zt)),ye)for(const ln of ye)$t.classList.add(ln);const an=Lt(Ge,Yt,$t);return vn.appendChild($t),qe.attachView(pt.hostView),Ct.set($t,pt),Gt.set($t,an),$t},Bt=[L.L,L.a,L.b,L.c,L.d],Lt=(Ge,et,Fe)=>Ge.run(()=>{const qe=Bt.filter(Ct=>"function"==typeof et[Ct]).map(Ct=>{const Gt=vn=>et[Ct](vn.detail);return Fe.addEventListener(Ct,Gt),()=>Fe.removeEventListener(Ct,Gt)});return()=>qe.forEach(Ct=>Ct())}),Wt=new S.nKC("NavParamsToken"),Nt=Ge=>[{provide:Wt,useValue:Ge},{provide:bn,useFactory:Ot,deps:[Wt]}],Ot=Ge=>new bn(Ge),zn=(Ge,et)=>{const Fe=Ge.prototype;et.forEach(qe=>{Object.defineProperty(Fe,qe,{get(){return this.el[qe]},set(Ct){this.z.runOutsideAngular(()=>this.el[qe]=Ct)}})})},Ut=(Ge,et)=>{const Fe=Ge.prototype;et.forEach(qe=>{Fe[qe]=function(){const Ct=arguments;return this.z.runOutsideAngular(()=>this.el[qe].apply(this.el,Ct))}})},He=(Ge,et,Fe)=>{Fe.forEach(qe=>Ge[qe]=(0,J.R)(et,qe))};function _e(Ge){return function(Fe){const{defineCustomElementFn:qe,inputs:Ct,methods:Gt}=Ge;return void 0!==qe&&qe(),Ct&&zn(Fe,Ct),Gt&&Ut(Fe,Gt),Fe}}const Ae=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Me=["present","dismiss","onDidDismiss","onWillDismiss"];let Ze=(()=>{let Ge=class{constructor(Fe,qe,Ct){this.z=Ct,this.isCmpOpen=!1,this.el=qe.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Fe.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Fe.detectChanges()}),He(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["ion-popover"]],contentQueries:function(Fe,qe,Ct){if(1&Fe&&S.wni(Ct,S.C4Q,5),2&Fe){let Gt;S.mGM(Gt=S.lsd())&&(qe.template=Gt.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"}}),Ge=(0,Q.Cg)([_e({inputs:Ae,methods:Me})],Ge),Ge})();const je=["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 Ge=class{constructor(Fe,qe,Ct){this.z=Ct,this.isCmpOpen=!1,this.el=qe.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Fe.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Fe.detectChanges()}),He(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["ion-modal"]],contentQueries:function(Fe,qe,Ct){if(1&Fe&&S.wni(Ct,S.C4Q,5),2&Fe){let Gt;S.mGM(Gt=S.lsd())&&(qe.template=Gt.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"}}),Ge=(0,Q.Cg)([_e({inputs:je,methods:it})],Ge),Ge})();const ze=(Ge,et)=>((Ge=Ge.filter(Fe=>Fe.stackId!==et.stackId)).push(et),Ge),st=(Ge,et)=>{const Fe=Ge.createUrlTree(["."],{relativeTo:et});return Ge.serializeUrl(Fe)},en=(Ge,et)=>!et||Ge.stackId!==et.stackId,yt=(Ge,et)=>{if(!Ge)return;const Fe=vt(et);for(let qe=0;qe=Ge.length)return Fe[qe];if(Fe[qe]!==Ge[qe])return}},vt=Ge=>Ge.split("/").map(et=>et.trim()).filter(et=>""!==et),Kt=Ge=>{Ge&&(Ge.ref.destroy(),Ge.unlistenEvents())};class Pt{constructor(et,Fe,qe,Ct,Gt,vn){this.containerEl=Fe,this.router=qe,this.navCtrl=Ct,this.zone=Gt,this.location=vn,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==et?vt(et):void 0}createView(et,Fe){var qe;const Ct=st(this.router,Fe),Gt=null==et||null===(qe=et.location)||void 0===qe?void 0:qe.nativeElement,vn=Lt(this.zone,et.instance,Gt);return{id:this.nextId++,stackId:yt(this.tabsPrefix,Ct),unlistenEvents:vn,element:Gt,ref:et,url:Ct}}getExistingView(et){const Fe=st(this.router,et),qe=this.views.find(Ct=>Ct.url===Fe);return qe&&qe.ref.changeDetectorRef.reattach(),qe}setActive(et){var Fe,qe;const Ct=this.navCtrl.consumeTransition();let{direction:Gt,animation:vn,animationBuilder:gt}=Ct;const zt=this.activeView,ye=en(et,zt);ye&&(Gt="back",vn=void 0);const Ke=this.views.slice();let dt;const pt=this.router;pt.getCurrentNavigation?dt=pt.getCurrentNavigation():null!==(Fe=pt.navigations)&&void 0!==Fe&&Fe.value&&(dt=pt.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 Yt=this.views.includes(et),$t=this.insertView(et,Gt);Yt||et.ref.changeDetectorRef.detectChanges();const an=et.animationBuilder;return void 0===gt&&"back"===Gt&&!ye&&void 0!==an&&(gt=an),zt&&(zt.animationBuilder=gt),this.zone.runOutsideAngular(()=>this.wait(()=>(zt&&zt.ref.changeDetectorRef.detach(),et.ref.changeDetectorRef.reattach(),this.transition(et,zt,vn,this.canGoBack(1),!1,gt).then(()=>Rt(et,$t,Ke,this.location,this.zone)).then(()=>({enteringView:et,direction:Gt,animation:vn,tabSwitch:ye})))))}canGoBack(et,Fe=this.getActiveStackId()){return this.getStack(Fe).length>et}pop(et,Fe=this.getActiveStackId()){return this.zone.run(()=>{const qe=this.getStack(Fe);if(qe.length<=et)return Promise.resolve(!1);const Ct=qe[qe.length-et-1];let Gt=Ct.url;const vn=Ct.savedData;if(vn){var gt;const ye=vn.get("primary");null!=ye&&null!==(gt=ye.route)&&void 0!==gt&&null!==(gt=gt._routerState)&&void 0!==gt&>.snapshot.url&&(Gt=ye.route._routerState.snapshot.url)}const{animationBuilder:zt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Gt,{...Ct.savedExtras,animation:zt}).then(()=>!0)})}startBackTransition(){const et=this.activeView;if(et){const Fe=this.getStack(et.stackId),qe=Fe[Fe.length-2],Ct=qe.animationBuilder;return this.wait(()=>this.transition(qe,et,"back",this.canGoBack(2),!0,Ct))}return Promise.resolve()}endBackTransition(et){et?(this.skipTransition=!0,this.pop(1)):this.activeView&&On(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(et){const Fe=this.getStack(et);return Fe.length>0?Fe[Fe.length-1]:void 0}getRootUrl(et){const Fe=this.getStack(et);return Fe.length>0?Fe[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(Fe=>Fe.stackId===et)}insertView(et,Fe){return this.activeView=et,this.views=((Ge,et,Fe)=>"root"===Fe?ze(Ge,et):"forward"===Fe?((Ge,et)=>(Ge.indexOf(et)>=0?Ge=Ge.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):Ge.push(et),Ge))(Ge,et):((Ge,et)=>Ge.indexOf(et)>=0?Ge.filter(qe=>qe.stackId!==et.stackId||qe.id<=et.id):ze(Ge,et))(Ge,et))(this.views,et,Fe),this.views.slice()}transition(et,Fe,qe,Ct,Gt,vn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(Fe===et)return Promise.resolve(!1);const gt=et?et.element:void 0,zt=Fe?Fe.element:void 0,ye=this.containerEl;return gt&>!==zt&&(gt.classList.add("ion-page"),gt.classList.add("ion-page-invisible"),gt.parentElement!==ye&&ye.appendChild(gt),ye.commit)?ye.commit(gt,zt,{duration:void 0===qe?0:void 0,direction:qe,showGoBack:Ct,progressAnimation:Gt,animationBuilder:vn}):Promise.resolve(!1)}wait(et){var Fe=this;return(0,a.A)(function*(){void 0!==Fe.runningTask&&(yield Fe.runningTask,Fe.runningTask=void 0);const qe=Fe.runningTask=et();return qe.finally(()=>Fe.runningTask=void 0),qe})()}}const Rt=(Ge,et,Fe,qe,Ct)=>"function"==typeof requestAnimationFrame?new Promise(Gt=>{requestAnimationFrame(()=>{On(Ge,et,Fe,qe,Ct),Gt()})}):Promise.resolve(),On=(Ge,et,Fe,qe,Ct)=>{Ct.run(()=>Fe.filter(Gt=>!et.includes(Gt)).forEach(Kt)),et.forEach(Gt=>{const gt=qe.path().split("?")[0].split("#")[0];if(Gt!==Ge&&Gt.url!==gt){const zt=Gt.element;zt.setAttribute("aria-hidden","true"),zt.classList.add("ion-page-hidden"),Gt.ref.changeDetectorRef.detach()}})};let An=(()=>{class Ge{constructor(Fe,qe,Ct,Gt,vn,gt,zt,ye){this.parentOutlet=ye,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new ie.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)(Mn,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,S.WQX)(Cn),this.navCtrl=(0,S.WQX)(ft),this.nativeEl=Gt.nativeElement,this.name=Fe||p.Xk,this.tabsPrefix="true"===qe?st(vn,zt):void 0,this.stackCtrl=new Pt(this.tabsPrefix,this.nativeEl,vn,this.navCtrl,gt,Ct),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(Fe){this.nativeEl.animation=Fe}set animated(Fe){this.nativeEl.animated=Fe}set swipeGesture(Fe){this._swipeGesture=Fe,this.nativeEl.swipeHandler=Fe?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:qe=>this.stackCtrl.endBackTransition(qe)}:void 0}ngOnDestroy(){var Fe;this.stackCtrl.destroy(),null===(Fe=this.inputBinder)||void 0===Fe||Fe.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const Fe=this.getContext();null!=Fe&&Fe.route&&this.activateWith(Fe.route,Fe.injector)}new Promise(Fe=>(0,I.c)(this.nativeEl,Fe)).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(Fe,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 Ct=this.activatedView.savedData.get("primary");if(Ct&&qe.route&&(Ct.route={...qe.route}),this.activatedView.savedExtras={},qe.route){const Gt=qe.route.snapshot;this.activatedView.savedExtras.queryParams=Gt.queryParams,this.activatedView.savedExtras.fragment=Gt.fragment}}const Fe=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Fe)}}activateWith(Fe,qe){var Ct;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=Fe;let Gt,vn=this.stackCtrl.getExistingView(Fe);if(vn){Gt=this.activated=vn.ref;const ye=vn.savedData;ye&&(this.getContext().children.contexts=ye),this.updateActivatedRouteProxy(Gt.instance,Fe)}else{var gt;const ye=Fe._futureSnapshot,Ke=this.parentContexts.getOrCreateContext(this.name).children,dt=new ie.t(null),pt=this.createActivatedRouteProxy(dt,Fe),Yt=new Bn(pt,Ke,this.location.injector),$t=null!==(gt=ye.routeConfig.component)&&void 0!==gt?gt:ye.component;Gt=this.activated=this.location.createComponent($t,{index:this.location.length,injector:Yt,environmentInjector:null!=qe?qe:this.environmentInjector}),dt.next(Gt.instance),vn=this.stackCtrl.createView(this.activated,Fe),this.proxyMap.set(Gt.instance,pt),this.currentActivatedRoute$.next({component:Gt.instance,activatedRoute:Fe})}null===(Ct=this.inputBinder)||void 0===Ct||Ct.bindActivatedRouteToOutletComponent(this),this.activatedView=vn,this.navCtrl.setTopOutlet(this);const zt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:vn,tabSwitch:en(vn,zt)}),this.stackCtrl.setActive(vn).then(ye=>{this.activateEvents.emit(Gt.instance),this.stackDidChange.emit(ye)})}canGoBack(Fe=1,qe){return this.stackCtrl.canGoBack(Fe,qe)}pop(Fe=1,qe){return this.stackCtrl.pop(Fe,qe)}getLastUrl(Fe){const qe=this.stackCtrl.getLastUrl(Fe);return qe?qe.url:void 0}getLastRouteView(Fe){return this.stackCtrl.getLastUrl(Fe)}getRootView(Fe){return this.stackCtrl.getRootUrl(Fe)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(Fe,qe){const Ct=new p.nX;return Ct._futureSnapshot=qe._futureSnapshot,Ct._routerState=qe._routerState,Ct.snapshot=qe.snapshot,Ct.outlet=qe.outlet,Ct.component=qe.component,Ct._paramMap=this.proxyObservable(Fe,"paramMap"),Ct._queryParamMap=this.proxyObservable(Fe,"queryParamMap"),Ct.url=this.proxyObservable(Fe,"url"),Ct.params=this.proxyObservable(Fe,"params"),Ct.queryParams=this.proxyObservable(Fe,"queryParams"),Ct.fragment=this.proxyObservable(Fe,"fragment"),Ct.data=this.proxyObservable(Fe,"data"),Ct}proxyObservable(Fe,qe){return Fe.pipe((0,ae.p)(Ct=>!!Ct),(0,tt.n)(Ct=>this.currentActivatedRoute$.pipe((0,ae.p)(Gt=>null!==Gt&&Gt.component===Ct),(0,tt.n)(Gt=>Gt&&Gt.activatedRoute[qe]),function Be(Ge,et=Oe.D){return Ge=null!=Ge?Ge:re,(0,pe.N)((Fe,qe)=>{let Ct,Gt=!0;Fe.subscribe((0,Te._)(qe,vn=>{const gt=et(vn);(Gt||!Ge(Ct,gt))&&(Gt=!1,Ct=gt,qe.next(vn))}))})}())))}updateActivatedRouteProxy(Fe,qe){const Ct=this.proxyMap.get(Fe);if(!Ct)throw new Error("Could not find activated route proxy for view");Ct._futureSnapshot=qe._futureSnapshot,Ct._routerState=qe._routerState,Ct.snapshot=qe.snapshot,Ct.outlet=qe.outlet,Ct.component=qe.component,this.currentActivatedRoute$.next({component:Fe,activatedRoute:qe})}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(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(Ge,12))},Ge.\u0275dir=S.FsC({type:Ge,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"]}),Ge})();class Bn{constructor(et,Fe,qe){this.route=et,this.childContexts=Fe,this.parent=qe}get(et,Fe){return et===p.nX?this.route:et===p.Zp?this.childContexts:this.parent.get(et,Fe)}}const Mn=new S.nKC("");let Wn=(()=>{class Ge{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Fe){this.unsubscribeFromRouteData(Fe),this.subscribeToRouteData(Fe)}unsubscribeFromRouteData(Fe){var qe;null===(qe=this.outletDataSubscriptions.get(Fe))||void 0===qe||qe.unsubscribe(),this.outletDataSubscriptions.delete(Fe)}subscribeToRouteData(Fe){const{activatedRoute:qe}=Fe,Ct=(0,xe.z)([qe.queryParams,qe.params,qe.data]).pipe((0,tt.n)(([Gt,vn,gt],zt)=>(gt={...Gt,...vn,...gt},0===zt?(0,De.of)(gt):Promise.resolve(gt)))).subscribe(Gt=>{if(!Fe.isActivated||!Fe.activatedComponentRef||Fe.activatedRoute!==qe||null===qe.component)return void this.unsubscribeFromRouteData(Fe);const vn=(0,S.HJs)(qe.component);if(vn)for(const{templateName:gt}of vn.inputs)Fe.activatedComponentRef.setInput(gt,Gt[gt]);else this.unsubscribeFromRouteData(Fe)});this.outletDataSubscriptions.set(Fe,Ct)}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac}),Ge})();const Ln=()=>({provide:Mn,useFactory:Fn,deps:[p.Ix]});function Fn(Ge){return null!=Ge&&Ge.componentInputBindingEnabled?new Wn:null}const kn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Gn=(()=>{let Ge=class{constructor(Fe,qe,Ct,Gt,vn,gt){this.routerOutlet=Fe,this.navCtrl=qe,this.config=Ct,this.r=Gt,this.z=vn,gt.detach(),this.el=this.r.nativeElement}onClick(Fe){var qe;const Ct=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(),Fe.preventDefault()):null!=Ct&&(this.navCtrl.navigateBack(Ct,{animation:this.routerAnimation}),Fe.preventDefault())}};return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(An,8),S.rXU(ft),S.rXU(Cn),S.rXU(S.aKT),S.rXU(S.SKi),S.rXU(S.gRc))},Ge.\u0275dir=S.FsC({type:Ge,hostBindings:function(Fe,qe){1&Fe&&S.bIt("click",function(Gt){return qe.onClick(Gt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),Ge=(0,Q.Cg)([_e({inputs:kn})],Ge),Ge})(),Xn=(()=>{class Ge{constructor(Fe,qe,Ct,Gt,vn){this.locationStrategy=Fe,this.navCtrl=qe,this.elementRef=Ct,this.router=Gt,this.routerLink=vn,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Fe;if(null!==(Fe=this.routerLink)&&void 0!==Fe&&Fe.urlTree){const qe=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=qe}}onClick(Fe){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),Fe.preventDefault()}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(O.hb),S.rXU(ft),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(Fe,qe){1&Fe&&S.bIt("click",function(Gt){return qe.onClick(Gt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),Ge})(),jn=(()=>{class Ge{constructor(Fe,qe,Ct,Gt,vn){this.locationStrategy=Fe,this.navCtrl=qe,this.elementRef=Ct,this.router=Gt,this.routerLink=vn,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Fe;if(null!==(Fe=this.routerLink)&&void 0!==Fe&&Fe.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 Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(O.hb),S.rXU(ft),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(Fe,qe){1&Fe&&S.bIt("click",function(){return qe.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),Ge})();const $e=["animated","animation","root","rootParams","swipeGesture"],lt=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let Tt=(()=>{let Ge=class{constructor(Fe,qe,Ct,Gt,vn,gt){this.z=vn,gt.detach(),this.el=Fe.nativeElement,Fe.nativeElement.delegate=Gt.create(qe,Ct),He(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(S.aKT),S.rXU(S.uvJ),S.rXU(S.zZn),S.rXU(bt),S.rXU(S.SKi),S.rXU(S.gRc))},Ge.\u0275dir=S.FsC({type:Ge,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),Ge=(0,Q.Cg)([_e({inputs:$e,methods:lt})],Ge),Ge})(),Mt=(()=>{class Ge{constructor(Fe){this.navCtrl=Fe,this.ionTabsWillChange=new S.bkB,this.ionTabsDidChange=new S.bkB,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:Fe,tabSwitch:qe}){const Ct=Fe.stackId;qe&&void 0!==Ct&&this.ionTabsWillChange.emit({tab:Ct})}onStackDidChange({enteringView:Fe,tabSwitch:qe}){const Ct=Fe.stackId;qe&&void 0!==Ct&&(this.tabBar&&(this.tabBar.selectedTab=Ct),this.ionTabsDidChange.emit({tab:Ct}))}select(Fe){const qe="string"==typeof Fe,Ct=qe?Fe:Fe.detail.tab,Gt=this.outlet.getActiveStackId()===Ct,vn=`${this.outlet.tabsPrefix}/${Ct}`;if(qe||Fe.stopPropagation(),Gt){const gt=this.outlet.getActiveStackId(),zt=this.outlet.getLastRouteView(gt);if((null==zt?void 0:zt.url)===vn)return;const ye=this.outlet.getRootView(Ct);return this.navCtrl.navigateRoot(vn,{...ye&&vn===ye.url&&ye.savedExtras,animated:!0,animationDirection:"back"})}{const gt=this.outlet.getLastRouteView(Ct);return this.navCtrl.navigateRoot((null==gt?void 0:gt.url)||vn,{...null==gt?void 0:gt.savedExtras,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(Fe=>{const qe=Fe.el.getAttribute("slot");qe!==this.tabBarSlot&&(this.tabBarSlot=qe,this.relocateTabBar())})}relocateTabBar(){const Fe=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(Fe):this.tabsInner.nativeElement.after(Fe)}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(ft))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["ion-tabs"]],viewQuery:function(Fe,qe){if(1&Fe&&S.GBs(G,7,S.aKT),2&Fe){let Ct;S.mGM(Ct=S.lsd())&&(qe.tabsInner=Ct.first)}},hostBindings:function(Fe,qe){1&Fe&&S.bIt("ionTabButtonClick",function(Gt){return qe.select(Gt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),Ge})();const kt=Ge=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Ge):"function"==typeof requestAnimationFrame?requestAnimationFrame(Ge):setTimeout(Ge);let Zt=(()=>{class Ge{constructor(Fe,qe){this.injector=Fe,this.elementRef=qe,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(Fe){this.elementRef.nativeElement.value=this.lastValue=Fe,qt(this.elementRef)}handleValueChange(Fe,qe){Fe===this.elementRef.nativeElement&&(qe!==this.lastValue&&(this.lastValue=qe,this.onChange(qe)),qt(this.elementRef))}_handleBlurEvent(Fe){Fe===this.elementRef.nativeElement&&(this.onTouched(),qt(this.elementRef))}registerOnChange(Fe){this.onChange=Fe}registerOnTouched(Fe){this.onTouched=Fe}setDisabledState(Fe){this.elementRef.nativeElement.disabled=Fe}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let Fe;try{Fe=this.injector.get(ne.vO)}catch{}if(!Fe)return;Fe.statusChanges&&(this.statusChanges=Fe.statusChanges.subscribe(()=>qt(this.elementRef)));const qe=Fe.control;qe&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(Gt=>{if(typeof qe[Gt]<"u"){const vn=qe[Gt].bind(qe);qe[Gt]=(...gt)=>{vn(...gt),qt(this.elementRef)}}})}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(S.zZn),S.rXU(S.aKT))},Ge.\u0275dir=S.FsC({type:Ge,hostBindings:function(Fe,qe){1&Fe&&S.bIt("ionBlur",function(Gt){return qe._handleBlurEvent(Gt.target)})}}),Ge})();const qt=Ge=>{kt(()=>{const et=Ge.nativeElement,Fe=null!=et.value&&et.value.toString().length>0,qe=Qt(et);Tn(et,qe);const Ct=et.closest("ion-item");Ct&&Tn(Ct,Fe?[...qe,"item-has-value"]:qe)})},Qt=Ge=>{const et=Ge.classList,Fe=[];for(let qe=0;qe{const Fe=Ge.classList;Fe.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),Fe.add(...et)},wn=(Ge,et)=>Ge.substring(0,et.length)===et;class Kn{shouldDetach(et){return!1}shouldAttach(et){return!1}store(et,Fe){}retrieve(et){return null}shouldReuseRoute(et,Fe){if(et.routeConfig!==Fe.routeConfig)return!1;const qe=et.params,Ct=Fe.params,Gt=Object.keys(qe),vn=Object.keys(Ct);if(Gt.length!==vn.length)return!1;for(const gt of Gt)if(Ct[gt]!==qe[gt])return!1;return!0}}class fr{constructor(et){this.ctrl=et}create(et){return this.ctrl.create(et||{})}dismiss(et,Fe,qe){return this.ctrl.dismiss(et,Fe,qe)}getTop(){return this.ctrl.getTop()}}},8974:(Ce,ee,E)=>{"use strict";E.d(ee,{hG:()=>Ke,hB:()=>h,wH:()=>Yt,U1:()=>ae,Jm:()=>re,QW:()=>ne,b_:()=>G,I9:()=>ge,ME:()=>xt,tN:()=>rt,eY:()=>rn,ZB:()=>mt,hU:()=>ft,W9:()=>un,Q8:()=>Cn,YW:()=>St,M0:()=>bn,eU:()=>wt,iq:()=>Dn,Ax:()=>Lt,Hp:()=>Wt,$w:()=>Nt,uz:()=>Ot,he:()=>Me,nf:()=>Ze,oS:()=>Pe,Sb:()=>Ct,KO:()=>yt,f0:()=>vt,To:()=>Pt,Ki:()=>Rt,Rg:()=>Kn,ln:()=>Mn,w2:()=>jn,HP:()=>$e,Jq:()=>lt,qW:()=>Tt,p4:()=>fr,IO:()=>Mt,BC:()=>qt,ai:()=>wn,bv:()=>hr,Xi:()=>$t,_t:()=>an,W3:()=>ln,IE:()=>cn,uR:()=>y,Je:()=>d,Gw:()=>r,K_:()=>nn});var a=E(4438),S=E(9417),p=E(4517),O=E(1635),c=E(3726),D=E(177),C=E(3021),T=(E(3503),E(7555),E(4569),E(2942),E(405)),A=E(611),w=E(464),R=E(5384),$=E(5516),M=(E(8476),E(4363));E(8221),E(3113);var oe=E(467);const me=A.i,te=function(){var X=(0,oe.A)(function*(Ue,le){if(!(typeof window>"u"))return yield me(),(0,M.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"lang":["onLangChanged"],"dir":["onDirChanged"],"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"formatOptions":[16],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"formatOptions":["formatOptionsChanged"],"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"presentation":["presentationChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),le)});return function(le,Ye){return X.apply(this,arguments)}}(),se=["*"],g=["outlet"],n=[[["","slot","top"]],"*"],o=["[slot=top]","*"];function l(X,Ue){if(1&X&&(a.j41(0,"div",1),a.eu8(1,2),a.k0s()),2&X){const le=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",le.template)}}let h=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}writeValue(le){this.elementRef.nativeElement.checked=this.lastValue=le,(0,p.z3)(this.elementRef)}_handleIonChange(le){this.handleValueChange(le,le.checked)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionChange",function(Nn){return Ye._handleIonChange(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),y=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleIonSelect(le){this.handleValueChange(le,le.checked)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-radio"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionSelect",function(Nn){return Ye._handleIonSelect(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),d=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleChangeEvent(le){this.handleValueChange(le,le.value)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionChange",function(Nn){return Ye._handleChangeEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),r=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleInputEvent(le){this.handleValueChange(le,le.value)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionInput",function(Nn){return Ye._handleInputEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})();const f=(X,Ue)=>{const le=X.prototype;Ue.forEach(Ye=>{Object.defineProperty(le,Ye,{get(){return this.el[Ye]},set(_t){this.z.runOutsideAngular(()=>this.el[Ye]=_t)},configurable:!0})})},L=(X,Ue)=>{const le=X.prototype;Ue.forEach(Ye=>{le[Ye]=function(){const _t=arguments;return this.z.runOutsideAngular(()=>this.el[Ye].apply(this.el,_t))}})},I=(X,Ue,le)=>{le.forEach(Ye=>X[Ye]=(0,c.R)(Ue,Ye))};function J(X){return function(le){const{defineCustomElementFn:Ye,inputs:_t,methods:Nn}=X;return void 0!==Ye&&Ye(),_t&&f(le,_t),Nn&&L(le,Nn),le}}let ae=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-app"]],ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({})],X),X})(),re=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,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,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse"]})],X),X})(),G=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],X),X})(),ge=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["mode"]})],X),X})(),xt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","translucent"]})],X),X})(),rt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),rn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionChange","ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),mt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","disabled","mode","outline"]})],X),X})(),ft=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,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})(),un=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],X),X})(),Cn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],X),X})(),St=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],X),X})(),bn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse","mode","translucent"]})],X),X})(),wt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse","mode","translucent"]})],X),X})(),Dn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],X),X})(),Lt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionInfinite"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["disabled","position","threshold"],methods:["complete"]})],X),X})(),Wt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["loadingSpinner","loadingText"]})],X),X})(),Nt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,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,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],X),X})(),Me=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","position"]})],X),X})(),Ze=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],X),X})(),Pe=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],X),X})(),yt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),vt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionChange"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["allowEmptySelection","compareWith","name","value"]})],X),X})(),Pt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionRefresh","ionPull","ionStart"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],X),X})(),Rt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],X),X})(),Mn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-row"]],ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({})],X),X})(),jn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","duration","name","paused"]})],X),X})(),$e=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionSplitPaneVisible"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["contentId","disabled","when"]})],X),X})(),lt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","selectedTab","translucent"]})],X),X})(),Tt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],X),X})(),Mt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),qt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","size"]})],X),X})(),wn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),Kn=(()=>{class X extends p.Rg{constructor(le,Ye,_t,Nn,pr,wr,qr,Wr){super(le,Ye,_t,Nn,pr,wr,qr,Wr),this.parentOutlet=Wr}}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})(),fr=(()=>{class X extends p.p4{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tabs"]],contentQueries:function(le,Ye,_t){if(1&le&&(a.wni(_t,lt,5),a.wni(_t,lt,4)),2&le){let Nn;a.mGM(Nn=a.lsd())&&(Ye.tabBar=Nn.first),a.mGM(Nn=a.lsd())&&(Ye.tabBars=Nn)}},viewQuery:function(le,Ye){if(1&le&&a.GBs(g,5,Kn),2&le){let _t;a.mGM(_t=a.lsd())&&(Ye.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,Ye){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(pr){return a.eBV(_t),a.Njj(Ye.onStackWillChange(pr))})("stackDidChange",function(pr){return a.eBV(_t),a.Njj(Ye.onStackDidChange(pr))}),a.k0s()(),a.SdG(5,1)}},dependencies:[Kn],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),X})(),Ct=(()=>{class X extends p.Sb{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-modal"]],features:[a.Vt3],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(le,Ye){1&le&&a.DNE(0,l,2,1,"div",0),2&le&&a.Y8G("ngIf",Ye.isCmpOpen||Ye.keepContentsMounted)},dependencies:[D.bT,D.T3],encapsulation:2,changeDetection:0}),X})();const vn={provide:S.cz,useExisting:(0,a.Rfq)(()=>gt),multi:!0};let gt=(()=>{class X extends S.zX{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275dir=a.FsC({type:X,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(le,Ye){2&le&&a.BMQ("max",Ye._enabled?Ye.max:null)},features:[a.Jv_([vn]),a.Vt3]}),X})();const zt={provide:S.cz,useExisting:(0,a.Rfq)(()=>ye),multi:!0};let ye=(()=>{class X extends S.VZ{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275dir=a.FsC({type:X,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(le,Ye){2&le&&a.BMQ("min",Ye._enabled?Ye.min:null)},features:[a.Jv_([zt]),a.Vt3]}),X})(),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})(),Yt=(()=>{class X{constructor(le){this.zone=le}create(le,Ye=!1){return Ye&&Object.getOwnPropertyNames(le).forEach(_t=>{if("function"==typeof le[_t]){const Nn=le[_t];le[_t]=(...pr)=>this.zone.run(()=>Nn(...pr))}}),(0,T.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(R.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 cn extends p.Kb{constructor(){super($.c),this.angularDelegate=(0,a.WQX)(p.Yq),this.injector=(0,a.WQX)(a.zZn),this.environmentInjector=(0,a.WQX)(a.uvJ)}create(Ue){return super.create({...Ue,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let nn=(()=>{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 _n=(X,Ue,le)=>()=>{const Ye=Ue.defaultView;if(Ye&&typeof window<"u"){(0,w.s)({...X,_zoneGate:Nn=>le.run(Nn)});const _t="__zone_symbol__addEventListener"in Ue.body?"__zone_symbol__addEventListener":"addEventListener";return function W(){var X=[];if(typeof window<"u"){var Ue=window;(!Ue.customElements||Ue.Element&&(!Ue.Element.prototype.closest||!Ue.Element.prototype.matches||!Ue.Element.prototype.remove||!Ue.Element.prototype.getRootNode))&&X.push(E.e(7278).then(E.t.bind(E,2190,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||Ue.NodeList&&!Ue.NodeList.prototype.forEach||!Ue.fetch||!function(){try{var Ye=new URL("b","http://a");return Ye.pathname="c%20d","http://a/c%20d"===Ye.href&&Ye.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&X.push(E.e(9329).then(E.t.bind(E,7783,23)))}return Promise.all(X)}().then(()=>te(Ye,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:p.er,jmp:Nn=>le.runOutsideAngular(Nn),ael(Nn,pr,wr,qr){Nn[_t](pr,wr,qr)},rel(Nn,pr,wr,qr){Nn.removeEventListener(pr,wr,qr)}}))}};let hr=(()=>{class X{static forRoot(le){return{ngModule:X,providers:[{provide:p.sR,useValue:le},{provide:a.hnV,useFactory:_n,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,cn],imports:[D.MD]}),X})()},5402:(Ce,ee,E)=>{"use strict";E.d(ee,{Wr:()=>P,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),F=E(8750),B=E(1413),m=E(7707),T=E(9974);function w(j,J,...ie){if(!0===J)return void j();if(!1===J)return;const xe=new m.Ms({next:()=>{xe.unsubscribe(),j()}});return(0,F.Tg)(J(...ie)).subscribe(xe)}function R(j,J,ie){let xe,De=!1;return j&&"object"==typeof j?({bufferSize:xe=1/0,windowTime:J=1/0,refCount:De=!1,scheduler:ie}=j):xe=null!=j?j:1/0,function A(j={}){const{connector:J=(()=>new B.B),resetOnError:ie=!0,resetOnComplete:xe=!0,resetOnRefCountZero:De=!0}=j;return Q=>{let ae,tt,Oe,pe=0,Te=!1,Be=!1;const re=()=>{null==tt||tt.unsubscribe(),tt=void 0},ne=()=>{re(),ae=Oe=void 0,Te=Be=!1},G=()=>{const ge=ae;ne(),null==ge||ge.unsubscribe()};return(0,T.N)((ge,xt)=>{pe++,!Be&&!Te&&re();const Qe=Oe=null!=Oe?Oe:J();xt.add(()=>{pe--,0===pe&&!Be&&!Te&&(tt=w(G,De))}),Qe.subscribe(xt),!ae&&pe>0&&(ae=new m.Ms({next:rt=>Qe.next(rt),error:rt=>{Be=!0,re(),tt=w(ne,ie,rt),Qe.error(rt)},complete:()=>{Te=!0,re(),tt=w(ne,xe),Qe.complete()}}),(0,F.Tg)(ge).subscribe(ae))})(Q)}}({connector:()=>new _.m(xe,J,ie),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:De})}var $=E(6354),k=E(274),M=E(5558);class P{}let U=(()=>{class j extends P{getTranslation(ie){return(0,S.of)({})}}return j.\u0275fac=(()=>{let J;return function(xe){return(J||(J=a.xGo(j)))(xe||j)}})(),j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})();class V{}let W=(()=>{class j{handle(ie){return ie.key}}return j.\u0275fac=function(ie){return new(ie||j)},j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})();function oe(j,J){if(j===J)return!0;if(null===j||null===J)return!1;if(j!=j&&J!=J)return!0;let De,Q,ae,ie=typeof j;if(ie==typeof J&&"object"==ie){if(!Array.isArray(j)){if(Array.isArray(J))return!1;for(Q in ae=Object.create(null),j){if(!oe(j[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((De=j.length)==J.length){for(Q=0;Q{te(J[xe])?xe in j?ie[xe]=se(j[xe],J[xe]):Object.assign(ie,{[xe]:J[xe]}):Object.assign(ie,{[xe]:J[xe]})}),ie}class g{}let n=(()=>{class j extends g{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(ie,xe){let De;return De="string"==typeof ie?this.interpolateString(ie,xe):"function"==typeof ie?this.interpolateFunction(ie,xe):ie,De}getValue(ie,xe){let De="string"==typeof xe?xe.split("."):[xe];xe="";do{xe+=De.shift(),!me(ie)||!me(ie[xe])||"object"!=typeof ie[xe]&&De.length?De.length?xe+=".":ie=void 0:(ie=ie[xe],xe="")}while(De.length);return ie}interpolateFunction(ie,xe){return ie(xe)}interpolateString(ie,xe){return xe?ie.replace(this.templateMatcher,(De,Q)=>{let ae=this.getValue(xe,Q);return me(ae)?ae:De}):ie}}return j.\u0275fac=(()=>{let J;return function(xe){return(J||(J=a.xGo(j)))(xe||j)}})(),j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})();class o{}let l=(()=>{class j extends o{compile(ie,xe){return ie}compileTranslations(ie,xe){return ie}}return j.\u0275fac=(()=>{let J;return function(xe){return(J||(J=a.xGo(j)))(xe||j)}})(),j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})();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"),d=new a.nKC("USE_EXTEND");let r=(()=>{class j{constructor(ie,xe,De,Q,ae,tt=!0,Oe=!1,pe=!1,Te){this.store=ie,this.currentLoader=xe,this.compiler=De,this.parser=Q,this.missingTranslationHandler=ae,this.useDefaultLang=tt,this.isolate=Oe,this.extend=pe,this.pending=!1,this._onTranslationChange=new a.bkB,this._onLangChange=new a.bkB,this._onDefaultLangChange=new a.bkB,this._langs=[],this._translations={},this._translationRequests={},Te&&this.setDefaultLang(Te)}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(ie){this.isolate?this._defaultLang=ie:this.store.defaultLang=ie}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ie){this.isolate?this._currentLang=ie:this.store.currentLang=ie}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ie){this.isolate?this._langs=ie:this.store.langs=ie}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ie){this.isolate?this._translations=ie:this.store.translations=ie}setDefaultLang(ie){if(ie===this.defaultLang)return;let xe=this.retrieveTranslations(ie);typeof xe<"u"?(null==this.defaultLang&&(this.defaultLang=ie),xe.pipe((0,C.s)(1)).subscribe(De=>{this.changeDefaultLang(ie)})):this.changeDefaultLang(ie)}getDefaultLang(){return this.defaultLang}use(ie){if(ie===this.currentLang)return(0,S.of)(this.translations[ie]);let xe=this.retrieveTranslations(ie);return typeof xe<"u"?(this.currentLang||(this.currentLang=ie),xe.pipe((0,C.s)(1)).subscribe(De=>{this.changeLang(ie)}),xe):(this.changeLang(ie),(0,S.of)(this.translations[ie]))}retrieveTranslations(ie){let xe;return(typeof this.translations[ie]>"u"||this.extend)&&(this._translationRequests[ie]=this._translationRequests[ie]||this.getTranslation(ie),xe=this._translationRequests[ie]),xe}getTranslation(ie){this.pending=!0;const xe=this.currentLoader.getTranslation(ie).pipe(R(1),(0,C.s)(1));return this.loadingTranslations=xe.pipe((0,$.T)(De=>this.compiler.compileTranslations(De,ie)),R(1),(0,C.s)(1)),this.loadingTranslations.subscribe({next:De=>{this.translations[ie]=this.extend&&this.translations[ie]?{...De,...this.translations[ie]}:De,this.updateLangs(),this.pending=!1},error:De=>{this.pending=!1}}),xe}setTranslation(ie,xe,De=!1){xe=this.compiler.compileTranslations(xe,ie),this.translations[ie]=(De||this.extend)&&this.translations[ie]?se(this.translations[ie],xe):xe,this.updateLangs(),this.onTranslationChange.emit({lang:ie,translations:this.translations[ie]})}getLangs(){return this.langs}addLangs(ie){ie.forEach(xe=>{-1===this.langs.indexOf(xe)&&this.langs.push(xe)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ie,xe,De){let Q;if(xe instanceof Array){let ae={},tt=!1;for(let Oe of xe)ae[Oe]=this.getParsedResult(ie,Oe,De),(0,p.A)(ae[Oe])&&(tt=!0);if(tt){const Oe=xe.map(pe=>(0,p.A)(ae[pe])?ae[pe]:(0,S.of)(ae[pe]));return(0,O.p)(Oe).pipe((0,$.T)(pe=>{let Te={};return pe.forEach((Be,re)=>{Te[xe[re]]=Be}),Te}))}return ae}if(ie&&(Q=this.parser.interpolate(this.parser.getValue(ie,xe),De)),typeof Q>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Q=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],xe),De)),typeof Q>"u"){let ae={key:xe,translateService:this};typeof De<"u"&&(ae.interpolateParams=De),Q=this.missingTranslationHandler.handle(ae)}return typeof Q<"u"?Q:xe}get(ie,xe){if(!me(ie)||!ie.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,k.H)(De=>(De=this.getParsedResult(De,ie,xe),(0,p.A)(De)?De:(0,S.of)(De))));{let De=this.getParsedResult(this.translations[this.currentLang],ie,xe);return(0,p.A)(De)?De:(0,S.of)(De)}}getStreamOnTranslationChange(ie,xe){if(!me(ie)||!ie.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(ie,xe)),this.onTranslationChange.pipe((0,M.n)(De=>{const Q=this.getParsedResult(De.translations,ie,xe);return"function"==typeof Q.subscribe?Q:(0,S.of)(Q)})))}stream(ie,xe){if(!me(ie)||!ie.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(ie,xe)),this.onLangChange.pipe((0,M.n)(De=>{const Q=this.getParsedResult(De.translations,ie,xe);return(0,p.A)(Q)?Q:(0,S.of)(Q)})))}instant(ie,xe){if(!me(ie)||!ie.length)throw new Error('Parameter "key" required');let De=this.getParsedResult(this.translations[this.currentLang],ie,xe);if((0,p.A)(De)){if(ie instanceof Array){let Q={};return ie.forEach((ae,tt)=>{Q[ie[tt]]=ie[tt]}),Q}return ie}return De}set(ie,xe,De=this.currentLang){this.translations[De][ie]=this.compiler.compile(xe,De),this.updateLangs(),this.onTranslationChange.emit({lang:De,translations:this.translations[De]})}changeLang(ie){this.currentLang=ie,this.onLangChange.emit({lang:ie,translations:this.translations[ie]}),null==this.defaultLang&&this.changeDefaultLang(ie)}changeDefaultLang(ie){this.defaultLang=ie,this.onDefaultLangChange.emit({lang:ie,translations:this.translations[ie]})}reloadLang(ie){return this.resetLang(ie),this.getTranslation(ie)}resetLang(ie){this._translationRequests[ie]=void 0,this.translations[ie]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ie=window.navigator.languages?window.navigator.languages[0]:null;return ie=ie||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof ie>"u"?void 0:(-1!==ie.indexOf("-")&&(ie=ie.split("-")[0]),-1!==ie.indexOf("_")&&(ie=ie.split("_")[0]),ie)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ie=window.navigator.languages?window.navigator.languages[0]:null;return ie=ie||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ie}}return j.\u0275fac=function(ie){return new(ie||j)(a.KVO(s),a.KVO(P),a.KVO(o),a.KVO(g),a.KVO(V),a.KVO(v),a.KVO(h),a.KVO(d),a.KVO(y))},j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})(),L=(()=>{class j{constructor(ie,xe){this.translate=ie,this._ref=xe,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(ie,xe,De){let Q=ae=>{this.value=void 0!==ae?ae:ie,this.lastKey=ie,this._ref.markForCheck()};if(De){let ae=this.translate.getParsedResult(De,ie,xe);(0,p.A)(ae.subscribe)?ae.subscribe(Q):Q(ae)}this.translate.get(ie,xe).subscribe(Q)}transform(ie,...xe){if(!ie||!ie.length)return ie;if(oe(ie,this.lastKey)&&oe(xe,this.lastParams))return this.value;let De;if(me(xe[0])&&xe.length)if("string"==typeof xe[0]&&xe[0].length){let Q=xe[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{De=JSON.parse(Q)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${xe[0]}`)}}else"object"==typeof xe[0]&&!Array.isArray(xe[0])&&(De=xe[0]);return this.lastKey=ie,this.lastParams=xe,this.updateValue(ie,De),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Q=>{this.lastKey&&Q.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ie,De,Q.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Q=>{this.lastKey&&(this.lastKey=null,this.updateValue(ie,De,Q.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ie,De))})),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 j.\u0275fac=function(ie){return new(ie||j)(a.rXU(r,16),a.rXU(a.gRc,16))},j.\u0275pipe=a.EJ8({name:"translate",type:j,pure:!1}),j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})(),I=(()=>{class j{static forRoot(ie={}){return{ngModule:j,providers:[ie.loader||{provide:P,useClass:U},ie.compiler||{provide:o,useClass:l},ie.parser||{provide:g,useClass:n},ie.missingTranslationHandler||{provide:V,useClass:W},s,{provide:h,useValue:ie.isolate},{provide:v,useValue:ie.useDefaultLang},{provide:d,useValue:ie.extend},{provide:y,useValue:ie.defaultLanguage},r]}}static forChild(ie={}){return{ngModule:j,providers:[ie.loader||{provide:P,useClass:U},ie.compiler||{provide:o,useClass:l},ie.parser||{provide:g,useClass:n},ie.missingTranslationHandler||{provide:V,useClass:W},{provide:h,useValue:ie.isolate},{provide:v,useValue:ie.useDefaultLang},{provide:d,useValue:ie.extend},{provide:y,useValue:ie.defaultLanguage},r]}}}return j.\u0275fac=function(ie){return new(ie||j)},j.\u0275mod=a.$C({type:j}),j.\u0275inj=a.G2t({}),j})()},467:(Ce,ee,E)=>{"use strict";function a(p,O,c,D,C,_,F){try{var B=p[_](F),m=B.value}catch(T){return void c(T)}B.done?O(m):Promise.resolve(m).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 F(m){a(_,D,C,F,B,"next",m)}function B(m){a(_,D,C,F,B,"throw",m)}F(void 0)})}}E.d(ee,{A:()=>S})},1635:(Ce,ee,E)=>{"use strict";E.d(ee,{AQ:()=>W,C6:()=>S,Cg:()=>c,N3:()=>V,sH:()=>T,xN:()=>me});var a=function(r,f){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,I){L.__proto__=I}||function(L,I){for(var j in I)Object.prototype.hasOwnProperty.call(I,j)&&(L[j]=I[j])})(r,f)};function S(r,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function L(){this.constructor=r}a(r,f),r.prototype=null===f?Object.create(f):(L.prototype=f.prototype,new L)}function c(r,f,L,I){var ie,j=arguments.length,J=j<3?f:null===I?I=Object.getOwnPropertyDescriptor(f,L):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)J=Reflect.decorate(r,f,L,I);else for(var xe=r.length-1;xe>=0;xe--)(ie=r[xe])&&(J=(j<3?ie(J):j>3?ie(f,L,J):ie(f,L))||J);return j>3&&J&&Object.defineProperty(f,L,J),J}function T(r,f,L,I){return new(L||(L=Promise))(function(J,ie){function xe(ae){try{Q(I.next(ae))}catch(tt){ie(tt)}}function De(ae){try{Q(I.throw(ae))}catch(tt){ie(tt)}}function Q(ae){ae.done?J(ae.value):function j(J){return J instanceof L?J:new L(function(ie){ie(J)})}(ae.value).then(xe,De)}Q((I=I.apply(r,f||[])).next())})}function V(r){return this instanceof V?(this.v=r,this):new V(r)}function W(r,f,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j,I=L.apply(r,f||[]),J=[];return j={},ie("next"),ie("throw"),ie("return"),j[Symbol.asyncIterator]=function(){return this},j;function ie(Oe){I[Oe]&&(j[Oe]=function(pe){return new Promise(function(Te,Be){J.push([Oe,pe,Te,Be])>1||xe(Oe,pe)})})}function xe(Oe,pe){try{!function De(Oe){Oe.value instanceof V?Promise.resolve(Oe.value.v).then(Q,ae):tt(J[0][2],Oe)}(I[Oe](pe))}catch(Te){tt(J[0][3],Te)}}function Q(Oe){xe("next",Oe)}function ae(Oe){xe("throw",Oe)}function tt(Oe,pe){Oe(pe),J.shift(),J.length&&xe(J[0][0],J[0][1])}}function me(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,f=r[Symbol.asyncIterator];return f?f.call(r):(r=function $(r){var f="function"==typeof Symbol&&Symbol.iterator,L=f&&r[f],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(f?"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(ie){return new Promise(function(xe,De){!function j(J,ie,xe,De){Promise.resolve(De).then(function(Q){J({value:Q,done:xe})},ie)}(xe,De,(ie=r[J](ie)).done,ie.value)})}}}"function"==typeof SuppressedError&&SuppressedError},3219:Ce=>{"use strict";Ce.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2951:Ce=>{"use strict";Ce.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},4589:Ce=>{"use strict";Ce.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3241:Ce=>{"use strict";Ce.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636:Ce=>{"use strict";Ce.exports={rE:"6.5.5"}},5579:Ce=>{"use strict";Ce.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},Ce=>{Ce(Ce.s=6313)}]); \ No newline at end of file diff --git a/www/main.f31538c0cf323df4.js b/www/main.f31538c0cf323df4.js new file mode 100644 index 0000000..9d375c5 --- /dev/null +++ b/www/main.f31538c0cf323df4.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{8941:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>S});const S=(0,E(5083).F3)("App",{web:()=>E.e(9303).then(E.bind(E,9303)).then(p=>new p.AppWeb)})},5083:(Ce,ee,E)=>{"use strict";E.d(ee,{EA:()=>se,E_:()=>k,F3:()=>w,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 F extends Error{constructor(l,s,h){super(l),this.message=l,this.code=s,this.data=h}}const m=o=>{var l,s,h,v,y;const d=o.CapacitorCustomPlatform||null,r=o.Capacitor||{},f=r.Plugins=r.Plugins||{},L=o.CapacitorPlatforms,j=(null===(l=null==L?void 0:L.currentPlatform)||void 0===l?void 0:l.getPlatform)||(()=>null!==d?d.name:(o=>{var l,s;return null!=o&&o.androidBridge?"android":null!==(s=null===(l=null==o?void 0:o.webkit)||void 0===l?void 0:l.messageHandlers)&&void 0!==s&&s.bridge?"ios":"web"})(o)),ie=(null===(s=null==L?void 0:L.currentPlatform)||void 0===s?void 0:s.isNativePlatform)||(()=>"web"!==j()),De=(null===(h=null==L?void 0:L.currentPlatform)||void 0===h?void 0:h.isPluginAvailable)||(re=>{const ne=xe.get(re);return!!(null!=ne&&ne.platforms.has(j())||ae(re))}),ae=(null===(v=null==L?void 0:L.currentPlatform)||void 0===v?void 0:v.getPluginHeader)||(re=>{var ne;return null===(ne=r.PluginHeaders)||void 0===ne?void 0:ne.find(G=>G.name===re)}),xe=new Map,Be=(null===(y=null==L?void 0:L.currentPlatform)||void 0===y?void 0:y.registerPlugin)||((re,ne={})=>{const G=xe.get(re);if(G)return console.warn(`Capacitor plugin "${re}" already registered. Cannot register plugins twice.`),G.proxy;const ge=j(),xt=ae(re);let Qe;const rt=function(){var Cn=(0,a.A)(function*(){return!Qe&&ge in ne?Qe=Qe="function"==typeof ne[ge]?yield ne[ge]():ne[ge]:null!==d&&!Qe&&"web"in ne&&(Qe=Qe="function"==typeof ne.web?yield ne.web():ne.web),Qe});return function(){return Cn.apply(this,arguments)}}(),mt=Cn=>{let St;const Ft=(...bn)=>{const bt=rt().then(wt=>{const Dn=((Cn,St)=>{var Ft,bn;if(!xt){if(Cn)return null===(bn=Cn[St])||void 0===bn?void 0:bn.bind(Cn);throw new F(`"${re}" plugin is not implemented on ${ge}`,_.Unimplemented)}{const bt=null==xt?void 0:xt.methods.find(wt=>St===wt.name);if(bt)return"promise"===bt.rtype?wt=>r.nativePromise(re,St.toString(),wt):(wt,Dn)=>r.nativeCallback(re,St.toString(),wt,Dn);if(Cn)return null===(Ft=Cn[St])||void 0===Ft?void 0:Ft.bind(Cn)}})(wt,Cn);if(Dn){const Bt=Dn(...bn);return St=null==Bt?void 0:Bt.remove,Bt}throw new F(`"${re}.${Cn}()" is not implemented on ${ge}`,_.Unimplemented)});return"addListener"===Cn&&(bt.remove=(0,a.A)(function*(){return St()})),bt};return Ft.toString=()=>`${Cn.toString()}() { [capacitor code] }`,Object.defineProperty(Ft,"name",{value:Cn,writable:!1,configurable:!1}),Ft},ft=mt("addListener"),un=mt("removeListener"),At=(Cn,St)=>{const Ft=ft({eventName:Cn},St),bn=function(){var wt=(0,a.A)(function*(){const Dn=yield Ft;un({eventName:Cn,callbackId:Dn},St)});return function(){return wt.apply(this,arguments)}}(),bt=new Promise(wt=>Ft.then(()=>wt({remove:bn})));return bt.remove=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield bn()}),bt},It=new Proxy({},{get(Cn,St){switch(St){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return xt?At:ft;case"removeListener":return un;default:return mt(St)}}});return f[re]=It,xe.set(re,{name:re,proxy:It,platforms:new Set([...Object.keys(ne),...xt?[ge]:[]])}),It});return r.convertFileSrc||(r.convertFileSrc=re=>re),r.getPlatform=j,r.handleError=re=>o.console.error(re),r.isNativePlatform=ie,r.isPluginAvailable=De,r.pluginMethodNoop=(re,ne,G)=>Promise.reject(`${G} does not have an implementation of "${ne}".`),r.registerPlugin=Be,r.Exception=F,r.DEBUG=!!r.DEBUG,r.isLoggingEnabled=!!r.isLoggingEnabled,r.platform=r.getPlatform(),r.isNative=r.isNativePlatform(),r},A=(o=>o.Capacitor=m(o))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),w=A.registerPlugin;class k{constructor(l){this.listeners={},this.windowListeners={},l&&(console.warn(`Capacitor WebPlugin "${l.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=l)}addListener(l,s){var h=this;this.listeners[l]||(this.listeners[l]=[]),this.listeners[l].push(s);const y=this.windowListeners[l];y&&!y.registered&&this.addWindowListener(y);const d=function(){var f=(0,a.A)(function*(){return h.removeListener(l,s)});return function(){return f.apply(this,arguments)}}(),r=Promise.resolve({remove:d});return Object.defineProperty(r,"remove",{value:(f=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield d()}),function(){return f.apply(this,arguments)})}),r;var f}removeAllListeners(){var l=this;return(0,a.A)(function*(){l.listeners={};for(const s in l.windowListeners)l.removeWindowListener(l.windowListeners[s]);l.windowListeners={}})()}notifyListeners(l,s){const h=this.listeners[l];h&&h.forEach(v=>v(s))}hasListeners(l){return!!this.listeners[l].length}registerWindowListener(l,s){this.windowListeners[s]={registered:!1,windowEventName:l,pluginEventName:s,handler:h=>{this.notifyListeners(s,h)}}}unimplemented(l="not implemented"){return new A.Exception(l,_.Unimplemented)}unavailable(l="not available"){return new A.Exception(l,_.Unavailable)}removeListener(l,s){var h=this;return(0,a.A)(function*(){const v=h.listeners[l];if(!v)return;const y=v.indexOf(s);h.listeners[l].splice(y,1),h.listeners[l].length||h.removeWindowListener(h.windowListeners[l])})()}addWindowListener(l){window.addEventListener(l.windowEventName,l.handler),l.registered=!0}removeWindowListener(l){l&&(window.removeEventListener(l.windowEventName,l.handler),l.registered=!1)}}const P=o=>encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),U=o=>o.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class V extends k{getCookies(){return(0,a.A)(function*(){const l=document.cookie,s={};return l.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(l){return(0,a.A)(function*(){try{const s=P(l.key),h=P(l.value),v=`; expires=${(l.expires||"").replace("expires=","")}`,y=(l.path||"/").replace("path=",""),d=null!=l.url&&l.url.length>0?`domain=${l.url}`:"";document.cookie=`${s}=${h||""}${v}; path=${y}; ${d};`}catch(s){return Promise.reject(s)}})()}deleteCookie(l){return(0,a.A)(function*(){try{document.cookie=`${l.key}=; Max-Age=0`}catch(s){return Promise.reject(s)}})()}clearCookies(){return(0,a.A)(function*(){try{const l=document.cookie.split(";")||[];for(const s of l)document.cookie=s.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(l){return Promise.reject(l)}})()}clearAllCookies(){var l=this;return(0,a.A)(function*(){try{yield l.clearCookies()}catch(s){return Promise.reject(s)}})()}}w("CapacitorCookies",{web:()=>new V});const oe=function(){var o=(0,a.A)(function*(l){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(l)})});return function(s){return o.apply(this,arguments)}}(),se=(o,l={})=>{const s=Object.assign({method:o.method||"GET",headers:o.headers},l),v=((o={})=>{const l=Object.keys(o);return Object.keys(o).map(v=>v.toLocaleLowerCase()).reduce((v,y,d)=>(v[y]=o[l[d]],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[d,r]of Object.entries(o.data||{}))y.set(d,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,f)=>{y.append(f,r)});else for(const r of Object.keys(o.data))y.append(r,o.data[r]);s.body=y;const d=new Headers(s.headers);d.delete("content-type"),s.headers=d}else(v.includes("application/json")||"object"==typeof o.data)&&(s.body=JSON.stringify(o.data));return s};class g extends k{request(l){return(0,a.A)(function*(){const s=se(l,l.webFetchExtra),h=((o,l=!0)=>o?Object.entries(o).reduce((h,v)=>{const[y,d]=v;let r,f;return Array.isArray(d)?(f="",d.forEach(L=>{r=l?encodeURIComponent(L):L,f+=`${y}=${r}&`}),f.slice(0,-1)):(r=l?encodeURIComponent(d):d,f=`${y}=${r}`),`${h}&${f}`},"").substr(1):null)(l.params,l.shouldEncodeUrlParams),v=h?`${l.url}?${h}`:l.url,y=yield fetch(v,s),d=y.headers.get("content-type")||"";let f,L,{responseType:r="text"}=y.ok?l:{};switch(d.includes("application/json")&&(r="json"),r){case"arraybuffer":case"blob":L=yield y.blob(),f=yield oe(L);break;case"json":f=yield y.json();break;default:f=yield y.text()}const I={};return y.headers.forEach((j,J)=>{I[J]=j}),{data:f,headers:I,status:y.status,url:y.url}})()}get(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"GET"}))})()}post(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"POST"}))})()}put(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"PUT"}))})()}patch(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"PATCH"}))})()}delete(l){var s=this;return(0,a.A)(function*(){return s.request(Object.assign(Object.assign({},l),{method:"DELETE"}))})()}}const n=w("CapacitorHttp",{web:()=>new g})},9316:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>S});const S=(0,E(5083).F3)("Device",{web:()=>E.e(8622).then(E.bind(E,8622)).then(p=>new p.DeviceWeb)})},1889:(Ce,ee,E)=>{"use strict";E.d(ee,{Wi:()=>S,__:()=>a});var a=function(c){return c.Documents="DOCUMENTS",c.Data="DATA",c.Library="LIBRARY",c.Cache="CACHE",c.External="EXTERNAL",c.ExternalStorage="EXTERNAL_STORAGE",c}(a||{}),S=function(c){return c.UTF8="utf8",c.ASCII="ascii",c.UTF16="utf16",c}(S||{})},2739:(Ce,ee,E)=>{"use strict";E.d(ee,{YA:()=>p,__:()=>S.__});var a=E(5083),S=E(1889);const p=(0,a.F3)("Filesystem",{web:()=>E.e(2937).then(E.bind(E,2937)).then(O=>new O.FilesystemWeb)})},9182:(Ce,ee,E)=>{"use strict";E.d(ee,{_n:()=>S,kn:()=>a});var a=function(c){return c.Heavy="HEAVY",c.Medium="MEDIUM",c.Light="LIGHT",c}(a||{}),S=function(c){return c.Success="SUCCESS",c.Warning="WARNING",c.Error="ERROR",c}(S||{})},6598:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=(0,E(5083).F3)("Network",{web:()=>E.e(3780).then(E.bind(E,3780)).then(p=>new p.NetworkWeb)})},1656:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>p,r:()=>m});const p=(te,se)=>{te.componentOnReady?te.componentOnReady().then(g=>se(g)):m(()=>se(te))},m=te=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(te):"function"==typeof requestAnimationFrame?requestAnimationFrame(te):setTimeout(te)},6031:(Ce,ee,E)=>{"use strict";E.d(ee,{L:()=>a,a:()=>S,b:()=>p,c:()=>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:(Ce,ee,E)=>{"use strict";E.d(ee,{c:()=>$});var a=E(8476),S=E(5638);let p;const c=k=>k.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),D=k=>(void 0===p&&(p=void 0===k.style.animationName&&void 0!==k.style.webkitAnimationName?"-webkit-":""),p),C=(k,M,P)=>{const U=M.startsWith("animation")?D(k):"";k.style.setProperty(U+M,P)},_=(k,M)=>{const P=M.startsWith("animation")?D(k):"";k.style.removeProperty(P+M)},m=[],R=(k=[],M)=>{if(void 0!==M){const P=Array.isArray(M)?M:[M];return[...k,...P]}return k},$=k=>{let M,P,U,V,W,oe,n,r,f,L,I,pe,De,me=[],te=[],se=[],g=!1,o={},l=[],s=[],h={},v=0,y=!1,d=!1,j=!0,J=!1,ie=!0,Q=!1;const ae=k,qe=[],Oe=[],xe=[],Te=[],Be=[],re=[],ne=[],G=[],ge=[],xt=[],Qe=[],rt="function"==typeof AnimationEffect||void 0!==a.w&&"function"==typeof a.w.AnimationEffect,rn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&rt,ft=()=>Qe,St=(gt,zt)=>{const ye=zt.findIndex(Ke=>Ke.c===gt);ye>-1&&zt.splice(ye,1)},bn=(gt,zt)=>((null!=zt&&zt.oneTimeCallback?Oe:qe).push({c:gt,o:zt}),De),wt=()=>{if(rn)Qe.forEach(gt=>{gt.cancel()}),Qe.length=0;else{const gt=Te.slice();(0,S.r)(()=>{gt.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")})})}},Dn=()=>{re.forEach(gt=>{null!=gt&>.parentNode&>.parentNode.removeChild(gt)}),re.length=0},je=()=>void 0!==W?W:n?n.getFill():"both",it=()=>void 0!==f?f:void 0!==oe?oe:n?n.getDirection():"normal",Pe=()=>y?"linear":void 0!==U?U:n?n.getEasing():"linear",Se=()=>d?0:void 0!==L?L:void 0!==P?P:n?n.getDuration():0,ze=()=>void 0!==V?V:n?n.getIterations():1,Et=()=>void 0!==I?I:void 0!==M?M:n?n.getDelay():0,Fn=()=>{0!==v&&(v--,0===v&&((()=>{wn(),ge.forEach(dt=>dt()),xt.forEach(dt=>dt());const gt=j?1:0,zt=l,ye=s,Ke=h;Te.forEach(dt=>{const pt=dt.classList;zt.forEach(Yt=>pt.add(Yt)),ye.forEach(Yt=>pt.remove(Yt));for(const Yt in Ke)Ke.hasOwnProperty(Yt)&&C(dt,Yt,Ke[Yt])}),L=void 0,f=void 0,I=void 0,qe.forEach(dt=>dt.c(gt,De)),Oe.forEach(dt=>dt.c(gt,De)),Oe.length=0,ie=!0,j&&(J=!0),j=!0})(),n&&n.animationFinish()))},kn=(gt=!0)=>{Dn();const zt=(k=>(k.forEach(M=>{for(const P in M)if(M.hasOwnProperty(P)){const U=M[P];if("easing"===P)M["animation-timing-function"]=U,delete M[P];else{const V=c(P);V!==P&&(M[V]=U,delete M[P])}}}),k))(me);Te.forEach(ye=>{if(zt.length>0){const Ke=((k=[])=>k.map(M=>{const P=M.offset,U=[];for(const V in M)M.hasOwnProperty(V)&&"offset"!==V&&U.push(`${V}: ${M[V]};`);return`${100*P}% { ${U.join(" ")} }`}).join(" "))(zt);pe=void 0!==k?k:(k=>{let M=m.indexOf(k);return M<0&&(M=m.push(k)-1),`ion-animation-${M}`})(Ke);const dt=((k,M,P)=>{var U;const V=(k=>{const M=void 0!==k.getRootNode?k.getRootNode():k;return M.head||M})(P),W=D(P),oe=V.querySelector("#"+k);if(oe)return oe;const me=(null!==(U=P.ownerDocument)&&void 0!==U?U:document).createElement("style");return me.id=k,me.textContent=`@${W}keyframes ${k} { ${M} } @${W}keyframes ${k}-alt { ${M} }`,V.appendChild(me),me})(pe,Ke,ye);re.push(dt),C(ye,"animation-duration",`${Se()}ms`),C(ye,"animation-timing-function",Pe()),C(ye,"animation-delay",`${Et()}ms`),C(ye,"animation-fill-mode",je()),C(ye,"animation-direction",it());const pt=ze()===1/0?"infinite":ze().toString();C(ye,"animation-iteration-count",pt),C(ye,"animation-play-state","paused"),gt&&C(ye,"animation-name",`${dt.id}-alt`),(0,S.r)(()=>{C(ye,"animation-name",dt.id||null)})}})},Xn=(gt=!0)=>{(()=>{ne.forEach(Ke=>Ke()),G.forEach(Ke=>Ke());const gt=te,zt=se,ye=o;Te.forEach(Ke=>{const dt=Ke.classList;gt.forEach(pt=>dt.add(pt)),zt.forEach(pt=>dt.remove(pt));for(const pt in ye)ye.hasOwnProperty(pt)&&C(Ke,pt,ye[pt])})})(),me.length>0&&(rn?(Te.forEach(gt=>{const zt=gt.animate(me,{id:ae,delay:Et(),duration:Se(),easing:Pe(),iterations:ze(),fill:je(),direction:it()});zt.pause(),Qe.push(zt)}),Qe.length>0&&(Qe[0].onfinish=()=>{Fn()})):kn(gt)),g=!0},jn=gt=>{if(gt=Math.min(Math.max(gt,0),.9999),rn)Qe.forEach(zt=>{zt.currentTime=zt.effect.getComputedTiming().delay+Se()*gt,zt.pause()});else{const zt=`-${Se()*gt}ms`;Te.forEach(ye=>{me.length>0&&(C(ye,"animation-delay",zt),C(ye,"animation-play-state","paused"))})}},$e=gt=>{Qe.forEach(zt=>{zt.effect.updateTiming({delay:Et(),duration:Se(),easing:Pe(),iterations:ze(),fill:je(),direction:it()})}),void 0!==gt&&jn(gt)},lt=(gt=!0,zt)=>{(0,S.r)(()=>{Te.forEach(ye=>{C(ye,"animation-name",pe||null),C(ye,"animation-duration",`${Se()}ms`),C(ye,"animation-timing-function",Pe()),C(ye,"animation-delay",void 0!==zt?`-${zt*Se()}ms`:`${Et()}ms`),C(ye,"animation-fill-mode",je()||null),C(ye,"animation-direction",it()||null);const Ke=ze()===1/0?"infinite":ze().toString();C(ye,"animation-iteration-count",Ke),gt&&C(ye,"animation-name",`${pe}-alt`),(0,S.r)(()=>{C(ye,"animation-name",pe||null)})})})},Tt=(gt=!1,zt=!0,ye)=>(gt&&Be.forEach(Ke=>{Ke.update(gt,zt,ye)}),rn?$e(ye):lt(zt,ye),De),qt=()=>{g&&(rn?Qe.forEach(gt=>{gt.pause()}):Te.forEach(gt=>{C(gt,"animation-play-state","paused")}),Q=!0)},Tn=()=>{r=void 0,Fn()},wn=()=>{r&&clearTimeout(r)},Fe=gt=>new Promise(zt=>{null!=gt&>.sync&&(d=!0,bn(()=>d=!1,{oneTimeCallback:!0})),g||Xn(),J&&(rn?(jn(0),$e()):lt(),J=!1),ie&&(v=Be.length+1,ie=!1);const ye=()=>{St(Ke,Oe),zt()},Ke=()=>{St(ye,xe),zt()};bn(Ke,{oneTimeCallback:!0}),((gt,zt)=>{xe.push({c:gt,o:{oneTimeCallback:!0}})})(ye),Be.forEach(dt=>{dt.play()}),rn?(Qe.forEach(gt=>{gt.play()}),(0===me.length||0===Te.length)&&Fn()):(()=>{if(wn(),(0,S.r)(()=>{Te.forEach(gt=>{me.length>0&&C(gt,"animation-play-state","running")})}),0===me.length||0===Te.length)Fn();else{const gt=Et()||0,zt=Se()||0,ye=ze()||1;isFinite(ye)&&(r=setTimeout(Tn,gt+zt*ye+100)),((k,M)=>{let P;const U={passive:!0},W=oe=>{k===oe.target&&(P&&P(),wn(),(0,S.r)(()=>{Te.forEach(gt=>{_(gt,"animation-duration"),_(gt,"animation-delay"),_(gt,"animation-play-state")}),(0,S.r)(Fn)}))};k&&(k.addEventListener("webkitAnimationEnd",W,U),k.addEventListener("animationend",W,U),P=()=>{k.removeEventListener("webkitAnimationEnd",W,U),k.removeEventListener("animationend",W,U)})})(Te[0])}})(),Q=!1}),Ct=(gt,zt)=>{const ye=me[0];return void 0===ye||void 0!==ye.offset&&0!==ye.offset?me=[{offset:0,[gt]:zt},...me]:ye[gt]=zt,De};return De={parentAnimation:n,elements:Te,childAnimations:Be,id:ae,animationFinish:Fn,from:Ct,to:(gt,zt)=>{const ye=me[me.length-1];return void 0===ye||void 0!==ye.offset&&1!==ye.offset?me=[...me,{offset:1,[gt]:zt}]:ye[gt]=zt,De},fromTo:(gt,zt,ye)=>Ct(gt,zt).to(gt,ye),parent:gt=>(n=gt,De),play:Fe,pause:()=>(Be.forEach(gt=>{gt.pause()}),qt(),De),stop:()=>{Be.forEach(gt=>{gt.stop()}),g&&(wt(),g=!1),y=!1,d=!1,ie=!0,f=void 0,L=void 0,I=void 0,v=0,J=!1,j=!0,Q=!1,xe.forEach(gt=>gt.c(0,De)),xe.length=0},destroy:gt=>(Be.forEach(zt=>{zt.destroy(gt)}),(gt=>{wt(),gt&&Dn()})(gt),Te.length=0,Be.length=0,me.length=0,qe.length=0,Oe.length=0,g=!1,ie=!0,De),keyframes:gt=>{const zt=me!==gt;return me=gt,zt&&(gt=>{rn?ft().forEach(zt=>{const ye=zt.effect;if(ye.setKeyframes)ye.setKeyframes(gt);else{const Ke=new KeyframeEffect(ye.target,gt,ye.getTiming());zt.effect=Ke}}):kn()})(me),De},addAnimation:gt=>{if(null!=gt)if(Array.isArray(gt))for(const zt of gt)zt.parent(De),Be.push(zt);else gt.parent(De),Be.push(gt);return De},addElement:gt=>{if(null!=gt)if(1===gt.nodeType)Te.push(gt);else if(gt.length>=0)for(let zt=0;zt(W=gt,Tt(!0),De),direction:gt=>(oe=gt,Tt(!0),De),iterations:gt=>(V=gt,Tt(!0),De),duration:gt=>(!rn&&0===gt&&(gt=1),P=gt,Tt(!0),De),easing:gt=>(U=gt,Tt(!0),De),delay:gt=>(M=gt,Tt(!0),De),getWebAnimations:ft,getKeyframes:()=>me,getFill:je,getDirection:it,getDelay:Et,getIterations:ze,getEasing:Pe,getDuration:Se,afterAddRead:gt=>(ge.push(gt),De),afterAddWrite:gt=>(xt.push(gt),De),afterClearStyles:(gt=[])=>{for(const zt of gt)h[zt]="";return De},afterStyles:(gt={})=>(h=gt,De),afterRemoveClass:gt=>(s=R(s,gt),De),afterAddClass:gt=>(l=R(l,gt),De),beforeAddRead:gt=>(ne.push(gt),De),beforeAddWrite:gt=>(G.push(gt),De),beforeClearStyles:(gt=[])=>{for(const zt of gt)o[zt]="";return De},beforeStyles:(gt={})=>(o=gt,De),beforeRemoveClass:gt=>(se=R(se,gt),De),beforeAddClass:gt=>(te=R(te,gt),De),onFinish:bn,isRunning:()=>0!==v&&!Q,progressStart:(gt=!1,zt)=>(Be.forEach(ye=>{ye.progressStart(gt,zt)}),qt(),y=gt,g||Xn(),Tt(!1,!0,zt),De),progressStep:gt=>(Be.forEach(zt=>{zt.progressStep(gt)}),jn(gt),De),progressEnd:(gt,zt,ye)=>(y=!1,Be.forEach(Ke=>{Ke.progressEnd(gt,zt,ye)}),void 0!==ye&&(L=ye),J=!1,j=!0,0===gt?(f="reverse"===it()?"normal":"reverse","reverse"===f&&(j=!1),rn?(Tt(),jn(1-zt)):(I=(1-zt)*Se()*-1,Tt(!1,!1))):1===gt&&(rn?(Tt(),jn(zt)):(I=zt*Se()*-1,Tt(!1,!1))),void 0!==gt&&!n&&Fe(),De)}}},464:(Ce,ee,E)=>{"use strict";E.d(ee,{E:()=>B,a:()=>a,s:()=>_});const a=m=>{try{if(m instanceof C)return m.value;if(!O()||"string"!=typeof m||""===m)return m;if(m.includes("onload="))return"";const T=document.createDocumentFragment(),A=document.createElement("div");T.appendChild(A),A.innerHTML=m,D.forEach(k=>{const M=T.querySelectorAll(k);for(let P=M.length-1;P>=0;P--){const U=M[P];U.parentNode?U.parentNode.removeChild(U):T.removeChild(U);const V=p(U);for(let W=0;W{if(m.nodeType&&1!==m.nodeType)return;if(typeof NamedNodeMap<"u"&&!(m.attributes instanceof NamedNodeMap))return void m.remove();for(let A=m.attributes.length-1;A>=0;A--){const w=m.attributes.item(A),R=w.name;if(!c.includes(R.toLowerCase())){m.removeAttribute(R);continue}const $=w.value,k=m[R];(null!=$&&$.toLowerCase().includes("javascript:")||null!=k&&k.toLowerCase().includes("javascript:"))&&m.removeAttribute(R)}const T=p(m);for(let A=0;Anull!=m.children?m.children:m.childNodes,O=()=>{var m;const T=window,A=null===(m=null==T?void 0:T.Ionic)||void 0===m?void 0:m.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(T){this.value=T}}const _=m=>{const T=window,A=T.Ionic;if(!A||!A.config||"Object"===A.config.constructor.name)return T.Ionic=T.Ionic||{},T.Ionic.config=Object.assign(Object.assign({},T.Ionic.config),m),T.Ionic.config},B=!1},5938:(Ce,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,_,F,B,m,T){var A;if(C)return C.attachViewToDom(_,F,m,B);if(!(T||"string"==typeof F||F instanceof HTMLElement))throw new Error("framework delegate is missing");const w="string"==typeof F?null===(A=_.ownerDocument)||void 0===A?void 0:A.createElement(F):F;return B&&B.forEach(R=>w.classList.add(R)),m&&Object.assign(w,m),_.appendChild(w),yield new Promise(R=>(0,S.c)(w,R)),w});return function(_,F,B,m,T,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 B=(0,a.A)(function*(m,T,A={},w=[]){var R,$;let k;if(D=m,T){const P="string"==typeof T?null===(R=D.ownerDocument)||void 0===R?void 0:R.createElement(T):T;w.forEach(U=>P.classList.add(U)),Object.assign(P,A),D.appendChild(P),k=P,yield new Promise(U=>(0,S.c)(P,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"),w.forEach(V=>U.classList.add(V)),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(T,A){return B.apply(this,arguments)}}(),removeViewFromDom:()=>(D&&C&&(C.parentNode.insertBefore(D,C),C.remove()),Promise.resolve())}}},8221:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>c});class S{constructor(C,_,F,B,m){this.id=_,this.name=F,this.disableScroll=m,this.priority=1e6*B+_,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,_,F,B){this.id=_,this.disable=F,this.disableScroll=B,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,_,F){return this.canStart(C)?(this.requestedStart.set(_,F),!0):(this.requestedStart.delete(_),!1)}capture(C,_,F){if(!this.start(C,_,F))return!1;const B=this.requestedStart;let m=-1e4;if(B.forEach(T=>{m=Math.max(m,T)}),m===F){this.capturedId=_,B.clear();const T=new CustomEvent("ionGestureCaptured",{detail:{gestureName:C}});return document.dispatchEvent(T),!0}return B.delete(_),!1}release(C){this.requestedStart.delete(C),this.capturedId===C&&(this.capturedId=void 0)}disableGesture(C,_){let F=this.disabledGestures.get(C);void 0===F&&(F=new Set,this.disabledGestures.set(C,F)),F.add(_)}enableGesture(C,_){const F=this.disabledGestures.get(C);void 0!==F&&F.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:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{MENU_BACK_BUTTON_PRIORITY:()=>F,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 B=document;let m=!1;const T=()=>{if(m)return;let A=0,w=[];const R=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,P){w.push({priority:M,handler:P,id:A++})}}});B.dispatchEvent(R);const $=function(){var M=(0,a.A)(function*(P){try{if(null!=P&&P.handler){const U=P.handler(k);null!=U&&(yield U)}}catch(U){console.error(U)}});return function(U){return M.apply(this,arguments)}}(),k=()=>{if(w.length>0){let M={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};w.forEach(P=>{P.priority>=M.priority&&(M=P)}),m=!0,w=w.filter(P=>P.id!==M.id),$(M).then(()=>m=!1)}};k()};if(c()){let A;const w=()=>{null==A||A.destroy(),A=new S.w.CloseWatcher,A.onclose=()=>{T(),w()}};w()}else B.addEventListener("backbutton",T)},_=100,F=99},5638:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>_,b:()=>F,c:()=>p,d:()=>$,e:()=>R,f:()=>w,g:()=>B,h:()=>A,i:()=>C,j:()=>W,k:()=>c,l:()=>k,m:()=>O,n:()=>T,o:()=>M,p:()=>V,q:()=>oe,r:()=>m,s:()=>me,t:()=>a,u:()=>P,v:()=>U});const a=(te,se=0)=>new Promise(g=>{S(te,se,g)}),S=(te,se=0,g)=>{let n,o;const l={passive:!0},h=()=>{n&&n()},v=y=>{(void 0===y||te===y.target)&&(h(),g(y))};return te&&(te.addEventListener("webkitTransitionEnd",v,l),te.addEventListener("transitionend",v,l),o=setTimeout(v,se+500),n=()=>{void 0!==o&&(clearTimeout(o),o=void 0),te.removeEventListener("webkitTransitionEnd",v,l),te.removeEventListener("transitionend",v,l)}),h},p=(te,se)=>{te.componentOnReady?te.componentOnReady().then(g=>se(g)):m(()=>se(te))},O=te=>void 0!==te.componentOnReady,c=(te,se=[])=>{const g={};return se.forEach(n=>{te.hasAttribute(n)&&(null!==te.getAttribute(n)&&(g[n]=te.getAttribute(n)),te.removeAttribute(n))}),g},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 g=D;return se&&se.length>0&&(g=g.filter(n=>!se.includes(n))),c(te,g)},_=(te,se,g,n)=>{var o;if(typeof window<"u"){const l=window,s=null===(o=null==l?void 0:l.Ionic)||void 0===o?void 0:o.config;if(s){const h=s.get("_ael");if(h)return h(te,se,g,n);if(s._ael)return s._ael(te,se,g,n)}}return te.addEventListener(se,g,n)},F=(te,se,g,n)=>{var o;if(typeof window<"u"){const l=window,s=null===(o=null==l?void 0:l.Ionic)||void 0===o?void 0:o.config;if(s){const h=s.get("_rel");if(h)return h(te,se,g,n);if(s._rel)return s._rel(te,se,g,n)}}return te.removeEventListener(se,g,n)},B=(te,se=te)=>te.shadowRoot||se,m=te=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(te):"function"==typeof requestAnimationFrame?requestAnimationFrame(te):setTimeout(te),T=te=>!!te.shadowRoot&&!!te.attachShadow,A=te=>{const se=te.closest("ion-item");return se?se.querySelector("ion-label"):null},w=te=>{if(te.focus(),te.classList.contains("ion-focusable")){const se=te.closest("ion-app");se&&se.setFocus([te])}},R=(te,se)=>{let g;const n=te.getAttribute("aria-labelledby"),o=te.id;let l=null!==n&&""!==n.trim()?n:se+"-lbl",s=null!==n&&""!==n.trim()?document.getElementById(n):A(te);return s?(null===n&&(s.id=l),g=s.textContent,s.setAttribute("aria-hidden","true")):""!==o.trim()&&(s=document.querySelector(`label[for="${o}"]`),s&&(""!==s.id?l=s.id:s.id=l=`${o}-lbl`,g=s.textContent)),{label:s,labelId:l,labelText:g}},$=(te,se,g,n,o)=>{if(te||T(se)){let l=se.querySelector("input.aux-input");l||(l=se.ownerDocument.createElement("input"),l.type="hidden",l.classList.add("aux-input"),se.appendChild(l)),l.disabled=o,l.name=g,l.value=n||""}},k=(te,se,g)=>Math.max(te,Math.min(se,g)),M=(te,se)=>{if(!te){const g="ASSERT: "+se;throw console.error(g),new Error(g)}},P=te=>te.timeStamp||Date.now(),U=te=>{if(te){const se=te.changedTouches;if(se&&se.length>0){const g=se[0];return{x:g.clientX,y:g.clientY}}if(void 0!==te.pageX)return{x:te.pageX,y:te.pageY}}return{x:0,y:0}},V=te=>{const se="rtl"===document.dir;switch(te){case"start":return se;case"end":return!se;default:throw new Error(`"${te}" is not a valid value for [side]. Use "start" or "end" instead.`)}},W=(te,se)=>{const g=te._original||te;return{_original:te,emit:oe(g.emit.bind(g),se)}},oe=(te,se=0)=>{let g;return(...n)=>{clearTimeout(g),g=setTimeout(te,se,...n)}},me=(te,se)=>{if(null!=te||(te={}),null!=se||(se={}),te===se)return!0;const g=Object.keys(te);if(g.length!==Object.keys(se).length)return!1;for(const n of g)if(!(n in se)||te[n]!==se[n])return!1;return!0}},405:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{GESTURE_CONTROLLER:()=>a.G,createGesture:()=>F});var a=E(8221);const S=(A,w,R,$)=>{const k=p(A)?{capture:!!$.capture,passive:!!$.passive}:!!$.capture;let M,P;return A.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",P="__zone_symbol__removeEventListener"):(M="addEventListener",P="removeEventListener"),A[M](w,R,k),()=>{A[P](w,R,k)}},p=A=>{if(void 0===O)try{const w=Object.defineProperty({},"passive",{get:()=>{O=!0}});A.addEventListener("optsTest",()=>{},w)}catch{O=!1}return!!O};let O;const C=A=>A instanceof Document?A:A.ownerDocument,F=A=>{let w=!1,R=!1,$=!0,k=!1;const M=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},A),P=M.canStart,U=M.onWillStart,V=M.onStart,W=M.onEnd,oe=M.notCaptured,me=M.onMove,te=M.threshold,se=M.passive,g=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,w,R)=>{const $=R*(Math.PI/180),k="x"===A,M=Math.cos($),P=w*w;let U=0,V=0,W=!1,oe=0;return{start(me,te){U=me,V=te,oe=0,W=!0},detect(me,te){if(!W)return!1;const se=me-U,g=te-V,n=se*se+g*g;if(nM?1:l<-M?-1:0,W=!1,!0},isGesture:()=>0!==oe,getDirection:()=>oe}})(M.direction,M.threshold,M.maxAngle),l=a.G.createGesture({name:A.gestureName,priority:A.gesturePriority,disableScroll:A.disableScroll}),v=()=>{w&&(k=!1,me&&me(n))},y=()=>!!l.capture()&&(w=!0,$=!1,n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime,U?U(n).then(r):r(),!0),r=()=>{g&&(()=>{if(typeof document<"u"){const J=document.activeElement;null!=J&&J.blur&&J.blur()}})(),V&&V(n),$=!0},f=()=>{w=!1,R=!1,k=!1,$=!0,l.release()},L=J=>{const ie=w,pe=$;if(f(),pe){if(B(n,J),ie)return void(W&&W(n));oe&&oe(n)}},I=((A,w,R,$,k)=>{let M,P,U,V,W,oe,me,te=0;const se=d=>{te=Date.now()+2e3,w(d)&&(!P&&R&&(P=S(A,"touchmove",R,k)),U||(U=S(d.target,"touchend",n,k)),V||(V=S(d.target,"touchcancel",n,k)))},g=d=>{te>Date.now()||w(d)&&(!oe&&R&&(oe=S(C(A),"mousemove",R,k)),me||(me=S(C(A),"mouseup",o,k)))},n=d=>{l(),$&&$(d)},o=d=>{s(),$&&$(d)},l=()=>{P&&P(),U&&U(),V&&V(),P=U=V=void 0},s=()=>{oe&&oe(),me&&me(),oe=me=void 0},h=()=>{l(),s()},v=(d=!0)=>{d?(M||(M=S(A,"touchstart",se,k)),W||(W=S(A,"mousedown",g,k))):(M&&M(),W&&W(),M=W=void 0,h())};return{enable:v,stop:h,destroy:()=>{v(!1),$=R=w=void 0}}})(M.el,J=>{const ie=T(J);return!(R||!$||(m(J,n),n.startX=n.currentX,n.startY=n.currentY,n.startTime=n.currentTime=ie,n.velocityX=n.velocityY=n.deltaX=n.deltaY=0,n.event=J,P&&!1===P(n))||(l.release(),!l.start()))&&(R=!0,0===te?y():(o.start(n.startX,n.startY),!0))},J=>{w?!k&&$&&(k=!0,B(n,J),requestAnimationFrame(v)):(B(n,J),o.detect(n.currentX,n.currentY)&&(!o.isGesture()||!y())&&j())},L,{capture:!1,passive:se}),j=()=>{f(),I.stop(),oe&&oe(n)};return{enable(J=!0){J||(w&&L(void 0),f()),I.enable(J)},destroy(){l.destroy(),I.destroy()}}},B=(A,w)=>{if(!w)return;const R=A.currentX,$=A.currentY,k=A.currentTime;m(w,A);const M=A.currentX,P=A.currentY,V=(A.currentTime=T(w))-k;if(V>0&&V<100){const oe=(P-$)/V;A.velocityX=(M-R)/V*.7+.3*A.velocityX,A.velocityY=.7*oe+.3*A.velocityY}A.deltaX=M-A.startX,A.deltaY=P-A.startY,A.event=w},m=(A,w)=>{let R=0,$=0;if(A){const k=A.changedTouches;if(k&&k.length>0){const M=k[0];R=M.clientX,$=M.clientY}else void 0!==A.pageX&&(R=A.pageX,$=A.pageY)}w.currentX=R,w.currentY=$},T=A=>A.timeStamp||Date.now()},5384:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>A});var a=E(467),S=E(8476),p=E(3113),O=E(4929),c=E(5638),D=E(611),C=E(3503);const _=w=>(0,C.c)().duration(w?400:300),F=w=>{let R,$;const k=w.width+8,M=(0,C.c)(),P=(0,C.c)();w.isEndSide?(R=k+"px",$="0px"):(R=-k+"px",$="0px"),M.addElement(w.menuInnerEl).fromTo("transform",`translateX(${R})`,`translateX(${$})`);const V="ios"===(0,D.b)(w),W=V?.2:.25;return P.addElement(w.backdropEl).fromTo("opacity",.01,W),_(V).addAnimation([M,P])},B=w=>{let R,$;const k=(0,D.b)(w),M=w.width;w.isEndSide?(R=-M+"px",$=M+"px"):(R=M+"px",$=-M+"px");const P=(0,C.c)().addElement(w.menuInnerEl).fromTo("transform",`translateX(${$})`,"translateX(0px)"),U=(0,C.c)().addElement(w.contentEl).fromTo("transform","translateX(0px)",`translateX(${R})`),V=(0,C.c)().addElement(w.backdropEl).fromTo("opacity",.01,.32);return _("ios"===k).addAnimation([P,U,V])},m=w=>{const R=(0,D.b)(w),$=w.width*(w.isEndSide?-1:1)+"px",k=(0,C.c)().addElement(w.contentEl).fromTo("transform","translateX(0px)",`translateX(${$})`);return _("ios"===R).addAnimation(k)},A=(()=>{const w=new Map,R=[],$=function(){var f=(0,a.A)(function*(L){const I=yield oe(L,!0);return!!I&&I.open()});return function(I){return f.apply(this,arguments)}}(),k=function(){var f=(0,a.A)(function*(L){const I=yield void 0!==L?oe(L,!0):me();return void 0!==I&&I.close()});return function(I){return f.apply(this,arguments)}}(),M=function(){var f=(0,a.A)(function*(L){const I=yield oe(L,!0);return!!I&&I.toggle()});return function(I){return f.apply(this,arguments)}}(),P=function(){var f=(0,a.A)(function*(L,I){const j=yield oe(I);return j&&(j.disabled=!L),j});return function(I,j){return f.apply(this,arguments)}}(),U=function(){var f=(0,a.A)(function*(L,I){const j=yield oe(I);return j&&(j.swipeGesture=L),j});return function(I,j){return f.apply(this,arguments)}}(),V=function(){var f=(0,a.A)(function*(L){if(null!=L){const I=yield oe(L);return void 0!==I&&I.isOpen()}return void 0!==(yield me())});return function(I){return f.apply(this,arguments)}}(),W=function(){var f=(0,a.A)(function*(L){const I=yield oe(L);return!!I&&!I.disabled});return function(I){return f.apply(this,arguments)}}(),oe=function(){var f=(0,a.A)(function*(L,I=!1){if(yield r(),"start"===L||"end"===L){const J=R.filter(pe=>pe.side===L&&!pe.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(pe=>pe.el)),J[0].el;const ie=R.filter(pe=>pe.side===L);if(ie.length>=1)return ie.length>1&&I&&(0,O.p)(`menuController queried for a menu on the "${L}" side, but ${ie.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.`,ie.map(pe=>pe.el)),ie[0].el}else if(null!=L)return d(J=>J.menuId===L);return d(J=>!J.disabled)||(R.length>0?R[0].el:void 0)});return function(I){return f.apply(this,arguments)}}(),me=function(){var f=(0,a.A)(function*(){return yield r(),h()});return function(){return f.apply(this,arguments)}}(),te=function(){var f=(0,a.A)(function*(){return yield r(),v()});return function(){return f.apply(this,arguments)}}(),se=function(){var f=(0,a.A)(function*(){return yield r(),y()});return function(){return f.apply(this,arguments)}}(),g=(f,L)=>{w.set(f,L)},l=function(){var f=(0,a.A)(function*(L,I,j){if(y())return!1;if(I){const J=yield me();J&&L.el!==J&&(yield J.setOpen(!1,!1))}return L._setOpen(I,j)});return function(I,j,J){return f.apply(this,arguments)}}(),h=()=>d(f=>f._isOpen),v=()=>R.map(f=>f.el),y=()=>R.some(f=>f.isAnimating),d=f=>{const L=R.find(f);if(void 0!==L)return L.el},r=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(f=>new Promise(L=>(0,c.c)(f,L))));return g("reveal",m),g("push",B),g("overlay",F),null==S.d||S.d.addEventListener("ionBackButton",f=>{const L=h();L&&f.detail.register(p.MENU_BACK_BUTTON_PRIORITY,()=>L.close())}),{registerAnimation:g,get:oe,getMenus:te,getOpen:me,isEnabled:W,swipeGesture:U,isAnimating:se,isOpen:V,enable:P,toggle:M,close:k,open:$,_getOpenSync:h,_createAnimation:(f,L)=>{const I=w.get(f);if(!I)throw new Error("animation not registered");return I(L)},_register:f=>{R.indexOf(f)<0&&R.push(f)},_unregister:f=>{const L=R.indexOf(f);L>-1&&R.splice(L,1)},_setOpen:l}})()},4929:(Ce,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:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>T,H:()=>y,a:()=>Tn,b:()=>On,c:()=>pe,d:()=>qe,e:()=>gt,f:()=>ae,g:()=>De,h:()=>h,i:()=>it,j:()=>A,r:()=>Gn,w:()=>zt});var a=E(467);let O,c,D,C=!1,_=!1,F=!1,B=!1,m=!1;const T={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},A=ye=>{const Ke=new URL(ye,Qt.$resourcesUrl$);return Ke.origin!==Zt.location.origin?Ke.href:Ke.pathname},U="s-id",V="sty-id",W="c-id",me="slot-fb{display:contents}slot-fb[hidden]{display:none}",te="http://www.w3.org/1999/xlink",se={},l=ye=>"object"==(ye=typeof ye)||"function"===ye;function s(ye){var Ke,dt,pt;return null!==(pt=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!==pt?pt:void 0}const h=(ye,Ke,...dt)=>{let pt=null,Yt=null,$t=null,an=!1,ln=!1;const xn=[],cn=_n=>{for(let Sn=0;Sn<_n.length;Sn++)pt=_n[Sn],Array.isArray(pt)?cn(pt):null!=pt&&"boolean"!=typeof pt&&((an="function"!=typeof ye&&!l(pt))&&(pt=String(pt)),an&&ln?xn[xn.length-1].$text$+=pt:xn.push(an?v(null,pt):pt),ln=an)};if(cn(dt),Ke){Ke.key&&(Yt=Ke.key),Ke.name&&($t=Ke.name);{const _n=Ke.className||Ke.class;_n&&(Ke.class="object"!=typeof _n?_n:Object.keys(_n).filter(Sn=>_n[Sn]).join(" "))}}if("function"==typeof ye)return ye(null===Ke?{}:Ke,xn,r);const nn=v(ye,null);return nn.$attrs$=Ke,xn.length>0&&(nn.$children$=xn),nn.$key$=Yt,nn.$name$=$t,nn},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(f).forEach(Ke),map:(ye,Ke)=>ye.map(f).map(Ke).map(L)},f=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},j=(ye,Ke,dt,pt,Yt,$t,an)=>{let ln,xn,cn,nn;if(1===$t.nodeType){for(ln=$t.getAttribute(W),ln&&(xn=ln.split("."),(xn[0]===an||"0"===xn[0])&&(cn={$flags$:0,$hostId$:xn[0],$nodeId$:xn[1],$depth$:xn[2],$index$:xn[3],$tag$:$t.tagName.toLowerCase(),$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Ke.push(cn),$t.removeAttribute(W),ye.$children$||(ye.$children$=[]),ye.$children$[cn.$index$]=cn,ye=cn,pt&&"0"===cn.$depth$&&(pt[cn.$index$]=cn.$elm$))),nn=$t.childNodes.length-1;nn>=0;nn--)j(ye,Ke,dt,pt,Yt,$t.childNodes[nn],an);if($t.shadowRoot)for(nn=$t.shadowRoot.childNodes.length-1;nn>=0;nn--)j(ye,Ke,dt,pt,Yt,$t.shadowRoot.childNodes[nn],an)}else if(8===$t.nodeType)xn=$t.nodeValue.split("."),(xn[1]===an||"0"===xn[1])&&(ln=xn[0],cn={$flags$:0,$hostId$:xn[1],$nodeId$:xn[2],$depth$:xn[3],$index$:xn[4],$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===ln?(cn.$elm$=$t.nextSibling,cn.$elm$&&3===cn.$elm$.nodeType&&(cn.$text$=cn.$elm$.textContent,Ke.push(cn),$t.remove(),ye.$children$||(ye.$children$=[]),ye.$children$[cn.$index$]=cn,pt&&"0"===cn.$depth$&&(pt[cn.$index$]=cn.$elm$))):cn.$hostId$===an&&("s"===ln?(cn.$tag$="slot",$t["s-sn"]=xn[5]?cn.$name$=xn[5]:"",$t["s-sr"]=!0,pt&&(cn.$elm$=qt.createElement(cn.$tag$),cn.$name$&&cn.$elm$.setAttribute("name",cn.$name$),$t.parentNode.insertBefore(cn.$elm$,$t),$t.remove(),"0"===cn.$depth$&&(pt[cn.$index$]=cn.$elm$)),dt.push(cn),ye.$children$||(ye.$children$=[]),ye.$children$[cn.$index$]=cn):"r"===ln&&(pt?$t.remove():(Yt["s-cr"]=$t,$t["s-cn"]=!0))));else if(ye&&"style"===ye.$tag$){const _n=v(null,$t.textContent);_n.$elm$=$t,_n.$index$="0",ye.$children$=[_n]}},J=(ye,Ke)=>{if(1===ye.nodeType){let dt=0;for(;dtkt.push(ye),De=ye=>kn(ye).$modeName$,ae=ye=>kn(ye).$hostElement$,qe=(ye,Ke,dt)=>{const pt=ae(ye);return{emit:Yt=>Oe(pt,Ke,{bubbles:!!(4&dt),composed:!!(2&dt),cancelable:!!(1&dt),detail:Yt})}},Oe=(ye,Ke,dt)=>{const pt=Qt.ce(Ke,dt);return ye.dispatchEvent(pt),pt},xe=new WeakMap,Te=(ye,Ke,dt)=>{let pt=Mt.get(ye);Ge&&dt?(pt=pt||new CSSStyleSheet,"string"==typeof pt?pt=Ke:pt.replaceSync(Ke)):pt=Ke,Mt.set(ye,pt)},Be=(ye,Ke,dt)=>{var pt;const Yt=ne(Ke,dt),$t=Mt.get(Yt);if(ye=11===ye.nodeType?ye:qt,$t)if("string"==typeof $t){let ln,an=xe.get(ye=ye.head||ye);if(an||xe.set(ye,an=new Set),!an.has(Yt)){if(ye.host&&(ln=ye.querySelector(`[${V}="${Yt}"]`)))ln.innerHTML=$t;else{ln=qt.createElement("style"),ln.innerHTML=$t;const xn=null!==(pt=Qt.$nonce$)&&void 0!==pt?pt:s(qt);null!=xn&&ln.setAttribute("nonce",xn),ye.insertBefore(ln,ye.querySelector("link"))}4&Ke.$flags$&&(ln.innerHTML+=me),an&&an.add(Yt)}}else ye.adoptedStyleSheets.includes($t)||(ye.adoptedStyleSheets=[...ye.adoptedStyleSheets,$t]);return Yt},ne=(ye,Ke)=>"sc-"+(Ke&&32&ye.$flags$?ye.$tagName$+"-"+Ke:ye.$tagName$),G=ye=>ye.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),ge=(ye,Ke,dt,pt,Yt,$t)=>{if(dt!==pt){let an=jn(ye,Ke),ln=Ke.toLowerCase();if("class"===Ke){const xn=ye.classList,cn=Qe(dt),nn=Qe(pt);xn.remove(...cn.filter(_n=>_n&&!nn.includes(_n))),xn.add(...nn.filter(_n=>_n&&!cn.includes(_n)))}else if("style"===Ke){for(const xn in dt)(!pt||null==pt[xn])&&(xn.includes("-")?ye.style.removeProperty(xn):ye.style[xn]="");for(const xn in pt)(!dt||pt[xn]!==dt[xn])&&(xn.includes("-")?ye.style.setProperty(xn,pt[xn]):ye.style[xn]=pt[xn])}else if("key"!==Ke)if("ref"===Ke)pt&&pt(ye);else if(an||"o"!==Ke[0]||"n"!==Ke[1]){const xn=l(pt);if((an||xn&&null!==pt)&&!Yt)try{if(ye.tagName.includes("-"))ye[Ke]=pt;else{const nn=null==pt?"":pt;"list"===Ke?an=!1:(null==dt||ye[Ke]!=nn)&&(ye[Ke]=nn)}}catch{}let cn=!1;ln!==(ln=ln.replace(/^xlink\:?/,""))&&(Ke=ln,cn=!0),null==pt||!1===pt?(!1!==pt||""===ye.getAttribute(Ke))&&(cn?ye.removeAttributeNS(te,Ke):ye.removeAttribute(Ke)):(!an||4&$t||Yt)&&!xn&&(pt=!0===pt?"":pt,cn?ye.setAttributeNS(te,Ke,pt):ye.setAttribute(Ke,pt))}else if(Ke="-"===Ke[2]?Ke.slice(3):jn(Zt,ln)?ln.slice(2):ln[2]+Ke.slice(3),dt||pt){const xn=Ke.endsWith(rt);Ke=Ke.replace(rn,""),dt&&Qt.rel(ye,Ke,dt,xn),pt&&Qt.ael(ye,Ke,pt,xn)}}},xt=/\s/,Qe=ye=>ye?ye.split(xt):[],rt="Capture",rn=new RegExp(rt+"$"),mt=(ye,Ke,dt,pt)=>{const Yt=11===Ke.$elm$.nodeType&&Ke.$elm$.host?Ke.$elm$.host:Ke.$elm$,$t=ye&&ye.$attrs$||se,an=Ke.$attrs$||se;for(pt of ft(Object.keys($t)))pt in an||ge(Yt,pt,$t[pt],void 0,dt,Ke.$flags$);for(pt of ft(Object.keys(an)))ge(Yt,pt,$t[pt],an[pt],dt,Ke.$flags$)};function ft(ye){return ye.includes("ref")?[...ye.filter(Ke=>"ref"!==Ke),"ref"]:ye}const un=(ye,Ke,dt,pt)=>{var Yt;const $t=Ke.$children$[dt];let ln,xn,cn,an=0;if(C||(F=!0,"slot"===$t.$tag$&&(O&&pt.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(B||(B="svg"===$t.$tag$),ln=$t.$elm$=qt.createElementNS(B?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$t.$flags$?"slot-fb":$t.$tag$),B&&"foreignObject"===$t.$tag$&&(B=!1),mt(null,$t,B),(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)xn=un(ye,$t,an,ln),xn&&ln.appendChild(xn);"svg"===$t.$tag$?B=!1:"foreignObject"===ln.tagName&&(B=!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===(Yt=$t.$attrs$)||void 0===Yt?void 0:Yt.ref,cn=ye&&ye.$children$&&ye.$children$[dt],cn&&cn.$tag$===$t.$tag$&&ye.$elm$&&At(ye.$elm$,!1)),ln},At=(ye,Ke)=>{Qt.$flags$|=1;const dt=Array.from(ye.childNodes);for(let pt=dt.length-1;pt>=0;pt--){const Yt=dt[pt];Yt["s-hn"]!==D&&Yt["s-ol"]&&(bt(Yt).insertBefore(Yt,bn(Yt)),Yt["s-ol"].remove(),Yt["s-ol"]=void 0,Yt["s-sh"]=void 0,F=!0),Ke&&At(Yt,Ke)}Qt.$flags$&=-2},It=(ye,Ke,dt,pt,Yt,$t)=>{let ln,an=ye["s-cr"]&&ye["s-cr"].parentNode||ye;for(an.shadowRoot&&an.tagName===D&&(an=an.shadowRoot);Yt<=$t;++Yt)pt[Yt]&&(ln=un(null,dt,Yt,ye),ln&&(pt[Yt].$elm$=ln,an.insertBefore(ln,bn(Ke))))},Cn=(ye,Ke,dt)=>{for(let pt=Ke;pt<=dt;++pt){const Yt=ye[pt];if(Yt){const $t=Yt.$elm$;Nt(Yt),$t&&(_=!0,$t["s-ol"]?$t["s-ol"].remove():At($t,!0),$t.remove())}}},Ft=(ye,Ke,dt=!1)=>ye.$tag$===Ke.$tag$&&("slot"===ye.$tag$?ye.$name$===Ke.$name$:!!dt||ye.$key$===Ke.$key$),bn=ye=>ye&&ye["s-ol"]||ye,bt=ye=>(ye["s-ol"]?ye["s-ol"]:ye).parentNode,wt=(ye,Ke,dt=!1)=>{const pt=Ke.$elm$=ye.$elm$,Yt=ye.$children$,$t=Ke.$children$,an=Ke.$tag$,ln=Ke.$text$;let xn;null===ln?(B="svg"===an||"foreignObject"!==an&&B,"slot"===an&&!C||mt(ye,Ke,B),null!==Yt&&null!==$t?((ye,Ke,dt,pt,Yt=!1)=>{let X,Ue,$t=0,an=0,ln=0,xn=0,cn=Ke.length-1,nn=Ke[0],_n=Ke[cn],Sn=pt.length-1,Pn=pt[0],hr=pt[Sn];for(;$t<=cn&&an<=Sn;)if(null==nn)nn=Ke[++$t];else if(null==_n)_n=Ke[--cn];else if(null==Pn)Pn=pt[++an];else if(null==hr)hr=pt[--Sn];else if(Ft(nn,Pn,Yt))wt(nn,Pn,Yt),nn=Ke[++$t],Pn=pt[++an];else if(Ft(_n,hr,Yt))wt(_n,hr,Yt),_n=Ke[--cn],hr=pt[--Sn];else if(Ft(nn,hr,Yt))("slot"===nn.$tag$||"slot"===hr.$tag$)&&At(nn.$elm$.parentNode,!1),wt(nn,hr,Yt),ye.insertBefore(nn.$elm$,_n.$elm$.nextSibling),nn=Ke[++$t],hr=pt[--Sn];else if(Ft(_n,Pn,Yt))("slot"===nn.$tag$||"slot"===hr.$tag$)&&At(_n.$elm$.parentNode,!1),wt(_n,Pn,Yt),ye.insertBefore(_n.$elm$,nn.$elm$),_n=Ke[--cn],Pn=pt[++an];else{for(ln=-1,xn=$t;xn<=cn;++xn)if(Ke[xn]&&null!==Ke[xn].$key$&&Ke[xn].$key$===Pn.$key$){ln=xn;break}ln>=0?(Ue=Ke[ln],Ue.$tag$!==Pn.$tag$?X=un(Ke&&Ke[an],dt,ln,ye):(wt(Ue,Pn,Yt),Ke[ln]=void 0,X=Ue.$elm$),Pn=pt[++an]):(X=un(Ke&&Ke[an],dt,an,ye),Pn=pt[++an]),X&&bt(nn.$elm$).insertBefore(X,bn(nn.$elm$))}$t>cn?It(ye,null==pt[Sn+1]?null:pt[Sn+1].$elm$,dt,pt,an,Sn):an>Sn&&Cn(Ke,$t,cn)})(pt,Yt,Ke,$t,dt):null!==$t?(null!==ye.$text$&&(pt.textContent=""),It(pt,null,Ke,$t,0,$t.length-1)):null!==Yt&&Cn(Yt,0,Yt.length-1),B&&"svg"===an&&(B=!1)):(xn=pt["s-cr"])?xn.parentNode.textContent=ln:ye.$text$!==ln&&(pt.data=ln)},Dn=ye=>{const Ke=ye.childNodes;for(const dt of Ke)if(1===dt.nodeType){if(dt["s-sr"]){const pt=dt["s-sn"];dt.hidden=!1;for(const Yt of Ke)if(Yt!==dt)if(Yt["s-hn"]!==dt["s-hn"]||""!==pt){if(1===Yt.nodeType&&(pt===Yt.getAttribute("slot")||pt===Yt["s-sn"])){dt.hidden=!0;break}}else if(1===Yt.nodeType||3===Yt.nodeType&&""!==Yt.textContent.trim()){dt.hidden=!0;break}}Dn(dt)}},Bt=[],Lt=ye=>{let Ke,dt,pt;for(const Yt of ye.childNodes){if(Yt["s-sr"]&&(Ke=Yt["s-cr"])&&Ke.parentNode){dt=Ke.parentNode.childNodes;const $t=Yt["s-sn"];for(pt=dt.length-1;pt>=0;pt--)if(Ke=dt[pt],!Ke["s-cn"]&&!Ke["s-nr"]&&Ke["s-hn"]!==Yt["s-hn"])if(Wt(Ke,$t)){let an=Bt.find(ln=>ln.$nodeToRelocate$===Ke);_=!0,Ke["s-sn"]=Ke["s-sn"]||$t,an?(an.$nodeToRelocate$["s-sh"]=Yt["s-hn"],an.$slotRefNode$=Yt):(Ke["s-sh"]=Yt["s-hn"],Bt.push({$slotRefNode$:Yt,$nodeToRelocate$:Ke})),Ke["s-sr"]&&Bt.map(ln=>{Wt(ln.$nodeToRelocate$,Ke["s-sn"])&&(an=Bt.find(xn=>xn.$nodeToRelocate$===Ke),an&&!ln.$slotRefNode$&&(ln.$slotRefNode$=an.$slotRefNode$))})}else Bt.some(an=>an.$nodeToRelocate$===Ke)||Bt.push({$nodeToRelocate$:Ke})}1===Yt.nodeType&&Lt(Yt)}},Wt=(ye,Ke)=>1===ye.nodeType?null===ye.getAttribute("slot")&&""===Ke||ye.getAttribute("slot")===Ke:ye["s-sn"]===Ke||""===Ke,Nt=ye=>{ye.$attrs$&&ye.$attrs$.ref&&ye.$attrs$.ref(null),ye.$children$&&ye.$children$.map(Nt)},zn=(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 zn(ye,ye.$ancestorComponent$),zt(()=>He(ye,Ke));ye.$flags$|=512},He=(ye,Ke)=>{const pt=ye.$lazyInstance$;let Yt;return Ke&&(ye.$flags$|=256,ye.$queuedListeners$&&(ye.$queuedListeners$.map(([$t,an])=>Se(pt,$t,an)),ye.$queuedListeners$=void 0),Yt=Se(pt,"componentWillLoad")),Yt=_e(Yt,()=>Se(pt,"componentWillRender")),_e(Yt,()=>Me(ye,pt,Ke))},_e=(ye,Ke)=>Ae(ye)?ye.then(Ke):Ke(),Ae=ye=>ye instanceof Promise||ye&&ye.then&&"function"==typeof ye.then,Me=function(){var ye=(0,a.A)(function*(Ke,dt,pt){var Yt;const $t=Ke.$hostElement$,ln=$t["s-rc"];pt&&(ye=>{const Ke=ye.$cmpMeta$,dt=ye.$hostElement$,pt=Ke.$flags$,$t=Be(dt.shadowRoot?dt.shadowRoot:dt.getRootNode(),Ke,ye.$modeName$);10&pt&&(dt["s-sc"]=$t,dt.classList.add($t+"-h"),2&pt&&dt.classList.add($t+"-s"))})(Ke);Ze(Ke,dt,$t,pt),ln&&(ln.map(cn=>cn()),$t["s-rc"]=void 0);{const cn=null!==(Yt=$t["s-p"])&&void 0!==Yt?Yt:[],nn=()=>je(Ke);0===cn.length?nn():(Promise.all(cn).then(nn),Ke.$flags$|=4,cn.length=0)}});return function(dt,pt,Yt){return ye.apply(this,arguments)}}(),Ze=(ye,Ke,dt,pt)=>{try{Ke=Ke.render&&Ke.render(),ye.$flags$&=-17,ye.$flags$|=2,((ye,Ke,dt=!1)=>{var pt,Yt,$t,an;const ln=ye.$hostElement$,xn=ye.$cmpMeta$,cn=ye.$vnode$||v(null,null),nn=(ye=>ye&&ye.$tag$===y)(Ke)?Ke:h(null,null,Ke);if(D=ln.tagName,xn.$attrsToReflect$&&(nn.$attrs$=nn.$attrs$||{},xn.$attrsToReflect$.map(([_n,Sn])=>nn.$attrs$[Sn]=ln[_n])),dt&&nn.$attrs$)for(const _n of Object.keys(nn.$attrs$))ln.hasAttribute(_n)&&!["key","ref","style","class"].includes(_n)&&(nn.$attrs$[_n]=ln[_n]);if(nn.$tag$=null,nn.$flags$|=4,ye.$vnode$=nn,nn.$elm$=cn.$elm$=ln.shadowRoot||ln,O=ln["s-sc"],C=!!(1&xn.$flags$),c=ln["s-cr"],_=!1,wt(cn,nn,dt),Qt.$flags$|=1,F){Lt(nn.$elm$);for(const _n of Bt){const Sn=_n.$nodeToRelocate$;if(!Sn["s-ol"]){const Pn=qt.createTextNode("");Pn["s-nr"]=Sn,Sn.parentNode.insertBefore(Sn["s-ol"]=Pn,Sn)}}for(const _n of Bt){const Sn=_n.$nodeToRelocate$,Pn=_n.$slotRefNode$;if(Pn){const hr=Pn.parentNode;let X=Pn.nextSibling;{let Ue=null===(pt=Sn["s-ol"])||void 0===pt?void 0:pt.previousSibling;for(;Ue;){let le=null!==(Yt=Ue["s-nr"])&&void 0!==Yt?Yt:null;if(le&&le["s-sn"]===Sn["s-sn"]&&hr===le.parentNode){for(le=le.nextSibling;le===Sn||null!=le&&le["s-sr"];)le=null==le?void 0:le.nextSibling;if(!le||!le["s-nr"]){X=le;break}}Ue=Ue.previousSibling}}(!X&&hr!==Sn.parentNode||Sn.nextSibling!==X)&&Sn!==X&&(!Sn["s-hn"]&&Sn["s-ol"]&&(Sn["s-hn"]=Sn["s-ol"].parentNode.nodeName),hr.insertBefore(Sn,X),1===Sn.nodeType&&(Sn.hidden=null!==($t=Sn["s-ih"])&&void 0!==$t&&$t)),Sn&&"function"==typeof Pn["s-rf"]&&Pn["s-rf"](Sn)}else 1===Sn.nodeType&&(dt&&(Sn["s-ih"]=null!==(an=Sn.hidden)&&void 0!==an&&an),Sn.hidden=!0)}}_&&Dn(nn.$elm$),Qt.$flags$&=-2,Bt.length=0,c=void 0})(ye,Ke,pt)}catch(Yt){$e(Yt,ye.$hostElement$)}return null},je=ye=>{const dt=ye.$hostElement$,Yt=ye.$lazyInstance$,$t=ye.$ancestorComponent$;Se(Yt,"componentDidRender"),64&ye.$flags$?Se(Yt,"componentDidUpdate"):(ye.$flags$|=64,ze(dt),Se(Yt,"componentDidLoad"),ye.$onReadyResolve$(dt),$t||Pe()),ye.$onInstanceResolve$(dt),ye.$onRenderResolve$&&(ye.$onRenderResolve$(),ye.$onRenderResolve$=void 0),512&ye.$flags$&&vn(()=>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=>{ze(qt.documentElement),vn(()=>Oe(Zt,"appload",{detail:{namespace:"ionic"}}))},Se=(ye,Ke,dt)=>{if(ye&&ye[Ke])try{return ye[Ke](dt)}catch(pt){$e(pt)}},ze=ye=>ye.classList.add("hydrated"),st=(ye,Ke,dt)=>{var pt;const Yt=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(Yt,an,{get(){return((ye,Ke)=>kn(this).$instanceValues$.get(Ke))(0,an)},set(xn){((ye,Ke,dt,pt)=>{const Yt=kn(ye),$t=Yt.$hostElement$,an=Yt.$instanceValues$.get(Ke),ln=Yt.$flags$,xn=Yt.$lazyInstance$;dt=((ye,Ke)=>null==ye||l(ye)?ye:4&Ke?"false"!==ye&&(""===ye||!!ye):2&Ke?parseFloat(ye):1&Ke?String(ye):ye)(dt,pt.$members$[Ke][0]);const cn=Number.isNaN(an)&&Number.isNaN(dt);if((!(8&ln)||void 0===an)&&dt!==an&&!cn&&(Yt.$instanceValues$.set(Ke,dt),xn)){if(pt.$watchers$&&128&ln){const _n=pt.$watchers$[Ke];_n&&_n.map(Sn=>{try{xn[Sn](dt,an,Ke)}catch(Pn){$e(Pn,$t)}})}2==(18&ln)&&Ut(Yt,!1)}})(this,an,xn,Ke)},configurable:!0,enumerable:!0}):1&dt&&64&ln&&Object.defineProperty(Yt,an,{value(...xn){var cn;const nn=kn(this);return null===(cn=null==nn?void 0:nn.$onInstancePromise$)||void 0===cn?void 0:cn.then(()=>{var _n;return null===(_n=nn.$lazyInstance$)||void 0===_n?void 0:_n[an](...xn)})}})}),1&dt){const an=new Map;Yt.attributeChangedCallback=function(ln,xn,cn){Qt.jmp(()=>{var nn;const _n=an.get(ln);if(this.hasOwnProperty(_n))cn=this[_n],delete this[_n];else{if(Yt.hasOwnProperty(_n)&&"number"==typeof this[_n]&&this[_n]==cn)return;if(null==_n){const Sn=kn(this),Pn=null==Sn?void 0:Sn.$flags$;if(Pn&&!(8&Pn)&&128&Pn&&cn!==xn){const hr=Sn.$lazyInstance$,X=null===(nn=Ke.$watchers$)||void 0===nn?void 0:nn[ln];null==X||X.forEach(Ue=>{null!=hr[Ue]&&hr[Ue].call(hr,cn,xn,ln)})}return}}this[_n]=(null!==cn||"boolean"!=typeof this[_n])&&cn})},ye.observedAttributes=Array.from(new Set([...Object.keys(null!==(pt=Ke.$watchers$)&&void 0!==pt?pt:{}),...$t.filter(([ln,xn])=>15&xn[0]).map(([ln,xn])=>{var cn;const nn=xn[1]||ln;return an.set(nn,ln),512&xn[0]&&(null===(cn=Ke.$attrsToReflect$)||void 0===cn||cn.push([ln,nn])),nn})]))}}return ye},en=function(){var ye=(0,a.A)(function*(Ke,dt,pt,Yt){let $t;if(!(32&dt.$flags$)){if(dt.$flags$|=32,pt.$lazyBundleId$){if($t=Tt(pt),$t.then){const nn=()=>{};$t=yield $t,nn()}$t.isProxied||(pt.$watchers$=$t.watchers,st($t,pt,2),$t.isProxied=!0);const cn=()=>{};dt.$flags$|=8;try{new $t(dt)}catch(nn){$e(nn)}dt.$flags$&=-9,dt.$flags$|=128,cn(),yt(dt.$lazyInstance$)}else $t=Ke.constructor,customElements.whenDefined(pt.$tagName$).then(()=>dt.$flags$|=128);if($t.style){let cn=$t.style;"string"!=typeof cn&&(cn=cn[dt.$modeName$=(ye=>kt.map(Ke=>Ke(ye)).find(Ke=>!!Ke))(Ke)]);const nn=ne(pt,dt.$modeName$);if(!Mt.has(nn)){const _n=()=>{};Te(nn,cn,!!(1&pt.$flags$)),_n()}}}const an=dt.$ancestorComponent$,ln=()=>Ut(dt,!0);an&&an["s-rc"]?an["s-rc"].push(ln):ln()});return function(dt,pt,Yt,$t){return ye.apply(this,arguments)}}(),yt=ye=>{Se(ye,"connectedCallback")},Kt=ye=>{const Ke=ye["s-cr"]=qt.createComment("");Ke["s-cn"]=!0,ye.insertBefore(Ke,ye.firstChild)},Pt=ye=>{Se(ye,"disconnectedCallback")},Rt=function(){var ye=(0,a.A)(function*(Ke){if(!(1&Qt.$flags$)){const dt=kn(Ke);dt.$rmListeners$&&(dt.$rmListeners$.map(pt=>pt()),dt.$rmListeners$=void 0),null!=dt&&dt.$lazyInstance$?Pt(dt.$lazyInstance$):null!=dt&&dt.$onReadyPromise$&&dt.$onReadyPromise$.then(()=>Pt(dt.$lazyInstance$))}});return function(dt){return ye.apply(this,arguments)}}(),On=(ye,Ke={})=>{var dt;const Yt=[],$t=Ke.exclude||[],an=Zt.customElements,ln=qt.head,xn=ln.querySelector("meta[charset]"),cn=qt.createElement("style"),nn=[],_n=qt.querySelectorAll(`[${V}]`);let Sn,Pn=!0,hr=0;for(Object.assign(Qt,Ke),Qt.$resourcesUrl$=new URL(Ke.resourcesUrl||"./",qt.baseURI).href,Qt.$flags$|=2;hr<_n.length;hr++)Te(_n[hr].getAttribute(V),G(_n[hr].innerHTML),!0);let X=!1;if(ye.map(Ue=>{Ue[1].map(le=>{var Ye;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!==(Ye=le[4])&&void 0!==Ye?Ye:{};const Nn=_t.$tagName$,pr=class extends HTMLElement{constructor(wr){super(wr),Xn(wr=this,_t),1&_t.$flags$&&wr.attachShadow({mode:"open",delegatesFocus:!!(16&_t.$flags$)})}connectedCallback(){Sn&&(clearTimeout(Sn),Sn=null),Pn?nn.push(this):Qt.jmp(()=>(ye=>{if(!(1&Qt.$flags$)){const Ke=kn(ye),dt=Ke.$cmpMeta$,pt=()=>{};if(1&Ke.$flags$)An(ye,Ke,dt.$listeners$),null!=Ke&&Ke.$lazyInstance$?yt(Ke.$lazyInstance$):null!=Ke&&Ke.$onReadyPromise$&&Ke.$onReadyPromise$.then(()=>yt(Ke.$lazyInstance$));else{let Yt;if(Ke.$flags$|=1,Yt=ye.getAttribute(U),Yt){if(1&dt.$flags$){const $t=Be(ye.shadowRoot,dt,ye.getAttribute("s-mode"));ye.classList.remove($t+"-h",$t+"-s")}((ye,Ke,dt,pt)=>{const $t=ye.shadowRoot,an=[],xn=$t?[]:null,cn=pt.$vnode$=v(Ke,null);Qt.$orgLocNodes$||J(qt.body,Qt.$orgLocNodes$=new Map),ye[U]=dt,ye.removeAttribute(U),j(cn,an,[],xn,ye,ye,dt),an.map(nn=>{const _n=nn.$hostId$+"."+nn.$nodeId$,Sn=Qt.$orgLocNodes$.get(_n),Pn=nn.$elm$;Sn&&wn&&""===Sn["s-en"]&&Sn.parentNode.insertBefore(Pn,Sn.nextSibling),$t||(Pn["s-hn"]=Ke,Sn&&(Pn["s-ol"]=Sn,Pn["s-ol"]["s-nr"]=Pn)),Qt.$orgLocNodes$.delete(_n)}),$t&&xn.map(nn=>{nn&&$t.appendChild(nn)})})(ye,dt.$tagName$,Yt,Ke)}Yt||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"]){zn(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}}),en(ye,Ke,dt)}pt()}})(this))}disconnectedCallback(){Qt.jmp(()=>Rt(this))}componentOnReady(){return kn(this).$onReadyPromise$}};_t.$lazyBundleId$=Ue[0],!$t.includes(Nn)&&!an.get(Nn)&&(Yt.push(Nn),an.define(Nn,st(pr,_t,1)))})}),Yt.length>0&&(X&&(cn.textContent+=me),cn.textContent+=Yt+"{visibility:hidden}.hydrated{visibility:inherit}",cn.innerHTML.length)){cn.setAttribute("data-styles","");const Ue=null!==(dt=Qt.$nonce$)&&void 0!==dt?dt:s(qt);null!=Ue&&cn.setAttribute("nonce",Ue),ln.insertBefore(cn,xn?xn.nextSibling:ln.firstChild)}Pn=!1,nn.length?nn.map(Ue=>Ue.connectedCallback()):Qt.jmp(()=>Sn=setTimeout(Pe,30))},An=(ye,Ke,dt,pt)=>{dt&&dt.map(([Yt,$t,an])=>{const ln=Mn(ye,Yt),xn=Bn(Ke,an),cn=Wn(Yt);Qt.ael(ln,$t,xn,cn),(Ke.$rmListeners$=Ke.$rmListeners$||[]).push(()=>Qt.rel(ln,$t,xn,cn))})},Bn=(ye,Ke)=>dt=>{try{256&ye.$flags$?ye.$lazyInstance$[Ke](dt):(ye.$queuedListeners$=ye.$queuedListeners$||[]).push([Ke,dt])}catch(pt){$e(pt)}},Mn=(ye,Ke)=>4&Ke?qt:8&Ke?Zt:16&Ke?qt.body:ye,Wn=ye=>Kn?{passive:!!(1&ye),capture:!!(2&ye)}:!!(2&ye),Fn=new WeakMap,kn=ye=>Fn.get(ye),Gn=(ye,Ke)=>Fn.set(Ke.$lazyInstance$=ye,Ke),Xn=(ye,Ke)=>{const dt={$flags$:0,$hostElement$:ye,$cmpMeta$:Ke,$instanceValues$:new Map};return dt.$onInstancePromise$=new Promise(pt=>dt.$onInstanceResolve$=pt),dt.$onReadyPromise$=new Promise(pt=>dt.$onReadyResolve$=pt),ye["s-p"]=[],ye["s-rc"]=[],An(ye,dt,Ke.$listeners$),Fn.set(ye,dt)},jn=(ye,Ke)=>Ke in ye,$e=(ye,Ke)=>(0,console.error)(ye,Ke),lt=new Map,Tt=(ye,Ke,dt)=>{const pt=ye.$tagName$.replace(/-/g,"_"),Yt=ye.$lazyBundleId$,$t=lt.get(Yt);return $t?$t[pt]:E(8996)(`./${Yt}.entry.js`).then(an=>(lt.set(Yt,an),an[pt]),$e)},Mt=new Map,kt=[],Zt=typeof window<"u"?window:{},qt=Zt.document||{head:{}},Qt={$flags$:0,$resourcesUrl$:"",jmp:ye=>ye(),raf:ye=>requestAnimationFrame(ye),ael:(ye,Ke,dt,pt)=>ye.addEventListener(Ke,dt,pt),rel:(ye,Ke,dt,pt)=>ye.removeEventListener(Ke,dt,pt),ce:(ye,Ke)=>new CustomEvent(ye,Ke)},Tn=ye=>{Object.assign(Qt,ye)},wn=!0,Kn=(()=>{let ye=!1;try{qt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){ye=!0}}))}catch{}return ye})(),Ge=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),tt=[],Fe=[],et=(ye,Ke)=>dt=>{ye.push(dt),m||(m=!0,Ke&&4&Qt.$flags$?vn(Gt):Qt.raf(Gt))},Ct=ye=>{for(let Ke=0;Ke{Ct(tt),Ct(Fe),(m=tt.length>0)&&Qt.raf(Gt)},vn=ye=>Promise.resolve(void 0).then(ye),gt=et(tt,!1),zt=et(Fe,!0)},8476:(Ce,ee,E)=>{"use strict";E.d(ee,{d:()=>S,w:()=>a});const a=typeof window<"u"?window:void 0,S=typeof document<"u"?document:void 0},7555:(Ce,ee,E)=>{"use strict";E.d(ee,{b:()=>D,c:()=>C,d:()=>_,e:()=>te,g:()=>n,l:()=>oe,s:()=>se,t:()=>m,w:()=>me});var a=E(467),S=E(4363),p=E(5638);const D="ionViewWillLeave",C="ionViewDidLeave",_="ionViewWillUnload",m=o=>new Promise((l,s)=>{(0,S.w)(()=>{T(o),A(o).then(h=>{h.animation&&h.animation.destroy(),w(o),l(h)},h=>{w(o),s(h)})})}),T=o=>{const l=o.enteringEl,s=o.leavingEl;g(l,s,o.direction),o.showGoBack?l.classList.add("can-go-back"):l.classList.remove("can-go-back"),se(l,!1),l.style.setProperty("pointer-events","none"),s&&(se(s,!1),s.style.setProperty("pointer-events","none"))},A=function(){var o=(0,a.A)(function*(l){const s=yield R(l);return s&&S.B.isBrowser?$(s,l):k(l)});return function(s){return o.apply(this,arguments)}}(),w=o=>{const l=o.enteringEl,s=o.leavingEl;l.classList.remove("ion-page-invisible"),l.style.removeProperty("pointer-events"),void 0!==s&&(s.classList.remove("ion-page-invisible"),s.style.removeProperty("pointer-events"))},R=function(){var o=(0,a.A)(function*(l){return l.leavingEl&&l.animated&&0!==l.duration?l.animationBuilder?l.animationBuilder:"ios"===l.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*(l,s){yield M(s,!0);const h=l(s.baseEl,s);V(s.enteringEl,s.leavingEl);const v=yield U(h,s);return s.progressCallback&&s.progressCallback(void 0),v&&W(s.enteringEl,s.leavingEl),{hasCompleted:v,animation:h}});return function(s,h){return o.apply(this,arguments)}}(),k=function(){var o=(0,a.A)(function*(l){const s=l.enteringEl,h=l.leavingEl;return yield M(l,!1),V(s,h),W(s,h),{hasCompleted:!0}});return function(s){return o.apply(this,arguments)}}(),M=function(){var o=(0,a.A)(function*(l,s){(void 0!==l.deepWait?l.deepWait:s)&&(yield Promise.all([te(l.enteringEl),te(l.leavingEl)])),yield P(l.viewIsReady,l.enteringEl)});return function(s,h){return o.apply(this,arguments)}}(),P=function(){var o=(0,a.A)(function*(l,s){l&&(yield l(s))});return function(s,h){return o.apply(this,arguments)}}(),U=(o,l)=>{const s=l.progressCallback,h=new Promise(v=>{o.onFinish(y=>v(1===y))});return s?(o.progressStart(!0),s(o)):o.play(),h},V=(o,l)=>{oe(l,D),oe(o,"ionViewWillEnter")},W=(o,l)=>{oe(o,"ionViewDidEnter"),oe(l,C)},oe=(o,l)=>{if(o){const s=new CustomEvent(l,{bubbles:!1,cancelable:!1});o.dispatchEvent(s)}},me=()=>new Promise(o=>(0,p.r)(()=>(0,p.r)(()=>o()))),te=function(){var o=(0,a.A)(function*(l){const s=l;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,l)=>{l?(o.setAttribute("aria-hidden","true"),o.classList.add("ion-page-hidden")):(o.hidden=!1,o.removeAttribute("aria-hidden"),o.classList.remove("ion-page-hidden"))},g=(o,l,s)=>{void 0!==o&&(o.style.zIndex="back"===s?"99":"101"),void 0!==l&&(l.style.zIndex="100")},n=o=>o.classList.contains("ion-page")?o:o.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||o},611:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>m,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,f){const L=this.m.get(r);return void 0!==L?L:f}getBoolean(r,f=!1){const L=this.m.get(r);return void 0===L?f:"string"==typeof L?"true"===L:!!L}getNumber(r,f){const L=parseFloat(this.m.get(r));return isNaN(L)?void 0!==f?f:NaN:L}set(r,f){this.m.set(r,f)}}const p=new S,_="ionic:",F="ionic-persist-config",m=(d,r)=>("string"==typeof d&&(r=d,d=void 0),(d=>T(d))(d).includes(r)),T=(d=window)=>{if(typeof d>"u")return[];d.Ionic=d.Ionic||{};let r=d.Ionic.platforms;return null==r&&(r=d.Ionic.platforms=A(d),r.forEach(f=>d.document.documentElement.classList.add(`plt-${f}`))),r},A=d=>{const r=p.get("platform");return Object.keys(s).filter(f=>{const L=null==r?void 0:r[f];return"function"==typeof L?L(d):s[f](d)})},R=d=>!!(o(d,/iPad/i)||o(d,/Macintosh/i)&&W(d)),M=d=>o(d,/android|sink/i),W=d=>l(d,"(any-pointer:coarse)"),me=d=>te(d)||se(d),te=d=>!!(d.cordova||d.phonegap||d.PhoneGap),se=d=>{const r=d.Capacitor;return!(null==r||!r.isNative)},o=(d,r)=>r.test(d.navigator.userAgent),l=(d,r)=>{var f;return null===(f=d.matchMedia)||void 0===f?void 0:f.call(d,r).matches},s={ipad:R,iphone:d=>o(d,/iPhone/i),ios:d=>o(d,/iPhone|iPod/i)||R(d),android:M,phablet:d=>{const r=d.innerWidth,f=d.innerHeight,L=Math.min(r,f),I=Math.max(r,f);return L>390&&L<520&&I>620&&I<800},tablet:d=>{const r=d.innerWidth,f=d.innerHeight,L=Math.min(r,f),I=Math.max(r,f);return R(d)||(d=>M(d)&&!o(d,/mobile/i))(d)||L>460&&L<820&&I>780&&I<1400},cordova:te,capacitor:se,electron:d=>o(d,/electron/i),pwa:d=>{var r;return!!(null!==(r=d.matchMedia)&&void 0!==r&&r.call(d,"(display-mode: standalone)").matches||d.navigator.standalone)},mobile:W,mobileweb:d=>W(d)&&!me(d),desktop:d=>!W(d),hybrid:me};let h;const v=d=>d&&(0,a.g)(d)||h,y=(d={})=>{if(typeof window>"u")return;const r=window.document,f=window,L=f.Ionic=f.Ionic||{},I={};d._ael&&(I.ael=d._ael),d._rel&&(I.rel=d._rel),d._ce&&(I.ce=d._ce),(0,a.a)(I);const j=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(d=>{try{const r=d.sessionStorage.getItem(F);return null!==r?JSON.parse(r):{}}catch{return{}}})(f)),{persistConfig:!1}),L.config),(d=>{const r={};return d.location.search.slice(1).split("&").map(f=>f.split("=")).map(([f,L])=>[decodeURIComponent(f),decodeURIComponent(L)]).filter(([f])=>((d,r)=>d.substr(0,r.length)===r)(f,_)).map(([f,L])=>[f.slice(6),L]).forEach(([f,L])=>{r[f]=L}),r})(f)),d);p.reset(j),p.getBoolean("persistConfig")&&((d,r)=>{try{d.sessionStorage.setItem(F,JSON.stringify(r))}catch{return}})(f,j),T(f),L.config=p,L.mode=h=p.get("mode",r.documentElement.getAttribute("mode")||(m(f,"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=pe=>{var De;return null===(De=pe.tagName)||void 0===De?void 0:De.startsWith("ION-")},ie=pe=>["ios","md"].includes(pe);(0,a.c)(pe=>{for(;pe;){const De=pe.mode||pe.getAttribute("mode");if(De){if(ie(De))return De;J(pe)&&console.warn('Invalid ionic mode: "'+De+'", expected: "ios" or "md"')}pe=pe.parentElement}return h})}},4569:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{iosTransitionAnimation:()=>A,shadow:()=>C});var a=E(3503),S=E(7555);E(8476),E(4363);const D=R=>document.querySelector(`${R}.ion-cloned-element`),C=R=>R.shadowRoot||R,_=R=>{const $="ION-TABS"===R.tagName?R:R.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 R.querySelector(k)},F=(R,$)=>{const k="ION-TABS"===R.tagName?R:R.querySelector("ion-tabs");let M=[];if(null!=k){const P=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=P&&(M=P.querySelectorAll("ion-buttons"))}else M=R.querySelectorAll("ion-buttons");for(const P of M){const U=P.closest("ion-header"),V=U&&!U.classList.contains("header-collapse-condense-inactive"),W=P.querySelector("ion-back-button"),oe=P.classList.contains("buttons-collapse");if(null!==W&&("start"===P.slot||""===P.slot)&&(oe&&V&&$||!oe))return W}return null},m=(R,$,k,M,P,U,V,W,oe)=>{var me,te;const se=$?`calc(100% - ${P.right+4}px)`:P.left-4+"px",g=$?"right":"left",n=$?"left":"right",o=$?"right":"left",l=(null===(me=U.textContent)||void 0===me?void 0:me.trim())===(null===(te=W.textContent)||void 0===te?void 0:te.trim()),h=(oe.height-w)/V.height,v=l?`scale(${oe.width/V.width}, ${h})`:`scale(${h})`,y="scale(1)",r=C(M).querySelector("ion-icon").getBoundingClientRect(),f=$?r.width/2-(r.right-P.right)+"px":P.left-r.width/2+"px",L=$?`-${window.innerWidth-P.right}px`:`${P.left}px`,I=`${oe.top}px`,j=`${P.top}px`,pe=k?[{offset:0,transform:`translate3d(${L}, ${j}, 0)`},{offset:1,transform:`translate3d(${f}, ${I}, 0)`}]:[{offset:0,transform:`translate3d(${f}, ${I}, 0)`},{offset:1,transform:`translate3d(${L}, ${j}, 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}],xe=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)"}],Te=(0,a.c)(),Be=(0,a.c)(),re=(0,a.c)(),ne=D("ion-back-button"),G=C(ne).querySelector(".button-text"),ge=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"),Be.addElement(ge),Te.addElement(G),re.addElement(ne),re.beforeStyles({position:"absolute",top:"0px",[o]:"0px"}).keyframes(pe),Te.beforeStyles({"transform-origin":`${g} top`}).beforeAddWrite(()=>{M.style.setProperty("display","none"),ne.style.setProperty(g,se)}).afterAddWrite(()=>{M.style.setProperty("display",""),ne.style.setProperty("display","none"),ne.style.removeProperty(g)}).keyframes(ae),Be.beforeStyles({"transform-origin":`${n} center`}).keyframes(xe),R.addAnimation([Te,Be,re])},T=(R,$,k,M,P,U,V,W)=>{var oe,me;const te=$?"right":"left",se=$?`calc(100% - ${P.right}px)`:`${P.left}px`,n=`${P.top}px`,l=$?`-${window.innerWidth-W.right-8}px`:W.x-8+"px",h=W.y-2+"px",v=(null===(oe=V.textContent)||void 0===oe?void 0:oe.trim())===(null===(me=M.textContent)||void 0===me?void 0:me.trim()),d=W.height/(U.height-w),r="scale(1)",f=v?`scale(${W.width/U.width}, ${d})`:`scale(${d})`,j=k?[{offset:0,opacity:0,transform:`translate3d(${l}, ${h}, 0) ${f}`},{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(${l}, ${h}, 0) ${f}`}],J=D("ion-title"),ie=(0,a.c)();J.innerText=M.innerText,J.size=M.size,J.color=M.color,ie.addElement(J),ie.beforeStyles({"transform-origin":`${te} top`,height:`${P.height}px`,display:"",position:"relative",[te]:se}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),J.style.setProperty("display","none")}).keyframes(j),R.addAnimation(ie)},A=(R,$)=>{var k;try{const M="cubic-bezier(0.32,0.72,0,1)",P="opacity",U="transform",V="0%",oe="rtl"===R.ownerDocument.dir,me=oe?"-99.5%":"99.5%",te=oe?"33%":"-33%",se=$.enteringEl,g=$.leavingEl,n="back"===$.direction,o=se.querySelector(":scope > ion-content"),l=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"),g&&null!=R){const f=(0,a.c)();f.addElement(R),h.addAnimation(f)}if(o||0!==s.length||0!==l.length?(v.addElement(o),v.addElement(l)):v.addElement(se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(v),n?v.beforeClearStyles([P]).fromTo("transform",`translateX(${te})`,`translateX(${V})`).fromTo(P,.8,1):v.beforeClearStyles([P]).fromTo("transform",`translateX(${me})`,`translateX(${V})`),o){const f=C(o).querySelector(".transition-effect");if(f){const L=f.querySelector(".transition-cover"),I=f.querySelector(".transition-shadow"),j=(0,a.c)(),J=(0,a.c)(),ie=(0,a.c)();j.addElement(f).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),J.addElement(L).beforeClearStyles([P]).fromTo(P,0,.1),ie.addElement(I).beforeClearStyles([P]).fromTo(P,.03,.7),j.addAnimation([J,ie]),v.addAnimation([j])}}const y=se.querySelector("ion-header.header-collapse-condense"),{forward:d,backward:r}=((R,$,k,M,P)=>{const U=F(M,k),V=_(P),W=_(M),oe=F(P,k),me=null!==U&&null!==V&&!k,te=null!==W&&null!==oe&&k;if(me){const se=V.getBoundingClientRect(),g=U.getBoundingClientRect(),n=C(U).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(V).querySelector(".toolbar-title").getBoundingClientRect();T(R,$,k,V,se,s,n,o),m(R,$,k,U,g,n,o,V,s)}else if(te){const se=W.getBoundingClientRect(),g=oe.getBoundingClientRect(),n=C(oe).querySelector(".button-text"),o=n.getBoundingClientRect(),s=C(W).querySelector(".toolbar-title").getBoundingClientRect();T(R,$,k,W,se,s,n,o),m(R,$,k,oe,g,n,o,W,s)}return{forward:me,backward:te}})(h,oe,n,se,g);if(s.forEach(f=>{const L=(0,a.c)();L.addElement(f),h.addAnimation(L);const I=(0,a.c)();I.addElement(f.querySelector("ion-title"));const j=(0,a.c)(),J=Array.from(f.querySelectorAll("ion-buttons,[menuToggle]")),ie=f.closest("ion-header"),pe=null==ie?void 0:ie.classList.contains("header-collapse-condense-inactive");let De;De=J.filter(n?xe=>{const Te=xe.classList.contains("buttons-collapse");return Te&&!pe||!Te}:xe=>!xe.classList.contains("buttons-collapse")),j.addElement(De);const Q=(0,a.c)();Q.addElement(f.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const ae=(0,a.c)();ae.addElement(C(f).querySelector(".toolbar-background"));const qe=(0,a.c)(),Oe=f.querySelector("ion-back-button");if(Oe&&qe.addElement(Oe),L.addAnimation([I,j,Q,ae,qe]),j.fromTo(P,.01,1),Q.fromTo(P,.01,1),n)pe||I.fromTo("transform",`translateX(${te})`,`translateX(${V})`).fromTo(P,.01,1),Q.fromTo("transform",`translateX(${te})`,`translateX(${V})`),qe.fromTo(P,.01,1);else if(y||I.fromTo("transform",`translateX(${me})`,`translateX(${V})`).fromTo(P,.01,1),Q.fromTo("transform",`translateX(${me})`,`translateX(${V})`),ae.beforeClearStyles([P,"transform"]),(null==ie?void 0:ie.translucent)?ae.fromTo("transform",oe?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ae.fromTo(P,.01,"var(--opacity)"),d||qe.fromTo(P,.01,1),Oe&&!d){const Te=(0,a.c)();Te.addElement(C(Oe).querySelector(".button-text")).fromTo("transform",oe?"translateX(-100px)":"translateX(100px)","translateX(0px)"),L.addAnimation(Te)}}),g){const f=(0,a.c)(),L=g.querySelector(":scope > ion-content"),I=g.querySelectorAll(":scope > ion-header > ion-toolbar"),j=g.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(L||0!==I.length||0!==j.length?(f.addElement(L),f.addElement(j)):f.addElement(g.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(f),n){f.beforeClearStyles([P]).fromTo("transform",`translateX(${V})`,oe?"translateX(-100%)":"translateX(100%)");const J=(0,S.g)(g);h.afterAddWrite(()=>{"normal"===h.getDirection()&&J.style.setProperty("display","none")})}else f.fromTo("transform",`translateX(${V})`,`translateX(${te})`).fromTo(P,1,.8);if(L){const J=C(L).querySelector(".transition-effect");if(J){const ie=J.querySelector(".transition-cover"),pe=J.querySelector(".transition-shadow"),De=(0,a.c)(),Q=(0,a.c)(),ae=(0,a.c)();De.addElement(J).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Q.addElement(ie).beforeClearStyles([P]).fromTo(P,.1,0),ae.addElement(pe).beforeClearStyles([P]).fromTo(P,.7,.03),De.addAnimation([Q,ae]),f.addAnimation([De])}}I.forEach(J=>{const ie=(0,a.c)();ie.addElement(J);const pe=(0,a.c)();pe.addElement(J.querySelector("ion-title"));const De=(0,a.c)(),Q=J.querySelectorAll("ion-buttons,[menuToggle]"),ae=J.closest("ion-header"),qe=null==ae?void 0:ae.classList.contains("header-collapse-condense-inactive"),Oe=Array.from(Q).filter(G=>{const ge=G.classList.contains("buttons-collapse");return ge&&!qe||!ge});De.addElement(Oe);const xe=(0,a.c)(),Te=J.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Te.length>0&&xe.addElement(Te);const Be=(0,a.c)();Be.addElement(C(J).querySelector(".toolbar-background"));const re=(0,a.c)(),ne=J.querySelector("ion-back-button");if(ne&&re.addElement(ne),ie.addAnimation([pe,De,xe,re,Be]),h.addAnimation(ie),re.fromTo(P,.99,0),De.fromTo(P,.99,0),xe.fromTo(P,.99,0),n){if(qe||pe.fromTo("transform",`translateX(${V})`,oe?"translateX(-100%)":"translateX(100%)").fromTo(P,.99,0),xe.fromTo("transform",`translateX(${V})`,oe?"translateX(-100%)":"translateX(100%)"),Be.beforeClearStyles([P,"transform"]),(null==ae?void 0:ae.translucent)?Be.fromTo("transform","translateX(0px)",oe?"translateX(-100%)":"translateX(100%)"):Be.fromTo(P,"var(--opacity)",0),ne&&!r){const ge=(0,a.c)();ge.addElement(C(ne).querySelector(".button-text")).fromTo("transform",`translateX(${V})`,`translateX(${(oe?-124:124)+"px"})`),ie.addAnimation(ge)}}else qe||pe.fromTo("transform",`translateX(${V})`,`translateX(${te})`).fromTo(P,.99,0).afterClearStyles([U,P]),xe.fromTo("transform",`translateX(${V})`,`translateX(${te})`).afterClearStyles([U,P]),re.afterClearStyles([P]),pe.afterClearStyles([P]),De.afterClearStyles([P])})}return h}catch(M){throw M}},w=10},2942:(Ce,ee,E)=>{"use strict";E.r(ee),E.d(ee,{mdTransitionAnimation:()=>c});var a=E(3503),S=E(7555);E(8476),E(4363);const c=(D,C)=>{var _,F,B;const m="40px",A="back"===C.direction,R=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!==(F=C.duration)&&void 0!==F?F:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${m})`,"translateY(0px)").fromTo("opacity",.01,1),k){const P=(0,a.c)();P.addElement(k),M.addAnimation(P)}if(R&&A){M.duration((null!==(B=C.duration)&&void 0!==B?B:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const P=(0,a.c)();P.addElement((0,S.g)(R)).onFinish(U=>{1===U&&P.elements.length>0&&P.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${m})`).fromTo("opacity",1,0),M.addAnimation(P)}return M}},5516:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>De,G:()=>Q,O:()=>ae,a:()=>T,b:()=>A,c:()=>k,d:()=>qe,e:()=>Oe,f:()=>y,g:()=>r,h:()=>I,i:()=>J,j:()=>P,k:()=>U,l:()=>w,m:()=>R,n:()=>me,o:()=>h,s:()=>pe,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,F=0;const B=new WeakMap,m=Be=>({create:re=>V(Be,re),dismiss:(re,ne,G)=>o(document,re,ne,Be,G),getTop:()=>(0,a.A)(function*(){return h(document,Be)})()}),T=m("ion-alert"),A=m("ion-action-sheet"),w=m("ion-loading"),R=m("ion-modal"),k=m("ion-popover"),M=m("ion-toast"),P=Be=>{typeof document<"u"&&n(document);const re=_++;Be.overlayIndex=re},U=Be=>(Be.hasAttribute("id")||(Be.id="ion-overlay-"+ ++F),Be.id),V=(Be,re)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Be).then(()=>{const ne=document.createElement(Be);return ne.classList.add("overlay-hidden"),Object.assign(ne,Object.assign(Object.assign({},re),{hasController:!0})),f(document).appendChild(ne),new Promise(G=>(0,D.c)(ne,G))}):Promise.resolve(),W='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',me=(Be,re)=>{const ne=Be.querySelector(W);se(ne,re)},te=(Be,re)=>{const ne=Array.from(Be.querySelectorAll(W));se(ne.length>0?ne[ne.length-1]:null,re)},se=(Be,re)=>{let ne=Be;const G=null==Be?void 0:Be.shadowRoot;G&&(ne=G.querySelector(W)||Be),ne?(0,D.f)(ne):re.focus()},n=Be=>{0===_&&(_=1,Be.addEventListener("focus",re=>{((Be,re)=>{const ne=h(re,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),G=Be.target;ne&&G&&!ne.classList.contains("ion-disable-focus-trap")&&(ne.shadowRoot?(()=>{if(ne.contains(G))ne.lastFocus=G;else if("ION-TOAST"===G.tagName)se(ne.lastFocus,ne);else{const Qe=ne.lastFocus;me(ne,ne),Qe===re.activeElement&&te(ne,ne),ne.lastFocus=re.activeElement}})():(()=>{if(ne===G)ne.lastFocus=void 0;else if("ION-TOAST"===G.tagName)se(ne.lastFocus,ne);else{const Qe=(0,D.g)(ne);if(!Qe.contains(G))return;const rt=Qe.querySelector(".ion-overlay-wrapper");if(!rt)return;if(rt.contains(G)||G===Qe.querySelector("ion-backdrop"))ne.lastFocus=G;else{const rn=ne.lastFocus;me(rt,ne),rn===re.activeElement&&te(rt,ne),ne.lastFocus=re.activeElement}}})())})(re,Be)},!0),Be.addEventListener("ionBackButton",re=>{const ne=h(Be);null!=ne&&ne.backdropDismiss&&re.detail.register(p.OVERLAY_BACK_BUTTON_PRIORITY,()=>{ne.dismiss(void 0,De)})}),(0,p.shouldUseCloseWatcher)()||Be.addEventListener("keydown",re=>{if("Escape"===re.key){const ne=h(Be);null!=ne&&ne.backdropDismiss&&ne.dismiss(void 0,De)}}))},o=(Be,re,ne,G,ge)=>{const xt=h(Be,G,ge);return xt?xt.dismiss(re,ne):Promise.reject("overlay does not exist")},s=(Be,re)=>((Be,re)=>(void 0===re&&(re="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Be.querySelectorAll(re)).filter(ne=>ne.overlayIndex>0)))(Be,re).filter(ne=>!(Be=>Be.classList.contains("overlay-hidden"))(ne)),h=(Be,re,ne)=>{const G=s(Be,re);return void 0===ne?G[G.length-1]:G.find(ge=>ge.id===ne)},v=(Be=!1)=>{const ne=f(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");ne&&(Be?ne.setAttribute("aria-hidden","true"):ne.removeAttribute("aria-hidden"))},y=function(){var Be=(0,a.A)(function*(re,ne,G,ge,xt){var Qe,rt;if(re.presented)return;v(!0),xe(re.el),re.presented=!0,re.willPresent.emit(),null===(Qe=re.willPresentShorthand)||void 0===Qe||Qe.emit();const rn=(0,O.b)(re),mt=re.enterAnimation?re.enterAnimation:O.c.get(ne,"ios"===rn?G:ge);(yield L(re,mt,re.el,xt))&&(re.didPresent.emit(),null===(rt=re.didPresentShorthand)||void 0===rt||rt.emit()),"ION-TOAST"!==re.el.tagName&&d(re.el),re.keyboardClose&&(null===document.activeElement||!re.el.contains(document.activeElement))&&re.el.focus(),re.el.removeAttribute("aria-hidden")});return function(ne,G,ge,xt,Qe){return Be.apply(this,arguments)}}(),d=function(){var Be=(0,a.A)(function*(re){let ne=document.activeElement;if(!ne)return;const G=null==ne?void 0:ne.shadowRoot;G&&(ne=G.querySelector(W)||ne),yield re.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&ne.focus()});return function(ne){return Be.apply(this,arguments)}}(),r=function(){var Be=(0,a.A)(function*(re,ne,G,ge,xt,Qe,rt){var rn,mt;if(!re.presented)return!1;void 0!==S.d&&1===s(S.d).length&&v(!1),re.presented=!1;try{re.el.style.setProperty("pointer-events","none"),re.willDismiss.emit({data:ne,role:G}),null===(rn=re.willDismissShorthand)||void 0===rn||rn.emit({data:ne,role:G});const ft=(0,O.b)(re),un=re.leaveAnimation?re.leaveAnimation:O.c.get(ge,"ios"===ft?xt:Qe);G!==Q&&(yield L(re,un,re.el,rt)),re.didDismiss.emit({data:ne,role:G}),null===(mt=re.didDismissShorthand)||void 0===mt||mt.emit({data:ne,role:G}),(B.get(re)||[]).forEach(It=>It.destroy()),B.delete(re),re.el.classList.add("overlay-hidden"),re.el.style.removeProperty("pointer-events"),void 0!==re.el.lastFocus&&(re.el.lastFocus=void 0)}catch(ft){console.error(ft)}return re.el.remove(),Te(),!0});return function(ne,G,ge,xt,Qe,rt,rn){return Be.apply(this,arguments)}}(),f=Be=>Be.querySelector("ion-app")||Be.body,L=function(){var Be=(0,a.A)(function*(re,ne,G,ge){G.classList.remove("overlay-hidden");const Qe=ne(re.el,ge);(!re.animated||!O.c.getBoolean("animated",!0))&&Qe.duration(0),re.keyboardClose&&Qe.beforeAddWrite(()=>{const rn=G.ownerDocument.activeElement;null!=rn&&rn.matches("input,ion-input, ion-textarea")&&rn.blur()});const rt=B.get(re)||[];return B.set(re,[...rt,Qe]),yield Qe.play(),!0});return function(ne,G,ge,xt){return Be.apply(this,arguments)}}(),I=(Be,re)=>{let ne;const G=new Promise(ge=>ne=ge);return j(Be,re,ge=>{ne(ge.detail)}),G},j=(Be,re,ne)=>{const G=ge=>{(0,D.b)(Be,re,G),ne(ge)};(0,D.a)(Be,re,G)},J=Be=>"cancel"===Be||Be===De,ie=Be=>Be(),pe=(Be,re)=>{if("function"==typeof Be)return O.c.get("_zoneGate",ie)(()=>{try{return Be(re)}catch(G){throw G}})},De="backdrop",Q="gesture",ae=39,qe=Be=>{let ne,re=!1;const G=(0,c.C)(),ge=(rt=!1)=>{if(ne&&!rt)return{delegate:ne,inline:re};const{el:rn,hasController:mt,delegate:ft}=Be;return re=null!==rn.parentNode&&!mt,ne=re?ft||G:ft,{inline:re,delegate:ne}};return{attachViewToDom:function(){var rt=(0,a.A)(function*(rn){const{delegate:mt}=ge(!0);if(mt)return yield mt.attachViewToDom(Be.el,rn);const{hasController:ft}=Be;if(ft&&void 0!==rn)throw new Error("framework delegate is missing");return null});return function(mt){return rt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:rt}=ge();rt&&void 0!==Be.el&&rt.removeViewFromDom(Be.el.parentElement,Be.el)}}},Oe=()=>{let Be;const re=()=>{Be&&(Be(),Be=void 0)};return{addClickListener:(G,ge)=>{re();const xt=void 0!==ge?document.getElementById(ge):null;xt?Be=((rt,rn)=>{const mt=()=>{rn.present()};return rt.addEventListener("click",mt),()=>{rt.removeEventListener("click",mt)}})(xt,G):(0,C.p)(`A trigger element with the ID "${ge}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,G)},removeClickListener:re}},xe=Be=>{var re;if(void 0===S.d)return;const ne=s(S.d);for(let G=ne.length-1;G>=0;G--){const ge=ne[G],xt=null!==(re=ne[G+1])&&void 0!==re?re:Be;(xt.hasAttribute("aria-hidden")||"ION-TOAST"!==xt.tagName)&&ge.setAttribute("aria-hidden","true")}},Te=()=>{if(void 0===S.d)return;const Be=s(S.d);for(let re=Be.length-1;re>=0;re--){const ne=Be[re];if(ne.removeAttribute("aria-hidden"),"ION-TOAST"!==ne.tagName)break}}},1288:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>M,b:()=>rn,c:()=>W,f:()=>xe,g:()=>V,h:()=>$,p:()=>zn,r:()=>Ft});var a=E(467);let p,O,c=!1,D=!1;const B={},w=Pe=>"object"==(Pe=typeof Pe)||"function"===Pe;function R(Pe){var Se,ze,Et;return null!==(Et=null===(ze=null===(Se=Pe.head)||void 0===Se?void 0:Se.querySelector('meta[name="csp-nonce"]'))||void 0===ze?void 0:ze.getAttribute("content"))&&void 0!==Et?Et:void 0}const $=(Pe,Se,...ze)=>{let Et=null,Je=!1,st=!1;const en=[],yt=Kt=>{for(let Pt=0;PtKt[Pt]).join(" "))}const vt=k(Pe,null);return vt.$attrs$=Se,en.length>0&&(vt.$children$=en),vt},k=(Pe,Se)=>({$flags$:0,$tag$:Pe,$text$:Se,$elm$:null,$children$:null,$attrs$:null}),M={},V=Pe=>St(Pe).$hostElement$,W=(Pe,Se,ze)=>{const Et=V(Pe);return{emit:Je=>oe(Et,Se,{bubbles:!!(4&ze),composed:!!(2&ze),cancelable:!!(1&ze),detail:Je})}},oe=(Pe,Se,ze)=>{const Et=Ot.ce(Se,ze);return Pe.dispatchEvent(Et),Et},me=new WeakMap,n=(Pe,Se)=>"sc-"+Pe.$tagName$,o=(Pe,Se,ze,Et,Je,st)=>{if(ze!==Et){let en=bt(Pe,Se),yt=Se.toLowerCase();if("class"===Se){const vt=Pe.classList,Kt=s(ze),Pt=s(Et);vt.remove(...Kt.filter(Rt=>Rt&&!Pt.includes(Rt))),vt.add(...Pt.filter(Rt=>Rt&&!Kt.includes(Rt)))}else if("style"===Se){for(const vt in ze)(!Et||null==Et[vt])&&(vt.includes("-")?Pe.style.removeProperty(vt):Pe.style[vt]="");for(const vt in Et)(!ze||Et[vt]!==ze[vt])&&(vt.includes("-")?Pe.style.setProperty(vt,Et[vt]):Pe.style[vt]=Et[vt])}else if("ref"===Se)Et&&Et(Pe);else if(en||"o"!==Se[0]||"n"!==Se[1]){const vt=w(Et);if((en||vt&&null!==Et)&&!Je)try{if(Pe.tagName.includes("-"))Pe[Se]=Et;else{const Kt=null==Et?"":Et;"list"===Se?en=!1:(null==ze||Pe[Se]!=Kt)&&(Pe[Se]=Kt)}}catch{}null==Et||!1===Et?(!1!==Et||""===Pe.getAttribute(Se))&&Pe.removeAttribute(Se):(!en||4&st||Je)&&!vt&&Pe.setAttribute(Se,Et=!0===Et?"":Et)}else Se="-"===Se[2]?Se.slice(3):bt(Wt,yt)?yt.slice(2):yt[2]+Se.slice(3),ze&&Ot.rel(Pe,Se,ze,!1),Et&&Ot.ael(Pe,Se,Et,!1)}},l=/\s/,s=Pe=>Pe?Pe.split(l):[],h=(Pe,Se,ze,Et)=>{const Je=11===Se.$elm$.nodeType&&Se.$elm$.host?Se.$elm$.host:Se.$elm$,st=Pe&&Pe.$attrs$||B,en=Se.$attrs$||B;for(Et in st)Et in en||o(Je,Et,st[Et],void 0,ze,Se.$flags$);for(Et in en)o(Je,Et,st[Et],en[Et],ze,Se.$flags$)},v=(Pe,Se,ze,Et)=>{const Je=Se.$children$[ze];let en,yt,st=0;if(null!==Je.$text$)en=Je.$elm$=Nt.createTextNode(Je.$text$);else{if(c||(c="svg"===Je.$tag$),en=Je.$elm$=Nt.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)&&en["s-si"]!==p&&en.classList.add(en["s-si"]=p),Je.$children$)for(st=0;st{let yt,en=Pe;for(en.shadowRoot&&en.tagName===O&&(en=en.shadowRoot);Je<=st;++Je)Et[Je]&&(yt=v(null,ze,Je),yt&&(Et[Je].$elm$=yt,en.insertBefore(yt,Se)))},d=(Pe,Se,ze)=>{for(let Et=Se;Et<=ze;++Et){const Je=Pe[Et];if(Je){const st=Je.$elm$;I(Je),st&&st.remove()}}},f=(Pe,Se)=>Pe.$tag$===Se.$tag$,L=(Pe,Se)=>{const ze=Se.$elm$=Pe.$elm$,Et=Pe.$children$,Je=Se.$children$,st=Se.$tag$,en=Se.$text$;null===en?(c="svg"===st||"foreignObject"!==st&&c,h(Pe,Se,c),null!==Et&&null!==Je?((Pe,Se,ze,Et)=>{let On,Je=0,st=0,en=Se.length-1,yt=Se[0],vt=Se[en],Kt=Et.length-1,Pt=Et[0],Rt=Et[Kt];for(;Je<=en&&st<=Kt;)null==yt?yt=Se[++Je]:null==vt?vt=Se[--en]:null==Pt?Pt=Et[++st]:null==Rt?Rt=Et[--Kt]:f(yt,Pt)?(L(yt,Pt),yt=Se[++Je],Pt=Et[++st]):f(vt,Rt)?(L(vt,Rt),vt=Se[--en],Rt=Et[--Kt]):f(yt,Rt)?(L(yt,Rt),Pe.insertBefore(yt.$elm$,vt.$elm$.nextSibling),yt=Se[++Je],Rt=Et[--Kt]):f(vt,Pt)?(L(vt,Pt),Pe.insertBefore(vt.$elm$,yt.$elm$),vt=Se[--en],Pt=Et[++st]):(On=v(Se&&Se[st],ze,st),Pt=Et[++st],On&&yt.$elm$.parentNode.insertBefore(On,yt.$elm$));Je>en?y(Pe,null==Et[Kt+1]?null:Et[Kt+1].$elm$,ze,Et,st,Kt):st>Kt&&d(Se,Je,en)})(ze,Et,Se,Je):null!==Je?(null!==Pe.$text$&&(ze.textContent=""),y(ze,null,Se,Je,0,Je.length-1)):null!==Et&&d(Et,0,Et.length-1),c&&"svg"===st&&(c=!1)):Pe.$text$!==en&&(ze.data=en)},I=Pe=>{Pe.$attrs$&&Pe.$attrs$.ref&&Pe.$attrs$.ref(null),Pe.$children$&&Pe.$children$.map(I)},J=(Pe,Se)=>{Se&&!Pe.$onRenderResolve$&&Se["s-p"]&&Se["s-p"].push(new Promise(ze=>Pe.$onRenderResolve$=ze))},ie=(Pe,Se)=>{if(Pe.$flags$|=16,!(4&Pe.$flags$))return J(Pe,Pe.$ancestorComponent$),it(()=>pe(Pe,Se));Pe.$flags$|=512},pe=(Pe,Se)=>{const Et=Pe.$lazyInstance$;return Se&&(Pe.$flags$|=256,Pe.$queuedListeners$&&(Pe.$queuedListeners$.map(([st,en])=>Be(Et,st,en)),Pe.$queuedListeners$=void 0)),De(void 0,()=>ae(Pe,Et,Se))},De=(Pe,Se)=>Q(Pe)?Pe.then(Se):Se(),Q=Pe=>Pe instanceof Promise||Pe&&Pe.then&&"function"==typeof Pe.then,ae=function(){var Pe=(0,a.A)(function*(Se,ze,Et){var Je;const st=Se.$hostElement$,yt=st["s-rc"];Et&&(Pe=>{const Se=Pe.$cmpMeta$,ze=Pe.$hostElement$,Et=Se.$flags$,st=((Pe,Se,ze,Et)=>{var Je;let st=n(Se);const en=Lt.get(st);if(Pe=11===Pe.nodeType?Pe:Nt,en)if("string"==typeof en){let vt,yt=me.get(Pe=Pe.head||Pe);if(yt||me.set(Pe,yt=new Set),!yt.has(st)){{vt=Nt.createElement("style"),vt.innerHTML=en;const Kt=null!==(Je=Ot.$nonce$)&&void 0!==Je?Je:R(Nt);null!=Kt&&vt.setAttribute("nonce",Kt),Pe.insertBefore(vt,Pe.querySelector("link"))}yt&&yt.add(st)}}else Pe.adoptedStyleSheets.includes(en)||(Pe.adoptedStyleSheets=[...Pe.adoptedStyleSheets,en]);return st})(ze.shadowRoot?ze.shadowRoot:ze.getRootNode(),Se);10&Et&&(ze["s-sc"]=st,ze.classList.add(st+"-h"))})(Se);qe(Se,ze),yt&&(yt.map(Kt=>Kt()),st["s-rc"]=void 0);{const Kt=null!==(Je=st["s-p"])&&void 0!==Je?Je:[],Pt=()=>Oe(Se);0===Kt.length?Pt():(Promise.all(Kt).then(Pt),Se.$flags$|=4,Kt.length=0)}});return function(ze,Et,Je){return Pe.apply(this,arguments)}}(),qe=(Pe,Se,ze)=>{try{Se=Se.render(),Pe.$flags$&=-17,Pe.$flags$|=2,((Pe,Se)=>{const ze=Pe.$hostElement$,Et=Pe.$vnode$||k(null,null),Je=(Pe=>Pe&&Pe.$tag$===M)(Se)?Se:$(null,null,Se);O=ze.tagName,Je.$tag$=null,Je.$flags$|=4,Pe.$vnode$=Je,Je.$elm$=Et.$elm$=ze.shadowRoot||ze,p=ze["s-sc"],L(Et,Je)})(Pe,Se)}catch(Et){wt(Et,Pe.$hostElement$)}return null},Oe=Pe=>{const ze=Pe.$hostElement$,Je=Pe.$lazyInstance$,st=Pe.$ancestorComponent$;64&Pe.$flags$||(Pe.$flags$|=64,re(ze),Be(Je,"componentDidLoad"),Pe.$onReadyResolve$(ze),st||Te()),Pe.$onInstanceResolve$(ze),Pe.$onRenderResolve$&&(Pe.$onRenderResolve$(),Pe.$onRenderResolve$=void 0),512&Pe.$flags$&&je(()=>ie(Pe,!1)),Pe.$flags$&=-517},xe=Pe=>{{const Se=St(Pe),ze=Se.$hostElement$.isConnected;return ze&&2==(18&Se.$flags$)&&ie(Se,!1),ze}},Te=Pe=>{re(Nt.documentElement),je(()=>oe(Wt,"appload",{detail:{namespace:"ionicpwaelements"}}))},Be=(Pe,Se,ze)=>{if(Pe&&Pe[Se])try{return Pe[Se](ze)}catch(Et){wt(Et)}},re=Pe=>Pe.classList.add("hydrated"),ge=(Pe,Se,ze)=>{if(Se.$members$){const Et=Object.entries(Se.$members$),Je=Pe.prototype;if(Et.map(([st,[en]])=>{31&en||2&ze&&32&en?Object.defineProperty(Je,st,{get(){return((Pe,Se)=>St(this).$instanceValues$.get(Se))(0,st)},set(yt){((Pe,Se,ze,Et)=>{const Je=St(Pe),st=Je.$instanceValues$.get(Se),en=Je.$flags$,yt=Je.$lazyInstance$;ze=((Pe,Se)=>null==Pe||w(Pe)?Pe:4&Se?"false"!==Pe&&(""===Pe||!!Pe):2&Se?parseFloat(Pe):1&Se?String(Pe):Pe)(ze,Et.$members$[Se][0]);const vt=Number.isNaN(st)&&Number.isNaN(ze);(!(8&en)||void 0===st)&&ze!==st&&!vt&&(Je.$instanceValues$.set(Se,ze),yt&&2==(18&en)&&ie(Je,!1))})(this,st,yt,Se)},configurable:!0,enumerable:!0}):1&ze&&64&en&&Object.defineProperty(Je,st,{value(...yt){const vt=St(this);return vt.$onInstancePromise$.then(()=>vt.$lazyInstance$[st](...yt))}})}),1&ze){const st=new Map;Je.attributeChangedCallback=function(en,yt,vt){Ot.jmp(()=>{const Kt=st.get(en);if(this.hasOwnProperty(Kt))vt=this[Kt],delete this[Kt];else if(Je.hasOwnProperty(Kt)&&"number"==typeof this[Kt]&&this[Kt]==vt)return;this[Kt]=(null!==vt||"boolean"!=typeof this[Kt])&&vt})},Pe.observedAttributes=Et.filter(([en,yt])=>15&yt[0]).map(([en,yt])=>{const vt=yt[1]||en;return st.set(vt,en),vt})}}return Pe},xt=function(){var Pe=(0,a.A)(function*(Se,ze,Et,Je,st){if(!(32&ze.$flags$)){ze.$flags$|=32;{if((st=Bt(Et)).then){const Kt=()=>{};st=yield st,Kt()}st.isProxied||(ge(st,Et,2),st.isProxied=!0);const vt=()=>{};ze.$flags$|=8;try{new st(ze)}catch(Kt){wt(Kt)}ze.$flags$&=-9,vt()}if(st.style){let vt=st.style;const Kt=n(Et);if(!Lt.has(Kt)){const Pt=()=>{};((Pe,Se,ze)=>{let Et=Lt.get(Pe);Ut&&ze?(Et=Et||new CSSStyleSheet,"string"==typeof Et?Et=Se:Et.replaceSync(Se)):Et=Se,Lt.set(Pe,Et)})(Kt,vt,!!(1&Et.$flags$)),Pt()}}}const en=ze.$ancestorComponent$,yt=()=>ie(ze,!0);en&&en["s-rc"]?en["s-rc"].push(yt):yt()});return function(ze,Et,Je,st,en){return Pe.apply(this,arguments)}}(),rn=(Pe,Se={})=>{var ze;const Je=[],st=Se.exclude||[],en=Wt.customElements,yt=Nt.head,vt=yt.querySelector("meta[charset]"),Kt=Nt.createElement("style"),Pt=[];let Rt,On=!0;Object.assign(Ot,Se),Ot.$resourcesUrl$=new URL(Se.resourcesUrl||"./",Nt.baseURI).href,Pe.map(An=>{An[1].map(Bn=>{const Mn={$flags$:Bn[0],$tagName$:Bn[1],$members$:Bn[2],$listeners$:Bn[3]};Mn.$members$=Bn[2],Mn.$listeners$=Bn[3];const Wn=Mn.$tagName$,Ln=class extends HTMLElement{constructor(Fn){super(Fn),bn(Fn=this,Mn),1&Mn.$flags$&&Fn.attachShadow({mode:"open"})}connectedCallback(){Rt&&(clearTimeout(Rt),Rt=null),On?Pt.push(this):Ot.jmp(()=>(Pe=>{if(!(1&Ot.$flags$)){const Se=St(Pe),ze=Se.$cmpMeta$,Et=()=>{};if(1&Se.$flags$)mt(Pe,Se,ze.$listeners$);else{Se.$flags$|=1;{let Je=Pe;for(;Je=Je.parentNode||Je.host;)if(Je["s-p"]){J(Se,Se.$ancestorComponent$=Je);break}}ze.$members$&&Object.entries(ze.$members$).map(([Je,[st]])=>{if(31&st&&Pe.hasOwnProperty(Je)){const en=Pe[Je];delete Pe[Je],Pe[Je]=en}}),xt(Pe,Se,ze)}Et()}})(this))}disconnectedCallback(){Ot.jmp(()=>(Pe=>{if(!(1&Ot.$flags$)){const Se=St(this),ze=Se.$lazyInstance$;Se.$rmListeners$&&(Se.$rmListeners$.map(Et=>Et()),Se.$rmListeners$=void 0),Be(ze,"disconnectedCallback")}})())}componentOnReady(){return St(this).$onReadyPromise$}};Mn.$lazyBundleId$=An[0],!st.includes(Wn)&&!en.get(Wn)&&(Je.push(Wn),en.define(Wn,ge(Ln,Mn,1)))})});{Kt.innerHTML=Je+"{visibility:hidden}.hydrated{visibility:inherit}",Kt.setAttribute("data-styles","");const An=null!==(ze=Ot.$nonce$)&&void 0!==ze?ze:R(Nt);null!=An&&Kt.setAttribute("nonce",An),yt.insertBefore(Kt,vt?vt.nextSibling:yt.firstChild)}On=!1,Pt.length?Pt.map(An=>An.connectedCallback()):Ot.jmp(()=>Rt=setTimeout(Te,30))},mt=(Pe,Se,ze,Et)=>{ze&&ze.map(([Je,st,en])=>{const yt=un(Pe,Je),vt=ft(Se,en),Kt=At(Je);Ot.ael(yt,st,vt,Kt),(Se.$rmListeners$=Se.$rmListeners$||[]).push(()=>Ot.rel(yt,st,vt,Kt))})},ft=(Pe,Se)=>ze=>{try{256&Pe.$flags$?Pe.$lazyInstance$[Se](ze):(Pe.$queuedListeners$=Pe.$queuedListeners$||[]).push([Se,ze])}catch(Et){wt(Et)}},un=(Pe,Se)=>16&Se?Nt.body:Pe,At=Pe=>!!(2&Pe),Cn=new WeakMap,St=Pe=>Cn.get(Pe),Ft=(Pe,Se)=>Cn.set(Se.$lazyInstance$=Pe,Se),bn=(Pe,Se)=>{const ze={$flags$:0,$hostElement$:Pe,$cmpMeta$:Se,$instanceValues$:new Map};return ze.$onInstancePromise$=new Promise(Et=>ze.$onInstanceResolve$=Et),ze.$onReadyPromise$=new Promise(Et=>ze.$onReadyResolve$=Et),Pe["s-p"]=[],Pe["s-rc"]=[],mt(Pe,ze,Se.$listeners$),Cn.set(Pe,ze)},bt=(Pe,Se)=>Se in Pe,wt=(Pe,Se)=>(0,console.error)(Pe,Se),Dn=new Map,Bt=(Pe,Se,ze)=>{const Et=Pe.$tagName$.replace(/-/g,"_"),Je=Pe.$lazyBundleId$,st=Dn.get(Je);if(st)return st[Et];if(!ze||!BUILD.hotModuleReplacement){const en=yt=>(Dn.set(Je,yt),yt[Et]);switch(Je){case"pwa-action-sheet":return E.e(6301).then(E.bind(E,6301)).then(en,wt);case"pwa-camera-modal":return E.e(2982).then(E.bind(E,2982)).then(en,wt);case"pwa-toast":return E.e(3574).then(E.bind(E,3574)).then(en,wt);case"pwa-camera-modal-instance":return E.e(5640).then(E.bind(E,5640)).then(en,wt);case"pwa-camera":return E.e(6086).then(E.bind(E,6086)).then(en,wt)}}return E(5235)(`./${Je}.entry.js`).then(en=>(Dn.set(Je,en),en[Et]),wt)},Lt=new Map,Wt=typeof window<"u"?window:{},Nt=Wt.document||{head:{}},Ot={$flags$:0,$resourcesUrl$:"",jmp:Pe=>Pe(),raf:Pe=>requestAnimationFrame(Pe),ael:(Pe,Se,ze,Et)=>Pe.addEventListener(Se,ze,Et),rel:(Pe,Se,ze,Et)=>Pe.removeEventListener(Se,ze,Et),ce:(Pe,Se)=>new CustomEvent(Pe,Se)},zn=Pe=>Promise.resolve(Pe),Ut=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),He=[],_e=[],Ae=(Pe,Se)=>ze=>{Pe.push(ze),D||(D=!0,Se&&4&Ot.$flags$?je(Ze):Ot.raf(Ze))},Me=Pe=>{for(let Se=0;Se{Me(He),Me(_e),(D=He.length>0)&&Ot.raf(Ze)},je=Pe=>zn().then(Pe),it=Ae(_e,!0)},3172:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>S,c:()=>a});const a={production:!0},S={api:{BASE_URL:"https://school-api-dev.tekdinext.com/",BASE_URL_BOT:"https://aibot-dev.tekdinext.com/",TELEMETRY_BASE_URL:"https://school-dev.tekdinext.com/",CONFIG:"seeker/configuration",PAGE_SEARCH_API:"content/search",CONTEXT_SEARCH:"api/aiutility/v1/context",CONTENT_SEARCH_API:"content/search",TELEMETRY_SYNC:"telemetry/v1/telemetry",BOT_QUERY_API:"v1/query",SEARCH_API:"content/search",CONFIRM_API:"confirm",BOT_SAKHI_API_PATH:"v1/query",BOT_ACTIVITY_API_PATH:"api/activitybot/v1/query",REGISTER_DEVICE_API_PATH:"api/registerMobileDevice",KEY:"myjp-0.1",SECRET:"7tVOEu0xj0zYQiYtCYbauEkNC3NBXCpM"},telmetry:{PRODUCER_ID:"dev.ejp.mobileapp",PRODUCER_PID:"mobileapp"}}},56:(Ce,ee,E)=>{"use strict";E.d(ee,{B$:()=>S,Cc:()=>a,Hs:()=>D,K:()=>O,Th:()=>C,Zm:()=>B,cM:()=>_,z5:()=>c});let a=(()=>{var m;class T{}return(m=T).PDF="application/pdf",m.MP4="video/mp4",m.YOUTUBE="video/x-youtube",m.AUDIO="audio/mp3",m.WEBM="video/webm",m.LINK="text/html",T})();const S={dbName:"digital_jaddu_pitara.db",version:3};let O=(()=>{var m;class T{}return(m=T).DATE_TYPE="DATE",m.TEXT_TYPE="TEXT",m.INT_TYPE="INTEGER",m.REAL_TYPE="REAL",m.COMMA_SEP=",",m.SPACE=" ",m.MAX_NUM_OF_EVENTS=1e3,m.MAX_NUM_OF_PROCESSED_EVENTS=1,m.ERROR="DB_ERROR",m.BLOB_TYPE="BLOB",m.NOT_NULL="NOT NULL",m.NULL="NULL",T})(),c=(()=>{var m;class T{}return(m=T).COLLECTION="application/vnd.ekstep.content-collection",m.VIDEO="video/mp4",m.VIDEOS=["video/mp4","video/webm","video/x-m4v","video/quicktime"],m.PDF="application/pdf",m.AUDIOS="audio/mp3",m.RECOEDED_AUDIO="audio/wav",m.AUDIO=["audio/mp3","audio/mp4","audio/mpeg","audio/ogg","audio/webm","audio/x-wav","audio/wav"],m.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"],m.DOCS=["application/pdf","application/epub","application/msword"],m.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"],m.YOUTUBE="video/x-youtube",T})();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(m){return m.YES="Yes",m.NO="No",m}(C||{}),_=function(m){return m.COURSE="Course",m.COURSE_UNIT="CourseUnit",m.E_TEXTBOOK="eTextBook",m.EXPLANATION_RESOURCE="ExplanationResource",m.EXPLANATION_VIDEO="Explanation Video",m.TEXTBOOK="TextBook",m.TEXTBOOK_UNIT="TextBookUnit",m.COLLECTION="Collection",m.TV_LESSION="TVLesson",m.RESOURCE="Resource",m}(_||{});let B=(()=>{var m;class T{}return(m=T).TEACHER="teacher",m.STORY="story",m.PARENT="parent",T})()},319:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>O});var a=E(4438),S=E(8974),p=E(5402);let O=(()=>{var c;class D{constructor(_){this.modalCtrl=_}ngOnInit(){}confirm(_){switch(_){case"exit":this.modalCtrl.dismiss(!0);break;case"cancel":this.modalCtrl.dismiss(!1)}}}return(c=D).\u0275fac=function(_){return new(_||c)(a.rXU(S.W3))},c.\u0275cmp=a.VBU({type:c,selectors:[["app-app-exit"]],decls:13,vars:9,consts:[[1,"inner-content"],["slot","start"],[1,"buttons"],["slot","end","shape","round","fill","outline",1,"btn-info","exit",3,"click"],["slot","end","shape","round",1,"btn-info",3,"click"]],template:function(_,F){1&_&&(a.j41(0,"div",0)(1,"ion-toolbar")(2,"ion-buttons",1)(3,"ion-button"),a.EFF(4),a.nI1(5,"translate"),a.k0s()()(),a.j41(6,"ion-toolbar",2)(7,"ion-button",3),a.bIt("click",function(){return F.confirm("exit")}),a.EFF(8),a.nI1(9,"translate"),a.k0s(),a.j41(10,"ion-button",4),a.bIt("click",function(){return F.confirm("cancel")}),a.EFF(11),a.nI1(12,"translate"),a.k0s()()()),2&_&&(a.R7$(4),a.JRh(a.bMT(5,3,"Exit the app?")),a.R7$(4),a.JRh(a.bMT(9,5,"Exit")),a.R7$(3),a.JRh(a.bMT(12,7,"Cancel")))},dependencies:[S.Jm,S.QW,S.ai,p.D9],styles:[".buttons[_ngcontent-%COMP%]{padding:0 1rem}ion-button[_ngcontent-%COMP%]{text-wrap:wrap}.btn-info[_ngcontent-%COMP%]{width:40%;color:var(--ion-color-primary-contrast);--background: var(--ion-color-tertiary);font-size:.75rem;font-family:Noto Sans;font-weight:700;text-transform:uppercase;line-height:19.6px;word-wrap:break-word;padding:5px;text-wrap:wrap;text-align:center}.exit[_ngcontent-%COMP%]{--color: var(--ion-color-tertiary);--background: white}ion-modal[_ngcontent-%COMP%]{--height: 50%;--border-radius: 1rem;--box-shadow: 0 .625rem .938rem -.188rem rgb(0 0 0 / .1), 0 .25rem .375rem -.25rem rgb(0 0 0 / .1)}ion-modal[_ngcontent-%COMP%]::part(backdrop){background:#d1d5db;opacity:1}"]}),D})()},5553:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>C});var a=E(177),S=E(9417),p=E(8974),O=E(5402),c=E(2904),D=E(4438);let C=(()=>{var _;class F{}return(_=F).\u0275fac=function(m){return new(m||_)},_.\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()]}),F})()},6198:(Ce,ee,E)=>{"use strict";E.d(ee,{g:()=>p});var a=E(4412),S=E(4438);let p=(()=>{var O;class c{constructor(){this.languageSubject=new a.t(localStorage.getItem("DJPData.lang")||"en"),this.currentLanguage$=this.languageSubject.asObservable()}setLanguage(C){localStorage.setItem("DJPData.lang",C),this.languageSubject.next(C)}}return(O=c).\u0275fac=function(C){return new(C||O)},O.\u0275prov=S.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}),c})()},446:(Ce,ee,E)=>{"use strict";E.d(ee,{g:()=>D});const c="../assets/appConfig/"+new URL(document.baseURI).hostname.split(".")[0]+".json",D=fetch(c).then(C=>{if(!C.ok)throw new Error("Network response was not ok");return C.json()}).then(C=>C).catch(C=>{console.error("There was a problem with the fetch operation:",C)})},3721:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>S});var a=E(4438);let S=(()=>{var p;class O{}return(p=O).\u0275fac=function(D){return new(D||p)},p.\u0275mod=a.$C({type:p}),p.\u0275inj=a.G2t({}),O})()},1984:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>S});var a=E(467);class S{constructor(){this._isInitialised=!1,this.config={},this.botMsg={}}static getInstance(){return S._instance||(S._instance=new S),S._instance}isInitialised(){return this._isInitialised}getConfig(){return this.config}init(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:(Ce,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),F=E(985),B=E(7374),m=E(3172);let T=(()=>{var l;class s{constructor(v,y){this.apiService=v,this.utilService=y,this.getJWTToken=(d,r)=>new Promise((f,L)=>{window.FilePath.getJWTToken(d,r,f,I=>{console.error(`${d} 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 F._g.Builder).withHost(m.$.api.BASE_URL).withPath(v).withType(F.kr.POST).withHeaders({"Content-Encoding":"gzip",Authorization:`Bearer ${yield y.generateMobileAppConsumerBearerToken()}`}).withBody({id:s.ID,ver:s.VERSION,ts:B().format(),request:{key:`${m.$.telmetry.PRODUCER_ID}-${yield y.getMobileDeviceConsumerKey()}`}}).build())})()}getBearerTokenFromKong(){var v=this;return(0,a.A)(function*(){return v.apiService.fetch(yield v.buildGetMobileDeviceConsumerSecretAPIRequest(m.$.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(m.$.api.KEY,m.$.api.SECRET)})()}}return(l=s).VERSION="1.0",l.ID="org.myjp.device.register",s})();class A{constructor(s,h,v){this.storageService=s,this.apiService=h,this.utilService=v,this.apiTokenHandler=new T(this.apiService,this.utilService)}interceptResponse(s,h){var v=this;return h.responseCode===F.xl.HTTP_UNAUTHORISED&&"Unauthorized"===h.body.message||h.responseCode===F.xl.HTTP_FORBIDDEN?this.apiTokenHandler.refreshAuthToken().pipe((0,_.M)(function(){var y=(0,a.A)(function*(d){yield v.storageService.setData("api_token",d)});return function(d){return y.apply(this,arguments)}}()),(0,p.Z)(()=>this.apiService.fetch(s))):(0,c.of)(h)}}var w=E(6598),R=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 P=(()=>{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 V=E(6421),W=E(5083),oe=E(1413);let me=(()=>{var l;class s{constructor(){this.http=W.pX}get(v,y,d,r){return this.invokeRequest(F.kr.GET,v+y,r,d)}patch(v,y,d,r){return this.invokeRequest(F.kr.PATCH,v+y,r,d)}post(v,y,d,r){return this.invokeRequest(F.kr.POST,v+y,r,d)}isGoogleDriveLink(v){return v.includes("drive.google.com")||v.includes("docs.google.com")}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":(this.isGoogleDriveLink(v),"text/html")}getDriveFileId(v){const d=v.match(/\/d\/([a-zA-Z0-9_-]+)\//);return d?d[1]:null}invokeRequest(v,y,d,r){const f=new oe.B,L={url:y,method:v.toLowerCase(),headers:r};return v===F.kr.POST||v===F.kr.PATCH?L.data=d:(v===F.kr.GET||v===F.kr.DELETE)&&(L.params=d),this.http.request(L).then(I=>{I.data=I.data;let j=I.data;const J=[];if(j.data&&null!=j.data.djp_contents&&j.data.djp_contents.forEach(pe=>{let De=this.isGoogleDriveLink(null==pe?void 0:pe.url)?null==pe?void 0:pe.url.replace("/view","/preview"):null==pe?void 0:pe.url,Q=(null!=(null==pe?void 0:pe.thumbnail)&&this.isGoogleDriveLink(null==pe?void 0:pe.thumbnail),""),ae=this.checkMimieType(De);J.push({agegroup:pe.agegroup,audience:pe.audience,bpp_id:pe.bpp_id,bpp_uri:pe.bpp_uri,competency:pe.competencies,category:pe.category,createdon:pe.createdon,curriculargoal:pe.curriculargoal,id:pe.item_id,identifier:pe.identifier,provider_id:pe.provider_id,provider_name:pe.provider_name,name:pe.name,description:pe.description,thumbnail:Q,domain:pe.domain,unique_id:pe.unique_id,language:pe.language,url:De,sourceOrganisation:pe.sourceorg,midea:pe.midea,keywords:pe.keywords,lastupdatedon:pe.lastupdatedon,learningOutcomes:pe.learningOutcomes,status:pe.status,content_type:pe.content_type,mimetype:ae})}),J){let pe;var ie;pe=j.data&&null!=j.data.djp_contents?{body:{result:J,audioText:null==I||null===(ie=I.data)||void 0===ie?void 0:ie.audioText},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers}:{body:{result:I.data},responseCode:200,errorMesg:"",headers:I.headers,requestHeaders:L.headers},f.next(pe),f.complete()}}).catch(I=>{console.error("error",I);const j={body:{},responseCode:I.status,errorMesg:"SERVER_ERROR",headers:I.headers,requestHeaders:L.headers};try{try{I.body=JSON.parse(I.error)}catch(J){if(j.body=I.error,I.status<=0)throw J}f.error(new Error)}catch{f.error(new Error),f.complete()}}),f}}return(l=s).\u0275fac=function(v){return new(v||l)},l.\u0275prov=R.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),s})();var te=E(5402);let se=(()=>{var l;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 d=(0,a.A)(function*(){let r;v=yield y.interceptRequest(v);try{switch(v.getType()){case F.kr.GET:r=yield(0,$.s)(y.http.get(v.getHost()||"this.host",v.getPath(),v.headers,v.getParameters()));break;case F.kr.PATCH:r=yield(0,$.s)(y.http.patch(v.getHost()||"this.host",v.getPath(),v.headers,v.body));break;case F.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(f){const L=I=>{if(I.responseCode>=400&&I.responseCode<=499)throw new P(`\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(!P.isInstance(f)&&!U.isInstance(f))throw f;try{return r=yield y.interceptResponse(v,f.response),L(r)}catch(I){if(I.responseCode)return L(I);throw I}}})();return(0,S.H)(d)}addGlobalHeader(v){var y,d;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,V.A)(),"X-CONSUMER-ID":null===(d=C.f.getInstance().getConfig().deviceInfo)||void 0===d?void 0:d.did,...r?{"x-preferred-language":r}:{}}}interceptRequest(v){var y=this;return(0,a.A)(function*(){const d=[];for(const r of y.requestInterceptors)d.push(r);for(const r of v.requestInterceptors)d.push(r);for(const r of d)v=yield(0,$.s)(r.interceptRequest(v));return v})()}interceptResponse(v,y){var d=this;return(0,a.A)(function*(){const r=[];for(const f of d.responseInterceptors)r.push(f);for(const f of v.getResponseInterceptors())r.push(f);for(const f of r)y=yield(0,$.s)(f.interceptResponse(v,y));if(y.responseCode!==F.xl.HTTP_SUCCESS)throw y;return y})()}buildInterceptorsFromRequest(v){v.withBearerToken&&-1===v.requestInterceptors.indexOf(this.bearerTokenInjectRequestInterceptor)&&v.requestInterceptors.push(this.getBearerTokenInjectRequestInterceptor())}}return(l=s).\u0275fac=function(v){return new(v||l)(R.KVO(me),R.KVO(te.c$))},l.\u0275prov=R.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),s})();var g=E(2904),n=E(8974);let o=(()=>{var l;class s{constructor(v,y,d,r){var f=this;this.httpService=v,this.storageService=y,this.utilService=d,this.toastController=r,this.connected=!0,this.language="",this.defaultRequestInterceptors=[],this.defaultResponseInterceptors=[],w.l.addListener("networkStatusChange",function(){var L=(0,a.A)(function*(I){f.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 T(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(l=s).\u0275fac=function(v){return new(v||l)(R.KVO(se),R.KVO(g.n$),R.KVO(g.a0),R.KVO(n.K_))},l.\u0275prov=R.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),s})()},985:(Ce,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:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>m});var a=E(467),S=E(5083),p=function(T){return T.Dark="DARK",T.Light="LIGHT",T.Default="DEFAULT",T}(p||{}),O=function(T){return T.None="NONE",T.Slide="SLIDE",T.Fade="FADE",T}(O||{});const C=(0,S.F3)("StatusBar");var _=E(1413),F=E(8941),B=E(4438);let m=(()=>{var T;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(),F.q.getInfo().then(R=>{this.appName=R.name})}filterEvent(R){this.filterConfig.next(R)}sidebarEvent(R){this.headerEvent.next(R.name)}sideMenuItemEvents(R){this.sideMenuItemEvent.next(null==R?void 0:R.filter)}updatePageConfig(R){this.headerConfig.next(R)}deviceBackBtnEvent(R){this.deviceBackbtnConfig.next(R)}hideHeader(){var R=this;return(0,a.A)(function*(){const $=R.getDefaultPageConfig();$.showHeader=!1,R.updatePageConfig($)})()}getDefaultPageConfig(){return{showHeader:!0,pageTitle:this.appName,showbackButton:!1,actionButtons:[""]}}showHeader(R,$,k){var M=this;return(0,a.A)(function*(){const P=M.getDefaultPageConfig();P.pageTitle=null!=R?R:M.appName,P.showbackButton=null!=$&&$,P.actionButtons=null!=k?k:[""],M.updatePageConfig(P)})()}hideStatusBar(){C.hide()}showStatusBar(R,$){C.show({animation:O.None}),C.setStyle({style:$?p.Dark:p.Light}),C.setBackgroundColor({color:null!=$?$:"#FFFAEE"}),C.setOverlaysWebView({overlay:R})}}return(T=A).\u0275fac=function(R){return new(R||T)},T.\u0275prov=B.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),A})()},4447:(Ce,ee,E)=>{"use strict";E.d(ee,{i:()=>A});var a=E(467),S=E(5083),p=function(w){return w[w.UNKNOWN=0]="UNKNOWN",w[w.UPDATE_NOT_AVAILABLE=1]="UPDATE_NOT_AVAILABLE",w[w.UPDATE_AVAILABLE=2]="UPDATE_AVAILABLE",w[w.UPDATE_IN_PROGRESS=3]="UPDATE_IN_PROGRESS",w}(p||{});const D=(0,S.F3)("AppUpdate",{web:()=>E.e(5959).then(E.bind(E,5959)).then(w=>new w.AppUpdateWeb)});var C=E(4438),_=E(8974),F=E(5402);let B=(()=>{var w;class R{constructor(k){this.popoverCtrl=k}ngOnInit(){}handleButtonAction(k){this.popoverCtrl.dismiss(k)}}return(w=R).\u0275fac=function(k){return new(k||w)(C.rXU(_.IE))},w.\u0275cmp=C.VBU({type:w,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,F.D9],styles:["ion-content[_ngcontent-%COMP%]{--padding-top: 0px !important}ion-button[_ngcontent-%COMP%]{color:var(--ion-color-primary)}"]}),R})();var m=E(3021),T=E(4517);let A=(()=>{var w;class R{constructor(k,M,P){this.router=k,this.platform=M,this.popoverController=P,this.forDeepLink=!1,this.showListPage=!1}checkForUpdate(){var k=this;return(0,a.A)(function*(){const M=yield D.getAppUpdateInfo();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 P=yield k.popoverController.create({component:B,cssClass:"update-modal",translucent:!0,dismissOnSelect:!0});yield P.present(),P.onDidDismiss().then(U=>{"restart"==U.data&&D.completeFlexibleUpdate()})}))))})()}}return(w=R).\u0275fac=function(k){return new(k||w)(C.KVO(m.Ix),C.KVO(T.OD),C.KVO(_.IE))},w.\u0275prov=C.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),R})()},6011:(Ce,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(F,B){this.dbService=F,this.telemetryService=B}initialize(){var F=this;return(0,a.A)(function*(){yield F.dbService.initializePlugin()})()}}return(D=C).\u0275fac=function(F){return new(F||D)(S.KVO(p.a),S.KVO(O.H))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},4999:(Ce,ee,E)=>{"use strict";E.d(ee,{O:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="chat",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_MESSAGE="message",p.COLUMN_NAME_BOT_TYPE="bot_type",p.COLUMN_NAME_FROM_ME="from_me",p.COLUMN_NAME_REACTIONS="reactions",p.COLUMN_NAME_REQUEST_ID="request_id",p.COLUMN_NAME_MEDIA_TYPE="media_type",p.COLUMN_NAME_MEDIA_DATA="media_data",p.COLUMN_NAME_MEDIA_PATH="media_path",p.COLUMN_NAME_DURATION="duration",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT"+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MESSAGE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_BOT_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_FROM_ME+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_REACTIONS+a.K.SPACE+a.K.INT_TYPE+" DEFAULT -1"+a.K.COMMA_SEP+p.COLUMN_NAME_REQUEST_ID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_DATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MEDIA_PATH+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_DURATION+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_MESSAGE},\n ${p.COLUMN_NAME_BOT_TYPE},\n ${p.COLUMN_NAME_FROM_ME},\n ${p.COLUMN_NAME_MEDIA_TYPE},\n ${p.COLUMN_NAME_MEDIA_DATA},\n ${p.COLUMN_NAME_MEDIA_PATH},\n ${p.COLUMN_NAME_DURATION},\n ${p.COLUMN_NAME_TIME_STAMP},\n ${p.COLUMN_NAME_REACTIONS}) \n VALUES (?,?,?,?,?,?,?,?,?,?)`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p}(S||{})},3871:(Ce,ee,E)=>{"use strict";E.d(ee,{d:()=>c});var a=E(467),S=E(4438),p=E(3486);let c=(()=>{var D;class C{constructor(F){this.storageService=F}initStorage(){var F=this;return(0,a.A)(function*(){const B=(new Date).getTime()+36e5;(yield F.storageService.getData("firstTimeLoad"))||(yield F.storageService.setData("firstTimeLoad","true")),(yield F.storageService.getData("validTimeStamp"))||F.storageService.setData("validTimeStamp",JSON.stringify(B))})()}getCacheTimeout(){var F=this;return(0,a.A)(function*(){let B=yield F.storageService.getData("firstTimeLoad"),m=(new Date).getTime(),T=yield F.storageService.getData("validTimeStamp");return m>JSON.parse(T)?(F.storageService.removeData("validTimeStamp"),F.initStorage(),!0):"true"===B&&(yield F.storageService.setData("firstTimeLoad","false"),!0)})()}}return(D=C).\u0275fac=function(F){return new(F||D)(S.KVO(p.n))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3696:(Ce,ee,E)=>{"use strict";E.d(ee,{w:()=>B});var a=E(467),S=E(3172),p=E(985),O=E(3207),c=E(6354),D=E(9437),C=E(446),_=E(4438),F=E(2700);let B=(()=>{var m;class T{constructor(w){this.apiService=w,C.g.then(R=>{this.configVariables=R}).catch(R=>{console.error("Failed to load configuration:",R)})}getConfigMeta(){var w=this;return(0,a.A)(function*(){const R=(new p._g.Builder).withHost(S.$.api.BASE_URL).withPath(S.$.api.CONFIG).withType(p.kr.GET).withBearerToken(!0).build();return(0,O.s)(w.apiService.fetch(R)).then($=>{if(null!=$&&$.body.result)return null==$?void 0:$.body.result}).catch($=>{console.log("err ",$)})})()}getAllContent(w,R){var $=this;return(0,a.A)(function*(){let k={language:R,request:{orderBy:{mimetype:"video/x-youtube"},filters:$.configVariables.defaultContentFilter[0]}};const M=(new p._g.Builder).withHost(S.$.api.BASE_URL).withPath(S.$.api.PAGE_SEARCH_API).withType(p.kr.POST).withBearerToken(!0).withBody(k).withLanguge(R).build();return(0,O.s)($.apiService.fetch(M).pipe((0,c.T)(P=>P.body.result),(0,D.W)(P=>{throw P})))})()}}return(m=T).\u0275fac=function(w){return new(w||m)(_.KVO(F.G))},m.\u0275prov=_.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),T})()},444:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>R});var a=E(467),S=E(532),p=E(5396),O=E(4870);class c{static mapContentToRecentlyViewedContentEntry(k,M,P){return{[p.a.COLUMN_NAME_IDENTIFIER]:P,[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 P=JSON.parse(k.content_metadata);return P.isLiked=!!k.reaction_identifier,k.content_metadata=JSON.stringify(P),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),F=E(985),B=E(3207),m=E(742),T=E(4438),A=E(2904),w=E(2700);let R=(()=>{var $;class k{constructor(P,U){this.dbService=P,this.apiService=U,this.results=[]}deleteAllContents(){return this.dbService.remove(S.a.deleteQuery(),{source:"djp"})}saveContents(P){const U=[];return P.map(V=>{U.push({statement:S.a.insertQuery(),values:O.Z.mapContentToValues(V)})}),this.dbService.executeSet(U)}getRecentlyViewedContent(P){var U=this;return(0,a.A)(function*(){const V=`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 ${m.S.TABLE_NAME} cr ON rvc.content_identifier = reaction_identifier \n where rvc.uid='${P}' ORDER BY rvc.ts DESC`,W=yield U.dbService.executeQuery(V),oe=[];return null==W||W.map(me=>{oe.push(D.mapContentRVCtoRecentlyViedContent(me,(0,C.A)()))}),Promise.resolve(oe)})()}getAllContent(){var P=this;return(0,a.A)(function*(){const V=[];return P.dbService.readDbData(`SELECT c.*, cr.content_identifier from ${S.a.TABLE_NAME} c LEFT JOIN ${m.S.TABLE_NAME} cr ON c.identifier = cr.content_identifier WHERE ${S.a.COLUMN_NAME_SOURCE} NOT IN ('local', 'dialcode') ORDER BY ${S.a.COLUMN_NAME_TIME_STAMP}`).then(W=>(W.map(oe=>{const me=JSON.parse(oe.metadata);oe.metaData=me,V.push(oe)}),Promise.resolve(V)))})()}likeContent(P,U,V){var W=this;return(0,a.A)(function*(){return V?W.dbService.readDbData(m.S.readQuery(),{content_identifier:P.metaData.identifier}).then(oe=>{const me=oe?m.S.updateQuery():m.S.insertQuery(),te=oe?{content_identifier:P.metaData.identifier,uid:U}:void 0;return W.dbService.save(me,O.Z.mapContentReactionEntry(P.metaData.identifier,"guest"),te)}):W.dbService.remove(m.S.deleteQuery(),{content_identifier:P.metaData.identifier,uid:U})})()}markContentAsViewed(P){var U=this;return(0,a.A)(function*(){return(yield U.dbService.readDbData(S.a.readQuery(),{identifier:P.metaData.identifier}))||(yield U.dbService.executeSet([{statement:S.a.insertQuery(),values:O.Z.mapContentToValues(P)}])),U.dbService.readDbData(p.a.readQuery(),{content_identifier:P.metaData.identifier}).then(W=>{const oe=W?p.a.updateQuery():p.a.insertQuery(),me=W?{identifier:P.metaData.identifier}:void 0;return U.dbService.save(oe,c.mapContentToRecentlyViewedContentEntry(P,"guest",(0,C.A)()),me)})})()}searchContentInDiksha(P){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:P,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 V=(new F._g.Builder).withHost("https://diksha.gov.in/").withPath("api/content/v1/search").withType(F.kr.POST).withBody(U).build();return(0,B.s)(this.apiService.fetch(V))}getCollectionHierarchy(P){const U=(new F._g.Builder).withHost("https://diksha.gov.in/action/content/v3/hierarchy/").withPath(`${P}`).withType(F.kr.GET).build();return(0,B.s)(this.apiService.fetch(U))}getContents(P){return this.searchContentInDiksha(P).then(U=>{var V;return null!==(V=U.body.result)&&void 0!==V&&null!==(V=V.content)&&void 0!==V&&V.length?this.getCollectionHierarchy(U.body.result.content[0].identifier):""}).then(U=>{this.results=[];const V=[];return U&&(this.showAllChild(U.body.result.content),this.results.map(W=>{V.push({source:"dialcode",sourceType:"Diksha",metaData:{identifier:null==W?void 0:W.identifier,name:null==W?void 0:W.name,thumbnail:null==W?void 0:W.posterImage,description:null==W?void 0:W.name,mimetype:(null==W?void 0:W.mimetype)||(null==W?void 0:W.mimeType),url:null==W?void 0:W.streamingUrl,focus:null==W?void 0:W.focus,keyword:null==W?void 0:W.keyword,domain:null==W?void 0:W.domain,curriculargoal:null==W?void 0:W.curriculargoal,competencies:null==W?void 0:W.competencies,language:null==W?void 0:W.language,category:null==W?void 0:W.category,audience:null==W?void 0:W.audience,status:null==W?void 0:W.status,createdon:null==W?void 0:W.createdOn,lastupdatedon:(null==W?void 0:W.lastupdatedon)||(null==W?void 0:W.lastUpdatedOn),artifactUrl:null==W?void 0:W.artifactUrl}})})),V}).catch(U=>{throw console.error(U),U})}showAllChild(P){let U=_.z5.VIDEOS;U.indexOf(_.z5.PDF)>-1||U.push(_.z5.PDF),void 0!==P.children&&P.children.length?P.children.forEach(V=>{this.showAllChild(V)}):U.indexOf(P.mimeType)>-1&&this.results.push(P)}readDikshaContents(P){const U=(new F._g.Builder).withHost("https://diksha.gov.in/api/content/v1/read/").withPath(`${P}`).withType(F.kr.GET).build();return(0,B.s)(this.apiService.fetch(U))}}return($=k).\u0275fac=function(P){return new(P||$)(T.KVO(A.at),T.KVO(w.G))},$.\u0275prov=T.jDH({token:$,factory:$.\u0275fac,providedIn:"root"}),k})()},742:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="content_reactions",p._ID="_id",p.COLUMN_NAME_CONTENT_IDENTIFIER="content_identifier",p.COLUMN_NAME_REACTION_IDENTIFIER="reaction_identifier",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.insertQueryWithColoumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_CONTENT_IDENTIFIER},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?)`,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p}(S||{})},532:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_SOURCE="source",p.COLUMN_NAME_SOURCE_TYPE="source_type",p.COLUMN_NAME_METADATA="metadata",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+NaN+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_METADATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_SOURCE},\n ${p.COLUMN_NAME_SOURCE_TYPE},\n ${p.COLUMN_NAME_METADATA},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?,?,?)`,p}(S||{})},5396:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="recently_viewed_content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_CONTENT_IDENTIFIER="content_identifier",p.COLUMN_NAME_CONTENT_METADATA="content_metadata",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_MIME_TYPE="mime_type",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY"+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_METADATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_MIME_TYPE+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.deleteTable=()=>"DROP TABLE IF EXISTS"+p.TABLE_NAME,p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_CONTENT_IDENTIFIER},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_CONTENT_METADATA},\n ${p.COLUMN_NAME_MIME_TYPE},\n ${p.COLUMN_NAME_TIME_STAMP}) VALUES (?,?,?,?,?,?)`,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p}(S||{})},4870:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>p});var a=E(742),S=E(532);class p{static mapContentToContentEntry(c){return{[S.a.COLUMN_NAME_IDENTIFIER]:c.metaData.identifier,[S.a.COLUMN_NAME_SOURCE]:c.source,[S.a.COLUMN_NAME_SOURCE_TYPE]:c.sourceType,[S.a.COLUMN_NAME_METADATA]:JSON.stringify(c.metaData),[S.a.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(c){return[c.metaData.identifier,c.source,c.sourceType,JSON.stringify(c.metaData),Date.now()]}static mapContentReactionEntry(c,D){return{[a.S.COLUMN_NAME_CONTENT_IDENTIFIER]:c,[a.S.COLUMN_NAME_UID]:D,[a.S.COLUMN_NAME_TIME_STAMP]:Date.now()}}}},4591:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>$});var a=E(467),S=E(5083);class p{constructor(M){this.sqlite=M,this._connectionDict=new Map}initWebStore(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.initWebStore(),Promise.resolve()}catch(P){return Promise.reject(P)}})()}saveToStore(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.saveToStore({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}saveToLocalDisk(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.saveToLocalDisk({database:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getFromLocalDiskToStore(M){var P=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield P.sqlite.getFromLocalDiskToStore({overwrite:U}),Promise.resolve()}catch(V){return Promise.reject(V)}})()}echo(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.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 P=yield M.sqlite.isSecretStored();return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}setEncryptionSecret(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.setEncryptionSecret({passphrase:M}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}changeEncryptionSecret(M,P){var U=this;return(0,a.A)(function*(){try{return yield U.sqlite.changeEncryptionSecret({passphrase:M,oldpassphrase:P}),Promise.resolve()}catch(V){return Promise.reject(V)}})()}clearEncryptionSecret(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.clearEncryptionSecret(),Promise.resolve()}catch(P){return Promise.reject(P)}})()}checkEncryptionSecret(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.sqlite.checkEncryptionSecret({passphrase:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}addUpgradeStatement(M,P){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:P}),Promise.resolve()}catch(V){return Promise.reject(V)}})()}createConnection(M,P,U,V,W){var oe=this;return(0,a.A)(function*(){try{M.endsWith(".db")&&(M=M.slice(0,-3)),yield oe.sqlite.createConnection({database:M,encrypted:P,mode:U,version:V,readonly:W});const me=new O(M,W,oe.sqlite);return oe._connectionDict.set(W?`RO_${M}`:`RW_${M}`,me),Promise.resolve(me)}catch(me){return Promise.reject(me)}})()}closeConnection(M,P){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:P}),U._connectionDict.delete(P?`RO_${M}`:`RW_${M}`),Promise.resolve()}catch(V){return Promise.reject(V)}})()}isConnection(M,P){var U=this;return(0,a.A)(function*(){const V={};return M.endsWith(".db")&&(M=M.slice(0,-3)),V.result=U._connectionDict.has(P?`RO_${M}`:`RW_${M}`),Promise.resolve(V)})()}retrieveConnection(M,P){var U=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));const V=P?`RO_${M}`:`RW_${M}`;if(U._connectionDict.has(V)){const W=U._connectionDict.get(V);return typeof W<"u"?Promise.resolve(W):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}getNCDatabasePath(M,P){var U=this;return(0,a.A)(function*(){try{const V=yield U.sqlite.getNCDatabasePath({path:M,database:P});return Promise.resolve(V)}catch(V){return Promise.reject(V)}})()}createNCConnection(M,P){var U=this;return(0,a.A)(function*(){try{yield U.sqlite.createNCConnection({databasePath:M,version:P});const V=new O(M,!0,U.sqlite);return U._connectionDict.set(`RO_${M})`,V),Promise.resolve(V)}catch(V){return Promise.reject(V)}})()}closeNCConnection(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.closeNCConnection({databasePath:M}),P._connectionDict.delete(`RO_${M})`),Promise.resolve()}catch(U){return Promise.reject(U)}})()}isNCConnection(M){var P=this;return(0,a.A)(function*(){const U={};return U.result=P._connectionDict.has(`RO_${M})`),Promise.resolve(U)})()}retrieveNCConnection(M){var P=this;return(0,a.A)(function*(){if(P._connectionDict.has(M)){const V=P._connectionDict.get(`RO_${M})`);return typeof V<"u"?Promise.resolve(V):Promise.reject(`Connection ${M} is undefined`)}return Promise.reject(`Connection ${M} does not exist`)})()}isNCDatabase(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.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 P=new Map;try{for(const U of M._connectionDict.keys()){const V=U.substring(3),W="RO_"===U.substring(0,3);yield M.sqlite.closeConnection({database:V,readonly:W}),P.set(U,null)}for(const U of P.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 P=[...M._connectionDict.keys()],U=[],V=[];for(const oe of P)U.push(oe.substring(0,2)),V.push(oe.substring(3));const W=yield M.sqlite.checkConnectionsConsistency({dbNames:V,openModes:U});return W.result||(M._connectionDict=new Map),Promise.resolve(W)}catch(P){return M._connectionDict=new Map,Promise.reject(P)}})()}importFromJson(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.sqlite.importFromJson({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isJsonValid(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.sqlite.isJsonValid({jsonstring:M});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}copyFromAssets(M){var P=this;return(0,a.A)(function*(){const U=null==M||M;try{return yield P.sqlite.copyFromAssets({overwrite:U}),Promise.resolve()}catch(V){return Promise.reject(V)}})()}getFromHTTPRequest(M,P){var U=this;return(0,a.A)(function*(){const V=null==P||P;try{return yield U.sqlite.getFromHTTPRequest({url:M,overwrite:V}),Promise.resolve()}catch(W){return Promise.reject(W)}})()}isDatabaseEncrypted(M){var P=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield P.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 P=yield M.sqlite.isInConfigEncryption();return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}isInConfigBiometricAuth(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.isInConfigBiometricAuth();return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}isDatabase(M){var P=this;return(0,a.A)(function*(){M.endsWith(".db")&&(M=M.slice(0,-3));try{const U=yield P.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(P){return Promise.reject(P)}})()}getMigratableDbList(M){var P=this;return(0,a.A)(function*(){const U=M||"default";try{const V=yield P.sqlite.getMigratableDbList({folderPath:U});return Promise.resolve(V)}catch(V){return Promise.reject(V)}})()}addSQLiteSuffix(M,P){var U=this;return(0,a.A)(function*(){const V=M||"default",W=P||[];try{const oe=yield U.sqlite.addSQLiteSuffix({folderPath:V,dbNameList:W});return Promise.resolve(oe)}catch(oe){return Promise.reject(oe)}})()}deleteOldDatabases(M,P){var U=this;return(0,a.A)(function*(){const V=M||"default",W=P||[];try{const oe=yield U.sqlite.deleteOldDatabases({folderPath:V,dbNameList:W});return Promise.resolve(oe)}catch(oe){return Promise.reject(oe)}})()}moveDatabasesAndAddSuffix(M,P){var U=this;return(0,a.A)(function*(){return U.sqlite.moveDatabasesAndAddSuffix({folderPath:M||"default",dbNameList:P||[]})})()}}class O{constructor(M,P,U){this.dbName=M,this.readonly=P,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(P){return Promise.reject(P)}})()}close(){var M=this;return(0,a.A)(function*(){try{return yield M.sqlite.close({database:M.dbName,readonly:M.readonly}),Promise.resolve()}catch(P){return Promise.reject(P)}})()}beginTransaction(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.beginTransaction({database:M.dbName});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}commitTransaction(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.commitTransaction({database:M.dbName});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}rollbackTransaction(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.rollbackTransaction({database:M.dbName});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}isTransactionActive(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.isTransactionActive({database:M.dbName});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}loadExtension(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.loadExtension({database:P.dbName,path:M,readonly:P.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}enableLoadExtension(M){var P=this;return(0,a.A)(function*(){try{return yield P.sqlite.enableLoadExtension({database:P.dbName,toggle:M,readonly:P.readonly}),Promise.resolve()}catch(U){return Promise.reject(U)}})()}getUrl(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.getUrl({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}getVersion(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.getVersion({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}getTableList(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.getTableList({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}execute(M,P=!0,U=!0){var V=this;return(0,a.A)(function*(){try{if(V.readonly)return Promise.reject("not allowed in read-only mode");{const W=yield V.sqlite.execute({database:V.dbName,statements:M,transaction:P,readonly:!1,isSQL92:U});return Promise.resolve(W)}}catch(W){return Promise.reject(W)}})()}query(M,P,U=!0){var V=this;return(0,a.A)(function*(){let W;try{return W=P&&P.length>0?yield V.sqlite.query({database:V.dbName,statement:M,values:P,readonly:V.readonly,isSQL92:!0}):yield V.sqlite.query({database:V.dbName,statement:M,values:[],readonly:V.readonly,isSQL92:U}),W=yield V.reorderRows(W),Promise.resolve(W)}catch(oe){return Promise.reject(oe)}})()}run(M,P,U=!0,V="no",W=!0){var oe=this;return(0,a.A)(function*(){let me;try{return oe.readonly?Promise.reject("not allowed in read-only mode"):(me=P&&P.length>0?yield oe.sqlite.run({database:oe.dbName,statement:M,values:P,transaction:U,readonly:!1,returnMode:V,isSQL92:!0}):yield oe.sqlite.run({database:oe.dbName,statement:M,values:[],transaction:U,readonly:!1,returnMode:V,isSQL92:W}),me.changes=yield oe.reorderRows(me.changes),Promise.resolve(me))}catch(te){return Promise.reject(te)}})()}executeSet(M,P=!0,U="no",V=!0){var W=this;return(0,a.A)(function*(){let oe;try{return W.readonly?Promise.reject("not allowed in read-only mode"):(oe=yield W.sqlite.executeSet({database:W.dbName,set:M,transaction:P,readonly:!1,returnMode:U,isSQL92:V}),oe.changes=yield W.reorderRows(oe.changes),Promise.resolve(oe))}catch(me){return Promise.reject(me)}})()}isExists(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.isDBExists({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}isTable(M){var P=this;return(0,a.A)(function*(){try{const U=yield P.sqlite.isTableExists({database:P.dbName,table:M,readonly:P.readonly});return Promise.resolve(U)}catch(U){return Promise.reject(U)}})()}isDBOpen(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.isDBOpen({database:M.dbName,readonly:M.readonly});return Promise.resolve(P)}catch(P){return Promise.reject(P)}})()}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(P){return Promise.reject(P)}})()}createSyncTable(){var M=this;return(0,a.A)(function*(){try{if(M.readonly)return Promise.reject("not allowed in read-only mode");{const P=yield M.sqlite.createSyncTable({database:M.dbName,readonly:!1});return Promise.resolve(P)}}catch(P){return Promise.reject(P)}})()}setSyncDate(M){var P=this;return(0,a.A)(function*(){try{return P.readonly?Promise.reject("not allowed in read-only mode"):(yield P.sqlite.setSyncDate({database:P.dbName,syncdate:M,readonly:!1}),Promise.resolve())}catch(U){return Promise.reject(U)}})()}getSyncDate(){var M=this;return(0,a.A)(function*(){try{const P=yield M.sqlite.getSyncDate({database:M.dbName,readonly:M.readonly});let U="";return P.syncDate>0&&(U=new Date(1e3*P.syncDate).toISOString()),Promise.resolve(U)}catch(P){return Promise.reject(P)}})()}exportToJson(M,P=!1){var U=this;return(0,a.A)(function*(){try{const V=yield U.sqlite.exportToJson({database:U.dbName,jsonexportmode:M,readonly:U.readonly,encrypted:P});return Promise.resolve(V)}catch(V){return Promise.reject(V)}})()}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(P){return Promise.reject(P)}})()}executeTransaction(M,P=!0){var U=this;return(0,a.A)(function*(){let V=0,W=!1;if(U.readonly)return Promise.reject("not allowed in read-only mode");if(yield U.sqlite.beginTransaction({database:U.dbName}),W=yield U.sqlite.isTransactionActive({database:U.dbName}),!W)return Promise.reject("After Begin Transaction, no transaction active");try{for(const te of M){if("object"!=typeof te||!("statement"in te))throw new Error("Error a task.statement must be provided");if("values"in te&&te.values&&te.values.length>0){const se=te.statement.toUpperCase().includes("RETURNING")?"all":"no",g=yield U.sqlite.run({database:U.dbName,statement:te.statement,values:te.values,transaction:!1,readonly:!1,returnMode:se,isSQL92:P});if(g.changes.changes<=0)throw new Error("Error in transaction method run ");V+=g.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 ");V+=se.changes.changes}}return V+=(yield U.sqlite.commitTransaction({database:U.dbName})).changes.changes,Promise.resolve({changes:{changes:V}})}catch(oe){const me=oe.message?oe.message:oe;return yield U.sqlite.rollbackTransaction({database:U.dbName}),Promise.reject(me)}})()}reorderRows(M){return(0,a.A)(function*(){const P=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,V=[];for(let W=1;WE.e(4612).then(E.bind(E,4612)).then(k=>new k.CapacitorSQLiteWeb),electron:()=>window.CapacitorCustomPlatform.plugins.CapacitorSQLite});var D=E(56),C=E(1503),_=E(2798),F=E(5396),B=E(2814),m=E(532),T=E(5870),A=E(742),w=E(4999),R=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(B.C.getCreateEntry()),yield U.createTable(T.K.getCreateEntry()),yield U.createTable(m.a.getCreateEntry()),yield U.createTable(F.a.getCreateEntry()),yield U.createTable(_.J.getCreateEntry()),yield U.createTable(C.y.getCreateEntry()),yield U.createTable(A.S.getCreateEntry()),yield U.createTable(w.O.getCreateEntry()),!0})()}initWebStore(){var U=this;return(0,a.A)(function*(){try{yield U.sqliteConnection.initWebStore()}catch(V){return Promise.reject(`initWebStore: ${V}`)}})()}openDatabase(U,V,W,oe,me){var te=this;return(0,a.A)(function*(){let se;const g=(yield te.sqliteConnection.checkConnectionsConsistency()).result;let n=(yield te.sqliteConnection.isConnection(U,me)).result;return se=g&&n?yield te.sqliteConnection.retrieveConnection(U,me):yield te.sqliteConnection.createConnection(U,V,W,oe,me),yield se.open(),te.sqliteDBConnection=se,!0})()}closeConnection(U,V){var W=this;return(0,a.A)(function*(){const oe=V||!1;return yield W.sqliteConnection.closeConnection(U,oe)})()}createTable(U){var V=this;return(0,a.A)(function*(){try{const W=(yield V.sqliteDBConnection.query(U)).values;return W.length>0?W:null}catch(W){return Promise.reject(`create table err: ${W.message?W.message:W}`)}})()}executeQuery(U){var V=this;return(0,a.A)(function*(){try{const W=(yield V.sqliteDBConnection.query(U)).values;return W.length>0?W:null}catch(W){return Promise.reject(`select table err: ${W.message?W.message:W}`)}})()}executeSet(U){var V=this;return(0,a.A)(function*(){try{return yield V.sqliteDBConnection.executeSet(U)}catch(W){return Promise.reject(`create table err: ${W.message?W.message:W}`)}})()}readDbData(U,V,W){var oe=this;return(0,a.A)(function*(){try{if(V){const me=Object.keys(V)[0],te=`${U} WHERE ${me}='${V[me]}' ${W||""}`,se=(yield oe.sqliteDBConnection.query(te)).values;return se.length>0?se:null}{const me=(yield oe.sqliteDBConnection.query(U)).values;return me.length>0?me:null}}catch(me){return Promise.reject(`readDbData err: ${me.message?me.message:me}`)}})()}save(U,V,W){var oe=this;return(0,a.A)(function*(){const me=!!W,te=Object.keys(V);let n,se="",g=[];for(const o of te)g.push(V[o]);if(me){Object.keys(W);const l=yield oe.setNameForUpdate(te,g);if(0===l.length)return Promise.reject("save: update no SET");se=`${U} ${l} WHERE ${oe.getWhereStatement(W)}`,yield oe.sqliteDBConnection.query(se)}else{const o=[];for(const l of te)o.push("?");if(se=`${U} (${te.toString()}) VALUES (${o.toString()});`,n=yield oe.sqliteDBConnection.run(se,g),1!=n.changes.changes)return Promise.reject("save: insert changes != 1")}})()}remove(U,V){var W=this;return(0,a.A)(function*(){Object.keys(V);const me=`${U} WHERE ${W.getWhereStatement(V)};`;return(yield W.sqliteDBConnection.run(me)).changes})()}getWhereStatement(U){let V="";const W=Object.keys(U);for(let oe=0;oe1?(W=W.slice(0,-1),W):Promise.reject("SetNameForUpdate: length = 0")})()}}return(k=M).\u0275fac=function(U){return new(U||k)},k.\u0275prov=R.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),M})()},2814:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="telemtry",p._ID="_id",p.COLUMN_EVENT_TYPE="event_type",p.COLUMN_EVENT="event",p.COLUMN_TIMESTAMP="timestamp",p.COLUMN_PRIORITY="priority",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL"+a.K.COMMA_SEP+p.COLUMN_EVENT_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_EVENT+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_TIMESTAMP+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_PRIORITY+a.K.SPACE+a.K.INT_TYPE+")",p.readDataEntries=()=>"SELECT * FROM "+p.TABLE_NAME,p.delteFromTable=()=>"DELETE FROM "+p.TABLE_NAME+" WHERE ",p.insertData=()=>"INSERT INTO "+p.TABLE_NAME,p.update=()=>"UPDATE "+p.TABLE_NAME+" SET ",p.deleteTable=()=>"DROP TABLE IF EXISTS "+p.TABLE_NAME,p}(S||{})},8402:(Ce,ee,E)=>{"use strict";E.d(ee,{Z:()=>D});var a=E(467),S=E(2739),p=E(4438),O=E(8974),c=E(5402);let D=(()=>{var C;class _{constructor(B,m){this.toastController=B,this.translate=m}downlaodContent(B){var m=this;return(0,a.A)(function*(){var T;m.presentToast("Downloading ....");let A=B.metaData.artifactUrl?B.metaData.artifactUrl.split("/"):B.metaData.url.split("/"),w=null!==(T=B.metaData.artifactUrl)&&void 0!==T?T:B.metaData.url;const $=yield(yield fetch(w)).blob(),k=yield m.convertBlobToBase64($);try{return yield S.YA.mkdir({path:"downloadedContents",directory:S.__.Data}),yield m.writeFileStorage(A,k)}catch{return yield m.writeFileStorage(A,k)}})()}writeFileStorage(B,m){var T=this;return(0,a.A)(function*(){try{let A=yield S.YA.writeFile({path:`downloadedContents/${B[B.length-1]}`,data:m,directory:S.__.Data});return yield T.toast.dismiss(),A.uri?yield T.presentToast("Downloaded successfully"):yield T.presentToast("Failed to download"),setTimeout((0,a.A)(function*(){yield T.toast.dismiss()}),100),A}catch(A){console.log("e ",A)}})()}presentToast(B){var m=this;return(0,a.A)(function*(){m.toast=yield m.toastController.create({message:m.translate.instant(B),position:"bottom",color:"dark"}),yield m.toast.present()})()}convertBlobToBase64(B){return new Promise((m,T)=>{const A=new FileReader;A.onerror=T,A.onload=()=>{m(A.result)},A.readAsDataURL(B)})}}return(C=_).\u0275fac=function(B){return new(B||C)(p.KVO(O.K_),p.KVO(c.c$))},C.\u0275prov=p.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}),_})()},2904:(Ce,ee,E)=>{"use strict";E.d(ee,{Gf:()=>C.G,Ux:()=>c.U,F_:()=>o,dk:()=>w.d,we:()=>_.w,at:()=>S.a,XU:()=>A,Ze:()=>l.Z,MK:()=>f,hs:()=>F.h,XI:()=>R.X,Sc:()=>$.S,n$:()=>a.n,q4:()=>B.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),F=E(8014),B=E(7594),m=E(467),T=E(4438);let A=(()=>{var L;class I{constructor(J,ie){this.apiService=J,this.preprocessService=ie}process(J){return(0,m.A)(function*(){})()}}return(L=I).\u0275fac=function(J){return new(J||L)(T.KVO(C.G),T.KVO(F.h))},L.\u0275prov=T.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})();var w=E(3871),R=E(9836),$=E(2186),k=E(3172),M=E(985),P=E(3207),U=E(6354),V=E(9437),W=E(56),oe=E(4999);class me{static mapChatToChatValues(I){return[I.identifier,I.message,I.botType,I.fromMe,I.mediaMimeType,I.mediaData,I.mediaUrl,I.duration,I.ts,I.reaction]}static mapChatToChatEntryToModel(I){return{identifier:I[oe.O.COLUMN_NAME_IDENTIFIER],message:I[oe.O.COLUMN_NAME_MESSAGE],messageType:I[oe.O.COLUMN_NAME_MEDIA_TYPE],botType:I[oe.O.COLUMN_NAME_BOT_TYPE],fromMe:I[oe.O.COLUMN_NAME_FROM_ME],mediaMimeType:I[oe.O.COLUMN_NAME_MEDIA_TYPE],mediaData:I[oe.O.COLUMN_NAME_MEDIA_DATA],mediaUrl:I[oe.O.COLUMN_NAME_MEDIA_PATH],duration:I[oe.O.COLUMN_NAME_DURATION],ts:I[oe.O.COLUMN_NAME_TIME_STAMP],reaction:I[oe.O.COLUMN_NAME_REACTIONS]}}}var te=E(2739),se=E(1626),g=E(446),n=E(5402);let o=(()=>{var L;class I{constructor(J,ie,pe){this.apiService=J,this.translate=ie,this.dbService=pe,g.g.then(De=>{this.domainConfig=De}).catch(De=>{console.error("Failed to load configuration:",De)})}getBotMessage(J,ie,pe,De){var Q=this;return(0,m.A)(function*(){let ae=Q.getBotApiPath(pe),qe={input:{},output:{format:J?"text":"audio"}};""!==J?qe.input={language:De,text:J,audio:"",context:localStorage.getItem("subDomain")+"_"+pe}:""!==ie&&(qe.input={language:De,audio:ie,text:"",context:localStorage.getItem("subDomain")+"_"+pe});let Oe=(new se.Lr).set("Authorization","Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtb2JpbGVfZGV2aWNlIn0.W9cvngZh0_Y6hcGCBqS8MZOejkUxU9ptnJFji6VBHtA").set("Content-Type","application/json");const xe=Oe.keys().reduce((Be,re)=>(Be[re]=Oe.getAll(re),Be),{}),Te=(new M._g.Builder).withHost(k.$.api.BASE_URL_BOT).withPath(ae).withType(M.kr.POST).withHeaders(xe).withBody(qe).withLanguge(De).build();return(0,P.s)(Q.apiService.fetch(Te).pipe((0,U.T)(Be=>Be),(0,V.W)(Be=>{throw Be})))})()}getBotApiPath(J){switch(J){case W.Zm.STORY:case W.Zm.PARENT:case W.Zm.TEACHER:return k.$.api.BOT_ACTIVITY_API_PATH;default:return""}}saveChatMessage(J){const ie=[];return ie.push({statement:oe.O.insertQueryWithColumns(),values:me.mapChatToChatValues(J)}),this.dbService.executeSet(ie)}getAllChatMessages(J){return this.dbService.readDbData(oe.O.readQuery(),{bot_type:J}).then(ie=>{const pe=[];return ie&&ie.length>0&&ie.map(De=>{pe.push(me.mapChatToChatEntryToModel(De))}),pe})}updateMessageReactions(J,ie){return this.dbService.executeQuery(`UPDATE ${oe.O.TABLE_NAME}\n SET ${oe.O.COLUMN_NAME_REACTIONS} = ${ie}\n WHERE ${oe.O.COLUMN_NAME_IDENTIFIER} = '${J}';`)}deleteExpiredChatMessages(){var J=this;return(0,m.A)(function*(){const ie=yield te.YA.readdir({path:"",directory:te.__.Data});for(let pe=0;pe864e5&&(yield te.YA.deleteFile({path:De.uri,directory:te.__.Data})),J.dbService.executeQuery(`DELETE FROM ${oe.O.TABLE_NAME} WHERE ${oe.O.COLUMN_NAME_TIME_STAMP} <= strftime('%s', datetime('now', '-1 day'));`)}})()}}return(L=I).\u0275fac=function(J){return new(J||L)(T.KVO(C.G),T.KVO(n.c$),T.KVO(S.a))},L.\u0275prov=T.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})();var l=E(8402);const v=(0,E(5083).F3)("LocalNotifications",{web:()=>E.e(4224).then(E.bind(E,4224)).then(L=>new L.LocalNotificationsWeb)});var y=E(1413),d=E(3021),r=E(1113);let f=(()=>{var L;class I{constructor(J,ie){this.router=J,this.tabService=ie,this.notifEvent=new y.B,this.notificationEventEmitted$=this.notifEvent.asObservable()}initializeLocalNotif(J){var ie=this;return(0,m.A)(function*(){let pe=ie;try{var De,Q,ae,qe;"granted"!==(yield v.checkPermissions()).display&&(yield v.requestPermissions());let Te={notifications:[{id:J.id,title:J.title,body:J.body,extra:J.extra,largeIcon:"res://drawable/ic_launcher",smallIcon:"res://drawable/ic_notification",schedule:{on:null===(De=J.schedule)||void 0===De?void 0:De.on,repeats:null===(Q=J.schedule)||void 0===Q?void 0:Q.repeats,every:null===(ae=J.schedule)||void 0===ae?void 0:ae.every,allowWhileIdle:null===(qe=J.schedule)||void 0===qe?void 0:qe.allowWhileIdle}}]};yield v.schedule(Te)}catch(Oe){console.log("Error on local notification ",Oe)}yield v.addListener("localNotificationActionPerformed",function(){var Oe=(0,m.A)(function*(xe){let Te=pe.router.location._locationStrategy._platformLocation._location;"/parent-sakhi"!==Te.pathname?(pe.tabService.hide(),"/"===Te.pathname?setTimeout((0,m.A)(function*(){yield pe.router.navigate(["/parent-sakhi"],{state:{notif:xe.notification}})}),3e3):yield pe.router.navigate(["/parent-sakhi"],{state:{notif:xe.notification}})):ie.notifEvent.next(xe.notification)});return function(xe){return Oe.apply(this,arguments)}}())})()}cancelNotification(J){return(0,m.A)(function*(){try{yield v.cancel({notifications:[{id:J}]})}catch(ie){console.log("Error on cancel local notification ",ie)}})()}}return(L=I).\u0275fac=function(J){return new(J||L)(T.KVO(d.Ix),T.KVO(r.q))},L.\u0275prov=T.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})()},1503:(Ce,ee,E)=>{"use strict";E.d(ee,{y:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="playlist_content",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_PLAYLIST_IDENTIFIER="playlist_identifier",p.COLUMN_NAME_CONTENT_ID="content_id",p.COLUMN_NAME_CONTENT_METADATA="content_metadata",p.COLUMN_NAME_SOURCE_TYPE="type",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_PLAYLIST_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_ID+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_METADATA+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_SOURCE_TYPE+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_PLAYLIST_IDENTIFIER},\n ${p.COLUMN_NAME_CONTENT_ID},\n ${p.COLUMN_NAME_CONTENT_METADATA},\n ${p.COLUMN_NAME_SOURCE_TYPE},\n ${p.COLUMN_NAME_TIME_STAMP}) \n VALUES (?,?,?,?,?,?)`,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.deleteQuery=()=>`DELETE FROM ${p.TABLE_NAME} WHERE \n ${p.COLUMN_NAME_IDENTIFIER} = ? AND \n ${p.COLUMN_NAME_PLAYLIST_IDENTIFIER} = ?`,p.deleteQueryOne=()=>`DELETE FROM ${p.TABLE_NAME}`,p.deleteTable=()=>"DROP TABLE IF EXISTS"+p.TABLE_NAME,p}(S||{})},2798:(Ce,ee,E)=>{"use strict";E.d(ee,{J:()=>S});var a=E(56),S=function(p){return p.TABLE_NAME="playlist",p._ID="_id",p.COLUMN_NAME_IDENTIFIER="identifier",p.COLUMN_NAME_NAME="name",p.COLUMN_NAME_UID="uid",p.COLUMN_NAME_CONTENT_COUNT="content_count",p.COLUMN_NAME_TIME_STAMP="ts",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY "+a.K.COMMA_SEP+p.COLUMN_NAME_IDENTIFIER+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_UID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_NAME+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_CONTENT_COUNT+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_TIME_STAMP+a.K.SPACE+a.K.TEXT_TYPE+" )",p.insertQueryWithColumns=()=>`INSERT INTO ${p.TABLE_NAME}(\n ${p.COLUMN_NAME_IDENTIFIER},\n ${p.COLUMN_NAME_NAME},\n ${p.COLUMN_NAME_UID},\n ${p.COLUMN_NAME_CONTENT_COUNT},\n ${p.COLUMN_NAME_TIME_STAMP}) \n VALUES (?,?,?,?,?)`,p.readQuery=()=>"SELECT * FROM "+p.TABLE_NAME,p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.updateQuery=()=>`UPDATE ${p.TABLE_NAME} SET`,p.deleteQuery=()=>"DELETE FROM "+p.TABLE_NAME,p}(S||{})},7803:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>B});var a=E(467),S=E(2798);class p{static mapContentToPlayListEntry(T,A,w,R){return{[S.J.COLUMN_NAME_IDENTIFIER]:w,[S.J.COLUMN_NAME_NAME]:T,[S.J.COLUMN_NAME_UID]:A,[S.J.COLUMN_NAME_CONTENT_COUNT]:R,[S.J.COLUMN_NAME_TIME_STAMP]:Date.now()}}static mapContentToValues(T,A,w,R,$){return[T,A,w,$,R,Date.now()]}}var O=E(6421),c=E(1503),D=E(532),C=E(4870),_=E(4438),F=E(2904);let B=(()=>{var m;class T{constructor(w){this.dbService=w}createPlayList(w,R,$,k){const M=k?S.J.updateQuery():S.J.insertQuery(),P=k?{identifier:k}:void 0,U=!!k;return k||(k=(0,O.A)()),this.dbService.save(M,p.mapContentToPlayListEntry(w,R,k,$.length),P).then(()=>this.addContentToPlayList(k,$,U))}addContentToPlayList(w,R,$){var k=this;return(0,a.A)(function*(){const M=[];for(let V=0;Vthis.getPlayListContents(w).then($=>Promise.resolve({identifier:R[0].identifier,name:R[0].name,uid:R[0].uid,playListcontentList:$})))}getPlayListContents(w){return this.dbService.executeQuery(`SELECT *\n FROM ${c.y.TABLE_NAME}\n WHERE ${c.y.COLUMN_NAME_PLAYLIST_IDENTIFIER} = '${w}'\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(w){return this.dbService.remove(S.J.deleteQuery(),{identifier:w}).then(()=>this.dbService.remove(c.y.deleteQueryOne(),{playlist_identifier:w}))}deleteContentFromPlayList(w,R){const $=[];return R.map(k=>{$.push({statement:c.y.deleteQuery(),values:[k,w]})}),this.dbService.executeSet($)}}return(m=T).\u0275fac=function(w){return new(w||m)(_.KVO(F.at))},m.\u0275prov=_.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),T})()},9836:(Ce,ee,E)=>{"use strict";E.d(ee,{X:()=>F});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(B=>new B.HapticsWeb)});var D=E(1413),C=E(4438),_=E(8974);let F=(()=>{var B;class m{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:R=>{c.impact({style:O.kn.Light})},onMove:R=>{c.impact({style:O.kn.Light}),this.recordEvent.next(!1),this.cancelRecording=!0},onEnd:R=>{c.impact({style:O.kn.Light}),this.recording=!1,this.recordEvent.next(!1)}},!0).enable()}startRecognition(A){var w=this;return(0,a.A)(function*(){w.cancelRecording=!1,S.R.startRecording(),c.impact({style:O.kn.Light}),!w.recording&&(w.recording=!0,w.calculation(A),w.recordEvent.next(!0))})()}calculation(A){if(!this.recording)return this.duration=0,void(this.durationDisplay="");this.duration+=1;const w=Math.floor(this.duration/60),R=(this.duration%60).toString().padStart(2,"0");this.durationDisplay=`${w}:${R}`,setTimeout(()=>{this.calculation(A)},1e3)}stopRecognition(A){var w=this;return(0,a.A)(function*(){if(c.impact({style:O.kn.Light}),w.recordEvent.next(!1),w.recording)return yield S.R.stopRecording().then(function(){var R=(0,a.A)(function*($){if(w.recording=!1,!w.cancelRecording)return"search"==A?$.value.recordDataBase64:$});return function($){return R.apply(this,arguments)}}())})()}}return(B=m).\u0275fac=function(A){return new(A||B)(C.KVO(_.wH))},B.\u0275prov=C.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),m})()},2186:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>B});var a=E(467),S=E(3207),p=E(6354),O=E(9437),c=E(3172),D=E(985),C=E(446),_=E(4438),F=E(2700);let B=(()=>{var m;class T{constructor(w){this.apiService=w,C.g.then(R=>{this.configVariables=R}).catch(R=>{console.error("Failed to load configuration:",R)})}postSearchContext(w,R){var $=this;return(0,a.A)(function*(){let k={};k=R?{audio:w.text,language:w.currentLang,request:{orderBy:{mimetype:"video/x-youtube"},filters:$.configVariables.defaultContentFilter[0]}}:{name:w.text,language:w.currentLang,request:{orderBy:{mimetype:"video/x-youtube"},filters:$.configVariables.defaultContentFilter[0]}};let M=JSON.stringify(k);const P=(new D._g.Builder).withHost(c.$.api.BASE_URL).withPath(c.$.api.CONTENT_SEARCH_API).withType(D.kr.POST).withBody(M).withBearerToken(!0).withLanguge(w.currentLang).build();return(0,S.s)($.apiService.fetch(P).pipe((0,p.T)(U=>U.body),(0,O.W)(U=>{throw U})))})()}postContentSearch(w,R){let $={name:null==w?void 0:w.name,category:null==w?void 0:w.category,language:R,request:{orderBy:{mimetype:"video/x-youtube"},filters:this.configVariables.defaultContentFilter[0]}};const k=(new D._g.Builder).withHost(c.$.api.BASE_URL).withPath(c.$.api.CONTENT_SEARCH_API).withType(D.kr.POST).withBody($).withBearerToken(!0).withLanguge(R).build();return(0,S.s)(this.apiService.fetch(k).pipe((0,p.T)(M=>M.body.result),(0,O.W)(M=>{throw M})))}}return(m=T).\u0275fac=function(w){return new(w||m)(_.KVO(F.G))},m.\u0275prov=_.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),T})()},8014:(Ce,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(_)}),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:(Ce,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(F,B){this.apiService=F,this.preprocessService=B}process(F,B){return(0,a.A)(function*(){})()}}return(D=C).\u0275fac=function(F){return new(F||D)(S.KVO(p.G),S.KVO(O.h))},D.\u0275prov=S.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},3486:(Ce,ee,E)=>{"use strict";E.d(ee,{n:()=>c});var a=E(467);const p=(0,E(5083).F3)("Preferences",{web:()=>E.e(2924).then(E.bind(E,2924)).then(D=>new D.PreferencesWeb)});var O=E(4438);let c=(()=>{var D;class C{constructor(){}setData(F,B){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.set({key:F,value:B}).then(m=>!0).catch(m=>m)})()}getData(F){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.get({key:F}).then(B=>B.value).catch(B=>B)})()}removeData(F){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.remove({key:F}).then(B=>!0).catch(B=>B)})()}getStorageKeys(){return(0,a.A)(function*(){return yield p.configure({group:C.groupPreferenceName}),yield p.keys().then(F=>F).catch(F=>F)})()}clearStorage(){return(0,a.A)(function*(){yield p.configure({group:C.groupPreferenceName}),yield p.clear().then(F=>!0).catch(F=>F)})()}}return(D=C).groupPreferenceName="DJPData",D.\u0275fac=function(F){return new(F||D)},D.\u0275prov=O.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}),C})()},1113:(Ce,ee,E)=>{"use strict";E.d(ee,{q:()=>S});var a=E(4438);let S=(()=>{var p;class 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(F=>{"translateY(5rem)"!==D[F].style.transform&&(D[F].style.transform="translateY(5rem)")}),Object.keys(C).map(F=>{"translateY(5.2rem)"!==C[F].style.transform&&(C[F].style.transform="translateY(5.2rem)")}),setTimeout(()=>{Object.keys(_).map(F=>{_[F].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:(Ce,ee,E)=>{"use strict";E.d(ee,{K:()=>S});var a=E(56),S=function(p){return p._ID="_id",p.TABLE_NAME="processed_telemetry",p.COLUMN_NAME_MSG_ID="msg_id",p.COLUMN_NAME_DATA="data",p.COLUMN_NAME_NUMBER_OF_EVENTS="event_count",p.COLUMN_NAME_PRIORITY="priority",p.getCreateEntry=()=>"CREATE TABLE IF NOT EXISTS "+p.TABLE_NAME+" ("+p._ID+" INTEGER PRIMARY KEY,"+p.COLUMN_NAME_MSG_ID+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_DATA+a.K.SPACE+a.K.TEXT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_NUMBER_OF_EVENTS+a.K.SPACE+a.K.INT_TYPE+a.K.COMMA_SEP+p.COLUMN_NAME_PRIORITY+a.K.SPACE+a.K.INT_TYPE+" )",p.insertQuery=()=>`INSERT INTO ${p.TABLE_NAME}`,p.getDeleteEntry=()=>"DROP TABLE IF EXISTS "+p.TABLE_NAME,p}(S||{})},2918:(Ce,ee,E)=>{"use strict";E.d(ee,{B:()=>C});var a=E(8855),p=E(3172),O=E(3649),c=E(4438),D=E(2904);let C=(()=>{var _;class F{constructor(m){this.utilService=m}decorate(m,T,A,w,R,$,k){return m.mid||(m.mid=`${m.eid}:${a(JSON.stringify(m)).toString()}`),this.patchActor(m,A),this.patchContext(m,T,A,R,$,k),m.context.cdata&&(m.context.cdata=[...m.context.cdata,{id:T,type:"UserSession"}]),m}patchActor(m,T){m.actor||(m.actor=new O.Ag);const A=m.actor;A.id||(A.id=T),A.type||(A.type=O.Ag.TYPE_USER)}patchContext(m,T,A,w,R,$){m.context||(m.context=new O.ob),m.context=this.buildContext(T,A,R,m.context,w,$)}patchPData(m,T){m.pdata||(m.pdata=new O.zE);const A=m.pdata;A.id||(A.id=p.$.telmetry.PRODUCER_ID),A.pid=p.$.telmetry.PRODUCER_PID,A.ver||(A.ver=T)}prepare(m,T){return{event:JSON.stringify(m),event_type:m.eid,timestamp:Date.now(),priority:1}}buildContext(m,T,A,w,R,$){return w.channel=A,this.patchPData(w,R),w.env||(w.env="app"),w.sid=m,w.did=T,w.cdata=w.cdata?w.cdata.concat($||[]):$||[],w}}return(_=F).\u0275fac=function(m){return new(m||_)(c.KVO(D.a0))},_.\u0275prov=c.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),F})()},3649:(Ce,ee,E)=>{"use strict";E.d(ee,{$i:()=>C,Ag:()=>a,Q$:()=>_,ob:()=>S,zE:()=>c});let a=(()=>{var F;class B{constructor(){this.id="",this.type=B.TYPE_USER}}return(F=B).TYPE_SYSTEM="System",F.TYPE_USER="User",B})();class S{}class c{ProducerData(){this.id="",this.pid="",this.ver=""}}class C{constructor(B,m,T){this.id=B,this.type=m,this.version=T}setRollup(B){this.rollup=B}}var _;!function(F){let B=(()=>{class k{constructor(P){this.ver=k.TELEMETRY_VERSION,this.eid=P,this.ets=Date.now(),this.actor=new a,this.context=new S,this.edata={}}}return k.TELEMETRY_VERSION="3.0",k})();F.Telemetry=B,F.Interact=(()=>{class k extends B{constructor(P,U,V,W,oe,me,te,se="",g="",n="",o={},l=[]){super(k.EID),this.edata={type:P,subtype:U,...V?{id:V}:{},...W?{pageid:W}:{},extra:{...oe?{pos:oe}:{},...me?{values:[me]}:{}}},this.context.cdata=l,this.context.env=te,se&&g&&(this.object=new C(se,g,n),o&&(this.object.rollup=o||{}))}}return k.EID="INTERACT",k})(),F.End=(()=>{class k extends B{constructor(P,U,V,W,oe,me,te="",se="",g="",n={},o=[]){super(k.EID),this.edata={...P?{type:P}:{},...V?{duration:V}:{},...W?{pageid:W}:{},...U?{mode:U}:{},...oe?{summaryList:oe}:{}},this.context.cdata=o,this.context.env=me,this.object=new C(te,se,g),this.object.rollup=n}}return k.EID="END",k})(),F.Start=(()=>{class k extends B{constructor(P="",U,V,W,oe,me,te,se="",g="",n="",o={},l=[]){super(k.EID),this.edata={...P?{type:P}:{type:""},...U?{dspec:U}:{},...V?{loc:V}:{},...W?{mode:W}:{},...oe?{mode:W}:{},...me?{pageid:me}:{}},this.context.cdata=l,this.context.env=te,se&&g&&(this.object=new C(se,g,n),o&&(this.object.rollup=o||{}))}}return k.EID="START",k})(),F.Impression=(()=>{class k extends B{constructor(P,U,V,W,oe,me="",te="",se="",g={},n=[]){super(k.EID),this.edata={...P?{type:P}:{type:""},...U?{subtype:U}:{},...V?{pageid:V}:{},...V?{uri:V}:{},...W?{visits:W}:{}},this.context.cdata=n,this.context.env=oe,me&&te&&(this.object=new C(me,te,se),g&&(this.object.rollup=g||{}))}}return k.EID="IMPRESSION",k})(),F.Search=(()=>{class k extends B{constructor(P,U,V,W,oe,me,te=0,se=[]){super(k.EID),this.edata={...P?{type:P}:{type:""},...U?{query:U}:{},...V?{filters:V}:{},...W?{sort:W}:{},...me?{correlationid:me}:{},...te?{size:te}:{}},this.context.cdata=se,this.context.env=oe}}return k.EID="SEARCH",k})()}(_||(_={}))},5173:(Ce,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 F;class B{constructor(T){this.telemetryService=T}generateInteractTelemetry(T,A,w,R,$,k,M,P,U){const V=new a;V.type=T,V.subType=A,V.pageId=R,V.id=U||R,V.env=w,null!==k&&(V.valueMap=k),void 0!==M&&(V.rollup=M),void 0!==P&&(V.correlationData=P),$&&$.id&&(V.objId=$.id),$&&$.type&&(V.objType=$.type),$&&$.version&&(V.objVer=$.version+""),this.telemetryService.interact(V).subscribe()}generateImpressionTelemetry(T,A,w,R,$,k,M,P,U){const V=new S;V.type=T,V.subType=A,V.pageId=w,V.env=R,V.objId=$||"",V.objType=k||"",V.objVer=M?M+"":"",void 0!==P&&(V.rollup=P),void 0!==U&&(V.correlationData=U),this.telemetryService.impression(V).subscribe()}generateEndTelemetry(T,A,w,R,$,k,M,P,U){const V=new O;V.type=T,V.pageId=w,V.env=R,V.mode=A,P&&(V.duration=P),$&&$.id&&(V.objId=$.id),$&&$.type&&(V.objType=$.type),$&&$.version&&(V.objVer=$.version+""),k&&(V.rollup=k),M&&(V.correlationData=M),U&&(V.summaryList=U),this.telemetryService.end(V).subscribe()}generateStartTelemetry(T,A,w,R,$){const k=new p;k.type=T,k.pageId=A,k.mode="play",w&&w.id&&(k.objId=w.id),w&&w.type&&(k.objType=w.type),w&&w.version&&(k.objVer=w.version+""),void 0!==R&&(k.rollup=R),void 0!==$&&(k.correlationData=$),this.telemetryService.start(k).subscribe()}generateSearchTelemetry(T,A,w,R,$,k,M,P){const U=new c;U.type=T,U.query=A,U.env=R,U.size=w,$&&(U.filters=$),k&&(U.sort=k),void 0!==P&&(U.correlationData=P),M&&(U.correlationid=M),this.telemetryService.search(U).subscribe()}genererateAppStartTelemetry(T){const A=new p;A.type="app",A.env="home",A.deviceSpecification=T,this.telemetryService.start(A).subscribe()}}return(F=B).\u0275fac=function(T){return new(T||F)(D.KVO(C.H0))},F.\u0275prov=D.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),B})()},1765:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>f});var a=E(2814),S=E(1985),p=E(8750);const{isArray:O}=Array;var D=E(983),C=E(4360),_=E(9326);var B=E(6648),m=E(3028),T=E(9030),A=E(7673),w=E(9316),R=E(9974),$=E(5412);function k(L,I=1/0,j){return I=(I||0)<1?1/0:I,(0,R.N)((J,ie)=>(0,$.h)(J,ie,L,I,void 0,!0,j))}var M=E(6649);function P(L,I){return(0,R.N)((0,M.S)(L,I,arguments.length>=2,!1,!0))}var U=E(3703),V=E(6354),W=E(9437),oe=E(7374),me=E(5870),te=E(6421);class se{process(I){if("object"!=typeof I)throw new Error('TelemetryEntriesToStringPreprocessor expects input of type "object"');return JSON.stringify(I)}}var g=E(3172),n=E(985);class o{constructor(I,j){this.dbService=I,this.apiService=j,this.preprocessors=[],this.preprocessors=[new se]}handle(I){return this.hasTelemetryThresholdCrossed().pipe((0,m.Z)(j=>j?this.processEventsBatch(I).pipe(k(J=>J?this.processEventsBatch(I):D.w),P(()=>{},void 0),(0,m.Z)(()=>this.handleProcessedEventsBatch()),k(J=>J.syncedEventCount?this.handleProcessedEventsBatch():D.w),P((J,ie)=>({syncedEventCount:J.syncedEventCount+ie.syncedEventCount,syncTime:Date.now(),syncedFileSize:J.syncedFileSize+ie.syncedFileSize,error:ie.error?ie.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,m.Z)(j=>j?this.processEvents(j,I).pipe((0,m.Z)(J=>this.persistProcessedEvents(J,J.processedEventsSize).pipe((0,m.Z)(()=>this.deleteEvents(j)),(0,U.u)(j.length)))):(0,A.of)(0)))}hasTelemetryThresholdCrossed(){return(0,B.H)(this.dbService.executeQuery(`\n SELECT count(*) as COUNT FROM ${a.C.TABLE_NAME}`)).pipe((0,V.T)(I=>!0))}fetchEvents(){return(0,B.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,j){if(!I)return(0,A.of)({processedEventsSize:0});const J=(0,te.A)();return(0,A.of)({processedEvents:this.preprocessors.reduce((ie,pe)=>pe.process(ie),{id:"ekstep.telemetry",ver:"1.0",ts:oe().format("YYYY-MM-DDTHH:mm:ss[Z]"),events:I.map(ie=>JSON.parse(ie[a.C.COLUMN_EVENT])),params:{did:j,msgid:J,key:"",requesterId:""}}),processedEventsSize:I.length,messageId:J})}persistProcessedEvents({processedEvents:I,messageId:j},J){return I?(0,B.H)(this.dbService.save(me.K.insertQuery(),{[me.K.COLUMN_NAME_MSG_ID]:j,[me.K.COLUMN_NAME_NUMBER_OF_EVENTS]:J,[me.K.COLUMN_NAME_PRIORITY]:1,[me.K.COLUMN_NAME_DATA]:I})).pipe((0,U.u)(void 0)):(0,A.of)(void 0)}deleteEvents(I){return I.length?(0,B.H)(this.dbService.executeQuery(`\n DELETE FROM ${a.C.TABLE_NAME}\n WHERE ${a.C._ID} IN (${I.map(j=>j[a.C._ID]).join(",")})\n `)):(0,A.of)(void 0)}handleProcessedEventsBatch(I){return this.fetchProcessedEventsBatch().pipe((0,m.Z)(j=>this.syncProcessedEvent(j).pipe((0,m.Z)(J=>this.deleteProcessedEvent(j).pipe((0,U.u)(J||{syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0})))))).pipe()}fetchProcessedEventsBatch(){return(0,B.H)(this.dbService.executeQuery(`SELECT * FROM ${me.K.TABLE_NAME} LIMIT 1`)).pipe((0,V.T)(I=>I&&I[0]))}syncProcessedEvent(I){if(!I)return(0,A.of)(void 0);const j=(new n._g.Builder).withHost(g.$.api.TELEMETRY_BASE_URL).withPath(g.$.api.TELEMETRY_SYNC).withType(n.kr.POST).withBearerToken(!0).withBody(JSON.parse(I[me.K.COLUMN_NAME_DATA])).build();return this.apiService.fetch(j).pipe((0,V.T)(()=>({syncedEventCount:I[me.K.COLUMN_NAME_NUMBER_OF_EVENTS],syncTime:Date.now(),syncedFileSize:0})),(0,W.W)(J=>(0,A.of)({syncedEventCount:0,syncTime:Date.now(),syncedFileSize:0,error:J})))}deleteProcessedEvent(I){return I?(0,B.H)(this.dbService.executeQuery(`DELETE FROM ${me.K.TABLE_NAME} WHERE ${me.K._ID}='${I[me.K._ID]}'`)):(0,A.of)(void 0)}}var l=E(3649),s=E(4438),h=E(4591),v=E(3486),y=E(2342),d=E(2700),r=E(2918);let f=(()=>{var L;class I{constructor(J,ie,pe,De,Q){this.dbService=J,this.storageService=ie,this.utilService=pe,this.apiService=De,this.decorator=Q,this.deviceId="",w.p.getId().then(ae=>(this.deviceId=ae.identifier,this.deviceId))}start({type:J,deviceSpecification:ie,loc:pe,mode:De,duration:Q,pageId:ae,env:qe,objId:Oe,objType:xe,objVer:Te,rollup:Be,correlationData:re}){const ne=new l.Q$.Start(J,ie,pe,De,Q,ae,qe,Oe,xe,Te,Be,re);return this.decorateAndPersist(ne)}end({type:J,mode:ie,duration:pe,pageId:De,summaryList:Q,env:ae,objId:qe,objType:Oe,objVer:xe,rollup:Te,correlationData:Be}){const re=new l.Q$.End(J,ie,pe,De,Q,ae,qe,Oe,xe,Te,Be);return this.decorateAndPersist(re)}interact({type:J,subType:ie,id:pe,pageId:De,pos:Q,env:ae,rollup:qe,valueMap:Oe,correlationData:xe,objId:Te,objType:Be,objVer:re}){const ne=new l.Q$.Interact(J,ie,pe,De,Q,Oe,ae,Te,Be,re,qe,xe);return this.decorateAndPersist(ne)}impression({type:J,subType:ie,pageId:pe,env:De,objId:Q,objType:ae,objVer:qe,rollup:Oe,correlationData:xe}){const Te=new l.Q$.Impression(J,ie,pe,[],De,Q,ae,qe,Oe,xe);return this.decorateAndPersist(Te)}search({type:J,query:ie,filters:pe,sort:De,correlationid:Q,size:ae,env:qe,correlationData:Oe}){const xe=new l.Q$.Search(J,ie,pe,De,qe,Q,ae,Oe);return this.decorateAndPersist(xe)}decorateAndPersist(J){let ie="";const pe=localStorage.getItem("subDomain");return ie=null!=pe?pe:new URL(document.baseURI).hostname,function F(...L){const I=(0,_.ms)(L),j=function c(L){return 1===L.length&&O(L[0])?L[0]:L}(L);return j.length?new S.c(J=>{let ie=j.map(()=>[]),pe=j.map(()=>!1);J.add(()=>{ie=pe=null});for(let De=0;!J.closed&&De{if(ie[De].push(Q),ie.every(ae=>ae.length)){const ae=ie.map(qe=>qe.shift());J.next(I?I(...ae):ae),ie.some((qe,Oe)=>!qe.length&&pe[Oe])&&J.complete()}},()=>{pe[De]=!0,!ie[De].length&&J.complete()}));return()=>{ie=pe=null}}):D.w}((0,B.H)(this.utilService.getAppInfo()),(0,B.H)(this.utilService.getDeviceId())).pipe((0,m.Z)(De=>{const Q=De[0].version,ae=De[1];return(0,B.H)(this.storageService.getData("sid")).pipe((0,m.Z)(qe=>{const Oe=this.decorator.prepare(this.decorator.decorate(J,null!=qe?qe:"",ae,(0,te.A)(),Q,ie,[]),1);return this.dbService.save(a.C.insertData(),Oe)}))}))}saveTelemetry(J){return(0,T.v)(()=>{try{const ie=JSON.parse(J);return this.decorateAndPersist(ie)}catch(ie){return console.error(ie),(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(d.G),s.KVO(r.B))},L.\u0275prov=s.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),I})()},2342:(Ce,ee,E)=>{"use strict";E.d(ee,{a:()=>B});var a=E(467),S=E(8941),p=E(9316),O=E(9986),D=E(5083),C=E(4438),_=E(5402),F=E(8974);let B=(()=>{var m;class T{constructor(w,R){this.translate=w,this.loadingCtrl=R}getDeviceSpec(){var w=this;return(0,a.A)(function*(){const R=yield p.p.getInfo(),$=yield w.getDeviceId();return{os:`${R.operatingSystem} ${R.osVersion}`,make:R.manufacturer,id:$}})()}getDeviceId(){return(0,a.A)(function*(){const w=yield p.p.getId();return O(w.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(w,R){let $="",k="";return k="object"==typeof R?R:{"%s":R},this.translate.get(w,k).subscribe(M=>{$=M}),$}getLoader(w,R){return this.loadingCtrl.create({message:R,duration:w||3e4,cssClass:R?"custom-loader-message-class":"custom-loader-class"})}}return(m=T).\u0275fac=function(w){return new(w||m)(C.KVO(_.c$),C.KVO(F.Xi))},m.\u0275prov=C.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),T})()},6313:(Ce,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),F=E(6198),B=E(2904),m=E(177),T=E(9417);function A(Ve,Re){if(1&Ve&&(p.j41(0,"ion-item")(1,"ion-label"),p.EFF(2),p.k0s(),p.nrm(3,"ion-radio",3),p.k0s()),2&Ve){const Le=Re.$implicit;p.R7$(2),p.JRh(Le.label),p.R7$(),p.FS9("value",Le.id)}}let w=(()=>{var Ve;class Re{constructor(Ie,ut,Vt,dn,fn){this.translateService=Ie,this.navParams=ut,this.modalCtrl=Vt,this.languageService=dn,this.storage=fn,this.selectedLanguage=""}ngOnInit(){var Ie=this;return(0,a.A)(function*(){Ie.languages=[],Ie.languages=Ie.navParams.get("languages");let ut=yield Ie.storage.getData("lang");console.log("current lang ",ut),Ie.selectedLanguage=ut})()}languageSelected(Ie){let ut=Ie.detail.value;this.storage.setData("lang",ut),this.translateService.use(ut),this.selectedLanguage=ut,this.languageService.setLanguage(ut),this.dismissModal()}dismissModal(){this.modalCtrl.dismiss()}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.rXU(_.c$),p.rXU(c.y8),p.rXU(D.W3),p.rXU(F.g),p.rXU(B.n$))},Ve.\u0275cmp=p.VBU({type:Ve,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(Ie,ut){1&Ie&&(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(dn){return p.DH7(ut.selectedLanguage,dn)||(ut.selectedLanguage=dn),dn}),p.bIt("ionChange",function(dn){return ut.languageSelected(dn)}),p.j41(7,"ion-list"),p.DNE(8,A,4,2,"ion-item",2),p.k0s()()()),2&Ie&&(p.R7$(3),p.JRh(p.bMT(4,3,"Select Language")),p.R7$(3),p.R50("ngModel",ut.selectedLanguage),p.R7$(2),p.Y8G("ngForOf",ut.languages))},dependencies:[m.Sq,T.BC,T.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}"]}),Re})();var R=E(4801),$=E.n(R);const k=["video"],M=["canvas"],P=["fileinput"];function U(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"ion-button",13),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.reset())}),p.nrm(1,"ion-icon",14),p.EFF(2," Reset "),p.k0s()}}function V(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"ion-button",15),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.stopScan())}),p.nrm(1,"ion-icon",16),p.EFF(2," Stop scan "),p.k0s()}}function W(Ve,Re){if(1&Ve&&(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&Ve){const Le=p.XpG();p.R7$(5),p.SpI(" ",Le.scanResult," ")}}function oe(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.openLink())}),p.EFF(2),p.nI1(3,"translate"),p.k0s(),p.j41(4,"ion-button",18),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.close())}),p.EFF(5,"Close"),p.k0s()()}2&Ve&&(p.R7$(2),p.JRh(p.bMT(3,1,"OPEN_IN_BROWSER")))}function me(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div")(1,"ion-button",17),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.close())}),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}2&Ve&&(p.R7$(2),p.JRh(p.bMT(3,1,"CLOSE")))}let te=(()=>{var Ve;class Re{constructor(Ie,ut,Vt,dn,fn){this.navParams=Ie,this.modalCtrl=ut,this.toastCtrl=Vt,this.loadingCtrl=dn,this.plt=fn,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 Ie=new URL(this.scanText);return"http:"===Ie.protocol||"https:"===Ie.protocol}catch{return!1}}ngAfterViewInit(){this.canvasElement=this.canvas.nativeElement,this.canvasContext=this.canvasElement.getContext("2d"),this.videoElement=this.video.nativeElement}showQrToast(){var Ie=this;return(0,a.A)(function*(){(yield Ie.toastCtrl.create({message:`Open ${Ie.scanResult}?`,position:"top",buttons:[{text:"Open",handler:()=>{Ie.scanResult&&window.open(Ie.scanResult,"_system","location=yes")}}]})).present()})()}reset(){this.scanResult=null}startScan(){var Ie=this;return(0,a.A)(function*(){const ut=yield navigator.mediaDevices.getUserMedia({video:{facingMode:"environment"}});Ie.videoElement.srcObject=ut,Ie.videoElement.setAttribute("playsinline",!0),Ie.loading=yield Ie.loadingCtrl.create({}),yield Ie.loading.present(),Ie.videoElement.play(),requestAnimationFrame(Ie.scan.bind(Ie))})()}stopScan(){this.scanActive=!1;const Ie=this.videoElement.srcObject;Ie&&(Ie.getTracks().forEach(function(Vt){Vt.stop()}),this.videoElement.srcObject=null)}scan(){var Ie=this;return(0,a.A)(function*(){try{if(yield navigator.mediaDevices.getUserMedia({video:!0}),Ie.videoElement.readyState===Ie.videoElement.HAVE_ENOUGH_DATA){Ie.loading&&(yield Ie.loading.dismiss(),Ie.loading=null,Ie.scanActive=!0),Ie.canvasElement.height=Ie.videoElement.videoHeight,Ie.canvasElement.width=Ie.videoElement.videoWidth,Ie.canvasContext.drawImage(Ie.videoElement,0,0,Ie.canvasElement.width,Ie.canvasElement.height);const Vt=Ie.canvasContext.getImageData(0,0,Ie.canvasElement.width,Ie.canvasElement.height),dn=$()(Vt.data,Vt.width,Vt.height,{inversionAttempts:"dontInvert"});null!=dn&&dn.data?(Ie.scanActive=!1,Ie.scanResult=dn.data,Ie.stopScan(),Ie.showQrToast()):Ie.scanActive&&requestAnimationFrame(Ie.scan.bind(Ie))}else requestAnimationFrame(Ie.scan.bind(Ie))}catch(ut){console.error("Error accessing camera:",ut)}})()}captureImage(){this.fileinput.nativeElement.click()}handleFile(Ie){const ut=Ie.target;if(ut instanceof HTMLInputElement&&ut.files&&ut.files.length>0){const dn=ut.files[0];var Vt=new Image;Vt.onload=()=>{this.canvasContext.drawImage(Vt,0,0,this.canvasElement.width,this.canvasElement.height);const fn=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Un=$()(fn.data,fn.width,fn.height,{inversionAttempts:"dontInvert"});Un&&(this.scanResult=Un.data,this.showQrToast())},Vt.src=URL.createObjectURL(dn)}}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.rXU(c.y8),p.rXU(D.W3),p.rXU(D.K_),p.rXU(D.Xi),p.rXU(c.OD))},Ve.\u0275cmp=p.VBU({type:Ve,selectors:[["app-qrcode-popup"]],viewQuery:function(Ie,ut){if(1&Ie&&(p.GBs(k,5),p.GBs(M,5),p.GBs(P,5)),2&Ie){let Vt;p.mGM(Vt=p.lsd())&&(ut.video=Vt.first),p.mGM(Vt=p.lsd())&&(ut.canvas=Vt.first),p.mGM(Vt=p.lsd())&&(ut.fileinput=Vt.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(Ie,ut){if(1&Ie){const Vt=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(Vt),p.Njj(ut.captureImage())}),p.nrm(6,"ion-icon",6),p.EFF(7," Capture Image "),p.k0s(),p.j41(8,"ion-button",5),p.bIt("click",function(){return p.eBV(Vt),p.Njj(ut.startScan())}),p.nrm(9,"ion-icon",7),p.EFF(10," Start scan "),p.k0s(),p.DNE(11,U,3,0,"ion-button",8),p.nrm(12,"video",9,1)(14,"canvas",10,2),p.DNE(16,V,3,0,"ion-button",11)(17,W,6,1,"ion-card",12)(18,oe,6,3,"div",12)(19,me,4,3,"div",12),p.k0s()}2&Ie&&(p.R7$(2),p.JRh(ut.scanText),p.R7$(9),p.Y8G("ngIf",ut.scanResult),p.R7$(),p.Y8G("hidden",!ut.scanActive),p.R7$(4),p.Y8G("ngIf",ut.scanActive),p.R7$(),p.Y8G("ngIf",ut.scanResult),p.R7$(),p.Y8G("ngIf",ut.isValidURL),p.R7$(),p.Y8G("ngIf",!ut.isValidURL))},dependencies:[m.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}"]}),Re})();var se=E(319),g=E(3568),n=E(8359);class o extends n.yU{constructor(Re,Le){super()}schedule(Re,Le=0){return this}}const l={setInterval(Ve,Re,...Le){const{delegate:Ie}=l;return null!=Ie&&Ie.setInterval?Ie.setInterval(Ve,Re,...Le):setInterval(Ve,Re,...Le)},clearInterval(Ve){const{delegate:Re}=l;return((null==Re?void 0:Re.clearInterval)||clearInterval)(Ve)},delegate:void 0};var s=E(7908),v=E(6129);class y{constructor(Re,Le=y.now){this.schedulerActionCtor=Re,this.now=Le}schedule(Re,Le=0,Ie){return new this.schedulerActionCtor(this,Re).schedule(Ie,Le)}}y.now=v.U.now;const r=new class d extends y{constructor(Re,Le=y.now){super(Re,Le),this.actions=[],this._active=!1}flush(Re){const{actions:Le}=this;if(this._active)return void Le.push(Re);let Ie;this._active=!0;do{if(Ie=Re.execute(Re.state,Re.delay))break}while(Re=Le.shift());if(this._active=!1,Ie){for(;Re=Le.shift();)Re.unsubscribe();throw Ie}}}(class h extends o{constructor(Re,Le){super(Re,Le),this.scheduler=Re,this.work=Le,this.pending=!1}schedule(Re,Le=0){var Ie;if(this.closed)return this;this.state=Re;const ut=this.id,Vt=this.scheduler;return null!=ut&&(this.id=this.recycleAsyncId(Vt,ut,Le)),this.pending=!0,this.delay=Le,this.id=null!==(Ie=this.id)&&void 0!==Ie?Ie:this.requestAsyncId(Vt,this.id,Le),this}requestAsyncId(Re,Le,Ie=0){return l.setInterval(Re.flush.bind(Re,this),Ie)}recycleAsyncId(Re,Le,Ie=0){if(null!=Ie&&this.delay===Ie&&!1===this.pending)return Le;null!=Le&&l.clearInterval(Le)}execute(Re,Le){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Ie=this._execute(Re,Le);if(Ie)return Ie;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Re,Le){let ut,Ie=!1;try{this.work(Re)}catch(Vt){Ie=!0,ut=Vt||new Error("Scheduled action threw falsy error")}if(Ie)return this.unsubscribe(),ut}unsubscribe(){if(!this.closed){const{id:Re,scheduler:Le}=this,{actions:Ie}=Le;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.o)(Ie,this),null!=Re&&(this.id=this.recycleAsyncId(Le,Re,null)),this.delay=null,super.unsubscribe()}}}),f=r;var L=E(1985),I=E(9470);function J(Ve=0,Re,Le=f){let Ie=-1;return null!=Re&&((0,I.m)(Re)?Le=Re:Ie=Re),new L.c(ut=>{let Vt=function j(Ve){return Ve instanceof Date&&!isNaN(Ve)}(Ve)?+Ve-Le.now():Ve;Vt<0&&(Vt=0);let dn=0;return Le.schedule(function(){ut.closed||(ut.next(dn++),0<=Ie?this.schedule(void 0,Ie):ut.complete())},Vt)})}var pe=E(7673),De=E(8141),Q=E(5964),ae=E(9437),qe=E(3703);let Oe=(()=>{var Ve;class Re{constructor(Ie){this.telemetryService=Ie,this.shouldSync=!1}start(Ie){return this.shouldSync=!0,function ie(Ve=0,Re=r){return Ve<0&&(Ve=0),J(Ve,Ve,Re)}(Ie).pipe((0,De.M)(ut=>{}),(0,Q.p)(()=>this.shouldSync),(0,De.M)(()=>this.telemetryService.sync().pipe((0,De.M)(ut=>{}),(0,ae.W)(ut=>(console.error(ut),(0,pe.of)(void 0)))).toPromise()),(0,qe.u)(void 0))}pause(){this.shouldSync=!1}continue(){this.shouldSync=!0}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(B.H0))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Re})();var xe=E(2771),Te=E(1635),re=E(3726),ne={error:"cordova_not_available"},G={error:"plugin_not_installed"};function ge(Ve){if(typeof window<"u"&&window.angular){var Le=window.document,Ie=window.angular.element(Le.querySelector("[ng-app]")||Le.body).injector();if(Ie)return Ie.get("$q")(function(Vt,dn){Ve(Vt,dn)});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(Vt,dn){Ve(Vt,dn)});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 mt(Ve,Re,Le){var Ie,ut;"string"==typeof Ve?Ie=Ve:(Ie=Ve.constructor.getPluginRef(),Le=Ve.constructor.getPluginName(),ut=Ve.constructor.getPluginInstallName());var Vt=Cn(Ie);return!(!Vt||Re&&typeof Vt[Re]>"u")||(typeof window>"u"||!window.cordova?(function bn(Ve,Re){typeof process>"u"&&console.warn(Re?"Native: tried calling "+Ve+"."+Re+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+Ve+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}(Le,Re),ne):(function Ft(Ve,Re,Le){console.warn(Le?"Native: tried calling "+Ve+"."+Le+", but the "+Ve+" plugin is not installed.":"Native: tried accessing the "+Ve+" plugin but it's not installed."),Re&&console.warn("Install the "+Ve+" plugin: 'ionic cordova plugin add "+Re+"'")}(Le,ut,Re),G))}function At(Ve,Re,Le,Ie,ut,Vt){void 0===Ie&&(Ie={}),Le=function un(Ve,Re,Le,Ie){if(void 0===Re&&(Re={}),Re.sync)return Ve;if("reverse"===Re.callbackOrder)Ve.unshift(Ie),Ve.unshift(Le);else if("node"===Re.callbackStyle)Ve.push(function(fn,Un){fn?Ie(fn):Le(Un)});else if("object"===Re.callbackStyle&&Re.successName&&Re.errorName){var ut={};ut[Re.successName]=Le,ut[Re.errorName]=Ie,Ve.push(ut)}else if(typeof Re.successIndex<"u"||typeof Re.errorIndex<"u"){var Vt=function(){Re.successIndex>Ve.length?Ve[Re.successIndex]=Le:Ve.splice(Re.successIndex,0,Le)},dn=function(){Re.errorIndex>Ve.length?Ve[Re.errorIndex]=Ie:Ve.splice(Re.errorIndex,0,Ie)};Re.successIndex>Re.errorIndex?(dn(),Vt()):(Vt(),dn())}else Ve.push(Le),Ve.push(Ie);return Ve}(Le,Ie,ut,Vt);var dn=mt(Ve,Re);if(!0===dn){var fn=Cn(Ve.constructor.getPluginRef());return fn[Re].apply(fn,Le)}return dn}function Cn(Ve){return typeof window<"u"?St(window,Ve):null}function St(Ve,Re){for(var Le=Re.split("."),Ie=Ve,ut=0;ut"u"){var Ve=typeof window<"u"?window:{},Le=Date.now(),Ie=!1;Ve.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-Le)+" ms"),Ie=!0}),setTimeout(function(){!Ie&&Ve.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 _e=function(Ve){function Re(){var Le=null!==Ve&&Ve.apply(this,arguments)||this;return Le.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"},Le.locationAuthorizationMode={ALWAYS:"always",WHEN_IN_USE:"when_in_use"},Le.locationAccuracyAuthorization={FULL:"full",REDUCED:"reduced"},Le.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"]},Le.locationMode={HIGH_ACCURACY:"high_accuracy",DEVICE_ONLY:"device_only",BATTERY_SAVING:"battery_saving",LOCATION_OFF:"location_off"},Le.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"},Le.photoLibraryAccessLevel={ADD_ONLY:"add_only",READ_WRITE:"read_write"},Le}return(0,Te.C6)(Re,Ve),Re.prototype.isLocationAvailable=function(){return Wt(this,"isLocationAvailable",{},arguments)},Re.prototype.isWifiAvailable=function(){return Wt(this,"isWifiAvailable",{},arguments)},Re.prototype.isCameraAvailable=function(Le){return Wt(this,"isCameraAvailable",{callbackOrder:"reverse"},arguments)},Re.prototype.isBluetoothAvailable=function(){return Wt(this,"isBluetoothAvailable",{},arguments)},Re.prototype.switchToLocationSettings=function(){return Wt(this,"switchToLocationSettings",{sync:!0,platforms:["Android","Windows 10","iOS"]},arguments)},Re.prototype.switchToMobileDataSettings=function(){return Wt(this,"switchToMobileDataSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Re.prototype.switchToBluetoothSettings=function(){return Wt(this,"switchToBluetoothSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Re.prototype.switchToWifiSettings=function(){return Wt(this,"switchToWifiSettings",{sync:!0,platforms:["Android","Windows 10"]},arguments)},Re.prototype.isWifiEnabled=function(){return Wt(this,"isWifiEnabled",{platforms:["Android","Windows 10"]},arguments)},Re.prototype.setWifiState=function(Le){return Wt(this,"setWifiState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Re.prototype.setBluetoothState=function(Le){return Wt(this,"setBluetoothState",{callbackOrder:"reverse",platforms:["Android","Windows 10"]},arguments)},Re.prototype.enableDebug=function(){return Wt(this,"enableDebug",{platforms:["Android","iOS"]},arguments)},Re.prototype.isLocationEnabled=function(){return Wt(this,"isLocationEnabled",{platforms:["Android","iOS"]},arguments)},Re.prototype.isLocationAuthorized=function(){return Wt(this,"isLocationAuthorized",{},arguments)},Re.prototype.getLocationAuthorizationStatus=function(){return Wt(this,"getLocationAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.getLocationAuthorizationStatuses=function(){return Wt(this,"getLocationAuthorizationStatuses",{platforms:["Android","iOS"]},arguments)},Re.prototype.requestLocationAuthorization=function(Le,Ie){return Wt(this,"requestLocationAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.isCameraPresent=function(){return Wt(this,"isCameraPresent",{platforms:["Android","iOS"]},arguments)},Re.prototype.isCameraAuthorized=function(Le){return Wt(this,"isCameraAuthorized",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.getCameraAuthorizationStatus=function(Le){return Wt(this,"getCameraAuthorizationStatus",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.requestCameraAuthorization=function(Le){return Wt(this,"requestCameraAuthorization",{platforms:["Android","iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.isMicrophoneAuthorized=function(){return Wt(this,"isMicrophoneAuthorized",{platforms:["Android","iOS"]},arguments)},Re.prototype.getMicrophoneAuthorizationStatus=function(){return Wt(this,"getMicrophoneAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.requestMicrophoneAuthorization=function(){return Wt(this,"requestMicrophoneAuthorization",{platforms:["Android","iOS"]},arguments)},Re.prototype.isContactsAuthorized=function(){return Wt(this,"isContactsAuthorized",{platforms:["Android","iOS"]},arguments)},Re.prototype.getContactsAuthorizationStatus=function(){return Wt(this,"getContactsAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.requestContactsAuthorization=function(){return Wt(this,"requestContactsAuthorization",{platforms:["Android","iOS"]},arguments)},Re.prototype.isCalendarAuthorized=function(){return Wt(this,"isCalendarAuthorized",{platforms:["Android","iOS"]},arguments)},Re.prototype.getCalendarAuthorizationStatus=function(){return Wt(this,"getCalendarAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.requestCalendarAuthorization=function(){return Wt(this,"requestCalendarAuthorization",{platforms:["Android","iOS"]},arguments)},Re.prototype.switchToSettings=function(){return Wt(this,"switchToSettings",{platforms:["Android","iOS"]},arguments)},Re.prototype.getBluetoothState=function(){return Wt(this,"getBluetoothState",{platforms:["Android","iOS"]},arguments)},Re.prototype.registerBluetoothStateChangeHandler=function(Le){return Wt(this,"registerBluetoothStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Re.prototype.registerLocationStateChangeHandler=function(Le){return Wt(this,"registerLocationStateChangeHandler",{platforms:["Android","iOS"],sync:!0},arguments)},Re.prototype.getArchitecture=function(){return Wt(this,"getArchitecture",{platforms:["Android","iOS"]},arguments)},Re.prototype.getCurrentBatteryLevel=function(){return Wt(this,"getCurrentBatteryLevel",{platforms:["Android","iOS"]},arguments)},Re.prototype.restart=function(Le){return Wt(this,"restart",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.isGpsLocationAvailable=function(){return Wt(this,"isGpsLocationAvailable",{platforms:["Android"]},arguments)},Re.prototype.isGpsLocationEnabled=function(){return Wt(this,"isGpsLocationEnabled",{platforms:["Android"]},arguments)},Re.prototype.isNetworkLocationAvailable=function(){return Wt(this,"isNetworkLocationAvailable",{platforms:["Android"]},arguments)},Re.prototype.isNetworkLocationEnabled=function(){return Wt(this,"isNetworkLocationEnabled",{platforms:["Android"]},arguments)},Re.prototype.isAirplaneModeEnabled=function(){return Wt(this,"isAirplaneModeEnabled",{platforms:["Android"]},arguments)},Re.prototype.isMobileDataEnabled=function(){return Wt(this,"isMobileDataEnabled",{platforms:["Android"]},arguments)},Re.prototype.getLocationMode=function(){return Wt(this,"getLocationMode",{platforms:["Android"]},arguments)},Re.prototype.getDeviceOSVersion=function(){return Wt(this,"getDeviceOSVersion",{platforms:["Android"]},arguments)},Re.prototype.getBuildOSVersion=function(){return Wt(this,"getBuildOSVersion",{platforms:["Android"]},arguments)},Re.prototype.getPermissionAuthorizationStatus=function(Le){return Wt(this,"getPermissionAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.getPermissionsAuthorizationStatus=function(Le){return Wt(this,"getPermissionsAuthorizationStatus",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.requestRuntimePermission=function(Le){return Wt(this,"requestRuntimePermission",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.requestRuntimePermissions=function(Le){return Wt(this,"requestRuntimePermissions",{platforms:["Android"],callbackOrder:"reverse"},arguments)},Re.prototype.isRequestingPermission=function(){return Wt(this,"isRequestingPermission",{sync:!0},arguments)},Re.prototype.registerPermissionRequestCompleteHandler=function(Le){return Wt(this,"registerPermissionRequestCompleteHandler",{sync:!0},arguments)},Re.prototype.isBluetoothEnabled=function(){return Wt(this,"isBluetoothEnabled",{platforms:["Android"]},arguments)},Re.prototype.hasBluetoothSupport=function(){return Wt(this,"hasBluetoothSupport",{platforms:["Android"]},arguments)},Re.prototype.hasBluetoothLESupport=function(){return Wt(this,"hasBluetoothLESupport",{platforms:["Android"]},arguments)},Re.prototype.hasBluetoothLEPeripheralSupport=function(){return Wt(this,"hasBluetoothLEPeripheralSupport",{platforms:["Android"]},arguments)},Re.prototype.getBluetoothAuthorizationStatus=function(){return Wt(this,"getBluetoothAuthorizationStatus",{platforms:["Android","iOS"]},arguments)},Re.prototype.getBluetoothAuthorizationStatuses=function(){return Wt(this,"getBluetoothAuthorizationStatuses",{platforms:["Android"]},arguments)},Re.prototype.isExternalStorageAuthorized=function(){return Wt(this,"isExternalStorageAuthorized",{platforms:["Android"]},arguments)},Re.prototype.getExternalStorageAuthorizationStatus=function(){return Wt(this,"getExternalStorageAuthorizationStatus",{platforms:["Android"]},arguments)},Re.prototype.requestExternalStorageAuthorization=function(){return Wt(this,"requestExternalStorageAuthorization",{platforms:["Android"]},arguments)},Re.prototype.getExternalSdCardDetails=function(){return Wt(this,"getExternalSdCardDetails",{platforms:["Android"]},arguments)},Re.prototype.switchToWirelessSettings=function(){return Wt(this,"switchToWirelessSettings",{platforms:["Android"],sync:!0},arguments)},Re.prototype.switchToNFCSettings=function(){return Wt(this,"switchToNFCSettings",{platforms:["Android"],sync:!0},arguments)},Re.prototype.isNFCPresent=function(){return Wt(this,"isNFCPresent",{platforms:["Android"]},arguments)},Re.prototype.isNFCEnabled=function(){return Wt(this,"isNFCEnabled",{platforms:["Android"]},arguments)},Re.prototype.isNFCAvailable=function(){return Wt(this,"isNFCAvailable",{platforms:["Android"]},arguments)},Re.prototype.registerNFCStateChangeHandler=function(Le){return Wt(this,"registerNFCStateChangeHandler",{platforms:["Android"],sync:!0},arguments)},Re.prototype.isDataRoamingEnabled=function(){return Wt(this,"isDataRoamingEnabled",{platforms:["Android"]},arguments)},Re.prototype.isADBModeEnabled=function(){return Wt(this,"isADBModeEnabled",{platforms:["Android"]},arguments)},Re.prototype.isDeviceRooted=function(){return Wt(this,"isDeviceRooted",{platforms:["Android"]},arguments)},Re.prototype.isCameraRollAuthorized=function(Le){return Wt(this,"isCameraRollAuthorized",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.getCameraRollAuthorizationStatus=function(Le){return Wt(this,"getCameraRollAuthorizationStatus",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.requestCameraRollAuthorization=function(Le){return Wt(this,"requestCameraRollAuthorization",{platforms:["iOS"],callbackOrder:"reverse"},arguments)},Re.prototype.presentLimitedLibraryPicker=function(){return Wt(this,"presentLimitedLibraryPicker",{platforms:["iOS"]},arguments)},Re.prototype.isRemoteNotificationsEnabled=function(){return Wt(this,"isRemoteNotificationsEnabled",{platforms:["iOS","Android"]},arguments)},Re.prototype.isRegisteredForRemoteNotifications=function(){return Wt(this,"isRegisteredForRemoteNotifications",{platforms:["iOS"]},arguments)},Re.prototype.getRemoteNotificationsAuthorizationStatus=function(){return Wt(this,"getRemoteNotificationsAuthorizationStatus",{platforms:["iOS"]},arguments)},Re.prototype.requestRemoteNotificationsAuthorization=function(Le,Ie){return Wt(this,"requestRemoteNotificationsAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.getRemoteNotificationTypes=function(){return Wt(this,"getRemoteNotificationTypes",{platforms:["iOS"]},arguments)},Re.prototype.isRemindersAuthorized=function(){return Wt(this,"isRemindersAuthorized",{platforms:["iOS"]},arguments)},Re.prototype.getRemindersAuthorizationStatus=function(){return Wt(this,"getRemindersAuthorizationStatus",{platforms:["iOS"]},arguments)},Re.prototype.requestRemindersAuthorization=function(){return Wt(this,"requestRemindersAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.isBackgroundRefreshAuthorized=function(){return Wt(this,"isBackgroundRefreshAuthorized",{platforms:["iOS"]},arguments)},Re.prototype.getBackgroundRefreshStatus=function(){return Wt(this,"getBackgroundRefreshStatus",{platforms:["iOS"]},arguments)},Re.prototype.requestBluetoothAuthorization=function(){return Wt(this,"requestBluetoothAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.isMotionAvailable=function(){return Wt(this,"isMotionAvailable",{platforms:["iOS"]},arguments)},Re.prototype.isMotionRequestOutcomeAvailable=function(){return Wt(this,"isMotionRequestOutcomeAvailable",{platforms:["iOS"]},arguments)},Re.prototype.requestMotionAuthorization=function(){return Wt(this,"requestMotionAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.getMotionAuthorizationStatus=function(){return Wt(this,"getMotionAuthorizationStatus",{platforms:["iOS"]},arguments)},Re.prototype.getLocationAccuracyAuthorization=function(){return Wt(this,"getLocationAccuracyAuthorization",{platforms:["iOS","Android"]},arguments)},Re.prototype.requestTemporaryFullAccuracyAuthorization=function(Le){return Wt(this,"requestTemporaryFullAccuracyAuthorization",{platforms:["iOS"]},arguments)},Re.prototype.registerLocationAccuracyAuthorizationChangeHandler=function(Le){return Wt(this,"registerLocationAccuracyAuthorizationChangeHandler",{platforms:["iOS"],sync:!0},arguments)},Object.defineProperty(Re.prototype,"permissionStatus",{get:function(){return Ut(this,"permissionStatus")},set:function(Le){He(this,"permissionStatus",Le)},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"NFCState",{get:function(){return Ut(this,"NFCState")},set:function(Le){He(this,"NFCState",Le)},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"cpuArchitecture",{get:function(){return Ut(this,"cpuArchitecture")},set:function(Le){He(this,"cpuArchitecture",Le)},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"remoteNotificationType",{get:function(){return Ut(this,"remoteNotificationType")},set:function(Le){He(this,"remoteNotificationType",Le)},enumerable:!1,configurable:!0}),Object.defineProperty(Re.prototype,"motionStatus",{get:function(){return Ut(this,"motionStatus")},set:function(Le){He(this,"motionStatus",Le)},enumerable:!1,configurable:!0}),Re.\u0275fac=(()=>{let Le;return function(ut){return(Le||(Le=p.xGo(Re)))(ut||Re)}})(),Re.\u0275prov=p.jDH({token:Re,factory:Re.\u0275fac}),Re.pluginName="Diagnostic",Re.plugin="cordova.plugins.diagnostic",Re.pluginRef="cordova.plugins.diagnostic",Re.repo="https://github.com/dpa99c/cordova-diagnostic-plugin",Re.platforms=["Android","iOS","Windows"],Re=(0,Te.Cg)([],Re)}(Lt),Ae=function(Ve){return Ve.GRANTED="GRANTED",Ve.NOT_REQUESTED="NOT_REQUESTED",Ve.DENIED_ALWAYS="DENIED_ALWAYS",Ve.DENIED="DENIED",Ve.UNKNOWN="UNKNOWN",Ve}(Ae||{}),Me=function(Ve){return Ve.CAMERA="CAMERA",Ve.MICROPHONE="MICROPHONE",Ve}(Me||{});let Ze=(()=>{var Ve;class Re{constructor(Ie,ut){this.platform=Ie,this.diagnostic=ut}hasCameraPermission(){var Ie=this;return(0,a.A)(function*(){const ut=yield Ie.diagnostic.getCameraAuthorizationStatus(!1);return Ie.getPermissionStatus(ut)})()}hasMicrophonePermission(){var Ie=this;return(0,a.A)(function*(){const ut=yield Ie.diagnostic.getMicrophoneAuthorizationStatus();return Ie.getPermissionStatus(ut)})()}requestPermissions(Ie){var ut=this;return(0,a.A)(function*(){if(ut.platform.is("android")){const Vt=[];Ie.indexOf(Me.CAMERA)>=0&&Vt.push(ut.diagnostic.permission.CAMERA),Ie.indexOf(Me.MICROPHONE)>=0&&Vt.push(ut.diagnostic.permission.RECORD_AUDIO),yield ut.diagnostic.requestRuntimePermissions(Vt)}else ut.platform.is("ios")?(Ie.indexOf(Me.CAMERA)>=0&&(yield ut.diagnostic.requestCameraAuthorization(!1)),Ie.indexOf(Me.MICROPHONE)>=0&&(yield ut.diagnostic.requestMicrophoneAuthorization())):console.warn("requesting permission in browser")})()}userRequestsPermissions(Ie){var ut=this;return(0,a.A)(function*(){let Vt=!1;for(const dn of Ie)Vt=(yield ut.canAskForPermission(dn))||Vt;Vt&&(yield ut.requestPermissions(Ie))})()}canAskForPermission(Ie){var ut=this;return(0,a.A)(function*(){let Vt=!0;return ut.platform.is("android")?Ie===Me.CAMERA?Vt=(yield ut.hasCameraPermission())!==Ae.DENIED_ALWAYS:Ie===Me.MICROPHONE&&(Vt=(yield ut.hasMicrophonePermission())!==Ae.DENIED_ALWAYS):ut.platform.is("ios")&&(Ie===Me.CAMERA?Vt=(yield ut.hasCameraPermission())!==Ae.DENIED:Ie===Me.MICROPHONE&&(Vt=(yield ut.hasMicrophonePermission())!==Ae.DENIED)),Vt})()}getPermissionStatus(Ie){var ut=this;return(0,a.A)(function*(){return ut.isGranted(Ie)?Ae.GRANTED:ut.isNotRequested(Ie)?Ae.NOT_REQUESTED:ut.isDeniedAlways(Ie)?Ae.DENIED_ALWAYS:ut.isDenied(Ie)?Ae.DENIED:Ae.UNKNOWN})()}isGranted(Ie){return Ie===this.diagnostic.permissionStatus.GRANTED||Ie===this.diagnostic.permissionStatus.GRANTED_WHEN_IN_USE}isNotRequested(Ie){return Ie===this.diagnostic.permissionStatus.NOT_REQUESTED}isDeniedAlways(Ie){return Ie===this.diagnostic.permissionStatus.DENIED_ALWAYS||Ie===this.diagnostic.permissionStatus.RESTRICTED}isDenied(Ie){return!(this.isGranted(Ie)||this.isNotRequested(Ie))}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(c.OD),p.KVO(_e))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Re})();var je=E(2342);let it=(()=>{var Ve;class Re{constructor(Ie,ut,Vt){this.platform=Ie,this.utilService=ut,this.permissionsService=Vt,this.hasCameras=!1,this.isActive=!1,this._hasCameraPermission=new xe.m,this.hasCameraPermission=this._hasCameraPermission.asObservable()}requestPermission(Ie,ut){var Vt=this;return(0,a.A)(function*(){yield Vt.permissionsService.userRequestsPermissions([Me.CAMERA]),yield Vt.checkCameraPermissionsAndActivate(Ie,ut)})()}checkCameraPermissionsAndActivate(Ie,ut){var Vt=this;return(0,a.A)(function*(){(yield Vt.permissionsService.hasCameraPermission())===Ae.GRANTED?(document.body.style.backgroundColor="transparent",Vt._hasCameraPermission.next(!0),Vt.startScan(Ie,ut)):Vt._hasCameraPermission.next(!1)})()}startScan(Ie,ut=null){this.scan(Ie,ut)}checkScan(Ie){console.error(`The checkScan method needs to be overwritten. Ignoring text ${Ie}`)}scan(Ie,ut=null){var Vt=this;this.isActive=!0;let dn=this.utilService.translateMessage("SCAN_QR_INSTRUCTION");window.qrScanner.startScanner("Scan",dn,"#0b0b0b",dn,!1,this.platform.isRTL,function(){var fn=(0,a.A)(function*(Un){Ie(Un),Vt.stopScanner()});return function(Un){return fn.apply(this,arguments)}}(),fn=>{this.stopScanner()})}stopScanner(){this.isActive&&setTimeout(()=>{window.qrScanner.stopScanner(),this.isActive=!1},100)}destroy(){window.qrScanner.stopScanner()}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(c.OD),p.KVO(je.a),p.KVO(Ze))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Re})();var Pe=E(9030),Se=E(8810),ze=E(8793),Et=E(1413),Je=E(5343);const st=new L.c(Je.l);var yt=E(6365),vt=E(8750),Kt=E(983),Pt=E(9326),Rt=E(6648);function On(...Ve){const Re=(0,Pt.lI)(Ve),Le=(0,Pt.R0)(Ve,1/0),Ie=Ve;return Ie.length?1===Ie.length?(0,vt.Tg)(Ie[0]):(0,yt.U)(Le)((0,Rt.H)(Ie,Re)):Kt.w}var An=E(6354),Bn=E(5558),Mn=E(17),Wn=E(8071),Ln=E(9974);const kn={connector:()=>new Et.B};function Gn(Ve,Re=kn){const{connector:Le}=Re;return(0,Ln.N)((Ie,ut)=>{const Vt=Le();(0,vt.Tg)(Ve(function Fn(Ve){return new L.c(Re=>Ve.subscribe(Re))}(Vt))).subscribe(ut),ut.add(Ie.subscribe(Vt))})}var $e=E(6697),lt=E(4360),Mt=E(3028);function kt(Ve,Re){return Re?Le=>(0,ze.x)(Re.pipe((0,$e.s)(1),function Tt(){return(0,Ln.N)((Ve,Re)=>{Ve.subscribe((0,lt._)(Re,Je.l))})}()),Le.pipe(kt(Ve))):(0,Mt.Z)((Le,Ie)=>(0,vt.Tg)(Ve(Le,Ie)).pipe((0,$e.s)(1),(0,qe.u)(Le)))}const qt="Service workers are disabled or not supported by this browser";class Tn{constructor(Re){if(this.serviceWorker=Re,Re){const Ie=(0,re.R)(Re,"controllerchange").pipe((0,An.T)(()=>Re.controller)),ut=(0,Pe.v)(()=>(0,pe.of)(Re.controller)),Vt=(0,ze.x)(ut,Ie);this.worker=Vt.pipe((0,Q.p)(Vn=>!!Vn)),this.registration=this.worker.pipe((0,Bn.n)(()=>Re.getRegistration()));const mr=(0,re.R)(Re,"message").pipe((0,An.T)(Vn=>Vn.data)).pipe((0,Q.p)(Vn=>Vn&&Vn.type)).pipe(function jn(Ve){return Ve?Re=>Gn(Ve)(Re):Re=>function Xn(Ve,Re){const Le=(0,Wn.T)(Ve)?Ve:()=>Ve;return(0,Wn.T)(Re)?Gn(Re,{connector:Le}):Ie=>new Mn.G(Ie,Le)}(new Et.B)(Re)}());mr.connect(),this.events=mr}else this.worker=this.events=this.registration=function Qt(Ve){return(0,Pe.v)(()=>(0,Se.$)(new Error(Ve)))}(qt)}postMessage(Re,Le){return this.worker.pipe((0,$e.s)(1),(0,De.M)(Ie=>{Ie.postMessage({action:Re,...Le})})).toPromise().then(()=>{})}postMessageWithOperation(Re,Le,Ie){const ut=this.waitForOperationCompleted(Ie),Vt=this.postMessage(Re,Le);return Promise.all([Vt,ut]).then(([,dn])=>dn)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Re){let Le;return Le="string"==typeof Re?Ie=>Ie.type===Re:Ie=>Re.includes(Ie.type),this.events.pipe((0,Q.p)(Le))}nextEventOfType(Re){return this.eventsOfType(Re).pipe((0,$e.s)(1))}waitForOperationCompleted(Re){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Q.p)(Le=>Le.nonce===Re),(0,$e.s)(1),(0,An.T)(Le=>{if(void 0!==Le.result)return Le.result;throw new Error(Le.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let wn=(()=>{var Ve;class Re{get isEnabled(){return this.sw.isEnabled}constructor(Ie){if(this.sw=Ie,this.pushManager=null,this.subscriptionChanges=new Et.B,!Ie.isEnabled)return this.messages=st,this.notificationClicks=st,void(this.subscription=st);this.messages=this.sw.eventsOfType("PUSH").pipe((0,An.T)(Vt=>Vt.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,An.T)(Vt=>Vt.data)),this.pushManager=this.sw.registration.pipe((0,An.T)(Vt=>Vt.pushManager));const ut=this.pushManager.pipe((0,Bn.n)(Vt=>Vt.getSubscription()));this.subscription=On(ut,this.subscriptionChanges)}requestSubscription(Ie){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(qt));const ut={userVisibleOnly:!0};let Vt=this.decodeBase64(Ie.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),dn=new Uint8Array(new ArrayBuffer(Vt.length));for(let fn=0;fnfn.subscribe(ut)),(0,$e.s)(1)).toPromise().then(fn=>(this.subscriptionChanges.next(fn),fn))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,$e.s)(1),(0,Bn.n)(ut=>{if(null===ut)throw new Error("Not subscribed to push notifications.");return ut.unsubscribe().then(Vt=>{if(!Vt)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(qt))}decodeBase64(Ie){return atob(Ie)}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(Tn))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac}),Re})(),Kn=(()=>{var Ve;class Re{get isEnabled(){return this.sw.isEnabled}constructor(Ie){if(this.sw=Ie,!Ie.isEnabled)return this.versionUpdates=st,void(this.unrecoverable=st);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(qt));const Ie=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:Ie},Ie)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(qt));const Ie=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:Ie},Ie)}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(Tn))},Ve.\u0275prov=p.jDH({token:Ve,factory:Ve.\u0275fac}),Re})();const fr=new p.nKC("");function Ge(Ve,Re,Le,Ie){return()=>{if(!(0,m.UE)(Ie)||!("serviceWorker"in navigator)||!1===Le.enabled)return;let ut;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof Le.registrationStrategy)ut=Le.registrationStrategy();else{const[dn,...fn]=(Le.registrationStrategy||"registerWhenStable:30000").split(":");switch(dn){case"registerImmediately":ut=(0,pe.of)(null);break;case"registerWithDelay":ut=tt(+fn[0]||0);break;case"registerWhenStable":ut=fn[0]?On(Fe(Ve),tt(+fn[0])):Fe(Ve);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${Le.registrationStrategy}`)}}Ve.get(p.SKi).runOutsideAngular(()=>ut.pipe((0,$e.s)(1)).subscribe(()=>navigator.serviceWorker.register(Re,{scope:Le.scope}).catch(dn=>console.error("Service worker registration failed with:",dn))))}}function tt(Ve){return(0,pe.of)(null).pipe(function Zt(Ve,Re=r){const Le=J(Ve,Re);return kt(()=>Le)}(Ve))}function Fe(Ve){return Ve.get(p.o8S).isStable.pipe((0,Q.p)(Le=>Le))}function et(Ve,Re){return new Tn((0,m.UE)(Re)&&!1!==Ve.enabled?navigator.serviceWorker:void 0)}class Ct{}function Gt(Ve,Re={}){return(0,p.EmA)([wn,Kn,{provide:fr,useValue:Ve},{provide:Ct,useValue:Re},{provide:Tn,useFactory:et,deps:[Ct,p.Agw]},{provide:p.hnV,useFactory:Ge,deps:[p.zZn,fr,Ct,p.Agw],multi:!0}])}let vn=(()=>{var Ve;class Re{static register(Ie,ut={}){return{ngModule:Re,providers:[Gt(Ie,ut)]}}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)},Ve.\u0275mod=p.$C({type:Ve}),Ve.\u0275inj=p.G2t({providers:[wn,Kn]}),Re})();var gt=E(446),zt=E(5173);const ye=(Ve,Re)=>({title_bb:Ve,animate_title:Re});function Ke(Ve,Re){if(1&Ve&&(p.j41(0,"ion-title",27),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.Y8G("ngClass",p.l_i(2,ye,null==Le.headerConfig?null:Le.headerConfig.showbackButton,(null==Le.headerConfig?null:Le.headerConfig.pageTitle)==Le.appName)),p.R7$(),p.JRh(null==Le.configVariables?null:Le.configVariables.siteName)}}function dt(Ve,Re){if(1&Ve&&(p.j41(0,"ion-title",28),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.JRh(null==Le.headerConfig?null:Le.headerConfig.pageTitle)}}function pt(Ve,Re){1&Ve&&(p.nrm(0,"ion-input",29,0),p.nI1(2,"translate")),2&Ve&&p.Y8G("placeholder",p.bMT(2,1,"SEARCH_HINT"))}function Yt(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"ion-button",23),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG(2);return p.Njj(Vt.emitEvent(ut,"edit"))}),p.nrm(1,"ion-icon",30),p.k0s()}}function $t(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div",14)(1,"ion-buttons",15)(2,"ion-button",1),p.nrm(3,"ion-icon",16),p.k0s(),p.j41(4,"ion-button",17),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG();return p.Njj(Vt.emitEvent(ut,"back"))}),p.nrm(5,"ion-icon",18),p.k0s()(),p.DNE(6,Ke,2,5,"ion-title",19)(7,dt,2,1,"ion-title",20)(8,pt,3,3,"ion-input",21),p.j41(9,"ion-buttons",22)(10,"ion-button",23),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG();return p.Njj(Vt.emitEvent(ut,"search"))}),p.nrm(11,"ion-icon",24),p.k0s(),p.j41(12,"ion-button",23),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG();return p.Njj(Vt.emitEvent(ut,"profile"))}),p.nrm(13,"ion-icon",25),p.k0s()(),p.j41(14,"ion-buttons",22),p.DNE(15,Yt,2,0,"ion-button",26),p.k0s()()}if(2&Ve){const Le=p.XpG();p.R7$(2),p.Y8G("hidden",null==Le.headerConfig?null:Le.headerConfig.showbackButton),p.R7$(),p.FS9("src",null==Le.configVariables?null:Le.configVariables.tenantLogo),p.R7$(),p.Y8G("hidden",!(null!=Le.headerConfig&&Le.headerConfig.showbackButton)),p.R7$(2),p.Y8G("ngIf",!(null!=Le.headerConfig&&Le.headerConfig.showbackButton&&((null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("search"))>=0||(null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("edit"))>=0))),p.R7$(),p.Y8G("ngIf",(null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("edit"))>=0),p.R7$(),p.Y8G("ngIf",(null==Le.headerConfig?null:Le.headerConfig.showbackButton)&&(null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("search"))>=0),p.R7$(),p.Y8G("hidden",null==Le.headerConfig?null:Le.headerConfig.showbackButton),p.R7$(5),p.Y8G("hidden",!(null!=Le.headerConfig&&Le.headerConfig.showbackButton)),p.R7$(),p.Y8G("ngIf",(null==Le.headerConfig||null==Le.headerConfig.actionButtons?null:Le.headerConfig.actionButtons.indexOf("edit"))>=0)}}function an(Ve,Re){if(1&Ve&&(p.j41(0,"div",40),p.EFF(1),p.nI1(2,"translate"),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.JRh(p.bMT(2,1,null==Le.headerConfig?null:Le.headerConfig.pageTitle))}}function ln(Ve,Re){if(1&Ve&&(p.j41(0,"ion-label"),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.SpI(" ",null==Le.configVariables||null==Le.configVariables[Le.language]?null:Le.configVariables[Le.language].kathaSakhiBotName," ")}}function xn(Ve,Re){if(1&Ve&&(p.j41(0,"ion-label"),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.JRh(null==Le.configVariables||null==Le.configVariables[Le.language]?null:Le.configVariables[Le.language].parentTaraBotName)}}function cn(Ve,Re){if(1&Ve&&(p.j41(0,"ion-label"),p.EFF(1),p.k0s()),2&Ve){const Le=p.XpG(2);p.R7$(),p.JRh(null==Le.configVariables||null==Le.configVariables[Le.language]?null:Le.configVariables[Le.language].teacherTaraBotName)}}function nn(Ve,Re){1&Ve&&p.nrm(0,"img",41)}function _n(Ve,Re){1&Ve&&p.nrm(0,"img",42)}function Sn(Ve,Re){1&Ve&&p.nrm(0,"img",43)}function Pn(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div",31)(1,"div",32),p.bIt("click",function(ut){p.eBV(Le);const Vt=p.XpG();return p.Njj(Vt.emitEvent(ut,"back"))}),p.nrm(2,"ion-icon",33),p.DNE(3,an,3,3,"div",34)(4,ln,2,1,"ion-label",35)(5,xn,2,1,"ion-label",35)(6,cn,2,1,"ion-label",35),p.j41(7,"div",36),p.DNE(8,nn,1,0,"img",37)(9,_n,1,0,"img",38)(10,Sn,1,0,"img",39),p.k0s()()()}if(2&Ve){const Le=p.XpG();p.R7$(),p.Y8G("ngClass","Parent Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)||"Teacher Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)?"question-bot":""),p.R7$(2),p.Y8G("ngIf",!Le.isTitleChanged),p.R7$(),p.Y8G("ngIf",Le.isTitleChanged&&"Katha Sakhi"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf",Le.isTitleChanged&&"Parent Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf",Le.isTitleChanged&&"Teacher Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(2),p.Y8G("ngIf","Katha Sakhi"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf","Parent Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle)),p.R7$(),p.Y8G("ngIf","Teacher Tara"===(null==Le.headerConfig?null:Le.headerConfig.pageTitle))}}function hr(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div",23),p.bIt("click",function(){const ut=p.eBV(Le).$implicit,Vt=p.XpG(2);return p.Njj(Vt.handleFilter(ut))}),p.j41(1,"ion-chip",48),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&Ve){const Le=Re.$implicit,Ie=p.XpG(2);p.R7$(),p.Y8G("ngClass",(null==Le?null:Le.label)==(null==Ie.defaultFilter?null:Ie.defaultFilter.label)?"active":""),p.R7$(),p.JRh(p.bMT(3,2,Le.label))}}function X(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"div",44)(1,"ion-chip",45),p.bIt("click",function(){p.eBV(Le);const ut=p.XpG();return p.Njj(ut.toggleMenu())}),p.nrm(2,"ion-icon",46),p.k0s(),p.DNE(3,hr,4,4,"div",47),p.k0s()}if(2&Ve){const Le=p.XpG();p.R7$(3),p.Y8G("ngForOf",Le.filters)}}function Ue(Ve,Re){if(1&Ve){const Le=p.RV6();p.j41(0,"ion-item",49),p.bIt("click",function(ut){const Vt=p.eBV(Le).$implicit,dn=p.XpG();return p.Njj(dn.emitSideMenuItemEvent(ut,Vt))}),p.j41(1,"ion-label",50),p.EFF(2),p.nI1(3,"translate"),p.k0s()()}if(2&Ve){const Le=Re.$implicit,Ie=p.XpG();p.R7$(),p.Y8G("ngClass",(null==Le?null:Le.label)==(null==Ie.defaultFilter?null:Ie.defaultFilter.label)?"active-label":""),p.R7$(),p.JRh(p.bMT(3,2,Le.label))}}let le=(()=>{var Ve;class Re{constructor(Ie,ut,Vt,dn,fn,Un,mr){this.utilService=Ie,this.telemetryGeneratorService=ut,this.menuCtrl=Vt,this.headerService=dn,this.storage=fn,this.languageService=Un,this.modalCtrl=mr,this.headerConfig=!1,this.headerEvents=new p.bkB,this.sideMenuItemEvent=new p.bkB,this.isMenuOpen=!1,this.filters=[],this.appVersion="",this.appName="",this.isTitleChanged=!1,this.language="",C.q.getInfo().then(Vn=>{this.appVersion=`v${Vn.version}.${Vn.build}`,this.appName=Vn.name}),gt.g.then(Vn=>{this.configVariables=Vn}).catch(Vn=>{console.error("Failed to load configuration:",Vn)})}loadTabData(Ie){this.language=Ie,this.isTitleChanged=this.configVariables.titleCode.includes(Ie)}ngOnInit(){var Ie=this;return(0,a.A)(function*(){Ie.defaultFilter={},Ie.language=(yield Ie.storage.getData("lang"))||"en",Ie.isTitleChanged=Ie.configVariables.titleCode.includes(Ie.language),Ie.languageSubscription=Ie.languageService.currentLanguage$.subscribe(ut=>{Ie.loadTabData(ut)}),Ie.headerService.filterConfigEmitted$.subscribe(ut=>{Ie.filters=[],Ie.defaultFilter=ut.defaultFilter,Ie.filters.push(ut.defaultFilter),ut.filter.forEach(Vt=>{Ie.filters.push(Vt)})}),Ie.appInfo=yield Ie.utilService.getAppInfo()})()}scan(){var Ie=this;return(0,a.A)(function*(){Ie.telemetryGeneratorService.generateInteractTelemetry("TOUCH","qrscanner-clicked","home","home")})()}handleSearch(Ie){var ut=this;return(0,a.A)(function*(){ut.emitEvent(Ie,"search")})()}emitEvent(Ie,ut){"scan"==ut&&this.scan(),this.headerEvents.emit({event:Ie,name:ut})}toggleMenu(){var Ie=this;return(0,a.A)(function*(){yield Ie.menuCtrl.toggle(),Ie.isMenuOpen=yield Ie.menuCtrl.isEnabled()})()}emitSideMenuItemEvent(Ie,ut){this.menuCtrl.close().then(()=>{this.handleFilter(ut)}).catch(Vt=>{this.handleFilter(ut)})}handleFilter(Ie){this.defaultFilter=Ie,this.sideMenuItemEvent.emit({filter:Ie})}navigateToQRScreen(){var Ie=this;return(0,a.A)(function*(){const ut=yield Ie.modalCtrl.create({component:te,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield ut.present(),ut.onDidDismiss()})()}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.rXU(B.a0),p.rXU(zt.O),p.rXU(D._t),p.rXU(B.Ux),p.rXU(B.n$),p.rXU(F.g),p.rXU(D.W3))},Ve.\u0275cmp=p.VBU({type:Ve,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"],["class","bot-back-panel__title",4,"ngIf"],[4,"ngIf"],[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"],[1,"bot-back-panel__title"],["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(Ie,ut){1&Ie&&(p.j41(0,"ion-header",1)(1,"ion-toolbar",2),p.DNE(2,$t,16,9,"div",3)(3,Pn,11,8,"div",4)(4,X,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,Ue,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&Ie&&(p.Y8G("hidden",!(null!=ut.headerConfig&&ut.headerConfig.showHeader)),p.R7$(2),p.Y8G("ngIf","bot"!==(null==ut.headerConfig?null:ut.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf","bot"===(null==ut.headerConfig?null:ut.headerConfig.actionButtons[0])),p.R7$(),p.Y8G("ngIf",!(null!=ut.headerConfig&&ut.headerConfig.showbackButton)&&"My Jaadui Pitara"!==(null==ut.headerConfig?null:ut.headerConfig.pageTitle)),p.R7$(),p.Y8G("swipeGesture",!1),p.R7$(4),p.JRh(p.bMT(10,10,"All Categories")),p.R7$(4),p.Y8G("ngForOf",ut.filters),p.R7$(4),p.Lme("",p.bMT(18,12,"Version: ")," ",ut.appVersion,""),p.R7$(4),p.JRh(null==ut.configVariables?null:ut.configVariables.siteName))},dependencies:[m.YU,m.Sq,m.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:var(--ion-color-primary)}.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;cursor:pointer}ion-title[_ngcontent-%COMP%]{font-weight:700;padding:0 .5rem 0 0;font-size:.8rem;width:48%}.animate_title[_ngcontent-%COMP%]{background-image:linear-gradient(-225deg,#FCB915 5%,var(--ion-color-primary) 29%,var(--ion-color-primary-shade) 67%,#EC5050 100%);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}"]}),Re})();const Ye=["mainContent"];let _t=(()=>{var Ve;class Re{constructor(Ie,ut,Vt,dn,fn,Un,mr,Vn,lr,Or,ni,gi){this.headerService=Ie,this.telemetryAutoSyncService=ut,this.scannerService=Vt,this.popoverCtrl=dn,this.modalCtrl=fn,this.router=Un,this.alertController=mr,this.location=Vn,this.route=lr,this.platform=Or,this.translate=ni,this.swUpdate=gi,this.langModalOpen=!1,this.count=0,this.optModalOpen=!1,this.languages=[],this.exitModalPresented=!1,this.environmentInjector=(0,p.WQX)(p.uvJ),this.initializeApp(),this.initialize()}initializeApp(){history.pushState(null,"",location.href),this.swUpdate.versionUpdates.subscribe(Ie=>{switch(Ie.type){case"VERSION_DETECTED":this.presentUpdateAlert();break;case"VERSION_READY":console.log(`Current app version: ${Ie.currentVersion.hash}`);break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${Ie.version.hash}': ${Ie.error}`)}})}initialize(){var Ie=this;return(0,a.A)(function*(){window.onpopstate=(0,a.A)(function*(){history.pushState(null,"",location.href);const ut=yield Ie.modalCtrl.getTop();ut&&ut.dismiss()})})()}presentExitConfirmationModal(){var Ie=this;return(0,a.A)(function*(){let ut;Ie.exitModalPresented=!0,setTimeout(()=>{Ie.exitModalPresented=!1},4e3),Ie.optModalOpen=!0,ut=yield Ie.modalCtrl.create({component:se.Z,cssClass:"sheet-modal",breakpoints:[.2],showBackdrop:!1,backdropDismiss:!1,initialBreakpoint:.2,handle:!1,handleBehavior:"none"}),yield ut.present(),ut.onDidDismiss().then(Vt=>{Ie.optModalOpen=!1,Vt.data&&Vt.data&&(window.close(),C.q.exitApp())})})()}presentUpdateAlert(){var Ie=this;return(0,a.A)(function*(){yield(yield Ie.alertController.create({header:Ie.translate.instant("Update Available"),message:Ie.translate.instant("A new version of the application is available. Load it?"),buttons:[{text:Ie.translate.instant("Yes"),handler:()=>{window.location.reload()}}]})).present()})()}ngOnInit(){var Ie=this;return(0,a.A)(function*(){history.pushState(null,document.title,window.location.href),Ie.headerService.headerConfigEmitted$.subscribe(ut=>{Ie.headerConfig=ut}),Ie.headerService.filterConfigEmitted$.subscribe(ut=>{Ie.languages=ut.languages}),Ie.autoSyncTelemetry(),C.q.addListener("pause",()=>Ie.telemetryAutoSyncService.pause()),C.q.addListener("resume",()=>Ie.telemetryAutoSyncService.continue())})()}handleHeaderEvents(Ie){var ut=this;return(0,a.A)(function*(){"scan"==Ie.name?ut.scannerService.requestPermission(Vt=>{if("cancel"===Vt||"cancel_hw_back"===Vt||"cancel_nav_back"===Vt)return;let dn="";const fn=new RegExp("(/dial/(?[a-zA-Z0-9]+)|(/QR/\\?id=(?[a-zA-Z0-9]+)))").exec(Vt);fn&&fn.length>1&&(dn=null==fn?void 0:fn.groups[Object.keys(null==fn?void 0:fn.groups).find(Un=>!(null==fn||!fn.groups[Un]))]),dn?ut.router.navigate(["/qr-scan-result"],{state:{scannedData:dn}}):ut.handleInvalidQRcode(Vt)},Vt=>{console.warn(Vt)}):"profile"==Ie.name?ut.langModalOpen||(ut.presentModal(Ie),ut.langModalOpen=!0):"search"==Ie.name&&ut.router.navigate(["/search"]),ut.headerService.sidebarEvent(Ie)})()}presentModal(Ie){var ut=this;return(0,a.A)(function*(){const Vt=yield ut.popoverCtrl.create({component:w,componentProps:{languages:ut.languages},cssClass:"lang-modal",event:Ie,translucent:!0,dismissOnSelect:!0});yield Vt.present(),Vt.onDidDismiss().then(dn=>{ut.langModalOpen=!1,ut.headerService.sidebarEvent({name:"language"})})})()}menuItemAction(Ie){var ut=this;return(0,a.A)(function*(){ut.headerService.sideMenuItemEvents(Ie)})()}autoSyncTelemetry(){this.telemetryAutoSyncService.start(3e4).subscribe()}handleInvalidQRcode(Ie){var ut=this;return(0,a.A)(function*(){const Vt=yield ut.modalCtrl.create({component:te,componentProps:{scannedData:Ie},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield Vt.present(),Vt.onDidDismiss()})()}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.rXU(g.U),p.rXU(Oe),p.rXU(it),p.rXU(D.IE),p.rXU(D.W3),p.rXU(O.Ix),p.rXU(D.hG),p.rXU(m.aZ),p.rXU(O.nX),p.rXU(c.OD),p.rXU(_.c$),p.rXU(Kn))},Ve.\u0275cmp=p.VBU({type:Ve,selectors:[["app-root"]],viewQuery:function(Ie,ut){if(1&Ie&&p.GBs(Ye,5,D.Rg),2&Ie){let Vt;p.mGM(Vt=p.lsd())&&(ut.routerOutlet=Vt.first)}},decls:8,vars:2,consts:[["ionRouterOutlet",""],[2,"z-index","1"],[3,"headerEvents","sideMenuItemEvent","headerConfig"],["contentId","mainContent"],["id","mainContent","main","",3,"swipeGesture"]],template:function(Ie,ut){if(1&Ie){const Vt=p.RV6();p.j41(0,"ion-app")(1,"div",1)(2,"app-application-header",2),p.bIt("headerEvents",function(fn){return p.eBV(Vt),p.Njj(ut.handleHeaderEvents(fn))})("sideMenuItemEvent",function(fn){return p.eBV(Vt),p.Njj(ut.menuItemAction(fn))}),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&Ie&&(p.R7$(2),p.Y8G("headerConfig",ut.headerConfig),p.R7$(2),p.Y8G("swipeGesture",!1))},dependencies:[D.U1,D.HP,D.Rg,le]}),Re})();const Nn=[{path:"",loadChildren:()=>E.e(786).then(E.bind(E,786)).then(Ve=>Ve.SplashPageModule),pathMatch:"full"},{path:"tabs",loadChildren:()=>E.e(5695).then(E.bind(E,5695)).then(Ve=>Ve.TabsPageModule)},{path:"home",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(4392)]).then(E.bind(E,4392)).then(Ve=>Ve.HomePageModule)},{path:"my-pitara",loadChildren:()=>Promise.all([E.e(2076),E.e(4567)]).then(E.bind(E,4567)).then(Ve=>Ve.MyPitaraPageModule)},{path:"story",loadChildren:()=>Promise.all([E.e(4503),E.e(2648)]).then(E.bind(E,2648)).then(Ve=>Ve.StoryPageModule)},{path:"player",loadChildren:()=>E.e(7916).then(E.bind(E,7916)).then(Ve=>Ve.PlayerPageModule)},{path:"teacher-sakhi",loadChildren:()=>Promise.all([E.e(4503),E.e(1177)]).then(E.bind(E,1177)).then(Ve=>Ve.TeacherSakhiPageModule)},{path:"view-all",loadChildren:()=>Promise.all([E.e(5006),E.e(6674),E.e(3119)]).then(E.bind(E,3119)).then(Ve=>Ve.ViewAllPageModule)},{path:"create-playlist",loadChildren:()=>Promise.all([E.e(6674),E.e(3066)]).then(E.bind(E,3066)).then(Ve=>Ve.CreatePlaylistPageModule)},{path:"search",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(1983)]).then(E.bind(E,1983)).then(Ve=>Ve.SearchPageModule)},{path:"qr-scan-result",loadChildren:()=>Promise.all([E.e(5006),E.e(2076),E.e(8761)]).then(E.bind(E,8761)).then(Ve=>Ve.QrScanResultPageModule)},{path:"parent-sakhi",loadChildren:()=>Promise.all([E.e(4503),E.e(101)]).then(E.bind(E,101)).then(Ve=>Ve.ParentSakhiPageModule)},{path:"playlist-details",loadChildren:()=>Promise.all([E.e(2076),E.e(4294)]).then(E.bind(E,4294)).then(Ve=>Ve.PlaylistDetailsPageModule)}];let pr=(()=>{var Ve;class Re{}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)},Ve.\u0275mod=p.$C({type:Ve}),Ve.\u0275inj=p.G2t({imports:[O.iI.forRoot(Nn,{preloadingStrategy:O.Kp}),O.iI]}),Re})();var wr=E(5553);class qr{constructor(Re,Le="/assets/i18n/",Ie=".json"){this.http=Re,this.prefix=Le,this.suffix=Ie}getTranslation(Re){return this.http.get(`${this.prefix}${Re}${this.suffix}`)}}var Wr=E(1626),ei=E(3486),jr=E(4591),Vi=E(6011),Dr=E(1765),vi=E(444),$n=E(7803),mi=E(3696),Oi=E(3871),Di=E(2918),Ai=E(1113),ji=E(3721),Mi=E(8402),Hi=E(4447),Kr=E(3172);function wi(Ve){return new qr(Ve,"./assets/i18n/",".json")}function _i(Ve){return()=>Ve.initializePlugin()}let Po=(()=>{var Ve;class Re{constructor(Ie,ut){this.translate=Ie,this.storage=ut,this.findSiteSubDomain(),this.storage.getData("lang").then(Vt=>{this.translate.setDefaultLang(Vt||"hi"),Vt||this.setDefaultLanguage()}),gt.g.then(Vt=>{this.configVariables=Vt}).catch(Vt=>{console.error("Failed to load configuration:",Vt)})}setDefaultLanguage(){this.storage.setData("lang","hi"),this.translate.setDefaultLang("hi"),this.translate.use("hi");for(let dn=0;dn<(null===(Ie=this.configVariables)||void 0===Ie?void 0:Ie.languages.length);dn++){var Ie,ut;if(null!==(ut=this.configVariables)&&void 0!==ut&&ut.languages[dn].default){var Vt;let fn=null===(Vt=this.configVariables)||void 0===Vt?void 0:Vt.languages[dn].id;this.storage.setData("lang",fn),this.translate.setDefaultLang(fn),this.translate.use(fn)}}}findSiteSubDomain(){const Vt=new URL(document.baseURI).hostname.split(".");localStorage.setItem("subDomain",Vt[0]),this.setManifestFile(Vt[0])}setManifestFile(Ie){var ut=document.createElement("link");ut.rel="manifest",ut.href=Ie+".webmanifest",document.getElementsByTagName("head")[0].appendChild(ut)}}return(Ve=Re).\u0275fac=function(Ie){return new(Ie||Ve)(p.KVO(_.c$),p.KVO(ei.n))},Ve.\u0275mod=p.$C({type:Ve,bootstrap:[_t]}),Ve.\u0275inj=p.G2t({providers:[{provide:O.b,useClass:c.jM},ei.n,jr.a,Vi.H,Dr.H,Oe,g.U,je.a,vi.f,$n.q,B.Gf,mi.w,B.hs,B.q4,B.XU,Oi.d,B.XI,Di.B,zt.O,it,Ze,_e,B.Sc,Ai.q,B.F_,Mi.Z,B.MK,Hi.i,Kn,{provide:p.hnV,useFactory:_i,deps:[jr.a],multi:!0}],imports:[S.Bb,D.bv.forRoot(),pr,Wr.q1,_.h.forRoot({loader:{provide:_.Wr,useFactory:wi,deps:[Wr.Qq]}}),wr.h,ji.h,vn.register("ngsw-worker.js",{enabled:Kr.c.production})]}),Re})();var Ir=E(1288),Bi=E(9657);const go=function(){var Ve=(0,a.A)(function*(Re,Le){if(!(typeof window>"u"))return yield,(0,Bi.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"]}]]]],Le)});return function(Le,Ie){return Ve.apply(this,arguments)}}();var zi=E(5083);(0,p.SmG)(),"web"===zi.Ii.getPlatform()&&(window,typeof window>"u"?Promise.resolve():(0,Ir.p)().then(()=>(0,Ir.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)),go(window),window.addEventListener("DOMContentLoaded",(0,a.A)(function*(){const Ve=document.createElement("jeep-sqlite");document.body.appendChild(Ve),yield customElements.whenDefined("jeep-sqlite"),Ve.autoSave=!0}))),S.sG().bootstrapModule(Po).catch(Ve=>console.log(Ve))},1990:(Ce,ee,E)=>{var a=ee;a.bignum=E(6867),a.define=E(6626).define,a.base=E(5066),a.constants=E(7740),a.decoders=E(1558),a.encoders=E(2714)},6626:(Ce,ee,E)=>{var a=E(1990),S=E(1993);function 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(F){this._initNamed(F)}}return S(C,D),C.prototype._initNamed=function(F){D.call(this,F)},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:(Ce,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 F=new O(this.base);return F._reporterState=this._reporterState,F.offset=this.offset,F.length=this.offset+C,this.offset+=C,F},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(F){F.join(C,_),_+=F.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:(Ce,ee,E)=>{var a=ee;a.Reporter=E(5697).a,a.DecoderBuffer=E(7290).t,a.EncoderBuffer=E(7290).d,a.Node=E(4320)},4320:(Ce,ee,E)=>{var a=E(5066).Reporter,S=E(5066).EncoderBuffer,p=E(5066).DecoderBuffer,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 _(B,m){var T={};this._baseState=T,T.enc=B,T.parent=m||null,T.children=null,T.tag=null,T.args=null,T.reverseArgs=null,T.choice=null,T.optional=!1,T.any=!1,T.obj=!1,T.use=null,T.useDecoder=null,T.key=null,T.default=null,T.explicit=null,T.implicit=null,T.contains=null,T.parent||(T.children=[],this._wrap())}Ce.exports=_;var F=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];_.prototype.clone=function(){var m=this._baseState,T={};F.forEach(function(w){T[w]=m[w]});var A=new this.constructor(T.parent);return A._baseState=T,A},_.prototype._wrap=function(){var m=this._baseState;D.forEach(function(T){this[T]=function(){var w=new this.constructor(this);return m.children.push(w),w[T].apply(w,arguments)}},this)},_.prototype._init=function(m){var T=this._baseState;O(null===T.parent),m.call(this),T.children=T.children.filter(function(A){return A._baseState.parent===this},this),O.equal(T.children.length,1,"Root node can have only one child")},_.prototype._useArgs=function(m){var T=this._baseState,A=m.filter(function(w){return w instanceof this.constructor},this);m=m.filter(function(w){return!(w instanceof this.constructor)},this),0!==A.length&&(O(null===T.children),T.children=A,A.forEach(function(w){w._baseState.parent=this},this)),0!==m.length&&(O(null===T.args),T.args=m,T.reverseArgs=m.map(function(w){if("object"!=typeof w||w.constructor!==Object)return w;var R={};return Object.keys(w).forEach(function($){$==(0|$)&&($|=0),R[w[$]]=$}),R}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(B){_.prototype[B]=function(){throw new Error(B+" not implemented for encoding: "+this._baseState.enc)}}),c.forEach(function(B){_.prototype[B]=function(){var T=this._baseState,A=Array.prototype.slice.call(arguments);return O(null===T.tag),T.tag=B,this._useArgs(A),this}}),_.prototype.use=function(m){O(m);var T=this._baseState;return O(null===T.use),T.use=m,this},_.prototype.optional=function(){return this._baseState.optional=!0,this},_.prototype.def=function(m){var T=this._baseState;return O(null===T.default),T.default=m,T.optional=!0,this},_.prototype.explicit=function(m){var T=this._baseState;return O(null===T.explicit&&null===T.implicit),T.explicit=m,this},_.prototype.implicit=function(m){var T=this._baseState;return O(null===T.explicit&&null===T.implicit),T.implicit=m,this},_.prototype.obj=function(){var m=this._baseState,T=Array.prototype.slice.call(arguments);return m.obj=!0,0!==T.length&&this._useArgs(T),this},_.prototype.key=function(m){var T=this._baseState;return O(null===T.key),T.key=m,this},_.prototype.any=function(){return this._baseState.any=!0,this},_.prototype.choice=function(m){var T=this._baseState;return O(null===T.choice),T.choice=m,this._useArgs(Object.keys(m).map(function(A){return m[A]})),this},_.prototype.contains=function(m){var T=this._baseState;return O(null===T.use),T.contains=m,this},_.prototype._decode=function(m,T){var A=this._baseState;if(null===A.parent)return m.wrapResult(A.children[0]._decode(m,T));var P,w=A.default,R=!0,$=null;if(null!==A.key&&($=m.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(R=this._peekTag(m,k,A.any),m.isError(R))return R}else{var M=m.save();try{null===A.choice?this._decodeGeneric(A.tag,m,T):this._decodeChoice(m,T),R=!0}catch{R=!1}m.restore(M)}}if(A.obj&&R&&(P=m.enterObject()),R){if(null!==A.explicit){var U=this._decodeTag(m,A.explicit);if(m.isError(U))return U;m=U}var V=m.offset;if(null===A.use&&null===A.choice){A.any&&(M=m.save());var W=this._decodeTag(m,null!==A.implicit?A.implicit:A.tag,A.any);if(m.isError(W))return W;A.any?w=m.raw(M):m=W}if(T&&T.track&&null!==A.tag&&T.track(m.path(),V,m.length,"tagged"),T&&T.track&&null!==A.tag&&T.track(m.path(),m.offset,m.length,"content"),A.any||(w=null===A.choice?this._decodeGeneric(A.tag,m,T):this._decodeChoice(m,T)),m.isError(w))return w;if(!A.any&&null===A.choice&&null!==A.children&&A.children.forEach(function(te){te._decode(m,T)}),A.contains&&("octstr"===A.tag||"bitstr"===A.tag)){var oe=new p(w);w=this._getUse(A.contains,m._reporterState.obj)._decode(oe,T)}}return A.obj&&R&&(w=m.leaveObject(P)),null===A.key||null===w&&!0!==R?null!==$&&m.exitKey($):m.leaveKey($,A.key,w),w},_.prototype._decodeGeneric=function(m,T,A){var w=this._baseState;return"seq"===m||"set"===m?null:"seqof"===m||"setof"===m?this._decodeList(T,m,w.args[0],A):/str$/.test(m)?this._decodeStr(T,m,A):"objid"===m&&w.args?this._decodeObjid(T,w.args[0],w.args[1],A):"objid"===m?this._decodeObjid(T,null,null,A):"gentime"===m||"utctime"===m?this._decodeTime(T,m,A):"null_"===m?this._decodeNull(T,A):"bool"===m?this._decodeBool(T,A):"objDesc"===m?this._decodeStr(T,m,A):"int"===m||"enum"===m?this._decodeInt(T,w.args&&w.args[0],A):null!==w.use?this._getUse(w.use,T._reporterState.obj)._decode(T,A):T.error("unknown tag: "+m)},_.prototype._getUse=function(m,T){var A=this._baseState;return A.useDecoder=this._use(m,T),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(m,T){var A=this._baseState,w=null,R=!1;return Object.keys(A.choice).some(function($){var k=m.save(),M=A.choice[$];try{var P=M._decode(m,T);if(m.isError(P))return!1;w={type:$,value:P},R=!0}catch{return m.restore(k),!1}return!0},this),R?w:m.error("Choice not matched")},_.prototype._createEncoderBuffer=function(m){return new S(m,this.reporter)},_.prototype._encode=function(m,T,A){var w=this._baseState;if(null===w.default||w.default!==m){var R=this._encodeValue(m,T,A);if(void 0!==R&&!this._skipDefault(R,T,A))return R}},_.prototype._encodeValue=function(m,T,A){var w=this._baseState;if(null===w.parent)return w.children[0]._encode(m,T||new a);var M=null;if(this.reporter=T,w.optional&&void 0===m){if(null===w.default)return;m=w.default}var R=null,$=!1;if(w.any)M=this._createEncoderBuffer(m);else if(w.choice)M=this._encodeChoice(m,T);else if(w.contains)R=this._getUse(w.contains,A)._encode(m,T),$=!0;else if(w.children)R=w.children.map(function(V){if("null_"===V._baseState.tag)return V._encode(null,T,m);if(null===V._baseState.key)return T.error("Child should have a key");var W=T.enterKey(V._baseState.key);if("object"!=typeof m)return T.error("Child expected, but input is not object");var oe=V._encode(m[V._baseState.key],T,m);return T.leaveKey(W),oe},this).filter(function(V){return V}),R=this._createEncoderBuffer(R);else if("seqof"===w.tag||"setof"===w.tag){if(!w.args||1!==w.args.length)return T.error("Too many args for : "+w.tag);if(!Array.isArray(m))return T.error("seqof/setof, but data is not Array");var k=this.clone();k._baseState.implicit=null,R=this._createEncoderBuffer(m.map(function(V){return this._getUse(this._baseState.args[0],m)._encode(V,T)},k))}else null!==w.use?M=this._getUse(w.use,A)._encode(m,T):(R=this._encodePrimitive(w.tag,m),$=!0);if(!w.any&&null===w.choice){var P=null!==w.implicit?w.implicit:w.tag,U=null===w.implicit?"universal":"context";null===P?null===w.use&&T.error("Tag could be omitted only for .use()"):null===w.use&&(M=this._encodeComposite(P,$,U,R))}return null!==w.explicit&&(M=this._encodeComposite(w.explicit,!1,"context",M)),M},_.prototype._encodeChoice=function(m,T){var A=this._baseState,w=A.choice[m.type];return w||O(!1,m.type+" not found in "+JSON.stringify(Object.keys(A.choice))),w._encode(m.value,T)},_.prototype._encodePrimitive=function(m,T){var A=this._baseState;if(/str$/.test(m))return this._encodeStr(T,m);if("objid"===m&&A.args)return this._encodeObjid(T,A.reverseArgs[0],A.args[1]);if("objid"===m)return this._encodeObjid(T,null,null);if("gentime"===m||"utctime"===m)return this._encodeTime(T,m);if("null_"===m)return this._encodeNull();if("int"===m||"enum"===m)return this._encodeInt(T,A.args&&A.reverseArgs[0]);if("bool"===m)return this._encodeBool(T);if("objDesc"===m)return this._encodeStr(T,m);throw new Error("Unsupported tag: "+m)},_.prototype._isNumstr=function(m){return/^[0-9 ]*$/.test(m)},_.prototype._isPrintstr=function(m){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(m)}},5697:(Ce,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(F){return"["+JSON.stringify(F)+"]"}).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:(Ce,ee,E)=>{var a=E(7740);ee.tagClass={0:"universal",1:"application",2:"context",3:"private"},ee.tagClassByName=a._reverse(ee.tagClass),ee.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},ee.tagByName=a._reverse(ee.tag)},7740:(Ce,ee,E)=>{var a=ee;a._reverse=function(p){var O={};return Object.keys(p).forEach(function(c){(0|c)==c&&(c|=0),O[p[c]]=c}),O},a.der=E(6283)},5941:(Ce,ee,E)=>{var a=E(1993),S=E(1990),p=S.base,O=S.bignum,c=S.constants.der;function D(B){this.enc="der",this.name=B.name,this.entity=B,this.tree=new C,this.tree._init(B.body)}function C(B){p.Node.call(this,"der",B)}function _(B,m){var T=B.readUInt8(m);if(B.isError(T))return T;var A=c.tagClass[T>>6],w=!(32&T);if(31&~T)T&=31;else{var R=T;for(T=0;!(128&~R);){if(R=B.readUInt8(m),B.isError(R))return R;T<<=7,T|=127&R}}return{cls:A,primitive:w,tag:T,tagStr:c.tag[T]}}function F(B,m,T){var A=B.readUInt8(T);if(B.isError(A))return A;if(!m&&128===A)return null;if(!(128&A))return A;var w=127&A;if(w>4)return B.error("length octect is too long");A=0;for(var R=0;R{var a=ee;a.der=E(5941),a.pem=E(6935)},6935:(Ce,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(5941);function O(c){p.call(this,c),this.enc="pem"}a(O,p),Ce.exports=O,O.prototype.decode=function(D,C){for(var _=D.toString().split(/[\r\n]+/g),F=C.label.toUpperCase(),B=/^-----(BEGIN|END) ([^-]+)-----$/,m=-1,T=-1,A=0;A<_.length;A++){var w=_[A].match(B);if(null!==w&&w[2]===F){if(-1!==m){if("END"!==w[1])break;T=A;break}if("BEGIN"!==w[1])break;m=A}}if(-1===m||-1===T)throw new Error("PEM section not found for: "+F);var R=_.slice(m+1,T).join("");R.replace(/[^a-z0-9\+\/=]+/gi,"");var $=new S(R,"base64");return p.prototype.decode.call(this,$,C)}},2193:(Ce,ee,E)=>{var a=E(1993),S=E(3838).Buffer,p=E(1990),O=p.base,c=p.constants.der;function D(B){this.enc="der",this.name=B.name,this.entity=B,this.tree=new C,this.tree._init(B.body)}function C(B){O.Node.call(this,"der",B)}function _(B){return B<10?"0"+B:B}Ce.exports=D,D.prototype.encode=function(m,T){return this.tree._encode(m,T).join()},a(C,O.Node),C.prototype._encodeComposite=function(m,T,A,w){var M,R=function F(B,m,T,A){var w;if("seqof"===B?B="seq":"setof"===B&&(B="set"),c.tagByName.hasOwnProperty(B))w=c.tagByName[B];else{if("number"!=typeof B||(0|B)!==B)return A.error("Unknown tag: "+B);w=B}return w>=31?A.error("Multi-octet tag encoding unsupported"):(m||(w|=32),w|=c.tagClassByName[T||"universal"]<<6)}(m,T,A,this.reporter);if(w.length<128)return(M=new S(2))[0]=R,M[1]=w.length,this._createEncoderBuffer([M,w]);for(var $=1,k=w.length;k>=256;k>>=8)$++;(M=new S(2+$))[0]=R,M[1]=128|$,k=1+$;for(var P=w.length;P>0;k--,P>>=8)M[k]=255&P;return this._createEncoderBuffer([M,w])},C.prototype._encodeStr=function(m,T){if("bitstr"===T)return this._createEncoderBuffer([0|m.unused,m.data]);if("bmpstr"===T){for(var A=new S(2*m.length),w=0;w=40)return this.reporter.error("Second objid identifier OOB");m.splice(0,2,40*m[0]+m[1])}var R=0;for(w=0;w=128;$>>=7)R++}var k=new S(R),M=k.length-1;for(w=m.length-1;w>=0;w--)for(k[M--]=127&($=m[w]);($>>=7)>0;)k[M--]=128|127&$;return this._createEncoderBuffer(k)},C.prototype._encodeTime=function(m,T){var A,w=new Date(m);return"gentime"===T?A=[_(w.getFullYear()),_(w.getUTCMonth()+1),_(w.getUTCDate()),_(w.getUTCHours()),_(w.getUTCMinutes()),_(w.getUTCSeconds()),"Z"].join(""):"utctime"===T?A=[_(w.getFullYear()%100),_(w.getUTCMonth()+1),_(w.getUTCDate()),_(w.getUTCHours()),_(w.getUTCMinutes()),_(w.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+T+" time is not supported yet"),this._encodeStr(A,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(m,T){if("string"==typeof m){if(!T)return this.reporter.error("String int or enum given, but no values map");if(!T.hasOwnProperty(m))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(m));m=T[m]}if("number"!=typeof m&&!S.isBuffer(m)){var A=m.toArray();!m.sign&&128&A[0]&&A.unshift(0),m=new S(A)}if(S.isBuffer(m)){var w=m.length;0===m.length&&w++;var $=new S(w);return m.copy($),0===m.length&&($[0]=0),this._createEncoderBuffer($)}if(m<128)return this._createEncoderBuffer(m);if(m<256)return this._createEncoderBuffer([0,m]);w=1;for(var R=m;R>=256;R>>=8)w++;for(R=($=new Array(w)).length-1;R>=0;R--)$[R]=255&m,m>>=8;return 128&$[0]&&$.unshift(0),this._createEncoderBuffer(new S($))},C.prototype._encodeBool=function(m){return this._createEncoderBuffer(m?255:0)},C.prototype._use=function(m,T){return"function"==typeof m&&(m=m(T)),m._getEncoder("der").tree},C.prototype._skipDefault=function(m,T,A){var R,w=this._baseState;if(null===w.default)return!1;var $=m.join();if(void 0===w.defaultBuffer&&(w.defaultBuffer=this._encodeValue(w.default,T,A).join()),$.length!==w.defaultBuffer.length)return!1;for(R=0;R<$.length;R++)if($[R]!==w.defaultBuffer[R])return!1;return!0}},2714:(Ce,ee,E)=>{var a=ee;a.der=E(2193),a.pem=E(4816)},4816:(Ce,ee,E)=>{var a=E(1993),S=E(2193);function p(O){S.call(this,O),this.enc="pem"}a(p,S),Ce.exports=p,p.prototype.encode=function(c,D){for(var _=S.prototype.encode.call(this,c).toString("base64"),F=["-----BEGIN "+D.label+"-----"],B=0;B<_.length;B+=64)F.push(_.slice(B,B+64));return F.push("-----END "+D.label+"-----"),F.join("\n")}},6867:function(Ce,ee,E){!function(a,S){"use strict";function p(g,n){if(!g)throw new Error(n||"Assertion failed")}function O(g,n){g.super_=n;var o=function(){};o.prototype=n.prototype,g.prototype=new o,g.prototype.constructor=g}function c(g,n,o){if(c.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,null!==g&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(g||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(g,n){var o=g.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,pe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,qe=0|s[3],Oe=8191&qe,xe=qe>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},3981:(Ce,ee)=>{"use strict";ee.byteLength=function C(A){var w=D(A),$=w[1];return 3*(w[0]+$)/4-$},ee.toByteArray=function F(A){var w,V,R=D(A),$=R[0],k=R[1],M=new S(function _(A,w,R){return 3*(w+R)/4-R}(0,$,k)),P=0,U=k>0?$-4:$;for(V=0;V>16&255,M[P++]=w>>8&255,M[P++]=255&w;return 2===k&&(w=a[A.charCodeAt(V)]<<2|a[A.charCodeAt(V+1)]>>4,M[P++]=255&w),1===k&&(w=a[A.charCodeAt(V)]<<10|a[A.charCodeAt(V+1)]<<4|a[A.charCodeAt(V+2)]>>2,M[P++]=w>>8&255,M[P++]=255&w),M},ee.fromByteArray=function T(A){for(var w,R=A.length,$=R%3,k=[],M=16383,P=0,U=R-$;PU?U:P+M));return 1===$?k.push(E[(w=A[R-1])>>2]+E[w<<4&63]+"=="):2===$&&k.push(E[(w=(A[R-2]<<8)+A[R-1])>>10]+E[w>>4&63]+E[w<<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 w=A.length;if(w%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var R=A.indexOf("=");return-1===R&&(R=w),[R,R===w?0:4-R%4]}function B(A){return E[A>>18&63]+E[A>>12&63]+E[A>>6&63]+E[63&A]}function m(A,w,R){for(var k=[],M=w;M=48&&h<=57?h-48:h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:void p(!1,"Invalid character in "+l)}function _(l,s,h){var v=C(l,h);return h-1>=s&&(v|=C(l,h-1)<<4),v}function F(l,s,h,v){for(var y=0,d=0,r=Math.min(l.length,h),f=s;f=49?L-49+10:L>=17?L-17+10:L,p(L>=0&&d0?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[d]|=(r=s[y]|s[y-1]<<8|s[y-2]<<16)<>>26-f&67108863,(f+=24)>=26&&(f-=26,d++);else if("le"===v)for(y=0,d=0;y>>26-f&67108863,(f+=24)>=26&&(f-=26,d++);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)f=_(s,h,y)<=18?(d-=18,this.words[r+=1]|=f>>>26):d+=8;else for(y=(s.length-h)%2==0?h+1:h;y=18?(d-=18,this.words[r+=1]|=f>>>26):d+=8;this._strip()},c.prototype._parseBase=function(s,h,v){this.words=[0],this.length=1;for(var y=0,d=1;d<=67108863;d*=h)y++;y--,d=d/h|0;for(var r=s.length-v,f=r%y,L=Math.min(r,r-f)+v,I=0,j=v;j1&&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")]=m}catch{c.prototype.inspect=m}else c.prototype.inspect=m;function m(){return(this.red?""}var T=["","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],w=[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(l,s,h){h.negative=s.negative^l.negative;var v=l.length+s.length|0;h.length=v,v=v-1|0;var y=0|l.words[0],d=0|s.words[0],r=y*d,L=r/67108864|0;h.words[0]=67108863&r;for(var I=1;I>>26,J=67108863&L,ie=Math.min(I,s.length-1),pe=Math.max(0,I-l.length+1);pe<=ie;pe++)j+=(r=(y=0|l.words[I-pe|0])*(d=0|s.words[pe])+J)/67108864|0,J=67108863&r;h.words[I]=0|J,L=0|j}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,d=0,r=0;r>>24-y&16777215,(y+=2)>=26&&(y-=26,r--),v=0!==d||r!==this.length-1?T[6-L.length]+L+v:L+v}for(0!==d&&(v=d.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],j=w[s];v="";var J=this.clone();for(J.negative=0;!J.isZero();){var ie=J.modrn(j).toString(s);v=(J=J.idivn(j)).isZero()?ie+v:T[I-ie.length]+ie+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(),d=v||Math.max(1,y);p(y<=d,"byte array longer than desired length"),p(d>0,"Requested array length <= 0");var r=function(s,h){return s.allocUnsafe?s.allocUnsafe(h):new s(h)}(s,d);return this["_toArrayLike"+("le"===h?"LE":"BE")](r,y),r},c.prototype._toArrayLikeLE=function(s,h){for(var v=0,y=0,d=0,r=0;d>8&255),v>16&255),6===r?(v>24&255),y=0,r=0):(y=f>>>24,r+=2)}if(v=0&&(s[v--]=f>>8&255),v>=0&&(s[v--]=f>>16&255),6===r?(v>=0&&(s[v--]=f>>24&255),y=0,r=0):(y=f>>>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 d=0,r=0;r>>26;for(;0!==d&&r>>26;if(this.length=v.length,0!==d)this.words[this.length]=d,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,d,v=this.cmp(s);if(0===v)return this.negative=0,this.length=1,this.words[0]=0,this;v>0?(y=this,d=s):(y=s,d=this);for(var r=0,f=0;f>26,this.words[f]=67108863&h;for(;0!==r&&f>26,this.words[f]=67108863&h;if(0===r&&f>>13,De=0|y[1],Q=8191&De,ae=De>>>13,qe=0|y[2],Oe=8191&qe,xe=qe>>>13,Te=0|y[3],Be=8191&Te,re=Te>>>13,ne=0|y[4],G=8191&ne,ge=ne>>>13,xt=0|y[5],Qe=8191&xt,rt=xt>>>13,rn=0|y[6],mt=8191&rn,ft=rn>>>13,un=0|y[7],At=8191&un,It=un>>>13,Cn=0|y[8],St=8191&Cn,Ft=Cn>>>13,bn=0|y[9],bt=8191&bn,wt=bn>>>13,Dn=0|d[0],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|d[1],Nt=8191&Wt,Ot=Wt>>>13,zn=0|d[2],Ut=8191&zn,He=zn>>>13,_e=0|d[3],Ae=8191&_e,Me=_e>>>13,Ze=0|d[4],je=8191&Ze,it=Ze>>>13,Pe=0|d[5],Se=8191&Pe,ze=Pe>>>13,Et=0|d[6],Je=8191&Et,st=Et>>>13,en=0|d[7],yt=8191&en,vt=en>>>13,Kt=0|d[8],Pt=8191&Kt,Rt=Kt>>>13,On=0|d[9],An=8191&On,Bn=On>>>13;v.negative=s.negative^h.negative,v.length=19;var Mn=(f+(L=Math.imul(ie,Bt))|0)+((8191&(I=(I=Math.imul(ie,Lt))+Math.imul(pe,Bt)|0))<<13)|0;f=((j=Math.imul(pe,Lt))+(I>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,L=Math.imul(Q,Bt),I=(I=Math.imul(Q,Lt))+Math.imul(ae,Bt)|0,j=Math.imul(ae,Lt);var Wn=(f+(L=L+Math.imul(ie,Nt)|0)|0)+((8191&(I=(I=I+Math.imul(ie,Ot)|0)+Math.imul(pe,Nt)|0))<<13)|0;f=((j=j+Math.imul(pe,Ot)|0)+(I>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,L=Math.imul(Oe,Bt),I=(I=Math.imul(Oe,Lt))+Math.imul(xe,Bt)|0,j=Math.imul(xe,Lt),L=L+Math.imul(Q,Nt)|0,I=(I=I+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,j=j+Math.imul(ae,Ot)|0;var Ln=(f+(L=L+Math.imul(ie,Ut)|0)|0)+((8191&(I=(I=I+Math.imul(ie,He)|0)+Math.imul(pe,Ut)|0))<<13)|0;f=((j=j+Math.imul(pe,He)|0)+(I>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,L=Math.imul(Be,Bt),I=(I=Math.imul(Be,Lt))+Math.imul(re,Bt)|0,j=Math.imul(re,Lt),L=L+Math.imul(Oe,Nt)|0,I=(I=I+Math.imul(Oe,Ot)|0)+Math.imul(xe,Nt)|0,j=j+Math.imul(xe,Ot)|0,L=L+Math.imul(Q,Ut)|0,I=(I=I+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,j=j+Math.imul(ae,He)|0;var Fn=(f+(L=L+Math.imul(ie,Ae)|0)|0)+((8191&(I=(I=I+Math.imul(ie,Me)|0)+Math.imul(pe,Ae)|0))<<13)|0;f=((j=j+Math.imul(pe,Me)|0)+(I>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,L=Math.imul(G,Bt),I=(I=Math.imul(G,Lt))+Math.imul(ge,Bt)|0,j=Math.imul(ge,Lt),L=L+Math.imul(Be,Nt)|0,I=(I=I+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,j=j+Math.imul(re,Ot)|0,L=L+Math.imul(Oe,Ut)|0,I=(I=I+Math.imul(Oe,He)|0)+Math.imul(xe,Ut)|0,j=j+Math.imul(xe,He)|0,L=L+Math.imul(Q,Ae)|0,I=(I=I+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,j=j+Math.imul(ae,Me)|0;var kn=(f+(L=L+Math.imul(ie,je)|0)|0)+((8191&(I=(I=I+Math.imul(ie,it)|0)+Math.imul(pe,je)|0))<<13)|0;f=((j=j+Math.imul(pe,it)|0)+(I>>>13)|0)+(kn>>>26)|0,kn&=67108863,L=Math.imul(Qe,Bt),I=(I=Math.imul(Qe,Lt))+Math.imul(rt,Bt)|0,j=Math.imul(rt,Lt),L=L+Math.imul(G,Nt)|0,I=(I=I+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,j=j+Math.imul(ge,Ot)|0,L=L+Math.imul(Be,Ut)|0,I=(I=I+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,j=j+Math.imul(re,He)|0,L=L+Math.imul(Oe,Ae)|0,I=(I=I+Math.imul(Oe,Me)|0)+Math.imul(xe,Ae)|0,j=j+Math.imul(xe,Me)|0,L=L+Math.imul(Q,je)|0,I=(I=I+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,j=j+Math.imul(ae,it)|0;var Gn=(f+(L=L+Math.imul(ie,Se)|0)|0)+((8191&(I=(I=I+Math.imul(ie,ze)|0)+Math.imul(pe,Se)|0))<<13)|0;f=((j=j+Math.imul(pe,ze)|0)+(I>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,L=Math.imul(mt,Bt),I=(I=Math.imul(mt,Lt))+Math.imul(ft,Bt)|0,j=Math.imul(ft,Lt),L=L+Math.imul(Qe,Nt)|0,I=(I=I+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,j=j+Math.imul(rt,Ot)|0,L=L+Math.imul(G,Ut)|0,I=(I=I+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,j=j+Math.imul(ge,He)|0,L=L+Math.imul(Be,Ae)|0,I=(I=I+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,j=j+Math.imul(re,Me)|0,L=L+Math.imul(Oe,je)|0,I=(I=I+Math.imul(Oe,it)|0)+Math.imul(xe,je)|0,j=j+Math.imul(xe,it)|0,L=L+Math.imul(Q,Se)|0,I=(I=I+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,j=j+Math.imul(ae,ze)|0;var Xn=(f+(L=L+Math.imul(ie,Je)|0)|0)+((8191&(I=(I=I+Math.imul(ie,st)|0)+Math.imul(pe,Je)|0))<<13)|0;f=((j=j+Math.imul(pe,st)|0)+(I>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,L=Math.imul(At,Bt),I=(I=Math.imul(At,Lt))+Math.imul(It,Bt)|0,j=Math.imul(It,Lt),L=L+Math.imul(mt,Nt)|0,I=(I=I+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,j=j+Math.imul(ft,Ot)|0,L=L+Math.imul(Qe,Ut)|0,I=(I=I+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,j=j+Math.imul(rt,He)|0,L=L+Math.imul(G,Ae)|0,I=(I=I+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,j=j+Math.imul(ge,Me)|0,L=L+Math.imul(Be,je)|0,I=(I=I+Math.imul(Be,it)|0)+Math.imul(re,je)|0,j=j+Math.imul(re,it)|0,L=L+Math.imul(Oe,Se)|0,I=(I=I+Math.imul(Oe,ze)|0)+Math.imul(xe,Se)|0,j=j+Math.imul(xe,ze)|0,L=L+Math.imul(Q,Je)|0,I=(I=I+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,j=j+Math.imul(ae,st)|0;var jn=(f+(L=L+Math.imul(ie,yt)|0)|0)+((8191&(I=(I=I+Math.imul(ie,vt)|0)+Math.imul(pe,yt)|0))<<13)|0;f=((j=j+Math.imul(pe,vt)|0)+(I>>>13)|0)+(jn>>>26)|0,jn&=67108863,L=Math.imul(St,Bt),I=(I=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,j=Math.imul(Ft,Lt),L=L+Math.imul(At,Nt)|0,I=(I=I+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,j=j+Math.imul(It,Ot)|0,L=L+Math.imul(mt,Ut)|0,I=(I=I+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,j=j+Math.imul(ft,He)|0,L=L+Math.imul(Qe,Ae)|0,I=(I=I+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,j=j+Math.imul(rt,Me)|0,L=L+Math.imul(G,je)|0,I=(I=I+Math.imul(G,it)|0)+Math.imul(ge,je)|0,j=j+Math.imul(ge,it)|0,L=L+Math.imul(Be,Se)|0,I=(I=I+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,j=j+Math.imul(re,ze)|0,L=L+Math.imul(Oe,Je)|0,I=(I=I+Math.imul(Oe,st)|0)+Math.imul(xe,Je)|0,j=j+Math.imul(xe,st)|0,L=L+Math.imul(Q,yt)|0,I=(I=I+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,j=j+Math.imul(ae,vt)|0;var $e=(f+(L=L+Math.imul(ie,Pt)|0)|0)+((8191&(I=(I=I+Math.imul(ie,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;f=((j=j+Math.imul(pe,Rt)|0)+(I>>>13)|0)+($e>>>26)|0,$e&=67108863,L=Math.imul(bt,Bt),I=(I=Math.imul(bt,Lt))+Math.imul(wt,Bt)|0,j=Math.imul(wt,Lt),L=L+Math.imul(St,Nt)|0,I=(I=I+Math.imul(St,Ot)|0)+Math.imul(Ft,Nt)|0,j=j+Math.imul(Ft,Ot)|0,L=L+Math.imul(At,Ut)|0,I=(I=I+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,j=j+Math.imul(It,He)|0,L=L+Math.imul(mt,Ae)|0,I=(I=I+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,j=j+Math.imul(ft,Me)|0,L=L+Math.imul(Qe,je)|0,I=(I=I+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,j=j+Math.imul(rt,it)|0,L=L+Math.imul(G,Se)|0,I=(I=I+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,j=j+Math.imul(ge,ze)|0,L=L+Math.imul(Be,Je)|0,I=(I=I+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,j=j+Math.imul(re,st)|0,L=L+Math.imul(Oe,yt)|0,I=(I=I+Math.imul(Oe,vt)|0)+Math.imul(xe,yt)|0,j=j+Math.imul(xe,vt)|0,L=L+Math.imul(Q,Pt)|0,I=(I=I+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0,j=j+Math.imul(ae,Rt)|0;var lt=(f+(L=L+Math.imul(ie,An)|0)|0)+((8191&(I=(I=I+Math.imul(ie,Bn)|0)+Math.imul(pe,An)|0))<<13)|0;f=((j=j+Math.imul(pe,Bn)|0)+(I>>>13)|0)+(lt>>>26)|0,lt&=67108863,L=Math.imul(bt,Nt),I=(I=Math.imul(bt,Ot))+Math.imul(wt,Nt)|0,j=Math.imul(wt,Ot),L=L+Math.imul(St,Ut)|0,I=(I=I+Math.imul(St,He)|0)+Math.imul(Ft,Ut)|0,j=j+Math.imul(Ft,He)|0,L=L+Math.imul(At,Ae)|0,I=(I=I+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,j=j+Math.imul(It,Me)|0,L=L+Math.imul(mt,je)|0,I=(I=I+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,j=j+Math.imul(ft,it)|0,L=L+Math.imul(Qe,Se)|0,I=(I=I+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,j=j+Math.imul(rt,ze)|0,L=L+Math.imul(G,Je)|0,I=(I=I+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,j=j+Math.imul(ge,st)|0,L=L+Math.imul(Be,yt)|0,I=(I=I+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,j=j+Math.imul(re,vt)|0,L=L+Math.imul(Oe,Pt)|0,I=(I=I+Math.imul(Oe,Rt)|0)+Math.imul(xe,Pt)|0,j=j+Math.imul(xe,Rt)|0;var Tt=(f+(L=L+Math.imul(Q,An)|0)|0)+((8191&(I=(I=I+Math.imul(Q,Bn)|0)+Math.imul(ae,An)|0))<<13)|0;f=((j=j+Math.imul(ae,Bn)|0)+(I>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,L=Math.imul(bt,Ut),I=(I=Math.imul(bt,He))+Math.imul(wt,Ut)|0,j=Math.imul(wt,He),L=L+Math.imul(St,Ae)|0,I=(I=I+Math.imul(St,Me)|0)+Math.imul(Ft,Ae)|0,j=j+Math.imul(Ft,Me)|0,L=L+Math.imul(At,je)|0,I=(I=I+Math.imul(At,it)|0)+Math.imul(It,je)|0,j=j+Math.imul(It,it)|0,L=L+Math.imul(mt,Se)|0,I=(I=I+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,j=j+Math.imul(ft,ze)|0,L=L+Math.imul(Qe,Je)|0,I=(I=I+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,j=j+Math.imul(rt,st)|0,L=L+Math.imul(G,yt)|0,I=(I=I+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,j=j+Math.imul(ge,vt)|0,L=L+Math.imul(Be,Pt)|0,I=(I=I+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0,j=j+Math.imul(re,Rt)|0;var Mt=(f+(L=L+Math.imul(Oe,An)|0)|0)+((8191&(I=(I=I+Math.imul(Oe,Bn)|0)+Math.imul(xe,An)|0))<<13)|0;f=((j=j+Math.imul(xe,Bn)|0)+(I>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,L=Math.imul(bt,Ae),I=(I=Math.imul(bt,Me))+Math.imul(wt,Ae)|0,j=Math.imul(wt,Me),L=L+Math.imul(St,je)|0,I=(I=I+Math.imul(St,it)|0)+Math.imul(Ft,je)|0,j=j+Math.imul(Ft,it)|0,L=L+Math.imul(At,Se)|0,I=(I=I+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,j=j+Math.imul(It,ze)|0,L=L+Math.imul(mt,Je)|0,I=(I=I+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,j=j+Math.imul(ft,st)|0,L=L+Math.imul(Qe,yt)|0,I=(I=I+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,j=j+Math.imul(rt,vt)|0,L=L+Math.imul(G,Pt)|0,I=(I=I+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0,j=j+Math.imul(ge,Rt)|0;var kt=(f+(L=L+Math.imul(Be,An)|0)|0)+((8191&(I=(I=I+Math.imul(Be,Bn)|0)+Math.imul(re,An)|0))<<13)|0;f=((j=j+Math.imul(re,Bn)|0)+(I>>>13)|0)+(kt>>>26)|0,kt&=67108863,L=Math.imul(bt,je),I=(I=Math.imul(bt,it))+Math.imul(wt,je)|0,j=Math.imul(wt,it),L=L+Math.imul(St,Se)|0,I=(I=I+Math.imul(St,ze)|0)+Math.imul(Ft,Se)|0,j=j+Math.imul(Ft,ze)|0,L=L+Math.imul(At,Je)|0,I=(I=I+Math.imul(At,st)|0)+Math.imul(It,Je)|0,j=j+Math.imul(It,st)|0,L=L+Math.imul(mt,yt)|0,I=(I=I+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,j=j+Math.imul(ft,vt)|0,L=L+Math.imul(Qe,Pt)|0,I=(I=I+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0,j=j+Math.imul(rt,Rt)|0;var Zt=(f+(L=L+Math.imul(G,An)|0)|0)+((8191&(I=(I=I+Math.imul(G,Bn)|0)+Math.imul(ge,An)|0))<<13)|0;f=((j=j+Math.imul(ge,Bn)|0)+(I>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,L=Math.imul(bt,Se),I=(I=Math.imul(bt,ze))+Math.imul(wt,Se)|0,j=Math.imul(wt,ze),L=L+Math.imul(St,Je)|0,I=(I=I+Math.imul(St,st)|0)+Math.imul(Ft,Je)|0,j=j+Math.imul(Ft,st)|0,L=L+Math.imul(At,yt)|0,I=(I=I+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,j=j+Math.imul(It,vt)|0,L=L+Math.imul(mt,Pt)|0,I=(I=I+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0,j=j+Math.imul(ft,Rt)|0;var qt=(f+(L=L+Math.imul(Qe,An)|0)|0)+((8191&(I=(I=I+Math.imul(Qe,Bn)|0)+Math.imul(rt,An)|0))<<13)|0;f=((j=j+Math.imul(rt,Bn)|0)+(I>>>13)|0)+(qt>>>26)|0,qt&=67108863,L=Math.imul(bt,Je),I=(I=Math.imul(bt,st))+Math.imul(wt,Je)|0,j=Math.imul(wt,st),L=L+Math.imul(St,yt)|0,I=(I=I+Math.imul(St,vt)|0)+Math.imul(Ft,yt)|0,j=j+Math.imul(Ft,vt)|0,L=L+Math.imul(At,Pt)|0,I=(I=I+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0,j=j+Math.imul(It,Rt)|0;var Qt=(f+(L=L+Math.imul(mt,An)|0)|0)+((8191&(I=(I=I+Math.imul(mt,Bn)|0)+Math.imul(ft,An)|0))<<13)|0;f=((j=j+Math.imul(ft,Bn)|0)+(I>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,L=Math.imul(bt,yt),I=(I=Math.imul(bt,vt))+Math.imul(wt,yt)|0,j=Math.imul(wt,vt),L=L+Math.imul(St,Pt)|0,I=(I=I+Math.imul(St,Rt)|0)+Math.imul(Ft,Pt)|0,j=j+Math.imul(Ft,Rt)|0;var Tn=(f+(L=L+Math.imul(At,An)|0)|0)+((8191&(I=(I=I+Math.imul(At,Bn)|0)+Math.imul(It,An)|0))<<13)|0;f=((j=j+Math.imul(It,Bn)|0)+(I>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,L=Math.imul(bt,Pt),I=(I=Math.imul(bt,Rt))+Math.imul(wt,Pt)|0,j=Math.imul(wt,Rt);var wn=(f+(L=L+Math.imul(St,An)|0)|0)+((8191&(I=(I=I+Math.imul(St,Bn)|0)+Math.imul(Ft,An)|0))<<13)|0;f=((j=j+Math.imul(Ft,Bn)|0)+(I>>>13)|0)+(wn>>>26)|0,wn&=67108863;var Kn=(f+(L=Math.imul(bt,An))|0)+((8191&(I=(I=Math.imul(bt,Bn))+Math.imul(wt,An)|0))<<13)|0;return f=((j=Math.imul(wt,Bn))+(I>>>13)|0)+(Kn>>>26)|0,Kn&=67108863,r[0]=Mn,r[1]=Wn,r[2]=Ln,r[3]=Fn,r[4]=kn,r[5]=Gn,r[6]=Xn,r[7]=jn,r[8]=$e,r[9]=lt,r[10]=Tt,r[11]=Mt,r[12]=kt,r[13]=Zt,r[14]=qt,r[15]=Qt,r[16]=Tn,r[17]=wn,r[18]=Kn,0!==f&&(r[19]=f,v.length++),v};function P(l,s,h){h.negative=s.negative^l.negative,h.length=l.length+s.length;for(var v=0,y=0,d=0;d>>26)|0)>>>26,r&=67108863}h.words[d]=f,v=r,r=y}return 0!==v?h.words[d]=v:h.length--,h._strip()}function U(l,s,h){return P(l,s,h)}function V(l,s){this.x=l,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?P(this,s,h):U(this,s,h)},V.prototype.makeRBT=function(s){for(var h=new Array(s),v=c.prototype._countBits(s)-1,y=0;y>=1;return y},V.prototype.permute=function(s,h,v,y,d,r){for(var f=0;f>>=1)d++;return 1<>>=13),d>>>=13;for(r=2*h;r>=26,v+=d/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 $(l){for(var s=new Array(l.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 d,h=s%26,v=(s-h)/26,y=67108863>>>26-h<<26-h;if(0!==h){var r=0;for(d=0;d>>26-h}r&&(this.words[d]=r,this.length++)}if(0!==v){for(d=this.length-1;d>=0;d--)this.words[d+v]=this.words[d];for(d=0;d=0),y=h?(h-h%26)/26:0;var d=s%26,r=Math.min((s-d)/26,this.length),f=67108863^67108863>>>d<r)for(this.length-=r,I=0;I=0&&(0!==j||I>=y);I--){var J=0|this.words[I];this.words[I]=j<<26-d|J>>>d,j=J&f}return L&&0!==j&&(L.words[L.length++]=j),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[d+v]=67108863&r}for(;d>26,this.words[d+v]=67108863&r;if(0===f)return this._strip();for(p(-1===f),f=0,d=0;d>26,this.words[d]=67108863&r;return this.negative=1,this._strip()},c.prototype._wordDiv=function(s,h){var v,y=this.clone(),d=s,r=0|d.words[d.length-1];0!=(v=26-this._countBits(r))&&(d=d.ushln(v),y.iushln(v),r=0|d.words[d.length-1]);var I,L=y.length-d.length;if("mod"!==h){(I=new c(null)).length=L+1,I.words=new Array(I.length);for(var j=0;j=0;ie--){var pe=67108864*(0|y.words[d.length+ie])+(0|y.words[d.length+ie-1]);for(pe=Math.min(pe/r|0,67108863),y._ishlnsubmul(d,pe,ie);0!==y.negative;)pe--,y.negative=0,y._ishlnsubmul(d,1,ie),y.isZero()||(y.negative^=1);I&&(I.words[ie]=pe)}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&&(d=r.mod.neg(),v&&0!==d.negative&&d.iadd(s)),{div:y,mod:d}):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&&(d=r.mod.neg(),v&&0!==d.negative&&d.isub(s)),{div:r.div,mod:d}):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,d,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),d=s.andln(1),r=v.cmp(y);return r<0||1===d&&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,d=this.length-1;d>=0;d--)y=(v*y+(0|this.words[d]))%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 d=(0|this.words[y])+67108864*v;this.words[y]=d/s|0,v=d%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),d=new c(0),r=new c(0),f=new c(1),L=0;h.isEven()&&v.isEven();)h.iushrn(1),v.iushrn(1),++L;for(var I=v.clone(),j=h.clone();!h.isZero();){for(var J=0,ie=1;!(h.words[0]&ie)&&J<26;++J,ie<<=1);if(J>0)for(h.iushrn(J);J-- >0;)(y.isOdd()||d.isOdd())&&(y.iadd(I),d.isub(j)),y.iushrn(1),d.iushrn(1);for(var pe=0,De=1;!(v.words[0]&De)&&pe<26;++pe,De<<=1);if(pe>0)for(v.iushrn(pe);pe-- >0;)(r.isOdd()||f.isOdd())&&(r.iadd(I),f.isub(j)),r.iushrn(1),f.iushrn(1);h.cmp(v)>=0?(h.isub(v),y.isub(r),d.isub(f)):(v.isub(h),r.isub(y),f.isub(d))}return{a:r,b:f,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),d=new c(0),r=v.clone();h.cmpn(1)>0&&v.cmpn(1)>0;){for(var f=0,L=1;!(h.words[0]&L)&&f<26;++f,L<<=1);if(f>0)for(h.iushrn(f);f-- >0;)y.isOdd()&&y.iadd(r),y.iushrn(1);for(var I=0,j=1;!(v.words[0]&j)&&I<26;++I,j<<=1);if(I>0)for(v.iushrn(I);I-- >0;)d.isOdd()&&d.iadd(r),d.iushrn(1);h.cmp(v)>=0?(h.isub(v),y.isub(d)):(v.isub(h),d.isub(y))}return(J=0===h.cmpn(1)?y:d).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 d=h.cmp(v);if(d<0){var r=h;h=v,v=r}else if(0===d||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]=f&=67108863}return 0!==d&&(this.words[r]=d,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],d=0|s.words[v];if(y!==d){yd&&(h=1);break}}return h},c.prototype.gtn=function(s){return 1===this.cmpn(s)},c.prototype.gt=function(s){return 1===this.cmp(s)},c.prototype.gten=function(s){return this.cmpn(s)>=0},c.prototype.gte=function(s){return this.cmp(s)>=0},c.prototype.ltn=function(s){return-1===this.cmpn(s)},c.prototype.lt=function(s){return-1===this.cmp(s)},c.prototype.lten=function(s){return this.cmpn(s)<=0},c.prototype.lte=function(s){return this.cmp(s)<=0},c.prototype.eqn=function(s){return 0===this.cmpn(s)},c.prototype.eq=function(s){return 0===this.cmp(s)},c.red=function(s){return new n(s)},c.prototype.toRed=function(s){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),s.convertTo(this)._forceRed(s)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(s){return this.red=s,this},c.prototype.forceRed=function(s){return p(!this.red,"Already a number in reduction context"),this._forceRed(s)},c.prototype.redAdd=function(s){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,s)},c.prototype.redIAdd=function(s){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,s)},c.prototype.redSub=function(s){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,s)},c.prototype.redISub=function(s){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,s)},c.prototype.redShl=function(s){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,s)},c.prototype.redMul=function(s){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.mul(this,s)},c.prototype.redIMul=function(s){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,s),this.red.imul(this,s)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(s){return p(this.red&&!s.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,s)};var W={k256:null,p224:null,p192:null,p25519:null};function oe(l,s){this.name=l,this.p=new c(s,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function me(){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 g(){oe.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(l){if("string"==typeof l){var s=c._prime(l);this.m=s.p,this.prime=s}else p(l.gtn(1),"modulus must be greater than 1"),this.m=l,this.prime=null}function o(l){n.call(this,l),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(me,oe),me.prototype.split=function(s,h){for(var v=4194303,y=Math.min(s.length,9),d=0;d>>22,r=f}s.words[d-10]=r>>>=22,s.length-=0===r&&s.length>10?10:9},me.prototype.imulK=function(s){s.words[s.length]=0,s.words[s.length+1]=0,s.length+=2;for(var h=0,v=0;v>>=26,s.words[v]=d,h=y}return 0!==h&&(s.words[s.length++]=h),s},c._prime=function(s){if(W[s])return W[s];var h;if("k256"===s)h=new me;else if("p224"===s)h=new te;else if("p192"===s)h=new se;else{if("p25519"!==s)throw new Error("Unknown prime "+s);h=new g}return W[s]=h,h},n.prototype._verify1=function(s){p(0===s.negative,"red works only with positives"),p(s.red,"red works only with red numbers")},n.prototype._verify2=function(s,h){p(!(s.negative|h.negative),"red works only with positives"),p(s.red&&s.red===h.red,"red works only with red numbers")},n.prototype.imod=function(s){return this.prime?this.prime.ireduce(s)._forceRed(this):(B(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),d=0;!y.isZero()&&0===y.andln(1);)d++,y.iushrn(1);p(!y.isZero());var r=new c(1).toRed(this),f=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(f);)I.redIAdd(f);for(var j=this.pow(I,y),J=this.pow(s,y.addn(1).iushrn(1)),ie=this.pow(s,y),pe=d;0!==ie.cmp(r);){for(var De=ie,Q=0;0!==De.cmp(r);Q++)De=De.redSqr();p(Q=0;d--){for(var j=h.words[d],J=I-1;J>=0;J--){var ie=j>>J&1;r!==y[0]&&(r=this.sqr(r)),0!==ie||0!==f?(f<<=1,f|=ie,(4==++L||0===d&&0===J)&&(r=this.mul(r,y[f]),L=0,f=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),d=v.isub(y).iushrn(this.shift),r=d;return d.cmp(this.m)>=0?r=d.isub(this.m):d.cmpn(0)<0&&(r=d.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),d=v.isub(y).iushrn(this.shift),r=d;return d.cmp(this.m)>=0?r=d.isub(this.m):d.cmpn(0)<0&&(r=d.iadd(this.m)),r._forceRed(this)},o.prototype.invm=function(s){return this.imod(s._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},5294:(Ce,ee,E)=>{var a;function S(O){this.rand=O}if(Ce.exports=function(c){return a||(a=new S(null)),a.generate(c)},Ce.exports.Rand=S,S.prototype.generate=function(c){return this._rand(c)},S.prototype._rand=function(c){if(this.rand.getBytes)return this.rand.getBytes(c);for(var D=new Uint8Array(c),C=0;C{var a=E(7054).Buffer;function S(_){a.isBuffer(_)||(_=a.from(_));for(var F=_.length/4|0,B=new Array(F),m=0;m>>24]^w[M>>>16&255]^R[P>>>8&255]^$[255&U]^F[te++],W=A[M>>>24]^w[P>>>16&255]^R[U>>>8&255]^$[255&k]^F[te++],oe=A[P>>>24]^w[U>>>16&255]^R[k>>>8&255]^$[255&M]^F[te++],me=A[U>>>24]^w[k>>>16&255]^R[M>>>8&255]^$[255&P]^F[te++],k=V,M=W,P=oe,U=me;return V=(m[k>>>24]<<24|m[M>>>16&255]<<16|m[P>>>8&255]<<8|m[255&U])^F[te++],W=(m[M>>>24]<<24|m[P>>>16&255]<<16|m[U>>>8&255]<<8|m[255&k])^F[te++],oe=(m[P>>>24]<<24|m[U>>>16&255]<<16|m[k>>>8&255]<<8|m[255&M])^F[te++],me=(m[U>>>24]<<24|m[k>>>16&255]<<16|m[M>>>8&255]<<8|m[255&P])^F[te++],[V>>>=0,W>>>=0,oe>>>=0,me>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],D=function(){for(var _=new Array(256),F=0;F<256;F++)_[F]=F<128?F<<1:F<<1^283;for(var B=[],m=[],T=[[],[],[],[]],A=[[],[],[],[]],w=0,R=0,$=0;$<256;++$){var k=R^R<<1^R<<2^R<<3^R<<4;B[w]=k=k>>>8^255&k^99,m[k]=w;var M=_[w],P=_[M],U=_[P],V=257*_[k]^16843008*k;T[0][w]=V<<24|V>>>8,T[1][w]=V<<16|V>>>16,T[2][w]=V<<8|V>>>24,T[3][w]=V,A[0][k]=(V=16843009*U^65537*P^257*M^16843008*w)<<24|V>>>8,A[1][k]=V<<16|V>>>16,A[2][k]=V<<8|V>>>24,A[3][k]=V,0===w?w=R=1:(w=M^_[_[_[U^M]]],R^=_[_[R]])}return{SBOX:B,INV_SBOX:m,SUB_MIX:T,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,F=_.length,B=F+6,m=4*(B+1),T=[],A=0;A>>24)>>>24]<<24|D.SBOX[w>>>16&255]<<16|D.SBOX[w>>>8&255]<<8|D.SBOX[255&w],w^=c[A/F|0]<<24):F>6&&A%F==4&&(w=D.SBOX[w>>>24]<<24|D.SBOX[w>>>16&255]<<16|D.SBOX[w>>>8&255]<<8|D.SBOX[255&w]),T[A]=T[A-F]^w}for(var R=[],$=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=B,this._keySchedule=T,this._invKeySchedule=R},C.prototype.encryptBlockRaw=function(_){return O(_=S(_),this._keySchedule,D.SUB_MIX,D.SBOX,this._nRounds)},C.prototype.encryptBlock=function(_){var F=this.encryptBlockRaw(_),B=a.allocUnsafe(16);return B.writeUInt32BE(F[0],0),B.writeUInt32BE(F[1],4),B.writeUInt32BE(F[2],8),B.writeUInt32BE(F[3],12),B},C.prototype.decryptBlock=function(_){var F=(_=S(_))[1];_[1]=_[3],_[3]=F;var B=O(_,this._invKeySchedule,D.INV_SUB_MIX,D.INV_SBOX,this._nRounds),m=a.allocUnsafe(16);return m.writeUInt32BE(B[0],0),m.writeUInt32BE(B[3],4),m.writeUInt32BE(B[2],8),m.writeUInt32BE(B[1],12),m},C.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},Ce.exports.AES=C},9307:(Ce,ee,E)=>{var a=E(2375),S=E(7054).Buffer,p=E(3247),O=E(1993),c=E(5917),D=E(3546),C=E(5725);function B(m,T,A,w){p.call(this);var R=S.alloc(4,0);this._cipher=new a.AES(T);var $=this._cipher.encryptBlock(R);this._ghash=new c($),A=function F(m,T,A){if(12===T.length)return m._finID=S.concat([T,S.from([0,0,0,1])]),S.concat([T,S.from([0,0,0,2])]);var w=new c(A),R=T.length,$=R%16;w.update(T),$&&w.update(S.alloc($=16-$,0)),w.update(S.alloc(8,0));var k=8*R,M=S.alloc(8);M.writeUIntBE(k,0,8),w.update(M),m._finID=w.state;var P=S.from(m._finID);return C(P),P}(this,A,$),this._prev=S.from(A),this._cache=S.allocUnsafe(0),this._secCache=S.allocUnsafe(0),this._decrypt=w,this._alen=0,this._len=0,this._mode=m,this._authTag=null,this._called=!1}O(B,p),B.prototype._update=function(m){if(!this._called&&this._alen){var T=16-this._alen%16;T<16&&(T=S.alloc(T,0),this._ghash.update(T))}this._called=!0;var A=this._mode.encrypt(this,m);return this._ghash.update(this._decrypt?m:A),this._len+=m.length,A},B.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var m=D(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function _(m,T){var A=0;m.length!==T.length&&A++;for(var w=Math.min(m.length,T.length),R=0;R{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:(Ce,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 F(w,R,$){c.call(this),this._cache=new B,this._last=void 0,this._cipher=new D.AES(R),this._prev=S.from($),this._mode=w,this._autopadding=!0}function B(){this.cache=S.allocUnsafe(0)}function T(w,R,$){var k=p[w.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 R&&(R=S.from(R)),R.length!==k.key/8)throw new TypeError("invalid key length "+R.length);return"stream"===k.type?new O(k.module,R,$,!0):"auth"===k.type?new a(k.module,R,$,!0):new F(k.module,R,$)}E(1993)(F,c),F.prototype._update=function(w){this._cache.add(w);for(var R,$,k=[];R=this._cache.get(this._autopadding);)$=this._mode.decrypt(this,R),k.push($);return S.concat(k)},F.prototype._final=function(){var w=this._cache.flush();if(this._autopadding)return function m(w){var R=w[15];if(R<1||R>16)throw new Error("unable to decrypt data");for(var $=-1;++$16)return R=this.cache.slice(0,16),this.cache=this.cache.slice(16),R}else if(this.cache.length>=16)return R=this.cache.slice(0,16),this.cache=this.cache.slice(16),R;return null},B.prototype.flush=function(){if(this.cache.length)return this.cache},ee.createDecipher=function A(w,R){var $=p[w.toLowerCase()];if(!$)throw new TypeError("invalid suite type");var k=C(R,!1,$.key,$.iv);return T(w,k.key,k.iv)},ee.createDecipheriv=T},350:(Ce,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 F(w,R,$){c.call(this),this._cache=new m,this._cipher=new D.AES(R),this._prev=p.from($),this._mode=w,this._autopadding=!0}E(1993)(F,c),F.prototype._update=function(w){this._cache.add(w);for(var R,$,k=[];R=this._cache.get();)$=this._mode.encrypt(this,R),k.push($);return p.concat(k)};var B=p.alloc(16,16);function m(){this.cache=p.allocUnsafe(0)}function T(w,R,$){var k=a[w.toLowerCase()];if(!k)throw new TypeError("invalid suite type");if("string"==typeof R&&(R=p.from(R)),R.length!==k.key/8)throw new TypeError("invalid key length "+R.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,R,$):"auth"===k.type?new S(k.module,R,$):new F(k.module,R,$)}F.prototype._final=function(){var w=this._cache.flush();if(this._autopadding)return w=this._mode.encrypt(this,w),this._cipher.scrub(),w;if(!w.equals(B))throw this._cipher.scrub(),new Error("data not multiple of block length")},F.prototype.setAutoPadding=function(w){return this._autopadding=!!w,this},m.prototype.add=function(w){this.cache=p.concat([this.cache,w])},m.prototype.get=function(){if(this.cache.length>15){var w=this.cache.slice(0,16);return this.cache=this.cache.slice(16),w}return null},m.prototype.flush=function(){for(var w=16-this.cache.length,R=p.allocUnsafe(w),$=-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,B&&(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},Ce.exports=c},5725:Ce=>{Ce.exports=function ee(E){for(var S,a=E.length;a--;){if(255!==(S=E.readUInt8(a))){S++,E.writeUInt8(S,a);break}E.writeUInt8(0,a)}}},4133:(Ce,ee,E)=>{var a=E(3546);ee.encrypt=function(S,p){var 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:(Ce,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:(Ce,ee,E)=>{var a=E(7054).Buffer;function S(O,c,D){for(var m,T,_=-1,B=0;++_<8;)B+=(128&(T=O._cipher.encryptBlock(O._prev)[0]^(m=c&1<<7-_?128:0)))>>_%8,O._prev=p(O._prev,D?m:T);return B}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),F=-1;++F{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),F=D._cache.length;D._cache=S.concat([D._cache,S.allocUnsafe(16*_)]);for(var B=0;B<_;B++){var m=O(D),T=F+16*B;D._cache.writeUInt32BE(m[0],T+0),D._cache.writeUInt32BE(m[1],T+4),D._cache.writeUInt32BE(m[2],T+8),D._cache.writeUInt32BE(m[3],T+12)}var A=D._cache.slice(0,C.length);return D._cache=D._cache.slice(C.length),a(C,A)}},7513:(Ce,ee)=>{ee.encrypt=function(E,a){return E._cipher.encryptBlock(a)},ee.decrypt=function(E,a){return E._cipher.decryptBlock(a)}},503:(Ce,ee,E)=>{var a={ECB:E(7513),CBC:E(4133),CFB:E(7090),CFB8:E(2576),CFB1:E(1039),OFB:E(6854),CTR:E(336),GCM:E(336)},S=E(3219);for(var p in S)S[p].module=a[S[p].mode];Ce.exports=S},6854:(Ce,ee,E)=>{var a=E(3546);function S(p){return p._prev=p._cipher.encryptBlock(p._prev),p._prev}ee.encrypt=function(p,O){for(;p._cache.length{var a=E(2375),S=E(7054).Buffer,p=E(3247);function c(D,C,_,F){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=F,this._mode=D}E(1993)(c,p),c.prototype._update=function(D){return this._mode.encrypt(this,D,this._decrypt)},c.prototype._final=function(){this._cipher.scrub()},Ce.exports=c},8862:(Ce,ee,E)=>{var a=E(9799),S=E(3388),p=E(503),O=E(9571),c=E(8211);function _(m,T,A){if(m=m.toLowerCase(),p[m])return S.createCipheriv(m,T,A);if(O[m])return new a({key:T,iv:A,mode:m});throw new TypeError("invalid suite type")}function F(m,T,A){if(m=m.toLowerCase(),p[m])return S.createDecipheriv(m,T,A);if(O[m])return new a({key:T,iv:A,mode:m,decrypt:!0});throw new TypeError("invalid suite type")}ee.createCipher=ee.Cipher=function D(m,T){var A,w;if(m=m.toLowerCase(),p[m])A=p[m].key,w=p[m].iv;else{if(!O[m])throw new TypeError("invalid suite type");A=8*O[m].key,w=O[m].iv}var R=c(T,!1,A,w);return _(m,R.key,R.iv)},ee.createCipheriv=ee.Cipheriv=_,ee.createDecipher=ee.Decipher=function C(m,T){var A,w;if(m=m.toLowerCase(),p[m])A=p[m].key,w=p[m].iv;else{if(!O[m])throw new TypeError("invalid suite type");A=8*O[m].key,w=O[m].iv}var R=c(T,!1,A,w);return F(m,R.key,R.iv)},ee.createDecipheriv=ee.Decipheriv=F,ee.listCiphers=ee.getCiphers=function B(){return Object.keys(O).concat(S.getCiphers())}},9799:(Ce,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 B,_=C.mode.toLowerCase(),F=c[_];B=C.decrypt?"decrypt":"encrypt";var m=C.key;O.isBuffer(m)||(m=O.from(m)),("des-ede"===_||"des-ede-cbc"===_)&&(m=O.concat([m,m.slice(0,8)]));var T=C.iv;O.isBuffer(T)||(T=O.from(T)),this._des=F.create({key:m,iv:T,type:B})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],Ce.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:(Ce,ee)=>{ee["des-ecb"]={key:8,iv:0},ee["des-cbc"]=ee.des={key:8,iv:8},ee["des-ede3-cbc"]=ee.des3={key:24,iv:8},ee["des-ede3"]={key:24,iv:0},ee["des-ede-cbc"]={key:16,iv:8},ee["des-ede"]={key:16,iv:0}},4105:(Ce,ee,E)=>{var a=E(917),S=E(3342);function 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),F=C.modulus.byteLength(),B=new a(D).mul(_.blinder).umod(C.modulus),m=B.toRed(a.mont(C.prime1)),T=B.toRed(a.mont(C.prime2)),A=C.coefficient,w=C.prime1,R=C.prime2,$=m.redPow(C.exponent1).fromRed(),k=T.redPow(C.exponent2).fromRed(),M=$.isub(k).imul(A).umod(w).imul(R);return k.iadd(M).imul(_.unblinder).umod(C.modulus).toArrayLike(Buffer,"be",F)}c.getr=O,Ce.exports=c},9560:(Ce,ee,E)=>{"use strict";Ce.exports=E(2951)},9143:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7211),p=E(5942),O=E(1993),c=E(3150),D=E(4754),C=E(2951);function _(T){p.Writable.call(this);var A=C[T];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 F(T){p.Writable.call(this);var A=C[T];if(!A)throw new Error("Unknown message digest");this._hash=S(A.hash),this._tag=A.id,this._signType=A.sign}function B(T){return new _(T)}function m(T){return new F(T)}Object.keys(C).forEach(function(T){C[T].id=a.from(C[T].id,"hex"),C[T.toLowerCase()]=C[T]}),O(_,p.Writable),_.prototype._write=function(A,w,R){this._hash.update(A),R()},_.prototype.update=function(A,w){return this._hash.update("string"==typeof A?a.from(A,w):A),this},_.prototype.sign=function(A,w){this.end();var R=this._hash.digest(),$=c(R,A,this._hashType,this._signType,this._tag);return w?$.toString(w):$},O(F,p.Writable),F.prototype._write=function(A,w,R){this._hash.update(A),R()},F.prototype.update=function(A,w){return this._hash.update("string"==typeof A?a.from(A,w):A),this},F.prototype.verify=function(A,w,R){var $="string"==typeof w?a.from(w,R):w;this.end();var k=this._hash.digest();return D($,k,A,this._signType,this._tag)},Ce.exports={Sign:B,Verify:m,createSign:B,createVerify:m}},3150:(Ce,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,P,U,V){if((M=a.from(M.toArray())).length0&&U.ishrn(V),U}function $(M,P,U){var V,W;do{for(V=a.alloc(0);8*V.length{"use strict";var a=E(7054).Buffer,S=E(917),p=E(518).ec,O=E(5667),c=E(4589);function F(B,m){if(B.cmpn(0)<=0)throw new Error("invalid sig");if(B.cmp(m)>=0)throw new Error("invalid sig")}Ce.exports=function D(B,m,T,A,w){var R=O(T);if("ec"===R.type){if("ecdsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");return function C(B,m,T){var A=c[T.data.algorithm.curve.join(".")];if(!A)throw new Error("unknown curve "+T.data.algorithm.curve.join("."));return new p(A).verify(m,B,T.data.subjectPrivateKey.data)}(B,m,R)}if("dsa"===R.type){if("dsa"!==A)throw new Error("wrong public key type");return function _(B,m,T){var A=T.data.p,w=T.data.q,R=T.data.g,$=T.data.pub_key,k=O.signature.decode(B,"der"),M=k.s,P=k.r;F(M,w),F(P,w);var U=S.mont(A),V=M.invm(w);return 0===R.toRed(U).redPow(new S(m).mul(V).mod(w)).fromRed().mul($.toRed(U).redPow(P.mul(V).mod(w)).fromRed()).mod(A).mod(w).cmp(P)}(B,m,R)}if("rsa"!==A&&"ecdsa/rsa"!==A)throw new Error("wrong public key type");m=a.concat([w,m]);for(var $=R.modulus.byteLength(),k=[1],M=0;m.length+k.length+2<$;)k.push(255),M+=1;k.push(0);for(var P=-1;++P{Ce.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(re){return+re!=re&&(re=0),C.alloc(+re)},ee.INSPECT_MAX_BYTES=50;var O=2147483647;function D(re){if(re>O)throw new RangeError('The value "'+re+'" is invalid for option "size"');var ne=new Uint8Array(re);return Object.setPrototypeOf(ne,C.prototype),ne}function C(re,ne,G){if("number"==typeof re){if("string"==typeof ne)throw new TypeError('The "string" argument must be of type string. Received type number');return m(re)}return _(re,ne,G)}function _(re,ne,G){if("string"==typeof re)return function T(re,ne){if(("string"!=typeof ne||""===ne)&&(ne="utf8"),!C.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);var G=0|P(re,ne),ge=D(G),xt=ge.write(re,ne);return xt!==G&&(ge=ge.slice(0,xt)),ge}(re,ne);if(ArrayBuffer.isView(re))return function w(re){if(xe(re,Uint8Array)){var ne=new Uint8Array(re);return R(ne.buffer,ne.byteOffset,ne.byteLength)}return A(re)}(re);if(null==re)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re);if(xe(re,ArrayBuffer)||re&&xe(re.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(xe(re,SharedArrayBuffer)||re&&xe(re.buffer,SharedArrayBuffer)))return R(re,ne,G);if("number"==typeof re)throw new TypeError('The "value" argument must not be of type number. Received type number');var ge=re.valueOf&&re.valueOf();if(null!=ge&&ge!==re)return C.from(ge,ne,G);var xt=function $(re){if(C.isBuffer(re)){var ne=0|k(re.length),G=D(ne);return 0===G.length||re.copy(G,0,0,ne),G}return void 0!==re.length?"number"!=typeof re.length||Te(re.length)?D(0):A(re):"Buffer"===re.type&&Array.isArray(re.data)?A(re.data):void 0}(re);if(xt)return xt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof re[Symbol.toPrimitive])return C.from(re[Symbol.toPrimitive]("string"),ne,G);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re)}function F(re){if("number"!=typeof re)throw new TypeError('"size" argument must be of type number');if(re<0)throw new RangeError('The value "'+re+'" is invalid for option "size"')}function m(re){return F(re),D(re<0?0:0|k(re))}function A(re){for(var ne=re.length<0?0:0|k(re.length),G=D(ne),ge=0;ge=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return 0|re}function P(re,ne){if(C.isBuffer(re))return re.length;if(ArrayBuffer.isView(re)||xe(re,ArrayBuffer))return re.byteLength;if("string"!=typeof re)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof re);var G=re.length,ge=arguments.length>2&&!0===arguments[2];if(!ge&&0===G)return 0;for(var xt=!1;;)switch(ne){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":return De(re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*G;case"hex":return G>>>1;case"base64":return qe(re).length;default:if(xt)return ge?-1:De(re).length;ne=(""+ne).toLowerCase(),xt=!0}}function U(re,ne,G){var ge=!1;if((void 0===ne||ne<0)&&(ne=0),ne>this.length||((void 0===G||G>this.length)&&(G=this.length),G<=0)||(G>>>=0)<=(ne>>>=0))return"";for(re||(re="utf8");;)switch(re){case"hex":return d(this,ne,G);case"utf8":case"utf-8":return l(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(ge)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),ge=!0}}function V(re,ne,G){var ge=re[ne];re[ne]=re[G],re[G]=ge}function W(re,ne,G,ge,xt){if(0===re.length)return-1;if("string"==typeof G?(ge=G,G=0):G>2147483647?G=2147483647:G<-2147483648&&(G=-2147483648),Te(G=+G)&&(G=xt?0:re.length-1),G<0&&(G=re.length+G),G>=re.length){if(xt)return-1;G=re.length-1}else if(G<0){if(!xt)return-1;G=0}if("string"==typeof ne&&(ne=C.from(ne,ge)),C.isBuffer(ne))return 0===ne.length?-1:oe(re,ne,G,ge,xt);if("number"==typeof ne)return ne&=255,"function"==typeof Uint8Array.prototype.indexOf?xt?Uint8Array.prototype.indexOf.call(re,ne,G):Uint8Array.prototype.lastIndexOf.call(re,ne,G):oe(re,[ne],G,ge,xt);throw new TypeError("val must be string, number or Buffer")}function oe(re,ne,G,ge,xt){var ft,Qe=1,rt=re.length,rn=ne.length;if(void 0!==ge&&("ucs2"===(ge=String(ge).toLowerCase())||"ucs-2"===ge||"utf16le"===ge||"utf-16le"===ge)){if(re.length<2||ne.length<2)return-1;Qe=2,rt/=2,rn/=2,G/=2}function mt(Cn,St){return 1===Qe?Cn[St]:Cn.readUInt16BE(St*Qe)}if(xt){var un=-1;for(ft=G;ftrt&&(G=rt-rn),ft=G;ft>=0;ft--){for(var At=!0,It=0;Itxt&&(ge=xt):ge=xt;var Qe=ne.length;ge>Qe/2&&(ge=Qe/2);for(var rt=0;rt>8,Qe.push(G%256),Qe.push(ge);return Qe}(ne,re.length-G),re,G,ge)}function o(re,ne,G){return a.fromByteArray(0===ne&&G===re.length?re:re.slice(ne,G))}function l(re,ne,G){G=Math.min(re.length,G);for(var ge=[],xt=ne;xt239?4:Qe>223?3:Qe>191?2:1;if(xt+rn<=G)switch(rn){case 1:Qe<128&&(rt=Qe);break;case 2:128==(192&(mt=re[xt+1]))&&(At=(31&Qe)<<6|63&mt)>127&&(rt=At);break;case 3:ft=re[xt+2],128==(192&(mt=re[xt+1]))&&128==(192&ft)&&(At=(15&Qe)<<12|(63&mt)<<6|63&ft)>2047&&(At<55296||At>57343)&&(rt=At);break;case 4:ft=re[xt+2],un=re[xt+3],128==(192&(mt=re[xt+1]))&&128==(192&ft)&&128==(192&un)&&(At=(15&Qe)<<18|(63&mt)<<12|(63&ft)<<6|63&un)>65535&&At<1114112&&(rt=At)}null===rt?(rt=65533,rn=1):rt>65535&&(ge.push((rt-=65536)>>>10&1023|55296),rt=56320|1023&rt),ge.push(rt),xt+=rn}return function h(re){var ne=re.length;if(ne<=s)return String.fromCharCode.apply(String,re);for(var G="",ge=0;gext.length?C.from(rt).copy(xt,Qe):Uint8Array.prototype.set.call(xt,rt,Qe);else{if(!C.isBuffer(rt))throw new TypeError('"list" argument must be an Array of Buffers');rt.copy(xt,Qe)}Qe+=rt.length}return xt},C.byteLength=P,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,ge,xt,Qe){if(xe(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===ge&&(ge=ne?ne.length:0),void 0===xt&&(xt=0),void 0===Qe&&(Qe=this.length),G<0||ge>ne.length||xt<0||Qe>this.length)throw new RangeError("out of range index");if(xt>=Qe&&G>=ge)return 0;if(xt>=Qe)return-1;if(G>=ge)return 1;if(this===ne)return 0;for(var rt=(Qe>>>=0)-(xt>>>=0),rn=(ge>>>=0)-(G>>>=0),mt=Math.min(rt,rn),ft=this.slice(xt,Qe),un=ne.slice(G,ge),At=0;At>>=0,isFinite(ge)?(ge>>>=0,void 0===xt&&(xt="utf8")):(xt=ge,ge=void 0)}var Qe=this.length-G;if((void 0===ge||ge>Qe)&&(ge=Qe),ne.length>0&&(ge<0||G<0)||G>this.length)throw new RangeError("Attempt to write outside buffer bounds");xt||(xt="utf8");for(var rt=!1;;)switch(xt){case"hex":return me(this,ne,G,ge);case"utf8":case"utf-8":return te(this,ne,G,ge);case"ascii":case"latin1":case"binary":return se(this,ne,G,ge);case"base64":return g(this,ne,G,ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ne,G,ge);default:if(rt)throw new TypeError("Unknown encoding: "+xt);xt=(""+xt).toLowerCase(),rt=!0}},C.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var s=4096;function v(re,ne,G){var ge="";G=Math.min(re.length,G);for(var xt=ne;xtge)&&(G=ge);for(var xt="",Qe=ne;QeG)throw new RangeError("Trying to access beyond buffer length")}function L(re,ne,G,ge,xt,Qe){if(!C.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(ne>xt||nere.length)throw new RangeError("Index out of range")}function I(re,ne,G,ge,xt,Qe){if(G+ge>re.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("Index out of range")}function j(re,ne,G,ge,xt){return ne=+ne,G>>>=0,xt||I(re,0,G,4),S.write(re,ne,G,ge,23,4),G+4}function J(re,ne,G,ge,xt){return ne=+ne,G>>>=0,xt||I(re,0,G,8),S.write(re,ne,G,ge,52,8),G+8}C.prototype.slice=function(ne,G){var ge=this.length;(ne=~~ne)<0?(ne+=ge)<0&&(ne=0):ne>ge&&(ne=ge),(G=void 0===G?ge:~~G)<0?(G+=ge)<0&&(G=0):G>ge&&(G=ge),G>>=0,G>>>=0,ge||f(ne,G,this.length);for(var xt=this[ne],Qe=1,rt=0;++rt>>=0,G>>>=0,ge||f(ne,G,this.length);for(var xt=this[ne+--G],Qe=1;G>0&&(Qe*=256);)xt+=this[ne+--G]*Qe;return xt},C.prototype.readUint8=C.prototype.readUInt8=function(ne,G){return ne>>>=0,G||f(ne,1,this.length),this[ne]},C.prototype.readUint16LE=C.prototype.readUInt16LE=function(ne,G){return ne>>>=0,G||f(ne,2,this.length),this[ne]|this[ne+1]<<8},C.prototype.readUint16BE=C.prototype.readUInt16BE=function(ne,G){return ne>>>=0,G||f(ne,2,this.length),this[ne]<<8|this[ne+1]},C.prototype.readUint32LE=C.prototype.readUInt32LE=function(ne,G){return ne>>>=0,G||f(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||f(ne,4,this.length),16777216*this[ne]+(this[ne+1]<<16|this[ne+2]<<8|this[ne+3])},C.prototype.readIntLE=function(ne,G,ge){ne>>>=0,G>>>=0,ge||f(ne,G,this.length);for(var xt=this[ne],Qe=1,rt=0;++rt=(Qe*=128)&&(xt-=Math.pow(2,8*G)),xt},C.prototype.readIntBE=function(ne,G,ge){ne>>>=0,G>>>=0,ge||f(ne,G,this.length);for(var xt=G,Qe=1,rt=this[ne+--xt];xt>0&&(Qe*=256);)rt+=this[ne+--xt]*Qe;return rt>=(Qe*=128)&&(rt-=Math.pow(2,8*G)),rt},C.prototype.readInt8=function(ne,G){return ne>>>=0,G||f(ne,1,this.length),128&this[ne]?-1*(255-this[ne]+1):this[ne]},C.prototype.readInt16LE=function(ne,G){ne>>>=0,G||f(ne,2,this.length);var ge=this[ne]|this[ne+1]<<8;return 32768&ge?4294901760|ge:ge},C.prototype.readInt16BE=function(ne,G){ne>>>=0,G||f(ne,2,this.length);var ge=this[ne+1]|this[ne]<<8;return 32768&ge?4294901760|ge:ge},C.prototype.readInt32LE=function(ne,G){return ne>>>=0,G||f(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||f(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||f(ne,4,this.length),S.read(this,ne,!0,23,4)},C.prototype.readFloatBE=function(ne,G){return ne>>>=0,G||f(ne,4,this.length),S.read(this,ne,!1,23,4)},C.prototype.readDoubleLE=function(ne,G){return ne>>>=0,G||f(ne,8,this.length),S.read(this,ne,!0,52,8)},C.prototype.readDoubleBE=function(ne,G){return ne>>>=0,G||f(ne,8,this.length),S.read(this,ne,!1,52,8)},C.prototype.writeUintLE=C.prototype.writeUIntLE=function(ne,G,ge,xt){ne=+ne,G>>>=0,ge>>>=0,xt||L(this,ne,G,ge,Math.pow(2,8*ge)-1,0);var rt=1,rn=0;for(this[G]=255≠++rn>>=0,ge>>>=0,xt||L(this,ne,G,ge,Math.pow(2,8*ge)-1,0);var rt=ge-1,rn=1;for(this[G+rt]=255≠--rt>=0&&(rn*=256);)this[G+rt]=ne/rn&255;return G+ge},C.prototype.writeUint8=C.prototype.writeUInt8=function(ne,G,ge){return ne=+ne,G>>>=0,ge||L(this,ne,G,1,255,0),this[G]=255&ne,G+1},C.prototype.writeUint16LE=C.prototype.writeUInt16LE=function(ne,G,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||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,ge,xt){if(ne=+ne,G>>>=0,!xt){var Qe=Math.pow(2,8*ge-1);L(this,ne,G,ge,Qe-1,-Qe)}var rt=0,rn=1,mt=0;for(this[G]=255≠++rt>>=0,!xt){var Qe=Math.pow(2,8*ge-1);L(this,ne,G,ge,Qe-1,-Qe)}var rt=ge-1,rn=1,mt=0;for(this[G+rt]=255≠--rt>=0&&(rn*=256);)ne<0&&0===mt&&0!==this[G+rt+1]&&(mt=1),this[G+rt]=(ne/rn|0)-mt&255;return G+ge},C.prototype.writeInt8=function(ne,G,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||L(this,ne,G,2,32767,-32768),this[G]=255&ne,this[G+1]=ne>>>8,G+2},C.prototype.writeInt16BE=function(ne,G,ge){return ne=+ne,G>>>=0,ge||L(this,ne,G,2,32767,-32768),this[G]=ne>>>8,this[G+1]=255&ne,G+2},C.prototype.writeInt32LE=function(ne,G,ge){return ne=+ne,G>>>=0,ge||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,ge){return ne=+ne,G>>>=0,ge||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,ge){return j(this,ne,G,!0,ge)},C.prototype.writeFloatBE=function(ne,G,ge){return j(this,ne,G,!1,ge)},C.prototype.writeDoubleLE=function(ne,G,ge){return J(this,ne,G,!0,ge)},C.prototype.writeDoubleBE=function(ne,G,ge){return J(this,ne,G,!1,ge)},C.prototype.copy=function(ne,G,ge,xt){if(!C.isBuffer(ne))throw new TypeError("argument should be a Buffer");if(ge||(ge=0),!xt&&0!==xt&&(xt=this.length),G>=ne.length&&(G=ne.length),G||(G=0),xt>0&&xt=this.length)throw new RangeError("Index out of range");if(xt<0)throw new RangeError("sourceEnd out of bounds");xt>this.length&&(xt=this.length),ne.length-G>>=0,ge=void 0===ge?this.length:ge>>>0,ne||(ne=0),"number"==typeof ne)for(rt=G;rt55295&&G<57344){if(!xt){if(G>56319){(ne-=3)>-1&&Qe.push(239,191,189);continue}if(rt+1===ge){(ne-=3)>-1&&Qe.push(239,191,189);continue}xt=G;continue}if(G<56320){(ne-=3)>-1&&Qe.push(239,191,189),xt=G;continue}G=65536+(xt-55296<<10|G-56320)}else xt&&(ne-=3)>-1&&Qe.push(239,191,189);if(xt=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 qe(re){return a.toByteArray(function pe(re){if((re=(re=re.split("=")[0]).trim().replace(ie,"")).length<2)return"";for(;re.length%4!=0;)re+="=";return re}(re))}function Oe(re,ne,G,ge){for(var xt=0;xt=ne.length||xt>=re.length);++xt)ne[xt+G]=re[xt];return xt}function xe(re,ne){return re instanceof ne||null!=re&&null!=re.constructor&&null!=re.constructor.name&&re.constructor.name===ne.name}function Te(re){return re!=re}var Be=function(){for(var re="0123456789abcdef",ne=new Array(256),G=0;G<16;++G)for(var ge=16*G,xt=0;xt<16;++xt)ne[ge+xt]=re[G]+re[xt];return ne}()},5293:(Ce,ee,E)=>{"use strict";E.d(ee,{R:()=>S});const S=(0,E(5083).F3)("VoiceRecorder",{web:()=>E.e(5120).then(E.bind(E,5120)).then(p=>new p.VoiceRecorderWeb)})},3247:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(7045).Transform,p=E(8454).I;function c(D){S.call(this),this.hashMode="string"==typeof D,this.hashMode?this[D]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}E(1993)(c,S),c.prototype.update=function(D,C,_){"string"==typeof D&&(D=a.from(D,C));var F=this._update(D);return this.hashMode?this:(_&&(F=this._toString(F,_)),F)},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 F;try{this.hashMode?this._update(D):this.push(this._update(D))}catch(B){F=B}finally{_(F)}},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 F=this._decoder.write(D);return _&&(F+=this._decoder.end()),F},Ce.exports=c},7637:(Ce,ee,E)=>{function R($){return Object.prototype.toString.call($)}ee.isArray=function a($){return Array.isArray?Array.isArray($):"[object Array]"===R($)},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 F($){return"[object RegExp]"===R($)},ee.isObject=function B($){return"object"==typeof $&&null!==$},ee.isDate=function m($){return"[object Date]"===R($)},ee.isError=function T($){return"[object Error]"===R($)||$ instanceof Error},ee.isFunction=function A($){return"function"==typeof $},ee.isPrimitive=function w($){return null===$||"boolean"==typeof $||"number"==typeof $||"string"==typeof $||"symbol"==typeof $||typeof $>"u"},ee.isBuffer=E(3838).Buffer.isBuffer},7303:(Ce,ee,E)=>{var a=E(518),S=E(9606);Ce.exports=function(C){return new 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 F=new Buffer(D);if(_&&F.length<_){var B=new Buffer(_-F.length);B.fill(0),F=Buffer.concat([B,F])}return C?F.toString(C):F}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(Ce,ee,E){!function(a,S){"use strict";function p(g,n){if(!g)throw new Error(n||"Assertion failed")}function O(g,n){g.super_=n;var o=function(){};o.prototype=n.prototype,g.prototype=new o,g.prototype.constructor=g}function c(g,n,o){if(c.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,null!==g&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(g||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(g,n){var o=g.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,pe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,qe=0|s[3],Oe=8191&qe,xe=qe>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},7211:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(4725),p=E(6636),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()},Ce.exports=function(_){return"md5"===(_=_.toLowerCase())?new S:"rmd160"===_||"ripemd160"===_?new p:new D(O(_))}},3407:(Ce,ee,E)=>{var a=E(4725);Ce.exports=function(S){return(new a).update(S).digest()}},6432:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(509),p=E(3247),O=E(7054).Buffer,c=E(3407),D=E(6636),C=E(5443),_=O.alloc(128);function F(B,m){p.call(this,"digest"),"string"==typeof m&&(m=O.from(m));var T="sha512"===B||"sha384"===B?128:64;this._alg=B,this._key=m,m.length>T?m=("rmd160"===B?new D:C(B)).update(m).digest():m.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 F=E(9682);ee.randomFill=F.randomFill,ee.randomFillSync=F.randomFillSync,ee.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},ee.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},7656:function(Ce,ee,E){var a;Ce.exports=(a=a||function(S,p){var 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(P){var U;return M.prototype=P,U=new M,M.prototype=null,U}}(),C={},_=C.lib={},F=_.Base=function(){return{extend:function(M){var P=D(this);return M&&P.mixIn(M),(!P.hasOwnProperty("init")||this.init===P.init)&&(P.init=function(){P.$super.init.apply(this,arguments)}),P.init.prototype=P,P.$super=this,P},create:function(){var M=this.extend();return M.init.apply(M,arguments),M},init:function(){},mixIn:function(M){for(var P in M)M.hasOwnProperty(P)&&(this[P]=M[P]);M.hasOwnProperty("toString")&&(this.toString=M.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),B=_.WordArray=F.extend({init:function(M,P){M=this.words=M||[],this.sigBytes=null!=P?P:4*M.length},toString:function(M){return(M||T).stringify(this)},concat:function(M){var P=this.words,U=M.words,V=this.sigBytes,W=M.sigBytes;if(this.clamp(),V%4)for(var oe=0;oe>>2]|=(U[oe>>>2]>>>24-oe%4*8&255)<<24-(V+oe)%4*8;else for(var te=0;te>>2]=U[te>>>2];return this.sigBytes+=W,this},clamp:function(){var M=this.words,P=this.sigBytes;M[P>>>2]&=4294967295<<32-P%4*8,M.length=S.ceil(P/4)},clone:function(){var M=F.clone.call(this);return M.words=this.words.slice(0),M},random:function(M){for(var P=[],U=0;U>>2]>>>24-W%4*8&255;V.push((oe>>>4).toString(16)),V.push((15&oe).toString(16))}return V.join("")},parse:function(M){for(var P=M.length,U=[],V=0;V>>3]|=parseInt(M.substr(V,2),16)<<24-V%8*4;return new B.init(U,P/2)}},A=m.Latin1={stringify:function(M){for(var P=M.words,U=M.sigBytes,V=[],W=0;W>>2]>>>24-W%4*8&255));return V.join("")},parse:function(M){for(var P=M.length,U=[],V=0;V>>2]|=(255&M.charCodeAt(V))<<24-V%4*8;return new B.init(U,P)}},w=m.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)))}},R=_.BufferedBlockAlgorithm=F.extend({reset:function(){this._data=new B.init,this._nDataBytes=0},_append:function(M){"string"==typeof M&&(M=w.parse(M)),this._data.concat(M),this._nDataBytes+=M.sigBytes},_process:function(M){var P,U=this._data,V=U.words,W=U.sigBytes,oe=this.blockSize,te=W/(4*oe),se=(te=M?S.ceil(te):S.max((0|te)-this._minBufferSize,0))*oe,g=S.min(4*se,W);if(se){for(var n=0;n>>24)|4278255360&(M<<24|M>>>8)}var P=this._hash.words,U=w[R+0],V=w[R+1],W=w[R+2],oe=w[R+3],me=w[R+4],te=w[R+5],se=w[R+6],g=w[R+7],n=w[R+8],o=w[R+9],l=w[R+10],s=w[R+11],h=w[R+12],v=w[R+13],y=w[R+14],d=w[R+15],r=P[0],f=P[1],L=P[2],I=P[3];r=B(r,f,L,I,U,7,_[0]),I=B(I,r,f,L,V,12,_[1]),L=B(L,I,r,f,W,17,_[2]),f=B(f,L,I,r,oe,22,_[3]),r=B(r,f,L,I,me,7,_[4]),I=B(I,r,f,L,te,12,_[5]),L=B(L,I,r,f,se,17,_[6]),f=B(f,L,I,r,g,22,_[7]),r=B(r,f,L,I,n,7,_[8]),I=B(I,r,f,L,o,12,_[9]),L=B(L,I,r,f,l,17,_[10]),f=B(f,L,I,r,s,22,_[11]),r=B(r,f,L,I,h,7,_[12]),I=B(I,r,f,L,v,12,_[13]),L=B(L,I,r,f,y,17,_[14]),r=m(r,f=B(f,L,I,r,d,22,_[15]),L,I,V,5,_[16]),I=m(I,r,f,L,se,9,_[17]),L=m(L,I,r,f,s,14,_[18]),f=m(f,L,I,r,U,20,_[19]),r=m(r,f,L,I,te,5,_[20]),I=m(I,r,f,L,l,9,_[21]),L=m(L,I,r,f,d,14,_[22]),f=m(f,L,I,r,me,20,_[23]),r=m(r,f,L,I,o,5,_[24]),I=m(I,r,f,L,y,9,_[25]),L=m(L,I,r,f,oe,14,_[26]),f=m(f,L,I,r,n,20,_[27]),r=m(r,f,L,I,v,5,_[28]),I=m(I,r,f,L,W,9,_[29]),L=m(L,I,r,f,g,14,_[30]),r=T(r,f=m(f,L,I,r,h,20,_[31]),L,I,te,4,_[32]),I=T(I,r,f,L,n,11,_[33]),L=T(L,I,r,f,s,16,_[34]),f=T(f,L,I,r,y,23,_[35]),r=T(r,f,L,I,V,4,_[36]),I=T(I,r,f,L,me,11,_[37]),L=T(L,I,r,f,g,16,_[38]),f=T(f,L,I,r,l,23,_[39]),r=T(r,f,L,I,v,4,_[40]),I=T(I,r,f,L,U,11,_[41]),L=T(L,I,r,f,oe,16,_[42]),f=T(f,L,I,r,se,23,_[43]),r=T(r,f,L,I,o,4,_[44]),I=T(I,r,f,L,h,11,_[45]),L=T(L,I,r,f,d,16,_[46]),r=A(r,f=T(f,L,I,r,W,23,_[47]),L,I,U,6,_[48]),I=A(I,r,f,L,g,10,_[49]),L=A(L,I,r,f,y,15,_[50]),f=A(f,L,I,r,te,21,_[51]),r=A(r,f,L,I,h,6,_[52]),I=A(I,r,f,L,oe,10,_[53]),L=A(L,I,r,f,l,15,_[54]),f=A(f,L,I,r,V,21,_[55]),r=A(r,f,L,I,n,6,_[56]),I=A(I,r,f,L,d,10,_[57]),L=A(L,I,r,f,se,15,_[58]),f=A(f,L,I,r,v,21,_[59]),r=A(r,f,L,I,me,6,_[60]),I=A(I,r,f,L,s,10,_[61]),L=A(L,I,r,f,W,15,_[62]),f=A(f,L,I,r,o,21,_[63]),P[0]=P[0]+r|0,P[1]=P[1]+f|0,P[2]=P[2]+L|0,P[3]=P[3]+I|0},_doFinalize:function(){var w=this._data,R=w.words,$=8*this._nDataBytes,k=8*w.sigBytes;R[k>>>5]|=128<<24-k%32;var M=S.floor($/4294967296),P=$;R[15+(k+64>>>9<<4)]=16711935&(M<<8|M>>>24)|4278255360&(M<<24|M>>>8),R[14+(k+64>>>9<<4)]=16711935&(P<<8|P>>>24)|4278255360&(P<<24|P>>>8),w.sigBytes=4*(R.length+1),this._process();for(var U=this._hash,V=U.words,W=0;W<4;W++){var oe=V[W];V[W]=16711935&(oe<<8|oe>>>24)|4278255360&(oe<<24|oe>>>8)}return U},clone:function(){var w=D.clone.call(this);return w._hash=this._hash.clone(),w}});function B(w,R,$,k,M,P,U){var V=w+(R&$|~R&k)+M+U;return(V<>>32-P)+R}function m(w,R,$,k,M,P,U){var V=w+(R&k|$&~k)+M+U;return(V<>>32-P)+R}function T(w,R,$,k,M,P,U){var V=w+(R^$^k)+M+U;return(V<>>32-P)+R}function A(w,R,$,k,M,P,U){var V=w+($^(R|~k))+M+U;return(V<>>32-P)+R}p.MD5=D._createHelper(F),p.HmacMD5=D._createHmacHelper(F)}(Math),a.MD5)},9986:function(Ce,ee,E){var S,p,O,c,C,_,a;Ce.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(F,B){for(var m=this._hash.words,T=m[0],A=m[1],w=m[2],R=m[3],$=m[4],k=0;k<80;k++){if(k<16)C[k]=0|F[B+k];else{var M=C[k-3]^C[k-8]^C[k-14]^C[k-16];C[k]=M<<1|M>>>31}var P=(T<<5|T>>>27)+$+C[k];P+=k<20?1518500249+(A&w|~A&R):k<40?1859775393+(A^w^R):k<60?(A&w|A&R|w&R)-1894007588:(A^w^R)-899497514,$=R,R=w,w=A<<30|A>>>2,A=T,T=P}m[0]=m[0]+T|0,m[1]=m[1]+A|0,m[2]=m[2]+w|0,m[3]=m[3]+R|0,m[4]=m[4]+$|0},_doFinalize:function(){var F=this._data,B=F.words,m=8*this._nDataBytes,T=8*F.sigBytes;return B[T>>>5]|=128<<24-T%32,B[14+(T+64>>>9<<4)]=Math.floor(m/4294967296),B[15+(T+64>>>9<<4)]=m,F.sigBytes=4*B.length,this._process(),this._hash},clone:function(){var F=c.clone.call(this);return F._hash=this._hash.clone(),F}}),S.SHA1=c._createHelper(_),S.HmacSHA1=c._createHmacHelper(_),a.SHA1)},7374:function(Ce){Ce.exports=function(){"use strict";var E=6e4,a=36e5,S="millisecond",p="second",O="minute",c="hour",D="day",C="week",_="month",F="quarter",B="year",m="date",T="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|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,R={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(g){var n=["th","st","nd","rd"],o=g%100;return"["+g+(n[(o-20)%10]||n[o]||n[0])+"]"}},$=function(g,n,o){var l=String(g);return!l||l.length>=n?g:""+Array(n+1-l.length).join(o)+g},k={s:$,z:function(g){var n=-g.utcOffset(),o=Math.abs(n),l=Math.floor(o/60),s=o%60;return(n<=0?"+":"-")+$(l,2,"0")+":"+$(s,2,"0")},m:function g(n,o){if(n.date()1)return g(v[0])}else{var y=n.name;P[y]=n,s=y}return!l&&s&&(M=s),s||!l&&M},oe=function(g,n){if(V(g))return g.clone();var o="object"==typeof n?n:{};return o.date=g,o.args=arguments,new te(o)},me=k;me.l=W,me.i=V,me.w=function(g,n){return oe(g,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var te=function(){function g(o){this.$L=W(o.locale,null,!0),this.parse(o),this.$x=this.$x||o.x||{},this[U]=!0}var n=g.prototype;return n.parse=function(o){this.$d=function(l){var s=l.date,h=l.utc;if(null===s)return new Date(NaN);if(me.u(s))return new Date;if(s instanceof Date)return new Date(s);if("string"==typeof s&&!/Z$/i.test(s)){var v=s.match(A);if(v){var y=v[2]-1||0,d=(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,d)):new Date(v[1],y,v[3]||1,v[4]||0,v[5]||0,v[6]||0,d)}}return new Date(s)}(o),this.init()},n.init=function(){var o=this.$d;this.$y=o.getFullYear(),this.$M=o.getMonth(),this.$D=o.getDate(),this.$W=o.getDay(),this.$H=o.getHours(),this.$m=o.getMinutes(),this.$s=o.getSeconds(),this.$ms=o.getMilliseconds()},n.$utils=function(){return me},n.isValid=function(){return this.$d.toString()!==T},n.isSame=function(o,l){var s=oe(o);return this.startOf(l)<=s&&s<=this.endOf(l)},n.isAfter=function(o,l){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:(Ce,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}Ce.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 F=new c;this._desState=F,this.deriveKeys(F,_.key)}S(D,O),Ce.exports=D,D.create=function(F){return new D(F)};var C=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];D.prototype.deriveKeys=function(F,B){F.keys=new Array(32),a.equal(B.length,this.blockSize,"Invalid key length");var m=p.readUInt32BE(B,0),T=p.readUInt32BE(B,4);p.pc1(m,T,F.tmp,0),m=F.tmp[0],T=F.tmp[1];for(var A=0;A>>1];m=p.r28shl(m,w),T=p.r28shl(T,w),p.pc2(m,T,F.keys,A)}},D.prototype._update=function(F,B,m,T){var A=this._desState,w=p.readUInt32BE(F,B),R=p.readUInt32BE(F,B+4);p.ip(w,R,A.tmp,0),w=A.tmp[0],R=A.tmp[1],"encrypt"===this.type?this._encrypt(A,w,R,A.tmp,0):this._decrypt(A,w,R,A.tmp,0),R=A.tmp[1],p.writeUInt32BE(m,w=A.tmp[0],T),p.writeUInt32BE(m,R,T+4)},D.prototype._pad=function(F,B){if(!1===this.padding)return!1;for(var m=F.length-B,T=B;T>>0,w=V}p.rip(R,w,T,A)},D.prototype._decrypt=function(F,B,m,T,A){for(var w=m,R=B,$=F.keys.length-2;$>=0;$-=2){var k=F.keys[$],M=F.keys[$+1];p.expand(w,F.tmp,0);var P=p.substitute(k^=F.tmp[0],M^=F.tmp[1]),V=w;w=(R^p.permute(P))>>>0,R=V}p.rip(w,R,T,A)}},2122:(Ce,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 F=_.slice(0,8),B=_.slice(8,16),m=_.slice(16,24);this.ciphers="encrypt"===C?[O.create({type:"encrypt",key:F}),O.create({type:"decrypt",key:B}),O.create({type:"encrypt",key:m})]:[O.create({type:"decrypt",key:m}),O.create({type:"encrypt",key:B}),O.create({type:"decrypt",key:F})]}function D(C){p.call(this,C);var _=new c(this.type,this.options.key);this._edeState=_}S(D,p),Ce.exports=D,D.create=function(_){return new D(_)},D.prototype._update=function(_,F,B,m){var T=this._edeState;T.ciphers[0]._update(_,F,B,m),T.ciphers[1]._update(B,m,B,m),T.ciphers[2]._update(B,m,B,m)},D.prototype._pad=O.prototype._pad,D.prototype._unpad=O.prototype._unpad},5671:(Ce,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,F=0,B=6;B>=0;B-=2){for(var m=0;m<=24;m+=8)_<<=1,_|=c>>>m+B&1;for(m=0;m<=24;m+=8)_<<=1,_|=O>>>m+B&1}for(B=6;B>=0;B-=2){for(m=1;m<=25;m+=8)F<<=1,F|=c>>>m+B&1;for(m=1;m<=25;m+=8)F<<=1,F|=O>>>m+B&1}D[C+0]=_>>>0,D[C+1]=F>>>0},ee.rip=function(O,c,D,C){for(var _=0,F=0,B=0;B<4;B++)for(var m=24;m>=0;m-=8)_<<=1,_|=c>>>m+B&1,_<<=1,_|=O>>>m+B&1;for(B=4;B<8;B++)for(m=24;m>=0;m-=8)F<<=1,F|=c>>>m+B&1,F<<=1,F|=O>>>m+B&1;D[C+0]=_>>>0,D[C+1]=F>>>0},ee.pc1=function(O,c,D,C){for(var _=0,F=0,B=7;B>=5;B--){for(var m=0;m<=24;m+=8)_<<=1,_|=c>>m+B&1;for(m=0;m<=24;m+=8)_<<=1,_|=O>>m+B&1}for(m=0;m<=24;m+=8)_<<=1,_|=c>>m+B&1;for(B=1;B<=3;B++){for(m=0;m<=24;m+=8)F<<=1,F|=c>>m+B&1;for(m=0;m<=24;m+=8)F<<=1,F|=O>>m+B&1}for(m=0;m<=24;m+=8)F<<=1,F|=O>>m+B&1;D[C+0]=_>>>0,D[C+1]=F>>>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,F=0,B=E.length>>>1,m=0;m>>E[m]&1;for(m=B;m>>E[m]&1;D[C+0]=_>>>0,D[C+1]=F>>>0},ee.expand=function(O,c,D){var C=0,_=0;C=(1&O)<<5|O>>>27;for(var F=23;F>=15;F-=4)C<<=6,C|=O>>>F&63;for(F=11;F>=3;F-=4)_|=O>>>F&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"),F=new Buffer(S[C].gen,"hex");return new p(_,F)},ee.createDiffieHellman=ee.DiffieHellman=function D(C,_,F,B){return Buffer.isBuffer(_)||void 0===c[_]?D(C,"binary",_,F):(_=_||"binary",B=B||"binary",F=F||new Buffer([2]),Buffer.isBuffer(F)||(F=new Buffer(F,B)),"number"==typeof C?new p(a(C,F),F,!0):(Buffer.isBuffer(C)||(C=new Buffer(C,_)),new p(C,F,!0)))}},4593:(Ce,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),F=E(2727),B=E(3342);function m(k,M){return M=M||"utf8",Buffer.isBuffer(k)||(k=new Buffer(k,M)),this._pub=new a(k),this}function T(k,M){return M=M||"utf8",Buffer.isBuffer(k)||(k=new Buffer(k,M)),this._priv=new a(k),this}Ce.exports=R;var A={};function R(k,M,P){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,P?(this.setPublicKey=m,this.setPrivateKey=T):this._primeCode=8}function $(k,M){var P=new Buffer(k.toArray());return M?P.toString(M):P}Object.defineProperty(R.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function w(k,M){var P=M.toString("hex"),U=[P,k.toString(16)].join("_");if(U in A)return A[U];var W,V=0;if(k.isEven()||!F.simpleSieve||!F.fermatTest(k)||!p.test(k))return V+=1,A[U]=V+="02"===P||"05"===P?8:4,V;switch(p.test(k.shrn(1))||(V+=2),P){case"02":k.mod(O).cmp(c)&&(V+=8);break;case"05":(W=k.mod(D)).cmp(C)&&W.cmp(_)&&(V+=8);break;default:V+=4}return A[U]=V,V}(this.__prime,this.__gen)),this._primeCode}}),R.prototype.generateKeys=function(){return this._priv||(this._priv=new a(B(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},R.prototype.computeSecret=function(k){var M=(k=(k=new a(k)).toRed(this._prime)).redPow(this._priv).fromRed(),P=new Buffer(M.toArray()),U=this.getPrime();if(P.length{var a=E(3342);Ce.exports=V,V.simpleSieve=P,V.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),m=(new S(16),new S(8),new S(10)),T=new S(3),w=(new S(7),new S(11)),R=new S(4),k=(new S(12),null);function P(W){for(var oe=function M(){if(null!==k)return k;var oe=[];oe[0]=2;for(var me=1,te=3;te<1048576;te+=2){for(var se=Math.ceil(Math.sqrt(te)),g=0;gW;)me.ishrn(1);if(me.isEven()&&me.iadd(D),me.testn(1)||me.iadd(C),oe.cmp(C)){if(!oe.cmp(_))for(;me.mod(m).cmp(T);)me.iadd(R)}else for(;me.mod(p).cmp(w);)me.iadd(R);if(P(te=me.shrn(1))&&P(me)&&U(te)&&U(me)&&c.test(te)&&c.test(me))return me}}},8280:function(Ce,ee,E){!function(a,S){"use strict";function p(g,n){if(!g)throw new Error(n||"Assertion failed")}function O(g,n){g.super_=n;var o=function(){};o.prototype=n.prototype,g.prototype=new o,g.prototype.constructor=g}function c(g,n,o){if(c.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,null!==g&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(g||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(g,n){var o=g.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,pe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,qe=0|s[3],Oe=8191&qe,xe=qe>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},518:(Ce,ee,E)=>{"use strict";var a=ee;a.version=E(1636).rE,a.utils=E(3136),a.rand=E(5294),a.curve=E(8729),a.curves=E(3401),a.ec=E(9042),a.eddsa=E(3045)},8828:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.getNAF,O=S.getJSF,c=S.assert;function D(_,F){this.type=_,this.p=new a(F.p,16),this.red=F.prime?a.red(F.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=F.n&&new a(F.n,16),this.g=F.g&&this.pointFromJSON(F.g,F.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 B=this.n&&this.p.div(this.n);!B||B.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function C(_,F){this.curve=_,this.type=F,this.precomputed=null}Ce.exports=D,D.prototype.point=function(){throw new Error("Not implemented")},D.prototype.validate=function(){throw new Error("Not implemented")},D.prototype._fixedNafMul=function(F,B){c(F.precomputed);var m=F._getDoubles(),T=p(B,1,this._bitLength),A=(1<=R;k--)$=($<<1)+T[k];w.push($)}for(var M=this.jpoint(null,null,null),P=this.jpoint(null,null,null),U=A;U>0;U--){for(R=0;R=0;$--){for(var k=0;$>=0&&0===w[$];$--)k++;if($>=0&&k++,R=R.dblp(k),$<0)break;var M=w[$];c(0!==M),R="affine"===F.type?R.mixedAdd(M>0?A[M-1>>1]:A[-M-1>>1].neg()):R.add(M>0?A[M-1>>1]:A[-M-1>>1].neg())}return"affine"===F.type?R.toP():R},D.prototype._wnafMulAdd=function(F,B,m,T,A){var M,P,U,w=this._wnafT1,R=this._wnafT2,$=this._wnafT3,k=0;for(M=0;M=1;M-=2){var W=M-1,oe=M;if(1===w[W]&&1===w[oe]){var me=[B[W],null,null,B[oe]];0===B[W].y.cmp(B[oe].y)?(me[1]=B[W].add(B[oe]),me[2]=B[W].toJ().mixedAdd(B[oe].neg())):0===B[W].y.cmp(B[oe].y.redNeg())?(me[1]=B[W].toJ().mixedAdd(B[oe]),me[2]=B[W].add(B[oe].neg())):(me[1]=B[W].toJ().mixedAdd(B[oe]),me[2]=B[W].toJ().mixedAdd(B[oe].neg()));var te=[-3,-1,-5,-7,0,7,5,1,3],se=O(m[W],m[oe]);for(k=Math.max(se[0].length,k),$[W]=new Array(k),$[oe]=new Array(k),P=0;P=0;M--){for(var s=0;M>=0;){var h=!0;for(P=0;P=0&&s++,o=o.dblp(s),M<0)break;for(P=0;P0?U=R[P][v-1>>1]:v<0&&(U=R[P][-v-1>>1].neg()),o="affine"===U.type?o.mixedAdd(U):o.add(U))}}for(M=0;M=Math.ceil((F.bitLength()+1)/B.step)},C.prototype._getDoubles=function(F,B){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var m=[this],T=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(_,F,B,m,T){O.BasePoint.call(this,_,"projective"),null===F&&null===B&&null===m?(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(F,16),this.y=new S(B,16),this.z=m?new S(m,16):this.curve.one,this.t=T&&new S(T,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),Ce.exports=D,D.prototype._mulA=function(F){return this.mOneA?F.redNeg():this.a.redMul(F)},D.prototype._mulC=function(F){return this.oneC?F:this.c.redMul(F)},D.prototype.jpoint=function(F,B,m,T){return this.point(F,B,m,T)},D.prototype.pointFromX=function(F,B){(F=new S(F,16)).red||(F=F.toRed(this.red));var m=F.redSqr(),T=this.c2.redSub(this.a.redMul(m)),A=this.one.redSub(this.c2.redMul(this.d).redMul(m)),w=T.redMul(A.redInvm()),R=w.redSqrt();if(0!==R.redSqr().redSub(w).cmp(this.zero))throw new Error("invalid point");var $=R.fromRed().isOdd();return(B&&!$||!B&&$)&&(R=R.redNeg()),this.point(F,R)},D.prototype.pointFromY=function(F,B){(F=new S(F,16)).red||(F=F.toRed(this.red));var m=F.redSqr(),T=m.redSub(this.c2),A=m.redMul(this.d).redMul(this.c2).redSub(this.a),w=T.redMul(A.redInvm());if(0===w.cmp(this.zero)){if(B)throw new Error("invalid point");return this.point(this.zero,F)}var R=w.redSqrt();if(0!==R.redSqr().redSub(w).cmp(this.zero))throw new Error("invalid point");return R.fromRed().isOdd()!==B&&(R=R.redNeg()),this.point(R,F)},D.prototype.validate=function(F){if(F.isInfinity())return!0;F.normalize();var B=F.x.redSqr(),m=F.y.redSqr(),T=B.redMul(this.a).redAdd(m),A=this.c2.redMul(this.one.redAdd(this.d.redMul(B).redMul(m)));return 0===T.cmp(A)},p(C,O.BasePoint),D.prototype.pointFromJSON=function(F){return C.fromJSON(this,F)},D.prototype.point=function(F,B,m,T){return new C(this,F,B,m,T)},C.fromJSON=function(F,B){return new C(F,B[0],B[1],B[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 F=this.x.redSqr(),B=this.y.redSqr(),m=this.z.redSqr();m=m.redIAdd(m);var T=this.curve._mulA(F),A=this.x.redAdd(this.y).redSqr().redISub(F).redISub(B),w=T.redAdd(B),R=w.redSub(m),$=T.redSub(B),k=A.redMul(R),M=w.redMul($),P=A.redMul($),U=R.redMul(w);return this.curve.point(k,M,U,P)},C.prototype._projDbl=function(){var T,A,w,R,$,k,F=this.x.redAdd(this.y).redSqr(),B=this.x.redSqr(),m=this.y.redSqr();if(this.curve.twisted){var M=(R=this.curve._mulA(B)).redAdd(m);this.zOne?(T=F.redSub(B).redSub(m).redMul(M.redSub(this.curve.two)),A=M.redMul(R.redSub(m)),w=M.redSqr().redSub(M).redSub(M)):($=this.z.redSqr(),k=M.redSub($).redISub($),T=F.redSub(B).redISub(m).redMul(k),A=M.redMul(R.redSub(m)),w=M.redMul(k))}else R=B.redAdd(m),$=this.curve._mulC(this.z).redSqr(),k=R.redSub($).redSub($),T=this.curve._mulC(F.redISub(R)).redMul(k),A=this.curve._mulC(R).redMul(B.redISub(m)),w=R.redMul(k);return this.curve.point(T,A,w)},C.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},C.prototype._extAdd=function(F){var B=this.y.redSub(this.x).redMul(F.y.redSub(F.x)),m=this.y.redAdd(this.x).redMul(F.y.redAdd(F.x)),T=this.t.redMul(this.curve.dd).redMul(F.t),A=this.z.redMul(F.z.redAdd(F.z)),w=m.redSub(B),R=A.redSub(T),$=A.redAdd(T),k=m.redAdd(B),M=w.redMul(R),P=$.redMul(k),U=w.redMul(k),V=R.redMul($);return this.curve.point(M,P,V,U)},C.prototype._projAdd=function(F){var P,U,B=this.z.redMul(F.z),m=B.redSqr(),T=this.x.redMul(F.x),A=this.y.redMul(F.y),w=this.curve.d.redMul(T).redMul(A),R=m.redSub(w),$=m.redAdd(w),k=this.x.redAdd(this.y).redMul(F.x.redAdd(F.y)).redISub(T).redISub(A),M=B.redMul(R).redMul(k);return this.curve.twisted?(P=B.redMul($).redMul(A.redSub(this.curve._mulA(T))),U=R.redMul($)):(P=B.redMul($).redMul(A.redSub(T)),U=this.curve._mulC(R).redMul($)),this.curve.point(M,P,U)},C.prototype.add=function(F){return this.isInfinity()?F:F.isInfinity()?this:this.curve.extended?this._extAdd(F):this._projAdd(F)},C.prototype.mul=function(F){return this._hasDoubles(F)?this.curve._fixedNafMul(this,F):this.curve._wnafMul(this,F)},C.prototype.mulAdd=function(F,B,m){return this.curve._wnafMulAdd(1,[this,B],[F,m],2,!1)},C.prototype.jmulAdd=function(F,B,m){return this.curve._wnafMulAdd(1,[this,B],[F,m],2,!0)},C.prototype.normalize=function(){if(this.zOne)return this;var F=this.z.redInvm();return this.x=this.x.redMul(F),this.y=this.y.redMul(F),this.t&&(this.t=this.t.redMul(F)),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(F){return this===F||0===this.getX().cmp(F.getX())&&0===this.getY().cmp(F.getY())},C.prototype.eqXToP=function(F){var B=F.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(B))return!0;for(var m=F.clone(),T=this.curve.redN.redMul(this.z);;){if(m.iadd(this.curve.n),m.cmp(this.curve.p)>=0)return!1;if(B.redIAdd(T),0===this.x.cmp(B))return!0}},C.prototype.toP=C.prototype.normalize,C.prototype.mixedAdd=C.prototype.add},8729:(Ce,ee,E)=>{"use strict";var a=ee;a.base=E(8828),a.short=E(8075),a.mont=E(4947),a.edwards=E(5537)},4947:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(1993),p=E(8828),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,_,F){p.BasePoint.call(this,C,"projective"),null===_&&null===F?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a(_,16),this.z=new a(F,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}S(c,p),Ce.exports=c,c.prototype.validate=function(_){var F=_.normalize().x,B=F.redSqr(),m=B.redMul(F).redAdd(B.redMul(this.a)).redAdd(F);return 0===m.redSqrt().redSqr().cmp(m)},S(D,p.BasePoint),c.prototype.decodePoint=function(_,F){return this.point(O.toArray(_,F),1)},c.prototype.point=function(_,F){return new D(this,_,F)},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(_,F){return new D(_,F[0],F[1]||_.one)},D.prototype.inspect=function(){return this.isInfinity()?"":""},D.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},D.prototype.dbl=function(){var F=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),T=F.redSub(m),A=F.redMul(m),w=T.redMul(m.redAdd(this.curve.a24.redMul(T)));return this.curve.point(A,w)},D.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},D.prototype.diffAdd=function(_,F){var B=this.x.redAdd(this.z),m=this.x.redSub(this.z),T=_.x.redAdd(_.z),w=_.x.redSub(_.z).redMul(B),R=T.redMul(m),$=F.z.redMul(w.redAdd(R).redSqr()),k=F.x.redMul(w.redISub(R).redSqr());return this.curve.point($,k)},D.prototype.mul=function(_){for(var F=_.clone(),B=this,m=this.curve.point(null,null),A=[];0!==F.cmpn(0);F.iushrn(1))A.push(F.andln(1));for(var w=A.length-1;w>=0;w--)0===A[w]?(B=B.diffAdd(m,this),m=m.dbl()):(m=B.diffAdd(m,this),B=B.dbl());return m},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:(Ce,ee,E)=>{"use strict";var a=E(3136),S=E(8723),p=E(1993),O=E(8828),c=a.assert;function D(F){O.call(this,"short",F),this.a=new S(F.a,16).toRed(this.red),this.b=new S(F.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(F),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function C(F,B,m,T){O.BasePoint.call(this,F,"affine"),null===B&&null===m?(this.x=null,this.y=null,this.inf=!0):(this.x=new S(B,16),this.y=new S(m,16),T&&(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 _(F,B,m,T){O.BasePoint.call(this,F,"jacobian"),null===B&&null===m&&null===T?(this.x=this.curve.one,this.y=this.curve.one,this.z=new S(0)):(this.x=new S(B,16),this.y=new S(m,16),this.z=new S(T,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),Ce.exports=D,D.prototype._getEndomorphism=function(B){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var m,T;if(B.beta)m=new S(B.beta,16).toRed(this.red);else{var A=this._getEndoRoots(this.p);m=(m=A[0].cmp(A[1])<0?A[0]:A[1]).toRed(this.red)}if(B.lambda)T=new S(B.lambda,16);else{var w=this._getEndoRoots(this.n);0===this.g.mul(w[0]).x.cmp(this.g.x.redMul(m))?T=w[0]:c(0===this.g.mul(T=w[1]).x.cmp(this.g.x.redMul(m)))}return{beta:m,lambda:T,basis:B.basis?B.basis.map(function($){return{a:new S($.a,16),b:new S($.b,16)}}):this._getEndoBasis(T)}}},D.prototype._getEndoRoots=function(B){var m=B===this.p?this.red:S.mont(B),T=new S(2).toRed(m).redInvm(),A=T.redNeg(),w=new S(3).toRed(m).redNeg().redSqrt().redMul(T);return[A.redAdd(w).fromRed(),A.redSub(w).fromRed()]},D.prototype._getEndoBasis=function(B){for(var M,P,U,V,W,oe,me,se,g,m=this.n.ushrn(Math.floor(this.n.bitLength()/2)),T=B,A=this.n.clone(),w=new S(1),R=new S(0),$=new S(0),k=new S(1),te=0;0!==T.cmpn(0);){var n=A.div(T);se=A.sub(n.mul(T)),g=$.sub(n.mul(w));var o=k.sub(n.mul(R));if(!U&&se.cmp(m)<0)M=me.neg(),P=w,U=se.neg(),V=g;else if(U&&2==++te)break;me=se,A=T,T=se,$=w,w=g,k=R,R=o}W=se.neg(),oe=g;var l=U.sqr().add(V.sqr());return W.sqr().add(oe.sqr()).cmp(l)>=0&&(W=M,oe=P),U.negative&&(U=U.neg(),V=V.neg()),W.negative&&(W=W.neg(),oe=oe.neg()),[{a:U,b:V},{a:W,b:oe}]},D.prototype._endoSplit=function(B){var m=this.endo.basis,T=m[0],A=m[1],w=A.b.mul(B).divRound(this.n),R=T.b.neg().mul(B).divRound(this.n),$=w.mul(T.a),k=R.mul(A.a),M=w.mul(T.b),P=R.mul(A.b);return{k1:B.sub($).sub(k),k2:M.add(P).neg()}},D.prototype.pointFromX=function(B,m){(B=new S(B,16)).red||(B=B.toRed(this.red));var T=B.redSqr().redMul(B).redIAdd(B.redMul(this.a)).redIAdd(this.b),A=T.redSqrt();if(0!==A.redSqr().redSub(T).cmp(this.zero))throw new Error("invalid point");var w=A.fromRed().isOdd();return(m&&!w||!m&&w)&&(A=A.redNeg()),this.point(B,A)},D.prototype.validate=function(B){if(B.inf)return!0;var m=B.x,T=B.y,A=this.a.redMul(m),w=m.redSqr().redMul(m).redIAdd(A).redIAdd(this.b);return 0===T.redSqr().redISub(w).cmpn(0)},D.prototype._endoWnafMulAdd=function(B,m,T){for(var A=this._endoWnafT1,w=this._endoWnafT2,R=0;R":""},C.prototype.isInfinity=function(){return this.inf},C.prototype.add=function(B){if(this.inf)return B;if(B.inf)return this;if(this.eq(B))return this.dbl();if(this.neg().eq(B))return this.curve.point(null,null);if(0===this.x.cmp(B.x))return this.curve.point(null,null);var m=this.y.redSub(B.y);0!==m.cmpn(0)&&(m=m.redMul(this.x.redSub(B.x).redInvm()));var T=m.redSqr().redISub(this.x).redISub(B.x),A=m.redMul(this.x.redSub(T)).redISub(this.y);return this.curve.point(T,A)},C.prototype.dbl=function(){if(this.inf)return this;var B=this.y.redAdd(this.y);if(0===B.cmpn(0))return this.curve.point(null,null);var m=this.curve.a,T=this.x.redSqr(),A=B.redInvm(),w=T.redAdd(T).redIAdd(T).redIAdd(m).redMul(A),R=w.redSqr().redISub(this.x.redAdd(this.x)),$=w.redMul(this.x.redSub(R)).redISub(this.y);return this.curve.point(R,$)},C.prototype.getX=function(){return this.x.fromRed()},C.prototype.getY=function(){return this.y.fromRed()},C.prototype.mul=function(B){return B=new S(B,16),this.isInfinity()?this:this._hasDoubles(B)?this.curve._fixedNafMul(this,B):this.curve.endo?this.curve._endoWnafMulAdd([this],[B]):this.curve._wnafMul(this,B)},C.prototype.mulAdd=function(B,m,T){var A=[this,m],w=[B,T];return this.curve.endo?this.curve._endoWnafMulAdd(A,w):this.curve._wnafMulAdd(1,A,w,2)},C.prototype.jmulAdd=function(B,m,T){var A=[this,m],w=[B,T];return this.curve.endo?this.curve._endoWnafMulAdd(A,w,!0):this.curve._wnafMulAdd(1,A,w,2,!0)},C.prototype.eq=function(B){return this===B||this.inf===B.inf&&(this.inf||0===this.x.cmp(B.x)&&0===this.y.cmp(B.y))},C.prototype.neg=function(B){if(this.inf)return this;var m=this.curve.point(this.x,this.y.redNeg());if(B&&this.precomputed){var T=this.precomputed,A=function(w){return w.neg()};m.precomputed={naf:T.naf&&{wnd:T.naf.wnd,points:T.naf.points.map(A)},doubles:T.doubles&&{step:T.doubles.step,points:T.doubles.points.map(A)}}}return m},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(B,m,T){return new _(this,B,m,T)},_.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var B=this.z.redInvm(),m=B.redSqr(),T=this.x.redMul(m),A=this.y.redMul(m).redMul(B);return this.curve.point(T,A)},_.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},_.prototype.add=function(B){if(this.isInfinity())return B;if(B.isInfinity())return this;var m=B.z.redSqr(),T=this.z.redSqr(),A=this.x.redMul(m),w=B.x.redMul(T),R=this.y.redMul(m.redMul(B.z)),$=B.y.redMul(T.redMul(this.z)),k=A.redSub(w),M=R.redSub($);if(0===k.cmpn(0))return 0!==M.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var P=k.redSqr(),U=P.redMul(k),V=A.redMul(P),W=M.redSqr().redIAdd(U).redISub(V).redISub(V),oe=M.redMul(V.redISub(W)).redISub(R.redMul(U)),me=this.z.redMul(B.z).redMul(k);return this.curve.jpoint(W,oe,me)},_.prototype.mixedAdd=function(B){if(this.isInfinity())return B.toJ();if(B.isInfinity())return this;var m=this.z.redSqr(),T=this.x,A=B.x.redMul(m),w=this.y,R=B.y.redMul(m).redMul(this.z),$=T.redSub(A),k=w.redSub(R);if(0===$.cmpn(0))return 0!==k.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var M=$.redSqr(),P=M.redMul($),U=T.redMul(M),V=k.redSqr().redIAdd(P).redISub(U).redISub(U),W=k.redMul(U.redISub(V)).redISub(w.redMul(P)),oe=this.z.redMul($);return this.curve.jpoint(V,W,oe)},_.prototype.dblp=function(B){if(0===B)return this;if(this.isInfinity())return this;if(!B)return this.dbl();var m;if(this.curve.zeroA||this.curve.threeA){var T=this;for(m=0;m=0)return!1;if(T.redIAdd(w),0===this.x.cmp(T))return!0}},_.prototype.inspect=function(){return this.isInfinity()?"":""},_.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3401:(Ce,ee,E)=>{"use strict";var _,a=ee,S=E(2529),p=E(8729),c=E(3136).assert;function D(F){this.curve="short"===F.type?new p.short(F):"edwards"===F.type?new p.edwards(F):new p.mont(F),this.g=this.curve.g,this.n=this.curve.n,this.hash=F.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function C(F,B){Object.defineProperty(a,F,{configurable:!0,enumerable:!0,get:function(){var m=new D(B);return Object.defineProperty(a,F,{configurable:!0,enumerable:!0,value:m}),m}})}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:(Ce,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 F(B){if(!(this instanceof F))return new F(B);"string"==typeof B&&(D(Object.prototype.hasOwnProperty.call(O,B),"Unknown curve "+B),B=O[B]),B instanceof O.PresetCurve&&(B={curve:B}),this.curve=B.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=B.curve.g,this.g.precompute(B.curve.n.bitLength()+1),this.hash=B.hash||B.curve.hash}Ce.exports=F,F.prototype.keyPair=function(m){return new C(this,m)},F.prototype.keyFromPrivate=function(m,T){return C.fromPrivate(this,m,T)},F.prototype.keyFromPublic=function(m,T){return C.fromPublic(this,m,T)},F.prototype.genKeyPair=function(m){m||(m={});for(var T=new S({hash:this.hash,pers:m.pers,persEnc:m.persEnc||"utf8",entropy:m.entropy||c(this.hash.hmacStrength),entropyEnc:m.entropy&&m.entropyEnc||"utf8",nonce:this.n.toArray()}),A=this.n.byteLength(),w=this.n.sub(new a(2));;){var R=new a(T.generate(A));if(!(R.cmp(w)>0))return R.iaddn(1),this.keyFromPrivate(R)}},F.prototype._truncateToN=function(m,T){var A=8*m.byteLength()-this.n.bitLength();return A>0&&(m=m.ushrn(A)),!T&&m.cmp(this.n)>=0?m.sub(this.n):m},F.prototype.sign=function(m,T,A,w){"object"==typeof A&&(w=A,A=null),w||(w={}),T=this.keyFromPrivate(T,A),m=this._truncateToN(new a(m,16));for(var R=this.n.byteLength(),$=T.getPrivate().toArray("be",R),k=m.toArray("be",R),M=new S({hash:this.hash,entropy:$,nonce:k,pers:w.pers,persEnc:w.persEnc||"utf8"}),P=this.n.sub(new a(1)),U=0;;U++){var V=w.k?w.k(U):new a(M.generate(this.n.byteLength()));if(!((V=this._truncateToN(V,!0)).cmpn(1)<=0||V.cmp(P)>=0)){var W=this.g.mul(V);if(!W.isInfinity()){var oe=W.getX(),me=oe.umod(this.n);if(0!==me.cmpn(0)){var te=V.invm(this.n).mul(me.mul(T.getPrivate()).iadd(m));if(0!==(te=te.umod(this.n)).cmpn(0)){var se=(W.getY().isOdd()?1:0)|(0!==oe.cmp(me)?2:0);return w.canonical&&te.cmp(this.nh)>0&&(te=this.n.sub(te),se^=1),new _({r:me,s:te,recoveryParam:se})}}}}}},F.prototype.verify=function(m,T,A,w){m=this._truncateToN(new a(m,16)),A=this.keyFromPublic(A,w);var R=(T=new _(T,"hex")).r,$=T.s;if(R.cmpn(1)<0||R.cmp(this.n)>=0||$.cmpn(1)<0||$.cmp(this.n)>=0)return!1;var U,k=$.invm(this.n),M=k.mul(m).umod(this.n),P=k.mul(R).umod(this.n);return this.curve._maxwellTrick?!(U=this.g.jmulAdd(M,A.getPublic(),P)).isInfinity()&&U.eqXToP(R):!(U=this.g.mulAdd(M,A.getPublic(),P)).isInfinity()&&0===U.getX().umod(this.n).cmp(R)},F.prototype.recoverPubKey=function(B,m,T,A){D((3&T)===T,"The recovery param is more than two bits"),m=new _(m,A);var w=this.n,R=new a(B),$=m.r,k=m.s,M=1&T,P=T>>1;if($.cmp(this.curve.p.umod(this.curve.n))>=0&&P)throw new Error("Unable to find sencond key candinate");$=this.curve.pointFromX(P?$.add(this.curve.n):$,M);var U=m.r.invm(w),V=w.sub(R).mul(U).umod(w),W=k.mul(U).umod(w);return this.g.mulAdd(V,$,W)},F.prototype.getKeyRecoveryParam=function(B,m,T,A){if(null!==(m=new _(m,A)).recoveryParam)return m.recoveryParam;for(var w=0;w<4;w++){var R;try{R=this.recoverPubKey(B,m,w)}catch{continue}if(R.eq(T))return w}throw new Error("Unable to find valid recovery factor")}},541:(Ce,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)}Ce.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:(Ce,ee,E)=>{"use strict";var a=E(8723),S=E(3136),p=S.assert;function O(F,B){if(F instanceof O)return F;this._importDER(F,B)||(p(F.r&&F.s,"Signature without r or s"),this.r=new a(F.r,16),this.s=new a(F.s,16),this.recoveryParam=void 0===F.recoveryParam?null:F.recoveryParam)}function c(){this.place=0}function D(F,B){var m=F[B.place++];if(!(128&m))return m;var T=15&m;if(0===T||T>4)return!1;for(var A=0,w=0,R=B.place;w>>=0;return!(A<=127)&&(B.place=R,A)}function C(F){for(var B=0,m=F.length-1;!F[B]&&!(128&F[B+1])&&B>>3);for(F.push(128|m);--m;)F.push(B>>>(m<<3)&255);F.push(B)}}Ce.exports=O,O.prototype._importDER=function(B,m){B=S.toArray(B,m);var T=new c;if(48!==B[T.place++])return!1;var A=D(B,T);if(!1===A||A+T.place!==B.length||2!==B[T.place++])return!1;var w=D(B,T);if(!1===w)return!1;var R=B.slice(T.place,w+T.place);if(T.place+=w,2!==B[T.place++])return!1;var $=D(B,T);if(!1===$||B.length!==$+T.place)return!1;var k=B.slice(T.place,$+T.place);if(0===R[0]){if(!(128&R[1]))return!1;R=R.slice(1)}if(0===k[0]){if(!(128&k[1]))return!1;k=k.slice(1)}return this.r=new a(R),this.s=new a(k),this.recoveryParam=null,!0},O.prototype.toDER=function(B){var m=this.r.toArray(),T=this.s.toArray();for(128&m[0]&&(m=[0].concat(m)),128&T[0]&&(T=[0].concat(T)),m=C(m),T=C(T);!(T[0]||128&T[1]);)T=T.slice(1);var A=[2];_(A,m.length),(A=A.concat(m)).push(2),_(A,T.length);var w=A.concat(T),R=[48];return _(R,w.length),R=R.concat(w),S.encode(R,B)}},3045:(Ce,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 _(F){if(O("ed25519"===F,"only tested with ed25519 so far"),!(this instanceof _))return new _(F);this.curve=F=S[F].curve,this.g=F.g,this.g.precompute(F.n.bitLength()+1),this.pointClass=F.point().constructor,this.encodingLength=Math.ceil(F.n.bitLength()/8),this.hash=a.sha512}Ce.exports=_,_.prototype.sign=function(B,m){B=c(B);var T=this.keyFromSecret(m),A=this.hashInt(T.messagePrefix(),B),w=this.g.mul(A),R=this.encodePoint(w),$=this.hashInt(R,T.pubBytes(),B).mul(T.priv()),k=A.add($).umod(this.curve.n);return this.makeSignature({R:w,S:k,Rencoded:R})},_.prototype.verify=function(B,m,T){B=c(B),m=this.makeSignature(m);var A=this.keyFromPublic(T),w=this.hashInt(m.Rencoded(),A.pubBytes(),B),R=this.g.mul(m.S());return m.R().add(A.pub().mul(w)).eq(R)},_.prototype.hashInt=function(){for(var B=this.hash(),m=0;m{"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(),F=C.encodingLength-1,B=_.slice(0,C.encodingLength);return B[0]&=248,B[F]&=127,B[F]|=64,B}),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)},Ce.exports=c},5451:(Ce,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()},Ce.exports=D},1416:Ce=>{Ce.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},3136:(Ce,ee,E)=>{"use strict";var a=ee,S=E(8723),p=E(9210),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(B,m,T){var w,A=new Array(Math.max(B.bitLength(),T)+1);for(w=0;w(R>>1)-1?(R>>1)-M:M):k=0,A[w]=k,$.iushrn(1)}return A},a.getJSF=function D(B,m){var T=[[],[]];B=B.clone(),m=m.clone();for(var R,A=0,w=0;B.cmpn(-A)>0||m.cmpn(-w)>0;){var M,P,$=B.andln(3)+A&3,k=m.andln(3)+w&3;3===$&&($=-1),3===k&&(k=-1),M=1&$?3!=(R=B.andln(7)+A&7)&&5!==R||2!==k?$:-$:0,T[0].push(M),P=1&k?3!=(R=m.andln(7)+w&7)&&5!==R||2!==$?k:-k:0,T[1].push(P),2*A===M+1&&(A=1-A),2*w===P+1&&(w=1-w),B.iushrn(1),m.iushrn(1)}return T},a.cachedProperty=function C(B,m,T){var A="_"+m;B.prototype[m]=function(){return void 0!==this[A]?this[A]:this[A]=T.call(this)}},a.parseBytes=function _(B){return"string"==typeof B?a.toArray(B,"hex"):B},a.intFromLE=function F(B){return new S(B,"hex","le")}},8723:function(Ce,ee,E){!function(a,S){"use strict";function p(g,n){if(!g)throw new Error(n||"Assertion failed")}function O(g,n){g.super_=n;var o=function(){};o.prototype=n.prototype,g.prototype=new o,g.prototype.constructor=g}function c(g,n,o){if(c.isBN(g))return g;this.negative=0,this.words=null,this.length=0,this.red=null,null!==g&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(g||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(g,n){var o=g.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,pe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,qe=0|s[3],Oe=8191&qe,xe=qe>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},4356:Ce=>{"use strict";var a,ee="object"==typeof Reflect?Reflect:null,E=ee&&"function"==typeof ee.apply?ee.apply:function(U,V,W){return Function.prototype.apply.call(U,V,W)};a=ee&&"function"==typeof ee.ownKeys?ee.ownKeys:Object.getOwnPropertySymbols?function(U){return Object.getOwnPropertyNames(U).concat(Object.getOwnPropertySymbols(U))}:function(U){return Object.getOwnPropertyNames(U)};var p=Number.isNaN||function(U){return U!=U};function O(){O.init.call(this)}Ce.exports=O,Ce.exports.once=function $(P,U){return new Promise(function(V,W){function oe(te){P.removeListener(U,me),W(te)}function me(){"function"==typeof P.removeListener&&P.removeListener("error",oe),V([].slice.call(arguments))}M(P,U,me,{once:!0}),"error"!==U&&function k(P,U,V){"function"==typeof P.on&&M(P,"error",U,V)}(P,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(P){if("function"!=typeof P)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof P)}function C(P){return void 0===P._maxListeners?O.defaultMaxListeners:P._maxListeners}function _(P,U,V,W){var oe,me,te;if(D(V),void 0===(me=P._events)?(me=P._events=Object.create(null),P._eventsCount=0):(void 0!==me.newListener&&(P.emit("newListener",U,V.listener?V.listener:V),me=P._events),te=me[U]),void 0===te)te=me[U]=V,++P._eventsCount;else if("function"==typeof te?te=me[U]=W?[V,te]:[te,V]:W?te.unshift(V):te.push(V),(oe=C(P))>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=P,se.type=U,se.count=te.length,function S(P){console&&console.warn&&console.warn(P)}(se)}return P}function F(){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 B(P,U,V){var W={fired:!1,wrapFn:void 0,target:P,type:U,listener:V},oe=F.bind(W);return oe.listener=V,W.wrapFn=oe,oe}function m(P,U,V){var W=P._events;if(void 0===W)return[];var oe=W[U];return void 0===oe?[]:"function"==typeof oe?V?[oe.listener||oe]:[oe]:V?function R(P){for(var U=new Array(P.length),V=0;V0&&(te=V[0]),te instanceof Error)throw te;var se=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw se.context=te,se}var g=me[U];if(void 0===g)return!1;if("function"==typeof g)E(g,this,V);else{var n=g.length,o=A(g,n);for(W=0;W=0;te--)if(W[te]===V||W[te].listener===V){se=W[te].listener,me=te;break}if(me<0)return this;0===me?W.shift():function w(P,U){for(;U+1=0;oe--)this.removeListener(U,V[oe]);return this},O.prototype.listeners=function(U){return m(this,U,!0)},O.prototype.rawListeners=function(U){return m(this,U,!1)},O.listenerCount=function(P,U){return"function"==typeof P.listenerCount?P.listenerCount(U):T.call(P,U)},O.prototype.listenerCount=T,O.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},8211:(Ce,ee,E)=>{var a=E(7054).Buffer,S=E(4725);Ce.exports=function p(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,F=a.alloc(_),B=a.alloc(C||0),m=a.alloc(0);_>0||C>0;){var T=new S;T.update(m),T.update(O),c&&T.update(c),m=T.digest();var A=0;if(_>0){var w=F.length-_;A=Math.min(_,m.length),m.copy(F,w,0,A),_-=A}if(A0){var R=B.length-C,$=Math.min(C,m.length-A);m.copy(B,R,A,A+$),C-=$}}return m.fill(0),{key:F,iv:B}}},3686:(Ce,ee,E)=>{"use strict";var a=E(7054).Buffer,S=E(7045).Transform;function c(D){S.call(this),this._block=a.allocUnsafe(D),this._blockSize=D,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}E(1993)(c,S),c.prototype._transform=function(D,C,_){var F=null;try{this.update(D,C)}catch(B){F=B}_(F)},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,F=0;this._blockOffset+D.length-F>=this._blockSize;){for(var B=this._blockOffset;B0;++m)this._length[m]+=T,(T=this._length[m]/4294967296|0)>0&&(this._length[m]-=4294967296*T);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")},Ce.exports=c},2529:(Ce,ee,E)=>{var a=ee;a.utils=E(8283),a.common=E(2901),a.sha=E(8528),a.ripemd=E(5283),a.hmac=E(7163),a.sha1=a.sha.sha1,a.sha256=a.sha.sha256,a.sha224=a.sha.sha224,a.sha384=a.sha.sha384,a.sha512=a.sha.sha512,a.ripemd160=a.ripemd.ripemd160},2901:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(9210);function p(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}ee.BlockHash=p,p.prototype.update=function(c,D){if(c=a.toArray(c,D),this.pending=this.pending?this.pending.concat(c):c,this.pendingTotal+=c.length,this.pending.length>=this._delta8){var C=(c=this.pending).length%this._delta8;this.pending=c.slice(c.length-C,c.length),0===this.pending.length&&(this.pending=null),c=a.join32(c,0,c.length-C,this.endian);for(var _=0;_>>24&255,_[F++]=c>>>16&255,_[F++]=c>>>8&255,_[F++]=255&c}else for(_[F++]=255&c,_[F++]=c>>>8&255,_[F++]=c>>>16&255,_[F++]=c>>>24&255,_[F++]=0,_[F++]=0,_[F++]=0,_[F++]=0,B=8;B{"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))}Ce.exports=p,p.prototype._init=function(c){c.length>this.blockSize&&(c=(new this.Hash).update(c).digest()),S(c.length<=this.blockSize);for(var D=c.length;D{"use strict";var a=E(8283),S=E(2901),p=a.rotl32,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 F($,k,M,P){return $<=15?k^M^P:$<=31?k&M|~k&P:$<=47?(k|~M)^P:$<=63?k&P|M&~P:k^(M|~P)}function m($){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 P=this.h[0],U=this.h[1],V=this.h[2],W=this.h[3],oe=this.h[4],me=P,te=U,se=V,g=W,n=oe,o=0;o<80;o++){var l=O(p(D(P,F(o,U,V,W),k[T[o]+M],($=o)<=15?0:$<=31?1518500249:$<=47?1859775393:$<=63?2400959708:2840853838),w[o]),oe);P=oe,oe=W,W=p(V,10),V=U,U=l,l=O(p(D(me,F(79-o,te,se,g),k[A[o]+M],m(o)),R[o]),n),me=n,n=g,g=p(se,10),se=te,te=l}var $;l=c(this.h[1],V,g),this.h[1]=c(this.h[2],W,n),this.h[2]=c(this.h[3],oe,me),this.h[3]=c(this.h[4],P,te),this.h[4]=c(this.h[0],U,se),this.h[0]=l},_.prototype._digest=function(k){return"hex"===k?a.toHex32(this.h,"little"):a.split32(this.h,"little")};var T=[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],w=[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],R=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},8528:(Ce,ee,E)=>{"use strict";ee.sha1=E(3468),ee.sha224=E(5563),ee.sha256=E(7138),ee.sha384=E(3898),ee.sha512=E(827)},3468:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),O=a.rotl32,c=a.sum32,D=a.sum32_5,C=p.ft_1,_=S.BlockHash,F=[1518500249,1859775393,2400959708,3395469782];function B(){if(!(this instanceof B))return new B;_.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}a.inherits(B,_),Ce.exports=B,B.blockSize=512,B.outSize=160,B.hmacStrength=80,B.padLength=64,B.prototype._update=function(T,A){for(var w=this.W,R=0;R<16;R++)w[R]=T[A+R];for(;R{"use strict";var a=E(8283),S=E(7138);function p(){if(!(this instanceof p))return new p;S.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}a.inherits(p,S),Ce.exports=p,p.blockSize=512,p.outSize=224,p.hmacStrength=192,p.padLength=64,p.prototype._digest=function(c){return"hex"===c?a.toHex32(this.h.slice(0,7),"big"):a.split32(this.h.slice(0,7),"big")}},7138:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(5542),O=E(9210),c=a.sum32,D=a.sum32_4,C=a.sum32_5,_=p.ch32,F=p.maj32,B=p.s0_256,m=p.s1_256,T=p.g0_256,A=p.g1_256,w=S.BlockHash,R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function $(){if(!(this instanceof $))return new $;w.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=R,this.W=new Array(64)}a.inherits($,w),Ce.exports=$,$.blockSize=512,$.outSize=256,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(M,P){for(var U=this.W,V=0;V<16;V++)U[V]=M[P+V];for(;V{"use strict";var a=E(8283),S=E(827);function p(){if(!(this instanceof p))return new p;S.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}a.inherits(p,S),Ce.exports=p,p.blockSize=1024,p.outSize=384,p.hmacStrength=192,p.padLength=128,p.prototype._digest=function(c){return"hex"===c?a.toHex32(this.h.slice(0,12),"big"):a.split32(this.h.slice(0,12),"big")}},827:(Ce,ee,E)=>{"use strict";var a=E(8283),S=E(2901),p=E(9210),O=a.rotr64_hi,c=a.rotr64_lo,D=a.shr64_hi,C=a.shr64_lo,_=a.sum64,F=a.sum64_hi,B=a.sum64_lo,m=a.sum64_4_hi,T=a.sum64_4_lo,A=a.sum64_5_hi,w=a.sum64_5_lo,R=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;R.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(l,s,h,v,y){var d=l&h^~l&y;return d<0&&(d+=4294967296),d}function P(l,s,h,v,y,d){var r=s&v^~s&d;return r<0&&(r+=4294967296),r}function U(l,s,h,v,y){var d=l&h^l&y^h&y;return d<0&&(d+=4294967296),d}function V(l,s,h,v,y,d){var r=s&v^s&d^v&d;return r<0&&(r+=4294967296),r}function W(l,s){var d=O(l,s,28)^O(s,l,2)^O(s,l,7);return d<0&&(d+=4294967296),d}function oe(l,s){var d=c(l,s,28)^c(s,l,2)^c(s,l,7);return d<0&&(d+=4294967296),d}function me(l,s){var d=O(l,s,14)^O(l,s,18)^O(s,l,9);return d<0&&(d+=4294967296),d}function te(l,s){var d=c(l,s,14)^c(l,s,18)^c(s,l,9);return d<0&&(d+=4294967296),d}function se(l,s){var d=O(l,s,1)^O(l,s,8)^D(l,s,7);return d<0&&(d+=4294967296),d}function g(l,s){var d=c(l,s,1)^c(l,s,8)^C(l,s,7);return d<0&&(d+=4294967296),d}function n(l,s){var d=O(l,s,19)^O(s,l,29)^D(l,s,6);return d<0&&(d+=4294967296),d}function o(l,s){var d=c(l,s,19)^c(s,l,29)^C(l,s,6);return d<0&&(d+=4294967296),d}a.inherits(k,R),Ce.exports=k,k.blockSize=1024,k.outSize=512,k.hmacStrength=192,k.padLength=128,k.prototype._prepareBlock=function(s,h){for(var v=this.W,y=0;y<32;y++)v[y]=s[h+y];for(;y{"use strict";var S=E(8283).rotr32;function O(m,T,A){return m&T^~m&A}function c(m,T,A){return m&T^m&A^T&A}function D(m,T,A){return m^T^A}ee.ft_1=function p(m,T,A,w){return 0===m?O(T,A,w):1===m||3===m?D(T,A,w):2===m?c(T,A,w):void 0},ee.ch32=O,ee.maj32=c,ee.p32=D,ee.s0_256=function C(m){return S(m,2)^S(m,13)^S(m,22)},ee.s1_256=function _(m){return S(m,6)^S(m,11)^S(m,25)},ee.g0_256=function F(m){return S(m,7)^S(m,18)^m>>>3},ee.g1_256=function B(m){return S(m,17)^S(m,19)^m>>>10}},8283:(Ce,ee,E)=>{"use strict";var a=E(9210),S=E(1993);function p(o,l){return!(55296!=(64512&o.charCodeAt(l))||l<0||l+1>=o.length)&&56320==(64512&o.charCodeAt(l+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 F(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,l){if(Array.isArray(o))return o.slice();if(!o)return[];var s=[];if("string"==typeof o)if(l){if("hex"===l)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 m(o,l){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 T(o,l){return o>>>l|o<<32-l},ee.rotl32=function A(o,l){return o<>>32-l},ee.sum32=function w(o,l){return o+l>>>0},ee.sum32_3=function R(o,l,s){return o+l+s>>>0},ee.sum32_4=function $(o,l,s,h){return o+l+s+h>>>0},ee.sum32_5=function k(o,l,s,h,v){return o+l+s+h+v>>>0},ee.sum64=function M(o,l,s,h){var d=h+o[l+1]>>>0;o[l]=(d>>0,o[l+1]=d},ee.sum64_hi=function P(o,l,s,h){return(l+h>>>0>>0},ee.sum64_lo=function U(o,l,s,h){return l+h>>>0},ee.sum64_4_hi=function V(o,l,s,h,v,y,d,r){var f=0,L=l;return f+=(L=L+h>>>0)>>0)>>0)>>0},ee.sum64_4_lo=function W(o,l,s,h,v,y,d,r){return l+h+y+r>>>0},ee.sum64_5_hi=function oe(o,l,s,h,v,y,d,r,f,L){var I=0,j=l;return I+=(j=j+h>>>0)>>0)>>0)>>0)>>0},ee.sum64_5_lo=function me(o,l,s,h,v,y,d,r,f,L){return l+h+y+r+L>>>0},ee.rotr64_hi=function te(o,l,s){return(l<<32-s|o>>>s)>>>0},ee.rotr64_lo=function se(o,l,s){return(o<<32-s|l>>>s)>>>0},ee.shr64_hi=function g(o,l,s){return o>>>s},ee.shr64_lo=function n(o,l,s){return(o<<32-s|l>>>s)>>>0}},3556:(Ce,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,_)}Ce.exports=O,O.prototype._init=function(D,C,_){var F=D.concat(C).concat(_);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var B=0;B=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(D.concat(_||[])),this._reseed=1},O.prototype.generate=function(D,C,_,F){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof C&&(F=_,_=C,C=null),_&&(_=S.toArray(_,F||"hex"),this._update(_));for(var B=[];B.length{ee.read=function(E,a,S,p,O){var c,D,C=8*O-p-1,_=(1<>1,B=-7,m=S?O-1:0,T=S?-1:1,A=E[a+m];for(m+=T,c=A&(1<<-B)-1,A>>=-B,B+=C;B>0;c=256*c+E[a+m],m+=T,B-=8);for(D=c&(1<<-B)-1,c>>=-B,B+=p;B>0;D=256*D+E[a+m],m+=T,B-=8);if(0===c)c=1-F;else{if(c===_)return D?NaN:1/0*(A?-1:1);D+=Math.pow(2,p),c-=F}return(A?-1:1)*D*Math.pow(2,c-p)},ee.write=function(E,a,S,p,O,c){var D,C,_,F=8*c-O-1,B=(1<>1,T=23===O?Math.pow(2,-24)-Math.pow(2,-77):0,A=p?0:c-1,w=p?1:-1,R=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=B):(D=Math.floor(Math.log(a)/Math.LN2),a*(_=Math.pow(2,-D))<1&&(D--,_*=2),(a+=D+m>=1?T/_:T*Math.pow(2,1-m))*_>=2&&(D++,_/=2),D+m>=B?(C=0,D=B):D+m>=1?(C=(a*_-1)*Math.pow(2,O),D+=m):(C=a*Math.pow(2,m-1)*Math.pow(2,O),D=0));O>=8;E[S+A]=255&C,A+=w,C/=256,O-=8);for(D=D<0;E[S+A]=255&D,A+=w,D/=256,F-=8);E[S+A-w]|=128*R}},1993:Ce=>{Ce.exports="function"==typeof Object.create?function(E,a){a&&(E.super_=a,E.prototype=Object.create(a.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}))}:function(E,a){if(a){E.super_=a;var S=function(){};S.prototype=a.prototype,E.prototype=new S,E.prototype.constructor=E}}},53:Ce=>{var ee={}.toString;Ce.exports=Array.isArray||function(E){return"[object Array]"==ee.call(E)}},9657:(Ce,ee,E)=>{"use strict";E.d(ee,{b:()=>Qe,c:()=>V,g:()=>U,r:()=>ft});var a=E(467);let p,O,D=!1;const B="slot-fb{display:contents}slot-fb[hidden]{display:none}",m={},A=_e=>"object"==(_e=typeof _e)||"function"===_e;function w(_e){var Ae,Me,Ze;return null!==(Ze=null===(Me=null===(Ae=_e.head)||void 0===Ae?void 0:Ae.querySelector('meta[name="csp-nonce"]'))||void 0===Me?void 0:Me.getAttribute("content"))&&void 0!==Ze?Ze:void 0}const $=(_e,Ae)=>({$flags$:0,$tag$:_e,$text$:Ae,$elm$:null,$children$:null,$attrs$:null}),k={},U=_e=>mt(_e).$hostElement$,V=(_e,Ae,Me)=>{const Ze=U(_e);return{emit:je=>W(Ze,Ae,{bubbles:!!(4&Me),composed:!!(2&Me),cancelable:!!(1&Me),detail:je})}},W=(_e,Ae,Me)=>{const Ze=wt.ce(Ae,Me);return _e.dispatchEvent(Ze),Ze},oe=new WeakMap,g=(_e,Ae)=>"sc-"+_e.$tagName$,n=(_e,Ae,Me,Ze,je,it)=>{if(Me!==Ze){let Pe=At(_e,Ae);Ae.toLowerCase();{const Se=A(Ze);if((Pe||Se&&null!==Ze)&&!je)try{if(_e.tagName.includes("-"))_e[Ae]=Ze;else{const ze=null==Ze?"":Ze;"list"===Ae?Pe=!1:(null==Me||_e[Ae]!=ze)&&(_e[Ae]=ze)}}catch{}null==Ze||!1===Ze?(!1!==Ze||""===_e.getAttribute(Ae))&&_e.removeAttribute(Ae):(!Pe||4&it||je)&&!Se&&_e.setAttribute(Ae,Ze=!0===Ze?"":Ze)}}},o=(_e,Ae,Me,Ze)=>{const je=11===Ae.$elm$.nodeType&&Ae.$elm$.host?Ae.$elm$.host:Ae.$elm$,it=_e&&_e.$attrs$||m,Pe=Ae.$attrs$||m;for(Ze of l(Object.keys(it)))Ze in Pe||n(je,Ze,it[Ze],void 0,Me,Ae.$flags$);for(Ze of l(Object.keys(Pe)))n(je,Ze,it[Ze],Pe[Ze],Me,Ae.$flags$)};function l(_e){return _e.includes("ref")?[..._e.filter(Ae=>"ref"!==Ae),"ref"]:_e}const s=(_e,Ae,Me,Ze)=>{const je=Ae.$children$[Me];let Pe,Se,it=0;if(Pe=je.$elm$=bt.createElement(je.$tag$),o(null,je,!1),(_e=>null!=_e)(p)&&Pe["s-si"]!==p&&Pe.classList.add(Pe["s-si"]=p),je.$children$)for(it=0;it{let Se,Pe=_e;for(Pe.shadowRoot&&Pe.tagName===O&&(Pe=Pe.shadowRoot);je<=it;++je)Ze[je]&&(Se=s(null,Me,je),Se&&(Ze[je].$elm$=Se,Pe.insertBefore(Se,Ae)))},v=(_e,Ae,Me)=>{for(let Ze=Ae;Ze<=Me;++Ze){const je=_e[Ze];if(je){const it=je.$elm$;it&&it.remove()}}},d=(_e,Ae,Me=!1)=>_e.$tag$===Ae.$tag$,r=(_e,Ae,Me=!1)=>{const Ze=Ae.$elm$=_e.$elm$,je=_e.$children$,it=Ae.$children$;o(_e,Ae,!1),null!==je&&null!==it?((_e,Ae,Me,Ze,je=!1)=>{let yt,it=0,Pe=0,Se=Ae.length-1,ze=Ae[0],Et=Ae[Se],Je=Ze.length-1,st=Ze[0],en=Ze[Je];for(;it<=Se&&Pe<=Je;)null==ze?ze=Ae[++it]:null==Et?Et=Ae[--Se]:null==st?st=Ze[++Pe]:null==en?en=Ze[--Je]:d(ze,st,je)?(r(ze,st,je),ze=Ae[++it],st=Ze[++Pe]):d(Et,en,je)?(r(Et,en,je),Et=Ae[--Se],en=Ze[--Je]):d(ze,en,je)?(r(ze,en,je),_e.insertBefore(ze.$elm$,Et.$elm$.nextSibling),ze=Ae[++it],en=Ze[--Je]):d(Et,st,je)?(r(Et,st,je),_e.insertBefore(Et.$elm$,ze.$elm$),Et=Ae[--Se],st=Ze[++Pe]):(yt=s(Ae&&Ae[Pe],Me,Pe),st=Ze[++Pe],yt&&ze.$elm$.parentNode.insertBefore(yt,ze.$elm$));it>Se?h(_e,null==Ze[Je+1]?null:Ze[Je+1].$elm$,Me,Ze,Pe,Je):Pe>Je&&v(Ae,it,Se)})(Ze,je,Ae,it,Me):null!==it?h(Ze,null,Ae,it,0,it.length-1):null!==je&&v(je,0,je.length-1)},L=(_e,Ae)=>{Ae&&!_e.$onRenderResolve$&&Ae["s-p"]&&Ae["s-p"].push(new Promise(Me=>_e.$onRenderResolve$=Me))},I=(_e,Ae)=>{if(_e.$flags$|=16,!(4&_e.$flags$))return L(_e,_e.$ancestorComponent$),He(()=>j(_e,Ae));_e.$flags$|=512},j=(_e,Ae)=>{const Ze=_e.$lazyInstance$;let je;return Ae&&(je=qe(Ze,"componentWillLoad")),J(je,()=>pe(_e,Ze,Ae))},J=(_e,Ae)=>ie(_e)?_e.then(Ae):Ae(),ie=_e=>_e instanceof Promise||_e&&_e.then&&"function"==typeof _e.then,pe=function(){var _e=(0,a.A)(function*(Ae,Me,Ze){var je;const it=Ae.$hostElement$,Se=it["s-rc"];Ze&&(_e=>{const Ae=_e.$cmpMeta$,Me=_e.$hostElement$,Ze=Ae.$flags$,it=((_e,Ae,Me)=>{var Ze;const je=g(Ae),it=Ft.get(je);if(_e=11===_e.nodeType?_e:bt,it)if("string"==typeof it){let Se,Pe=oe.get(_e=_e.head||_e);if(Pe||oe.set(_e,Pe=new Set),!Pe.has(je)){{Se=bt.createElement("style"),Se.innerHTML=it;const ze=null!==(Ze=wt.$nonce$)&&void 0!==Ze?Ze:w(bt);null!=ze&&Se.setAttribute("nonce",ze),_e.insertBefore(Se,_e.querySelector("link"))}4&Ae.$flags$&&(Se.innerHTML+=B),Pe&&Pe.add(je)}}else _e.adoptedStyleSheets.includes(it)||(_e.adoptedStyleSheets=[..._e.adoptedStyleSheets,it]);return je})(Me.shadowRoot?Me.shadowRoot:Me.getRootNode(),Ae);10&Ze&&(Me["s-sc"]=it,Me.classList.add(it+"-h"))})(Ae);De(Ae,Me,it,Ze),Se&&(Se.map(Et=>Et()),it["s-rc"]=void 0);{const Et=null!==(je=it["s-p"])&&void 0!==je?je:[],Je=()=>Q(Ae);0===Et.length?Je():(Promise.all(Et).then(Je),Ae.$flags$|=4,Et.length=0)}});return function(Me,Ze,je){return _e.apply(this,arguments)}}(),De=(_e,Ae,Me,Ze)=>{try{Ae=Ae.render(),_e.$flags$&=-17,_e.$flags$|=2,((_e,Ae,Me=!1)=>{const Ze=_e.$hostElement$,je=_e.$cmpMeta$,it=_e.$vnode$||$(null,null),Pe=(_e=>_e&&_e.$tag$===k)(Ae)?Ae:((_e,Ae,...Me)=>{let Ze=null,je=!1,it=!1;const Pe=[],Se=Et=>{for(let Je=0;Je0&&(ze.$children$=Pe),ze})(null,null,Ae);if(O=Ze.tagName,je.$attrsToReflect$&&(Pe.$attrs$=Pe.$attrs$||{},je.$attrsToReflect$.map(([Se,ze])=>Pe.$attrs$[ze]=Ze[Se])),Me&&Pe.$attrs$)for(const Se of Object.keys(Pe.$attrs$))Ze.hasAttribute(Se)&&!["key","ref","style","class"].includes(Se)&&(Pe.$attrs$[Se]=Ze[Se]);Pe.$tag$=null,Pe.$flags$|=4,_e.$vnode$=Pe,Pe.$elm$=it.$elm$=Ze.shadowRoot||Ze,p=Ze["s-sc"],r(it,Pe,Me)})(_e,Ae,Ze)}catch(je){It(je,_e.$hostElement$)}return null},Q=_e=>{const Me=_e.$hostElement$,je=_e.$lazyInstance$,it=_e.$ancestorComponent$;64&_e.$flags$||(_e.$flags$|=64,Oe(Me),qe(je,"componentDidLoad"),_e.$onReadyResolve$(Me),it||ae()),_e.$onInstanceResolve$(Me),_e.$onRenderResolve$&&(_e.$onRenderResolve$(),_e.$onRenderResolve$=void 0),512&_e.$flags$&&Ut(()=>I(_e,!1)),_e.$flags$&=-517},ae=_e=>{Oe(bt.documentElement),Ut(()=>W(bn,"appload",{detail:{namespace:"jeep-sqlite"}}))},qe=(_e,Ae,Me)=>{if(_e&&_e[Ae])try{return _e[Ae](Me)}catch(Ze){It(Ze)}},Oe=_e=>_e.classList.add("hydrated"),Be=(_e,Ae,Me)=>{var Ze;const je=_e.prototype;if(Ae.$members$){_e.watchers&&(Ae.$watchers$=_e.watchers);const it=Object.entries(Ae.$members$);if(it.map(([Pe,[Se]])=>{31&Se||2&Me&&32&Se?Object.defineProperty(je,Pe,{get(){return((_e,Ae)=>mt(this).$instanceValues$.get(Ae))(0,Pe)},set(ze){((_e,Ae,Me,Ze)=>{const je=mt(_e),it=je.$hostElement$,Pe=je.$instanceValues$.get(Ae),Se=je.$flags$,ze=je.$lazyInstance$;Me=((_e,Ae)=>null==_e||A(_e)?_e:4&Ae?"false"!==_e&&(""===_e||!!_e):1&Ae?String(_e):_e)(Me,Ze.$members$[Ae][0]);const Et=Number.isNaN(Pe)&&Number.isNaN(Me);if((!(8&Se)||void 0===Pe)&&Me!==Pe&&!Et&&(je.$instanceValues$.set(Ae,Me),ze)){if(Ze.$watchers$&&128&Se){const st=Ze.$watchers$[Ae];st&&st.map(en=>{try{ze[en](Me,Pe,Ae)}catch(yt){It(yt,it)}})}2==(18&Se)&&I(je,!1)}})(this,Pe,ze,Ae)},configurable:!0,enumerable:!0}):1&Me&&64&Se&&Object.defineProperty(je,Pe,{value(...ze){var Et;const Je=mt(this);return null===(Et=null==Je?void 0:Je.$onInstancePromise$)||void 0===Et?void 0:Et.then(()=>{var st;return null===(st=Je.$lazyInstance$)||void 0===st?void 0:st[Pe](...ze)})}})}),1&Me){const Pe=new Map;je.attributeChangedCallback=function(Se,ze,Et){wt.jmp(()=>{var Je;const st=Pe.get(Se);if(this.hasOwnProperty(st))Et=this[st],delete this[st];else{if(je.hasOwnProperty(st)&&"number"==typeof this[st]&&this[st]==Et)return;if(null==st){const en=mt(this),yt=null==en?void 0:en.$flags$;if(yt&&!(8&yt)&&128&yt&&Et!==ze){const vt=en.$lazyInstance$,Kt=null===(Je=Ae.$watchers$)||void 0===Je?void 0:Je[Se];null==Kt||Kt.forEach(Pt=>{null!=vt[Pt]&&vt[Pt].call(vt,Et,ze,Se)})}return}}this[st]=(null!==Et||"boolean"!=typeof this[st])&&Et})},_e.observedAttributes=Array.from(new Set([...Object.keys(null!==(Ze=Ae.$watchers$)&&void 0!==Ze?Ze:{}),...it.filter(([Se,ze])=>15&ze[0]).map(([Se,ze])=>{var Et;const Je=ze[1]||Se;return Pe.set(Je,Se),512&ze[0]&&(null===(Et=Ae.$attrsToReflect$)||void 0===Et||Et.push([Se,Je])),Je})]))}}return _e},re=function(){var _e=(0,a.A)(function*(Ae,Me,Ze,je){let it;if(!(32&Me.$flags$)){if(Me.$flags$|=32,Ze.$lazyBundleId$){if(it=St(Ze),it.then){const Je=()=>{};it=yield it,Je()}it.isProxied||(Ze.$watchers$=it.watchers,Be(it,Ze,2),it.isProxied=!0);const Et=()=>{};Me.$flags$|=8;try{new it(Me)}catch(Je){It(Je)}Me.$flags$&=-9,Me.$flags$|=128,Et(),ne(Me.$lazyInstance$)}else it=Ae.constructor,customElements.whenDefined(Ze.$tagName$).then(()=>Me.$flags$|=128);if(it.style){let Et=it.style;const Je=g(Ze);if(!Ft.has(Je)){const st=()=>{};((_e,Ae,Me)=>{let Ze=Ft.get(_e);Bt&&Me?(Ze=Ze||new CSSStyleSheet,"string"==typeof Ze?Ze=Ae:Ze.replaceSync(Ae)):Ze=Ae,Ft.set(_e,Ze)})(Je,Et,!!(1&Ze.$flags$)),st()}}}const Pe=Me.$ancestorComponent$,Se=()=>I(Me,!0);Pe&&Pe["s-rc"]?Pe["s-rc"].push(Se):Se()});return function(Me,Ze,je,it){return _e.apply(this,arguments)}}(),ne=_e=>{qe(_e,"connectedCallback")},xt=function(){var _e=(0,a.A)(function*(Ae){if(!(1&wt.$flags$)){const Me=mt(Ae);null!=Me&&Me.$lazyInstance$||null!=Me&&Me.$onReadyPromise$&&Me.$onReadyPromise$.then(()=>{})}});return function(Me){return _e.apply(this,arguments)}}(),Qe=(_e,Ae={})=>{var Me;const je=[],it=Ae.exclude||[],Pe=bn.customElements,Se=bt.head,ze=Se.querySelector("meta[charset]"),Et=bt.createElement("style"),Je=[];let st,en=!0;Object.assign(wt,Ae),wt.$resourcesUrl$=new URL(Ae.resourcesUrl||"./",bt.baseURI).href;let yt=!1;if(_e.map(vt=>{vt[1].map(Kt=>{var Pt;const Rt={$flags$:Kt[0],$tagName$:Kt[1],$members$:Kt[2],$listeners$:Kt[3]};4&Rt.$flags$&&(yt=!0),Rt.$members$=Kt[2],Rt.$attrsToReflect$=[],Rt.$watchers$=null!==(Pt=Kt[4])&&void 0!==Pt?Pt:{};const On=Rt.$tagName$,An=class extends HTMLElement{constructor(Bn){super(Bn),un(Bn=this,Rt),1&Rt.$flags$&&Bn.attachShadow({mode:"open"})}connectedCallback(){st&&(clearTimeout(st),st=null),en?Je.push(this):wt.jmp(()=>(_e=>{if(!(1&wt.$flags$)){const Ae=mt(_e),Me=Ae.$cmpMeta$,Ze=()=>{};if(1&Ae.$flags$)null!=Ae&&Ae.$lazyInstance$?ne(Ae.$lazyInstance$):null!=Ae&&Ae.$onReadyPromise$&&Ae.$onReadyPromise$.then(()=>ne(Ae.$lazyInstance$));else{Ae.$flags$|=1;{let je=_e;for(;je=je.parentNode||je.host;)if(je["s-p"]){L(Ae,Ae.$ancestorComponent$=je);break}}Me.$members$&&Object.entries(Me.$members$).map(([je,[it]])=>{if(31&it&&_e.hasOwnProperty(je)){const Pe=_e[je];delete _e[je],_e[je]=Pe}}),re(_e,Ae,Me)}Ze()}})(this))}disconnectedCallback(){wt.jmp(()=>xt(this))}componentOnReady(){return mt(this).$onReadyPromise$}};Rt.$lazyBundleId$=vt[0],!it.includes(On)&&!Pe.get(On)&&(je.push(On),Pe.define(On,Be(An,Rt,1)))})}),je.length>0&&(yt&&(Et.textContent+=B),Et.textContent+=je+"{visibility:hidden}.hydrated{visibility:inherit}",Et.innerHTML.length)){Et.setAttribute("data-styles","");const vt=null!==(Me=wt.$nonce$)&&void 0!==Me?Me:w(bt);null!=vt&&Et.setAttribute("nonce",vt),Se.insertBefore(Et,ze?ze.nextSibling:Se.firstChild)}en=!1,Je.length?Je.map(vt=>vt.connectedCallback()):wt.jmp(()=>st=setTimeout(ae,30))},rn=new WeakMap,mt=_e=>rn.get(_e),ft=(_e,Ae)=>rn.set(Ae.$lazyInstance$=_e,Ae),un=(_e,Ae)=>{const Me={$flags$:0,$hostElement$:_e,$cmpMeta$:Ae,$instanceValues$:new Map};return Me.$onInstancePromise$=new Promise(Ze=>Me.$onInstanceResolve$=Ze),Me.$onReadyPromise$=new Promise(Ze=>Me.$onReadyResolve$=Ze),_e["s-p"]=[],_e["s-rc"]=[],rn.set(_e,Me)},At=(_e,Ae)=>Ae in _e,It=(_e,Ae)=>(0,console.error)(_e,Ae),Cn=new Map,St=(_e,Ae,Me)=>{const Ze=_e.$tagName$.replace(/-/g,"_"),je=_e.$lazyBundleId$,it=Cn.get(je);return it?it[Ze]:E(7321)(`./${je}.entry.js`).then(Pe=>(Cn.set(je,Pe),Pe[Ze]),It)},Ft=new Map,bn=typeof window<"u"?window:{},bt=bn.document||{head:{}},wt={$flags$:0,$resourcesUrl$:"",jmp:_e=>_e(),raf:_e=>requestAnimationFrame(_e),ael:(_e,Ae,Me,Ze)=>_e.addEventListener(Ae,Me,Ze),rel:(_e,Ae,Me,Ze)=>_e.removeEventListener(Ae,Me,Ze),ce:(_e,Ae)=>new CustomEvent(_e,Ae)},Bt=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Lt=[],Wt=[],Nt=(_e,Ae)=>Me=>{_e.push(Me),D||(D=!0,Ae&&4&wt.$flags$?Ut(zn):wt.raf(zn))},Ot=_e=>{for(let Ae=0;Ae<_e.length;Ae++)try{_e[Ae](performance.now())}catch(Me){It(Me)}_e.length=0},zn=()=>{Ot(Lt),Ot(Wt),(D=Lt.length>0)&&wt.raf(zn)},Ut=_e=>Promise.resolve(void 0).then(_e),He=Nt(Wt,!0)},4801:function(Ce){typeof self<"u"&&self,Ce.exports=function(ee){var E={};function a(S){if(E[S])return E[S].exports;var p=E[S]={i:S,l:!1,exports:{}};return ee[S].call(p.exports,p,p.exports,a),p.l=!0,p.exports}return a.m=ee,a.c=E,a.d=function(S,p,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 F=c;F=this.size&&(F=(F^this.primitive)&this.size-1);for(B=0;B1&&0===D[0]){for(var _=1;__.length&&(C=(D=[_,C])[0],_=D[1]);for(var F=new Uint8ClampedArray(_.length),B=_.length-C.length,m=0;mB?B:_}var D=function(){function _(F,B){this.width=F,this.data=new Uint8ClampedArray(F*B)}return _.prototype.get=function(F,B){return this.data[B*this.width+F]},_.prototype.set=function(F,B,m){this.data[B*this.width+F]=m},_}();E.binarize=function C(_,F,B,m){if(_.length!==F*B*4)throw new Error("Malformed data passed to binarizer.");for(var T=new D(F,B),A=0;A0&&W>0)){var n=(U.get(W,V-1)+2*U.get(W-1,V)+U.get(W-1,V-1))/4;me6&&(P.setRegion(M-11,0,3,6,!0),P.setRegion(0,M-11,6,3,!0)),P}(M),oe=[],me=0,te=0,se=!0,g=V-1;g>0;g-=2){6===g&&g--;for(var n=0;n=0;V--)for(var W=M-9;W>=M-11;W--)U=C(k.get(W,V),U);var oe=0;for(W=5;W>=0;W--)for(V=M-9;V>=M-11;V--)oe=C(k.get(W,V),oe);for(var te,me=1/0,se=0,g=c.VERSIONS;se=0;U--)6!==U&&(M=C(k.get(8,U),M));var V=k.height,W=0;for(U=V-1;U>=V-7;U--)W=C(k.get(8,U),W);for(P=V-8;P1){var n=U.ecBlocks[0].numBlocks,o=U.ecBlocks[1].numBlocks;for(me=0;me0;)for(var l=0,s=V;l=3;){if((M=T.readBits(10))>=1e3)throw new Error("Invalid numeric value above 999");var P=Math.floor(M/100),U=Math.floor(M/10)%10,V=M%10;w.push(48+P,48+U,48+V),R+=P.toString()+U.toString()+V.toString(),k-=3}if(2===k){if((M=T.readBits(7))>=100)throw new Error("Invalid numeric value above 99");P=Math.floor(M/10),w.push(48+P,48+(U=M%10)),R+=P.toString()+U.toString()}else if(1===k){var M;if((M=T.readBits(4))>=10)throw new Error("Invalid numeric value above 9");w.push(48+M),R+=M.toString()}return{bytes:w,text:R}}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 _(T,A){for(var w=[],R="",k=T.readBits([9,11,13][A]);k>=2;){var M=T.readBits(11),P=Math.floor(M/45),U=M%45;w.push(C[P].charCodeAt(0),C[U].charCodeAt(0)),R+=C[P]+C[U],k-=2}return 1===k&&(P=T.readBits(6),w.push(C[P].charCodeAt(0)),R+=C[P]),{bytes:w,text:R}}function F(T,A){for(var w=[],R="",k=T.readBits([8,16,16][A]),M=0;M>8,255&U),R+=String.fromCharCode(p.shiftJISTable[U])}return{bytes:w,text:R}}E.decode=function m(T,A){for(var w,R,$,k,M=new S.BitStream(T),P=A<=9?0:A<=26?1:2,U={text:"",bytes:[],chunks:[],version:A};M.available()>=4;){var V=M.readBits(4);if(V===c.Terminator)return U;if(V===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(V===c.Numeric){var W=D(M,P);U.text+=W.text,(w=U.bytes).push.apply(w,W.bytes),U.chunks.push({type:O.Numeric,text:W.text})}else if(V===c.Alphanumeric){var oe=_(M,P);U.text+=oe.text,(R=U.bytes).push.apply(R,oe.bytes),U.chunks.push({type:O.Alphanumeric,text:oe.text})}else if(V===c.Byte){var me=F(M,P);U.text+=me.text,($=U.bytes).push.apply($,me.bytes),U.chunks.push({type:O.Byte,bytes:me.bytes,text:me.text})}else if(V===c.Kanji){var te=B(M,P);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(_,F){var B=new Uint8ClampedArray(_.length);B.set(_);for(var m=new S.default(285,256,0),T=new p.default(m,B),A=new Uint8ClampedArray(F),w=!1,R=0;R=m/2;){var k=A,M=R;if(R=$,(A=w).isZero())return null;w=k;for(var P=_.zero,U=A.getCoefficient(A.degree()),V=_.inverse(U);w.degree()>=A.degree()&&!w.isZero();){var W=w.degree()-A.degree(),oe=_.multiply(w.getCoefficient(w.degree()),V);P=P.addOrSubtract(_.buildMonomial(W,oe)),w=w.addOrSubtract(A.multiplyByMonomial(W,oe))}if($=P.multiplyPoly(R).addOrSubtract(M),w.degree()>=A.degree())return null}var me=$.getCoefficient(0);if(0===me)return null;var te=_.inverse(me);return[$.multiply(te),w.multiply(te)]}(m,m.buildMonomial(F,1),k,F);if(null===M)return null;var P=function c(_,F){var B=F.degree();if(1===B)return[F.getCoefficient(1)];for(var m=new Array(B),T=0,A=1;A<_.size&&TMath.abs(k.x-$.x);V?(W=Math.floor($.y),oe=Math.floor($.x),me=Math.floor(k.y),te=Math.floor(k.x)):(W=Math.floor($.x),oe=Math.floor($.y),me=Math.floor(k.x),te=Math.floor(k.y));for(var se=Math.abs(me-W),g=Math.abs(te-oe),n=Math.floor(-se/2),o=W0){if(v===te)break;v+=l,n-=se}}for(var r=[],f=0;f=15&&n.length?n[0]:g,dimension:W}}E.locate=function w($){for(var k=[],M=[],P=[],U=[],V=function(y){for(var d=0,r=!1,f=[0,0,0,0,0],L=function(j){var J=$.get(j,y);if(J===r)d++;else{f=[f[1],f[2],f[3],f[4],d],d=1,r=J;var ie=D(f)/7,pe=Math.abs(f[0]-ie)=re.bottom.startX&&qe<=re.bottom.endX||ae>=re.bottom.startX&&qe<=re.bottom.endX||qe<=re.bottom.startX&&ae>=re.bottom.endX&&f[2]/(re.bottom.endX-re.bottom.startX)<1.5&&f[2]/(re.bottom.endX-re.bottom.startX)>.5})).length>0?xe[0].bottom=Oe:M.push({top:Oe,bottom:Oe})}if(Q){var xe,Te=j-f[4],Be=Te-f[3];Oe={startX:Be,y,endX:Te},(xe=U.filter(function(G){return Be>=G.bottom.startX&&Be<=G.bottom.endX||Te>=G.bottom.startX&&Be<=G.bottom.endX||Be<=G.bottom.startX&&Te>=G.bottom.endX&&f[2]/(G.bottom.endX-G.bottom.startX)<1.5&&f[2]/(G.bottom.endX-G.bottom.startX)>.5})).length>0?xe[0].bottom=Oe:U.push({top:Oe,bottom:Oe})}}},I=-1;I<=$.width;I++)L(I);k.push.apply(k,M.filter(function(j){return j.bottom.y!==y&&j.bottom.y-j.top.y>=2})),M=M.filter(function(j){return j.bottom.y===y}),P.push.apply(P,U.filter(function(j){return j.bottom.y!==y})),U=U.filter(function(j){return j.bottom.y===y})},W=0;W<=$.height;W++)V(W);k.push.apply(k,M.filter(function(y){return y.bottom.y-y.top.y>=2})),P.push.apply(P,U);var oe=k.filter(function(y){return y.bottom.y-y.top.y>=2}).map(function(y){var d=(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(d),Math.round(r))){var f=[y.top.endX-y.top.startX,y.bottom.endX-y.bottom.startX,y.bottom.y-y.top.y+1],L=D(f)/f.length;return{score:T({x:Math.round(d),y:Math.round(r)},[1,1,3,1,1],$),x:d,y:r,size:L}}}).filter(function(y){return!!y}).sort(function(y,d){return y.score-d.score}).map(function(y,d,r){if(d>4)return null;var f=r.filter(function(I,j){return d!==j}).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,j){return I.score-j.score});if(f.length<2)return null;var L=y.score+f[0].score+f[1].score;return{points:[y].concat(f.slice(0,2)),score:L}}).filter(function(y){return!!y}).sort(function(y,d){return y.score-d.score});if(0===oe.length)return null;var me=function C($,k,M){var P,U,V,W,se,g,n,oe=c($,k),me=c(k,M),te=c($,M);return me>=oe&&me>=te?(se=(P=[k,$,M])[0],g=P[1],n=P[2]):te>=me&&te>=oe?(se=(U=[$,k,M])[0],g=U[1],n=U[2]):(se=(V=[$,M,k])[0],g=V[1],n=V[2]),(n.x-g.x)*(se.y-g.y)-(n.y-g.y)*(se.x-g.x)<0&&(se=(W=[n,se])[0],n=W[1]),{bottomLeft:se,topLeft:g,topRight:n}}(oe[0].points[0],oe[0].points[1],oe[0].points[2]),te=me.topRight,se=me.topLeft,g=me.bottomLeft,n=R($,P,te,se,g),o=[];n&&o.push({alignmentPattern:{x:n.alignmentPattern.x,y:n.alignmentPattern.y},bottomLeft:{x:g.x,y:g.y},dimension:n.dimension,topLeft:{x:se.x,y:se.y},topRight:{x:te.x,y:te.y}});var l=A($,te),s=A($,se),h=A($,g),v=R($,P,l,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:l.x,y:l.y},dimension:v.dimension}),0===o.length?null:o}}]).default},4725:(Ce,ee,E)=>{"use strict";var a=E(1993),S=E(3686),p=E(7054).Buffer,O=new Array(16);function c(){S.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function D(m,T){return m<>>32-T}function C(m,T,A,w,R,$,k){return D(m+(T&A|~T&w)+R+$|0,k)+T|0}function _(m,T,A,w,R,$,k){return D(m+(T&w|A&~w)+R+$|0,k)+T|0}function F(m,T,A,w,R,$,k){return D(m+(T^A^w)+R+$|0,k)+T|0}function B(m,T,A,w,R,$,k){return D(m+(A^(T|~w))+R+$|0,k)+T|0}a(c,S),c.prototype._update=function(){for(var m=O,T=0;T<16;++T)m[T]=this._block.readInt32LE(4*T);var A=this._a,w=this._b,R=this._c,$=this._d;A=C(A,w,R,$,m[0],3614090360,7),$=C($,A,w,R,m[1],3905402710,12),R=C(R,$,A,w,m[2],606105819,17),w=C(w,R,$,A,m[3],3250441966,22),A=C(A,w,R,$,m[4],4118548399,7),$=C($,A,w,R,m[5],1200080426,12),R=C(R,$,A,w,m[6],2821735955,17),w=C(w,R,$,A,m[7],4249261313,22),A=C(A,w,R,$,m[8],1770035416,7),$=C($,A,w,R,m[9],2336552879,12),R=C(R,$,A,w,m[10],4294925233,17),w=C(w,R,$,A,m[11],2304563134,22),A=C(A,w,R,$,m[12],1804603682,7),$=C($,A,w,R,m[13],4254626195,12),R=C(R,$,A,w,m[14],2792965006,17),A=_(A,w=C(w,R,$,A,m[15],1236535329,22),R,$,m[1],4129170786,5),$=_($,A,w,R,m[6],3225465664,9),R=_(R,$,A,w,m[11],643717713,14),w=_(w,R,$,A,m[0],3921069994,20),A=_(A,w,R,$,m[5],3593408605,5),$=_($,A,w,R,m[10],38016083,9),R=_(R,$,A,w,m[15],3634488961,14),w=_(w,R,$,A,m[4],3889429448,20),A=_(A,w,R,$,m[9],568446438,5),$=_($,A,w,R,m[14],3275163606,9),R=_(R,$,A,w,m[3],4107603335,14),w=_(w,R,$,A,m[8],1163531501,20),A=_(A,w,R,$,m[13],2850285829,5),$=_($,A,w,R,m[2],4243563512,9),R=_(R,$,A,w,m[7],1735328473,14),A=F(A,w=_(w,R,$,A,m[12],2368359562,20),R,$,m[5],4294588738,4),$=F($,A,w,R,m[8],2272392833,11),R=F(R,$,A,w,m[11],1839030562,16),w=F(w,R,$,A,m[14],4259657740,23),A=F(A,w,R,$,m[1],2763975236,4),$=F($,A,w,R,m[4],1272893353,11),R=F(R,$,A,w,m[7],4139469664,16),w=F(w,R,$,A,m[10],3200236656,23),A=F(A,w,R,$,m[13],681279174,4),$=F($,A,w,R,m[0],3936430074,11),R=F(R,$,A,w,m[3],3572445317,16),w=F(w,R,$,A,m[6],76029189,23),A=F(A,w,R,$,m[9],3654602809,4),$=F($,A,w,R,m[12],3873151461,11),R=F(R,$,A,w,m[15],530742520,16),A=B(A,w=F(w,R,$,A,m[2],3299628645,23),R,$,m[0],4096336452,6),$=B($,A,w,R,m[7],1126891415,10),R=B(R,$,A,w,m[14],2878612391,15),w=B(w,R,$,A,m[5],4237533241,21),A=B(A,w,R,$,m[12],1700485571,6),$=B($,A,w,R,m[3],2399980690,10),R=B(R,$,A,w,m[10],4293915773,15),w=B(w,R,$,A,m[1],2240044497,21),A=B(A,w,R,$,m[8],1873313359,6),$=B($,A,w,R,m[15],4264355552,10),R=B(R,$,A,w,m[6],2734768916,15),w=B(w,R,$,A,m[13],1309151649,21),A=B(A,w,R,$,m[4],4149444226,6),$=B($,A,w,R,m[11],3174756917,10),R=B(R,$,A,w,m[2],718787259,15),w=B(w,R,$,A,m[9],3951481745,21),this._a=this._a+A|0,this._b=this._b+w|0,this._c=this._c+R|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 m=p.allocUnsafe(16);return m.writeInt32LE(this._a,0),m.writeInt32LE(this._b,4),m.writeInt32LE(this._c,8),m.writeInt32LE(this._d,12),m},Ce.exports=c},3459:(Ce,ee,E)=>{var a=E(7223),S=E(5294);function p(O){this.rand=O||new S.Rand}Ce.exports=p,p.create=function(c){return new p(c)},p.prototype._randbelow=function(c){var D=c.bitLength(),C=Math.ceil(D/8);do{var _=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(),F=a.mont(c),B=new a(1).toRed(F);D||(D=Math.max(1,_/48|0));for(var m=c.subn(1),T=0;!m.testn(T);T++);for(var A=c.shrn(T),w=m.toRed(F);D>0;D--){var $=this._randrange(new a(2),m);C&&C($);var k=$.toRed(F).redPow(A);if(0!==k.cmp(B)&&0!==k.cmp(w)){for(var M=1;M0;D--){var w=this._randrange(new a(2),B),R=c.gcd(w);if(0!==R.cmpn(1))return R;var $=w.toRed(_).redPow(T);if(0!==$.cmp(F)&&0!==$.cmp(A)){for(var k=1;k=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,pe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,qe=0|s[3],Oe=8191&qe,xe=qe>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},9210:Ce=>{function ee(E,a){if(!E)throw new Error(a||"Assertion failed")}Ce.exports=ee,ee.equal=function(a,S,p){if(a!=S)throw new Error(p||"Assertion failed: "+a+" != "+S)}},1832:(Ce,ee)=>{"use strict";var E=ee;function S(O){return 1===O.length?"0"+O:O}function p(O){for(var c="",D=0;D>8,B=255&_;F?D.push(F,B):D.push(B)}return D},E.zero2=S,E.toHex=p,E.encode=function(c,D){return"hex"===D?p(c):c}},3138:(Ce,ee,E)=>{"use strict";var a=E(1990);ee.certificate=E(4772);var S=a.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});ee.RSAPrivateKey=S;var p=a.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ee.RSAPublicKey=p;var 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 F=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),B=a.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(F),this.key("publicKey").optional().explicit(1).bitstr())});ee.ECPrivateKey=B,ee.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},4772:(Ce,ee,E)=>{"use strict";var a=E(1990),S=a.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),p=a.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),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)})}),F=a.define("Validity",function(){this.seq().obj(this.key("notBefore").use(S),this.key("notAfter").use(S))}),B=a.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),m=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(F),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(B).optional())}),T=a.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(m),this.key("signatureAlgorithm").use(O),this.key("signatureValue").bitstr())});Ce.exports=T},9472:(Ce,ee,E)=>{"use strict";var a=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,S=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,p=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,O=E(8211),c=E(3388),D=E(7054).Buffer;Ce.exports=function(C,_){var m,F=C.toString(),B=F.match(a);if(B){var A="aes"+B[1],w=D.from(B[2],"hex"),R=D.from(B[3].replace(/[\r\n]/g,""),"base64"),$=O(_,w.slice(0,8),parseInt(B[1],10)).key,k=[],M=c.createDecipheriv(A,$,w);k.push(M.update(R)),k.push(M.final()),m=D.concat(k)}else{var T=F.match(p);m=D.from(T[2].replace(/[\r\n]/g,""),"base64")}return{tag:F.match(S)[1],data:m}}},5667:(Ce,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 _(F){var B;"object"==typeof F&&!D.isBuffer(F)&&(B=F.passphrase,F=F.key),"string"==typeof F&&(F=D.from(F));var w,R,m=p(F,B),T=m.tag,A=m.data;switch(T){case"CERTIFICATE":R=a.certificate.decode(A,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(R||(R=a.PublicKey.decode(A,"der")),w=R.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPublicKey.decode(R.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return R.subjectPrivateKey=R.subjectPublicKey,{type:"ec",data:R};case"1.2.840.10040.4.1":return R.algorithm.params.pub_key=a.DSAparam.decode(R.subjectPublicKey.data,"der"),{type:"dsa",data:R.algorithm.params};default:throw new Error("unknown key id "+w)}case"ENCRYPTED PRIVATE KEY":A=function C(F,B){var m=F.algorithm.decrypt.kde.kdeparams.salt,T=parseInt(F.algorithm.decrypt.kde.kdeparams.iters.toString(),10),A=S[F.algorithm.decrypt.cipher.algo.join(".")],w=F.algorithm.decrypt.cipher.iv,R=F.subjectPrivateKey,$=parseInt(A.split("-")[1],10)/8,k=c.pbkdf2Sync(B,m,T,$,"sha1"),M=O.createDecipheriv(A,k,w),P=[];return P.push(M.update(R)),P.push(M.final()),D.concat(P)}(A=a.EncryptedPrivateKey.decode(A,"der"),B);case"PRIVATE KEY":switch(w=(R=a.PrivateKey.decode(A,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPrivateKey.decode(R.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:R.algorithm.curve,privateKey:a.ECPrivateKey.decode(R.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return R.algorithm.params.priv_key=a.DSAparam.decode(R.subjectPrivateKey,"der"),{type:"dsa",params:R.algorithm.params};default:throw new Error("unknown key id "+w)}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 "+T)}}_.signature=a.signature,Ce.exports=_},3397:(Ce,ee,E)=>{ee.pbkdf2=E(2685),ee.pbkdf2Sync=E(9111)},2685:(Ce,ee,E)=>{var D,m,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"},F=[];function T(){return m||(m=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function A(R,$,k,M,P){return C.importKey("raw",R,{name:"PBKDF2"},!1,["deriveBits"]).then(function(U){return C.deriveBits({name:"PBKDF2",salt:$,iterations:k,hash:{name:P}},U,M<<3)}).then(function(U){return a.from(U)})}Ce.exports=function(R,$,k,M,P,U){"function"==typeof P&&(U=P,P=void 0);var V=_[(P=P||"sha1").toLowerCase()];if(V&&"function"==typeof global.Promise){if(S(k,M),R=c(R,p,"Password"),$=c($,p,"Salt"),"function"!=typeof U)throw new Error("No callback provided to pbkdf2");!function w(R,$){R.then(function(k){T()(function(){$(null,k)})},function(k){T()(function(){$(k)})})}(function B(R){if(global.process&&!global.process.browser||!C||!C.importKey||!C.deriveBits)return Promise.resolve(!1);if(void 0!==F[R])return F[R];var $=A(D=D||a.alloc(8),D,10,128,R).then(function(){return!0}).catch(function(){return!1});return F[R]=$,$}(V).then(function(W){return W?A(R,$,k,M,V):O(R,$,k,M,P)}),U)}else T()(function(){var W;try{W=O(R,$,k,M,P)}catch(oe){return U(oe)}U(null,W)})}},5392:Ce=>{var ee;ee=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",Ce.exports=ee},6111:Ce=>{var ee=Math.pow(2,30)-1;Ce.exports=function(E,a){if("number"!=typeof E)throw new TypeError("Iterations not a number");if(E<0)throw new TypeError("Bad iterations");if("number"!=typeof a)throw new TypeError("Key length not a number");if(a<0||a>ee||a!=a)throw new TypeError("Bad key length")}},9111:(Ce,ee,E)=>{var a=E(3407),S=E(6636),p=E(5443),O=E(7054).Buffer,c=E(6111),D=E(5392),C=E(6643),_=O.alloc(128),F={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function B(A,w,R){var $=function m(A){return"rmd160"===A||"ripemd160"===A?function R($){return(new S).update($).digest()}:"md5"===A?a:function w($){return p(A).update($).digest()}}(A),k="sha512"===A||"sha384"===A?128:64;w.length>k?w=$(w):w.length{var a=E(7054).Buffer;Ce.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:Ce=>{"use strict";Ce.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function ee(E,a,S,p){if("function"!=typeof E)throw new TypeError('"callback" argument must be a function');var c,D,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:(Ce,ee,E)=>{var a=E(7211),S=E(7054).Buffer;function p(O){var c=S.allocUnsafe(4);return c.writeUInt32BE(O,0),c}Ce.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 _(g,n,o){var l=C(g,o);return o-1>=n&&(l|=C(g,o-1)<<4),l}function F(g,n,o,l){for(var s=0,h=Math.min(g.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,l){if("number"==typeof n)return this._initNumber(n,o,l);if("object"==typeof n)return this._initArray(n,o,l);"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"===l)for(s=0,h=0;s>>26-y&67108863,(y+=24)>=26&&(y-=26,h++);return this.strip()},c.prototype._parseHex=function(n,o,l){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,l){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-l,y=v%s,d=Math.min(v,v-y)+l,r=0,f=l;f1&&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 B=["","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"],m=[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],T=[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 w(g,n,o){o.negative=n.negative^g.negative;var l=g.length+n.length|0;o.length=l,l=l-1|0;var s=0|g.words[0],h=0|n.words[0],v=s*h,d=v/67108864|0;o.words[0]=67108863&v;for(var r=1;r>>26,L=67108863&d,I=Math.min(r,n.length-1),j=Math.max(0,r-g.length+1);j<=I;j++)f+=(v=(s=0|g.words[r-j|0])*(h=0|n.words[j])+L)/67108864|0,L=67108863&v;o.words[r]=0|L,d=0|f}return 0!==d?o.words[r]=0|d:o.length--,o.strip()}c.prototype.toString=function(n,o){var l;if(o=0|o||1,16===(n=n||10)||"hex"===n){l="";for(var s=0,h=0,v=0;v>>24-s&16777215)||v!==this.length-1?B[6-d.length]+d+l:d+l,(s+=2)>=26&&(s-=26,v--)}for(0!==h&&(l=h.toString(16)+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],f=T[n];l="";var L=this.clone();for(L.negative=0;!L.isZero();){var I=L.modn(f).toString(n);l=(L=L.idivn(f)).isZero()?I+l:B[r-I.length]+I+l}for(this.isZero()&&(l="0"+l);l.length%o!=0;)l="0"+l;return 0!==this.negative&&(l="-"+l),l}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,l){var s=this.byteLength(),h=l||Math.max(1,s);p(s<=h,"byte array longer than desired length"),p(h>0,"Requested array length <= 0"),this.strip();var d,r,v="le"===o,y=new n(h),f=this.clone();if(v){for(r=0;!f.isZero();r++)d=f.andln(255),f.iushrn(8),y[r]=d;for(;r=4096&&(l+=13,o>>>=13),o>=64&&(l+=7,o>>>=7),o>=8&&(l+=4,o>>>=4),o>=2&&(l+=2,o>>>=2),l+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,l=0;return 8191&o||(l+=13,o>>>=13),127&o||(l+=7,o>>>=7),15&o||(l+=4,o>>>=4),3&o||(l+=2,o>>>=2),1&o||l++,l},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 l=0;ln.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,l;this.length>n.length?(o=this,l=n):(o=n,l=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),l=n%26;this._expand(o),l>0&&o--;for(var s=0;s0&&(this.words[s]=~this.words[s]&67108863>>26-l),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 l=n/26|0,s=n%26;return this._expand(l+1),this.words[l]=o?this.words[l]|1<n.length?(l=this,s=n):(l=n,s=this);for(var h=0,v=0;v>>26;for(;0!==h&&v>>26;if(this.length=l.length,0!==h)this.words[this.length]=h,this.length++;else if(l!==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,l=this.cmp(n);if(0===l)return this.negative=0,this.length=1,this.words[0]=0,this;l>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],ie=8191&J,pe=J>>>13,De=0|s[2],Q=8191&De,ae=De>>>13,qe=0|s[3],Oe=8191&qe,xe=qe>>>13,Te=0|s[4],Be=8191&Te,re=Te>>>13,ne=0|s[5],G=8191&ne,ge=ne>>>13,xt=0|s[6],Qe=8191&xt,rt=xt>>>13,rn=0|s[7],mt=8191&rn,ft=rn>>>13,un=0|s[8],At=8191&un,It=un>>>13,Cn=0|s[9],St=8191&Cn,Ft=Cn>>>13,bn=0|h[0],bt=8191&bn,wt=bn>>>13,Dn=0|h[1],Bt=8191&Dn,Lt=Dn>>>13,Wt=0|h[2],Nt=8191&Wt,Ot=Wt>>>13,zn=0|h[3],Ut=8191&zn,He=zn>>>13,_e=0|h[4],Ae=8191&_e,Me=_e>>>13,Ze=0|h[5],je=8191&Ze,it=Ze>>>13,Pe=0|h[6],Se=8191&Pe,ze=Pe>>>13,Et=0|h[7],Je=8191&Et,st=Et>>>13,en=0|h[8],yt=8191&en,vt=en>>>13,Kt=0|h[9],Pt=8191&Kt,Rt=Kt>>>13;l.negative=n.negative^o.negative,l.length=19;var On=(y+(d=Math.imul(I,bt))|0)+((8191&(r=(r=Math.imul(I,wt))+Math.imul(j,bt)|0))<<13)|0;y=((f=Math.imul(j,wt))+(r>>>13)|0)+(On>>>26)|0,On&=67108863,d=Math.imul(ie,bt),r=(r=Math.imul(ie,wt))+Math.imul(pe,bt)|0,f=Math.imul(pe,wt);var An=(y+(d=d+Math.imul(I,Bt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Lt)|0)+Math.imul(j,Bt)|0))<<13)|0;y=((f=f+Math.imul(j,Lt)|0)+(r>>>13)|0)+(An>>>26)|0,An&=67108863,d=Math.imul(Q,bt),r=(r=Math.imul(Q,wt))+Math.imul(ae,bt)|0,f=Math.imul(ae,wt),d=d+Math.imul(ie,Bt)|0,r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(pe,Bt)|0,f=f+Math.imul(pe,Lt)|0;var Bn=(y+(d=d+Math.imul(I,Nt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ot)|0)+Math.imul(j,Nt)|0))<<13)|0;y=((f=f+Math.imul(j,Ot)|0)+(r>>>13)|0)+(Bn>>>26)|0,Bn&=67108863,d=Math.imul(Oe,bt),r=(r=Math.imul(Oe,wt))+Math.imul(xe,bt)|0,f=Math.imul(xe,wt),d=d+Math.imul(Q,Bt)|0,r=(r=r+Math.imul(Q,Lt)|0)+Math.imul(ae,Bt)|0,f=f+Math.imul(ae,Lt)|0,d=d+Math.imul(ie,Nt)|0,r=(r=r+Math.imul(ie,Ot)|0)+Math.imul(pe,Nt)|0,f=f+Math.imul(pe,Ot)|0;var Mn=(y+(d=d+Math.imul(I,Ut)|0)|0)+((8191&(r=(r=r+Math.imul(I,He)|0)+Math.imul(j,Ut)|0))<<13)|0;y=((f=f+Math.imul(j,He)|0)+(r>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,d=Math.imul(Be,bt),r=(r=Math.imul(Be,wt))+Math.imul(re,bt)|0,f=Math.imul(re,wt),d=d+Math.imul(Oe,Bt)|0,r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(xe,Bt)|0,f=f+Math.imul(xe,Lt)|0,d=d+Math.imul(Q,Nt)|0,r=(r=r+Math.imul(Q,Ot)|0)+Math.imul(ae,Nt)|0,f=f+Math.imul(ae,Ot)|0,d=d+Math.imul(ie,Ut)|0,r=(r=r+Math.imul(ie,He)|0)+Math.imul(pe,Ut)|0,f=f+Math.imul(pe,He)|0;var Wn=(y+(d=d+Math.imul(I,Ae)|0)|0)+((8191&(r=(r=r+Math.imul(I,Me)|0)+Math.imul(j,Ae)|0))<<13)|0;y=((f=f+Math.imul(j,Me)|0)+(r>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,d=Math.imul(G,bt),r=(r=Math.imul(G,wt))+Math.imul(ge,bt)|0,f=Math.imul(ge,wt),d=d+Math.imul(Be,Bt)|0,r=(r=r+Math.imul(Be,Lt)|0)+Math.imul(re,Bt)|0,f=f+Math.imul(re,Lt)|0,d=d+Math.imul(Oe,Nt)|0,r=(r=r+Math.imul(Oe,Ot)|0)+Math.imul(xe,Nt)|0,f=f+Math.imul(xe,Ot)|0,d=d+Math.imul(Q,Ut)|0,r=(r=r+Math.imul(Q,He)|0)+Math.imul(ae,Ut)|0,f=f+Math.imul(ae,He)|0,d=d+Math.imul(ie,Ae)|0,r=(r=r+Math.imul(ie,Me)|0)+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Me)|0;var Ln=(y+(d=d+Math.imul(I,je)|0)|0)+((8191&(r=(r=r+Math.imul(I,it)|0)+Math.imul(j,je)|0))<<13)|0;y=((f=f+Math.imul(j,it)|0)+(r>>>13)|0)+(Ln>>>26)|0,Ln&=67108863,d=Math.imul(Qe,bt),r=(r=Math.imul(Qe,wt))+Math.imul(rt,bt)|0,f=Math.imul(rt,wt),d=d+Math.imul(G,Bt)|0,r=(r=r+Math.imul(G,Lt)|0)+Math.imul(ge,Bt)|0,f=f+Math.imul(ge,Lt)|0,d=d+Math.imul(Be,Nt)|0,r=(r=r+Math.imul(Be,Ot)|0)+Math.imul(re,Nt)|0,f=f+Math.imul(re,Ot)|0,d=d+Math.imul(Oe,Ut)|0,r=(r=r+Math.imul(Oe,He)|0)+Math.imul(xe,Ut)|0,f=f+Math.imul(xe,He)|0,d=d+Math.imul(Q,Ae)|0,r=(r=r+Math.imul(Q,Me)|0)+Math.imul(ae,Ae)|0,f=f+Math.imul(ae,Me)|0,d=d+Math.imul(ie,je)|0,r=(r=r+Math.imul(ie,it)|0)+Math.imul(pe,je)|0,f=f+Math.imul(pe,it)|0;var Fn=(y+(d=d+Math.imul(I,Se)|0)|0)+((8191&(r=(r=r+Math.imul(I,ze)|0)+Math.imul(j,Se)|0))<<13)|0;y=((f=f+Math.imul(j,ze)|0)+(r>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,d=Math.imul(mt,bt),r=(r=Math.imul(mt,wt))+Math.imul(ft,bt)|0,f=Math.imul(ft,wt),d=d+Math.imul(Qe,Bt)|0,r=(r=r+Math.imul(Qe,Lt)|0)+Math.imul(rt,Bt)|0,f=f+Math.imul(rt,Lt)|0,d=d+Math.imul(G,Nt)|0,r=(r=r+Math.imul(G,Ot)|0)+Math.imul(ge,Nt)|0,f=f+Math.imul(ge,Ot)|0,d=d+Math.imul(Be,Ut)|0,r=(r=r+Math.imul(Be,He)|0)+Math.imul(re,Ut)|0,f=f+Math.imul(re,He)|0,d=d+Math.imul(Oe,Ae)|0,r=(r=r+Math.imul(Oe,Me)|0)+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Me)|0,d=d+Math.imul(Q,je)|0,r=(r=r+Math.imul(Q,it)|0)+Math.imul(ae,je)|0,f=f+Math.imul(ae,it)|0,d=d+Math.imul(ie,Se)|0,r=(r=r+Math.imul(ie,ze)|0)+Math.imul(pe,Se)|0,f=f+Math.imul(pe,ze)|0;var kn=(y+(d=d+Math.imul(I,Je)|0)|0)+((8191&(r=(r=r+Math.imul(I,st)|0)+Math.imul(j,Je)|0))<<13)|0;y=((f=f+Math.imul(j,st)|0)+(r>>>13)|0)+(kn>>>26)|0,kn&=67108863,d=Math.imul(At,bt),r=(r=Math.imul(At,wt))+Math.imul(It,bt)|0,f=Math.imul(It,wt),d=d+Math.imul(mt,Bt)|0,r=(r=r+Math.imul(mt,Lt)|0)+Math.imul(ft,Bt)|0,f=f+Math.imul(ft,Lt)|0,d=d+Math.imul(Qe,Nt)|0,r=(r=r+Math.imul(Qe,Ot)|0)+Math.imul(rt,Nt)|0,f=f+Math.imul(rt,Ot)|0,d=d+Math.imul(G,Ut)|0,r=(r=r+Math.imul(G,He)|0)+Math.imul(ge,Ut)|0,f=f+Math.imul(ge,He)|0,d=d+Math.imul(Be,Ae)|0,r=(r=r+Math.imul(Be,Me)|0)+Math.imul(re,Ae)|0,f=f+Math.imul(re,Me)|0,d=d+Math.imul(Oe,je)|0,r=(r=r+Math.imul(Oe,it)|0)+Math.imul(xe,je)|0,f=f+Math.imul(xe,it)|0,d=d+Math.imul(Q,Se)|0,r=(r=r+Math.imul(Q,ze)|0)+Math.imul(ae,Se)|0,f=f+Math.imul(ae,ze)|0,d=d+Math.imul(ie,Je)|0,r=(r=r+Math.imul(ie,st)|0)+Math.imul(pe,Je)|0,f=f+Math.imul(pe,st)|0;var Gn=(y+(d=d+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,vt)|0)+Math.imul(j,yt)|0))<<13)|0;y=((f=f+Math.imul(j,vt)|0)+(r>>>13)|0)+(Gn>>>26)|0,Gn&=67108863,d=Math.imul(St,bt),r=(r=Math.imul(St,wt))+Math.imul(Ft,bt)|0,f=Math.imul(Ft,wt),d=d+Math.imul(At,Bt)|0,r=(r=r+Math.imul(At,Lt)|0)+Math.imul(It,Bt)|0,f=f+Math.imul(It,Lt)|0,d=d+Math.imul(mt,Nt)|0,r=(r=r+Math.imul(mt,Ot)|0)+Math.imul(ft,Nt)|0,f=f+Math.imul(ft,Ot)|0,d=d+Math.imul(Qe,Ut)|0,r=(r=r+Math.imul(Qe,He)|0)+Math.imul(rt,Ut)|0,f=f+Math.imul(rt,He)|0,d=d+Math.imul(G,Ae)|0,r=(r=r+Math.imul(G,Me)|0)+Math.imul(ge,Ae)|0,f=f+Math.imul(ge,Me)|0,d=d+Math.imul(Be,je)|0,r=(r=r+Math.imul(Be,it)|0)+Math.imul(re,je)|0,f=f+Math.imul(re,it)|0,d=d+Math.imul(Oe,Se)|0,r=(r=r+Math.imul(Oe,ze)|0)+Math.imul(xe,Se)|0,f=f+Math.imul(xe,ze)|0,d=d+Math.imul(Q,Je)|0,r=(r=r+Math.imul(Q,st)|0)+Math.imul(ae,Je)|0,f=f+Math.imul(ae,st)|0,d=d+Math.imul(ie,yt)|0,r=(r=r+Math.imul(ie,vt)|0)+Math.imul(pe,yt)|0,f=f+Math.imul(pe,vt)|0;var Xn=(y+(d=d+Math.imul(I,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Rt)|0)+Math.imul(j,Pt)|0))<<13)|0;y=((f=f+Math.imul(j,Rt)|0)+(r>>>13)|0)+(Xn>>>26)|0,Xn&=67108863,d=Math.imul(St,Bt),r=(r=Math.imul(St,Lt))+Math.imul(Ft,Bt)|0,f=Math.imul(Ft,Lt),d=d+Math.imul(At,Nt)|0,r=(r=r+Math.imul(At,Ot)|0)+Math.imul(It,Nt)|0,f=f+Math.imul(It,Ot)|0,d=d+Math.imul(mt,Ut)|0,r=(r=r+Math.imul(mt,He)|0)+Math.imul(ft,Ut)|0,f=f+Math.imul(ft,He)|0,d=d+Math.imul(Qe,Ae)|0,r=(r=r+Math.imul(Qe,Me)|0)+Math.imul(rt,Ae)|0,f=f+Math.imul(rt,Me)|0,d=d+Math.imul(G,je)|0,r=(r=r+Math.imul(G,it)|0)+Math.imul(ge,je)|0,f=f+Math.imul(ge,it)|0,d=d+Math.imul(Be,Se)|0,r=(r=r+Math.imul(Be,ze)|0)+Math.imul(re,Se)|0,f=f+Math.imul(re,ze)|0,d=d+Math.imul(Oe,Je)|0,r=(r=r+Math.imul(Oe,st)|0)+Math.imul(xe,Je)|0,f=f+Math.imul(xe,st)|0,d=d+Math.imul(Q,yt)|0,r=(r=r+Math.imul(Q,vt)|0)+Math.imul(ae,yt)|0,f=f+Math.imul(ae,vt)|0;var jn=(y+(d=d+Math.imul(ie,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(pe,Pt)|0))<<13)|0;y=((f=f+Math.imul(pe,Rt)|0)+(r>>>13)|0)+(jn>>>26)|0,jn&=67108863,d=Math.imul(St,Nt),r=(r=Math.imul(St,Ot))+Math.imul(Ft,Nt)|0,f=Math.imul(Ft,Ot),d=d+Math.imul(At,Ut)|0,r=(r=r+Math.imul(At,He)|0)+Math.imul(It,Ut)|0,f=f+Math.imul(It,He)|0,d=d+Math.imul(mt,Ae)|0,r=(r=r+Math.imul(mt,Me)|0)+Math.imul(ft,Ae)|0,f=f+Math.imul(ft,Me)|0,d=d+Math.imul(Qe,je)|0,r=(r=r+Math.imul(Qe,it)|0)+Math.imul(rt,je)|0,f=f+Math.imul(rt,it)|0,d=d+Math.imul(G,Se)|0,r=(r=r+Math.imul(G,ze)|0)+Math.imul(ge,Se)|0,f=f+Math.imul(ge,ze)|0,d=d+Math.imul(Be,Je)|0,r=(r=r+Math.imul(Be,st)|0)+Math.imul(re,Je)|0,f=f+Math.imul(re,st)|0,d=d+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,vt)|0)+Math.imul(xe,yt)|0,f=f+Math.imul(xe,vt)|0;var $e=(y+(d=d+Math.imul(Q,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Q,Rt)|0)+Math.imul(ae,Pt)|0))<<13)|0;y=((f=f+Math.imul(ae,Rt)|0)+(r>>>13)|0)+($e>>>26)|0,$e&=67108863,d=Math.imul(St,Ut),r=(r=Math.imul(St,He))+Math.imul(Ft,Ut)|0,f=Math.imul(Ft,He),d=d+Math.imul(At,Ae)|0,r=(r=r+Math.imul(At,Me)|0)+Math.imul(It,Ae)|0,f=f+Math.imul(It,Me)|0,d=d+Math.imul(mt,je)|0,r=(r=r+Math.imul(mt,it)|0)+Math.imul(ft,je)|0,f=f+Math.imul(ft,it)|0,d=d+Math.imul(Qe,Se)|0,r=(r=r+Math.imul(Qe,ze)|0)+Math.imul(rt,Se)|0,f=f+Math.imul(rt,ze)|0,d=d+Math.imul(G,Je)|0,r=(r=r+Math.imul(G,st)|0)+Math.imul(ge,Je)|0,f=f+Math.imul(ge,st)|0,d=d+Math.imul(Be,yt)|0,r=(r=r+Math.imul(Be,vt)|0)+Math.imul(re,yt)|0,f=f+Math.imul(re,vt)|0;var lt=(y+(d=d+Math.imul(Oe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(xe,Pt)|0))<<13)|0;y=((f=f+Math.imul(xe,Rt)|0)+(r>>>13)|0)+(lt>>>26)|0,lt&=67108863,d=Math.imul(St,Ae),r=(r=Math.imul(St,Me))+Math.imul(Ft,Ae)|0,f=Math.imul(Ft,Me),d=d+Math.imul(At,je)|0,r=(r=r+Math.imul(At,it)|0)+Math.imul(It,je)|0,f=f+Math.imul(It,it)|0,d=d+Math.imul(mt,Se)|0,r=(r=r+Math.imul(mt,ze)|0)+Math.imul(ft,Se)|0,f=f+Math.imul(ft,ze)|0,d=d+Math.imul(Qe,Je)|0,r=(r=r+Math.imul(Qe,st)|0)+Math.imul(rt,Je)|0,f=f+Math.imul(rt,st)|0,d=d+Math.imul(G,yt)|0,r=(r=r+Math.imul(G,vt)|0)+Math.imul(ge,yt)|0,f=f+Math.imul(ge,vt)|0;var Tt=(y+(d=d+Math.imul(Be,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Be,Rt)|0)+Math.imul(re,Pt)|0))<<13)|0;y=((f=f+Math.imul(re,Rt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,d=Math.imul(St,je),r=(r=Math.imul(St,it))+Math.imul(Ft,je)|0,f=Math.imul(Ft,it),d=d+Math.imul(At,Se)|0,r=(r=r+Math.imul(At,ze)|0)+Math.imul(It,Se)|0,f=f+Math.imul(It,ze)|0,d=d+Math.imul(mt,Je)|0,r=(r=r+Math.imul(mt,st)|0)+Math.imul(ft,Je)|0,f=f+Math.imul(ft,st)|0,d=d+Math.imul(Qe,yt)|0,r=(r=r+Math.imul(Qe,vt)|0)+Math.imul(rt,yt)|0,f=f+Math.imul(rt,vt)|0;var Mt=(y+(d=d+Math.imul(G,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(G,Rt)|0)+Math.imul(ge,Pt)|0))<<13)|0;y=((f=f+Math.imul(ge,Rt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,d=Math.imul(St,Se),r=(r=Math.imul(St,ze))+Math.imul(Ft,Se)|0,f=Math.imul(Ft,ze),d=d+Math.imul(At,Je)|0,r=(r=r+Math.imul(At,st)|0)+Math.imul(It,Je)|0,f=f+Math.imul(It,st)|0,d=d+Math.imul(mt,yt)|0,r=(r=r+Math.imul(mt,vt)|0)+Math.imul(ft,yt)|0,f=f+Math.imul(ft,vt)|0;var kt=(y+(d=d+Math.imul(Qe,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(Qe,Rt)|0)+Math.imul(rt,Pt)|0))<<13)|0;y=((f=f+Math.imul(rt,Rt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,d=Math.imul(St,Je),r=(r=Math.imul(St,st))+Math.imul(Ft,Je)|0,f=Math.imul(Ft,st),d=d+Math.imul(At,yt)|0,r=(r=r+Math.imul(At,vt)|0)+Math.imul(It,yt)|0,f=f+Math.imul(It,vt)|0;var Zt=(y+(d=d+Math.imul(mt,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(mt,Rt)|0)+Math.imul(ft,Pt)|0))<<13)|0;y=((f=f+Math.imul(ft,Rt)|0)+(r>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,d=Math.imul(St,yt),r=(r=Math.imul(St,vt))+Math.imul(Ft,yt)|0,f=Math.imul(Ft,vt);var qt=(y+(d=d+Math.imul(At,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(At,Rt)|0)+Math.imul(It,Pt)|0))<<13)|0;y=((f=f+Math.imul(It,Rt)|0)+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863;var Qt=(y+(d=Math.imul(St,Pt))|0)+((8191&(r=(r=Math.imul(St,Rt))+Math.imul(Ft,Pt)|0))<<13)|0;return y=((f=Math.imul(Ft,Rt))+(r>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v[0]=On,v[1]=An,v[2]=Bn,v[3]=Mn,v[4]=Wn,v[5]=Ln,v[6]=Fn,v[7]=kn,v[8]=Gn,v[9]=Xn,v[10]=jn,v[11]=$e,v[12]=lt,v[13]=Tt,v[14]=Mt,v[15]=kt,v[16]=Zt,v[17]=qt,v[18]=Qt,0!==y&&(v[19]=y,l.length++),l};function k(g,n,o){return(new M).mulp(g,n,o)}function M(g,n){this.x=g,this.y=n}Math.imul||(R=w),c.prototype.mulTo=function(n,o){var l,s=this.length+n.length;return l=10===this.length&&10===n.length?R(this,n,o):s<63?w(this,n,o):s<1024?function $(g,n,o){o.negative=n.negative^g.negative,o.length=g.length+n.length;for(var l=0,s=0,h=0;h>>26)|0)>>>26,v&=67108863}o.words[h]=y,l=v,v=s}return 0!==l?o.words[h]=l:o.length--,o.strip()}(this,n,o):k(this,n,o),l},M.prototype.makeRBT=function(n){for(var o=new Array(n),l=c.prototype._countBits(n)-1,s=0;s>=1;return s},M.prototype.permute=function(n,o,l,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[l]=67108863&h}return 0!==o&&(this.words[l]=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(g){for(var n=new Array(g.bitLength()),o=0;o>>s}return n}(n);if(0===o.length)return new c(1);for(var l=this,s=0;s=0);var h,o=n%26,l=(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!==l){for(h=this.length-1;h>=0;h--)this.words[h+l]=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!==f||r>=s);r--){var L=0|this.words[r];this.words[r]=f<<26-h|L>>>h,f=L&y}return d&&0!==f&&(d.words[d.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,l){return p(0===this.negative),this.iushrn(n,o,l)},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,l=(n-o)/26;return!(this.length<=l||!(this.words[l]&1<=0);var o=n%26,l=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=l?this:(0!==o&&l++,this.length=Math.min(l,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)-(d/67108864|0),this.words[h+l]=67108863&v}for(;h>26,this.words[h+l]=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 l,s=this.clone(),h=n,v=0|h.words[h.length-1];0!=(l=26-this._countBits(v))&&(h=h.ushln(l),s.iushln(l),v=0|h.words[h.length-1]);var r,d=s.length-h.length;if("mod"!==o){(r=new c(null)).length=d+1,r.words=new Array(r.length);for(var f=0;f=0;I--){var j=67108864*(0|s.words[h.length+I])+(0|s.words[h.length+I-1]);for(j=Math.min(j/v|0,67108863),s._ishlnsubmul(h,j,I);0!==s.negative;)j--,s.negative=0,s._ishlnsubmul(h,1,I),s.isZero()||(s.negative^=1);r&&(r.words[I]=j)}return r&&r.strip(),s.strip(),"div"!==o&&0!==l&&s.iushrn(l),{div:r||null,mod:s}},c.prototype.divmod=function(n,o,l){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(),l&&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(),l&&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 l=0!==o.div.negative?o.mod.isub(n):o.mod,s=n.ushrn(1),h=n.andln(1),v=l.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,l=0,s=this.length-1;s>=0;s--)l=(o*l+(0|this.words[s]))%n;return l},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,l=this.length-1;l>=0;l--){var s=(0|this.words[l])+67108864*o;this.words[l]=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,l=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),d=0;o.isEven()&&l.isEven();)o.iushrn(1),l.iushrn(1),++d;for(var r=l.clone(),f=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(f)),s.iushrn(1),h.iushrn(1);for(var j=0,J=1;!(l.words[0]&J)&&j<26;++j,J<<=1);if(j>0)for(l.iushrn(j);j-- >0;)(v.isOdd()||y.isOdd())&&(v.iadd(r),y.isub(f)),v.iushrn(1),y.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(v),h.isub(y)):(l.isub(o),v.isub(s),y.isub(h))}return{a:v,b:y,gcd:l.iushln(d)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var L,o=this,l=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var s=new c(1),h=new c(0),v=l.clone();o.cmpn(1)>0&&l.cmpn(1)>0;){for(var y=0,d=1;!(o.words[0]&d)&&y<26;++y,d<<=1);if(y>0)for(o.iushrn(y);y-- >0;)s.isOdd()&&s.iadd(v),s.iushrn(1);for(var r=0,f=1;!(l.words[0]&f)&&r<26;++r,f<<=1);if(r>0)for(l.iushrn(r);r-- >0;)h.isOdd()&&h.iadd(v),h.iushrn(1);o.cmp(l)>=0?(o.isub(l),s.isub(h)):(l.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(),l=n.clone();o.negative=0,l.negative=0;for(var s=0;o.isEven()&&l.isEven();s++)o.iushrn(1),l.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;l.isEven();)l.iushrn(1);var h=o.cmp(l);if(h<0){var v=o;o=l,l=v}else if(0===h||0===l.cmpn(1))break;o.isub(l)}return l.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,l=(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 l,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)l=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var s=0|this.words[0];l=s===n?0:sn.length)return 1;if(this.length=0;l--){var s=0|this.words[l],h=0|n.words[l];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 P={k256:null,p224:null,p192:null,p25519:null};function U(g,n){this.name=g,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 V(){U.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){U.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){U.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function me(){U.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function te(g){if("string"==typeof g){var n=c._prime(g);this.m=n.p,this.prime=n}else p(g.gtn(1),"modulus must be greater than 1"),this.m=g,this.prime=null}function se(g){te.call(this,g),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 l,o=n;do{this.split(o,this.tmp),l=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(l>this.n);var s=l0?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(V,U),V.prototype.split=function(n,o){for(var l=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},V.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,l=0;l>>=26,n.words[l]=h,o=s}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(P[n])return P[n];var o;if("k256"===n)o=new V;else if("p224"===n)o=new W;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new me}return P[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 l=n.add(o);return l.cmp(this.m)>=0&&l.isub(this.m),l._forceRed(this)},te.prototype.iadd=function(n,o){this._verify2(n,o);var l=n.iadd(o);return l.cmp(this.m)>=0&&l.isub(this.m),l},te.prototype.sub=function(n,o){this._verify2(n,o);var l=n.sub(o);return l.cmpn(0)<0&&l.iadd(this.m),l._forceRed(this)},te.prototype.isub=function(n,o){this._verify2(n,o);var l=n.isub(o);return l.cmpn(0)<0&&l.iadd(this.m),l},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 l=this.m.add(new c(1)).iushrn(2);return this.pow(n,l)}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(),d=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,d).cmp(y);)r.redIAdd(y);for(var f=this.pow(r,s),L=this.pow(n,s.addn(1).iushrn(1)),I=this.pow(n,s),j=h;0!==I.cmp(v);){for(var J=I,ie=0;0!==J.cmp(v);ie++)J=J.redSqr();p(ie=0;h--){for(var f=o.words[h],L=r-1;L>=0;L--){var I=f>>L&1;v!==s[0]&&(v=this.sqr(v)),0!==I||0!==y?(y<<=1,y|=I,(4==++d||0===h&&0===L)&&(v=this.mul(v,s[y]),d=0,y=0)):d=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 l=n.imul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.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 l=n.mul(o),s=l.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),h=l.isub(s).iushrn(this.shift),v=h;return h.cmp(this.m)>=0?v=h.isub(this.m):h.cmpn(0)<0&&(v=h.iadd(this.m)),v._forceRed(this)},se.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ce=E.nmd(Ce),this)},8613:(Ce,ee,E)=>{var a=E(5667),S=E(715),p=E(7196),O=E(6508),c=E(4105),D=E(7211),C=E(568),_=E(7054).Buffer;Ce.exports=function(A,w,R){var $;$=A.padding?A.padding:R?1:4;var P,k=a(A),M=k.modulus.byteLength();if(w.length>M||new O(w).cmp(k.modulus)>=0)throw new Error("decryption error");P=R?C(new O(w),k):c(w,k);var U=_.alloc(M-P.length);if(P=_.concat([U,P],M),4===$)return function F(T,A){var w=T.modulus.byteLength(),R=D("sha1").update(_.alloc(0)).digest(),$=R.length;if(0!==A[0])throw new Error("decryption error");var k=A.slice(1,$+1),M=A.slice($+1),P=p(k,S(M,$)),U=p(M,S(P,w-$-1));if(function m(T,A){T=_.from(T),A=_.from(A);var w=0,R=T.length;T.length!==A.length&&(w++,R=Math.min(T.length,A.length));for(var $=-1;++$=A.length){k++;break}var M=A.slice(2,$-1);if(("0002"!==R.toString("hex")&&!w||"0001"!==R.toString("hex")&&w)&&k++,M.length<8&&k++,k)throw new Error("decryption error");return A.slice($)}(0,P,R);if(3===$)return P;throw new Error("unknown padding")}},7267:(Ce,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),F=E(7054).Buffer;Ce.exports=function(w,R,$){var k;k=w.padding?w.padding:$?1:4;var P,M=a(w);if(4===k)P=function B(A,w){var R=A.modulus.byteLength(),$=w.length,k=p("sha1").update(F.alloc(0)).digest(),M=k.length,P=2*M;if($>R-P-2)throw new Error("message too long");var U=F.alloc(R-$-P-2),V=R-M-1,W=S(M),oe=c(F.concat([k,U,F.alloc(1,1),w],V),O(W,V)),me=c(W,O(oe,M));return new D(F.concat([F.alloc(1),me,oe],R))}(M,R);else if(1===k)P=function m(A,w,R){var M,$=w.length,k=A.modulus.byteLength();if($>k-11)throw new Error("message too long");return M=R?F.alloc(k-$-3,255):function T(A){for(var M,w=F.allocUnsafe(A),R=0,$=S(2*A),k=0;R=0)throw new Error("data too long for modulus")}return $?_(P,M):C(P,M)}},568:(Ce,ee,E)=>{var a=E(6508),S=E(7054).Buffer;Ce.exports=function p(O,c){return S.from(O.toRed(a.mont(c.modulus)).redPow(new a(c.publicExponent)).fromRed().toArray())}},7196:Ce=>{Ce.exports=function(E,a){for(var S=E.length,p=-1;++p{"use strict";var a=65536,O=E(7054).Buffer,c=global.crypto||global.msCrypto;Ce.exports=c&&c.getRandomValues?function D(C,_){if(C>4294967295)throw new RangeError("requested too many random bytes");var F=O.allocUnsafe(C);if(C>0)if(C>a)for(var B=0;B{"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,w){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>w)throw new RangeError("offset out of range")}function F(A,w,R){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+w>R||A>c)throw new RangeError("buffer too small")}function m(A,w,R,$){if(process.browser){var M=new Uint8Array(A.buffer,w,R);return D.getRandomValues(M),$?void process.nextTick(function(){$(null,A)}):A}if(!$)return p(R).copy(A,w),A;p(R,function(U,V){if(U)return $(U);V.copy(A,w),$(null,A)})}D&&D.getRandomValues||!process.browser?(ee.randomFill=function B(A,w,R,$){if(!(O.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof w)$=w,w=0,R=A.length;else if("function"==typeof R)$=R,R=A.length-w;else if("function"!=typeof $)throw new TypeError('"cb" argument must be a function');return _(w,A.length),F(R,w,A.length),m(A,w,R,$)},ee.randomFillSync=function T(A,w,R){if(typeof w>"u"&&(w=0),!(O.isBuffer(A)||A instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return _(w,A.length),void 0===R&&(R=A.length-w),F(R,w,A.length),m(A,w,R)}):(ee.randomFill=a,ee.randomFillSync=a)},4075:(Ce,ee,E)=>{"use strict";var a=E(9656),S=Object.keys||function(T){var A=[];for(var w in T)A.push(w);return A};Ce.exports=F;var p=Object.create(E(7637));p.inherits=E(1993);var O=E(9609),c=E(7849);p.inherits(F,O);for(var D=S(c.prototype),C=0;C{"use strict";Ce.exports=p;var a=E(2909),S=Object.create(E(7637));function p(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:(Ce,ee,E)=>{"use strict";var a=E(9656);Ce.exports=U;var p,S=E(53);U.ReadableState=P,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(){},m=Object.create(E(7637));m.inherits=E(1993);var T=E(9838),A=void 0;A=T&&T.debuglog?T.debuglog("stream"):function(){};var $,w=E(7809),R=E(1509);m.inherits(U,D);var k=["error","close","destroy","pause","resume"];function P(Q,ae){var qe=ae instanceof(p=p||E(4075));this.objectMode=!!(Q=Q||{}).objectMode,qe&&(this.objectMode=this.objectMode||!!Q.readableObjectMode);var Oe=Q.highWaterMark,xe=Q.readableHighWaterMark;this.highWaterMark=Oe||0===Oe?Oe:qe&&(xe||0===xe)?xe:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new w,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 P(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 V(Q,ae,qe,Oe,xe){var Be,Te=Q._readableState;return null===ae?(Te.reading=!1,function n(Q,ae){if(!ae.ended){if(ae.decoder){var qe=ae.decoder.end();qe&&qe.length&&(ae.buffer.push(qe),ae.length+=ae.objectMode?1:qe.length)}ae.ended=!0,o(Q)}}(Q,Te)):(xe||(Be=function oe(Q,ae){var qe;return!function B(Q){return C.isBuffer(Q)||Q instanceof _}(ae)&&"string"!=typeof ae&&void 0!==ae&&!Q.objectMode&&(qe=new TypeError("Invalid non-string/buffer chunk")),qe}(Te,ae)),Be?Q.emit("error",Be):Te.objectMode||ae&&ae.length>0?("string"!=typeof ae&&!Te.objectMode&&Object.getPrototypeOf(ae)!==C.prototype&&(ae=function F(Q){return C.from(Q)}(ae)),Oe?Te.endEmitted?Q.emit("error",new Error("stream.unshift() after end event")):W(Q,Te,ae,!0):Te.ended?Q.emit("error",new Error("stream.push() after EOF")):(Te.reading=!1,Te.decoder&&!qe?(ae=Te.decoder.write(ae),Te.objectMode||0!==ae.length?W(Q,Te,ae,!1):s(Q,Te)):W(Q,Te,ae,!1))):Oe||(Te.reading=!1)),function me(Q){return!Q.ended&&(Q.needReadable||Q.lengthae.highWaterMark&&(ae.highWaterMark=function se(Q){return Q>=8388608?Q=8388608:(Q--,Q|=Q>>>1,Q|=Q>>>2,Q|=Q>>>4,Q|=Q>>>8,Q|=Q>>>16,Q++),Q}(Q)),Q<=ae.length?Q:ae.ended?ae.length:(ae.needReadable=!0,0))}function o(Q){var ae=Q._readableState;ae.needReadable=!1,ae.emittedReadable||(A("emitReadable",ae.flowing),ae.emittedReadable=!0,ae.sync?a.nextTick(l,Q):l(Q))}function l(Q){A("emit readable"),Q.emit("readable"),f(Q)}function s(Q,ae){ae.readingMore||(ae.readingMore=!0,a.nextTick(h,Q,ae))}function h(Q,ae){for(var qe=ae.length;!ae.reading&&!ae.flowing&&!ae.ended&&ae.length=ae.length?(qe=ae.decoder?ae.buffer.join(""):1===ae.buffer.length?ae.buffer.head.data:ae.buffer.concat(ae.length),ae.buffer.clear()):qe=function I(Q,ae,qe){var Oe;return QTe.length?Te.length:Q;if(xe+=Be===Te.length?Te:Te.slice(0,Q),0==(Q-=Be)){Be===Te.length?(++Oe,ae.head=qe.next?qe.next:ae.tail=null):(ae.head=qe,qe.data=Te.slice(Be));break}++Oe}return ae.length-=Oe,xe}(Q,ae):function J(Q,ae){var qe=C.allocUnsafe(Q),Oe=ae.head,xe=1;for(Oe.data.copy(qe),Q-=Oe.data.length;Oe=Oe.next;){var Te=Oe.data,Be=Q>Te.length?Te.length:Q;if(Te.copy(qe,qe.length-Q,0,Be),0==(Q-=Be)){Be===Te.length?(++xe,ae.head=Oe.next?Oe.next:ae.tail=null):(ae.head=Oe,Oe.data=Te.slice(Be));break}++xe}return ae.length-=xe,qe}(Q,ae),Oe}(Q,ae.buffer,ae.decoder),qe);var qe}function ie(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(pe,ae,Q))}function pe(Q,ae){!Q.endEmitted&&0===Q.length&&(Q.endEmitted=!0,ae.readable=!1,ae.emit("end"))}function De(Q,ae){for(var qe=0,Oe=Q.length;qe=ae.highWaterMark||ae.ended))return A("read: emitReadable",ae.length,ae.ended),0===ae.length&&ae.ended?ie(this):o(this),null;if(0===(Q=g(Q,ae))&&ae.ended)return 0===ae.length&&ie(this),null;var xe,Oe=ae.needReadable;return A("need readable",Oe),(0===ae.length||ae.length-Q0?L(Q,ae):null)?(ae.needReadable=!0,Q=0):ae.length-=Q,0===ae.length&&(ae.ended||(ae.needReadable=!0),qe!==Q&&ae.ended&&ie(this)),null!==xe&&this.emit("data",xe),xe},U.prototype._read=function(Q){this.emit("error",new Error("_read() is not implemented"))},U.prototype.pipe=function(Q,ae){var qe=this,Oe=this._readableState;switch(Oe.pipesCount){case 0:Oe.pipes=Q;break;case 1:Oe.pipes=[Oe.pipes,Q];break;default:Oe.pipes.push(Q)}Oe.pipesCount+=1,A("pipe count=%d opts=%j",Oe.pipesCount,ae);var Te=ae&&!1===ae.end||Q===process.stdout||Q===process.stderr?ft:re;function re(){A("onend"),Q.end()}Oe.endEmitted?a.nextTick(Te):qe.once("end",Te),Q.on("unpipe",function Be(un,At){A("onunpipe"),un===qe&&At&&!1===At.hasUnpiped&&(At.hasUnpiped=!0,function ge(){A("cleanup"),Q.removeListener("close",rn),Q.removeListener("finish",mt),Q.removeListener("drain",ne),Q.removeListener("error",rt),Q.removeListener("unpipe",Be),qe.removeListener("end",re),qe.removeListener("end",ft),qe.removeListener("data",Qe),G=!0,Oe.awaitDrain&&(!Q._writableState||Q._writableState.needDrain)&&ne()}())});var ne=function v(Q){return function(){var ae=Q._readableState;A("pipeOnDrain",ae.awaitDrain),ae.awaitDrain&&ae.awaitDrain--,0===ae.awaitDrain&&c(Q,"data")&&(ae.flowing=!0,f(Q))}}(qe);Q.on("drain",ne);var G=!1,xt=!1;function Qe(un){A("ondata"),xt=!1,!1===Q.write(un)&&!xt&&((1===Oe.pipesCount&&Oe.pipes===Q||Oe.pipesCount>1&&-1!==De(Oe.pipes,Q))&&!G&&(A("false write response, pause",Oe.awaitDrain),Oe.awaitDrain++,xt=!0),qe.pause())}function rt(un){A("onerror",un),ft(),Q.removeListener("error",rt),0===c(Q,"error")&&Q.emit("error",un)}function rn(){Q.removeListener("finish",mt),ft()}function mt(){A("onfinish"),Q.removeListener("close",rn),ft()}function ft(){A("unpipe"),qe.unpipe(Q)}return qe.on("data",Qe),function M(Q,ae,qe){if("function"==typeof Q.prependListener)return Q.prependListener(ae,qe);Q._events&&Q._events[ae]?S(Q._events[ae])?Q._events[ae].unshift(qe):Q._events[ae]=[qe,Q._events[ae]]:Q.on(ae,qe)}(Q,"error",rt),Q.once("close",rn),Q.once("finish",mt),Q.emit("pipe",qe),Oe.flowing||(A("pipe resume"),qe.resume()),Q},U.prototype.unpipe=function(Q){var ae=this._readableState,qe={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,qe)),this;if(!Q){var Oe=ae.pipes,xe=ae.pipesCount;ae.pipes=null,ae.pipesCount=0,ae.flowing=!1;for(var Te=0;Te{"use strict";Ce.exports=O;var a=E(4075),S=Object.create(E(7637));function p(C,_){var F=this._transformState;F.transforming=!1;var B=F.writecb;if(!B)return this.emit("error",new Error("write callback called multiple times"));F.writechunk=null,F.writecb=null,null!=_&&this.push(_),B(C);var m=this._readableState;m.reading=!1,(m.needReadable||m.length{"use strict";var a=E(9656);function p(d){var r=this;this.next=null,this.entry=null,this.finish=function(){!function y(d,r,f){var L=d.entry;for(d.entry=null;L;){var I=L.callback;r.pendingcb--,I(f),L=L.next}r.corkedRequestsFree.next=d}(r,d)}}Ce.exports=k;var c,O=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;k.WritableState=R;var D=Object.create(E(7637));D.inherits=E(1993);var $,C={deprecate:E(3398)},_=E(8342),F=E(2655).Buffer,B=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},A=E(1509);function w(){}function R(d,r){c=c||E(4075);var f=r instanceof c;this.objectMode=!!(d=d||{}).objectMode,f&&(this.objectMode=this.objectMode||!!d.writableObjectMode);var L=d.highWaterMark,I=d.writableHighWaterMark;this.highWaterMark=L||0===L?L:f&&(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===d.decodeStrings),this.defaultEncoding=d.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ie){!function te(d,r){var f=d._writableState,L=f.sync,I=f.writecb;if(function me(d){d.writing=!1,d.writecb=null,d.length-=d.writelen,d.writelen=0}(f),r)!function oe(d,r,f,L,I){--r.pendingcb,f?(a.nextTick(I,L),a.nextTick(h,d,r),d._writableState.errorEmitted=!0,d.emit("error",L)):(I(L),d._writableState.errorEmitted=!0,d.emit("error",L),h(d,r))}(d,f,L,r,I);else{var j=o(f);!j&&!f.corked&&!f.bufferProcessing&&f.bufferedRequest&&n(d,f),L?O(se,d,f,j,I):se(d,f,j,I)}}(r,ie)},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(d){if(c=c||E(4075),!($.call(k,this)||this instanceof c))return new k(d);this._writableState=new R(d,this),this.writable=!0,d&&("function"==typeof d.write&&(this._write=d.write),"function"==typeof d.writev&&(this._writev=d.writev),"function"==typeof d.destroy&&(this._destroy=d.destroy),"function"==typeof d.final&&(this._final=d.final)),_.call(this)}function W(d,r,f,L,I,j,J){r.writelen=L,r.writecb=J,r.writing=!0,r.sync=!0,f?d._writev(I,r.onwrite):d._write(I,j,r.onwrite),r.sync=!1}function se(d,r,f,L){f||function g(d,r){0===r.length&&r.needDrain&&(r.needDrain=!1,d.emit("drain"))}(d,r),r.pendingcb--,L(),h(d,r)}function n(d,r){r.bufferProcessing=!0;var f=r.bufferedRequest;if(d._writev&&f&&f.next){var I=new Array(r.bufferedRequestCount),j=r.corkedRequestsFree;j.entry=f;for(var J=0,ie=!0;f;)I[J]=f,f.isBuf||(ie=!1),f=f.next,J+=1;I.allBuffers=ie,W(d,r,!0,r.length,I,"",j.finish),r.pendingcb++,r.lastBufferedRequest=null,j.next?(r.corkedRequestsFree=j.next,j.next=null):r.corkedRequestsFree=new p(r),r.bufferedRequestCount=0}else{for(;f;){var pe=f.chunk;if(W(d,r,!1,r.objectMode?1:pe.length,pe,f.encoding,f.callback),f=f.next,r.bufferedRequestCount--,r.writing)break}null===f&&(r.lastBufferedRequest=null)}r.bufferedRequest=f,r.bufferProcessing=!1}function o(d){return d.ending&&0===d.length&&null===d.bufferedRequest&&!d.finished&&!d.writing}function l(d,r){d._final(function(f){r.pendingcb--,f&&d.emit("error",f),r.prefinished=!0,d.emit("prefinish"),h(d,r)})}function h(d,r){var f=o(r);return f&&(function s(d,r){!r.prefinished&&!r.finalCalled&&("function"==typeof d._final?(r.pendingcb++,r.finalCalled=!0,a.nextTick(l,d,r)):(r.prefinished=!0,d.emit("prefinish")))}(d,r),0===r.pendingcb&&(r.finished=!0,d.emit("finish"))),f}D.inherits(k,_),R.prototype.getBuffer=function(){for(var r=this.bufferedRequest,f=[];r;)f.push(r),r=r.next;return f},function(){try{Object.defineProperty(R.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(d){return!!$.call(this,d)||this===k&&d&&d._writableState instanceof R}})):$=function(d){return d instanceof this},k.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},k.prototype.write=function(d,r,f){var L=this._writableState,I=!1,j=!L.objectMode&&function T(d){return F.isBuffer(d)||d instanceof B}(d);return j&&!F.isBuffer(d)&&(d=function m(d){return F.from(d)}(d)),"function"==typeof r&&(f=r,r=null),j?r="buffer":r||(r=L.defaultEncoding),"function"!=typeof f&&(f=w),L.ended?function M(d,r){var f=new Error("write after end");d.emit("error",f),a.nextTick(r,f)}(this,f):(j||function P(d,r,f,L){var I=!0,j=!1;return null===f?j=new TypeError("May not write null values to stream"):"string"!=typeof f&&void 0!==f&&!r.objectMode&&(j=new TypeError("Invalid non-string/buffer chunk")),j&&(d.emit("error",j),a.nextTick(L,j),I=!1),I}(this,L,d,f))&&(L.pendingcb++,I=function V(d,r,f,L,I,j){if(!f){var J=function U(d,r,f){return!d.objectMode&&!1!==d.decodeStrings&&"string"==typeof r&&(r=F.from(r,f)),r}(r,L,I);L!==J&&(f=!0,I="buffer",L=J)}var ie=r.objectMode?1:L.length;r.length+=ie;var pe=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(d,r,f){f(new Error("_write() is not implemented"))},k.prototype._writev=null,k.prototype.end=function(d,r,f){var L=this._writableState;"function"==typeof d?(f=d,d=null,r=null):"function"==typeof r&&(f=r,r=null),null!=d&&this.write(d,r),L.corked&&(L.corked=1,this.uncork()),L.ending||function v(d,r,f){r.ending=!0,h(d,r),f&&(r.finished?a.nextTick(f):d.once("finish",f)),r.ended=!0,d.writable=!1}(this,L,f)},Object.defineProperty(k.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(d){this._writableState&&(this._writableState.destroyed=d)}}),k.prototype.destroy=A.destroy,k.prototype._undestroy=A.undestroy,k.prototype._destroy=function(d,r){this.end(),r(d)}},7809:(Ce,ee,E)=>{"use strict";var S=E(2655).Buffer,p=E(5340);function O(c,D,C){c.copy(D,C)}Ce.exports=function(){function c(){(function a(c,D){if(!(c instanceof D))throw new TypeError("Cannot call a class as a function")})(this,c),this.head=null,this.tail=null,this.length=0}return c.prototype.push=function(C){var _={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,F=""+_.data;_=_.next;)F+=C+_.data;return F},c.prototype.concat=function(C){if(0===this.length)return S.alloc(0);for(var _=S.allocUnsafe(C>>>0),F=this.head,B=0;F;)O(F.data,_,B),B+=F.data.length,F=F.next;return _},c}(),p&&p.inspect&&p.inspect.custom&&(Ce.exports.prototype[p.inspect.custom]=function(){var c=p.inspect({length:this.length});return this.constructor.name+" "+c})},1509:(Ce,ee,E)=>{"use strict";var a=E(9656);function O(c,D){c.emit("error",D)}Ce.exports={destroy:function S(c,D){var C=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(D?D(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,a.nextTick(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(B){!D&&B?C._writableState?C._writableState.errorEmitted||(C._writableState.errorEmitted=!0,a.nextTick(O,C,B)):a.nextTick(O,C,B):D&&D(B)}),this)},undestroy:function p(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},8342:(Ce,ee,E)=>{Ce.exports=E(4356).EventEmitter},2655:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.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:(Ce,ee,E)=>{(ee=Ce.exports=E(9609)).Stream=ee,ee.Readable=ee,ee.Writable=E(7849),ee.Duplex=E(4075),ee.Transform=E(2909),ee.PassThrough=E(8823)},6636:(Ce,ee,E)=>{"use strict";var a=E(3838).Buffer,S=E(1993),p=E(3686),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],F=[0,1518500249,1859775393,2400959708,2840853838],B=[1352829926,1548603684,1836072691,2053994217,0];function m(){p.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function T(M,P){return M<>>32-P}function A(M,P,U,V,W,oe,me,te){return T(M+(P^U^V)+oe+me|0,te)+W|0}function w(M,P,U,V,W,oe,me,te){return T(M+(P&U|~P&V)+oe+me|0,te)+W|0}function R(M,P,U,V,W,oe,me,te){return T(M+((P|~U)^V)+oe+me|0,te)+W|0}function $(M,P,U,V,W,oe,me,te){return T(M+(P&V|U&~V)+oe+me|0,te)+W|0}function k(M,P,U,V,W,oe,me,te){return T(M+(P^(U|~V))+oe+me|0,te)+W|0}S(m,p),m.prototype._update=function(){for(var M=O,P=0;P<16;++P)M[P]=this._block.readInt32LE(4*P);for(var U=0|this._a,V=0|this._b,W=0|this._c,oe=0|this._d,me=0|this._e,te=0|this._a,se=0|this._b,g=0|this._c,n=0|this._d,o=0|this._e,l=0;l<80;l+=1){var s,h;l<16?(s=A(U,V,W,oe,me,M[c[l]],F[0],C[l]),h=k(te,se,g,n,o,M[D[l]],B[0],_[l])):l<32?(s=w(U,V,W,oe,me,M[c[l]],F[1],C[l]),h=$(te,se,g,n,o,M[D[l]],B[1],_[l])):l<48?(s=R(U,V,W,oe,me,M[c[l]],F[2],C[l]),h=R(te,se,g,n,o,M[D[l]],B[2],_[l])):l<64?(s=$(U,V,W,oe,me,M[c[l]],F[3],C[l]),h=w(te,se,g,n,o,M[D[l]],B[3],_[l])):(s=k(U,V,W,oe,me,M[c[l]],F[4],C[l]),h=A(te,se,g,n,o,M[D[l]],B[4],_[l])),U=me,me=oe,oe=T(W,10),W=V,V=s,te=o,o=n,n=T(g,10),g=se,se=h}var v=this._b+W+n|0;this._b=this._c+oe+o|0,this._c=this._d+me+te|0,this._d=this._e+U+se|0,this._e=this._a+V+g|0,this._a=v},m.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var M=a.alloc?a.alloc(20):new a(20);return M.writeInt32LE(this._a,0),M.writeInt32LE(this._b,4),M.writeInt32LE(this._c,8),M.writeInt32LE(this._d,12),M.writeInt32LE(this._e,16),M},Ce.exports=m},4412:(Ce,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:(Ce,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 T{constructor(w){w&&(this._subscribe=w)}lift(w){const R=new T;return R.source=this,R.operator=w,R}subscribe(w,R,$){const k=function m(T){return T&&T instanceof a.vU||function B(T){return T&&(0,D.T)(T.next)&&(0,D.T)(T.error)&&(0,D.T)(T.complete)}(T)&&(0,S.Uv)(T)}(w)?w:new a.Ms(w,R,$);return(0,C.Y)(()=>{const{operator:M,source:P}=this;k.add(M?M.call(k,P):P?this._subscribe(k):this._trySubscribe(k))}),k}_trySubscribe(w){try{return this._subscribe(w)}catch(R){w.error(R)}}forEach(w,R){return new(R=F(R))(($,k)=>{const M=new a.Ms({next:P=>{try{w(P)}catch(U){k(U),M.unsubscribe()}},error:k,complete:$});this.subscribe(M)})}_subscribe(w){var R;return null===(R=this.source)||void 0===R?void 0:R.subscribe(w)}[p.s](){return this}pipe(...w){return(0,O.m)(w)(this)}toPromise(w){return new(w=F(w))((R,$)=>{let k;this.subscribe(M=>k=M,M=>$(M),()=>R(k))})}}return T.create=A=>new T(A),T})();function F(T){var A;return null!==(A=null!=T?T:c.$.Promise)&&void 0!==A?A:Promise}},2771:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>p});var a=E(1413),S=E(6129);class p extends a.B{constructor(c=1/0,D=1/0,C=S.U){super(),this._bufferSize=c,this._windowTime=D,this._timestampProvider=C,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=D===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,D)}next(c){const{isStopped:D,_buffer:C,_infiniteTimeWindow:_,_timestampProvider:F,_windowTime:B}=this;D||(C.push(c),!_&&C.push(F.now()+B)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const D=this._innerSubscribe(c),{_infiniteTimeWindow:C,_buffer:_}=this,F=_.slice();for(let B=0;B{"use strict";E.d(ee,{B:()=>C});var a=E(1985),S=E(8359);const O=(0,E(1853).L)(F=>function(){F(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=E(7908),D=E(9786);let C=(()=>{class F extends a.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(m){const T=new _(this,this);return T.operator=m,T}_throwIfClosed(){if(this.closed)throw new O}next(m){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const T of this.currentObservers)T.next(m)}})}error(m){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=m;const{observers:T}=this;for(;T.length;)T.shift().error(m)}})}complete(){(0,D.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:m}=this;for(;m.length;)m.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var m;return(null===(m=this.observers)||void 0===m?void 0:m.length)>0}_trySubscribe(m){return this._throwIfClosed(),super._trySubscribe(m)}_subscribe(m){return this._throwIfClosed(),this._checkFinalizedStatuses(m),this._innerSubscribe(m)}_innerSubscribe(m){const{hasError:T,isStopped:A,observers:w}=this;return T||A?S.Kn:(this.currentObservers=null,w.push(m),new S.yU(()=>{this.currentObservers=null,(0,c.o)(w,m)}))}_checkFinalizedStatuses(m){const{hasError:T,thrownError:A,isStopped:w}=this;T?m.error(A):w&&m.complete()}asObservable(){const m=new a.c;return m.source=this,m}}return F.create=(B,m)=>new _(B,m),F})();class _ extends C{constructor(B,m){super(),this.destination=B,this.source=m}next(B){var m,T;null===(T=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===T||T.call(m,B)}error(B){var m,T;null===(T=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===T||T.call(m,B)}complete(){var B,m;null===(m=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===m||m.call(B)}_subscribe(B){var m,T;return null!==(T=null===(m=this.source)||void 0===m?void 0:m.subscribe(B))&&void 0!==T?T:S.Kn}}},7707:(Ce,ee,E)=>{"use strict";E.d(ee,{Ms:()=>$,vU:()=>T});var a=E(8071),S=E(8359),p=E(1026),O=E(5334),c=E(5343);const D=F("C",void 0,void 0);function F(V,W,oe){return{kind:V,value:W,error:oe}}var B=E(9270),m=E(9786);class T extends S.yU{constructor(W){super(),this.isStopped=!1,W?(this.destination=W,(0,S.Uv)(W)&&W.add(this)):this.destination=U}static create(W,oe,me){return new $(W,oe,me)}next(W){this.isStopped?P(function _(V){return F("N",V,void 0)}(W),this):this._next(W)}error(W){this.isStopped?P(function C(V){return F("E",void 0,V)}(W),this):(this.isStopped=!0,this._error(W))}complete(){this.isStopped?P(D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(W){this.destination.next(W)}_error(W){try{this.destination.error(W)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const A=Function.prototype.bind;function w(V,W){return A.call(V,W)}class R{constructor(W){this.partialObserver=W}next(W){const{partialObserver:oe}=this;if(oe.next)try{oe.next(W)}catch(me){k(me)}}error(W){const{partialObserver:oe}=this;if(oe.error)try{oe.error(W)}catch(me){k(me)}else k(W)}complete(){const{partialObserver:W}=this;if(W.complete)try{W.complete()}catch(oe){k(oe)}}}class $ extends T{constructor(W,oe,me){let te;if(super(),(0,a.T)(W)||!W)te={next:null!=W?W:void 0,error:null!=oe?oe:void 0,complete:null!=me?me:void 0};else{let se;this&&p.$.useDeprecatedNextContext?(se=Object.create(W),se.unsubscribe=()=>this.unsubscribe(),te={next:W.next&&w(W.next,se),error:W.error&&w(W.error,se),complete:W.complete&&w(W.complete,se)}):te=W}this.destination=new R(te)}}function k(V){p.$.useDeprecatedSynchronousErrorHandling?(0,m.l)(V):(0,O.m)(V)}function P(V,W){const{onStoppedNotification:oe}=p.$;oe&&B.f.setTimeout(()=>oe(V,W))}const U={closed:!0,next:c.l,error:function M(V){throw V},complete:c.l}},8359:(Ce,ee,E)=>{"use strict";E.d(ee,{Kn:()=>D,yU:()=>c,Uv:()=>C});var a=E(8071);const p=(0,E(1853).L)(F=>function(m){F(this),this.message=m?`${m.length} errors occurred during unsubscription:\n${m.map((T,A)=>`${A+1}) ${T.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=m});var O=E(7908);class c{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:m}=this;if(m)if(this._parentage=null,Array.isArray(m))for(const w of m)w.remove(this);else m.remove(this);const{initialTeardown:T}=this;if((0,a.T)(T))try{T()}catch(w){B=w instanceof p?w.errors:[w]}const{_finalizers:A}=this;if(A){this._finalizers=null;for(const w of A)try{_(w)}catch(R){B=null!=B?B:[],R instanceof p?B=[...B,...R.errors]:B.push(R)}}if(B)throw new p(B)}}add(B){var m;if(B&&B!==this)if(this.closed)_(B);else{if(B instanceof c){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(m=this._finalizers)&&void 0!==m?m:[]).push(B)}}_hasParent(B){const{_parentage:m}=this;return m===B||Array.isArray(m)&&m.includes(B)}_addParent(B){const{_parentage:m}=this;this._parentage=Array.isArray(m)?(m.push(B),m):m?[m,B]:B}_removeParent(B){const{_parentage:m}=this;m===B?this._parentage=null:Array.isArray(m)&&(0,O.o)(m,B)}remove(B){const{_finalizers:m}=this;m&&(0,O.o)(m,B),B instanceof c&&B._removeParent(this)}}c.EMPTY=(()=>{const F=new c;return F.closed=!0,F})();const D=c.EMPTY;function C(F){return F instanceof c||F&&"closed"in F&&(0,a.T)(F.remove)&&(0,a.T)(F.add)&&(0,a.T)(F.unsubscribe)}function _(F){(0,a.T)(F)?F():F.unsubscribe()}},1026:(Ce,ee,E)=>{"use strict";E.d(ee,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3207:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>S});var a=E(9350);function S(p,O){const c="object"==typeof O;return new Promise((D,C)=>{let F,_=!1;p.subscribe({next:B=>{F=B,_=!0},error:C,complete:()=>{_?D(F):c?D(O.defaultValue):C(new a.G)}})})}},17:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>D});var a=E(1985),S=E(8359),p=E(9898),O=E(4360),c=E(9974);class D extends a.c{constructor(_,F){super(),this.source=_,this.subjectFactory=F,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 F=this.getSubject();_.add(this.source.subscribe((0,O._)(F,void 0,()=>{this._teardown(),F.complete()},B=>{this._teardown(),F.error(B)},()=>this._teardown()))),_.closed&&(this._connection=null,_=S.yU.EMPTY)}return _}refCount(){return(0,p.B)()(this)}}},4572:(Ce,ee,E)=>{"use strict";E.d(ee,{z:()=>B});var a=E(1985),S=E(3073),p=E(6648),O=E(3669),c=E(6450),D=E(9326),C=E(8496),_=E(4360),F=E(5225);function B(...A){const w=(0,D.lI)(A),R=(0,D.ms)(A),{args:$,keys:k}=(0,S.D)(A);if(0===$.length)return(0,p.H)([],w);const M=new a.c(function m(A,w,R=O.D){return $=>{T(w,()=>{const{length:k}=A,M=new Array(k);let P=k,U=k;for(let V=0;V{const W=(0,p.H)(A[V],w);let oe=!1;W.subscribe((0,_._)($,me=>{M[V]=me,oe||(oe=!0,U--),U||$.next(R(M.slice()))},()=>{--P||$.complete()}))},$)},$)}}($,w,k?P=>(0,C.e)(k,P):O.D));return R?M.pipe((0,c.I)(R)):M}function T(A,w,R){A?(0,F.N)(R,A,w):w()}},8793:(Ce,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:(Ce,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:(Ce,ee,E)=>{"use strict";E.d(ee,{w:()=>S});const S=new(E(1985).c)(c=>c.complete())},7468:(Ce,ee,E)=>{"use strict";E.d(ee,{p:()=>_});var a=E(1985),S=E(3073),p=E(8750),O=E(9326),c=E(4360),D=E(6450),C=E(8496);function _(...F){const B=(0,O.ms)(F),{args:m,keys:T}=(0,S.D)(F),A=new a.c(w=>{const{length:R}=m;if(!R)return void w.complete();const $=new Array(R);let k=R,M=R;for(let P=0;P{U||(U=!0,M--),$[P]=V},()=>k--,void 0,()=>{(!k||!U)&&(M||w.next(T?(0,C.e)(T,$):$),w.complete())}))}});return B?A.pipe((0,D.I)(B)):A}},6648:(Ce,ee,E)=>{"use strict";E.d(ee,{H:()=>me});var a=E(8750),S=E(5225),p=E(9974),O=E(4360);function c(te,se=0){return(0,p.N)((g,n)=>{g.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)((g,n)=>{n.add(te.schedule(()=>g.subscribe(n),se))})}var F=E(1985),m=E(4761),T=E(8071);function w(te,se){if(!te)throw new Error("Iterable cannot be null");return new F.c(g=>{(0,S.N)(g,se,()=>{const n=te[Symbol.asyncIterator]();(0,S.N)(g,se,()=>{n.next().then(o=>{o.done?g.complete():g.next(o.value)})},0,!0)})})}var R=E(5055),$=E(9858),k=E(7441),M=E(5397),P=E(7953),U=E(591),V=E(5196);function me(te,se){return se?function oe(te,se){if(null!=te){if((0,R.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 B(te,se){return new F.c(g=>{let n=0;return se.schedule(function(){n===te.length?g.complete():(g.next(te[n++]),g.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,P.T)(te))return w(te,se);if((0,M.x)(te))return function A(te,se){return new F.c(g=>{let n;return(0,S.N)(g,se,()=>{n=te[m.l](),(0,S.N)(g,se,()=>{let o,l;try{({value:o,done:l}=n.next())}catch(s){return void g.error(s)}l?g.complete():g.next(o)},0,!0)}),()=>(0,T.T)(null==n?void 0:n.return)&&n.return()})}(te,se);if((0,V.U)(te))return function W(te,se){return w((0,V.C)(te),se)}(te,se)}throw(0,U.L)(te)}(te,se):(0,a.Tg)(te)}},3726:(Ce,ee,E)=>{"use strict";E.d(ee,{R:()=>B});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"],F=["on","off"];function B(R,$,k,M){if((0,c.T)(k)&&(M=k,k=void 0),M)return B(R,$,k).pipe((0,D.I)(M));const[P,U]=function w(R){return(0,c.T)(R.addEventListener)&&(0,c.T)(R.removeEventListener)}(R)?_.map(V=>W=>R[V]($,W,k)):function T(R){return(0,c.T)(R.addListener)&&(0,c.T)(R.removeListener)}(R)?C.map(m(R,$)):function A(R){return(0,c.T)(R.on)&&(0,c.T)(R.off)}(R)?F.map(m(R,$)):[];if(!P&&(0,O.X)(R))return(0,p.Z)(V=>B(V,$,k))((0,a.Tg)(R));if(!P)throw new TypeError("Invalid event target");return new S.c(V=>{const W=(...oe)=>V.next(1U(W)})}function m(R,$){return k=>M=>R[k]($,M)}},8750:(Ce,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),F=E(5196),B=E(8071),m=E(5334),T=E(3494);function A(V){if(V instanceof O.c)return V;if(null!=V){if((0,c.l)(V))return function w(V){return new O.c(W=>{const oe=V[T.s]();if((0,B.T)(oe.subscribe))return oe.subscribe(W);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(V);if((0,S.X)(V))return function R(V){return new O.c(W=>{for(let oe=0;oe{V.then(oe=>{W.closed||(W.next(oe),W.complete())},oe=>W.error(oe)).then(null,m.m)})}(V);if((0,D.T)(V))return M(V);if((0,_.x)(V))return function k(V){return new O.c(W=>{for(const oe of V)if(W.next(oe),W.closed)return;W.complete()})}(V);if((0,F.U)(V))return function P(V){return M((0,F.C)(V))}(V)}throw(0,C.L)(V)}function M(V){return new O.c(W=>{(function U(V,W){var oe,me,te,se;return(0,a.sH)(this,void 0,void 0,function*(){try{for(oe=(0,a.xN)(V);!(me=yield oe.next()).done;)if(W.next(me.value),W.closed)return}catch(g){te={error:g}}finally{try{me&&!me.done&&(se=oe.return)&&(yield se.call(oe))}finally{if(te)throw te.error}}W.complete()})})(V,W).catch(oe=>W.error(oe))})}},7673:(Ce,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:(Ce,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:(Ce,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,_,F,B){super(c),this.onFinalize=F,this.shouldUnsubscribe=B,this._next=D?function(m){try{D(m)}catch(T){c.error(T)}}:super._next,this._error=_?function(m){try{_(m)}catch(T){c.error(T)}finally{this.unsubscribe()}}:super._error,this._complete=C?function(){try{C()}catch(m){c.error(m)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:D}=this;super.unsubscribe(),!D&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},9437:(Ce,ee,E)=>{"use strict";E.d(ee,{W:()=>O});var a=E(8750),S=E(4360),p=E(9974);function O(c){return(0,p.N)((D,C)=>{let B,_=null,F=!1;_=D.subscribe((0,S._)(C,void 0,void 0,m=>{B=(0,a.Tg)(c(m,O(c)(D))),_?(_.unsubscribe(),_=null,B.subscribe(C)):F=!0})),F&&(_.unsubscribe(),_=null,B.subscribe(C))})}},274:(Ce,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:(Ce,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,F=>O.call(c,F,_++)&&C.next(F)))})}},980:(Ce,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:(Ce,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,F=>{C.next(O.call(c,F,_++))}))})}},3703:(Ce,ee,E)=>{"use strict";E.d(ee,{u:()=>S});var a=E(6354);function S(p){return(0,a.T)(()=>p)}},6365:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>p});var a=E(3028),S=E(3669);function p(O=1/0){return(0,a.Z)(S.D,O)}},5412:(Ce,ee,E)=>{"use strict";E.d(ee,{h:()=>O});var a=E(8750),S=E(5225),p=E(4360);function O(c,D,C,_,F,B,m,T){const A=[];let w=0,R=0,$=!1;const k=()=>{$&&!A.length&&!w&&D.complete()},M=U=>w<_?P(U):A.push(U),P=U=>{B&&D.next(U),w++;let V=!1;(0,a.Tg)(C(U,R++)).subscribe((0,p._)(D,W=>{null==F||F(W),B?M(W):D.next(W)},()=>{V=!0},void 0,()=>{if(V)try{for(w--;A.length&&w<_;){const W=A.shift();m?(0,S.N)(D,m,()=>P(W)):P(W)}k()}catch(W){D.error(W)}}))};return c.subscribe((0,p._)(D,M,()=>{$=!0,k()})),()=>{null==T||T()}}},3028:(Ce,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,_,F=1/0){return(0,c.T)(_)?D((B,m)=>(0,a.T)((T,A)=>_(B,T,m,A))((0,S.Tg)(C(B,m))),F):("number"==typeof _&&(F=_),(0,p.N)((B,m)=>(0,O.h)(B,m,C,F)))}},9898:(Ce,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,F=D;D=null,_&&(!F||_===F)&&_.unsubscribe(),c.unsubscribe()});O.subscribe(C),C.closed||(D=O.connect())})}},6649:(Ce,ee,E)=>{"use strict";E.d(ee,{S:()=>S});var a=E(4360);function S(p,O,c,D,C){return(_,F)=>{let B=c,m=O,T=0;_.subscribe((0,a._)(F,A=>{const w=T++;m=B?p(m,A,w):(B=!0,A),D&&F.next(m)},C&&(()=>{B&&F.next(m),F.complete()})))}}},5558:(Ce,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 F=null,B=0,m=!1;const T=()=>m&&!F&&_.complete();C.subscribe((0,p._)(_,A=>{null==F||F.unsubscribe();let w=0;const R=B++;(0,a.Tg)(c(A,R)).subscribe(F=(0,p._)(_,$=>_.next(D?D(A,$,R,w++):$),()=>{F=null,T()}))},()=>{m=!0,T()}))})}},6697:(Ce,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,F=>{++_<=c&&(C.next(F),c<=_&&C.complete())}))})}},8141:(Ce,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 F=(0,a.T)(D)||C||_?{next:D,error:C,complete:_}:D;return F?(0,S.N)((B,m)=>{var T;null===(T=F.subscribe)||void 0===T||T.call(F);let A=!0;B.subscribe((0,p._)(m,w=>{var R;null===(R=F.next)||void 0===R||R.call(F,w),m.next(w)},()=>{var w;A=!1,null===(w=F.complete)||void 0===w||w.call(F),m.complete()},w=>{var R;A=!1,null===(R=F.error)||void 0===R||R.call(F,w),m.error(w)},()=>{var w,R;A&&(null===(w=F.unsubscribe)||void 0===w||w.call(F)),null===(R=F.finalize)||void 0===R||R.call(F)}))}):O.D}},6129:(Ce,ee,E)=>{"use strict";E.d(ee,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},9270:(Ce,ee,E)=>{"use strict";E.d(ee,{f:()=>a});const a={setTimeout(S,p,...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:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>S});const S=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ce,ee,E)=>{"use strict";E.d(ee,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Ce,ee,E)=>{"use strict";E.d(ee,{G:()=>S});const S=(0,E(1853).L)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Ce,ee,E)=>{"use strict";E.d(ee,{R0:()=>D,lI:()=>c,ms:()=>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:(Ce,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 F=O(_);return{args:F.map(B=>_[B]),keys:F}}}return{args:C,keys:null}}},7908:(Ce,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:(Ce,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:(Ce,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:(Ce,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:(Ce,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:(Ce,ee,E)=>{"use strict";function a(S){return S}E.d(ee,{D:()=>a})},7441:(Ce,ee,E)=>{"use strict";E.d(ee,{X:()=>a});const a=S=>S&&"number"==typeof S.length&&"function"!=typeof S},7953:(Ce,ee,E)=>{"use strict";E.d(ee,{T:()=>S});var a=E(8071);function S(p){return Symbol.asyncIterator&&(0,a.T)(null==p?void 0:p[Symbol.asyncIterator])}},8071:(Ce,ee,E)=>{"use strict";function a(S){return"function"==typeof S}E.d(ee,{T:()=>a})},5055:(Ce,ee,E)=>{"use strict";E.d(ee,{l:()=>p});var a=E(3494),S=E(8071);function p(O){return(0,S.T)(O[a.s])}},5397:(Ce,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:(Ce,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:(Ce,ee,E)=>{"use strict";E.d(ee,{y:()=>S});var a=E(8071);function S(p){return(0,a.T)(null==p?void 0:p.then)}},5196:(Ce,ee,E)=>{"use strict";E.d(ee,{C:()=>p,U:()=>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:F}=yield(0,a.N3)(C.read());if(F)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:(Ce,ee,E)=>{"use strict";E.d(ee,{m:()=>S});var a=E(8071);function S(p){return p&&(0,a.T)(p.schedule)}},9974:(Ce,ee,E)=>{"use strict";E.d(ee,{N:()=>p,S:()=>S});var a=E(8071);function S(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:(Ce,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:(Ce,ee,E)=>{"use strict";function a(){}E.d(ee,{l:()=>a})},1203:(Ce,ee,E)=>{"use strict";E.d(ee,{F:()=>S,m:()=>p});var a=E(3669);function S(...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:(Ce,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:(Ce,ee,E)=>{"use strict";function a(S){return new TypeError(`You provided ${null!==S&&"object"==typeof S?"an invalid object":`'${S}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}E.d(ee,{L:()=>a})},7054:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.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:(Ce,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,F=0;F=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")},Ce.exports=S},5443:(Ce,ee,E)=>{var a=Ce.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:(Ce,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(B){return B<<5|B>>>27}function _(B){return B<<30|B>>>2}function F(B,m,T,A){return 0===B?m&T|~m&A:2===B?m&T|m&A|T&A:m^T^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(B){for(var m=this._w,T=0|this._a,A=0|this._b,w=0|this._c,R=0|this._d,$=0|this._e,k=0;k<16;++k)m[k]=B.readInt32BE(4*k);for(;k<80;++k)m[k]=m[k-3]^m[k-8]^m[k-14]^m[k-16];for(var M=0;M<80;++M){var P=~~(M/20),U=C(T)+F(P,A,w,R)+$+m[M]+O[P]|0;$=R,R=w,w=_(A),A=T,T=U}this._a=T+this._a|0,this._b=A+this._b|0,this._c=w+this._c|0,this._d=R+this._d|0,this._e=$+this._e|0},D.prototype._hash=function(){var B=p.allocUnsafe(20);return B.writeInt32BE(0|this._a,0),B.writeInt32BE(0|this._b,4),B.writeInt32BE(0|this._c,8),B.writeInt32BE(0|this._d,12),B.writeInt32BE(0|this._e,16),B},Ce.exports=D},1270:(Ce,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(m){return m<<1|m>>>31}function _(m){return m<<5|m>>>27}function F(m){return m<<30|m>>>2}function B(m,T,A,w){return 0===m?T&A|~T&w:2===m?T&A|T&w|A&w:T^A^w}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(m){for(var T=this._w,A=0|this._a,w=0|this._b,R=0|this._c,$=0|this._d,k=0|this._e,M=0;M<16;++M)T[M]=m.readInt32BE(4*M);for(;M<80;++M)T[M]=C(T[M-3]^T[M-8]^T[M-14]^T[M-16]);for(var P=0;P<80;++P){var U=~~(P/20),V=_(A)+B(U,w,R,$)+k+T[P]+O[U]|0;k=$,$=R,R=F(w),w=A,A=V}this._a=A+this._a|0,this._b=w+this._b|0,this._c=R+this._c|0,this._d=$+this._d|0,this._e=k+this._e|0},D.prototype._hash=function(){var m=p.allocUnsafe(20);return m.writeInt32BE(0|this._a,0),m.writeInt32BE(0|this._b,4),m.writeInt32BE(0|this._c,8),m.writeInt32BE(0|this._d,12),m.writeInt32BE(0|this._e,16),m},Ce.exports=D},2709:(Ce,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},Ce.exports=D},2148:(Ce,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,w,R){return R^A&(w^R)}function _(A,w,R){return A&w|R&(A|w)}function F(A){return(A>>>2|A<<30)^(A>>>13|A<<19)^(A>>>22|A<<10)}function B(A){return(A>>>6|A<<26)^(A>>>11|A<<21)^(A>>>25|A<<7)}function m(A){return(A>>>7|A<<25)^(A>>>18|A<<14)^A>>>3}function T(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 w=this._w,R=0|this._a,$=0|this._b,k=0|this._c,M=0|this._d,P=0|this._e,U=0|this._f,V=0|this._g,W=0|this._h,oe=0;oe<16;++oe)w[oe]=A.readInt32BE(4*oe);for(;oe<64;++oe)w[oe]=T(w[oe-2])+w[oe-7]+m(w[oe-15])+w[oe-16]|0;for(var me=0;me<64;++me){var te=W+B(P)+C(P,U,V)+O[me]+w[me]|0,se=F(R)+_(R,$,k)|0;W=V,V=U,U=P,P=M+te|0,M=k,k=$,$=R,R=te+se|0}this._a=R+this._a|0,this._b=$+this._b|0,this._c=k+this._c|0,this._d=M+this._d|0,this._e=P+this._e|0,this._f=U+this._f|0,this._g=V+this._g|0,this._h=W+this._h|0},D.prototype._hash=function(){var A=p.allocUnsafe(32);return A.writeInt32BE(this._a,0),A.writeInt32BE(this._b,4),A.writeInt32BE(this._c,8),A.writeInt32BE(this._d,12),A.writeInt32BE(this._e,16),A.writeInt32BE(this._f,20),A.writeInt32BE(this._g,24),A.writeInt32BE(this._h,28),A},Ce.exports=D},1856:(Ce,ee,E)=>{var a=E(1993),S=E(3121),p=E(463),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 _(F,B,m){C.writeInt32BE(F,m),C.writeInt32BE(B,m+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},Ce.exports=D},3121:(Ce,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 F($,k){return($>>>28|k<<4)^(k>>>2|$<<30)^(k>>>7|$<<25)}function B($,k){return($>>>14|k<<18)^($>>>18|k<<14)^(k>>>9|$<<23)}function m($,k){return($>>>1|k<<31)^($>>>8|k<<24)^$>>>7}function T($,k){return($>>>1|k<<31)^($>>>8|k<<24)^($>>>7|k<<25)}function A($,k){return($>>>19|k<<13)^(k>>>29|$<<3)^$>>>6}function w($,k){return($>>>19|k<<13)^(k>>>29|$<<3)^($>>>6|k<<26)}function R($,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,P=0|this._bh,U=0|this._ch,V=0|this._dh,W=0|this._eh,oe=0|this._fh,me=0|this._gh,te=0|this._hh,se=0|this._al,g=0|this._bl,n=0|this._cl,o=0|this._dl,l=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 d=k[y-30],r=k[y-30+1],f=m(d,r),L=T(r,d),I=A(d=k[y-4],r=k[y-4+1]),j=w(r,d),pe=k[y-32],De=k[y-32+1],Q=L+k[y-14+1]|0,ae=f+k[y-14]+R(Q,L)|0;ae=(ae=ae+I+R(Q=Q+j|0,j)|0)+pe+R(Q=Q+De|0,De)|0,k[y]=ae,k[y+1]=Q}for(var qe=0;qe<160;qe+=2){ae=k[qe],Q=k[qe+1];var Oe=_(M,P,U),xe=_(se,g,n),Te=F(M,se),Be=F(se,M),re=B(W,l),ne=B(l,W),G=O[qe],ge=O[qe+1],xt=C(W,oe,me),Qe=C(l,s,h),rt=v+ne|0,rn=te+re+R(rt,v)|0;rn=(rn=(rn=rn+xt+R(rt=rt+Qe|0,Qe)|0)+G+R(rt=rt+ge|0,ge)|0)+ae+R(rt=rt+Q|0,Q)|0;var mt=Be+xe|0,ft=Te+Oe+R(mt,Be)|0;te=me,v=h,me=oe,h=s,oe=W,s=l,W=V+rn+R(l=o+rt|0,o)|0,V=U,o=n,U=P,n=g,P=M,g=se,M=rn+ft+R(se=rt+mt|0,rt)|0}this._al=this._al+se|0,this._bl=this._bl+g|0,this._cl=this._cl+n|0,this._dl=this._dl+o|0,this._el=this._el+l|0,this._fl=this._fl+s|0,this._gl=this._gl+h|0,this._hl=this._hl+v|0,this._ah=this._ah+M+R(this._al,se)|0,this._bh=this._bh+P+R(this._bl,g)|0,this._ch=this._ch+U+R(this._cl,n)|0,this._dh=this._dh+V+R(this._dl,o)|0,this._eh=this._eh+W+R(this._el,l)|0,this._fh=this._fh+oe+R(this._fl,s)|0,this._gh=this._gh+me+R(this._gl,h)|0,this._hh=this._hh+te+R(this._hl,v)|0},D.prototype._hash=function(){var $=p.allocUnsafe(64);function k(M,P,U){$.writeInt32BE(M,U),$.writeInt32BE(P,U+4)}return k(this._ah,this._al,0),k(this._bh,this._bl,8),k(this._ch,this._cl,16),k(this._dh,this._dl,24),k(this._eh,this._el,32),k(this._fh,this._fl,40),k(this._gh,this._gl,48),k(this._hh,this._hl,56),$},Ce.exports=D},7045:(Ce,ee,E)=>{Ce.exports=p;var a=E(4356).EventEmitter;function p(){a.call(this)}E(1993)(p,a),p.Readable=E(1092),p.Writable=E(5492),p.Duplex=E(1030),p.Transform=E(3410),p.PassThrough=E(3824),p.finished=E(7854),p.pipeline=E(6846),p.Stream=p,p.prototype.pipe=function(O,c){var D=this;function C(w){O.writable&&!1===O.write(w)&&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",B),D.on("close",m));var F=!1;function B(){F||(F=!0,O.end())}function m(){F||(F=!0,"function"==typeof O.destroy&&O.destroy())}function T(w){if(A(),0===a.listenerCount(this,"error"))throw w}function A(){D.removeListener("data",C),O.removeListener("drain",_),D.removeListener("end",B),D.removeListener("close",m),D.removeListener("error",T),O.removeListener("error",T),D.removeListener("end",A),D.removeListener("close",A),O.removeListener("close",A)}return D.on("error",T),O.on("error",T),D.on("end",A),D.on("close",A),O.on("close",A),O.emit("pipe",D),O}},8083:Ce=>{"use strict";var E={};function a(D,C,_){_||(_=Error);var B=function(m){function T(A,w,R){return m.call(this,function F(m,T,A){return"string"==typeof C?C:C(m,T,A)}(A,w,R))||this}return function ee(D,C){D.prototype=Object.create(C.prototype),D.prototype.constructor=D,D.__proto__=C}(T,m),T}(_);B.prototype.name=_.name,B.prototype.code=D,E[D]=B}function S(D,C){if(Array.isArray(D)){var _=D.length;return D=D.map(function(F){return String(F)}),_>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 F,B;if("string"==typeof C&&function p(D,C,_){return D.substr(!_||_<0?0:+_,C.length)===C}(C,"not ")?(F="must not be",C=C.replace(/^not /,"")):F="must be",function O(D,C,_){return(void 0===_||_>D.length)&&(_=D.length),D.substring(_-C.length,_)===C}(D," argument"))B="The ".concat(D," ").concat(F," ").concat(S(C,"type"));else{var m=function c(D,C,_){return"number"!=typeof _&&(_=0),!(_+C.length>D.length)&&-1!==D.indexOf(C,_)}(D,".")?"property":"argument";B='The "'.concat(D,'" ').concat(m," ").concat(F," ").concat(S(C,"type"))}return B+". 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"),Ce.exports.F=E},1030:(Ce,ee,E)=>{"use strict";var a=Object.keys||function(B){var m=[];for(var T in B)m.push(T);return m};Ce.exports=C;var S=E(1092),p=E(5492);E(1993)(C,S);for(var O=a(p.prototype),c=0;c{"use strict";Ce.exports=S;var a=E(3410);function S(p){if(!(this instanceof S))return new S(p);a.call(this,p)}E(1993)(S,a),S.prototype._transform=function(p,O,c){c(null,p)}},1092:(Ce,ee,E)=>{"use strict";var a;Ce.exports=g,g.ReadableState=se,E(4356);var B,p=function(Te,Be){return Te.listeners(Be).length},O=E(2601),c=E(3838).Buffer,D=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},F=E(7199);B=F&&F.debuglog?F.debuglog("stream"):function(){};var U,V,W,m=E(7606),T=E(8152),w=E(2827).getHighWaterMark,R=E(8083).F,$=R.ERR_INVALID_ARG_TYPE,k=R.ERR_STREAM_PUSH_AFTER_EOF,M=R.ERR_METHOD_NOT_IMPLEMENTED,P=R.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;E(1993)(g,O);var oe=T.errorOrDestroy,me=["error","close","destroy","pause","resume"];function se(xe,Te,Be){a=a||E(1030),"boolean"!=typeof Be&&(Be=Te instanceof a),this.objectMode=!!(xe=xe||{}).objectMode,Be&&(this.objectMode=this.objectMode||!!xe.readableObjectMode),this.highWaterMark=w(this,xe,"readableHighWaterMark",Be),this.buffer=new m,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!==xe.emitClose,this.autoDestroy=!!xe.autoDestroy,this.destroyed=!1,this.defaultEncoding=xe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,xe.encoding&&(U||(U=E(8454).I),this.decoder=new U(xe.encoding),this.encoding=xe.encoding)}function g(xe){if(a=a||E(1030),!(this instanceof g))return new g(xe);this._readableState=new se(xe,this,this instanceof a),this.readable=!0,xe&&("function"==typeof xe.read&&(this._read=xe.read),"function"==typeof xe.destroy&&(this._destroy=xe.destroy)),O.call(this)}function n(xe,Te,Be,re,ne){B("readableAddChunk",Te);var ge,G=xe._readableState;if(null===Te)G.reading=!1,function y(xe,Te){if(B("onEofChunk"),!Te.ended){if(Te.decoder){var Be=Te.decoder.end();Be&&Be.length&&(Te.buffer.push(Be),Te.length+=Te.objectMode?1:Be.length)}Te.ended=!0,Te.sync?d(xe):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,r(xe)))}}(xe,G);else if(ne||(ge=function l(xe,Te){var Be;return!function _(xe){return c.isBuffer(xe)||xe instanceof D}(Te)&&"string"!=typeof Te&&void 0!==Te&&!xe.objectMode&&(Be=new $("chunk",["string","Buffer","Uint8Array"],Te)),Be}(G,Te)),ge)oe(xe,ge);else if(G.objectMode||Te&&Te.length>0)if("string"!=typeof Te&&!G.objectMode&&Object.getPrototypeOf(Te)!==c.prototype&&(Te=function C(xe){return c.from(xe)}(Te)),re)G.endEmitted?oe(xe,new P):o(xe,G,Te,!0);else if(G.ended)oe(xe,new k);else{if(G.destroyed)return!1;G.reading=!1,G.decoder&&!Be?(Te=G.decoder.write(Te),G.objectMode||0!==Te.length?o(xe,G,Te,!1):f(xe,G)):o(xe,G,Te,!1)}else re||(G.reading=!1,f(xe,G));return!G.ended&&(G.lengthTe.highWaterMark&&(Te.highWaterMark=function h(xe){return xe>=s?xe=s:(xe--,xe|=xe>>>1,xe|=xe>>>2,xe|=xe>>>4,xe|=xe>>>8,xe|=xe>>>16,xe++),xe}(xe)),xe<=Te.length?xe:Te.ended?Te.length:(Te.needReadable=!0,0))}function d(xe){var Te=xe._readableState;B("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(B("emitReadable",Te.flowing),Te.emittedReadable=!0,process.nextTick(r,xe))}function r(xe){var Te=xe._readableState;B("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&(xe.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,De(xe)}function f(xe,Te){Te.readingMore||(Te.readingMore=!0,process.nextTick(L,xe,Te))}function L(xe,Te){for(;!Te.reading&&!Te.ended&&(Te.length0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:xe.listenerCount("data")>0&&xe.resume()}function J(xe){B("readable nexttick read 0"),xe.read(0)}function pe(xe,Te){B("resume",Te.reading),Te.reading||xe.read(0),Te.resumeScheduled=!1,xe.emit("resume"),De(xe),Te.flowing&&!Te.reading&&xe.read(0)}function De(xe){var Te=xe._readableState;for(B("flow",Te.flowing);Te.flowing&&null!==xe.read(););}function Q(xe,Te){return 0===Te.length?null:(Te.objectMode?Be=Te.buffer.shift():!xe||xe>=Te.length?(Be=Te.decoder?Te.buffer.join(""):1===Te.buffer.length?Te.buffer.first():Te.buffer.concat(Te.length),Te.buffer.clear()):Be=Te.buffer.consume(xe,Te.decoder),Be);var Be}function ae(xe){var Te=xe._readableState;B("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,process.nextTick(qe,Te,xe))}function qe(xe,Te){if(B("endReadableNT",xe.endEmitted,xe.length),!xe.endEmitted&&0===xe.length&&(xe.endEmitted=!0,Te.readable=!1,Te.emit("end"),xe.autoDestroy)){var Be=Te._writableState;(!Be||Be.autoDestroy&&Be.finished)&&Te.destroy()}}function Oe(xe,Te){for(var Be=0,re=xe.length;Be=Te.highWaterMark:Te.length>0)||Te.ended))return B("read: emitReadable",Te.length,Te.ended),0===Te.length&&Te.ended?ae(this):d(this),null;if(0===(xe=v(xe,Te))&&Te.ended)return 0===Te.length&&ae(this),null;var ne,re=Te.needReadable;return B("need readable",re),(0===Te.length||Te.length-xe0?Q(xe,Te):null)?(Te.needReadable=Te.length<=Te.highWaterMark,xe=0):(Te.length-=xe,Te.awaitDrain=0),0===Te.length&&(Te.ended||(Te.needReadable=!0),Be!==xe&&Te.ended&&ae(this)),null!==ne&&this.emit("data",ne),ne},g.prototype._read=function(xe){oe(this,new M("_read()"))},g.prototype.pipe=function(xe,Te){var Be=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=xe;break;case 1:re.pipes=[re.pipes,xe];break;default:re.pipes.push(xe)}re.pipesCount+=1,B("pipe count=%d opts=%j",re.pipesCount,Te);var G=Te&&!1===Te.end||xe===process.stdout||xe===process.stderr?It:xt;function xt(){B("onend"),xe.end()}re.endEmitted?process.nextTick(G):Be.once("end",G),xe.on("unpipe",function ge(Cn,St){B("onunpipe"),Cn===Be&&St&&!1===St.hasUnpiped&&(St.hasUnpiped=!0,function rn(){B("cleanup"),xe.removeListener("close",un),xe.removeListener("finish",At),xe.removeListener("drain",Qe),xe.removeListener("error",ft),xe.removeListener("unpipe",ge),Be.removeListener("end",xt),Be.removeListener("end",It),Be.removeListener("data",mt),rt=!0,re.awaitDrain&&(!xe._writableState||xe._writableState.needDrain)&&Qe()}())});var Qe=function I(xe){return function(){var Be=xe._readableState;B("pipeOnDrain",Be.awaitDrain),Be.awaitDrain&&Be.awaitDrain--,0===Be.awaitDrain&&p(xe,"data")&&(Be.flowing=!0,De(xe))}}(Be);xe.on("drain",Qe);var rt=!1;function mt(Cn){B("ondata");var St=xe.write(Cn);B("dest.write",St),!1===St&&((1===re.pipesCount&&re.pipes===xe||re.pipesCount>1&&-1!==Oe(re.pipes,xe))&&!rt&&(B("false write response, pause",re.awaitDrain),re.awaitDrain++),Be.pause())}function ft(Cn){B("onerror",Cn),It(),xe.removeListener("error",ft),0===p(xe,"error")&&oe(xe,Cn)}function un(){xe.removeListener("finish",At),It()}function At(){B("onfinish"),xe.removeListener("close",un),It()}function It(){B("unpipe"),Be.unpipe(xe)}return Be.on("data",mt),function te(xe,Te,Be){if("function"==typeof xe.prependListener)return xe.prependListener(Te,Be);xe._events&&xe._events[Te]?Array.isArray(xe._events[Te])?xe._events[Te].unshift(Be):xe._events[Te]=[Be,xe._events[Te]]:xe.on(Te,Be)}(xe,"error",ft),xe.once("close",un),xe.once("finish",At),xe.emit("pipe",Be),re.flowing||(B("pipe resume"),Be.resume()),xe},g.prototype.unpipe=function(xe){var Te=this._readableState,Be={hasUnpiped:!1};if(0===Te.pipesCount)return this;if(1===Te.pipesCount)return xe&&xe!==Te.pipes||(xe||(xe=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,xe&&xe.emit("unpipe",this,Be)),this;if(!xe){var re=Te.pipes,ne=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var G=0;G0,!1!==re.flowing&&this.resume()):"readable"===xe&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,B("on readable",re.length,re.reading),re.length?d(this):re.reading||process.nextTick(J,this)),Be},g.prototype.removeListener=function(xe,Te){var Be=O.prototype.removeListener.call(this,xe,Te);return"readable"===xe&&process.nextTick(j,this),Be},g.prototype.removeAllListeners=function(xe){var Te=O.prototype.removeAllListeners.apply(this,arguments);return("readable"===xe||void 0===xe)&&process.nextTick(j,this),Te},g.prototype.resume=function(){var xe=this._readableState;return xe.flowing||(B("resume"),xe.flowing=!xe.readableListening,function ie(xe,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,process.nextTick(pe,xe,Te))}(this,xe)),xe.paused=!1,this},g.prototype.pause=function(){return B("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(B("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},g.prototype.wrap=function(xe){var Te=this,Be=this._readableState,re=!1;for(var ne in xe.on("end",function(){if(B("wrapped end"),Be.decoder&&!Be.ended){var ge=Be.decoder.end();ge&&ge.length&&Te.push(ge)}Te.push(null)}),xe.on("data",function(ge){B("wrapped data"),Be.decoder&&(ge=Be.decoder.write(ge)),Be.objectMode&&null==ge||!(Be.objectMode||ge&&ge.length)||Te.push(ge)||(re=!0,xe.pause())}),xe)void 0===this[ne]&&"function"==typeof xe[ne]&&(this[ne]=function(xt){return function(){return xe[xt].apply(xe,arguments)}}(ne));for(var G=0;G{"use strict";Ce.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(m,T){var A=this._transformState;A.transforming=!1;var w=A.writecb;if(null===w)return this.emit("error",new p);A.writechunk=null,A.writecb=null,null!=T&&this.push(T),w(m);var R=this._readableState;R.reading=!1,(R.needReadable||R.length{"use strict";function S(De){var Q=this;this.next=null,this.entry=null,this.finish=function(){!function pe(De,Q,ae){var qe=De.entry;for(De.entry=null;qe;){var Oe=qe.callback;Q.pendingcb--,Oe(ae),qe=qe.next}Q.corkedRequestsFree.next=De}(Q,De)}}var p;Ce.exports=se,se.WritableState=me;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(){},B=E(8152),T=E(2827).getHighWaterMark,A=E(8083).F,w=A.ERR_INVALID_ARG_TYPE,R=A.ERR_METHOD_NOT_IMPLEMENTED,$=A.ERR_MULTIPLE_CALLBACK,k=A.ERR_STREAM_CANNOT_PIPE,M=A.ERR_STREAM_DESTROYED,P=A.ERR_STREAM_NULL_VALUES,U=A.ERR_STREAM_WRITE_AFTER_END,V=A.ERR_UNKNOWN_ENCODING,W=B.errorOrDestroy;function oe(){}function me(De,Q,ae){p=p||E(1030),"boolean"!=typeof ae&&(ae=Q instanceof p),this.objectMode=!!(De=De||{}).objectMode,ae&&(this.objectMode=this.objectMode||!!De.writableObjectMode),this.highWaterMark=T(this,De,"writableHighWaterMark",ae),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===De.decodeStrings),this.defaultEncoding=De.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Oe){!function y(De,Q){var ae=De._writableState,qe=ae.sync,Oe=ae.writecb;if("function"!=typeof Oe)throw new $;if(function v(De){De.writing=!1,De.writecb=null,De.length-=De.writelen,De.writelen=0}(ae),Q)!function h(De,Q,ae,qe,Oe){--Q.pendingcb,ae?(process.nextTick(Oe,qe),process.nextTick(J,De,Q),De._writableState.errorEmitted=!0,W(De,qe)):(Oe(qe),De._writableState.errorEmitted=!0,W(De,qe),J(De,Q))}(De,ae,qe,Q,Oe);else{var xe=L(ae)||De.destroyed;!xe&&!ae.corked&&!ae.bufferProcessing&&ae.bufferedRequest&&f(De,ae),qe?process.nextTick(d,De,ae,xe,Oe):d(De,ae,xe,Oe)}}(Q,Oe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==De.emitClose,this.autoDestroy=!!De.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new S(this)}function se(De){var Q=this instanceof(p=p||E(1030));if(!Q&&!te.call(se,this))return new se(De);this._writableState=new me(De,this,Q),this.writable=!0,De&&("function"==typeof De.write&&(this._write=De.write),"function"==typeof De.writev&&(this._writev=De.writev),"function"==typeof De.destroy&&(this._destroy=De.destroy),"function"==typeof De.final&&(this._final=De.final)),c.call(this)}function s(De,Q,ae,qe,Oe,xe,Te){Q.writelen=qe,Q.writecb=Te,Q.writing=!0,Q.sync=!0,Q.destroyed?Q.onwrite(new M("write")):ae?De._writev(Oe,Q.onwrite):De._write(Oe,xe,Q.onwrite),Q.sync=!1}function d(De,Q,ae,qe){ae||function r(De,Q){0===Q.length&&Q.needDrain&&(Q.needDrain=!1,De.emit("drain"))}(De,Q),Q.pendingcb--,qe(),J(De,Q)}function f(De,Q){Q.bufferProcessing=!0;var ae=Q.bufferedRequest;if(De._writev&&ae&&ae.next){var Oe=new Array(Q.bufferedRequestCount),xe=Q.corkedRequestsFree;xe.entry=ae;for(var Te=0,Be=!0;ae;)Oe[Te]=ae,ae.isBuf||(Be=!1),ae=ae.next,Te+=1;Oe.allBuffers=Be,s(De,Q,!0,Q.length,Oe,"",xe.finish),Q.pendingcb++,Q.lastBufferedRequest=null,xe.next?(Q.corkedRequestsFree=xe.next,xe.next=null):Q.corkedRequestsFree=new S(Q),Q.bufferedRequestCount=0}else{for(;ae;){var re=ae.chunk;if(s(De,Q,!1,Q.objectMode?1:re.length,re,ae.encoding,ae.callback),ae=ae.next,Q.bufferedRequestCount--,Q.writing)break}null===ae&&(Q.lastBufferedRequest=null)}Q.bufferedRequest=ae,Q.bufferProcessing=!1}function L(De){return De.ending&&0===De.length&&null===De.bufferedRequest&&!De.finished&&!De.writing}function I(De,Q){De._final(function(ae){Q.pendingcb--,ae&&W(De,ae),Q.prefinished=!0,De.emit("prefinish"),J(De,Q)})}function J(De,Q){var ae=L(Q);if(ae&&(function j(De,Q){!Q.prefinished&&!Q.finalCalled&&("function"!=typeof De._final||Q.destroyed?(Q.prefinished=!0,De.emit("prefinish")):(Q.pendingcb++,Q.finalCalled=!0,process.nextTick(I,De,Q)))}(De,Q),0===Q.pendingcb&&(Q.finished=!0,De.emit("finish"),Q.autoDestroy))){var qe=De._readableState;(!qe||qe.autoDestroy&&qe.endEmitted)&&De.destroy()}return ae}E(1993)(se,c),me.prototype.getBuffer=function(){for(var Q=this.bufferedRequest,ae=[];Q;)ae.push(Q),Q=Q.next;return ae},function(){try{Object.defineProperty(me.prototype,"buffer",{get: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 me}})):te=function(Q){return Q instanceof this},se.prototype.pipe=function(){W(this,new k)},se.prototype.write=function(De,Q,ae){var qe=this._writableState,Oe=!1,xe=!qe.objectMode&&function F(De){return D.isBuffer(De)||De instanceof C}(De);return xe&&!D.isBuffer(De)&&(De=function _(De){return D.from(De)}(De)),"function"==typeof Q&&(ae=Q,Q=null),xe?Q="buffer":Q||(Q=qe.defaultEncoding),"function"!=typeof ae&&(ae=oe),qe.ending?function g(De,Q){var ae=new U;W(De,ae),process.nextTick(Q,ae)}(this,ae):(xe||function n(De,Q,ae,qe){var Oe;return null===ae?Oe=new P:"string"!=typeof ae&&!Q.objectMode&&(Oe=new w("chunk",["string","Buffer"],ae)),!Oe||(W(De,Oe),process.nextTick(qe,Oe),!1)}(this,qe,De,ae))&&(qe.pendingcb++,Oe=function l(De,Q,ae,qe,Oe,xe){if(!ae){var Te=function o(De,Q,ae){return!De.objectMode&&!1!==De.decodeStrings&&"string"==typeof Q&&(Q=D.from(Q,ae)),Q}(Q,qe,Oe);qe!==Te&&(ae=!0,Oe="buffer",qe=Te)}var Be=Q.objectMode?1:qe.length;Q.length+=Be;var re=Q.length-1))throw new V(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(De,Q,ae){ae(new R("_write()"))},se.prototype._writev=null,se.prototype.end=function(De,Q,ae){var qe=this._writableState;return"function"==typeof De?(ae=De,De=null,Q=null):"function"==typeof Q&&(ae=Q,Q=null),null!=De&&this.write(De,Q),qe.corked&&(qe.corked=1,this.uncork()),qe.ending||function ie(De,Q,ae){Q.ending=!0,J(De,Q),ae&&(Q.finished?process.nextTick(ae):De.once("finish",ae)),Q.ended=!0,De.writable=!1}(this,qe,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=B.destroy,se.prototype._undestroy=B.undestroy,se.prototype._destroy=function(De,Q){Q(De)}},2683:(Ce,ee,E)=>{"use strict";var a;function S(U,V,W){return V=function p(U){var V=function O(U,V){if("object"!=typeof U||null===U)return U;var W=U[Symbol.toPrimitive];if(void 0!==W){var oe=W.call(U,V||"default");if("object"!=typeof oe)return oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===V?String:Number)(U)}(U,"string");return"symbol"==typeof V?V:String(V)}(V),V in U?Object.defineProperty(U,V,{value:W,enumerable:!0,configurable:!0,writable:!0}):U[V]=W,U}var c=E(7854),D=Symbol("lastResolve"),C=Symbol("lastReject"),_=Symbol("error"),F=Symbol("ended"),B=Symbol("lastPromise"),m=Symbol("handlePromise"),T=Symbol("stream");function A(U,V){return{value:U,done:V}}function w(U){var V=U[D];if(null!==V){var W=U[T].read();null!==W&&(U[B]=null,U[D]=null,U[C]=null,V(A(W,!1)))}}function R(U){process.nextTick(w,U)}var k=Object.getPrototypeOf(function(){}),M=Object.setPrototypeOf((S(a={get stream(){return this[T]},next:function(){var V=this,W=this[_];if(null!==W)return Promise.reject(W);if(this[F])return Promise.resolve(A(void 0,!0));if(this[T].destroyed)return new Promise(function(se,g){process.nextTick(function(){V[_]?g(V[_]):se(A(void 0,!0))})});var me,oe=this[B];if(oe)me=new Promise(function $(U,V){return function(W,oe){U.then(function(){V[F]?W(A(void 0,!0)):V[m](W,oe)},oe)}}(oe,this));else{var te=this[T].read();if(null!==te)return Promise.resolve(A(te,!1));me=new Promise(this[m])}return this[B]=me,me}},Symbol.asyncIterator,function(){return this}),S(a,"return",function(){var V=this;return new Promise(function(W,oe){V[T].destroy(null,function(me){me?oe(me):W(A(void 0,!0))})})}),a),k);Ce.exports=function(V){var W,oe=Object.create(M,(S(W={},T,{value:V,writable:!0}),S(W,D,{value:null,writable:!0}),S(W,C,{value:null,writable:!0}),S(W,_,{value:null,writable:!0}),S(W,F,{value:V._readableState.endEmitted,writable:!0}),S(W,m,{value:function(te,se){var g=oe[T].read();g?(oe[B]=null,oe[D]=null,oe[C]=null,te(A(g,!1))):(oe[D]=te,oe[C]=se)},writable:!0}),W));return oe[B]=null,c(V,function(me){if(me&&"ERR_STREAM_PREMATURE_CLOSE"!==me.code){var te=oe[C];return null!==te&&(oe[B]=null,oe[D]=null,oe[C]=null,te(me)),void(oe[_]=me)}var se=oe[D];null!==se&&(oe[B]=null,oe[D]=null,oe[C]=null,se(A(void 0,!0))),oe[F]=!0}),V.on("readable",R.bind(null,oe)),oe}},7606:(Ce,ee,E)=>{"use strict";function a(R,$){var k=Object.keys(R);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(R);$&&(M=M.filter(function(P){return Object.getOwnPropertyDescriptor(R,P).enumerable})),k.push.apply(k,M)}return k}function S(R){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,P=""+M.data;M=M.next;)P+=k+M.data;return P}},{key:"concat",value:function(k){if(0===this.length)return B.alloc(0);for(var M=B.allocUnsafe(k>>>0),P=this.head,U=0;P;)w(P.data,M,U),U+=P.data.length,P=P.next;return M}},{key:"consume",value:function(k,M){var P;return kV.length?V.length:k;if(U+=W===V.length?V:V.slice(0,k),0==(k-=W)){W===V.length?(++P,this.head=M.next?M.next:this.tail=null):(this.head=M,M.data=V.slice(W));break}++P}return this.length-=P,U}},{key:"_getBuffer",value:function(k){var M=B.allocUnsafe(k),P=this.head,U=1;for(P.data.copy(M),k-=P.data.length;P=P.next;){var V=P.data,W=k>V.length?V.length:k;if(V.copy(M,M.length-k,0,W),0==(k-=W)){W===V.length?(++U,this.head=P.next?P.next:this.tail=null):(this.head=P,P.data=V.slice(W));break}++U}return this.length-=U,M}},{key:A,value:function(k,M){return T(this,S(S({},M),{},{depth:0,customInspect:!1}))}}]),R}()},8152:Ce=>{"use strict";function E(c,D){p(c,D),a(c)}function a(c){c._writableState&&!c._writableState.emitClose||c._readableState&&!c._readableState.emitClose||c.emit("close")}function p(c,D){c.emit("error",D)}Ce.exports={destroy:function ee(c,D){var C=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(D?D(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(p,this,c)):process.nextTick(p,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(B){!D&&B?C._writableState?C._writableState.errorEmitted?process.nextTick(a,C):(C._writableState.errorEmitted=!0,process.nextTick(E,C,B)):process.nextTick(E,C,B):D?(process.nextTick(a,C),D(B)):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:(Ce,ee,E)=>{"use strict";var a=E(8083).F.ERR_STREAM_PREMATURE_CLOSE;function p(){}Ce.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,F=new Array(_),B=0;B<_;B++)F[B]=arguments[B];D.apply(this,F)}}}(_||p);var F=C.readable||!1!==C.readable&&D.readable,B=C.writable||!1!==C.writable&&D.writable,m=function(){D.writable||A()},T=D._writableState&&D._writableState.finished,A=function(){B=!1,T=!0,F||_.call(D)},w=D._readableState&&D._readableState.endEmitted,R=function(){F=!1,w=!0,B||_.call(D)},$=function(U){_.call(D,U)},k=function(){var U;return F&&!w?((!D._readableState||!D._readableState.ended)&&(U=new a),_.call(D,U)):B&&!T?((!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)):B&&!D._writableState&&(D.on("end",m),D.on("close",m)),D.on("end",R),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",m),D.removeListener("close",m),D.removeListener("finish",A),D.removeListener("end",R),D.removeListener("error",$),D.removeListener("close",k)}}},7765:Ce=>{Ce.exports=function(){throw new Error("Readable.from is not available in the browser")}},6846:(Ce,ee,E)=>{"use strict";var a,p=E(8083).F,O=p.ERR_MISSING_ARGS,c=p.ERR_STREAM_DESTROYED;function D(A){if(A)throw A}function F(A){A()}function B(A,w){return A.pipe(w)}Ce.exports=function T(){for(var A=arguments.length,w=new Array(A),R=0;R0,function(oe){k||(k=oe),oe&&M.forEach(F),!V&&(M.forEach(F),$(k))})});return w.reduce(B)}},2827:(Ce,ee,E)=>{"use strict";var a=E(8083).F.ERR_INVALID_OPT_VALUE;Ce.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:(Ce,ee,E)=>{Ce.exports=E(4356).EventEmitter},8454:(Ce,ee,E)=>{"use strict";var a=E(4272).Buffer,S=a.isEncoding||function(M){switch((M=""+M)&&M.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function c(M){var P;switch(this.encoding=function O(M){var P=function p(M){if(!M)return"utf8";for(var P;;)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(P)return;M=(""+M).toLowerCase(),P=!0}}(M);if("string"!=typeof P&&(a.isEncoding===S||!S(M)))throw new Error("Unknown encoding: "+M);return P||M}(M),this.encoding){case"utf16le":this.text=T,this.end=A,P=4;break;case"utf8":this.fillLast=F,P=4;break;case"base64":this.text=w,this.end=R,P=3;break;default:return this.write=$,void(this.end=k)}this.lastNeed=0,this.lastTotal=0,this.lastChar=a.allocUnsafe(P)}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 F(M){var P=this.lastTotal-this.lastNeed,U=function _(M,P,U){if(128!=(192&P[0]))return M.lastNeed=0,"\ufffd";if(M.lastNeed>1&&P.length>1){if(128!=(192&P[1]))return M.lastNeed=1,"\ufffd";if(M.lastNeed>2&&P.length>2&&128!=(192&P[2]))return M.lastNeed=2,"\ufffd"}}(this,M);return void 0!==U?U:this.lastNeed<=M.length?(M.copy(this.lastChar,P,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,P,0,M.length),void(this.lastNeed-=M.length))}function T(M,P){if((M.length-P)%2==0){var U=M.toString("utf16le",P);if(U){var V=U.charCodeAt(U.length-1);if(V>=55296&&V<=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",P,M.length-1)}function A(M){var P=M&&M.length?this.write(M):"";return this.lastNeed?P+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):P}function w(M,P){var U=(M.length-P)%3;return 0===U?M.toString("base64",P):(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",P,M.length-U))}function R(M){var P=M&&M.length?this.write(M):"";return this.lastNeed?P+this.lastChar.toString("base64",0,3-this.lastNeed):P}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 P,U;if(this.lastNeed){if(void 0===(P=this.fillLast(M)))return"";U=this.lastNeed,this.lastNeed=0}else U=0;return U=0?(W>0&&(M.lastNeed=W-1),W):--V=0?(W>0&&(M.lastNeed=W-2),W):--V=0?(W>0&&(2===W?W=0:M.lastNeed=W-3),W):0}(this,M,P);if(!this.lastNeed)return M.toString("utf8",P);this.lastTotal=U;var V=M.length-(U-this.lastNeed);return M.copy(this.lastChar,0,V),M.toString("utf8",P,V)},c.prototype.fillLast=function(M){if(this.lastNeed<=M.length)return M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,M.length),this.lastNeed-=M.length}},4272:(Ce,ee,E)=>{var a=E(3838),S=a.Buffer;function p(c,D){for(var C in c)D[C]=c[C]}function O(c,D,C){return S(c,D,C)}S.from&&S.alloc&&S.allocUnsafe&&S.allocUnsafeSlow?Ce.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:Ce=>{function E(a){try{if(!global.localStorage)return!1}catch{return!1}var S=global.localStorage[a];return null!=S&&"true"===String(S).toLowerCase()}Ce.exports=function ee(a,S){if(E("noDeprecation"))return a;var p=!1;return function 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:(Ce,ee,E)=>{"use strict";E.d(ee,{A:()=>m});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 T=0;T<256;++T)D.push((T+256).toString(16).slice(1));const m=function B(T,A,w){if(S.randomUUID&&!A&&!T)return S.randomUUID();const R=(T=T||{}).random||(T.rng||c)();if(R[6]=15&R[6]|64,R[8]=63&R[8]|128,A){w=w||0;for(let $=0;$<16;++$)A[w+$]=R[$];return A}return function C(T,A=0){return D[T[A+0]]+D[T[A+1]]+D[T[A+2]]+D[T[A+3]]+"-"+D[T[A+4]]+D[T[A+5]]+"-"+D[T[A+6]]+D[T[A+7]]+"-"+D[T[A+8]]+D[T[A+9]]+"-"+D[T[A+10]]+D[T[A+11]]+D[T[A+12]]+D[T[A+13]]+D[T[A+14]]+D[T[A+15]]}(R)}},8326:(__unused_webpack_module,exports)=>{var indexOf=function(Ce,ee){if(Ce.indexOf)return Ce.indexOf(ee);for(var E=0;E{var a={"./ion-accordion_2.entry.js":[4756,2076,2375],"./ion-action-sheet.entry.js":[8814,2076,8814],"./ion-alert.entry.js":[5222,2076,5222],"./ion-app_8.entry.js":[7720,2076,7720],"./ion-avatar_3.entry.js":[1049,1049],"./ion-back-button.entry.js":[3162,2076,3162],"./ion-backdrop.entry.js":[7240,7240],"./ion-breadcrumb_2.entry.js":[8314,2076,8314],"./ion-button_2.entry.js":[6972,4591],"./ion-card_5.entry.js":[8584,8584],"./ion-checkbox.entry.js":[3511,2076,3511],"./ion-chip.entry.js":[6024,6024],"./ion-col_3.entry.js":[5100,5100],"./ion-datetime-button.entry.js":[7428,771,7428],"./ion-datetime_3.entry.js":[5266,771,2076,2885],"./ion-fab_3.entry.js":[4463,2076,4463],"./ion-img.entry.js":[4183,4183],"./ion-infinite-scroll_2.entry.js":[4171,2076,4171],"./ion-input.entry.js":[9344,2076,9344],"./ion-item-option_3.entry.js":[5949,2076,5949],"./ion-item_8.entry.js":[3506,2076,3506],"./ion-loading.entry.js":[7372,2076,7372],"./ion-menu_3.entry.js":[2075,2076,2075],"./ion-modal.entry.js":[441,2076,441],"./ion-nav_2.entry.js":[5712,2076,5712],"./ion-picker-column-internal.entry.js":[1433,2076,1433],"./ion-picker-internal.entry.js":[2628,2628],"./ion-popover.entry.js":[6433,2076,6433],"./ion-progress-bar.entry.js":[9977,9977],"./ion-radio_2.entry.js":[8066,2076,8066],"./ion-range.entry.js":[8477,2076,8477],"./ion-refresher_2.entry.js":[5197,2076,5197],"./ion-reorder_2.entry.js":[7030,2076,7030],"./ion-ripple-effect.entry.js":[964,964],"./ion-route_4.entry.js":[8970,8970],"./ion-searchbar.entry.js":[8193,2076,8193],"./ion-segment_2.entry.js":[2560,2076,2560],"./ion-select_3.entry.js":[7076,2076,7076],"./ion-spinner.entry.js":[8805,2076,8805],"./ion-split-pane.entry.js":[5887,5887],"./ion-tab-bar_2.entry.js":[4406,2076,4406],"./ion-tab_2.entry.js":[1102,1102],"./ion-text.entry.js":[1577,1577],"./ion-textarea.entry.js":[2348,2076,2348],"./ion-toast.entry.js":[2415,2076,2415],"./ion-toggle.entry.js":[3814,2076,3814]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var 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,Ce.exports=S},5235:(Ce,ee,E)=>{var a={"./pwa-action-sheet.entry.js":[6301,6301],"./pwa-camera-modal-instance.entry.js":[5640,5640],"./pwa-camera-modal.entry.js":[2982,2982],"./pwa-camera.entry.js":[6086,6086],"./pwa-toast.entry.js":[3574,3574]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var O=a[p],c=O[0];return E.e(O[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=5235,Ce.exports=S},7321:(Ce,ee,E)=>{var a={"./jeep-sqlite.entry.js":[477,477]};function S(p){if(!E.o(a,p))return Promise.resolve().then(()=>{var D=new Error("Cannot find module '"+p+"'");throw D.code="MODULE_NOT_FOUND",D});var O=a[p],c=O[0];return E.e(O[1]).then(()=>E(c))}S.keys=()=>Object.keys(a),S.id=7321,Ce.exports=S},8982:()=>{},7790:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},3779:()=>{},7199:()=>{},177:(Ce,ee,E)=>{"use strict";E.d(ee,{AJ:()=>Ai,B3:()=>dt,MD:()=>Di,N0:()=>Bi,QT:()=>p,Sm:()=>$,Sq:()=>Tn,T3:()=>pt,UE:()=>Kr,VF:()=>c,Vw:()=>_,Vy:()=>wi,Xr:()=>mo,YU:()=>kt,ZD:()=>O,_b:()=>lt,aZ:()=>M,bT:()=>fr,fw:()=>k,hb:()=>w,hj:()=>F,qQ:()=>C});var a=E(4438);let S=null;function p(){return S}function O(Y){var ve;null!==(ve=S)&&void 0!==ve||(S=Y)}class c{}const C=new a.nKC("");let _=(()=>{var Y;class ve{historyGo(de){throw new Error("")}}return(Y=ve).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>(0,a.WQX)(B),providedIn:"platform"}),ve})();const F=new a.nKC("");let B=(()=>{var Y;class ve 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 We=p().getGlobalEventTarget(this._doc,"window");return We.addEventListener("popstate",de,!1),()=>We.removeEventListener("popstate",de)}onHashChange(de){const We=p().getGlobalEventTarget(this._doc,"window");return We.addEventListener("hashchange",de,!1),()=>We.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,We,ht){this._history.pushState(de,We,ht)}replaceState(de,We,ht){this._history.replaceState(de,We,ht)}forward(){this._history.forward()}back(){this._history.back()}historyGo(de=0){this._history.go(de)}getState(){return this._history.state}}return(Y=ve).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>new Y,providedIn:"platform"}),ve})();function m(Y,ve){if(0==Y.length)return ve;if(0==ve.length)return Y;let at=0;return Y.endsWith("/")&&at++,ve.startsWith("/")&&at++,2==at?Y+ve.substring(1):1==at?Y+ve:Y+"/"+ve}function T(Y){const ve=Y.match(/#|\?|$/),at=ve&&ve.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 w=(()=>{var Y;class ve{historyGo(de){throw new Error("")}}return(Y=ve).\u0275fac=function(de){return new(de||Y)},Y.\u0275prov=a.jDH({token:Y,factory:()=>(0,a.WQX)($),providedIn:"root"}),ve})();const R=new a.nKC("");let $=(()=>{var Y;class ve extends w{constructor(de,We){var ht,Jt,mn;super(),this._platformLocation=de,this._removeListenerFns=[],this._baseHref=null!==(ht=null!==(Jt=null!=We?We:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Jt?Jt:null===(mn=(0,a.WQX)(C).location)||void 0===mn?void 0:mn.origin)&&void 0!==ht?ht:""}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 m(this._baseHref,de)}path(de=!1){const We=this._platformLocation.pathname+A(this._platformLocation.search),ht=this._platformLocation.hash;return ht&&de?`${We}${ht}`:We}pushState(de,We,ht,Jt){const mn=this.prepareExternalUrl(ht+A(Jt));this._platformLocation.pushState(de,We,mn)}replaceState(de,We,ht,Jt){const mn=this.prepareExternalUrl(ht+A(Jt));this._platformLocation.replaceState(de,We,mn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(de=0){var We,ht;null===(We=(ht=this._platformLocation).historyGo)||void 0===We||We.call(ht,de)}}return(Y=ve).\u0275fac=function(de){return new(de||Y)(a.KVO(_),a.KVO(R,8))},Y.\u0275prov=a.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}),ve})(),k=(()=>{var Y;class ve extends w{constructor(de,We){super(),this._platformLocation=de,this._baseHref="",this._removeListenerFns=[],null!=We&&(this._baseHref=We)}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 We;const ht=null!==(We=this._platformLocation.hash)&&void 0!==We?We:"#";return ht.length>0?ht.substring(1):ht}prepareExternalUrl(de){const We=m(this._baseHref,de);return We.length>0?"#"+We:We}pushState(de,We,ht,Jt){let mn=this.prepareExternalUrl(ht+A(Jt));0==mn.length&&(mn=this._platformLocation.pathname),this._platformLocation.pushState(de,We,mn)}replaceState(de,We,ht,Jt){let mn=this.prepareExternalUrl(ht+A(Jt));0==mn.length&&(mn=this._platformLocation.pathname),this._platformLocation.replaceState(de,We,mn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(de=0){var We,ht;null===(We=(ht=this._platformLocation).historyGo)||void 0===We||We.call(ht,de)}}return(Y=ve).\u0275fac=function(de){return new(de||Y)(a.KVO(_),a.KVO(R,8))},Y.\u0275prov=a.jDH({token:Y,factory:Y.\u0275fac}),ve})(),M=(()=>{var Y;class ve{constructor(de){this._subject=new a.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=de;const We=this._locationStrategy.getBaseHref();this._basePath=function W(Y){if(new RegExp("^(https?:)?//").test(Y)){const[,at]=Y.split(/\/\/[^\/]+/);return at}return Y}(T(V(We))),this._locationStrategy.onPopState(ht=>{this._subject.emit({url:this.path(!0),pop:!0,state:ht.state,type:ht.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,We=""){return this.path()==this.normalize(de+A(We))}normalize(de){return ve.stripTrailingSlash(function U(Y,ve){if(!Y||!ve.startsWith(Y))return ve;const at=ve.substring(Y.length);return""===at||["/",";","?","#"].includes(at[0])?at:ve}(this._basePath,V(de)))}prepareExternalUrl(de){return de&&"/"!==de[0]&&(de="/"+de),this._locationStrategy.prepareExternalUrl(de)}go(de,We="",ht=null){this._locationStrategy.pushState(ht,"",de,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(de+A(We)),ht)}replaceState(de,We="",ht=null){this._locationStrategy.replaceState(ht,"",de,We),this._notifyUrlChangeListeners(this.prepareExternalUrl(de+A(We)),ht)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(de=0){var We,ht;null===(We=(ht=this._locationStrategy).historyGo)||void 0===We||We.call(ht,de)}onUrlChange(de){var We;return this._urlChangeListeners.push(de),null!==(We=this._urlChangeSubscription)&&void 0!==We||(this._urlChangeSubscription=this.subscribe(ht=>{this._notifyUrlChangeListeners(ht.url,ht.state)})),()=>{const ht=this._urlChangeListeners.indexOf(de);var Jt;this._urlChangeListeners.splice(ht,1),0===this._urlChangeListeners.length&&(null===(Jt=this._urlChangeSubscription)||void 0===Jt||Jt.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(de="",We){this._urlChangeListeners.forEach(ht=>ht(de,We))}subscribe(de,We,ht){return this._subject.subscribe({next:de,error:We,complete:ht})}}return(Y=ve).normalizeQueryParams=A,Y.joinWithSlash=m,Y.stripTrailingSlash=T,Y.\u0275fac=function(de){return new(de||Y)(a.KVO(w))},Y.\u0275prov=a.jDH({token:Y,factory:()=>function P(){return new M((0,a.KVO)(w))}(),providedIn:"root"}),ve})();function V(Y){return Y.replace(/\/index.html$/,"")}function lt(Y,ve){ve=encodeURIComponent(ve);for(const at of Y.split(";")){const de=at.indexOf("="),[We,ht]=-1==de?[at,""]:[at.slice(0,de),at.slice(de+1)];if(We.trim()===ve)return decodeURIComponent(ht)}return null}const Tt=/\s+/,Mt=[];let kt=(()=>{var Y;class ve{constructor(de,We){this._ngEl=de,this._renderer=We,this.initialClasses=Mt,this.stateMap=new Map}set klass(de){this.initialClasses=null!=de?de.trim().split(Tt):Mt}set ngClass(de){this.rawClass="string"==typeof de?de.trim().split(Tt):de}ngDoCheck(){for(const We of this.initialClasses)this._updateState(We,!0);const de=this.rawClass;if(Array.isArray(de)||de instanceof Set)for(const We of de)this._updateState(We,!0);else if(null!=de)for(const We of Object.keys(de))this._updateState(We,!!de[We]);this._applyStateDiff()}_updateState(de,We){const ht=this.stateMap.get(de);void 0!==ht?(ht.enabled!==We&&(ht.changed=!0,ht.enabled=We),ht.touched=!0):this.stateMap.set(de,{enabled:We,changed:!0,touched:!0})}_applyStateDiff(){for(const de of this.stateMap){const We=de[0],ht=de[1];ht.changed?(this._toggleClass(We,ht.enabled),ht.changed=!1):ht.touched||(ht.enabled&&this._toggleClass(We,!1),this.stateMap.delete(We)),ht.touched=!1}}_toggleClass(de,We){(de=de.trim()).length>0&&de.split(Tt).forEach(ht=>{We?this._renderer.addClass(this._ngEl.nativeElement,ht):this._renderer.removeClass(this._ngEl.nativeElement,ht)})}}return(Y=ve).\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}),ve})();class Qt{constructor(ve,at,de,We){this.$implicit=ve,this.ngForOf=at,this.index=de,this.count=We}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 ve{set ngForOf(de){this._ngForOf=de,this._ngForOfDirty=!0}set ngForTrackBy(de){this._trackByFn=de}get ngForTrackBy(){return this._trackByFn}constructor(de,We,ht){this._viewContainer=de,this._template=We,this._differs=ht,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 We=this._viewContainer;de.forEachOperation((ht,Jt,mn)=>{if(null==ht.previousIndex)We.createEmbeddedView(this._template,new Qt(ht.item,this._ngForOf,-1,-1),null===mn?void 0:mn);else if(null==mn)We.remove(null===Jt?void 0:Jt);else if(null!==Jt){const Zn=We.get(Jt);We.move(Zn,mn),wn(Zn,ht)}});for(let ht=0,Jt=We.length;ht{wn(We.get(ht.currentIndex),ht)})}static ngTemplateContextGuard(de,We){return!0}}return(Y=ve).\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}),ve})();function wn(Y,ve){Y.context.$implicit=ve.item}let fr=(()=>{var Y;class ve{constructor(de,We){this._viewContainer=de,this._context=new Ge,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=We}set ngIf(de){this._context.$implicit=this._context.ngIf=de,this._updateView()}set ngIfThen(de){tt("ngIfThen",de),this._thenTemplateRef=de,this._thenViewRef=null,this._updateView()}set ngIfElse(de){tt("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,We){return!0}}return(Y=ve).\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}),ve})();class Ge{constructor(){this.$implicit=null,this.ngIf=null}}function tt(Y,ve){if(ve&&!ve.createEmbeddedView)throw new Error(`${Y} must be a TemplateRef, but received '${(0,a.Tbb)(ve)}'.`)}let dt=(()=>{var Y;class ve{constructor(de,We,ht){this._ngEl=de,this._differs=We,this._renderer=ht,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,We){const[ht,Jt]=de.split("."),mn=-1===ht.indexOf("-")?void 0:a.czy.DashCase;null!=We?this._renderer.setStyle(this._ngEl.nativeElement,ht,Jt?`${We}${Jt}`:We,mn):this._renderer.removeStyle(this._ngEl.nativeElement,ht,mn)}_applyChanges(de){de.forEachRemovedItem(We=>this._setStyle(We.key,null)),de.forEachAddedItem(We=>this._setStyle(We.key,We.currentValue)),de.forEachChangedItem(We=>this._setStyle(We.key,We.currentValue))}}return(Y=ve).\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}),ve})(),pt=(()=>{var Y;class ve{constructor(de){this._viewContainerRef=de,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(de){if(this._shouldRecreateView(de)){var We;const ht=this._viewContainerRef;if(this._viewRef&&ht.remove(ht.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Jt=this._createContextForwardProxy();this._viewRef=ht.createEmbeddedView(this.ngTemplateOutlet,Jt,{injector:null!==(We=this.ngTemplateOutletInjector)&&void 0!==We?We:void 0})}}_shouldRecreateView(de){return!!de.ngTemplateOutlet||!!de.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(de,We,ht)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,We,ht),get:(de,We,ht)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,We,ht)}})}}return(Y=ve).\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$]}),ve})(),Di=(()=>{var Y;class ve{}return(Y=ve).\u0275fac=function(de){return new(de||Y)},Y.\u0275mod=a.$C({type:Y}),Y.\u0275inj=a.G2t({}),ve})();const Ai="browser",ji="server";function Kr(Y){return Y===Ai}function wi(Y){return Y===ji}let mo=(()=>{var Y;class ve{}return(Y=ve).\u0275prov=(0,a.jDH)({token:Y,providedIn:"root",factory:()=>Kr((0,a.WQX)(a.Agw))?new Ir((0,a.WQX)(C),window):new Ni}),ve})();class Ir{constructor(ve,at){this.document=ve,this.window=at,this.offset=()=>[0,0]}setOffset(ve){this.offset=Array.isArray(ve)?()=>ve:ve}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(ve){this.window.scrollTo(ve[0],ve[1])}scrollToAnchor(ve){const at=function si(Y,ve){const at=Y.getElementById(ve)||Y.getElementsByName(ve)[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 We=de.currentNode;for(;We;){const ht=We.shadowRoot;if(ht){const Jt=ht.getElementById(ve)||ht.querySelector(`[name="${ve}"]`);if(Jt)return Jt}We=de.nextNode()}}return null}(this.document,ve);at&&(this.scrollToElement(at),at.focus())}setHistoryScrollRestoration(ve){this.window.history.scrollRestoration=ve}scrollToElement(ve){const at=ve.getBoundingClientRect(),de=at.left+this.window.pageXOffset,We=at.top+this.window.pageYOffset,ht=this.offset();this.window.scrollTo(de-ht[0],We-ht[1])}}class Ni{setOffset(ve){}getScrollPosition(){return[0,0]}scrollToPosition(ve){}scrollToAnchor(ve){}setHistoryScrollRestoration(ve){}}class Bi{}},1626:(Ce,ee,E)=>{"use strict";E.d(ee,{Lr:()=>w,Qq:()=>L,q1:()=>en}),E(467);var S=E(4438),p=E(7673),O=E(1985),c=E(6648),D=E(274),C=E(5964),_=E(6354),F=E(980),B=E(5558),m=E(177);class T{}class A{}class w{constructor(lt){this.normalizedNames=new Map,this.lazyUpdate=null,lt?"string"==typeof lt?this.lazyInit=()=>{this.headers=new Map,lt.split("\n").forEach(Tt=>{const Mt=Tt.indexOf(":");if(Mt>0){const kt=Tt.slice(0,Mt),Zt=kt.toLowerCase(),qt=Tt.slice(Mt+1).trim();this.maybeSetNormalizedName(kt,Zt),this.headers.has(Zt)?this.headers.get(Zt).push(qt):this.headers.set(Zt,[qt])}})}:typeof Headers<"u"&< instanceof Headers?(this.headers=new Map,lt.forEach((Tt,Mt)=>{this.setHeaderEntries(Mt,Tt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(lt).forEach(([Tt,Mt])=>{this.setHeaderEntries(Tt,Mt)})}:this.headers=new Map}has(lt){return this.init(),this.headers.has(lt.toLowerCase())}get(lt){this.init();const Tt=this.headers.get(lt.toLowerCase());return Tt&&Tt.length>0?Tt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(lt){return this.init(),this.headers.get(lt.toLowerCase())||null}append(lt,Tt){return this.clone({name:lt,value:Tt,op:"a"})}set(lt,Tt){return this.clone({name:lt,value:Tt,op:"s"})}delete(lt,Tt){return this.clone({name:lt,value:Tt,op:"d"})}maybeSetNormalizedName(lt,Tt){this.normalizedNames.has(Tt)||this.normalizedNames.set(Tt,lt)}init(){this.lazyInit&&(this.lazyInit instanceof w?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(lt=>this.applyUpdate(lt)),this.lazyUpdate=null))}copyFrom(lt){lt.init(),Array.from(lt.headers.keys()).forEach(Tt=>{this.headers.set(Tt,lt.headers.get(Tt)),this.normalizedNames.set(Tt,lt.normalizedNames.get(Tt))})}clone(lt){const Tt=new w;return Tt.lazyInit=this.lazyInit&&this.lazyInit instanceof w?this.lazyInit:this,Tt.lazyUpdate=(this.lazyUpdate||[]).concat([lt]),Tt}applyUpdate(lt){const Tt=lt.name.toLowerCase();switch(lt.op){case"a":case"s":let Mt=lt.value;if("string"==typeof Mt&&(Mt=[Mt]),0===Mt.length)return;this.maybeSetNormalizedName(lt.name,Tt);const kt=("a"===lt.op?this.headers.get(Tt):void 0)||[];kt.push(...Mt),this.headers.set(Tt,kt);break;case"d":const Zt=lt.value;if(Zt){let qt=this.headers.get(Tt);if(!qt)return;qt=qt.filter(Qt=>-1===Zt.indexOf(Qt)),0===qt.length?(this.headers.delete(Tt),this.normalizedNames.delete(Tt)):this.headers.set(Tt,qt)}else this.headers.delete(Tt),this.normalizedNames.delete(Tt)}}setHeaderEntries(lt,Tt){const Mt=(Array.isArray(Tt)?Tt:[Tt]).map(Zt=>Zt.toString()),kt=lt.toLowerCase();this.headers.set(kt,Mt),this.maybeSetNormalizedName(lt,kt)}forEach(lt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Tt=>lt(this.normalizedNames.get(Tt),this.headers.get(Tt)))}}class ${encodeKey(lt){return U(lt)}encodeValue(lt){return U(lt)}decodeKey(lt){return decodeURIComponent(lt)}decodeValue(lt){return decodeURIComponent(lt)}}const M=/%(\d[a-f0-9])/gi,P={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U($e){return encodeURIComponent($e).replace(M,(lt,Tt)=>{var Mt;return null!==(Mt=P[Tt])&&void 0!==Mt?Mt:lt})}function V($e){return`${$e}`}class W{constructor(lt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=lt.encoder||new $,lt.fromString){if(lt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k($e,lt){const Tt=new Map;return $e.length>0&&$e.replace(/^\?/,"").split("&").forEach(kt=>{const Zt=kt.indexOf("="),[qt,Qt]=-1==Zt?[lt.decodeKey(kt),""]:[lt.decodeKey(kt.slice(0,Zt)),lt.decodeValue(kt.slice(Zt+1))],Tn=Tt.get(qt)||[];Tn.push(Qt),Tt.set(qt,Tn)}),Tt}(lt.fromString,this.encoder)}else lt.fromObject?(this.map=new Map,Object.keys(lt.fromObject).forEach(Tt=>{const Mt=lt.fromObject[Tt],kt=Array.isArray(Mt)?Mt.map(V):[V(Mt)];this.map.set(Tt,kt)})):this.map=null}has(lt){return this.init(),this.map.has(lt)}get(lt){this.init();const Tt=this.map.get(lt);return Tt?Tt[0]:null}getAll(lt){return this.init(),this.map.get(lt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(lt,Tt){return this.clone({param:lt,value:Tt,op:"a"})}appendAll(lt){const Tt=[];return Object.keys(lt).forEach(Mt=>{const kt=lt[Mt];Array.isArray(kt)?kt.forEach(Zt=>{Tt.push({param:Mt,value:Zt,op:"a"})}):Tt.push({param:Mt,value:kt,op:"a"})}),this.clone(Tt)}set(lt,Tt){return this.clone({param:lt,value:Tt,op:"s"})}delete(lt,Tt){return this.clone({param:lt,value:Tt,op:"d"})}toString(){return this.init(),this.keys().map(lt=>{const Tt=this.encoder.encodeKey(lt);return this.map.get(lt).map(Mt=>Tt+"="+this.encoder.encodeValue(Mt)).join("&")}).filter(lt=>""!==lt).join("&")}clone(lt){const Tt=new W({encoder:this.encoder});return Tt.cloneFrom=this.cloneFrom||this,Tt.updates=(this.updates||[]).concat(lt),Tt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(lt=>this.map.set(lt,this.cloneFrom.map.get(lt))),this.updates.forEach(lt=>{switch(lt.op){case"a":case"s":const Tt=("a"===lt.op?this.map.get(lt.param):void 0)||[];Tt.push(V(lt.value)),this.map.set(lt.param,Tt);break;case"d":if(void 0===lt.value){this.map.delete(lt.param);break}{let Mt=this.map.get(lt.param)||[];const kt=Mt.indexOf(V(lt.value));-1!==kt&&Mt.splice(kt,1),Mt.length>0?this.map.set(lt.param,Mt):this.map.delete(lt.param)}}}),this.cloneFrom=this.updates=null)}}class me{constructor(){this.map=new Map}set(lt,Tt){return this.map.set(lt,Tt),this}get(lt){return this.map.has(lt)||this.map.set(lt,lt.defaultValue()),this.map.get(lt)}delete(lt){return this.map.delete(lt),this}has(lt){return this.map.has(lt)}keys(){return this.map.keys()}}function se($e){return typeof ArrayBuffer<"u"&&$e instanceof ArrayBuffer}function g($e){return typeof Blob<"u"&&$e instanceof Blob}function n($e){return typeof FormData<"u"&&$e instanceof FormData}class l{constructor(lt,Tt,Mt,kt){var Zt,qt;let Qt;if(this.url=Tt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=lt.toUpperCase(),function te($e){switch($e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||kt?(this.body=void 0!==Mt?Mt:null,Qt=kt):Qt=Mt,Qt&&(this.reportProgress=!!Qt.reportProgress,this.withCredentials=!!Qt.withCredentials,Qt.responseType&&(this.responseType=Qt.responseType),Qt.headers&&(this.headers=Qt.headers),Qt.context&&(this.context=Qt.context),Qt.params&&(this.params=Qt.params),this.transferCache=Qt.transferCache),null!==(Zt=this.headers)&&void 0!==Zt||(this.headers=new w),null!==(qt=this.context)&&void 0!==qt||(this.context=new me),this.params){const Tn=this.params.toString();if(0===Tn.length)this.urlWithParams=Tt;else{const wn=Tt.indexOf("?");this.urlWithParams=Tt+(-1===wn?"?":wnCt.set(Gt,lt.setHeaders[Gt]),tt)),lt.setParams&&(Fe=Object.keys(lt.setParams).reduce((Ct,Gt)=>Ct.set(Gt,lt.setParams[Gt]),Fe)),new l(qt,Qt,Kn,{params:Fe,headers:tt,context:et,reportProgress:Ge,responseType:Tn,withCredentials:fr,transferCache:wn})}}var s=function($e){return $e[$e.Sent=0]="Sent",$e[$e.UploadProgress=1]="UploadProgress",$e[$e.ResponseHeader=2]="ResponseHeader",$e[$e.DownloadProgress=3]="DownloadProgress",$e[$e.Response=4]="Response",$e[$e.User=5]="User",$e}(s||{});class h{constructor(lt,Tt=r.Ok,Mt="OK"){this.headers=lt.headers||new w,this.status=void 0!==lt.status?lt.status:Tt,this.statusText=lt.statusText||Mt,this.url=lt.url||null,this.ok=this.status>=200&&this.status<300}}class v extends h{constructor(lt={}){super(lt),this.type=s.ResponseHeader}clone(lt={}){return new v({headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class y extends h{constructor(lt={}){super(lt),this.type=s.Response,this.body=void 0!==lt.body?lt.body:null}clone(lt={}){return new y({body:void 0!==lt.body?lt.body:this.body,headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class d extends h{constructor(lt){super(lt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${lt.url||"(unknown url)"}`:`Http failure response for ${lt.url||"(unknown url)"}: ${lt.status} ${lt.statusText}`,this.error=lt.error||null}}var r=function($e){return $e[$e.Continue=100]="Continue",$e[$e.SwitchingProtocols=101]="SwitchingProtocols",$e[$e.Processing=102]="Processing",$e[$e.EarlyHints=103]="EarlyHints",$e[$e.Ok=200]="Ok",$e[$e.Created=201]="Created",$e[$e.Accepted=202]="Accepted",$e[$e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",$e[$e.NoContent=204]="NoContent",$e[$e.ResetContent=205]="ResetContent",$e[$e.PartialContent=206]="PartialContent",$e[$e.MultiStatus=207]="MultiStatus",$e[$e.AlreadyReported=208]="AlreadyReported",$e[$e.ImUsed=226]="ImUsed",$e[$e.MultipleChoices=300]="MultipleChoices",$e[$e.MovedPermanently=301]="MovedPermanently",$e[$e.Found=302]="Found",$e[$e.SeeOther=303]="SeeOther",$e[$e.NotModified=304]="NotModified",$e[$e.UseProxy=305]="UseProxy",$e[$e.Unused=306]="Unused",$e[$e.TemporaryRedirect=307]="TemporaryRedirect",$e[$e.PermanentRedirect=308]="PermanentRedirect",$e[$e.BadRequest=400]="BadRequest",$e[$e.Unauthorized=401]="Unauthorized",$e[$e.PaymentRequired=402]="PaymentRequired",$e[$e.Forbidden=403]="Forbidden",$e[$e.NotFound=404]="NotFound",$e[$e.MethodNotAllowed=405]="MethodNotAllowed",$e[$e.NotAcceptable=406]="NotAcceptable",$e[$e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",$e[$e.RequestTimeout=408]="RequestTimeout",$e[$e.Conflict=409]="Conflict",$e[$e.Gone=410]="Gone",$e[$e.LengthRequired=411]="LengthRequired",$e[$e.PreconditionFailed=412]="PreconditionFailed",$e[$e.PayloadTooLarge=413]="PayloadTooLarge",$e[$e.UriTooLong=414]="UriTooLong",$e[$e.UnsupportedMediaType=415]="UnsupportedMediaType",$e[$e.RangeNotSatisfiable=416]="RangeNotSatisfiable",$e[$e.ExpectationFailed=417]="ExpectationFailed",$e[$e.ImATeapot=418]="ImATeapot",$e[$e.MisdirectedRequest=421]="MisdirectedRequest",$e[$e.UnprocessableEntity=422]="UnprocessableEntity",$e[$e.Locked=423]="Locked",$e[$e.FailedDependency=424]="FailedDependency",$e[$e.TooEarly=425]="TooEarly",$e[$e.UpgradeRequired=426]="UpgradeRequired",$e[$e.PreconditionRequired=428]="PreconditionRequired",$e[$e.TooManyRequests=429]="TooManyRequests",$e[$e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",$e[$e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",$e[$e.InternalServerError=500]="InternalServerError",$e[$e.NotImplemented=501]="NotImplemented",$e[$e.BadGateway=502]="BadGateway",$e[$e.ServiceUnavailable=503]="ServiceUnavailable",$e[$e.GatewayTimeout=504]="GatewayTimeout",$e[$e.HttpVersionNotSupported=505]="HttpVersionNotSupported",$e[$e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",$e[$e.InsufficientStorage=507]="InsufficientStorage",$e[$e.LoopDetected=508]="LoopDetected",$e[$e.NotExtended=510]="NotExtended",$e[$e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",$e}(r||{});function f($e,lt){return{body:lt,headers:$e.headers,context:$e.context,observe:$e.observe,params:$e.params,reportProgress:$e.reportProgress,responseType:$e.responseType,withCredentials:$e.withCredentials,transferCache:$e.transferCache}}let L=(()=>{var $e;class lt{constructor(Mt){this.handler=Mt}request(Mt,kt,Zt={}){let qt;if(Mt instanceof l)qt=Mt;else{let wn,Kn;wn=Zt.headers instanceof w?Zt.headers:new w(Zt.headers),Zt.params&&(Kn=Zt.params instanceof W?Zt.params:new W({fromObject:Zt.params})),qt=new l(Mt,kt,void 0!==Zt.body?Zt.body:null,{headers:wn,context:Zt.context,params:Kn,reportProgress:Zt.reportProgress,responseType:Zt.responseType||"json",withCredentials:Zt.withCredentials,transferCache:Zt.transferCache})}const Qt=(0,p.of)(qt).pipe((0,D.H)(wn=>this.handler.handle(wn)));if(Mt instanceof l||"events"===Zt.observe)return Qt;const Tn=Qt.pipe((0,C.p)(wn=>wn instanceof y));switch(Zt.observe||"body"){case"body":switch(qt.responseType){case"arraybuffer":return Tn.pipe((0,_.T)(wn=>{if(null!==wn.body&&!(wn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wn.body}));case"blob":return Tn.pipe((0,_.T)(wn=>{if(null!==wn.body&&!(wn.body instanceof Blob))throw new Error("Response is not a Blob.");return wn.body}));case"text":return Tn.pipe((0,_.T)(wn=>{if(null!==wn.body&&"string"!=typeof wn.body)throw new Error("Response is not a string.");return wn.body}));default:return Tn.pipe((0,_.T)(wn=>wn.body))}case"response":return Tn;default:throw new Error(`Unreachable: unhandled observe type ${Zt.observe}}`)}}delete(Mt,kt={}){return this.request("DELETE",Mt,kt)}get(Mt,kt={}){return this.request("GET",Mt,kt)}head(Mt,kt={}){return this.request("HEAD",Mt,kt)}jsonp(Mt,kt){return this.request("JSONP",Mt,{params:(new W).append(kt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Mt,kt={}){return this.request("OPTIONS",Mt,kt)}patch(Mt,kt,Zt={}){return this.request("PATCH",Mt,f(Zt,kt))}post(Mt,kt,Zt={}){return this.request("POST",Mt,f(Zt,kt))}put(Mt,kt,Zt={}){return this.request("PUT",Mt,f(Zt,kt))}}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)(S.KVO(T))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();function ae($e,lt){return lt($e)}function qe($e,lt){return(Tt,Mt)=>lt.intercept(Tt,{handle:kt=>$e(kt,Mt)})}const xe=new S.nKC(""),Te=new S.nKC(""),Be=new S.nKC(""),re=new S.nKC("");function ne(){let $e=null;return(lt,Tt)=>{var Mt;null===$e&&($e=(null!==(Mt=(0,S.WQX)(xe,{optional:!0}))&&void 0!==Mt?Mt:[]).reduceRight(qe,ae));const kt=(0,S.WQX)(S.TgB),Zt=kt.add();return $e(lt,Tt).pipe((0,F.j)(()=>kt.remove(Zt)))}}let xt=(()=>{var $e;class lt extends T{constructor(Mt,kt){super(),this.backend=Mt,this.injector=kt,this.chain=null,this.pendingTasks=(0,S.WQX)(S.TgB);const Zt=(0,S.WQX)(re,{optional:!0});this.backend=null!=Zt?Zt:Mt}handle(Mt){if(null===this.chain){const Zt=Array.from(new Set([...this.injector.get(Te),...this.injector.get(Be,[])]));this.chain=Zt.reduceRight((qt,Qt)=>function Oe($e,lt,Tt){return(Mt,kt)=>(0,S.N4e)(Tt,()=>lt(Mt,Zt=>$e(Zt,kt)))}(qt,Qt,this.injector),ae)}const kt=this.pendingTasks.add();return this.chain(Mt,Zt=>this.backend.handle(Zt)).pipe((0,F.j)(()=>this.pendingTasks.remove(kt)))}}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)(S.KVO(A),S.KVO(S.uvJ))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();const bn=/^\)\]\}',?\n/;let wt=(()=>{var $e;class lt{constructor(Mt){this.xhrFactory=Mt}handle(Mt){if("JSONP"===Mt.method)throw new S.wOt(-2800,!1);const kt=this.xhrFactory;return(kt.\u0275loadImpl?(0,c.H)(kt.\u0275loadImpl()):(0,p.of)(null)).pipe((0,B.n)(()=>new O.c(qt=>{const Qt=kt.build();if(Qt.open(Mt.method,Mt.urlWithParams),Mt.withCredentials&&(Qt.withCredentials=!0),Mt.headers.forEach((Ct,Gt)=>Qt.setRequestHeader(Ct,Gt.join(","))),Mt.headers.has("Accept")||Qt.setRequestHeader("Accept","application/json, text/plain, */*"),!Mt.headers.has("Content-Type")){const Ct=Mt.detectContentTypeHeader();null!==Ct&&Qt.setRequestHeader("Content-Type",Ct)}if(Mt.responseType){const Ct=Mt.responseType.toLowerCase();Qt.responseType="json"!==Ct?Ct:"text"}const Tn=Mt.serializeBody();let wn=null;const Kn=()=>{if(null!==wn)return wn;const Ct=Qt.statusText||"OK",Gt=new w(Qt.getAllResponseHeaders()),vn=function bt($e){return"responseURL"in $e&&$e.responseURL?$e.responseURL:/^X-Request-URL:/m.test($e.getAllResponseHeaders())?$e.getResponseHeader("X-Request-URL"):null}(Qt)||Mt.url;return wn=new v({headers:Gt,status:Qt.status,statusText:Ct,url:vn}),wn},fr=()=>{let{headers:Ct,status:Gt,statusText:vn,url:gt}=Kn(),zt=null;Gt!==r.NoContent&&(zt=typeof Qt.response>"u"?Qt.responseText:Qt.response),0===Gt&&(Gt=zt?r.Ok:0);let ye=Gt>=200&&Gt<300;if("json"===Mt.responseType&&"string"==typeof zt){const Ke=zt;zt=zt.replace(bn,"");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:Ct,status:Gt,statusText:vn,url:gt||void 0})),qt.complete()):qt.error(new d({error:zt,headers:Ct,status:Gt,statusText:vn,url:gt||void 0}))},Ge=Ct=>{const{url:Gt}=Kn(),vn=new d({error:Ct,status:Qt.status||0,statusText:Qt.statusText||"Unknown Error",url:Gt||void 0});qt.error(vn)};let tt=!1;const Fe=Ct=>{tt||(qt.next(Kn()),tt=!0);let Gt={type:s.DownloadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Gt.total=Ct.total),"text"===Mt.responseType&&Qt.responseText&&(Gt.partialText=Qt.responseText),qt.next(Gt)},et=Ct=>{let Gt={type:s.UploadProgress,loaded:Ct.loaded};Ct.lengthComputable&&(Gt.total=Ct.total),qt.next(Gt)};return Qt.addEventListener("load",fr),Qt.addEventListener("error",Ge),Qt.addEventListener("timeout",Ge),Qt.addEventListener("abort",Ge),Mt.reportProgress&&(Qt.addEventListener("progress",Fe),null!==Tn&&Qt.upload&&Qt.upload.addEventListener("progress",et)),Qt.send(Tn),qt.next({type:s.Sent}),()=>{Qt.removeEventListener("error",Ge),Qt.removeEventListener("abort",Ge),Qt.removeEventListener("load",fr),Qt.removeEventListener("timeout",Ge),Mt.reportProgress&&(Qt.removeEventListener("progress",Fe),null!==Tn&&Qt.upload&&Qt.upload.removeEventListener("progress",et)),Qt.readyState!==Qt.DONE&&Qt.abort()}})))}}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)(S.KVO(m.N0))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();const Dn=new S.nKC(""),Lt=new S.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Nt=new S.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ot{}let zn=(()=>{var $e;class lt{constructor(Mt,kt,Zt){this.doc=Mt,this.platform=kt,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,m._b)(Mt,this.cookieName),this.lastCookieString=Mt),this.lastToken}}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)(S.KVO(m.qQ),S.KVO(S.Agw),S.KVO(Lt))},$e.\u0275prov=S.jDH({token:$e,factory:$e.\u0275fac}),lt})();function Ut($e,lt){const Tt=$e.url.toLowerCase();if(!(0,S.WQX)(Dn)||"GET"===$e.method||"HEAD"===$e.method||Tt.startsWith("http://")||Tt.startsWith("https://"))return lt($e);const Mt=(0,S.WQX)(Ot).getToken(),kt=(0,S.WQX)(Nt);return null!=Mt&&!$e.headers.has(kt)&&($e=$e.clone({headers:$e.headers.set(kt,Mt)})),lt($e)}var _e=function($e){return $e[$e.Interceptors=0]="Interceptors",$e[$e.LegacyInterceptors=1]="LegacyInterceptors",$e[$e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",$e[$e.NoXsrfProtection=3]="NoXsrfProtection",$e[$e.JsonpSupport=4]="JsonpSupport",$e[$e.RequestsMadeViaParent=5]="RequestsMadeViaParent",$e[$e.Fetch=6]="Fetch",$e}(_e||{});function Ae($e,lt){return{\u0275kind:$e,\u0275providers:lt}}function Me(...$e){const lt=[L,wt,xt,{provide:T,useExisting:xt},{provide:A,useExisting:wt},{provide:Te,useValue:Ut,multi:!0},{provide:Dn,useValue:!0},{provide:Ot,useClass:zn}];for(const Tt of $e)lt.push(...Tt.\u0275providers);return(0,S.EmA)(lt)}const je=new S.nKC("");let en=(()=>{var $e;class lt{}return($e=lt).\u0275fac=function(Mt){return new(Mt||$e)},$e.\u0275mod=S.$C({type:$e}),$e.\u0275inj=S.G2t({providers:[Me(Ae(_e.LegacyInterceptors,[{provide:je,useFactory:ne},{provide:Te,useExisting:je,multi:!0}]))]}),lt})()},4438:(Ce,ee,E)=>{"use strict";E.d(ee,{iLQ:()=>vf,sZ2:()=>Lh,hnV:()=>Qg,Hbi:()=>MA,o8S:()=>Qo,BIS:()=>cy,gRc:()=>c1,Ql9:()=>QD,Ocv:()=>oA,Z63:()=>Un,aKT:()=>Za,uvJ:()=>fi,zcH:()=>So,bkB:()=>co,$GK:()=>nn,nKC:()=>kt,zZn:()=>Fi,_q3:()=>Af,MKu:()=>Mf,xe9:()=>gc,Co$:()=>Jx,Vns:()=>ys,SKi:()=>zr,Xx1:()=>Kr,Agw:()=>o0,PLl:()=>$h,sFG:()=>O9,_9s:()=>ax,czy:()=>Su,WPN:()=>ms,kdw:()=>_i,C4Q:()=>xl,NYb:()=>zD,giA:()=>Yg,RxE:()=>jg,c1b:()=>Xu,gXe:()=>ni,mal:()=>px,L39:()=>e3,a0P:()=>l3,Ol2:()=>md,w6W:()=>RC,oH4:()=>s1,SmG:()=>cA,Rfq:()=>Ut,WQX:()=>$n,QuC:()=>li,EmA:()=>Ro,fpN:()=>AA,HJs:()=>u3,N4e:()=>ro,O8t:()=>n3,H3F:()=>Hg,H8p:()=>No,KH2:()=>ba,TgB:()=>ra,wOt:()=>G,WHO:()=>Gg,e01:()=>Xg,lNU:()=>ne,h9k:()=>ip,$MX:()=>Mu,ZF7:()=>Ys,Kcf:()=>Iy,e5t:()=>Ry,UyX:()=>Fy,cWb:()=>Ty,osQ:()=>Py,H5H:()=>zd,Zy3:()=>ge,mq5:()=>tm,JZv:()=>bt,LfX:()=>kn,plB:()=>Go,jNT:()=>pf,zjR:()=>Zg,TL$:()=>ly,Tbb:()=>Wt,rcV:()=>Io,Vt3:()=>pd,Mj6:()=>gi,GFd:()=>Qx,OA$:()=>dr,Jv_:()=>pg,aNF:()=>xg,R7$:()=>Ip,BMQ:()=>Bd,ZvI:()=>Kv,AVh:()=>Rd,wni:()=>Hm,VBU:()=>Ba,FsC:()=>ns,jDH:()=>Mn,G2t:()=>Ln,$C:()=>ts,EJ8:()=>Co,rXU:()=>Js,nrm:()=>Ud,eu8:()=>Hd,k0s:()=>lc,j41:()=>ac,RV6:()=>Jv,xGo:()=>ah,KVO:()=>Dr,kS0:()=>du,QTQ:()=>Fp,bIt:()=>Gd,lsd:()=>Km,XpG:()=>Fm,nI1:()=>Mg,bMT:()=>wg,SdG:()=>Rm,NAR:()=>Pm,Y8G:()=>Fd,FS9:()=>Yd,lJ4:()=>mg,eq3:()=>gg,l_i:()=>Eg,mGM:()=>Wm,Njj:()=>Lf,tSv:()=>cp,eBV:()=>kf,npT:()=>op,f$h:()=>y0,B4B:()=>E0,n$t:()=>sp,muq:()=>Gm,DNE:()=>ia,EFF:()=>rg,JRh:()=>Qd,SpI:()=>hc,Lme:()=>Jd,DH7:()=>fg,mxI:()=>ef,R50:()=>qd,GBs:()=>zm}),E(467);let p=null,c=1;const D=Symbol("SIGNAL");function C(e){const t=p;return p=e,t}function w(e){if((!me(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==c)){if(!e.producerMustRecompute(e)&&!U(e))return e.dirty=!1,void(e.lastCleanEpoch=c);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=c}}function U(e){te(e);for(let t=0;t0}function te(e){var t,i,u;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(i=e.producerIndexOfThis)&&void 0!==i||(e.producerIndexOfThis=[]),null!==(u=e.producerLastReadVersion)&&void 0!==u||(e.producerLastReadVersion=[])}let v=null;var Oe=E(1413),xe=E(8359),Te=E(4412),Be=E(6354);const ne="https://g.co/ng/security#xss";class G extends Error{constructor(t,i){super(ge(t,i)),this.code=t}}function ge(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ft(e){return{toString:e}.toString()}const At="__parameters__";function Ft(e,t,i){return ft(()=>{const u=function St(e){return function(...i){if(e){const u=e(...i);for(const x in u)this[x]=u[x]}}}(t);function x(...b){if(this instanceof x)return u.apply(this,b),this;const N=new x(...b);return H.annotation=N,H;function H(K,he,we){const Ne=K.hasOwnProperty(At)?K[At]:Object.defineProperty(K,At,{value:[]})[At];for(;Ne.length<=we;)Ne.push(null);return(Ne[we]=Ne[we]||[]).push(N),K}}return i&&(x.prototype=Object.create(i.prototype)),x.prototype.ngMetadataName=e,x.annotationCls=x,x})}const bt=globalThis;function Bt(e){for(let t in e)if(e[t]===Bt)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 Wt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Wt).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 Nt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const zn=Bt({__forward_ref__:Bt});function Ut(e){return e.__forward_ref__=Ut,e.toString=function(){return Wt(this())},e}function He(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(zn)&&e.__forward_ref__===Ut}function Mn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ln(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fn(e){return Gn(e,$e)||Gn(e,Tt)}function kn(e){return null!==Fn(e)}function Gn(e,t){return e.hasOwnProperty(t)?e[t]:null}function jn(e){return e&&(e.hasOwnProperty(lt)||e.hasOwnProperty(Mt))?e[lt]:null}const $e=Bt({\u0275prov:Bt}),lt=Bt({\u0275inj:Bt}),Tt=Bt({ngInjectableDef:Bt}),Mt=Bt({ngInjectorDef:Bt});class kt{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=Mn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function et(e){return e&&!!e.\u0275providers}const Ct=Bt({\u0275cmp:Bt}),Gt=Bt({\u0275dir:Bt}),vn=Bt({\u0275pipe:Bt}),gt=Bt({\u0275mod:Bt}),zt=Bt({\u0275fac:Bt}),ye=Bt({__NG_ELEMENT_ID__:Bt}),Ke=Bt({__NG_ENV_ID__:Bt});function dt(e){return"string"==typeof e?e:null==e?"":String(e)}function cn(e,t){throw new G(-201,!1)}var nn=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}(nn||{});let _n;function Sn(){return _n}function Pn(e){const t=_n;return _n=e,t}function hr(e,t,i){const u=Fn(e);return u&&"root"==u.providedIn?void 0===u.value?u.value=u.factory():u.value:i&nn.Optional?null:void 0!==t?t:void cn()}const le={},Ye="__NG_DI_FLAG__",_t="ngTempTokenPath",pr=/\n/gm,qr="__source";let Wr;function jr(e){const t=Wr;return Wr=e,t}function Vi(e,t=nn.Default){if(void 0===Wr)throw new G(-203,!1);return null===Wr?hr(e,void 0,t):Wr.get(e,t&nn.Optional?null:void 0,t)}function Dr(e,t=nn.Default){return(Sn()||Vi)(He(e),t)}function $n(e,t=nn.Default){return Dr(e,mi(t))}function mi(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Oi(e){const t=[];for(let i=0;iArray.isArray(i)?si(i,t):t(i))}function Ni(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Bi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Re(e,t,i){let u=Ie(e,t);return u>=0?e[1|u]=i:(u=~u,function qo(e,t,i,u){let x=e.length;if(x==t)e.push(i,u);else if(1===x)e.push(u,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]=u}}(e,u,t,i)),u}function Le(e,t){const i=Ie(e,t);if(i>=0)return e[1|i]}function Ie(e,t){return function Vt(e,t,i){let u=0,x=e.length>>i;for(;x!==u;){const b=u+(x-u>>1),N=e[b<t?x=b:u=b+1}return~(x<t){N=b-1;break}}}for(;b-1){let b;for(;++xb?"":x[we+1].toLowerCase(),2&u&&he!==Ne){if(Hr(u))return!1;N=!0}}}}else{if(!N&&!Hr(u)&&!Hr(K))return!1;if(N&&Hr(K))continue;N=!1,u=K|1&u}}return Hr(u)||N}function Hr(e){return!(1&e)}function Eo(e,t,i,u){if(null===t)return-1;let x=0;if(u||!i){let b=!1;for(;x-1)for(i++;i0?'="'+H+'"':"")+"]"}else 8&u?x+="."+N:4&u&&(x+=" "+N);else""!==x&&!Hr(N)&&(t+=_a(b,x),x=""),u=N,b=b||!Hr(u);i++}return""!==x&&(t+=_a(b,x)),t}function Ba(e){return ft(()=>{var t;const i=rs(e),u={...i,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Or.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||ni.Emulated,styles:e.styles||fn,_:null,schemas:e.schemas||null,tView:null,id:""};is(u);const x=e.dependencies;return u.directiveDefs=Wi(x,!1),u.pipeDefs=Wi(x,!0),u.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}(u),u})}function Xl(e){return er(e)||Nr(e)}function Sa(e){return null!==e}function ts(e){return ft(()=>({type:e.type,bootstrap:e.bootstrap||fn,declarations:e.declarations||fn,imports:e.imports||fn,exports:e.exports||fn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ia(e,t){if(null==e)return dn;const i={};for(const x in e)if(e.hasOwnProperty(x)){const b=e[x];let N,H,K=gi.None;var u;Array.isArray(b)?(K=b[0],N=b[1],H=null!==(u=b[2])&&void 0!==u?u:N):(N=b,H=b),t?(i[N]=K!==gi.None?[x,K]:x,t[N]=H):i[N]=x}return i}function ns(e){return ft(()=>{const t=rs(e);return is(t),t})}function Co(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function er(e){return e[Ct]||null}function Nr(e){return e[Gt]||null}function Pr(e){return e[vn]||null}function li(e){const t=er(e)||Nr(e)||Pr(e);return null!==t&&t.standalone}function Gr(e,t){const i=e[gt]||null;if(!i&&!0===t)throw new Error(`Type ${Wt(e)} does not have '\u0275mod' property.`);return i}function rs(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||dn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||fn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ia(e.inputs,t),outputs:Ia(e.outputs),debugInfo:null}}function is(e){var t;null===(t=e.features)||void 0===t||t.forEach(i=>i(e))}function Wi(e,t){if(!e)return null;const i=t?Pr:Xl;return()=>("function"==typeof e?e():e).map(u=>i(u)).filter(Sa)}function Ro(e){return{\u0275providers:e}}function Bs(...e){return{\u0275providers:Oo(0,e),\u0275fromNgModule:!0}}function Oo(e,...t){const i=[],u=new Set;let x;const b=N=>{i.push(N)};return si(t,N=>{const H=N;eo(H,b,[],u)&&(x||(x=[]),x.push(H))}),void 0!==x&&Ss(x,b),i}function Ss(e,t){for(let i=0;i{t(b,u)})}}function eo(e,t,i,u){if(!(e=He(e)))return!1;let x=null,b=jn(e);const N=!b&&er(e);if(b||N){if(N&&!N.standalone)return!1;x=e}else{const K=e.ngModule;if(b=jn(K),!b)return!1;x=K}const H=u.has(x);if(N){if(H)return!1;if(u.add(x),N.dependencies){const K="function"==typeof N.dependencies?N.dependencies():N.dependencies;for(const he of K)eo(he,t,i,u)}}else{if(!b)return!1;{if(null!=b.imports&&!H){let he;u.add(x);try{si(b.imports,we=>{eo(we,t,i,u)&&(he||(he=[]),he.push(we))})}finally{}void 0!==he&&Ss(he,t)}if(!H){const he=ti(x)||(()=>new x);t({provide:x,useFactory:he,deps:fn},x),t({provide:Vn,useValue:x,multi:!0},x),t({provide:Un,useValue:()=>Dr(x),multi:!0},x)}const K=b.providers;if(null!=K&&!H){const he=e;Is(K,we=>{t(we,he)})}}}return x!==e&&void 0!==e.providers}function Is(e,t){for(let i of e)et(i)&&(i=i.\u0275providers),Array.isArray(i)?Is(i,t):t(i)}const Zl=Bt({provide:String,useValue:Bt});function Ts(e){return null!==e&&"object"==typeof e&&Zl in e}function Ki(e){return"function"==typeof e}const No=new kt(""),Fs={},Oa={};let Ps;function ko(){return void 0===Ps&&(Ps=new lr),Ps}class fi{}class to extends fi{get destroyed(){return this._destroyed}constructor(t,i,u,x){super(),this.parent=i,this.source=u,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(mr,no(void 0,this)),x.has("environment")&&this.records.set(fi,no(void 0,this));const b=this.records.get(No);null!=b&&"string"==typeof b.value&&this.scopes.add(b.value),this.injectorDefTypes=new Set(this.get(Vn,fn,nn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=C(null);try{for(const u of this._ngOnDestroyHooks)u.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const u of i)u()}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=jr(this),u=Pn(void 0);try{return t()}finally{jr(i),Pn(u)}}get(t,i=le,u=nn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ke))return t[Ke](this);u=mi(u);const b=jr(this),N=Pn(void 0);try{if(!(u&nn.SkipSelf)){let K=this.records.get(t);if(void 0===K){const he=function Do(e){return"function"==typeof e||"object"==typeof e&&e instanceof kt}(t)&&Fn(t);K=he&&this.injectableDefInScope(he)?no(Rs(t),Fs):null,this.records.set(t,K)}if(null!=K)return this.hydrate(t,K)}return(u&nn.Self?ko():this.parent).get(t,i=u&nn.Optional&&i===le?null:i)}catch(H){if("NullInjectorError"===H.name){if((H[_t]=H[_t]||[]).unshift(Wt(t)),b)throw H;return function ji(e,t,i,u){const x=e[_t];throw t[qr]&&x.unshift(t[qr]),e.message=function Mi(e,t,i,u=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let x=Wt(t);if(Array.isArray(t))x=t.map(Wt).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):Wt(H)))}x=`{${b.join(", ")}}`}return`${i}${u?"("+u+")":""}[${x}]: ${e.replace(pr,"\n ")}`}("\n"+e.message,x,i,u),e.ngTokenPath=x,e[_t]=null,e}(H,t,"R3InjectorError",this.source)}throw H}finally{Pn(N),jr(b)}}resolveInjectorInitializers(){const t=C(null),i=jr(this),u=Pn(void 0);try{const b=this.get(Un,fn,nn.Self);for(const N of b)N()}finally{jr(i),Pn(u),C(t)}}toString(){const t=[],i=this.records;for(const u of i.keys())t.push(Wt(u));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new G(205,!1)}processProvider(t){let i=Ki(t=He(t))?t:He(t&&t.provide);const u=function Jl(e){return Ts(e)?no(void 0,e.useValue):no(os(e),Fs)}(t);if(!Ki(t)&&!0===t.multi){let x=this.records.get(i);x||(x=no(void 0,Fs,!0),x.factory=()=>Oi(x.multi),this.records.set(i,x)),i=t,x.multi.push(t)}this.records.set(i,u)}hydrate(t,i){const u=C(null);try{return i.value===Fs&&(i.value=Oa,i.value=i.factory()),"object"==typeof i.value&&i.value&&function bo(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{C(u)}}injectableDefInScope(t){if(!t.providedIn)return!1;const i=He(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Rs(e){const t=Fn(e),i=null!==t?t.factory:ti(e);if(null!==i)return i;if(e instanceof kt)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 Xn(e){return e&&(e[$e]||e[Tt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new G(204,!1)}function os(e,t,i){let u;if(Ki(e)){const x=He(e);return ti(x)||Rs(x)}if(Ts(e))u=()=>He(e.useValue);else if(function Pa(e){return!(!e||!e.useFactory)}(e))u=()=>e.useFactory(...Oi(e.deps||[]));else if(function Fa(e){return!(!e||!e.useExisting)}(e))u=()=>Dr(He(e.useExisting));else{const x=He(e&&(e.useClass||e.provide));if(!function ql(e){return!!e.deps}(e))return ti(x)||Rs(x);u=()=>new x(...Oi(e.deps))}return u}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&&et(i)?Lo(i.\u0275providers,t):t(i)}function ro(e,t){e instanceof to&&e.assertNotDestroyed();const u=jr(e),x=Pn(void 0);try{return t()}finally{jr(u),Pn(x)}}function Na(){return void 0!==Sn()||null!=function ei(){return Wr}()}const xr=0,yn=1,Rn=2,ir=3,Lr=4,Ar=5,Sr=6,ki=7,Cr=8,Rr=9,Si=10,Qn=11,ss=12,Os=13,Ao=14,Tr=15,Uo=16,ri=17,Li=18,Ns=19,_c=20,Mo=21,Vo=22,io=23,Jn=25,ka=1,Gi=7,jo=9,kr=10;var eu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(eu||{});function ii(e){return Array.isArray(e)&&"object"==typeof e[ka]}function Jr(e){return Array.isArray(e)&&!0===e[ka]}function La(e){return!!(4&e.flags)}function Ho(e){return e.componentOffset>-1}function us(e){return!(1&~e.flags)}function Ii(e){return!!e.template}function $a(e){return!!(512&e[Rn])}class qn{constructor(t,i,u){this.previousValue=t,this.currentValue=i,this.firstChange=u}isFirstChange(){return this.firstChange}}function Mr(e,t,i,u){null!==t?t.applyValueToInputSignal(t,u):e[i]=u}function dr(){return Xr}function Xr(e){return e.type.prototype.ngOnChanges&&(e.setInput=cs),wo}function wo(){const e=Wo(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===dn)e.previous=t;else for(let u in t)i[u]=t[u];e.current=null,this.ngOnChanges(t)}}function cs(e,t,i,u,x){const b=this.declaredInputs[u],N=Wo(e)||function ds(e,t){return e[zo]=t}(e,{previous:dn,current:null}),H=N.current||(N.current={}),K=N.previous,he=K[b];H[b]=new qn(he&&he.currentValue,i,K===dn),Mr(e,t,x,i)}dr.ngInherit=!0;const zo="__ngSimpleChanges__";function Wo(e){return e[zo]||null}const oo=function(e,t,i){};let Ff=!1;function br(e){for(;Array.isArray(e);)e=e[xr];return e}function ja(e,t){return br(t[e])}function hi(e,t){return br(t[e.index])}function Ha(e,t){return e.data[t]}function Ti(e,t){const i=t[e];return ii(i)?i:i[xr]}function Fc(e){return!(128&~e[Rn])}function so(e,t){return null==t?null:e[t]}function Pf(e){e[ri]=0}function Q1(e){1024&e[Rn]||(e[Rn]|=1024,Fc(e)&&za(e))}function Pc(e){var t;return!!(9216&e[Rn]||null!==(t=e[io])&&void 0!==t&&t.dirty)}function Rc(e){var t;if(null===(t=e[Si].changeDetectionScheduler)||void 0===t||t.notify(1),Pc(e))za(e);else if(64&e[Rn])if(function G1(){return Ff}())e[Rn]|=1024,za(e);else{var i;null===(i=e[Si].changeDetectionScheduler)||void 0===i||i.notify()}}function za(e){var t;null===(t=e[Si].changeDetectionScheduler)||void 0===t||t.notify();let i=hs(e);for(;null!==i&&!(8192&i[Rn])&&(i[Rn]|=8192,Fc(i));)i=hs(i)}function nu(e,t){if(!(256&~e[Rn]))throw new G(911,!1);null===e[Mo]&&(e[Mo]=[]),e[Mo].push(t)}function hs(e){const t=e[ir];return Jr(t)?t[ir]:t}const tr={lFrame:Wf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Nf(){return tr.bindingsEnabled}function $s(){return null!==tr.skipHydrationRootTNode}function sn(){return tr.lFrame.lView}function ur(){return tr.lFrame.tView}function kf(e){return tr.lFrame.contextLView=e,e[Cr]}function Lf(e){return tr.lFrame.contextLView=null,e}function yr(){let e=$f();for(;null!==e&&64===e.type;)e=e.parent;return e}function $f(){return tr.lFrame.currentTNode}function ao(e,t){const i=tr.lFrame;i.currentTNode=e,i.isParent=t}function Nc(){return tr.lFrame.isParent}function kc(){tr.lFrame.isParent=!1}function pi(){const e=tr.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xi(){return tr.lFrame.bindingIndex++}function Bo(e){const t=tr.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function lE(e,t){const i=tr.lFrame;i.bindingIndex=i.bindingRootIndex=e,Lc(t)}function Lc(e){tr.lFrame.currentDirectiveIndex=e}function Uc(){return tr.lFrame.currentQueryIndex}function ru(e){tr.lFrame.currentQueryIndex=e}function cE(e){const t=e[yn];return 2===t.type?t.declTNode:1===t.type?e[Ar]:null}function Hf(e,t,i){if(i&nn.SkipSelf){let x=t,b=e;for(;!(x=x.parent,null!==x||i&nn.Host||(x=cE(b),null===x||(b=b[Ao],10&x.type))););if(null===x)return!1;t=x,e=b}const u=tr.lFrame=zf();return u.currentTNode=t,u.lView=e,!0}function Vc(e){const t=zf(),i=e[yn];tr.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=tr.lFrame,t=null===e?null:e.child;return null===t?Wf(e):t}function Wf(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Kf(){const e=tr.lFrame;return tr.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gf=Kf;function jc(){const e=Kf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ui(){return tr.lFrame.selectedIndex}function ps(e){tr.lFrame.selectedIndex=e}function Br(){const e=tr.lFrame;return Ha(e.tView,e.selectedIndex)}let Yf=!0;function Ka(){return Yf}function lo(e){Yf=e}function iu(e,t){for(let he=t.directiveStart,we=t.directiveEnd;he=u)break}else t[K]<0&&(e[ri]+=65536),(H>14>16&&(3&e[Rn])===t&&(e[Rn]+=16384,Qf(H,b)):Qf(H,b)}const Us=-1;class Ga{constructor(t,i,u){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=u}}function Wc(e){return e!==Us}function Xa(e){return 32767&e}function Ya(e,t){let i=function bE(e){return e>>16}(e),u=t;for(;i>0;)u=u[Ao],i--;return u}let Kc=!0;function au(e){const t=Kc;return Kc=e,t}const Jf=255,qf=5;let DE=0;const uo={};function lu(e,t){const i=eh(e,t);if(-1!==i)return i;const u=t[yn];u.firstCreatePass&&(e.injectorIndex=t.length,Gc(u.data,e),Gc(t,null),Gc(u.blueprint,null));const x=uu(e,t),b=e.injectorIndex;if(Wc(x)){const N=Xa(x),H=Ya(x,t),K=H[yn].data;for(let he=0;he<8;he++)t[b+he]=H[N+he]|K[N+he]}return t[b+8]=x,b}function Gc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function eh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function uu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,u=null,x=t;for(;null!==x;){if(u=lh(x),null===u)return Us;if(i++,x=x[Ao],-1!==u.injectorIndex)return u.injectorIndex|i<<16}return Us}function Xc(e,t,i){!function AE(e,t,i){let u;"string"==typeof i?u=i.charCodeAt(0)||0:i.hasOwnProperty(ye)&&(u=i[ye]),null==u&&(u=i[ye]=DE++);const x=u&Jf;t.data[e+(x>>qf)]|=1<=0?t&Jf:BE:t}(i);if("function"==typeof b){if(!Hf(t,e,u))return u&nn.Host?th(x,0,u):nh(t,i,u,x);try{let N;if(N=b(u),null!=N||u&nn.Optional)return N;cn()}finally{Gf()}}else if("number"==typeof b){let N=null,H=eh(e,t),K=Us,he=u&nn.Host?t[Tr][Ar]:null;for((-1===H||u&nn.SkipSelf)&&(K=-1===H?uu(e,t):t[H+8],K!==Us&&sh(u,!1)?(N=t[yn],H=Xa(K),t=Ya(K,t)):H=-1);-1!==H;){const we=t[yn];if(oh(b,H,we.data)){const Ne=wE(H,t,i,N,u,he);if(Ne!==uo)return Ne}K=t[H+8],K!==Us&&sh(u,t[yn].data[H+8]===he)&&oh(b,H,t)?(N=we,H=Xa(K),t=Ya(K,t)):H=-1}}return x}function wE(e,t,i,u,x,b){const N=t[yn],H=N.data[e+8],we=cu(H,N,i,null==u?Ho(H)&&Kc:u!=N&&!!(3&H.type),x&nn.Host&&b===H);return null!==we?xs(t,N,we,H):uo}function cu(e,t,i,u,x){const b=e.providerIndexes,N=t.data,H=1048575&b,K=e.directiveStart,we=b>>20,ct=x?H+we:e.directiveEnd;for(let Dt=u?H:H+we;Dt=K&&jt.type===i)return Dt}if(x){const Dt=N[K];if(Dt&&Ii(Dt)&&Dt.type===i)return K}return null}function xs(e,t,i,u){let x=e[i];const b=t.data;if(function gE(e){return e instanceof Ga}(x)){const N=x;N.resolving&&function an(e,t){throw t&&t.join(" > "),new G(-200,e)}(function pt(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?Pn(N.injectImpl):null;Hf(e,u,nn.Default);try{x=e[i]=N.factory(void 0,b,e,u),t.firstCreatePass&&i>=u.directiveStart&&function vE(e,t,i){const{ngOnChanges:u,ngOnInit:x,ngDoCheck:b}=t.type.prototype;if(u){var N,H;const Ne=Xr(t);(null!==(N=i.preOrderHooks)&&void 0!==N?N:i.preOrderHooks=[]).push(e,Ne),(null!==(H=i.preOrderCheckHooks)&&void 0!==H?H:i.preOrderCheckHooks=[]).push(e,Ne)}var K,he,we;x&&(null!==(K=i.preOrderHooks)&&void 0!==K?K:i.preOrderHooks=[]).push(0-e,x),b&&((null!==(he=i.preOrderHooks)&&void 0!==he?he:i.preOrderHooks=[]).push(e,b),(null!==(we=i.preOrderCheckHooks)&&void 0!==we?we:i.preOrderCheckHooks=[]).push(e,b))}(i,b[i],t)}finally{null!==he&&Pn(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),u=Object.prototype;let x=Object.getPrototypeOf(e.prototype).constructor;for(;x&&x!==u;){const b=x[zt]||Yc(x);if(b&&b!==i)return b;x=Object.getPrototypeOf(x)}return b=>new b})}function Yc(e){return _e(e)?()=>{const t=Yc(He(e));return t&&t()}:ti(e)}function lh(e){const t=e[yn],i=t.type;return 2===i?t.declTNode:1===i?e[Ar]:null}function du(e){return function ME(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const u=i.length;let x=0;for(;x{var e;class t{static create(u,x){if(Array.isArray(u))return hh({name:""},x,u,"");{var b;const N=null!==(b=u.name)&&void 0!==b?b:"";return hh({name:N},u.parent,u.providers,N)}}}return(e=t).THROW_IF_NOT_FOUND=le,e.NULL=new lr,e.\u0275prov=Mn({token:e,providedIn:"any",factory:()=>Dr(mr)}),e.__NG_ELEMENT_ID__=-1,t})();function Qc(e){return e.ngOriginalError}class So{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&Qc(t);for(;i&&Qc(i);)i=Qc(i);return i||null}}const vh=new kt("",{providedIn:"root",factory:()=>$n(So).handleError.bind(void 0)});let Hs=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=LE,e.__NG_ENV_ID__=i=>i,t})();class kE extends Hs{constructor(t){super(),this._lView=t}onDestroy(t){return nu(this._lView,t),()=>function Oc(e,t){if(null===e[Mo])return;const i=e[Mo].indexOf(t);-1!==i&&e[Mo].splice(i,1)}(this._lView,t)}}function LE(){return new kE(sn())}function $E(){return zs(yr(),sn())}function zs(e,t){return new Za(hi(e,t))}let Za=(()=>{class t{constructor(u){this.nativeElement=u}}return t.__NG_ELEMENT_ID__=$E,t})();function gh(e){return e instanceof Za?e.nativeElement:e}function Jc(e){return t=>{setTimeout(e,void 0,t)}}const co=class UE extends Oe.B{constructor(t=!1){var i;super(),this.destroyRef=void 0,this.__isAsync=t,Na()&&(this.destroyRef=null!==(i=$n(Hs,{optional:!0}))&&void 0!==i?i:void 0)}emit(t){const i=C(null);try{super.next(t)}finally{C(i)}}subscribe(t,i,u){let x=t,b=i||(()=>null),N=u;if(t&&"object"==typeof t){var H,K,he;const Ne=t;x=null===(H=Ne.next)||void 0===H?void 0:H.bind(Ne),b=null===(K=Ne.error)||void 0===K?void 0:K.bind(Ne),N=null===(he=Ne.complete)||void 0===he?void 0:he.bind(Ne)}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 xe.yU&&t.add(we),we}};function VE(){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]=VE)}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 u=function Ir(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function mo(e,t,i){if(e.length!==t.length)return!1;for(let u=0;uuy}),uy="ng",$h=new kt(""),o0=new kt("",{providedIn:"platform",factory:()=>"unknown"}),cy=new kt("",{providedIn:"root",factory:()=>{var e;return(null===(e=Ko().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let Uh=()=>null;function c0(e,t,i=!1){return Uh(e,t,i)}const Wh=new kt("",{providedIn:"root",factory:()=>!1});let Du,Au;function Xs(e){var t;return(null===(t=function p0(){if(void 0===Du&&(Du=null,bt.trustedTypes))try{Du=bt.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 x0(){if(void 0===Au&&(Au=null,bt.trustedTypes))try{Au=bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Au}function Gh(e){var t;return(null===(t=x0())||void 0===t?void 0:t.createHTML(e))||e}function Yh(e){var t;return(null===(t=x0())||void 0===t?void 0:t.createScriptURL(e))||e}class vs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ne})`}}class Ay extends vs{getTypeName(){return"HTML"}}class My extends vs{getTypeName(){return"Style"}}class wy extends vs{getTypeName(){return"Script"}}class _y extends vs{getTypeName(){return"URL"}}class By extends vs{getTypeName(){return"ResourceURL"}}function Io(e){return e instanceof vs?e.changingThisBreaksApplicationSecurity:e}function Ys(e,t){const i=function Sy(e){return e instanceof vs&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${ne})`)}return i===t}function Iy(e){return new Ay(e)}function Ty(e){return new My(e)}function Fy(e){return new wy(e)}function Py(e){return new _y(e)}function Ry(e){return new By(e)}class Oy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Xs(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class Ny{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=Xs(t),i}}const Ly=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Mu(e){return(e=String(e)).match(Ly)?e:"unsafe:"+e}function To(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function il(...e){const t={};for(const i of e)for(const u in i)i.hasOwnProperty(u)&&(t[u]=!0);return t}const Qh=To("area,br,col,hr,img,wbr"),Jh=To("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qh=To("rp,rt"),v0=il(Qh,il(Jh,To("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),il(qh,To("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),il(qh,Jh)),m0=To("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ep=il(m0,To("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),To("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),$y=To("script,style,template");class Uy{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,u=!0,x=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?u=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,u&&i.firstChild)x.push(i),i=Hy(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let b=jy(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,!$y.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const u=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 jy(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw np(t);return t}function Hy(e){const t=e.firstChild;if(t&&function Vy(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 zy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wy=/([^\#-~ |!])/g;function rp(e){return e.replace(/&/g,"&").replace(zy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Wy,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 Ny(e);return function ky(){try{return!!(new window.DOMParser).parseFromString(Xs(""),"text/html")}catch{return!1}}()?new Oy(t):t}(e);let u=t?String(t):"";i=wu.getInertBodyElement(u);let x=5,b=u;do{if(0===x)throw new Error("Failed to sanitize html because the input is unstable");x--,u=b,b=i.innerHTML,i=wu.getInertBodyElement(u)}while(u!==b);return Xs((new Uy).sanitizeChildren(g0(i)||i))}finally{if(i){const u=g0(i)||i;for(;u.firstChild;)u.removeChild(u.firstChild)}}}function g0(e){return"content"in e&&function Ky(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ms=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ms||{});function op(e){const t=ol();return t?Gh(t.sanitize(ms.HTML,e)||""):Ys(e,"HTML")?Gh(Io(e)):ip(Ko(),dt(e))}function E0(e){const t=ol();return t?t.sanitize(ms.URL,e)||"":Ys(e,"URL")?Io(e):Mu(dt(e))}function y0(e){const t=ol();if(t)return Yh(t.sanitize(ms.RESOURCE_URL,e)||"");if(Ys(e,"ResourceURL"))return Yh(Io(e));throw new G(904,!1)}function sp(e,t,i){return function Qy(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[Si].sanitizer}const Jy=/^>|^->||--!>|)/g,e8="\u200b$1\u200b";function cp(e){return e.ownerDocument.defaultView}function Pi(e){return e instanceof Function?e():e}var Su=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Su||{});let A0;function M0(e,t){return A0(e,t)}function Qs(e,t,i,u,x){if(null!=u){let b,N=!1;Jr(u)?b=u:ii(u)&&(N=!0,u=u[xr]);const H=br(u);0===e&&null!==i?null==x?Ep(t,i,H):gs(t,i,H,x||null,!0):1===e&&null!==i?gs(t,i,H,x||null,!0):2===e?function ll(e,t,i){const u=Fu(e,t);u&&function g8(e,t,i,u){e.removeChild(t,i,u)}(e,u,t,i)}(t,H,N):3===e&&t.destroyNode(H),null!=b&&function C8(e,t,i,u,x){const b=i[Gi];b!==br(i)&&Qs(t,e,u,b,x);for(let H=kr;Ht.replace(qy,e8))}(t))}function Iu(e,t,i){return e.createElement(t,i)}function vp(e,t){var i;null===(i=t[Si].changeDetectionScheduler)||void 0===i||i.notify(1),Ru(e,t,t[Qn],2,null,null)}function mp(e,t){const i=e[jo],u=i.indexOf(t);i.splice(u,1)}function sl(e,t){if(e.length<=kr)return;const i=kr+t,u=e[i];if(u){const x=u[Uo];null!==x&&x!==e&&mp(x,u),t>0&&(e[i-1][Lr]=u[Lr]);const b=Bi(e,kr+t);!function d8(e,t){vp(e,t),t[xr]=null,t[Ar]=null}(u[yn],u);const N=b[Li];null!==N&&N.detachView(b[yn]),u[ir]=null,u[Lr]=null,u[Rn]&=-129}return u}function Tu(e,t){if(!(256&t[Rn])){const i=t[Qn];i.destroyNode&&Ru(e,t,i,3,null,null),function h8(e){let t=e[ss];if(!t)return B0(e[yn],e);for(;t;){let i=null;if(ii(t))i=t[ss];else{const u=t[kr];u&&(i=u)}if(!i){for(;t&&!t[Lr]&&t!==e;)ii(t)&&B0(t[yn],t),t=t[ir];null===t&&(t=e),ii(t)&&B0(t[yn],t),i=t&&t[Lr]}t=i}}(t)}}function B0(e,t){if(256&t[Rn])return;const i=C(null);try{t[Rn]&=-129,t[Rn]|=256,t[io]&&function V(e){if(te(e),me(e))for(let t=0;t=0?u[N]():u[-N].unsubscribe(),b+=2}else i[b].call(u[i[b+1]]);null!==u&&(t[ki]=null);const x=t[Mo];if(null!==x){t[Mo]=null;for(let b=0;b-1){const{encapsulation:b}=e.data[u.directiveStart+x];if(b===ni.None||b===ni.Emulated)return null}return hi(u,i)}}(e,t.parent,i)}function gs(e,t,i,u,x){e.insertBefore(t,i,u,x)}function Ep(e,t,i){e.appendChild(t,i)}function yp(e,t,i,u,x){null!==u?gs(e,t,i,u,x):Ep(e,t,i)}function Fu(e,t){return e.parentNode(t)}function Cp(e,t,i){return Dp(e,t,i)}let I0,Dp=function bp(e,t,i){return 40&e.type?hi(e,i):null};function Pu(e,t,i,u){const x=S0(e,u,t),b=t[Qn],H=Cp(u.parent||t[Ar],u,t);if(null!=x)if(Array.isArray(i))for(let K=0;KJn&&Tp(e,t,Jn,!1),oo(N?2:0,x),i(u,x)}finally{ps(b),oo(N?3:1,x)}}function R0(e,t,i){if(La(t)){const u=C(null);try{const b=t.directiveEnd;for(let N=t.directiveStart;Nnull;function kp(e,t,i,u,x){for(let N in t){var b;if(!t.hasOwnProperty(N))continue;const H=t[N];if(void 0===H)continue;null!==(b=u)&&void 0!==b||(u={});let K,he=gi.None;Array.isArray(H)?(K=H[0],he=H[1]):K=H;let we=N;if(null!==x){if(!x.hasOwnProperty(N))continue;we=x[N]}0===e?Lp(u,i,we,K,he):Lp(u,i,we,K)}return u}function Lp(e,t,i,u,x){let b;e.hasOwnProperty(i)?(b=e[i]).push(t,u):b=e[i]=[t,u],void 0!==x&&b.push(x)}function Ci(e,t,i,u,x,b,N,H){const K=hi(t,i);let we,he=t.inputs;!H&&null!=he&&(we=he[u])?(j0(e,i,we,u,x),Ho(t)&&function R8(e,t){const i=Ti(t,e);16&i[Rn]||(i[Rn]|=64)}(i,t.index)):3&t.type&&(u=function P8(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(u),x=null!=N?N(x,t.value||"",u):x,b.setProperty(K,u,x))}function L0(e,t,i,u){if(Nf()){const x=null===u?null:{"":-1},b=function U8(e,t){const i=e.directiveRegistry;let u=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,u,b)}}(e,t,u,ul(e,i,x.hostVars,rr),x)}function fo(e,t,i,u,x,b){const N=hi(e,t);!function U0(e,t,i,u,x,b,N){if(null==b)e.removeAttribute(t,x,i);else{const H=null==N?dt(b):N(b,u||"",x);e.setAttribute(t,x,H,i)}}(t[Qn],N,b,e.value,i,u,x)}function K8(e,t,i,u,x,b){const N=b[t];if(null!==N)for(let H=0;H0&&(i[x-1][Lr]=t),u!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{za(e.lView)},consumerOnSignalRead(){this.lView[io]=this}},Yp=100;function Lu(e,t=!0,i=0){const u=e[Si],x=u.rendererFactory;var N;null===(N=x.begin)||void 0===N||N.call(x);try{!function t9(e,t){W0(e,t);let i=0;for(;Pc(e);){if(i===Yp)throw new G(103,!1);i++,W0(e,1)}}(e,i)}catch(he){throw t&&ku(e,he),he}finally{var H,K;null===(H=x.end)||void 0===H||H.call(x),null===(K=u.inlineEffectRunner)||void 0===K||K.flush()}}function n9(e,t,i,u){var x;const b=t[Rn];if(!(256&~b))return;null===(x=t[Si].inlineEffectRunner)||void 0===x||x.flush(),Vc(t);let H=null,K=null;(function r9(e){return 2!==e.type})(e)&&(K=function Q8(e){var t;return null!==(t=e[io])&&void 0!==t?t:function J8(e){var t;const i=null!==(t=Xp.pop())&&void 0!==t?t:Object.create(e9);return i.lView=e,i}(e)}(t),H=function M(e){return e&&(e.nextProducerIndex=0),C(e)}(K));try{Pf(t),function Vf(e){return tr.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==i&&Rp(e,t,i,2,u);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[Rn]&eu.HasTransplantedViews))continue;const i=t[jo];for(let u=0;ue.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(K,H),function q8(e){e.lView[io]!==e&&(e.lView=null,Xp.push(e))}(K)),jc()}}function Zp(e,t){for(let i=Bh(e);null!==i;i=Sh(i))for(let u=kr;u-1&&(sl(t,u),Bi(i,u))}this._attachedToViewContainer=!1}Tu(this._lView[yn],this._lView)}onDestroy(t){nu(this._lView,t)}markForCheck(){hl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Rn]&=-129}reattach(){Rc(this._lView),this._lView[Rn]|=128}detectChanges(){this._lView[Rn]|=1024,Lu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vp(this._lView[yn],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,u){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=u}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,u){const x=function cl(e,t,i,u){const x=C(null);try{var b,N,H;const K=t.tView,Ne=Ou(e,K,i,4096&e[Rn]?4096:16,null,t,null,null,null!==(b=null==u?void 0:u.injector)&&void 0!==b?b:null,null!==(N=null==u?void 0:u.embeddedViewInjector)&&void 0!==N?N:null,null!==(H=null==u?void 0:u.dehydratedView)&&void 0!==H?H:null);Ne[Uo]=e[t.index];const Dt=e[Li];return null!==Dt&&(Ne[Li]=Dt.createEmbeddedView(K)),H0(K,Ne,i),Ne}finally{C(x)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:u});return new pl(x)}};function l9(){return $u(yr(),sn())}function $u(e,t){return 4&e.type?new a9(t,e,zs(e,t)):null}class Q0{}class F9{}class ox{}class R9{resolveComponentFactory(t){throw function P9(e){const t=Error(`No component factory found for ${Wt(e)}.`);return t.ngComponent=e,t}(t)}}let zu=(()=>{class t{}return t.NULL=new R9,t})();class ax{}let O9=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function N9(){const e=sn(),i=Ti(yr().index,e);return(ii(i)?i:e)[Qn]}(),t})(),k9=(()=>{var e;class t{}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>null}),t})();const J0={},lx=new Set;function ho(e){var t,i;lx.has(e)||(lx.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 ux(...e){}class zr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:u=!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=!u&&i,x.shouldCoalesceRunChangeDetection=u,x.lastRequestAnimationFrameId=-1,x.nativeRequestAnimationFrame=function L9(){const e="function"==typeof bt.requestAnimationFrame;let t=bt[e?"requestAnimationFrame":"setTimeout"],i=bt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const u=t[Zone.__symbol__("OriginalDelegate")];u&&(t=u);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(bt,()=>{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,u,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 cx(e),i.invokeTask(x,b,N,H)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===b.type||e.shouldCoalesceRunChangeDetection)&&t(),dx(e)}},onInvoke:(i,u,x,b,N,H,K)=>{try{return cx(e),i.invoke(x,b,N,H,K)}finally{e.shouldCoalesceRunChangeDetection&&t(),dx(e)}},onHasTask:(i,u,x,b)=>{i.hasTask(x,b),u===x&&("microTask"==b.change?(e._hasPendingMicrotasks=b.microTask,ed(e),q0(e)):"macroTask"==b.change&&(e.hasPendingMacrotasks=b.macroTask))},onHandleError:(i,u,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(!zr.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(zr.isInAngularZone())throw new G(909,!1)}run(t,i,u){return this._inner.run(t,i,u)}runTask(t,i,u,x){const b=this._inner,N=b.scheduleEventTask("NgZoneEvent: "+x,t,$9,ux,ux);try{return b.runTask(N,i,u)}finally{b.cancelTask(N)}}runGuarded(t,i,u){return this._inner.runGuarded(t,i,u)}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 cx(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function dx(e){e._nesting--,q0(e)}class fx{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,u){return t.apply(i,u)}runGuarded(t,i,u){return t.apply(i,u)}runOutsideAngular(t){return t()}runTask(t,i,u,x){return t.apply(i,u)}}var Es=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Es||{});const hx={destroy(){}};function px(e,t){var i,u,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:$n(Fi);if(!function Yi(e){return"browser"===(null!=e?e:$n(Fi)).get(o0)}(b))return hx;ho("NgAfterNextRender");const N=b.get(yl),H=null!==(u=N.handler)&&void 0!==u?u:N.handler=new vx,K=null!==(x=null==t?void 0:t.phase)&&void 0!==x?x:Es.MixedReadWrite,he=()=>{H.unregister(Ne),we()},we=b.get(Hs).onDestroy(he),Ne=ro(b,()=>new xx(K,()=>{he(),e()}));return H.register(Ne),{destroy:he}}class xx{constructor(t,i){var u;this.phase=t,this.callbackFn=i,this.zone=$n(zr),this.errorHandler=$n(So,{optional:!0}),null===(u=$n(Q0,{optional:!0}))||void 0===u||u.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(i){var t;null===(t=this.errorHandler)||void 0===t||t.handleError(i)}}}class vx{constructor(){this.executingCallbacks=!1,this.buckets={[Es.EarlyRead]:new Set,[Es.Write]:new Set,[Es.MixedReadWrite]:new Set,[Es.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let yl=(()=>{var e;class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var u;this.executeInternalCallbacks(),null===(u=this.handler)||void 0===u||u.execute()}executeInternalCallbacks(){const u=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const x of u)x()}ngOnDestroy(){var u;null===(u=this.handler)||void 0===u||u.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:()=>new e}),t})();function Go(e){return!!Gr(e)}function Ku(e,t,i){let u=i?e.styles:null,x=i?e.classes:null,b=0;if(null!==t)for(let N=0;N0&&Bp(e,i,b.join(" "))}}(tn,Ji,gn,u),void 0!==i&&function eC(e,t,i){const u=e.projection=[];for(let x=0;x{class t{}return t.__NG_ELEMENT_ID__=nC,t})();function nC(){return Dx(yr(),sn())}const rC=Xu,Cx=class extends rC{constructor(t,i,u){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=u}get element(){return zs(this._hostTNode,this._hostLView)}get injector(){return new Yr(this._hostTNode,this._hostLView)}get parentInjector(){const t=uu(this._hostTNode,this._hostLView);if(Wc(t)){const i=Ya(t,this._hostLView),u=Xa(t);return new Yr(i[yn].data[u+8],i)}return new Yr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=bx(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-kr}createEmbeddedView(t,i,u){let x,b;"number"==typeof u?x=u:null!=u&&(x=u.index,b=u.injector);const H=t.createEmbeddedViewImpl(i||{},b,null);return this.insertImpl(H,x,ea(this._hostTNode,null)),H}createComponent(t,i,u,x,b){var N,K;const he=t&&!function Jt(e){return"function"==typeof e}(t);let we;if(he)we=i;else{const gn=i||{};we=gn.index,u=gn.injector,x=gn.projectableNodes,b=gn.environmentInjector||gn.ngModuleRef}const Ne=he?t:new Dl(er(t)),ct=u||this.parentInjector;if(!b&&null==Ne.ngModule){const on=(he?ct:this.parentInjector).get(fi,null);on&&(b=on)}const Dt=er(null!==(N=Ne.componentType)&&void 0!==N?N:{}),jt=(null==Dt?void 0:Dt.id,null),tn=null!==(K=null==jt?void 0:jt.firstChild)&&void 0!==K?K:null,pn=Ne.create(ct,x,tn,b);return this.insertImpl(pn.hostView,we,ea(this._hostTNode,jt)),pn}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,u){const x=t._lView;if(function Z1(e){return Jr(e[ir])}(x)){const H=this.indexOf(t);if(-1!==H)this.detach(H);else{const K=x[ir],he=new Cx(K,K[Ar],K[ir]);he.detach(he.indexOf(t))}}const b=this._adjustIndex(i),N=this._lContainer;return dl(N,x,b,u),t.attachToViewContainerRef(),Ni(id(N),b,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=bx(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),u=sl(this._lContainer,i);u&&(Bi(id(this._lContainer),i),Tu(u[yn],u))}detach(t){const i=this._adjustIndex(t,-1),u=sl(this._lContainer,i);return u&&null!=Bi(id(this._lContainer),i)?new pl(u):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function bx(e){return e[8]}function id(e){return e[8]||(e[8]=[])}function Dx(e,t){let i;const u=t[e.index];return Jr(u)?i=u:(i=Vp(u,t,null,e),t[e.index]=i,Nu(t,i)),Ax(i,t,e,u),new Cx(i,e,t)}let Ax=function wx(e,t,i,u){if(e[Gi])return;let x;x=8&i.type?br(u):function iC(e,t){const i=e[Qn],u=i.createComment(""),x=hi(t,e);return gs(i,Fu(i,x),u,function E8(e,t){return e.nextSibling(t)}(i,x),!1),u}(t,i),e[Gi]=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 u=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 u=0;u0)u.push(N[H/2]);else{const he=b[H+1],we=t[-K];for(let Ne=kr;Ne=0;u--){const x=e[u];x.hostVars=t+=x.hostVars,x.hostAttrs=Xe(x.hostAttrs,i=Xe(i,x.hostAttrs))}}(u)}function AC(e,t){for(const u in t.inputs){if(!t.inputs.hasOwnProperty(u)||e.inputs.hasOwnProperty(u))continue;const x=t.inputs[u];if(void 0!==x&&(e.inputs[u]=x,e.declaredInputs[u]=t.declaredInputs[u],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===dn?{}:e===fn?[]:e}function wC(e,t){const i=e.viewQuery;e.viewQuery=i?(u,x)=>{t(u,x),i(u,x)}:t}function _C(e,t){const i=e.contentQueries;e.contentQueries=i?(u,x,b)=>{t(u,x,b),i(u,x,b)}:t}function BC(e,t){const i=e.hostBindings;e.hostBindings=i?(u,x)=>{t(u,x),i(u,x)}:t}function Qx(e){const t=e.inputConfig,i={};for(const u in t)if(t.hasOwnProperty(u)){const x=t[u];Array.isArray(x)&&x[3]&&(i[u]=x[3])}e.inputTransforms=i}class ys{}class Jx{}function RC(e,t){return new xd(e,null!=t?t:null,[])}class xd extends ys{constructor(t,i,u){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ex(this);const x=Gr(t);this._bootstrapComponents=Pi(x.bootstrap),this._r3Injector=ph(t,i,[{provide:ys,useValue:this},{provide:zu,useValue:this.componentFactoryResolver},...u],Wt(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 Jx{constructor(t){super(),this.moduleType=t}create(t){return new xd(this.moduleType,t,[])}}class qx extends ys{constructor(t){super(),this.componentFactoryResolver=new Ex(this),this.instance=null;const i=new to([...t.providers,{provide:ys,useValue:this},{provide:zu,useValue:this.componentFactoryResolver}],t.parent||ko(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function md(e,t,i=null){return new qx({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let ra=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Te.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const u=this.taskId++;return this.pendingTasks.add(u),u}remove(u){this.pendingTasks.delete(u),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(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Ju(e){return!!gd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function gd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function po(e,t,i){return e[t]=i}function $r(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Cs(e,t,i,u){const x=$r(e,t,i);return $r(e,t+1,u)||x}function ia(e,t,i,u,x,b,N,H){const K=sn(),he=ur(),we=e+Jn,Ne=he.firstCreatePass?function VC(e,t,i,u,x,b,N,H,K){const he=t.consts,we=qs(t,e,4,N||null,so(he,H));L0(t,i,we,so(he,K)),iu(t,we);const Ne=we.tView=k0(2,we,u,x,b,t.directiveRegistry,t.pipeRegistry,null,t.schemas,he,null);return null!==t.queries&&(t.queries.template(t,we),Ne.queries=t.queries.embeddedTView(we)),we}(we,he,K,t,i,u,x,b,N):he.data[we];ao(Ne,!1);const ct=ev(he,K,Ne,e);Ka()&&Pu(he,K,ct,Ne),ci(ct,K);const Dt=Vp(ct,K,ct,Ne);return K[we]=Dt,Nu(K,Dt),function Mx(e,t,i){return od(e,t,i)}(Dt,Ne,K),us(Ne)&&O0(he,K,Ne),null!=N&&N0(K,Ne,H),ia}let ev=function tv(e,t,i,u){return lo(!0),t[Qn].createComment("")};function Bd(e,t,i,u){const x=sn();return $r(x,Xi(),t)&&(ur(),fo(Br(),x,e,t,i,u)),Bd}function fa(e,t,i,u){return $r(e,Xi(),i)?t+dt(i)+u:rr}function ha(e,t,i,u,x,b){const H=Cs(e,function _o(){return tr.lFrame.bindingIndex}(),i,x);return Bo(2),H?t+dt(i)+u+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 Ds(e){return(131068&e)>>2}function Id(e,t){return-131069&e|t<<2}function Td(e){return 1|e}function Fv(e,t,i,u){const x=e[i+1],b=null===t;let N=u?Zo(x):Ds(x),H=!1;for(;0!==N&&(!1===H||b);){const he=e[N+1];_2(e[N],t)&&(H=!0,e[N+1]=u?Td(he):Sd(he)),N=u?Zo(he):Ds(he)}H&&(e[i+1]=u?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)&&Ie(e,t)>=0}const Zr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Pv(e){return e.substring(Zr.key,Zr.keyEnd)}function B2(e){return e.substring(Zr.value,Zr.valueEnd)}function Rv(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),ya(e,t,i))}function Ov(e,t){const i=Zr.textEnd;let u=Zr.key=ya(e,t,i);return i===u?-1:(u=Zr.keyEnd=function F2(e,t,i){let u;for(;t=65&&(-33&u)<=90||u>=48&&u<=57);)t++;return t}(e,u,i),u=kv(e,u,i),u=Zr.value=ya(e,u,i),u=Zr.valueEnd=function P2(e,t,i){let u=-1,x=-1,b=-1,N=t,H=N;for(;N32&&(H=N),b=x,x=u,u=-33&K}return H}(e,u,i),kv(e,u,i))}function Nv(e){Zr.key=0,Zr.keyEnd=0,Zr.value=0,Zr.valueEnd=0,Zr.textEnd=e.length}function ya(e,t,i){for(;t=0;i=Ov(t,i))jv(e,Pv(t),B2(t))}function vo(e,t){for(let i=function S2(e){return Nv(e),Rv(e,ya(e,0,Zr.textEnd))}(t);i>=0;i=Rv(t,i))Re(e,Pv(t),!0)}function Qi(e,t,i,u){const x=ur(),b=Bo(2);x.firstUpdatePass&&Vv(x,null,b,u);const N=sn();if(i!==rr&&$r(N,b,i)){const H=x.data[ui()];if(Wv(H,u)&&!Uv(x,b)){let K=u?H.classesWithoutHost:H.stylesWithoutHost;null!==K&&(i=Nt(K,i||"")),Pd(x,H,N,i,u)}else!function j2(e,t,i,u,x,b,N,H){x===rr&&(x=fn);let K=0,he=0,we=0=e.expandoStartIndex}function Vv(e,t,i,u){const x=e.data;if(null===x[i+1]){const b=x[ui()],N=Uv(e,i);Wv(b,u)&&null===t&&!N&&(t=!1),t=function N2(e,t,i,u){const x=function $c(e){const t=tr.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let b=u?t.residualClasses:t.residualStyles;if(null===x)0===(u?t.classBindings:t.styleBindings)&&(i=Il(i=Od(null,e,t,i,u),t.attrs,u),b=null);else{const N=t.directiveStylingLast;if(-1===N||e[N]!==x)if(i=Od(x,e,t,i,u),null===b){let K=function k2(e,t,i){const u=i?t.classBindings:t.styleBindings;if(0!==Ds(u))return e[Zo(u)]}(e,t,u);void 0!==K&&Array.isArray(K)&&(K=Od(null,e,t,K[1],u),K=Il(K,t.attrs,u),function L2(e,t,i,u){e[Zo(i?t.classBindings:t.styleBindings)]=u}(e,t,u,K))}else b=function $2(e,t,i){let u;const x=t.directiveEnd;for(let b=1+t.directiveStylingLast;b0)&&(he=!0)):we=i,x)if(0!==K){const ct=Zo(e[H+1]);e[u+1]=oc(ct,H),0!==ct&&(e[ct+1]=Id(e[ct+1],u)),e[H+1]=function D2(e,t){return 131071&e|t<<17}(e[H+1],u)}else e[u+1]=oc(H,0),0!==H&&(e[H+1]=Id(e[H+1],u)),H=u;else e[u+1]=oc(K,0),0===H?H=u:e[K+1]=Id(e[K+1],u),K=u;he&&(e[u+1]=Sd(e[u+1])),Fv(e,we,u,!0),Fv(e,we,u,!1),function w2(e,t,i,u,x){const b=x?e.residualClasses:e.residualStyles;null!=b&&"string"==typeof t&&Ie(b,t)>=0&&(i[u+1]=Td(i[u+1]))}(t,we,e,u,b),N=oc(H,K),b?t.classBindings=N:t.styleBindings=N}(x,b,t,i,N,u)}}function Od(e,t,i,u,x){let b=null;const N=i.directiveEnd;let H=i.directiveStylingLast;for(-1===H?H=i.directiveStart:H++;H0;){const K=e[x],he=Array.isArray(K),we=he?K[1]:K,Ne=null===we;let ct=i[x+1];ct===rr&&(ct=Ne?fn:void 0);let Dt=Ne?Le(ct,u):we===u?ct:void 0;if(he&&!sc(Dt)&&(Dt=Le(K,u)),sc(Dt)&&(H=Dt,N))return H;const jt=e[x+1];x=N?Zo(jt):Ds(jt)}if(null!==t){let K=b?t.residualClasses:t.residualStyles;null!=K&&(H=Le(K,u))}return H}function sc(e){return void 0!==e}function Wv(e,t){return!!(e.flags&(t?8:16))}function Kv(e,t,i){Qi(Re,vo,fa(sn(),e,t,i),!0)}function ac(e,t,i,u){const x=sn(),b=ur(),N=Jn+e,H=x[Qn],K=b.firstCreatePass?function db(e,t,i,u,x,b){const N=t.consts,K=qs(t,e,2,u,so(N,x));return L0(t,i,K,so(N,b)),null!==K.attrs&&Ku(K,K.attrs,!1),null!==K.mergedAttrs&&Ku(K,K.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,K),K}(N,b,x,t,i,u):b.data[N],he=Zv(b,x,K,H,t,e);x[N]=he;const we=us(K);return ao(K,!0),Sp(H,he,K),!function wl(e){return!(32&~e.flags)}(K)&&Ka()&&Pu(b,x,he,K),0===function J1(){return tr.lFrame.elementDepthCount}()&&ci(he,x),function q1(){tr.lFrame.elementDepthCount++}(),we&&(O0(b,x,K),R0(b,K,x)),null!==u&&N0(x,K),ac}function lc(){let e=yr();Nc()?kc():(e=e.parent,ao(e,!1));const t=e;(function tE(e){return tr.skipHydrationRootTNode===e})(t)&&function oE(){tr.skipHydrationRootTNode=null}(),function eE(){tr.lFrame.elementDepthCount--}();const i=ur();return i.firstCreatePass&&(iu(i,e),La(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function yE(e){return!!(8&e.flags)}(t)&&Pd(i,t,sn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function CE(e){return!!(16&e.flags)}(t)&&Pd(i,t,sn(),t.stylesWithoutHost,!1),lc}function Ud(e,t,i,u){return ac(e,t,i,u),lc(),Ud}let Zv=(e,t,i,u,x,b)=>(lo(!0),Iu(u,x,function Xf(){return tr.lFrame.currentNamespace}()));function Vd(e,t,i){const u=sn(),x=ur(),b=e+Jn,N=x.firstCreatePass?function pb(e,t,i,u,x){const b=t.consts,N=so(b,u),H=qs(t,e,8,"ng-container",N);return null!==N&&Ku(H,N,!0),L0(t,i,H,so(b,x)),null!==t.queries&&t.queries.elementStart(t,H),H}(b,x,u,t,i):x.data[b];ao(N,!0);const H=Qv(x,u,N,e);return u[b]=H,Ka()&&Pu(x,u,H,N),ci(H,u),us(N)&&(O0(x,u,N),R0(x,N,u)),null!=i&&N0(u,N),Vd}function jd(){let e=yr();const t=ur();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 Qv=(e,t,i,u)=>(lo(!0),_0(t[Qn],""));function Jv(){return sn()}const As=void 0;var gb=["en",[["a","p"],["AM","PM"],As],[["AM","PM"],As,As],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],As,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],As,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",As,"{1} 'at' {0}",As],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function mb(e){const i=Math.floor(Math.abs(e)),u=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===u?1:5}];let Ca={};function zd(e){const t=function Eb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=nm(t);if(i)return i;const u=t.split("-")[0];if(i=nm(u),i)return i;if("en"===u)return gb;throw new G(701,!1)}function tm(e){return zd(e)[ba.PluralCase]}function nm(e){return e in Ca||(Ca[e]=bt.ng&&bt.ng.common&&bt.ng.common.locales&&bt.ng.common.locales[e]),Ca[e]}var ba=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ba||{});const Da="en-US";let rm=Da;function Gd(e,t,i,u){const x=sn(),b=ur(),N=yr();return Xd(b,x,x[Qn],N,e,t,u),Gd}function Xd(e,t,i,u,x,b,N){const H=us(u),he=e.firstCreatePass&&zp(e),we=t[Cr],Ne=Hp(t);let ct=!0;if(3&u.type||N){const tn=hi(u,t),pn=N?N(tn):tn,gn=Ne.length,on=N?or=>N(br(or[u.index])):u.index;let Yn=null;if(!N&&H&&(Yn=function x6(e,t,i,u){const x=e.cleanup;if(null!=x)for(let b=0;bK?H[K]:null}"string"==typeof N&&(b+=2)}return null}(e,t,x,u.index)),null!==Yn)(Yn.__ngLastListenerFn__||Yn).__ngNextListenerFn__=b,Yn.__ngLastListenerFn__=b,ct=!1;else{b=Tm(u,t,we,b,!1);const or=i.listen(pn,x,b);Ne.push(b,or),he&&he.push(x,on,gn,gn+1)}}else b=Tm(u,t,we,b,!1);const Dt=u.outputs;let jt;if(ct&&null!==Dt&&(jt=Dt[x])){const tn=jt.length;if(tn)for(let pn=0;pn-1?Ti(e.index,t):t);let K=Im(t,i,u,N),he=b.__ngNextListenerFn__;for(;he;)K=Im(t,i,he,N)&&K,he=he.__ngNextListenerFn__;return x&&!1===K&&N.preventDefault(),K}}function Fm(e=1){return function dE(e){return(tr.lFrame.contextLView=function Rf(e,t){for(;e>0;)t=t[Ao],e--;return t}(e,tr.lFrame.contextLView))[Cr]}(e)}function v6(e,t){let i=null;const u=function yo(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let x=0;x(lo(!0),function w0(e,t){return e.createText(t)}(t[Qn],u));function Qd(e){return hc("",e,""),Qd}function hc(e,t,i){const u=sn(),x=fa(u,e,t,i);return x!==rr&&Fo(u,ui(),x),hc}function Jd(e,t,i,u,x){const b=sn(),N=ha(b,e,t,i,u,x);return N!==rr&&Fo(b,ui(),N),Jd}function qd(e,t,i){Nx(t)&&(t=t());const u=sn();return $r(u,Xi(),t)&&Ci(ur(),Br(),u,e,t,u[Qn],i,!1),qd}function fg(e,t){const i=Nx(e);return i&&e.set(t),i}function ef(e,t){const i=sn(),u=ur(),x=yr();return Xd(u,i,i[Qn],x,e,t),ef}function tf(e,t,i,u,x){if(e=He(e),Array.isArray(e))for(let b=0;b>20;if(Ki(e)||!e.multi){const Dt=new Ga(he,x,Js),jt=rf(K,t,x?we:we+ct,Ne);-1===jt?(Xc(lu(H,N),b,K),nf(b,e,t.length),t.push(K),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(Dt),N.push(Dt)):(i[jt]=Dt,N[jt]=Dt)}else{const Dt=rf(K,t,we+ct,Ne),jt=rf(K,t,we,we+ct),pn=jt>=0&&i[jt];if(x&&!pn||!x&&!(Dt>=0&&i[Dt])){Xc(lu(H,N),b,K);const gn=function O6(e,t,i,u,x){const b=new Ga(e,i,Js);return b.multi=[],b.index=t,b.componentProviders=0,hg(b,x,u&&!i),b}(x?R6:P6,i.length,x,u,he);!x&&pn&&(i[jt].providerFactory=gn),nf(b,e,t.length,0),t.push(K),H.directiveStart++,H.directiveEnd++,x&&(H.providerIndexes+=1048576),i.push(gn),N.push(gn)}else nf(b,e,Dt>-1?Dt:jt,hg(i[x?jt:Dt],he,!x&&u));!x&&u&&pn&&i[jt].componentProviders++}}}function nf(e,t,i,u){const x=Ki(t),b=function Ra(e){return!!e.useClass}(t);if(x||b){const K=(b?He(t.useClass):t).prototype.ngOnDestroy;if(K){const he=e.destroyHooks||(e.destroyHooks=[]);if(!x&&t.multi){const we=he.indexOf(i);-1===we?he.push(i,[u,K]):he[we+1].push(u,K)}else he.push(i,K)}}}function hg(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function rf(e,t,i,u){for(let x=i;x{i.providersResolver=(u,x)=>function F6(e,t,i){const u=ur();if(u.firstCreatePass){const x=Ii(e);tf(i,u.data,u.blueprint,x,!0),tf(t,u.data,u.blueprint,x,!1)}}(u,x?x(e):e,t)}}let N6=(()=>{var e;class t{constructor(u){this._injector=u,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(u){if(!u.standalone)return null;if(!this.cachedInjectors.has(u)){const x=Oo(0,u.type),b=x.length>0?md([x],this._injector,`Standalone[${u.type.name}]`):null;this.cachedInjectors.set(u,b)}return this.cachedInjectors.get(u)}ngOnDestroy(){try{for(const u of this.cachedInjectors.values())null!==u&&u.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Mn({token:e,providedIn:"environment",factory:()=>new e(Dr(fi))}),t})();function xg(e){ho("NgStandalone"),e.getStandaloneInjector=t=>t.get(N6).getOrCreateStandaloneInjector(e)}function mg(e,t,i){const u=pi()+e,x=sn();return x[u]===rr?po(x,u,i?t.call(i):t()):function Ml(e,t){return e[t]}(x,u)}function gg(e,t,i,u){return yg(sn(),pi(),e,t,i,u)}function Eg(e,t,i,u,x){return function Cg(e,t,i,u,x,b,N){const H=t+i;return Cs(e,H,x,b)?po(e,H+2,N?u.call(N,x,b):u(x,b)):kl(e,H+2)}(sn(),pi(),e,t,i,u,x)}function kl(e,t){const i=e[t];return i===rr?void 0:i}function yg(e,t,i,u,x,b){const N=t+i;return $r(e,N,x)?po(e,N+1,b?u.call(b,x):u(x)):kl(e,N+1)}function Mg(e,t){const i=ur();let u;const x=e+Jn;var b;i.firstCreatePass?(u=function K6(e,t){if(t)for(let i=t.length-1;i>=0;i--){const u=t[i];if(e===u.name)return u}}(t,i.pipeRegistry),i.data[x]=u,u.onDestroy&&(null!==(b=i.destroyHooks)&&void 0!==b?b:i.destroyHooks=[]).push(x,u.onDestroy)):u=i.data[x];const N=u.factory||(u.factory=ti(u.type)),K=Pn(Js);try{const he=au(!1),we=N();return au(he),function y6(e,t,i,u){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=u}(i,sn(),x,we),we}finally{Pn(K)}}function wg(e,t,i){const u=e+Jn,x=sn(),b=function Ls(e,t){return e[t]}(x,u);return function Ll(e,t){return e[yn].data[t].pure}(x,u)?yg(x,pi(),t,b.transform,i,b):b.transform(i)}class jg{constructor(t){this.full=t;const i=t.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}let Hg=(()=>{var e;class t{log(u){console.log(u)}warn(u){console.warn(u)}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Gg=new kt(""),Xg=new kt("");let hf,zD=(()=>{var e;class t{constructor(u,x,b){this._ngZone=u,this.registry=x,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,hf||(function WD(e){hf=e}(b),b.addToWindow(x)),this._watchAngularEvents(),u.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:()=>{zr.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 u=this._callbacks.pop();clearTimeout(u.timeoutId),u.doneCb()}});else{let u=this.getPendingTasks();this._callbacks=this._callbacks.filter(x=>!x.updateCb||!x.updateCb(u)||(clearTimeout(x.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(u=>({source:u.source,creationLocation:u.creationLocation,data:u.data})):[]}addCallback(u,x,b){let N=-1;x&&x>0&&(N=setTimeout(()=>{this._callbacks=this._callbacks.filter(H=>H.timeoutId!==N),u()},x)),this._callbacks.push({doneCb:u,timeoutId:N,updateCb:b})}whenStable(u,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(u,x,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(u){this.registry.registerApplication(u,this)}unregisterApplication(u){this.registry.unregisterApplication(u)}findProviders(u,x,b){return[]}}return(e=t).\u0275fac=function(u){return new(u||e)(Dr(zr),Dr(Yg),Dr(Xg))},e.\u0275prov=Mn({token:e,factory:e.\u0275fac}),t})(),Yg=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(u,x){this._applications.set(u,x)}unregisterApplication(u){this._applications.delete(u)}unregisterAllApplications(){this._applications.clear()}getTestability(u){return this._applications.get(u)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(u,x=!0){var b,N;return null!==(b=null===(N=hf)||void 0===N?void 0:N.findTestabilityInTree(this,u,x))&&void 0!==b?b:null}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function pf(e){return!!e&&"function"==typeof e.then}function Zg(e){return!!e&&"function"==typeof e.subscribe}const Qg=new kt("");let xf=(()=>{var e;class t{constructor(){var u;this.initialized=!1,this.done=!1,this.donePromise=new Promise((x,b)=>{this.resolve=x,this.reject=b}),this.appInits=null!==(u=$n(Qg,{optional:!0}))&&void 0!==u?u:[]}runInitializers(){if(this.initialized)return;const u=[];for(const b of this.appInits){const N=b();if(pf(N))u.push(N);else if(Zg(N)){const H=new Promise((K,he)=>{N.subscribe({complete:K,error:he})});u.push(H)}}const x=()=>{this.done=!0,this.resolve()};Promise.all(u).then(()=>{x()}).catch(b=>{this.reject(b)}),0===u.length&&x(),this.initialized=!0}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const vf=new kt("");function e1(e,t){return Array.isArray(t)?t.reduce(e1,e):{...e,...t}}let Qo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=$n(vh),this.afterRenderEffectManager=$n(yl),this.externalTestViews=new Set,this.beforeRender=new Oe.B,this.afterTick=new Oe.B,this.componentTypes=[],this.components=[],this.isStable=$n(ra).hasPendingTasks.pipe((0,Be.T)(u=>!u)),this._injector=$n(fi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(u,x){const b=u instanceof ox;if(!this._injector.get(xf).done)throw!b&&li(u),new G(405,!1);let H;H=b?u:this._injector.get(zu).resolveComponentFactory(u),this.componentTypes.push(H.componentType);const K=function KD(e){return e.isBoundToModule}(H)?void 0:this._injector.get(ys),we=H.create(Fi.NULL,[],x||H.selector,K),Ne=we.location.nativeElement,ct=we.injector.get(Gg,null);return null==ct||ct.registerApplication(Ne),we.onDestroy(()=>{this.detachView(we.hostView),mc(this.components,we),null==ct||ct.unregisterApplication(Ne)}),this._loadComponent(we),we}tick(){this._tick(!0)}_tick(u){if(this._runningTick)throw new G(101,!1);const x=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(u)}catch(b){this.internalErrorHandler(b)}finally{this.afterTick.next(),this._runningTick=!1,C(x)}}detectChangesInAttachedViews(u){let x=0;const b=this.afterRenderEffectManager;for(;;){if(x===Yp)throw new G(103,!1);if(u){const N=0===x;this.beforeRender.next(N);for(let{_lView:H,notifyErrorHandler:K}of this._views)XD(H,N,K)}if(x++,b.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:N})=>mf(N))&&(b.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:N})=>mf(N))))break}}attachView(u){const x=u;this._views.push(x),x.attachToAppRef(this)}detachView(u){const x=u;mc(this._views,x),x.detachFromAppRef()}_loadComponent(u){this.attachView(u.hostView),this.tick(),this.components.push(u);const x=this._injector.get(vf,[]);[...this._bootstrapListeners,...x].forEach(b=>b(u))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(u=>u()),this._views.slice().forEach(u=>u.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(u){return this._destroyListeners.push(u),()=>mc(this._destroyListeners,u)}destroy(){if(this._destroyed)throw new G(406,!1);const u=this._injector;u.destroy&&!u.destroyed&&u.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({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 u;i?(u=0,e[Rn]|=1024):u=64&e[Rn]?0:1,Lu(e,t,u)}(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(u){return new vd(u)}compileModuleAsync(u){return Promise.resolve(this.compileModuleSync(u))}compileModuleAndAllComponentsSync(u){const x=this.compileModuleSync(u),N=Pi(Gr(u).declarations).reduce((H,K)=>{const he=er(K);return he&&H.push(new Dl(he)),H},[]);return new ZD(x,N)}compileModuleAndAllComponentsAsync(u){return Promise.resolve(this.compileModuleAndAllComponentsSync(u))}clearCache(){}clearCacheFor(u){}getModuleId(u){}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),eA=(()=>{var e;class t{constructor(){this.zone=$n(zr),this.applicationRef=$n(Qo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var u;null===(u=this._onMicrotaskEmptySubscription)||void 0===u||u.unsubscribe()}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function tA(){const e=$n(zr),t=$n(So);return i=>e.runOutsideAngular(()=>t.handleError(i))}let rA=(()=>{var e;class t{constructor(){this.subscription=new xe.yU,this.initialized=!1,this.zone=$n(zr),this.pendingTasks=$n(ra)}initialize(){if(this.initialized)return;this.initialized=!0;let u=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(u=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{zr.assertNotInAngularZone(),queueMicrotask(()=>{null!==u&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(u),u=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{var x;zr.assertInAngularZone(),null!==(x=u)&&void 0!==x||(u=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(u){return new(u||e)},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const gc=new kt("",{providedIn:"root",factory:()=>$n(gc,nn.Optional|nn.SkipSelf)||function iA(){return typeof $localize<"u"&&$localize.locale||Da}()}),oA=new kt("",{providedIn:"root",factory:()=>"USD"}),gf=new kt("");let i1=(()=>{var e;class t{constructor(u){this._injector=u,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(u,x){const b=function H9(e="zone.js",t){return"noop"===e?new fx:"zone.js"===e?new zr(t):e}(null==x?void 0:x.ngZone,function r1(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)}(u.moduleType,this.injector,function n1(e){return[{provide:zr,useFactory:e},{provide:Un,multi:!0,useFactory:()=>{const t=$n(eA,{optional:!0});return()=>t.initialize()}},{provide:Un,multi:!0,useFactory:()=>{const t=$n(rA);return()=>{t.initialize()}}},{provide:vh,useFactory:tA}]}(()=>b)),H=N.injector.get(So,null);return b.runOutsideAngular(()=>{const K=b.onError.subscribe({next:he=>{H.handleError(he)}});N.onDestroy(()=>{mc(this._modules,N),K.unsubscribe()})}),function qg(e,t,i){try{const u=i();return pf(u)?u.catch(x=>{throw t.runOutsideAngular(()=>e.handleError(x)),x}):u}catch(u){throw t.runOutsideAngular(()=>e.handleError(u)),u}}(H,b,()=>{const K=N.injector.get(xf);return K.runInitializers(),K.donePromise.then(()=>(function im(e){"string"==typeof e&&(rm=e.toLowerCase().replace(/_/g,"-"))}(N.injector.get(gc,Da)||Da),this._moduleDoBootstrap(N),N))})})}bootstrapModule(u,x=[]){const b=e1({},x);return function qD(e,t,i){const u=new vd(i);return Promise.resolve(u)}(0,0,u).then(N=>this.bootstrapModuleFactory(N,b))}_moduleDoBootstrap(u){const x=u.injector.get(Qo);if(u._bootstrapComponents.length>0)u._bootstrapComponents.forEach(b=>x.bootstrap(b));else{if(!u.instance.ngDoBootstrap)throw new G(-403,!1);u.instance.ngDoBootstrap(x)}this._modules.push(u)}onDestroy(u){this._destroyListeners.push(u)}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 u=this._injector.get(gf,null);u&&(u.forEach(x=>x()),u.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(u){return new(u||e)(Dr(Fi))},e.\u0275prov=Mn({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Jo=null;const o1=new kt("");function s1(e,t,i=[]){const u=`Platform: ${t}`,x=new kt(u);return(b=[])=>{let N=Ef();if(!N||N.injector.get(o1,!1)){const H=[...i,...b,{provide:x,useValue:!0}];e?e(H):function aA(e){if(Jo&&!Jo.get(o1,!1))throw new G(400,!1);(function Jg(){!function d(e){v=e}(()=>{throw new G(600,!1)})})(),Jo=e;const t=e.get(i1);(function l1(e){const t=e.get($h,null);null==t||t.forEach(i=>i())})(e)}(function a1(e=[],t){return Fi.create({name:t,providers:[{provide:No,useValue:"platform"},{provide:gf,useValue:new Set([()=>Jo=null])},...e]})}(H,u))}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(i1))&&void 0!==e?e:null}function cA(){}let c1=(()=>{class t{}return t.__NG_ELEMENT_ID__=dA,t})();function dA(e){return function fA(e,t,i){if(Ho(e)&&!i){const u=Ti(e.index,t);return new pl(u,u)}return 47&e.type?new pl(t[Tr],t):null}(yr(),sn(),!(16&~e))}class p1{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,u=this._removalsHead,x=0,b=null;for(;i||u;){const N=!u||i&&i.currentIndex{N=this._trackByFn(x,H),null!==i&&Object.is(i.trackById,N)?(u&&(i=this._verifyReinsertion(i,H,N,x)),Object.is(i.item,H)||this._addIdentityChange(i,H)):(i=this._mismatch(i,H,N,x),u=!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,u,x){let b;return null===t?b=this._itTail:(b=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(u,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,b,x)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(u,x))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,b,x)):t=this._addAfter(new gA(i,u),b,x),t}_verifyReinsertion(t,i,u,x){let b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(u,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,u){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,u),this._addToMoves(t,u),t}_moveAfter(t,i,u){return this._unlink(t),this._insertAfter(t,i,u),this._addToMoves(t,u),t}_addAfter(t,i,u){return this._insertAfter(t,i,u),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,u){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 x1),this._linkedRecords.put(t),t.currentIndex=u,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,u=t._next;return null===i?this._itHead=u:i._next=u,null===u?this._itTail=i:u._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 x1),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 u;for(u=this._head;null!==u;u=u._nextDup)if((null===i||i<=u.currentIndex)&&Object.is(u.trackById,t))return u;return null}remove(t){const i=t._prevDup,u=t._nextDup;return null===i?this._head=u:i._nextDup=u,null===u?this._tail=i:u._prevDup=i,null===this._head}}class x1{constructor(){this.map=new Map}put(t){const i=t.trackById;let u=this.map.get(i);u||(u=new EA,this.map.set(i,u)),u.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 v1(e,t,i){const u=e.previousIndex;if(null===u)return u;let x=0;return i&&u{if(i&&i.key===x)this._maybeAddToChanges(i,u),this._appendAfter=i,i=i._next;else{const b=this._getOrCreateRecordForKey(x,u);i=this._insertBeforeOrAppend(i,b)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let u=i;null!==u;u=u._nextRemoved)u===this._mapHead&&(this._mapHead=null),this._records.delete(u.key),u._nextRemoved=u._next,u.previousValue=u.currentValue,u.currentValue=null,u._prev=null,u._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const u=t._prev;return i._next=t,i._prev=u,t._prev=i,u&&(u._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 u=new CA(t);return this._records.set(t,u),u.currentValue=i,this._addToAdditions(u),u}_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(u=>i(t[u],u))}}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 g1(){return new Af([new p1])}let Af=(()=>{var e;class t{constructor(u){this.factories=u}static create(u,x){if(null!=x){const b=x.factories.slice();u=u.concat(b)}return new t(u)}static extend(u){return{provide:t,useFactory:x=>t.create(u,x||g1()),deps:[[t,new _i,new Kr]]}}find(u){const x=this.factories.find(b=>b.supports(u));if(null!=x)return x;throw new G(901,!1)}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:g1}),t})();function E1(){return new Mf([new m1])}let Mf=(()=>{var e;class t{constructor(u){this.factories=u}static create(u,x){if(x){const b=x.factories.slice();u=u.concat(b)}return new t(u)}static extend(u){return{provide:t,useFactory:x=>t.create(u,x||E1()),deps:[[t,new _i,new Kr]]}}find(u){const x=this.factories.find(b=>b.supports(u));if(x)return x;throw new G(901,!1)}}return(e=t).\u0275prov=Mn({token:e,providedIn:"root",factory:E1}),t})();const AA=s1(null,"core",[]);let MA=(()=>{var e;class t{constructor(u){}}return(e=t).\u0275fac=function(u){return new(u||e)(Dr(Qo))},e.\u0275mod=ts({type:e}),e.\u0275inj=Ln({}),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=er(e),u=t.elementInjector||ko();return new Dl(i).create(u,t.projectableNodes,t.hostElement,t.environmentInjector)}function u3(e){const t=er(e);if(!t)return null;const i=new Dl(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(Ce,ee,E)=>{"use strict";E.d(ee,{BC:()=>ne,VZ:()=>ti,X1:()=>Ei,YN:()=>es,cz:()=>k,kq:()=>_,vO:()=>xe,vS:()=>pt,zX:()=>_i});var a=E(4438),S=E(177),p=E(6648),O=E(7468),c=E(6354);let D=(()=>{var be;class ce{constructor(Ee,ot){this._renderer=Ee,this._elementRef=ot,this.onChange=En=>{},this.onTouched=()=>{}}setProperty(Ee,ot){this._renderer.setProperty(this._elementRef.nativeElement,Ee,ot)}registerOnTouched(Ee){this.onTouched=Ee}registerOnChange(Ee){this.onChange=Ee}setDisabledState(Ee){this.setProperty("disabled",Ee)}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)(a.rXU(a.sFG),a.rXU(a.aKT))},be.\u0275dir=a.FsC({type:be}),ce})(),C=(()=>{var be;class ce extends D{}return(be=ce).\u0275fac=(()=>{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,features:[a.Vt3]}),ce})();const _=new a.nKC(""),m={provide:_,useExisting:(0,a.Rfq)(()=>w),multi:!0},A=new a.nKC("");let w=(()=>{var be;class ce extends D{constructor(Ee,ot,En){super(Ee,ot),this._compositionMode=En,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function T(){const be=(0,S.QT)()?(0,S.QT)().getUserAgent():"";return/android (\d+)/.test(be.toLowerCase())}())}writeValue(Ee){this.setProperty("value",null==Ee?"":Ee)}_handleInput(Ee){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ee)}_compositionStart(){this._composing=!0}_compositionEnd(Ee){this._composing=!1,this._compositionMode&&this.onChange(Ee)}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(A,8))},be.\u0275dir=a.FsC({type:be,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Ee,ot){1&Ee&&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_([m]),a.Vt3]}),ce})();function R(be){return null==be||("string"==typeof be||Array.isArray(be))&&0===be.length}const k=new a.nKC(""),M=new a.nKC("");function o(be){return null}function l(be){return null!=be}function s(be){return(0,a.jNT)(be)?(0,p.H)(be):be}function h(be){let ce={};return be.forEach(Xe=>{ce=null!=Xe?{...ce,...Xe}:ce}),0===Object.keys(ce).length?null:ce}function v(be,ce){return ce.map(Xe=>Xe(be))}function d(be){return be.map(ce=>function y(be){return!be.validate}(ce)?ce:Xe=>ce.validate(Xe))}function f(be){return null!=be?function r(be){if(!be)return null;const ce=be.filter(l);return 0==ce.length?null:function(Xe){return h(v(Xe,ce))}}(d(be)):null}function I(be){return null!=be?function L(be){if(!be)return null;const ce=be.filter(l);return 0==ce.length?null:function(Xe){const Ee=v(Xe,ce).map(s);return(0,O.p)(Ee).pipe((0,c.T)(h))}}(d(be)):null}function j(be,ce){return null===be?[ce]:Array.isArray(be)?[...be,ce]:[be,ce]}function pe(be){return be?Array.isArray(be)?be:[be]:[]}function De(be,ce){return Array.isArray(be)?be.includes(ce):be===ce}function Q(be,ce){const Xe=pe(ce);return pe(be).forEach(ot=>{De(Xe,ot)||Xe.push(ot)}),Xe}function ae(be,ce){return pe(ce).filter(Xe=>!De(be,Xe))}class qe{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=f(this._rawValidators)}_setAsyncValidators(ce){this._rawAsyncValidators=ce||[],this._composedAsyncValidatorFn=I(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ce){this._onDestroyCallbacks.push(ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ce=>ce()),this._onDestroyCallbacks=[]}reset(ce=void 0){this.control&&this.control.reset(ce)}hasError(ce,Xe){return!!this.control&&this.control.hasError(ce,Xe)}getError(ce,Xe){return this.control?this.control.getError(ce,Xe):null}}class Oe extends qe{get formDirective(){return null}get path(){return null}}class xe extends qe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Te{constructor(ce){this._cd=ce}get isTouched(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.touched)}get isUntouched(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.untouched)}get isPristine(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.pristine)}get isDirty(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.dirty)}get isValid(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.valid)}get isInvalid(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.invalid)}get isPending(){var ce;return!(null===(ce=this._cd)||void 0===ce||null===(ce=ce.control)||void 0===ce||!ce.pending)}get isSubmitted(){var ce;return!(null===(ce=this._cd)||void 0===ce||!ce.submitted)}}let ne=(()=>{var be;class ce extends Te{constructor(Ee){super(Ee)}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)(a.rXU(xe,2))},be.\u0275dir=a.FsC({type:be,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ee,ot){2&Ee&&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 Bt="VALID",Lt="INVALID",Wt="PENDING",Nt="DISABLED";function _e(be){return null!=be&&!Array.isArray(be)&&"object"==typeof be}class Ze{constructor(ce,Xe){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ce),this._assignAsyncValidators(Xe)}get validator(){return this._composedValidatorFn}set validator(ce){this._rawValidators=this._composedValidatorFn=ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=ce}get parent(){return this._parent}get valid(){return this.status===Bt}get invalid(){return this.status===Lt}get pending(){return this.status==Wt}get disabled(){return this.status===Nt}get enabled(){return this.status!==Nt}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 De(this._rawValidators,ce)}hasAsyncValidator(ce){return De(this._rawAsyncValidators,ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ce={}){this.touched=!0,this._parent&&!ce.onlySelf&&this._parent.markAsTouched(ce)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ce=>ce.markAllAsTouched())}markAsUntouched(ce={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Xe=>{Xe.markAsUntouched({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}markAsDirty(ce={}){this.pristine=!1,this._parent&&!ce.onlySelf&&this._parent.markAsDirty(ce)}markAsPristine(ce={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Xe=>{Xe.markAsPristine({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}markAsPending(ce={}){this.status=Wt,!1!==ce.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ce.onlySelf&&this._parent.markAsPending(ce)}disable(ce={}){const Xe=this._parentMarkedDirty(ce.onlySelf);this.status=Nt,this.errors=null,this._forEachChild(Ee=>{Ee.disable({...ce,onlySelf:!0})}),this._updateValue(),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ce,skipPristineCheck:Xe}),this._onDisabledChange.forEach(Ee=>Ee(!0))}enable(ce={}){const Xe=this._parentMarkedDirty(ce.onlySelf);this.status=Bt,this._forEachChild(Ee=>{Ee.enable({...ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent}),this._updateAncestors({...ce,skipPristineCheck:Xe}),this._onDisabledChange.forEach(Ee=>Ee(!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===Bt||this.status===Wt)&&this._runAsyncValidator(ce.emitEvent)),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ce.onlySelf&&this._parent.updateValueAndValidity(ce)}_updateTreeValidity(ce={emitEvent:!0}){this._forEachChild(Xe=>Xe._updateTreeValidity(ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Nt:Bt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ce){if(this.asyncValidator){this.status=Wt,this._hasOwnPendingAsyncValidator=!0;const Xe=s(this.asyncValidator(this));this._asyncValidationSubscription=Xe.subscribe(Ee=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ee,{emitEvent:ce})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ce,Xe={}){this.errors=ce,this._updateControlsErrors(!1!==Xe.emitEvent)}get(ce){let Xe=ce;return null==Xe||(Array.isArray(Xe)||(Xe=Xe.split(".")),0===Xe.length)?null:Xe.reduce((Ee,ot)=>Ee&&Ee._find(ot),this)}getError(ce,Xe){const Ee=Xe?this.get(Xe):this;return Ee&&Ee.errors?Ee.errors[ce]:null}hasError(ce,Xe){return!!this.getError(ce,Xe)}get root(){let ce=this;for(;ce._parent;)ce=ce._parent;return ce}_updateControlsErrors(ce){this.status=this._calculateStatus(),ce&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ce)}_initObservables(){this.valueChanges=new a.bkB,this.statusChanges=new a.bkB}_calculateStatus(){return this._allControlsDisabled()?Nt:this.errors?Lt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wt)?Wt:this._anyControlsHaveStatus(Lt)?Lt:Bt}_anyControlsHaveStatus(ce){return this._anyControls(Xe=>Xe.status===ce)}_anyControlsDirty(){return this._anyControls(ce=>ce.dirty)}_anyControlsTouched(){return this._anyControls(ce=>ce.touched)}_updatePristine(ce={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}_updateTouched(ce={}){this.touched=this._anyControlsTouched(),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}_registerOnCollectionChange(ce){this._onCollectionChange=ce}_setUpdateStrategy(ce){_e(ce)&&null!=ce.updateOn&&(this._updateOn=ce.updateOn)}_parentMarkedDirty(ce){return!ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ce){return null}_assignValidators(ce){this._rawValidators=Array.isArray(ce)?ce.slice():ce,this._composedValidatorFn=function zn(be){return Array.isArray(be)?f(be):be||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function He(be){return Array.isArray(be)?I(be):be||null}(this._rawAsyncValidators)}}const Je=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>st}),st="always";function yt(be,ce,Xe=st){var Ee,ot;(function Rt(be,ce){const Xe=function J(be){return be._rawValidators}(be);null!==ce.validator?be.setValidators(j(Xe,ce.validator)):"function"==typeof Xe&&be.setValidators([Xe]);const Ee=function ie(be){return be._rawAsyncValidators}(be);null!==ce.asyncValidator?be.setAsyncValidators(j(Ee,ce.asyncValidator)):"function"==typeof Ee&&be.setAsyncValidators([Ee]);const ot=()=>be.updateValueAndValidity();Kt(ce._rawValidators,ot),Kt(ce._rawAsyncValidators,ot)})(be,ce),ce.valueAccessor.writeValue(be.value),(be.disabled||"always"===Xe)&&(null===(Ee=(ot=ce.valueAccessor).setDisabledState)||void 0===Ee||Ee.call(ot,be.disabled)),function An(be,ce){ce.valueAccessor.registerOnChange(Xe=>{be._pendingValue=Xe,be._pendingChange=!0,be._pendingDirty=!0,"change"===be.updateOn&&Mn(be,ce)})}(be,ce),function Wn(be,ce){const Xe=(Ee,ot)=>{ce.valueAccessor.writeValue(Ee),ot&&ce.viewToModelUpdate(Ee)};be.registerOnChange(Xe),ce._registerOnDestroy(()=>{be._unregisterOnChange(Xe)})}(be,ce),function Bn(be,ce){ce.valueAccessor.registerOnTouched(()=>{be._pendingTouched=!0,"blur"===be.updateOn&&be._pendingChange&&Mn(be,ce),"submit"!==be.updateOn&&be.markAsTouched()})}(be,ce),function Pt(be,ce){if(ce.valueAccessor.setDisabledState){const Xe=Ee=>{ce.valueAccessor.setDisabledState(Ee)};be.registerOnDisabledChange(Xe),ce._registerOnDestroy(()=>{be._unregisterOnDisabledChange(Xe)})}}(be,ce)}function Kt(be,ce){be.forEach(Xe=>{Xe.registerOnValidatorChange&&Xe.registerOnValidatorChange(ce)})}function Mn(be,ce){be._pendingDirty&&be.markAsDirty(),be.setValue(be._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(be._pendingValue),be._pendingChange=!1}function Kn(be,ce){const Xe=be.indexOf(ce);Xe>-1&&be.splice(Xe,1)}function fr(be){return"object"==typeof be&&null!==be&&2===Object.keys(be).length&&"value"in be&&"disabled"in be}Promise.resolve();const Ge=class extends Ze{constructor(ce=null,Xe,Ee){super(function Ot(be){return(_e(be)?be.validators:be)||null}(Xe),function Ut(be,ce){return(_e(ce)?ce.asyncValidators:be)||null}(Ee,Xe)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ce),this._setUpdateStrategy(Xe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_e(Xe)&&(Xe.nonNullable||Xe.initialValueIsDefault)&&(this.defaultValue=fr(ce)?ce.value:ce)}setValue(ce,Xe={}){this.value=this._pendingValue=ce,this._onChange.length&&!1!==Xe.emitModelToViewChange&&this._onChange.forEach(Ee=>Ee(this.value,!1!==Xe.emitViewToModelChange)),this.updateValueAndValidity(Xe)}patchValue(ce,Xe={}){this.setValue(ce,Xe)}reset(ce=this.defaultValue,Xe={}){this._applyFormState(ce),this.markAsPristine(Xe),this.markAsUntouched(Xe),this.setValue(this.value,Xe),this._pendingChange=!1}_updateValue(){}_anyControls(ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ce){this._onChange.push(ce)}_unregisterOnChange(ce){Kn(this._onChange,ce)}registerOnDisabledChange(ce){this._onDisabledChange.push(ce)}_unregisterOnDisabledChange(ce){Kn(this._onDisabledChange,ce)}_forEachChild(ce){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ce){fr(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:xe,useExisting:(0,a.Rfq)(()=>pt)},dt=Promise.resolve();let pt=(()=>{var be;class ce extends xe{constructor(Ee,ot,En,Hn,Fr,di){super(),this._changeDetectorRef=Fr,this.callSetDisabledState=di,this.control=new Ge,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=Ee,this._setValidators(ot),this._setAsyncValidators(En),this.valueAccessor=function kt(be,ce){if(!ce)return null;let Xe,Ee,ot;return Array.isArray(ce),ce.forEach(En=>{En.constructor===w?Xe=En:function Tt(be){return Object.getPrototypeOf(be.constructor)===C}(En)?Ee=En:ot=En}),ot||Ee||Xe||null}(0,Hn)}ngOnChanges(Ee){if(this._checkForErrors(),!this._registered||"name"in Ee){if(this._registered&&(this._checkName(),this.formDirective)){const ot=Ee.name.previousValue;this.formDirective.removeControl({name:ot,path:this._getPath(ot)})}this._setUpControl()}"isDisabled"in Ee&&this._updateDisabled(Ee),function lt(be,ce){if(!be.hasOwnProperty("model"))return!1;const Xe=be.model;return!!Xe.isFirstChange()||!Object.is(ce,Xe.currentValue)}(Ee,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(Ee){this.viewModel=Ee,this.update.emit(Ee)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){yt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ee){dt.then(()=>{var ot;this.control.setValue(Ee,{emitViewToModelChange:!1}),null===(ot=this._changeDetectorRef)||void 0===ot||ot.markForCheck()})}_updateDisabled(Ee){const ot=Ee.isDisabled.currentValue,En=0!==ot&&(0,a.L39)(ot);dt.then(()=>{var Hn;En&&!this.control.disabled?this.control.disable():!En&&this.control.disabled&&this.control.enable(),null===(Hn=this._changeDetectorRef)||void 0===Hn||Hn.markForCheck()})}_getPath(Ee){return this._parent?function en(be,ce){return[...ce.path,be]}(Ee,this._parent):[Ee]}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)(a.rXU(Oe,9),a.rXU(k,10),a.rXU(M,10),a.rXU(_,10),a.rXU(a.gRc,8),a.rXU(Je,8))},be.\u0275dir=a.FsC({type:be,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[a.Mj6.None,"disabled","isDisabled"],model:[a.Mj6.None,"ngModel","model"],options:[a.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.Jv_([Ke]),a.Vt3,a.OA$]}),ce})();const Pn=new a.nKC("");function Hi(be){return"number"==typeof be?be:parseFloat(be)}let Kr=(()=>{var be;class ce{constructor(){this._validator=o}ngOnChanges(Ee){if(this.inputName in Ee){const ot=this.normalizeInput(Ee[this.inputName].currentValue);this._enabled=this.enabled(ot),this._validator=this._enabled?this.createValidator(ot):o,this._onChange&&this._onChange()}}validate(Ee){return this._validator(Ee)}registerOnValidatorChange(Ee){this._onChange=Ee}enabled(Ee){return null!=Ee}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)},be.\u0275dir=a.FsC({type:be,features:[a.OA$]}),ce})();const wi={provide:k,useExisting:(0,a.Rfq)(()=>_i),multi:!0};let _i=(()=>{var be;class ce extends Kr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ee=>Hi(Ee),this.createValidator=Ee=>function W(be){return ce=>{if(R(ce.value)||R(be))return null;const Xe=parseFloat(ce.value);return!isNaN(Xe)&&Xe>be?{max:{max:be,actual:ce.value}}:null}}(Ee)}}return(be=ce).\u0275fac=(()=>{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ee,ot){2&Ee&&a.BMQ("max",ot._enabled?ot.max:null)},inputs:{max:"max"},features:[a.Jv_([wi]),a.Vt3]}),ce})();const Po={provide:k,useExisting:(0,a.Rfq)(()=>ti),multi:!0};let ti=(()=>{var be;class ce extends Kr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ee=>Hi(Ee),this.createValidator=Ee=>function V(be){return ce=>{if(R(ce.value)||R(be))return null;const Xe=parseFloat(ce.value);return!isNaN(Xe)&&Xe{let Xe;return function(ot){return(Xe||(Xe=a.xGo(be)))(ot||be)}})(),be.\u0275dir=a.FsC({type:be,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ee,ot){2&Ee&&a.BMQ("min",ot._enabled?ot.min:null)},inputs:{min:"min"},features:[a.Jv_([Po]),a.Vt3]}),ce})(),dn=(()=>{var be;class ce{}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({}),ce})(),es=(()=>{var be;class ce{static withConfig(Ee){var ot;return{ngModule:ce,providers:[{provide:Je,useValue:null!==(ot=Ee.callSetDisabledState)&&void 0!==ot?ot:st}]}}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({imports:[dn]}),ce})(),Ei=(()=>{var be;class ce{static withConfig(Ee){var ot,En;return{ngModule:ce,providers:[{provide:Pn,useValue:null!==(ot=Ee.warnOnNgModelWithFormControl)&&void 0!==ot?ot:"always"},{provide:Je,useValue:null!==(En=Ee.callSetDisabledState)&&void 0!==En?En:st}]}}}return(be=ce).\u0275fac=function(Ee){return new(Ee||be)},be.\u0275mod=a.$C({type:be}),be.\u0275inj=a.G2t({imports:[dn]}),ce})()},345:(Ce,ee,E)=>{"use strict";E.d(ee,{Bb:()=>Te,hE:()=>ne,sG:()=>ae,up:()=>bn});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,Ae,Me){return _e.addEventListener(Ae,Me),()=>{_e.removeEventListener(Ae,Me)}}dispatchEvent(_e,Ae){_e.dispatchEvent(Ae)}remove(_e){_e.parentNode&&_e.parentNode.removeChild(_e)}createElement(_e,Ae){return(Ae=Ae||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,Ae){return"window"===Ae?window:"document"===Ae?_e:"body"===Ae?_e.body:null}getBaseHref(_e){const Ae=function D(){return c=c||document.querySelector("base"),c?c.getAttribute("href"):null}();return null==Ae?null:function C(He){return new URL(He,document.baseURI).pathname}(Ae)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(_e){return(0,S._b)(document.cookie,_e)}}let c=null,F=(()=>{var He;class _e{build(){return new XMLHttpRequest}}return(He=_e).\u0275fac=function(Me){return new(Me||He)},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const B=new a.nKC("");let m=(()=>{var He;class _e{constructor(Me,Ze){this._zone=Ze,this._eventNameToPlugin=new Map,Me.forEach(je=>{je.manager=this}),this._plugins=Me.slice().reverse()}addEventListener(Me,Ze,je){return this._findPluginFor(Ze).addEventListener(Me,Ze,je)}getZone(){return this._zone}_findPluginFor(Me){let Ze=this._eventNameToPlugin.get(Me);if(Ze)return Ze;if(Ze=this._plugins.find(it=>it.supports(Me)),!Ze)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(Me,Ze),Ze}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(B),a.KVO(a.SKi))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();class T{constructor(_e){this._doc=_e}}const A="ng-app-id";let w=(()=>{var He;class _e{constructor(Me,Ze,je,it={}){this.doc=Me,this.appId=Ze,this.nonce=je,this.platformId=it,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,S.Vy)(it),this.resetHostNodes()}addStyles(Me){for(const Ze of Me)1===this.changeUsageCount(Ze,1)&&this.onStyleAdded(Ze)}removeStyles(Me){for(const Ze of Me)this.changeUsageCount(Ze,-1)<=0&&this.onStyleRemoved(Ze)}ngOnDestroy(){const Me=this.styleNodesInDOM;Me&&(Me.forEach(Ze=>Ze.remove()),Me.clear());for(const Ze of this.getAllStyles())this.onStyleRemoved(Ze);this.resetHostNodes()}addHost(Me){this.hostNodes.add(Me);for(const Ze of this.getAllStyles())this.addStyleToHost(Me,Ze)}removeHost(Me){this.hostNodes.delete(Me)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Me){for(const Ze of this.hostNodes)this.addStyleToHost(Ze,Me)}onStyleRemoved(Me){var Ze;const je=this.styleRef;null===(Ze=je.get(Me))||void 0===Ze||null===(Ze=Ze.elements)||void 0===Ze||Ze.forEach(it=>it.remove()),je.delete(Me)}collectServerRenderedStyles(){var Me;const Ze=null===(Me=this.doc.head)||void 0===Me?void 0:Me.querySelectorAll(`style[${A}="${this.appId}"]`);if(null!=Ze&&Ze.length){const je=new Map;return Ze.forEach(it=>{null!=it.textContent&&je.set(it.textContent,it)}),je}return null}changeUsageCount(Me,Ze){const je=this.styleRef;if(je.has(Me)){const it=je.get(Me);return it.usage+=Ze,it.usage}return je.set(Me,{usage:Ze,elements:[]}),Ze}getStyleElement(Me,Ze){const je=this.styleNodesInDOM,it=null==je?void 0:je.get(Ze);if((null==it?void 0:it.parentNode)===Me)return je.delete(Ze),it.removeAttribute(A),it;{const Pe=this.doc.createElement("style");return this.nonce&&Pe.setAttribute("nonce",this.nonce),Pe.textContent=Ze,this.platformIsServer&&Pe.setAttribute(A,this.appId),Me.appendChild(Pe),Pe}}addStyleToHost(Me,Ze){var je;const it=this.getStyleElement(Me,Ze),Pe=this.styleRef,Se=null===(je=Pe.get(Ze))||void 0===je?void 0:je.elements;Se?Se.push(it):Pe.set(Ze,{elements:[it],usage:1})}resetHostNodes(){const Me=this.hostNodes;Me.clear(),Me.add(this.doc.head)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const R={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}`,P=`_ngcontent-${k}`,V=new a.nKC("",{providedIn:"root",factory:()=>!0});function me(He,_e){return _e.map(Ae=>Ae.replace($,He))}let te=(()=>{var He;class _e{constructor(Me,Ze,je,it,Pe,Se,ze,Et=null){this.eventManager=Me,this.sharedStylesHost=Ze,this.appId=je,this.removeStylesOnCompDestroy=it,this.doc=Pe,this.platformId=Se,this.ngZone=ze,this.nonce=Et,this.rendererByCompId=new Map,this.platformIsServer=(0,S.Vy)(Se),this.defaultRenderer=new se(Me,Pe,ze,this.platformIsServer)}createRenderer(Me,Ze){if(!Me||!Ze)return this.defaultRenderer;this.platformIsServer&&Ze.encapsulation===a.gXe.ShadowDom&&(Ze={...Ze,encapsulation:a.gXe.Emulated});const je=this.getOrCreateRenderer(Me,Ze);return je instanceof h?je.applyToHost(Me):je instanceof s&&je.applyStyles(),je}getOrCreateRenderer(Me,Ze){const je=this.rendererByCompId;let it=je.get(Ze.id);if(!it){const Pe=this.doc,Se=this.ngZone,ze=this.eventManager,Et=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,st=this.platformIsServer;switch(Ze.encapsulation){case a.gXe.Emulated:it=new h(ze,Et,Ze,this.appId,Je,Pe,Se,st);break;case a.gXe.ShadowDom:return new l(ze,Et,Me,Ze,Pe,Se,this.nonce,st);default:it=new s(ze,Et,Ze,Je,Pe,Se,st)}je.set(Ze.id,it)}return it}ngOnDestroy(){this.rendererByCompId.clear()}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(m),a.KVO(w),a.KVO(a.sZ2),a.KVO(V),a.KVO(S.qQ),a.KVO(a.Agw),a.KVO(a.SKi),a.KVO(a.BIS))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();class se{constructor(_e,Ae,Me,Ze){this.eventManager=_e,this.doc=Ae,this.ngZone=Me,this.platformIsServer=Ze,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(_e,Ae){return Ae?this.doc.createElementNS(R[Ae]||Ae,_e):this.doc.createElement(_e)}createComment(_e){return this.doc.createComment(_e)}createText(_e){return this.doc.createTextNode(_e)}appendChild(_e,Ae){(o(_e)?_e.content:_e).appendChild(Ae)}insertBefore(_e,Ae,Me){_e&&(o(_e)?_e.content:_e).insertBefore(Ae,Me)}removeChild(_e,Ae){_e&&_e.removeChild(Ae)}selectRootElement(_e,Ae){let Me="string"==typeof _e?this.doc.querySelector(_e):_e;if(!Me)throw new a.wOt(-5104,!1);return Ae||(Me.textContent=""),Me}parentNode(_e){return _e.parentNode}nextSibling(_e){return _e.nextSibling}setAttribute(_e,Ae,Me,Ze){if(Ze){Ae=Ze+":"+Ae;const je=R[Ze];je?_e.setAttributeNS(je,Ae,Me):_e.setAttribute(Ae,Me)}else _e.setAttribute(Ae,Me)}removeAttribute(_e,Ae,Me){if(Me){const Ze=R[Me];Ze?_e.removeAttributeNS(Ze,Ae):_e.removeAttribute(`${Me}:${Ae}`)}else _e.removeAttribute(Ae)}addClass(_e,Ae){_e.classList.add(Ae)}removeClass(_e,Ae){_e.classList.remove(Ae)}setStyle(_e,Ae,Me,Ze){Ze&(a.czy.DashCase|a.czy.Important)?_e.style.setProperty(Ae,Me,Ze&a.czy.Important?"important":""):_e.style[Ae]=Me}removeStyle(_e,Ae,Me){Me&a.czy.DashCase?_e.style.removeProperty(Ae):_e.style[Ae]=""}setProperty(_e,Ae,Me){null!=_e&&(_e[Ae]=Me)}setValue(_e,Ae){_e.nodeValue=Ae}listen(_e,Ae,Me){if("string"==typeof _e&&!(_e=(0,S.QT)().getGlobalEventTarget(this.doc,_e)))throw new Error(`Unsupported event target ${_e} for event ${Ae}`);return this.eventManager.addEventListener(_e,Ae,this.decoratePreventDefault(Me))}decoratePreventDefault(_e){return Ae=>{if("__ngUnwrap__"===Ae)return _e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>_e(Ae)):_e(Ae))&&Ae.preventDefault()}}}function o(He){return"TEMPLATE"===He.tagName&&void 0!==He.content}class l extends se{constructor(_e,Ae,Me,Ze,je,it,Pe,Se){super(_e,je,it,Se),this.sharedStylesHost=Ae,this.hostEl=Me,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ze=me(Ze.id,Ze.styles);for(const Et of ze){const Je=document.createElement("style");Pe&&Je.setAttribute("nonce",Pe),Je.textContent=Et,this.shadowRoot.appendChild(Je)}}nodeOrShadowRoot(_e){return _e===this.hostEl?this.shadowRoot:_e}appendChild(_e,Ae){return super.appendChild(this.nodeOrShadowRoot(_e),Ae)}insertBefore(_e,Ae,Me){return super.insertBefore(this.nodeOrShadowRoot(_e),Ae,Me)}removeChild(_e,Ae){return super.removeChild(this.nodeOrShadowRoot(_e),Ae)}parentNode(_e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(_e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class s extends se{constructor(_e,Ae,Me,Ze,je,it,Pe,Se){super(_e,je,it,Pe),this.sharedStylesHost=Ae,this.removeStylesOnCompDestroy=Ze,this.styles=Se?me(Se,Me.styles):Me.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class h extends s{constructor(_e,Ae,Me,Ze,je,it,Pe,Se){const ze=Ze+"-"+Me.id;super(_e,Ae,Me,je,it,Pe,Se,ze),this.contentAttr=function W(He){return P.replace($,He)}(ze),this.hostAttr=function oe(He){return M.replace($,He)}(ze)}applyToHost(_e){this.applyStyles(),this.setAttribute(_e,this.hostAttr,"")}createElement(_e,Ae){const Me=super.createElement(_e,Ae);return super.setAttribute(Me,this.contentAttr,""),Me}}let v=(()=>{var He;class _e extends T{constructor(Me){super(Me)}supports(Me){return!0}addEventListener(Me,Ze,je){return Me.addEventListener(Ze,je,!1),()=>this.removeEventListener(Me,Ze,je)}removeEventListener(Me,Ze,je){return Me.removeEventListener(Ze,je)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const y=["alt","control","meta","shift"],d={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},r={alt:He=>He.altKey,control:He=>He.ctrlKey,meta:He=>He.metaKey,shift:He=>He.shiftKey};let f=(()=>{var He;class _e extends T{constructor(Me){super(Me)}supports(Me){return null!=_e.parseEventName(Me)}addEventListener(Me,Ze,je){const it=_e.parseEventName(Ze),Pe=_e.eventCallback(it.fullKey,je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,S.QT)().onAndCancel(Me,it.domEventName,Pe))}static parseEventName(Me){const Ze=Me.toLowerCase().split("."),je=Ze.shift();if(0===Ze.length||"keydown"!==je&&"keyup"!==je)return null;const it=_e._normalizeKey(Ze.pop());let Pe="",Se=Ze.indexOf("code");if(Se>-1&&(Ze.splice(Se,1),Pe="code."),y.forEach(Et=>{const Je=Ze.indexOf(Et);Je>-1&&(Ze.splice(Je,1),Pe+=Et+".")}),Pe+=it,0!=Ze.length||0===it.length)return null;const ze={};return ze.domEventName=je,ze.fullKey=Pe,ze}static matchEventFullKeyCode(Me,Ze){let je=d[Me.key]||Me.key,it="";return Ze.indexOf("code.")>-1&&(je=Me.code,it="code."),!(null==je||!je)&&(je=je.toLowerCase()," "===je?je="space":"."===je&&(je="dot"),y.forEach(Pe=>{Pe!==je&&(0,r[Pe])(Me)&&(it+=Pe+".")}),it+=je,it===Ze)}static eventCallback(Me,Ze,je){return it=>{_e.matchEventFullKeyCode(it,Me)&&je.runGuarded(()=>Ze(it))}}static _normalizeKey(Me){return"esc"===Me?"escape":Me}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac}),_e})();const ae=(0,a.oH4)(a.fpN,"browser",[{provide:a.Agw,useValue:S.AJ},{provide:a.PLl,useValue:function ie(){O.makeCurrent()},multi:!0},{provide:S.qQ,useFactory:function De(){return(0,a.TL$)(document),document},deps:[]}]),qe=new a.nKC(""),Oe=[{provide:a.e01,useClass:class _{addToWindow(_e){a.JZv.getAngularTestability=(Me,Ze=!0)=>{const je=_e.findTestabilityInTree(Me,Ze);if(null==je)throw new a.wOt(5103,!1);return je},a.JZv.getAllAngularTestabilities=()=>_e.getAllTestabilities(),a.JZv.getAllAngularRootElements=()=>_e.getAllRootElements(),a.JZv.frameworkStabilizers||(a.JZv.frameworkStabilizers=[]),a.JZv.frameworkStabilizers.push(Me=>{const Ze=a.JZv.getAllAngularTestabilities();let je=Ze.length;const it=function(){je--,0==je&&Me()};Ze.forEach(Pe=>{Pe.whenStable(it)})})}findTestabilityInTree(_e,Ae,Me){if(null==Ae)return null;const Ze=_e.getTestability(Ae);return null!=Ze?Ze:Me?(0,S.QT)().isShadowRoot(Ae)?this.findTestabilityInTree(_e,Ae.host,!0):this.findTestabilityInTree(_e,Ae.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]}],xe=[{provide:a.H8p,useValue:"root"},{provide:a.zcH,useFactory:function pe(){return new a.zcH},deps:[]},{provide:B,useClass:v,multi:!0,deps:[S.qQ,a.SKi,a.Agw]},{provide:B,useClass:f,multi:!0,deps:[S.qQ]},te,w,m,{provide:a._9s,useExisting:te},{provide:S.N0,useClass:F,deps:[]},[]];let Te=(()=>{var He;class _e{constructor(Me){}static withServerTransition(Me){return{ngModule:_e,providers:[{provide:a.sZ2,useValue:Me.appId}]}}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(qe,12))},He.\u0275mod=a.$C({type:He}),He.\u0275inj=a.G2t({providers:[...xe,...Oe],imports:[S.MD,a.Hbi]}),_e})(),ne=(()=>{var He;class _e{constructor(Me){this._doc=Me}getTitle(){return this._doc.title}setTitle(Me){this._doc.title=Me||""}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),_e})(),bn=(()=>{var He;class _e{}return(He=_e).\u0275fac=function(Me){return new(Me||He)},He.\u0275prov=a.jDH({token:He,factory:function(Me){let Ze=null;return Ze=Me?new(Me||He):a.KVO(bt),Ze},providedIn:"root"}),_e})(),bt=(()=>{var He;class _e extends bn{constructor(Me){super(),this._doc=Me}sanitize(Me,Ze){if(null==Ze)return null;switch(Me){case a.WPN.NONE:return Ze;case a.WPN.HTML:return(0,a.ZF7)(Ze,"HTML")?(0,a.rcV)(Ze):(0,a.h9k)(this._doc,String(Ze)).toString();case a.WPN.STYLE:return(0,a.ZF7)(Ze,"Style")?(0,a.rcV)(Ze):Ze;case a.WPN.SCRIPT:if((0,a.ZF7)(Ze,"Script"))return(0,a.rcV)(Ze);throw new a.wOt(5200,!1);case a.WPN.URL:return(0,a.ZF7)(Ze,"URL")?(0,a.rcV)(Ze):(0,a.$MX)(String(Ze));case a.WPN.RESOURCE_URL:if((0,a.ZF7)(Ze,"ResourceURL"))return(0,a.rcV)(Ze);throw new a.wOt(5201,!1);default:throw new a.wOt(5202,!1)}}bypassSecurityTrustHtml(Me){return(0,a.Kcf)(Me)}bypassSecurityTrustStyle(Me){return(0,a.cWb)(Me)}bypassSecurityTrustScript(Me){return(0,a.UyX)(Me)}bypassSecurityTrustUrl(Me){return(0,a.osQ)(Me)}bypassSecurityTrustResourceUrl(Me){return(0,a.e5t)(Me)}}return(He=_e).\u0275fac=function(Me){return new(Me||He)(a.KVO(S.qQ))},He.\u0275prov=a.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),_e})()},3021:(Ce,ee,E)=>{"use strict";E.d(ee,{nX:()=>ei,Zp:()=>Ue,Z:()=>Fe,Xk:()=>qe,Kp:()=>Si,b:()=>Zn,Ix:()=>ir,Wk:()=>Sr,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),F=E(8793),B=E(9030),m=E(1203),T=E(8810),A=E(983),w=E(17),R=E(1413),$=E(8359),k=E(177),M=E(6354),P=E(5558),U=E(6697),V=E(9326),W=E(9974),me=E(5964),te=E(3028),se=E(4360);function g(z){return(0,W.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,W.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 l=E(3669);function s(z,q){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,me.p)((fe,ke)=>z(fe,ke,Z)):l.D,(0,U.s)(1),ue?g(q):n(()=>new _.G))}var h=E(274),v=E(8141),y=E(9437),d=E(6649);function f(z){return z<=0?()=>A.w:(0,W.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),j=E(980),J=E(9898),ie=E(8750),pe=E(5343),Q=E(6365),ae=E(345);const qe="primary",Oe=Symbol("RouteTitle");class xe{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 Te(z){return new xe(z)}function Be(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 xt(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 un(z,q,ue){if(!Dn(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]||!un(z.children[Z],q.children[Z],ue))return!1;return!0},subset:It},rn={exact:function ft(z,q){return ne(z,q)},subset:function At(z,q){return Object.keys(q).length<=Object.keys(z).length&&Object.keys(q).every(ue=>ge(z[ue],q[ue]))},ignored:()=>!0};function mt(z,q,ue){return rt[ue.paths](z.root,q.root,ue.matrixParams)&&rn[ue.queryParams](z.queryParams,q.queryParams)&&!("exact"===ue.fragment&&z.fragment!==q.fragment)}function It(z,q,ue){return Cn(z,q,q.segments,ue)}function Cn(z,q,ue,Z){if(z.segments.length>ue.length){const fe=z.segments.slice(0,ue.length);return!(!Dn(fe,ue)||q.hasChildren()||!St(fe,ue,Z))}if(z.segments.length===ue.length){if(!Dn(z.segments,ue)||!St(z.segments,ue,Z))return!1;for(const fe in q.children)if(!z.children[fe]||!It(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!!(Dn(z.segments,fe)&&St(z.segments,fe,Z)&&z.children[qe])&&Cn(z.children[qe],q,ke,Z)}}function St(z,q,ue){return q.every((Z,fe)=>rn[ue](z[fe].parameters,Z.parameters))}class Ft{constructor(q=new bn([],{}),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=Te(this.queryParams)),this._queryParamMap}toString(){return Nt.serialize(this)}}class bn{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 bt{constructor(q,ue){this.path=q,this.parameters=ue}get parameterMap(){var q;return null!==(q=this._parameterMap)&&void 0!==q||(this._parameterMap=Te(this.parameters)),this._parameterMap}toString(){return je(this)}}function Dn(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 Wt,providedIn:"root"}),q})();class Wt{parse(q){const ue=new Kt(q);return new Ft(ue.parseRootSegment(),ue.parseQueryParams(),ue.parseFragment())}serialize(q){const ue=`/${zn(q.root,!0)}`,Z=function Pe(z){const q=Object.entries(z).map(([ue,Z])=>Array.isArray(Z)?Z.map(fe=>`${He(ue)}=${He(fe)}`).join("&"):`${He(ue)}=${He(Z)}`).filter(ue=>ue);return q.length?`?${q.join("&")}`:""}(q.queryParams);return`${ue}${Z}${"string"==typeof q.fragment?`#${function _e(z){return encodeURI(z)}(q.fragment)}`:""}`}}const Nt=new Wt;function Ot(z){return z.segments.map(q=>je(q)).join("/")}function zn(z,q){if(!z.hasChildren())return Ot(z);if(q){const ue=z.children[qe]?zn(z.children[qe],!1):"",Z=[];return Object.entries(z.children).forEach(([fe,ke])=>{fe!==qe&&Z.push(`${fe}:${zn(ke,!1)}`)}),Z.length>0?`${ue}(${Z.join("//")})`:ue}{const ue=function Bt(z,q){let ue=[];return Object.entries(z.children).forEach(([Z,fe])=>{Z===qe&&(ue=ue.concat(q(fe,Z)))}),Object.entries(z.children).forEach(([Z,fe])=>{Z!==qe&&(ue=ue.concat(q(fe,Z)))}),ue}(z,(Z,fe)=>fe===qe?[zn(z.children[qe],!1)]:[`${fe}:${zn(Z,!1)}`]);return 1===Object.keys(z.children).length&&null!=z.children[qe]?`${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 He(z){return Ut(z).replace(/%3B/gi,";")}function Ae(z){return Ut(z).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Me(z){return decodeURIComponent(z)}function Ze(z){return Me(z.replace(/\+/g,"%20"))}function je(z){return`${Ae(z.path)}${function it(z){return Object.entries(z).map(([q,ue])=>`;${Ae(q)}=${Ae(ue)}`).join("")}(z.parameters)}`}const Se=/^[^\/()?;#]+/;function ze(z){const q=z.match(Se);return q?q[0]:""}const Et=/^[^\/()?;=#]+/,st=/^[^=?&#]+/,yt=/^[^&#]+/;class Kt{constructor(q){this.url=q,this.remaining=q}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bn([],{}):new bn([],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[qe]=new bn(q,ue)),Z}parseSegment(){const q=ze(this.remaining);if(""===q&&this.peekStartsWith(";"))throw new S.wOt(4009,!1);return this.capture(q),new bt(Me(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(Et);return q?q[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const fe=ze(this.remaining);fe&&(Z=fe,this.capture(Z))}q[Me(ue)]=Me(Z)}parseQueryParam(q){const ue=function en(z){const q=z.match(st);return q?q[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Z="";if(this.consumeOptional("=")){const nt=function vt(z){const q=z.match(yt);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=ze(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=qe);const nt=this.parseChildren();ue[ke]=1===Object.keys(nt).length?nt[qe]:new bn([],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 Pt(z){return z.segments.length>0?new bn([],{[qe]:z}):z}function Rt(z){const q={};for(const[Z,fe]of Object.entries(z.children)){const ke=Rt(fe);if(Z===qe&&0===ke.segments.length&&ke.hasChildren())for(const[nt,Ht]of Object.entries(ke.children))q[nt]=Ht;else(ke.segments.length>0||ke.hasChildren())&&(q[Z]=ke)}return function On(z){if(1===z.numberOfChildren&&z.children[qe]){const q=z.children[qe];return new bn(z.segments.concat(q.segments),q.children)}return z}(new bn(z.segments,q))}function An(z){return z instanceof Ft}function Mn(z){var q;let ue;const ke=Pt(function Z(nt){const Ht={};for(const Xt of nt.children){const In=Z(Xt);Ht[Xt.outlet]=In}const hn=new bn(nt.url,Ht);return nt===z&&(ue=hn),hn}(z.root));return null!==(q=ue)&&void 0!==q?q:ke}function Wn(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 Xn(!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 Ht={};return Object.entries(ke.outlets).forEach(([hn,Xt])=>{Ht[hn]="string"==typeof Xt?Xt.split("/"):Xt}),[...fe,{outlets:Ht}]}if(ke.segmentPath)return[...fe,ke.segmentPath]}return"string"!=typeof ke?[...fe,ke]:0===nt?(ke.split("/").forEach((Ht,hn)=>{0==hn&&"."===Ht||(0==hn&&""===Ht?ue=!0:".."===Ht?q++:""!=Ht&&fe.push(Ht))}),fe):[...fe,ke]},[]);return new Xn(ue,q,Z)}(q);if(ke.toRoot())return kn(fe,fe,new bn([],{}),ue,Z);const nt=function lt(z,q,ue){if(z.isAbsolute)return new $e(q,!0,0);if(!ue)return new $e(q,!1,NaN);if(null===ue.parent)return new $e(ue,!0,0);const Z=Ln(z.commands[0])?0:1;return function Tt(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 $e(Z,!1,fe-ke)}(ue,ue.segments.length-1+Z,z.numberOfDoubleDots)}(ke,fe,z),Ht=nt.processChildren?Zt(nt.segmentGroup,nt.index,ke.commands):kt(nt.segmentGroup,nt.index,ke.commands);return kn(fe,nt.segmentGroup,Ht,ue,Z)}function Ln(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(([hn,Xt])=>{ke[hn]=Array.isArray(Xt)?Xt.map(In=>`${In}`):`${Xt}`}),nt=z===q?ue:Gn(z,q,ue);const Ht=Pt(Rt(nt));return new Ft(Ht,ke,fe)}function Gn(z,q,ue){const Z={};return Object.entries(z.children).forEach(([fe,ke])=>{Z[fe]=ke===q?ue:Gn(ke,q,ue)}),new bn(z.segments,Z)}class Xn{constructor(q,ue,Z){if(this.isAbsolute=q,this.numberOfDoubleDots=ue,this.commands=Z,q&&Z.length>0&&Ln(Z[0]))throw new S.wOt(4003,!1);const fe=Z.find(Fn);if(fe&&fe!==xt(Z))throw new S.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $e{constructor(q,ue,Z){this.segmentGroup=q,this.processChildren=ue,this.index=Z}}function kt(z,q,ue){var Z;if(null!==(Z=z)&&void 0!==Z||(z=new bn([],{})),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],Ht=ue[Z];if(Fn(Ht))break;const hn=`${Ht}`,Xt=Z0&&void 0===hn)break;if(hn&&Xt&&"object"==typeof Xt&&void 0===Xt.outlets){if(!Kn(hn,Xt,nt))return ke;Z+=2}else{if(!Kn(hn,{},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!==qe)&&z.children[qe]&&1===z.numberOfChildren&&0===z.children[qe].segments.length){const ke=Zt(z.children[qe],q,ue);return new bn(z.segments,ke.children)}return Object.entries(Z).forEach(([ke,nt])=>{"string"==typeof nt&&(nt=[nt]),null!==nt&&(fe[ke]=kt(z.children[ke],q,nt))}),Object.entries(z.children).forEach(([ke,nt])=>{void 0===Z[ke]&&(fe[ke]=nt)}),new bn(z.segments,fe)}}function Qt(z,q,ue){const Z=z.segments.slice(0,q);let fe=0;for(;fe{"string"==typeof Z&&(Z=[Z]),null!==Z&&(q[ue]=Qt(new bn([],{}),0,Z))}),q}function wn(z){const q={};return Object.entries(z).forEach(([ue,Z])=>q[ue]=`${Z}`),q}function Kn(z,q,ue){return z==ue.path&&ne(q,ue.parameters)}const fr="imperative";var Ge=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}(Ge||{});class tt{constructor(q,ue){this.id=q,this.url=ue}}class Fe extends tt{constructor(q,ue,Z="imperative",fe=null){super(q,ue),this.type=Ge.NavigationStart,this.navigationTrigger=Z,this.restoredState=fe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class et extends tt{constructor(q,ue,Z){super(q,ue),this.urlAfterRedirects=Z,this.type=Ge.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Ct=function(z){return z[z.Redirect=0]="Redirect",z[z.SupersededByNewNavigation=1]="SupersededByNewNavigation",z[z.NoDataFromResolver=2]="NoDataFromResolver",z[z.GuardRejected=3]="GuardRejected",z}(Ct||{}),Gt=function(z){return z[z.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",z[z.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",z}(Gt||{});class vn extends tt{constructor(q,ue,Z,fe){super(q,ue),this.reason=Z,this.code=fe,this.type=Ge.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class gt extends tt{constructor(q,ue,Z,fe){super(q,ue),this.reason=Z,this.code=fe,this.type=Ge.NavigationSkipped}}class zt extends tt{constructor(q,ue,Z,fe){super(q,ue),this.error=Z,this.target=fe,this.type=Ge.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ye extends tt{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ge.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ke extends tt{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ge.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt extends tt{constructor(q,ue,Z,fe,ke){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.shouldActivate=ke,this.type=Ge.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pt extends tt{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ge.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends tt{constructor(q,ue,Z,fe){super(q,ue),this.urlAfterRedirects=Z,this.state=fe,this.type=Ge.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=Ge.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class an{constructor(q){this.route=q,this.type=Ge.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ln{constructor(q){this.snapshot=q,this.type=Ge.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xn{constructor(q){this.snapshot=q,this.type=Ge.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cn{constructor(q){this.snapshot=q,this.type=Ge.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nn{constructor(q){this.snapshot=q,this.type=Ge.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _n{constructor(q,ue,Z){this.routerEvent=q,this.position=ue,this.anchor=Z,this.type=Ge.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Sn{}class Pn{constructor(q){this.url=q}}class X{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ue,this.attachRef=null}}let Ue=(()=>{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=Ye(q,this._root);return ue?ue.children.map(Z=>Z.value):[]}firstChild(q){const ue=Ye(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 Ye(z,q){if(z===q.value)return q;for(const ue of q.children){const Z=Ye(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 pr(z){const q={};return z&&z.children.forEach(ue=>q[ue.value.outlet]=ue),q}class wr extends le{constructor(q,ue){super(q),this.snapshot=ue,vi(this,q)}toString(){return this.snapshot.toString()}}function qr(z){const q=function Wr(z){const ke=new Vi([],{},{},"",{},qe,z,null,{});return new Dr("",new Nn(ke,[]))}(z),ue=new D.t([new bt("",{})]),Z=new D.t({}),fe=new D.t({}),ke=new D.t({}),nt=new D.t(""),Ht=new ei(ue,Z,ke,nt,fe,qe,z,q.root);return Ht.snapshot=q.root,new wr(new Nn(Ht,[]),q)}class ei{constructor(q,ue,Z,fe,ke,nt,Ht,hn){var Xt,In;this.urlSubject=q,this.paramsSubject=ue,this.queryParamsSubject=Z,this.fragmentSubject=fe,this.dataSubject=ke,this.outlet=nt,this.component=Ht,this._futureSnapshot=hn,this.title=null!==(Xt=null===(In=this.dataSubject)||void 0===In?void 0:In.pipe((0,M.T)(qn=>qn[Oe])))&&void 0!==Xt?Xt:(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=>Te(ue)))),this._paramMap}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(this._queryParamMap=this.queryParams.pipe((0,M.T)(ue=>Te(ue)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function jr(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[Oe]=ke.title),fe}class Vi{get title(){var q;return null===(q=this.data)||void 0===q?void 0:q[Oe]}constructor(q,ue,Z,fe,ke,nt,Ht,hn,Xt){this.url=q,this.params=ue,this.queryParams=Z,this.fragment=fe,this.data=ke,this.outlet=nt,this.component=Ht,this.routeConfig=hn,this._resolve=Xt}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=Te(this.params)),this._paramMap}get queryParamMap(){var q;return null!==(q=this._queryParamMap)&&void 0!==q||(this._queryParamMap=Te(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Z=>Z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Dr extends le{constructor(q,ue){super(ue),this.url=q,vi(this,ue)}toString(){return $n(this._root)}}function vi(z,q){q.value._routerState=z,q.children.forEach(ue=>vi(z,ue))}function $n(z){const q=z.children.length>0?` { ${z.children.map($n).join(", ")} } `:"";return`${z.value}${q}`}function mi(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 re(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||Oi(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=qe,this.activateEvents=new S.bkB,this.deactivateEvents=new S.bkB,this.attachEvents=new S.bkB,this.detachEvents=new S.bkB,this.parentContexts=(0,S.WQX)(Ue),this.location=(0,S.WQX)(S.c1b),this.changeDetector=(0,S.WQX)(S.gRc),this.environmentInjector=(0,S.WQX)(S.uvJ),this.inputBinder=(0,S.WQX)(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,hn=Z.snapshot.component,Xt=this.parentContexts.getOrCreateContext(this.name).children,In=new ji(Z,Xt,nt.injector);this.activated=nt.createComponent(hn,{index:nt.length,injector:In,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 ji{__ngOutletInjector(q){return new ji(this.route,this.childContexts,q)}constructor(q,ue,Z){this.route=q,this.childContexts=ue,this.parent=Z}get(q,ue){return q===ei?this.route:q===Ue?this.childContexts:this.parent.get(q,ue)}}const Mi=new S.nKC("");let Hi=(()=>{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,P.n)(([nt,Ht,hn],Xt)=>(hn={...nt,...Ht,...hn},0===Xt?(0,c.of)(hn):Promise.resolve(hn)))).subscribe(nt=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==fe||null===fe.component)return void this.unsubscribeFromRouteData(Z);const Ht=(0,S.HJs)(fe.component);if(Ht)for(const{templateName:hn}of Ht.inputs)Z.activatedComponentRef.setInput(hn,nt[hn]);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(Ht=>wi(z,Ht)),nt}}const Z=function Po(z){return new ei(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 mo(z,q){const{redirectTo:ue,navigationBehaviorOptions:Z}=An(q)?{redirectTo:q,navigationBehaviorOptions:void 0}:q,fe=Ir(!1,Ct.Redirect);return fe.url=ue,fe.navigationBehaviorOptions=Z,fe}function Ir(z,q){const ue=new Error(`NavigationCancelingError: ${z||""}`);return ue[ti]=!0,ue.cancellationCode=q,ue}function Ni(z){return!!z&&z[ti]}let Bi=(()=>{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 Vt(z){const q=z.children&&z.children.map(Vt),ue=q?{...z,children:q}:{...z};return!ue.component&&!ue.loadComponent&&(q||ue.loadChildren)&&ue.outlet&&ue.outlet!==qe&&(ue.component=Bi),ue}function dn(z){return z.outlet||qe}function Un(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 lr{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),mi(this.futureState.root),this.activateChildRoutes(ue,Z,q)}deactivateChildRoutes(q,ue,Z){const fe=pr(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=pr(q);for(const nt of Object.values(ke))this.deactivateRouteAndItsChildren(nt,fe);if(Z&&Z.outlet){const nt=Z.outlet.detach(),Ht=Z.children.onOutletDeactivated();this.routeReuseStrategy.store(q.value.snapshot,{componentRef:nt,route:q,contexts:Ht})}}deactivateRouteAndOutlet(q,ue){const Z=ue.getContext(q.value.outlet),fe=Z&&q.value.component?Z.children:ue,ke=pr(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=pr(ue);q.children.forEach(ke=>{this.activateRoutes(ke,fe[ke.value.outlet],Z),this.forwardEvent(new nn(ke.value.snapshot))}),q.children.length&&this.forwardEvent(new xn(q.value.snapshot))}activateRoutes(q,ue,Z){const fe=q.value,ke=ue?ue.value:null;if(mi(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 Ht=this.routeReuseStrategy.retrieve(fe.snapshot);this.routeReuseStrategy.store(fe.snapshot,null),nt.children.onOutletReAttached(Ht.contexts),nt.attachRef=Ht.componentRef,nt.route=Ht.route.value,nt.outlet&&nt.outlet.attach(Ht.componentRef,Ht.route.value),mi(Ht.route.value),this.activateChildRoutes(q,null,nt.children)}else{const Ht=Un(fe.snapshot);nt.attachRef=null,nt.route=fe,nt.injector=Ht,nt.outlet&&nt.outlet.activateWith(fe,nt.injector),this.activateChildRoutes(q,null,nt.children)}}else this.activateChildRoutes(q,null,Z)}}class Or{constructor(q){this.path=q,this.route=this.path[this.path.length-1]}}class ni{constructor(q,ue){this.component=q,this.route=ue}}function gi(z,q,ue){const Z=z._root;return be(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 be(z,q,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=pr(q);return z.children.forEach(nt=>{(function ce(z,q,ue,Z,fe={canDeactivateChecks:[],canActivateChecks:[]}){const ke=z.value,nt=q?q.value:null,Ht=ue?ue.getContext(z.value.outlet):null;if(nt&&ke.routeConfig===nt.routeConfig){const hn=function Xe(z,q,ue){if("function"==typeof ue)return ue(z,q);switch(ue){case"pathParamsChange":return!Dn(z.url,q.url);case"pathParamsOrQueryParamsChange":return!Dn(z.url,q.url)||!ne(z.queryParams,q.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Oi(z,q)||!ne(z.queryParams,q.queryParams);default:return!Oi(z,q)}}(nt,ke,ke.routeConfig.runGuardsAndResolvers);hn?fe.canActivateChecks.push(new Or(Z)):(ke.data=nt.data,ke._resolvedData=nt._resolvedData),be(z,q,ke.component?Ht?Ht.children:null:ue,Z,fe),hn&&Ht&&Ht.outlet&&Ht.outlet.isActivated&&fe.canDeactivateChecks.push(new ni(Ht.outlet.component,nt))}else nt&&Ee(q,Ht,fe),fe.canActivateChecks.push(new Or(Z)),be(z,null,ke.component?Ht?Ht.children:null:ue,Z,fe)})(nt,ke[nt.value.outlet],ue,Z.concat([nt.value]),fe),delete ke[nt.value.outlet]}),Object.entries(ke).forEach(([nt,Ht])=>Ee(Ht,ue.getContext(nt),fe)),fe}function Ee(z,q,ue){const Z=pr(z),fe=z.value;Object.entries(Z).forEach(([ke,nt])=>{Ee(nt,fe.component?q?q.children.getContext(ke):null:q,ue)}),ue.canDeactivateChecks.push(new ni(fe.component&&q&&q.outlet&&q.outlet.isActivated?q.outlet.component:null,fe))}function ot(z){return"function"==typeof z}function _s(z){return z instanceof _.G||"EmptyError"===(null==z?void 0:z.name)}const yo=Symbol("INITIAL_VALUE");function qi(){return(0,P.n)(z=>(0,C.z)(z.map(q=>q.pipe((0,U.s)(1),function oe(...z){const q=(0,V.lI)(z);return(0,W.N)((ue,Z)=>{(q?(0,F.x)(z,ue,q):(0,F.x)(z,ue)).subscribe(Z)})}(yo)))).pipe((0,M.T)(q=>{for(const ue of q)if(!0!==ue){if(ue===yo)return yo;if(!1===ue||ue instanceof Ft)return ue}return!0}),(0,me.p)(q=>q!==yo),(0,U.s)(1)))}function ts(z){return(0,m.F)((0,v.M)(q=>{if(An(q))throw mo(0,q)}),(0,M.T)(q=>!0===q))}class ns{constructor(q){this.segmentGroup=q||null}}class Co extends Error{constructor(q){super(),this.urlTree=q}}function er(z){return(0,T.$)(new ns(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[qe])return(0,T.$)(new S.wOt(4e3,!1));fe=fe.children[qe]}}applyRedirectCommands(q,ue,Z){const fe=this.applyRedirectCreateUrlTree(ue,this.urlSerializer.parse(ue),q,Z);if(ue.startsWith("/"))throw new Co(fe);return fe}applyRedirectCreateUrlTree(q,ue,Z,fe){const ke=this.createSegmentGroup(q,ue.root,Z,fe);return new Ft(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 Ht=ke.substring(1);Z[fe]=ue[Ht]}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(([Ht,hn])=>{nt[Ht]=this.createSegmentGroup(q,hn,Z,fe)}),new bn(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 rs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function is(z,q,ue,Z,fe){const ke=Wi(z,q,ue);return ke.matched?(Z=function ai(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 Ht=Ei(nt,z);return Qe(function Eo(z){return z&&ot(z.canMatch)}(Ht)?Ht.canMatch(q,ue):(0,S.N4e)(z,()=>Ht(q,ue)))});return(0,c.of)(ke).pipe(qi(),ts())}(Z,q,ue).pipe((0,M.T)(nt=>!0===nt?ke:{...rs}))):(0,c.of)(ke)}function Wi(z,q,ue){var Z,fe;if("**"===q.path)return function Yl(z){return{matched:!0,parameters:z.length>0?xt(z).parameters:{},consumedSegments:z,remainingSegments:[],positionalParamSegments:{}}}(ue);if(""===q.path)return"full"===q.pathMatch&&(z.hasChildren()||ue.length>0)?{...rs}:{matched:!0,consumedSegments:[],remainingSegments:ue,parameters:{},positionalParamSegments:{}};const nt=(q.matcher||Be)(ue,z,q);if(!nt)return{...rs};const Ht={};Object.entries(null!==(Z=nt.posParams)&&void 0!==Z?Z:{}).forEach(([Xt,In])=>{Ht[Xt]=In.path});const hn=nt.consumed.length>0?{...Ht,...nt.consumed[nt.consumed.length-1].parameters}:Ht;return{matched:!0,consumedSegments:nt.consumed,remainingSegments:ue.slice(nt.consumed.length),parameters:hn,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)&&dn(Z)!==qe)}(z,ue,Z)?{segmentGroup:new bn(q,Bs(Z,new bn(ue,z.children))),slicedSegments:[]}:0===ue.length&&function Ss(z,q,ue){return ue.some(Z=>eo(z,q,Z))}(z,ue,Z)?{segmentGroup:new bn(z.segments,Ro(z,ue,Z,z.children)),slicedSegments:ue}:{segmentGroup:new bn(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[dn(ke)]){const nt=new bn([],{});fe[dn(ke)]=nt}return{...Z,...fe}}function Bs(z,q){const ue={};ue[qe]=q;for(const Z of z)if(""===Z.path&&dn(Z)!==qe){const fe=new bn([],{});ue[dn(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,Ht){this.injector=q,this.configLoader=ue,this.rootComponentType=Z,this.config=fe,this.urlTree=ke,this.paramsInheritanceStrategy=nt,this.urlSerializer=Ht,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 Vi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},qe,this.rootComponentType,null,{}),fe=new Nn(Z,ue),ke=new Dr("",fe),nt=function Bn(z,q,ue=null,Z=null){return Wn(Mn(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,qe).pipe((0,y.W)(Z=>{if(Z instanceof Co)return this.urlTree=Z.urlTree,this.match(Z.urlTree.root);throw Z instanceof ns?this.noMatchError(Z):Z}))}inheritParamsAndData(q,ue){const Z=q.value,fe=jr(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],Ht=function fn(z,q){const ue=z.filter(Z=>dn(Z)===q);return ue.push(...z.filter(Z=>dn(Z)!==q)),ue}(ue,ke);return this.processSegmentGroup(q,Ht,nt,ke)}),function r(z,q){return(0,W.N)((0,d.S)(z,q,arguments.length>=2,!0))}((ke,nt)=>(ke.push(...nt),ke)),g(null),function L(z,q){const ue=arguments.length>=2;return Z=>Z.pipe(z?(0,me.p)((fe,ke)=>z(fe,ke,Z)):l.D,f(1),ue?g(q):n(()=>new _.G))}(),(0,te.Z)(ke=>{if(null===ke)return er(Z);const nt=No(ke);return function Ki(z){z.sort((q,ue)=>q.value.outlet===qe?-1:ue.value.outlet===qe?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)(Ht=>{var hn;return this.processSegmentAgainstRoute(null!==(hn=Ht._injector)&&void 0!==hn?hn:q,ue,Ht,Z,fe,ke,nt).pipe((0,y.W)(Xt=>{if(Xt instanceof ns)return(0,c.of)(null);throw Xt}))}),s(Ht=>!!Ht),(0,y.W)(Ht=>{if(_s(Ht))return function Is(z,q,ue){return 0===q.length&&!z.children[ue]}(Z,fe,ke)?(0,c.of)(new Zl):er(Z);throw Ht}))}processSegmentAgainstRoute(q,ue,Z,fe,ke,nt,Ht){return function wc(z,q,ue,Z){return!!(dn(z)===Z||Z!==qe&&eo(q,ue,z))&&Wi(q,z,ue).matched}(Z,fe,ke,nt)?void 0===Z.redirectTo?this.matchSegmentAgainstRoute(q,fe,Z,ke,nt):this.allowRedirects&&Ht?this.expandSegmentAgainstRouteUsingRedirect(q,fe,ue,Z,ke,nt):er(fe):er(fe)}expandSegmentAgainstRouteUsingRedirect(q,ue,Z,fe,ke,nt){const{matched:Ht,consumedSegments:hn,positionalParamSegments:Xt,remainingSegments:In}=Wi(ue,fe,ke);if(!Ht)return er(ue);fe.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const qn=this.applyRedirects.applyRedirectCommands(hn,fe.redirectTo,Xt);return this.applyRedirects.lineralizeSegments(fe,qn).pipe((0,te.Z)(Mr=>this.processSegment(q,Z,ue,Mr.concat(In),nt,!1)))}matchSegmentAgainstRoute(q,ue,Z,fe,ke){const nt=is(ue,Z,fe,q);return"**"===Z.path&&(ue.children={}),nt.pipe((0,P.n)(Ht=>{var hn;return Ht.matched?(q=null!==(hn=Z._injector)&&void 0!==hn?hn:q,this.getChildConfig(q,Z,fe).pipe((0,P.n)(({routes:Xt})=>{var In,qn,Mr;const dr=null!==(In=Z._loadedInjector)&&void 0!==In?In:q,{consumedSegments:Xr,remainingSegments:wo,parameters:cs}=Ht,zo=new Vi(Xr,cs,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Oa(z){return z.data||{}}(Z),dn(Z),null!==(qn=null!==(Mr=Z.component)&&void 0!==Mr?Mr:Z._loadedComponent)&&void 0!==qn?qn:null,Z,function Ps(z){return z.resolve||{}}(Z)),{segmentGroup:Wo,slicedSegments:ds}=Ta(ue,Xr,wo,Xt);if(0===ds.length&&Wo.hasChildren())return this.processChildren(dr,Xt,Wo).pipe((0,M.T)(fs=>null===fs?null:new Nn(zo,fs)));if(0===Xt.length&&0===ds.length)return(0,c.of)(new Nn(zo,[]));const Va=dn(Z)===ke;return this.processSegment(dr,Xt,Wo,ds,Va?qe:ke,!0).pipe((0,M.T)(fs=>new Nn(zo,fs instanceof Nn?[fs]:[])))}))):er(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 Ht=Ei(nt,z);return Qe(function Hn(z){return z&&ot(z.canLoad)}(Ht)?Ht.canLoad(q,ue):(0,S.N4e)(z,()=>Ht(q,ue)))});return(0,c.of)(ke).pipe(qi(),ts())}(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 li(z){return(0,T.$)(Ir(!1,Ct.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 os(z){return(0,P.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(Ht=>Ht.outlet===qe)}return fe}getResolvedTitleForRoute(Z){return Z.data[Oe]}}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 bo=new S.nKC("",{providedIn:"root",factory:()=>({})}),Do=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,j.j)(()=>{this.componentLoaders.delete(Z)})),ke=new w.G(fe,()=>new R.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,Ht=!1;return Array.isArray(fe)?(nt=fe,!0):(ke=fe.create(ue).injector,nt=ke.get(Do,[],{optional:!0,self:!0}).flat()),{routes:nt.map(Vt),injector:ke}}))}(fe,this.compiler,Z,this.onLoadEndListener).pipe((0,j.j)(()=>{this.childrenLoaders.delete(fe)})),Ht=new w.G(nt,()=>new R.B).pipe((0,J.B)());return this.childrenLoaders.set(fe,Ht),Ht}}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)(ve),providedIn:"root"}),q})(),ve=(()=>{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 We(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(Xt=>setTimeout(Xt));let ke;const nt=new Promise(Xt=>{ke=Xt}),Ht=fe.startViewTransition(()=>(ke(),function ht(z){return new Promise(q=>{(0,S.mal)(q,{injector:z})})}(z))),{onViewTransitionCreated:hn}=Z;return hn&&(0,S.N4e)(z,()=>hn({transition:Ht,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 R.B,this.transitionAbortSubject=new R.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)(Ue),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)(bo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,S.WQX)(Y),this.createViewTransition=(0,S.WQX)(at,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,c.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ke=>this.events.next(new an(ke)),this.configLoader.onLoadStartListener=ke=>this.events.next(new $t(ke))}complete(){var Z;null===(Z=this.transitions)||void 0===Z||Z.complete()}handleNavigationRequest(Z){var fe;const ke=++this.navigationId;null===(fe=this.transitions)||void 0===fe||fe.next({...this.transitions.value,...Z,id:ke})}setupNavigations(Z,fe,ke){return this.transitions=new D.t({id:0,currentUrlTree:fe,currentRawUrl:fe,extractedUrl:this.urlHandlingStrategy.extract(fe),urlAfterRedirects:this.urlHandlingStrategy.extract(fe),rawUrl:fe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:fr,restoredState:null,currentSnapshot:ke.snapshot,targetSnapshot:null,currentRouterState:ke,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,me.p)(nt=>0!==nt.id),(0,M.T)(nt=>({...nt,extractedUrl:this.urlHandlingStrategy.extract(nt.rawUrl)})),(0,P.n)(nt=>{let Ht=!1,hn=!1;return(0,c.of)(nt).pipe((0,P.n)(Xt=>{var In;if(this.navigationId>nt.id)return this.cancelNavigationTransition(nt,"",Ct.SupersededByNewNavigation),A.w;this.currentTransition=nt,this.currentNavigation={id:Xt.id,initialUrl:Xt.rawUrl,extractedUrl:Xt.extractedUrl,trigger:Xt.source,extras:Xt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const qn=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),Mr=null!==(In=Xt.extras.onSameUrlNavigation)&&void 0!==In?In:Z.onSameUrlNavigation;if(!qn&&"reload"!==Mr){const dr="";return this.events.next(new gt(Xt.id,this.urlSerializer.serialize(Xt.rawUrl),dr,Gt.IgnoredSameUrlNavigation)),Xt.resolve(null),A.w}if(this.urlHandlingStrategy.shouldProcessUrl(Xt.rawUrl))return(0,c.of)(Xt).pipe((0,P.n)(dr=>{var Xr,wo;const cs=null===(Xr=this.transitions)||void 0===Xr?void 0:Xr.getValue();return this.events.next(new Fe(dr.id,this.urlSerializer.serialize(dr.extractedUrl),dr.source,dr.restoredState)),cs!==(null===(wo=this.transitions)||void 0===wo?void 0:wo.getValue())?A.w:Promise.resolve(dr)}),function ko(z,q,ue,Z,fe,ke){return(0,te.Z)(nt=>function Ts(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:Ht,tree:hn})=>({...nt,targetSnapshot:Ht,urlAfterRedirects:hn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,v.M)(dr=>{nt.targetSnapshot=dr.targetSnapshot,nt.urlAfterRedirects=dr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:dr.urlAfterRedirects};const Xr=new ye(dr.id,this.urlSerializer.serialize(dr.extractedUrl),this.urlSerializer.serialize(dr.urlAfterRedirects),dr.targetSnapshot);this.events.next(Xr)}));if(qn&&this.urlHandlingStrategy.shouldProcessUrl(Xt.currentRawUrl)){const{id:dr,extractedUrl:Xr,source:wo,restoredState:cs,extras:zo}=Xt,Wo=new Fe(dr,this.urlSerializer.serialize(Xr),wo,cs);this.events.next(Wo);const ds=qr(this.rootComponentType).snapshot;return this.currentTransition=nt={...Xt,targetSnapshot:ds,urlAfterRedirects:Xr,extras:{...zo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Xr,(0,c.of)(nt)}{const dr="";return this.events.next(new gt(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),dr,Gt.IgnoredByUrlHandlingStrategy)),Xt.resolve(null),A.w}}),(0,v.M)(Xt=>{const In=new Ke(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot);this.events.next(In)}),(0,M.T)(Xt=>(this.currentTransition=nt={...Xt,guards:gi(Xt.targetSnapshot,Xt.currentSnapshot,this.rootContexts)},nt)),function Er(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(Ht=>{var hn;const Xt=null!==(hn=Un(q))&&void 0!==hn?hn:fe,In=Ei(Ht,Xt);return Qe(function Hr(z){return z&&ot(z.canDeactivate)}(In)?In.canDeactivate(z,q,ue,Z):(0,S.N4e)(Xt,()=>In(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)(Ht=>Ht&&function En(z){return"boolean"==typeof z}(Ht)?function _a(z,q,ue,Z){return(0,O.H)(q).pipe((0,h.H)(fe=>(0,F.x)(function Kl(z,q){return null!==z&&q&&q(new ln(z)),(0,c.of)(!0)}(fe.route.parent,Z),function Wl(z,q){return null!==z&&q&&q(new cn(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 es(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,B.v)(()=>{const Ht=nt.guards.map(hn=>{var Xt;const In=null!==(Xt=Un(nt.node))&&void 0!==Xt?Xt:ue,qn=Ei(hn,In);return Qe(function di(z){return z&&ot(z.canActivateChild)}(qn)?qn.canActivateChild(Z,z):(0,S.N4e)(In,()=>qn(Z,z))).pipe(s())});return(0,c.of)(Ht).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,B.v)(()=>{var nt;const Ht=null!==(nt=Un(q))&&void 0!==nt?nt:ue,hn=Ei(ke,Ht);return Qe(function Fr(z){return z&&ot(z.canActivate)}(hn)?hn.canActivate(q,z):(0,S.N4e)(Ht,()=>hn(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)(Ht)),(0,M.T)(Ht=>({...ue,guardsResult:Ht})))})}(this.environmentInjector,Xt=>this.events.next(Xt)),(0,v.M)(Xt=>{if(nt.guardsResult=Xt.guardsResult,An(Xt.guardsResult))throw mo(0,Xt.guardsResult);const In=new dt(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot,!!Xt.guardsResult);this.events.next(In)}),(0,me.p)(Xt=>!!Xt.guardsResult||(this.cancelNavigationTransition(Xt,"",Ct.GuardRejected),!1)),os(Xt=>{if(Xt.guards.canActivateChecks.length)return(0,c.of)(Xt).pipe((0,v.M)(In=>{const qn=new pt(In.id,this.urlSerializer.serialize(In.extractedUrl),this.urlSerializer.serialize(In.urlAfterRedirects),In.targetSnapshot);this.events.next(qn)}),(0,P.n)(In=>{let qn=!1;return(0,c.of)(In).pipe(function fi(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(hn=>hn.route)),nt=new Set;for(const hn of ke)if(!nt.has(hn))for(const Xt of to(hn))nt.add(Xt);let Ht=0;return(0,O.H)(nt).pipe((0,h.H)(hn=>ke.has(hn)?function Rs(z,q,ue,Z){const fe=z.routeConfig,ke=z._resolve;return void 0!==(null==fe?void 0:fe.title)&&!Di(fe)&&(ke[Oe]=fe.title),function Ql(z,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=Un(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)(Ht=>{ke[nt]=Ht}))),f(1),(0,I.u)(ke),(0,y.W)(nt=>_s(nt)?A.w:(0,T.$)(nt)))}(ke,z,q,Z).pipe((0,M.T)(nt=>(z._resolvedData=nt,z.data=jr(z,z.parent,ue).resolve,null)))}(hn,Z,z,q):(hn.data=jr(hn,hn.parent,z).resolve,(0,c.of)(void 0))),(0,v.M)(()=>Ht++),f(1),(0,te.Z)(hn=>Ht===nt.size?(0,c.of)(ue):A.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,v.M)({next:()=>qn=!0,complete:()=>{qn||this.cancelNavigationTransition(In,"",Ct.NoDataFromResolver)}}))}),(0,v.M)(In=>{const qn=new Yt(In.id,this.urlSerializer.serialize(In.extractedUrl),this.urlSerializer.serialize(In.urlAfterRedirects),In.targetSnapshot);this.events.next(qn)}))}),os(Xt=>{const In=qn=>{var Mr;const dr=[];null!==(Mr=qn.routeConfig)&&void 0!==Mr&&Mr.loadComponent&&!qn.routeConfig._loadedComponent&&dr.push(this.configLoader.loadComponent(qn.routeConfig).pipe((0,v.M)(Xr=>{qn.component=Xr}),(0,M.T)(()=>{})));for(const Xr of qn.children)dr.push(...In(Xr));return dr};return(0,C.z)(In(Xt.targetSnapshot.root)).pipe(g(null),(0,U.s)(1))}),os(()=>this.afterPreactivation()),(0,P.n)(()=>{var Xt;const{currentSnapshot:In,targetSnapshot:qn}=nt,Mr=null===(Xt=this.createViewTransition)||void 0===Xt?void 0:Xt.call(this,this.environmentInjector,In.root,qn.root);return Mr?(0,O.H)(Mr).pipe((0,M.T)(()=>nt)):(0,c.of)(nt)}),(0,M.T)(Xt=>{const In=function Kr(z,q,ue){const Z=wi(z,q._root,ue?ue._root:void 0);return new wr(Z,q)}(Z.routeReuseStrategy,Xt.targetSnapshot,Xt.currentRouterState);return this.currentTransition=nt={...Xt,targetRouterState:In},this.currentNavigation.targetRouterState=In,nt}),(0,v.M)(()=>{this.events.next(new Sn)}),((z,q,ue,Z)=>(0,M.T)(fe=>(new lr(q,fe.targetRouterState,fe.currentRouterState,ue,Z).activate(z),fe)))(this.rootContexts,Z.routeReuseStrategy,Xt=>this.events.next(Xt),this.inputBindingEnabled),(0,U.s)(1),(0,v.M)({next:Xt=>{var In;Ht=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new et(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects))),null===(In=this.titleStrategy)||void 0===In||In.updateTitle(Xt.targetRouterState.snapshot),Xt.resolve(!0)},complete:()=>{Ht=!0}}),function De(z){return(0,W.N)((q,ue)=>{(0,ie.Tg)(z).subscribe((0,se._)(ue,()=>ue.complete(),pe.l)),!ue.closed&&q.subscribe(ue)})}(this.transitionAbortSubject.pipe((0,v.M)(Xt=>{throw Xt}))),(0,j.j)(()=>{var Xt;!Ht&&!hn&&this.cancelNavigationTransition(nt,"",Ct.SupersededByNewNavigation),(null===(Xt=this.currentTransition)||void 0===Xt?void 0:Xt.id)===nt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,y.W)(Xt=>{if(hn=!0,Ni(Xt))this.events.next(new vn(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Xt.message,Xt.cancellationCode)),function si(z){return Ni(z)&&An(z.url)}(Xt)?this.events.next(new Pn(Xt.url)):nt.resolve(!1);else{var In;this.events.next(new zt(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Xt,null!==(In=nt.targetSnapshot)&&void 0!==In?In:void 0));try{nt.resolve(Z.errorHandler(Xt))}catch(qn){this.options.resolveNavigationPromiseOnError?nt.resolve(!1):nt.reject(qn)}}return A.w}))}))}cancelNavigationTransition(Z,fe,ke){const nt=new vn(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 mn(z){return z!==fr}let Zn=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(cr),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 cr=(()=>{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})(),nr=(()=>{var z;class q{}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:()=>(0,S.WQX)(gr),providedIn:"root"}),q})(),gr=(()=>{var z;class q extends nr{constructor(){super(...arguments),this.location=(0,S.WQX)(k.aZ),this.urlSerializer=(0,S.WQX)(Lt),this.options=(0,S.WQX)(bo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,S.WQX)(Y),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ft,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qr(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var Z,fe;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(Z=null===(fe=this.restoredState())||void 0===fe?void 0:fe.\u0275routerPageId)&&void 0!==Z?Z:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Z){return this.location.subscribe(fe=>{"popstate"===fe.type&&Z(fe.url,fe.state)})}handleRouterEvent(Z,fe){if(Z instanceof Fe)this.stateMemento=this.createStateMemento();else if(Z instanceof gt)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 Sn?(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 vn&&(Z.code===Ct.GuardRejected||Z.code===Ct.NoDataFromResolver)?this.restoreHistory(fe):Z instanceof zt?this.restoreHistory(fe,!0):Z instanceof et&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,fe){const ke=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(ke)||fe.extras.replaceUrl){const Ht={...fe.extras.state,...this.generateNgRouterState(fe.id,this.browserPageId)};this.location.replaceState(ke,"",Ht)}else{const nt={...fe.extras.state,...this.generateNgRouterState(fe.id,this.browserPageId+1)};this.location.go(ke,"",nt)}}restoreHistory(Z,fe=!1){if("computed"===this.canceledNavigationResolution){const nt=this.currentPageId-this.browserPageId;0!==nt?this.location.historyGo(nt):this.currentUrlTree===Z.finalUrl&&0===nt&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(fe&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){var fe;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(fe=Z.finalUrl)&&void 0!==fe?fe:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,fe){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:fe}:{navigationId:Z}}}return(z=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 ar=function(z){return z[z.COMPLETE=0]="COMPLETE",z[z.FAILED=1]="FAILED",z[z.REDIRECTING=2]="REDIRECTING",z}(ar||{});function _r(z,q){z.events.pipe((0,me.p)(ue=>ue instanceof et||ue instanceof vn||ue instanceof zt||ue instanceof gt),(0,M.T)(ue=>ue instanceof et||ue instanceof gt?ar.COMPLETE:ue instanceof vn&&(ue.code===Ct.Redirect||ue.code===Ct.SupersededByNewNavigation)?ar.REDIRECTING:ar.FAILED),(0,me.p)(ue=>ue!==ar.REDIRECTING),(0,U.s)(1)).subscribe(()=>{q()})}function xr(z){throw z}const yn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rn={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)(nr),this.options=(0,S.WQX)(bo,{optional:!0})||{},this.pendingTasks=(0,S.WQX)(S.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,S.WQX)(Jt),this.urlSerializer=(0,S.WQX)(Lt),this.location=(0,S.WQX)(k.aZ),this.urlHandlingStrategy=(0,S.WQX)(Y),this._events=new R.B,this.errorHandler=this.options.errorHandler||xr,this.navigated=!1,this.routeReuseStrategy=(0,S.WQX)(Zn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(Z=null===(fe=(0,S.WQX)(Do,{optional:!0}))||void 0===fe?void 0:fe.flat())&&void 0!==Z?Z:[],this.componentInputBindingEnabled=!!(0,S.WQX)(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 vn&&fe.code!==Ct.Redirect&&fe.code!==Ct.SupersededByNewNavigation)this.navigated=!0;else if(fe instanceof et)this.navigated=!0;else if(fe instanceof Pn){const Ht=this.urlHandlingStrategy.merge(fe.url,ke.currentRawUrl),hn={info:ke.extras.info,skipLocationChange:ke.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||mn(ke.source)};this.scheduleNavigation(Ht,fr,null,hn,{resolve:ke.resolve,reject:ke.reject,promise:ke.promise})}(function Ar(z){return!(z instanceof Sn||z instanceof Pn)})(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),fr,this.stateManager.restoredState())}setUpLocationChangeListener(){var Z;null!==(Z=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==Z||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((fe,ke)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(fe,"popstate",ke)},0)}))}navigateToSyncWithBrowser(Z,fe,ke){const nt={replaceUrl:!0},Ht=null!=ke&&ke.navigationId?ke:null;if(ke){const Xt={...ke};delete Xt.navigationId,delete Xt.\u0275routerPageId,0!==Object.keys(Xt).length&&(nt.state=Xt)}const hn=this.parseUrl(Z);this.scheduleNavigation(hn,fe,Ht,nt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(Vt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Z,fe={}){const{relativeTo:ke,queryParams:nt,fragment:Ht,queryParamsHandling:hn,preserveFragment:Xt}=fe,In=Xt?this.currentUrlTree.fragment:Ht;let Mr,qn=null;switch(hn){case"merge":qn={...this.currentUrlTree.queryParams,...nt};break;case"preserve":qn=this.currentUrlTree.queryParams;break;default:qn=nt||null}null!==qn&&(qn=this.removeEmptyProps(qn));try{Mr=Mn(ke?ke.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),Mr=this.currentUrlTree.root}return Wn(Mr,Z,qn,null!=In?In:null)}navigateByUrl(Z,fe={skipLocationChange:!1}){const ke=An(Z)?Z:this.parseUrl(Z),nt=this.urlHandlingStrategy.merge(ke,this.rawUrlTree);return this.scheduleNavigation(nt,fr,null,fe)}navigate(Z,fe={skipLocationChange:!1}){return function Lr(z){for(let q=0;q(null!=nt&&(fe[ke]=nt),fe),{})}scheduleNavigation(Z,fe,ke,nt,Ht){if(this.disposed)return Promise.resolve(!1);let hn,Xt,In;Ht?(hn=Ht.resolve,Xt=Ht.reject,In=Ht.promise):In=new Promise((Mr,dr)=>{hn=Mr,Xt=dr});const qn=this.pendingTasks.add();return _r(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(qn))}),this.navigationTransitions.handleNavigationRequest({source:fe,restoredState:ke,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:nt,resolve:hn,reject:Xt,promise:In,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),In.catch(Mr=>Promise.reject(Mr))}}return(z=q).\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})(),Sr=(()=>{var z;class q{constructor(Z,fe,ke,nt,Ht,hn){var Xt;this.router=Z,this.route=fe,this.tabIndexAttribute=ke,this.renderer=nt,this.el=Ht,this.locationStrategy=hn,this.href=null,this.commands=null,this.onChanges=new R.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const In=null===(Xt=Ht.nativeElement.tagName)||void 0===Xt?void 0:Xt.toLowerCase();this.isAnchorElement="a"===In||"area"===In,this.isAnchorElement?this.subscription=Z.events.subscribe(qn=>{qn instanceof et&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,fe,ke,nt,Ht){const hn=this.urlTree;return!!(null===hn||this.isAnchorElement&&(0!==Z||fe||ke||nt||Ht||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(hn,{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(ei),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 Rr{}let Si=(()=>{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})(),ss=(()=>{var z;class q{constructor(Z,fe,ke,nt,Ht){this.router=Z,this.injector=ke,this.preloadingStrategy=nt,this.loader=Ht}setUpPreloading(){this.subscription=this.router.events.pipe((0,me.p)(Z=>Z instanceof et),(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 Xt of fe){var nt,Ht;Xt.providers&&!Xt._injector&&(Xt._injector=(0,S.Ol2)(Xt.providers,Z,`Route: ${Xt.path}`));const In=null!==(nt=Xt._injector)&&void 0!==nt?nt:Z,qn=null!==(Ht=Xt._loadedInjector)&&void 0!==Ht?Ht:In;var hn;(Xt.loadChildren&&!Xt._loadedRoutes&&void 0===Xt.canLoad||Xt.loadComponent&&!Xt._loadedComponent)&&ke.push(this.preloadConfig(In,Xt)),(Xt.children||Xt._loadedRoutes)&&ke.push(this.processRoutes(qn,null!==(hn=Xt.children)&&void 0!==hn?hn:Xt._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)(Ht=>{var hn;return null===Ht?(0,c.of)(void 0):(fe._loadedRoutes=Ht.routes,fe._loadedInjector=Ht.injector,this.processRoutes(null!==(hn=Ht.injector)&&void 0!==hn?hn:Z,Ht.routes))}));if(fe.loadComponent&&!fe._loadedComponent){const Ht=this.loader.loadComponent(fe);return(0,O.H)([nt,Ht]).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(Rr),S.KVO(Lo))},z.\u0275prov=S.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),q})();const Os=new S.nKC("");let Ao=(()=>{var z;class q{constructor(Z,fe,ke,nt,Ht={}){this.urlSerializer=Z,this.transitions=fe,this.viewportScroller=ke,this.zone=nt,this.options=Ht,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,S.WQX)(S.uvJ),Ht.scrollPositionRestoration||(Ht.scrollPositionRestoration="disabled"),Ht.anchorScrolling||(Ht.anchorScrolling="disabled")}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof Fe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof et?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof gt&&Z.code===Gt.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 _n&&(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 _n(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 ri(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(Jn)&&ke.initialNavigation(),null===(ue=z.get(ls,null,S.$GK.Optional))||void 0===ue||ue.setUpPreloading(),null===(Z=z.get(Os,null,S.$GK.Optional))||void 0===Z||Z.init(),ke.resetRootComponentType(fe.componentTypes[0]),nt.closed||(nt.next(),nt.complete(),nt.unsubscribe())}}const io=new S.nKC("",{factory:()=>new R.B}),Jn=new S.nKC("",{providedIn:"root",factory:()=>1}),ls=new S.nKC("");function jo(z){return ri(0,[{provide:ls,useExisting:ss},{provide:Rr,useExisting:z}])}function La(z){return ri(9,[{provide:at,useValue:We},{provide:de,useValue:{skipNextTransition:!(null==z||!z.skipInitialTransition),...z}}])}const us=new S.nKC("ROUTER_FORROOT_GUARD"),Ii=[k.aZ,{provide:Lt,useClass:Wt},ir,Ue,{provide:ei,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:[Ii,[],{provide:Do,multi:!0,useValue:Z},{provide:us,useFactory:tu,deps:[[ir,new S.Xx1,new S.kdw]]},{provide:bo,useValue:fe||{}},null!=fe&&fe.useHash?{provide:k.hb,useClass:k.fw}:{provide:k.hb,useClass:k.Sm},{provide:Os,useFactory:()=>{const z=(0,S.WQX)(k.Xr),q=(0,S.WQX)(S.SKi),ue=(0,S.WQX)(bo),Z=(0,S.WQX)(Jt),fe=(0,S.WQX)(Lt);return ue.scrollOffset&&z.setOffset(ue.scrollOffset),new Ao(fe,Z,z,q,ue)}},null!=fe&&fe.preloadingStrategy?jo(fe.preloadingStrategy).\u0275providers:[],null!=fe&&fe.initialNavigation?Ic(fe):[],null!=fe&&fe.bindToComponentInputs?ri(8,[Hi,{provide:Mi,useExisting:Hi}]).\u0275providers:[],null!=fe&&fe.enableViewTransitions?La().\u0275providers:[],[{provide:ks,useFactory:Vo},{provide:S.iLQ,multi:!0,useExisting:ks}]]}}static forChild(Z){return{ngModule:q,providers:[{provide:Do,multi:!0,useValue:Z}]}}}return(z=q).\u0275fac=function(Z){return new(Z||z)(S.KVO(us,8))},z.\u0275mod=S.$C({type:z}),z.\u0275inj=S.G2t({}),q})();function tu(z){return"guarded"}function Ic(z){return["disabled"===z.initialNavigation?ri(3,[{provide:S.hnV,multi:!0,useFactory:()=>{const q=(0,S.WQX)(ir);return()=>{q.setUpLocationChangeListener()}}},{provide:Jn,useValue:2}]).\u0275providers:[],"enabledBlocking"===z.initialNavigation?ri(2,[{provide:Jn,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);_r(fe,()=>{Z(!0)}),q.get(Jt).afterPreactivation=()=>(Z(!0),ke.closed?(0,c.of)(void 0):ke),fe.initialNavigation()}))}}]).\u0275providers:[]]}const ks=new S.nKC("")},4517:(Ce,ee,E)=>{"use strict";E.d(ee,{Yq:()=>bt,TS:()=>Cn,sR:()=>St,el:()=>Gn,Sb:()=>Pe,QE:()=>Tt,CF:()=>Ze,Rg:()=>An,p4:()=>Mt,jM:()=>Kn,_t:()=>ge,q9:()=>ft,y8:()=>bn,Kb:()=>fr,OD:()=>rt,CE:()=>Xn,pF:()=>jn,fL:()=>Zt,YV:()=>Ln,er:()=>kt,z3:()=>qt});var a=E(467),S=E(4438),p=E(3021),O=E(177);class c{constructor(){this.m=new Map}reset(tt){this.m=new Map(Object.entries(tt))}get(tt,Fe){const et=this.m.get(tt);return void 0!==et?et:Fe}getBoolean(tt,Fe=!1){const et=this.m.get(tt);return void 0===et?Fe:"string"==typeof et?"true"===et:!!et}getNumber(tt,Fe){const et=parseFloat(this.m.get(tt));return isNaN(et)?void 0!==Fe?Fe:NaN:et}set(tt,Fe){this.m.set(tt,Fe)}}const D=new c,A=Ge=>R(Ge),R=(Ge=window)=>{if(typeof Ge>"u")return[];Ge.Ionic=Ge.Ionic||{};let tt=Ge.Ionic.platforms;return null==tt&&(tt=Ge.Ionic.platforms=$(Ge),tt.forEach(Fe=>Ge.document.documentElement.classList.add(`plt-${Fe}`))),tt},$=Ge=>{const tt=D.get("platform");return Object.keys(y).filter(Fe=>{const et=null==tt?void 0:tt[Fe];return"function"==typeof et?et(Ge):y[Fe](Ge)})},M=Ge=>!!(h(Ge,/iPad/i)||h(Ge,/Macintosh/i)&&te(Ge)),V=Ge=>h(Ge,/android|sink/i),te=Ge=>v(Ge,"(any-pointer:coarse)"),g=Ge=>n(Ge)||o(Ge),n=Ge=>!!(Ge.cordova||Ge.phonegap||Ge.PhoneGap),o=Ge=>{const tt=Ge.Capacitor;return!(null==tt||!tt.isNative)},h=(Ge,tt)=>tt.test(Ge.navigator.userAgent),v=(Ge,tt)=>{var Fe;return null===(Fe=Ge.matchMedia)||void 0===Fe?void 0:Fe.call(Ge,tt).matches},y={ipad:M,iphone:Ge=>h(Ge,/iPhone/i),ios:Ge=>h(Ge,/iPhone|iPod/i)||M(Ge),android:V,phablet:Ge=>{const tt=Ge.innerWidth,Fe=Ge.innerHeight,et=Math.min(tt,Fe),Ct=Math.max(tt,Fe);return et>390&&et<520&&Ct>620&&Ct<800},tablet:Ge=>{const tt=Ge.innerWidth,Fe=Ge.innerHeight,et=Math.min(tt,Fe),Ct=Math.max(tt,Fe);return M(Ge)||(Ge=>V(Ge)&&!h(Ge,/mobile/i))(Ge)||et>460&&et<820&&Ct>780&&Ct<1400},cordova:n,capacitor:o,electron:Ge=>h(Ge,/electron/i),pwa:Ge=>{var tt;return!!(null!==(tt=Ge.matchMedia)&&void 0!==tt&&tt.call(Ge,"(display-mode: standalone)").matches||Ge.navigator.standalone)},mobile:te,mobileweb:Ge=>te(Ge)&&!g(Ge),desktop:Ge=>!te(Ge),hybrid:g};var L=E(6031),I=E(1656),j=E(1413),J=E(3726),ie=E(4412),pe=E(4572),De=E(7673),Q=E(1635),ae=E(5964),qe=E(5558),Oe=E(3669),xe=E(9974),Te=E(4360);function re(Ge,tt){return Ge===tt}var ne=E(9417);const G=["tabsInner"];class ge{constructor(tt){this.menuController=tt}open(tt){return this.menuController.open(tt)}close(tt){return this.menuController.close(tt)}toggle(tt){return this.menuController.toggle(tt)}enable(tt,Fe){return this.menuController.enable(tt,Fe)}swipeGesture(tt,Fe){return this.menuController.swipeGesture(tt,Fe)}isOpen(tt){return this.menuController.isOpen(tt)}isEnabled(tt){return this.menuController.isEnabled(tt)}get(tt){return this.menuController.get(tt)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(tt,Fe){return this.menuController.registerAnimation(tt,Fe)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(tt,Fe){return this.menuController._createAnimation(tt,Fe)}_register(tt){return this.menuController._register(tt)}_unregister(tt){return this.menuController._unregister(tt)}_setOpen(tt,Fe,et){return this.menuController._setOpen(tt,Fe,et)}}let rt=(()=>{class Ge{constructor(Fe,et){this.doc=Fe,this.backButton=new j.B,this.keyboardDidShow=new j.B,this.keyboardDidHide=new j.B,this.pause=new j.B,this.resume=new j.B,this.resize=new j.B,et.run(()=>{var Ct;let Gt;this.win=Fe.defaultView,this.backButton.subscribeWithPriority=function(vn,gt){return this.subscribe(zt=>zt.register(vn,ye=>et.run(()=>gt(ye))))},mt(this.pause,Fe,"pause",et),mt(this.resume,Fe,"resume",et),mt(this.backButton,Fe,"ionBackButton",et),mt(this.resize,this.win,"resize",et),mt(this.keyboardDidShow,this.win,"ionKeyboardDidShow",et),mt(this.keyboardDidHide,this.win,"ionKeyboardDidHide",et),this._readyPromise=new Promise(vn=>{Gt=vn}),null!==(Ct=this.win)&&void 0!==Ct&&Ct.cordova?Fe.addEventListener("deviceready",()=>{Gt("cordova")},{once:!0}):Gt("dom")})}is(Fe){return((Ge,tt)=>("string"==typeof Ge&&(tt=Ge,Ge=void 0),A(Ge).includes(tt)))(this.win,Fe)}platforms(){return A(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(Fe){return rn(this.win.location.href,Fe)}isLandscape(){return!this.isPortrait()}isPortrait(){var Fe,et;return null===(Fe=(et=this.win).matchMedia)||void 0===Fe?void 0:Fe.call(et,"(orientation: portrait)").matches}testUserAgent(Fe){const et=this.win.navigator;return!!(null!=et&&et.userAgent&&et.userAgent.indexOf(Fe)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.KVO(O.qQ),S.KVO(S.SKi))},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const rn=(Ge,tt)=>{tt=tt.replace(/[[\]\\]/g,"\\$&");const et=new RegExp("[\\?&]"+tt+"=([^&#]*)").exec(Ge);return et?decodeURIComponent(et[1].replace(/\+/g," ")):null},mt=(Ge,tt,Fe,et)=>{tt&&tt.addEventListener(Fe,Ct=>{et.run(()=>{Ge.next(null!=Ct?Ct.detail:void 0)})})};let ft=(()=>{class Ge{constructor(Fe,et,Ct,Gt){this.location=et,this.serializer=Ct,this.router=Gt,this.direction=At,this.animated=It,this.guessDirection="forward",this.lastNavId=-1,Gt&&Gt.events.subscribe(vn=>{if(vn instanceof p.Z){const gt=vn.restoredState?vn.restoredState.navigationId:vn.id;this.guessDirection=gt{this.pop(),vn()})}navigateForward(Fe,et={}){return this.setDirection("forward",et.animated,et.animationDirection,et.animation),this.navigate(Fe,et)}navigateBack(Fe,et={}){return this.setDirection("back",et.animated,et.animationDirection,et.animation),this.navigate(Fe,et)}navigateRoot(Fe,et={}){return this.setDirection("root",et.animated,et.animationDirection,et.animation),this.navigate(Fe,et)}back(Fe={animated:!0,animationDirection:"back"}){return this.setDirection("back",Fe.animated,Fe.animationDirection,Fe.animation),this.location.back()}pop(){var Fe=this;return(0,a.A)(function*(){let et=Fe.topOutlet;for(;et;){if(yield et.pop())return!0;et=et.parentOutlet}return!1})()}setDirection(Fe,et,Ct,Gt){this.direction=Fe,this.animated=un(Fe,et,Ct),this.animationBuilder=Gt}setTopOutlet(Fe){this.topOutlet=Fe}consumeTransition(){let et,Fe="root";const Ct=this.animationBuilder;return"auto"===this.direction?(Fe=this.guessDirection,et=this.guessAnimation):(et=this.animated,Fe=this.direction),this.direction=At,this.animated=It,this.animationBuilder=void 0,{direction:Fe,animation:et,animationBuilder:Ct}}navigate(Fe,et){if(Array.isArray(Fe))return this.router.navigate(Fe,et);{const Ct=this.serializer.parse(Fe.toString());return void 0!==et.queryParams&&(Ct.queryParams={...et.queryParams}),void 0!==et.fragment&&(Ct.fragment=et.fragment),this.router.navigateByUrl(Ct,et)}}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.KVO(rt),S.KVO(O.aZ),S.KVO(p.Sd),S.KVO(p.Ix,8))},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const un=(Ge,tt,Fe)=>{if(!1!==tt){if(void 0!==Fe)return Fe;if("forward"===Ge||"back"===Ge)return Ge;if("root"===Ge&&!0===tt)return"forward"}},At="auto",It=void 0;let Cn=(()=>{class Ge{get(Fe,et){const Ct=Ft();return Ct?Ct.get(Fe,et):null}getBoolean(Fe,et){const Ct=Ft();return!!Ct&&Ct.getBoolean(Fe,et)}getNumber(Fe,et){const Ct=Ft();return Ct?Ct.getNumber(Fe,et):0}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const St=new S.nKC("USERCONFIG"),Ft=()=>{if(typeof window<"u"){const Ge=window.Ionic;if(null!=Ge&&Ge.config)return Ge.config}return null};class bn{constructor(tt={}){this.data=tt}get(tt){return this.data[tt]}}let bt=(()=>{class Ge{constructor(){this.zone=(0,S.WQX)(S.SKi),this.applicationRef=(0,S.WQX)(S.o8S)}create(Fe,et,Ct){return new wt(Fe,et,this.applicationRef,this.zone,Ct)}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac}),Ge})();class wt{constructor(tt,Fe,et,Ct,Gt){this.environmentInjector=tt,this.injector=Fe,this.applicationRef=et,this.zone=Ct,this.elementReferenceKey=Gt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(tt,Fe,et,Ct){return this.zone.run(()=>new Promise(Gt=>{const vn={...et};void 0!==this.elementReferenceKey&&(vn[this.elementReferenceKey]=tt),Gt(Dn(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,tt,Fe,vn,Ct,this.elementReferenceKey))}))}removeViewFromDom(tt,Fe){return this.zone.run(()=>new Promise(et=>{const Ct=this.elRefMap.get(Fe);if(Ct){Ct.destroy(),this.elRefMap.delete(Fe);const Gt=this.elEventsMap.get(Fe);Gt&&(Gt(),this.elEventsMap.delete(Fe))}et()}))}}const Dn=(Ge,tt,Fe,et,Ct,Gt,vn,gt,zt,ye,Ke)=>{const dt=S.zZn.create({providers:Nt(zt),parent:Fe}),pt=(0,S.a0P)(gt,{environmentInjector:tt,elementInjector:dt}),Yt=pt.instance,$t=pt.location.nativeElement;if(zt&&(Ke&&void 0!==Yt[Ke]&&console.error(`[Ionic Error]: ${Ke} is a reserved property when using ${vn.tagName.toLowerCase()}. Rename or remove the "${Ke}" property from ${gt.name}.`),Object.assign(Yt,zt)),ye)for(const ln of ye)$t.classList.add(ln);const an=Lt(Ge,Yt,$t);return vn.appendChild($t),et.attachView(pt.hostView),Ct.set($t,pt),Gt.set($t,an),$t},Bt=[L.L,L.a,L.b,L.c,L.d],Lt=(Ge,tt,Fe)=>Ge.run(()=>{const et=Bt.filter(Ct=>"function"==typeof tt[Ct]).map(Ct=>{const Gt=vn=>tt[Ct](vn.detail);return Fe.addEventListener(Ct,Gt),()=>Fe.removeEventListener(Ct,Gt)});return()=>et.forEach(Ct=>Ct())}),Wt=new S.nKC("NavParamsToken"),Nt=Ge=>[{provide:Wt,useValue:Ge},{provide:bn,useFactory:Ot,deps:[Wt]}],Ot=Ge=>new bn(Ge),zn=(Ge,tt)=>{const Fe=Ge.prototype;tt.forEach(et=>{Object.defineProperty(Fe,et,{get(){return this.el[et]},set(Ct){this.z.runOutsideAngular(()=>this.el[et]=Ct)}})})},Ut=(Ge,tt)=>{const Fe=Ge.prototype;tt.forEach(et=>{Fe[et]=function(){const Ct=arguments;return this.z.runOutsideAngular(()=>this.el[et].apply(this.el,Ct))}})},He=(Ge,tt,Fe)=>{Fe.forEach(et=>Ge[et]=(0,J.R)(tt,et))};function _e(Ge){return function(Fe){const{defineCustomElementFn:et,inputs:Ct,methods:Gt}=Ge;return void 0!==et&&et(),Ct&&zn(Fe,Ct),Gt&&Ut(Fe,Gt),Fe}}const Ae=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Me=["present","dismiss","onDidDismiss","onWillDismiss"];let Ze=(()=>{let Ge=class{constructor(Fe,et,Ct){this.z=Ct,this.isCmpOpen=!1,this.el=et.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Fe.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Fe.detectChanges()}),He(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["ion-popover"]],contentQueries:function(Fe,et,Ct){if(1&Fe&&S.wni(Ct,S.C4Q,5),2&Fe){let Gt;S.mGM(Gt=S.lsd())&&(et.template=Gt.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"}}),Ge=(0,Q.Cg)([_e({inputs:Ae,methods:Me})],Ge),Ge})();const je=["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 Ge=class{constructor(Fe,et,Ct){this.z=Ct,this.isCmpOpen=!1,this.el=et.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Fe.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Fe.detectChanges()}),He(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(S.gRc),S.rXU(S.aKT),S.rXU(S.SKi))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["ion-modal"]],contentQueries:function(Fe,et,Ct){if(1&Fe&&S.wni(Ct,S.C4Q,5),2&Fe){let Gt;S.mGM(Gt=S.lsd())&&(et.template=Gt.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"}}),Ge=(0,Q.Cg)([_e({inputs:je,methods:it})],Ge),Ge})();const ze=(Ge,tt)=>((Ge=Ge.filter(Fe=>Fe.stackId!==tt.stackId)).push(tt),Ge),st=(Ge,tt)=>{const Fe=Ge.createUrlTree(["."],{relativeTo:tt});return Ge.serializeUrl(Fe)},en=(Ge,tt)=>!tt||Ge.stackId!==tt.stackId,yt=(Ge,tt)=>{if(!Ge)return;const Fe=vt(tt);for(let et=0;et=Ge.length)return Fe[et];if(Fe[et]!==Ge[et])return}},vt=Ge=>Ge.split("/").map(tt=>tt.trim()).filter(tt=>""!==tt),Kt=Ge=>{Ge&&(Ge.ref.destroy(),Ge.unlistenEvents())};class Pt{constructor(tt,Fe,et,Ct,Gt,vn){this.containerEl=Fe,this.router=et,this.navCtrl=Ct,this.zone=Gt,this.location=vn,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==tt?vt(tt):void 0}createView(tt,Fe){var et;const Ct=st(this.router,Fe),Gt=null==tt||null===(et=tt.location)||void 0===et?void 0:et.nativeElement,vn=Lt(this.zone,tt.instance,Gt);return{id:this.nextId++,stackId:yt(this.tabsPrefix,Ct),unlistenEvents:vn,element:Gt,ref:tt,url:Ct}}getExistingView(tt){const Fe=st(this.router,tt),et=this.views.find(Ct=>Ct.url===Fe);return et&&et.ref.changeDetectorRef.reattach(),et}setActive(tt){var Fe,et;const Ct=this.navCtrl.consumeTransition();let{direction:Gt,animation:vn,animationBuilder:gt}=Ct;const zt=this.activeView,ye=en(tt,zt);ye&&(Gt="back",vn=void 0);const Ke=this.views.slice();let dt;const pt=this.router;pt.getCurrentNavigation?dt=pt.getCurrentNavigation():null!==(Fe=pt.navigations)&&void 0!==Fe&&Fe.value&&(dt=pt.navigations.value),null!==(et=dt)&&void 0!==et&&null!==(et=et.extras)&&void 0!==et&&et.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Yt=this.views.includes(tt),$t=this.insertView(tt,Gt);Yt||tt.ref.changeDetectorRef.detectChanges();const an=tt.animationBuilder;return void 0===gt&&"back"===Gt&&!ye&&void 0!==an&&(gt=an),zt&&(zt.animationBuilder=gt),this.zone.runOutsideAngular(()=>this.wait(()=>(zt&&zt.ref.changeDetectorRef.detach(),tt.ref.changeDetectorRef.reattach(),this.transition(tt,zt,vn,this.canGoBack(1),!1,gt).then(()=>Rt(tt,$t,Ke,this.location,this.zone)).then(()=>({enteringView:tt,direction:Gt,animation:vn,tabSwitch:ye})))))}canGoBack(tt,Fe=this.getActiveStackId()){return this.getStack(Fe).length>tt}pop(tt,Fe=this.getActiveStackId()){return this.zone.run(()=>{const et=this.getStack(Fe);if(et.length<=tt)return Promise.resolve(!1);const Ct=et[et.length-tt-1];let Gt=Ct.url;const vn=Ct.savedData;if(vn){var gt;const ye=vn.get("primary");null!=ye&&null!==(gt=ye.route)&&void 0!==gt&&null!==(gt=gt._routerState)&&void 0!==gt&>.snapshot.url&&(Gt=ye.route._routerState.snapshot.url)}const{animationBuilder:zt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Gt,{...Ct.savedExtras,animation:zt}).then(()=>!0)})}startBackTransition(){const tt=this.activeView;if(tt){const Fe=this.getStack(tt.stackId),et=Fe[Fe.length-2],Ct=et.animationBuilder;return this.wait(()=>this.transition(et,tt,"back",this.canGoBack(2),!0,Ct))}return Promise.resolve()}endBackTransition(tt){tt?(this.skipTransition=!0,this.pop(1)):this.activeView&&On(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(tt){const Fe=this.getStack(tt);return Fe.length>0?Fe[Fe.length-1]:void 0}getRootUrl(tt){const Fe=this.getStack(tt);return Fe.length>0?Fe[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(tt){return this.views.filter(Fe=>Fe.stackId===tt)}insertView(tt,Fe){return this.activeView=tt,this.views=((Ge,tt,Fe)=>"root"===Fe?ze(Ge,tt):"forward"===Fe?((Ge,tt)=>(Ge.indexOf(tt)>=0?Ge=Ge.filter(et=>et.stackId!==tt.stackId||et.id<=tt.id):Ge.push(tt),Ge))(Ge,tt):((Ge,tt)=>Ge.indexOf(tt)>=0?Ge.filter(et=>et.stackId!==tt.stackId||et.id<=tt.id):ze(Ge,tt))(Ge,tt))(this.views,tt,Fe),this.views.slice()}transition(tt,Fe,et,Ct,Gt,vn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(Fe===tt)return Promise.resolve(!1);const gt=tt?tt.element:void 0,zt=Fe?Fe.element:void 0,ye=this.containerEl;return gt&>!==zt&&(gt.classList.add("ion-page"),gt.classList.add("ion-page-invisible"),gt.parentElement!==ye&&ye.appendChild(gt),ye.commit)?ye.commit(gt,zt,{duration:void 0===et?0:void 0,direction:et,showGoBack:Ct,progressAnimation:Gt,animationBuilder:vn}):Promise.resolve(!1)}wait(tt){var Fe=this;return(0,a.A)(function*(){void 0!==Fe.runningTask&&(yield Fe.runningTask,Fe.runningTask=void 0);const et=Fe.runningTask=tt();return et.finally(()=>Fe.runningTask=void 0),et})()}}const Rt=(Ge,tt,Fe,et,Ct)=>"function"==typeof requestAnimationFrame?new Promise(Gt=>{requestAnimationFrame(()=>{On(Ge,tt,Fe,et,Ct),Gt()})}):Promise.resolve(),On=(Ge,tt,Fe,et,Ct)=>{Ct.run(()=>Fe.filter(Gt=>!tt.includes(Gt)).forEach(Kt)),tt.forEach(Gt=>{const gt=et.path().split("?")[0].split("#")[0];if(Gt!==Ge&&Gt.url!==gt){const zt=Gt.element;zt.setAttribute("aria-hidden","true"),zt.classList.add("ion-page-hidden"),Gt.ref.changeDetectorRef.detach()}})};let An=(()=>{class Ge{constructor(Fe,et,Ct,Gt,vn,gt,zt,ye){this.parentOutlet=ye,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new ie.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)(Mn,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,S.WQX)(Cn),this.navCtrl=(0,S.WQX)(ft),this.nativeEl=Gt.nativeElement,this.name=Fe||p.Xk,this.tabsPrefix="true"===et?st(vn,zt):void 0,this.stackCtrl=new Pt(this.tabsPrefix,this.nativeEl,vn,this.navCtrl,gt,Ct),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(Fe){this.nativeEl.animation=Fe}set animated(Fe){this.nativeEl.animated=Fe}set swipeGesture(Fe){this._swipeGesture=Fe,this.nativeEl.swipeHandler=Fe?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:et=>this.stackCtrl.endBackTransition(et)}:void 0}ngOnDestroy(){var Fe;this.stackCtrl.destroy(),null===(Fe=this.inputBinder)||void 0===Fe||Fe.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const Fe=this.getContext();null!=Fe&&Fe.route&&this.activateWith(Fe.route,Fe.injector)}new Promise(Fe=>(0,I.c)(this.nativeEl,Fe)).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(Fe,et){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const et=this.getContext();this.activatedView.savedData=new Map(et.children.contexts);const Ct=this.activatedView.savedData.get("primary");if(Ct&&et.route&&(Ct.route={...et.route}),this.activatedView.savedExtras={},et.route){const Gt=et.route.snapshot;this.activatedView.savedExtras.queryParams=Gt.queryParams,this.activatedView.savedExtras.fragment=Gt.fragment}}const Fe=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Fe)}}activateWith(Fe,et){var Ct;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=Fe;let Gt,vn=this.stackCtrl.getExistingView(Fe);if(vn){Gt=this.activated=vn.ref;const ye=vn.savedData;ye&&(this.getContext().children.contexts=ye),this.updateActivatedRouteProxy(Gt.instance,Fe)}else{var gt;const ye=Fe._futureSnapshot,Ke=this.parentContexts.getOrCreateContext(this.name).children,dt=new ie.t(null),pt=this.createActivatedRouteProxy(dt,Fe),Yt=new Bn(pt,Ke,this.location.injector),$t=null!==(gt=ye.routeConfig.component)&&void 0!==gt?gt:ye.component;Gt=this.activated=this.location.createComponent($t,{index:this.location.length,injector:Yt,environmentInjector:null!=et?et:this.environmentInjector}),dt.next(Gt.instance),vn=this.stackCtrl.createView(this.activated,Fe),this.proxyMap.set(Gt.instance,pt),this.currentActivatedRoute$.next({component:Gt.instance,activatedRoute:Fe})}null===(Ct=this.inputBinder)||void 0===Ct||Ct.bindActivatedRouteToOutletComponent(this),this.activatedView=vn,this.navCtrl.setTopOutlet(this);const zt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:vn,tabSwitch:en(vn,zt)}),this.stackCtrl.setActive(vn).then(ye=>{this.activateEvents.emit(Gt.instance),this.stackDidChange.emit(ye)})}canGoBack(Fe=1,et){return this.stackCtrl.canGoBack(Fe,et)}pop(Fe=1,et){return this.stackCtrl.pop(Fe,et)}getLastUrl(Fe){const et=this.stackCtrl.getLastUrl(Fe);return et?et.url:void 0}getLastRouteView(Fe){return this.stackCtrl.getLastUrl(Fe)}getRootView(Fe){return this.stackCtrl.getRootUrl(Fe)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(Fe,et){const Ct=new p.nX;return Ct._futureSnapshot=et._futureSnapshot,Ct._routerState=et._routerState,Ct.snapshot=et.snapshot,Ct.outlet=et.outlet,Ct.component=et.component,Ct._paramMap=this.proxyObservable(Fe,"paramMap"),Ct._queryParamMap=this.proxyObservable(Fe,"queryParamMap"),Ct.url=this.proxyObservable(Fe,"url"),Ct.params=this.proxyObservable(Fe,"params"),Ct.queryParams=this.proxyObservable(Fe,"queryParams"),Ct.fragment=this.proxyObservable(Fe,"fragment"),Ct.data=this.proxyObservable(Fe,"data"),Ct}proxyObservable(Fe,et){return Fe.pipe((0,ae.p)(Ct=>!!Ct),(0,qe.n)(Ct=>this.currentActivatedRoute$.pipe((0,ae.p)(Gt=>null!==Gt&&Gt.component===Ct),(0,qe.n)(Gt=>Gt&&Gt.activatedRoute[et]),function Be(Ge,tt=Oe.D){return Ge=null!=Ge?Ge:re,(0,xe.N)((Fe,et)=>{let Ct,Gt=!0;Fe.subscribe((0,Te._)(et,vn=>{const gt=tt(vn);(Gt||!Ge(Ct,gt))&&(Gt=!1,Ct=gt,et.next(vn))}))})}())))}updateActivatedRouteProxy(Fe,et){const Ct=this.proxyMap.get(Fe);if(!Ct)throw new Error("Could not find activated route proxy for view");Ct._futureSnapshot=et._futureSnapshot,Ct._routerState=et._routerState,Ct.snapshot=et.snapshot,Ct.outlet=et.outlet,Ct.component=et.component,this.currentActivatedRoute$.next({component:Fe,activatedRoute:et})}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(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(Ge,12))},Ge.\u0275dir=S.FsC({type:Ge,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"]}),Ge})();class Bn{constructor(tt,Fe,et){this.route=tt,this.childContexts=Fe,this.parent=et}get(tt,Fe){return tt===p.nX?this.route:tt===p.Zp?this.childContexts:this.parent.get(tt,Fe)}}const Mn=new S.nKC("");let Wn=(()=>{class Ge{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Fe){this.unsubscribeFromRouteData(Fe),this.subscribeToRouteData(Fe)}unsubscribeFromRouteData(Fe){var et;null===(et=this.outletDataSubscriptions.get(Fe))||void 0===et||et.unsubscribe(),this.outletDataSubscriptions.delete(Fe)}subscribeToRouteData(Fe){const{activatedRoute:et}=Fe,Ct=(0,pe.z)([et.queryParams,et.params,et.data]).pipe((0,qe.n)(([Gt,vn,gt],zt)=>(gt={...Gt,...vn,...gt},0===zt?(0,De.of)(gt):Promise.resolve(gt)))).subscribe(Gt=>{if(!Fe.isActivated||!Fe.activatedComponentRef||Fe.activatedRoute!==et||null===et.component)return void this.unsubscribeFromRouteData(Fe);const vn=(0,S.HJs)(et.component);if(vn)for(const{templateName:gt}of vn.inputs)Fe.activatedComponentRef.setInput(gt,Gt[gt]);else this.unsubscribeFromRouteData(Fe)});this.outletDataSubscriptions.set(Fe,Ct)}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)},Ge.\u0275prov=S.jDH({token:Ge,factory:Ge.\u0275fac}),Ge})();const Ln=()=>({provide:Mn,useFactory:Fn,deps:[p.Ix]});function Fn(Ge){return null!=Ge&&Ge.componentInputBindingEnabled?new Wn:null}const kn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Gn=(()=>{let Ge=class{constructor(Fe,et,Ct,Gt,vn,gt){this.routerOutlet=Fe,this.navCtrl=et,this.config=Ct,this.r=Gt,this.z=vn,gt.detach(),this.el=this.r.nativeElement}onClick(Fe){var et;const Ct=this.defaultHref||this.config.get("backButtonDefaultHref");null!==(et=this.routerOutlet)&&void 0!==et&&et.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),Fe.preventDefault()):null!=Ct&&(this.navCtrl.navigateBack(Ct,{animation:this.routerAnimation}),Fe.preventDefault())}};return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(An,8),S.rXU(ft),S.rXU(Cn),S.rXU(S.aKT),S.rXU(S.SKi),S.rXU(S.gRc))},Ge.\u0275dir=S.FsC({type:Ge,hostBindings:function(Fe,et){1&Fe&&S.bIt("click",function(Gt){return et.onClick(Gt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),Ge=(0,Q.Cg)([_e({inputs:kn})],Ge),Ge})(),Xn=(()=>{class Ge{constructor(Fe,et,Ct,Gt,vn){this.locationStrategy=Fe,this.navCtrl=et,this.elementRef=Ct,this.router=Gt,this.routerLink=vn,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Fe;if(null!==(Fe=this.routerLink)&&void 0!==Fe&&Fe.urlTree){const et=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=et}}onClick(Fe){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),Fe.preventDefault()}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(O.hb),S.rXU(ft),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(Fe,et){1&Fe&&S.bIt("click",function(Gt){return et.onClick(Gt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),Ge})(),jn=(()=>{class Ge{constructor(Fe,et,Ct,Gt,vn){this.locationStrategy=Fe,this.navCtrl=et,this.elementRef=Ct,this.router=Gt,this.routerLink=vn,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Fe;if(null!==(Fe=this.routerLink)&&void 0!==Fe&&Fe.urlTree){const et=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=et}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(O.hb),S.rXU(ft),S.rXU(S.aKT),S.rXU(p.Ix),S.rXU(p.Wk,8))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(Fe,et){1&Fe&&S.bIt("click",function(){return et.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[S.OA$]}),Ge})();const $e=["animated","animation","root","rootParams","swipeGesture"],lt=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let Tt=(()=>{let Ge=class{constructor(Fe,et,Ct,Gt,vn,gt){this.z=vn,gt.detach(),this.el=Fe.nativeElement,Fe.nativeElement.delegate=Gt.create(et,Ct),He(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(S.aKT),S.rXU(S.uvJ),S.rXU(S.zZn),S.rXU(bt),S.rXU(S.SKi),S.rXU(S.gRc))},Ge.\u0275dir=S.FsC({type:Ge,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),Ge=(0,Q.Cg)([_e({inputs:$e,methods:lt})],Ge),Ge})(),Mt=(()=>{class Ge{constructor(Fe){this.navCtrl=Fe,this.ionTabsWillChange=new S.bkB,this.ionTabsDidChange=new S.bkB,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:Fe,tabSwitch:et}){const Ct=Fe.stackId;et&&void 0!==Ct&&this.ionTabsWillChange.emit({tab:Ct})}onStackDidChange({enteringView:Fe,tabSwitch:et}){const Ct=Fe.stackId;et&&void 0!==Ct&&(this.tabBar&&(this.tabBar.selectedTab=Ct),this.ionTabsDidChange.emit({tab:Ct}))}select(Fe){const et="string"==typeof Fe,Ct=et?Fe:Fe.detail.tab,Gt=this.outlet.getActiveStackId()===Ct,vn=`${this.outlet.tabsPrefix}/${Ct}`;if(et||Fe.stopPropagation(),Gt){const gt=this.outlet.getActiveStackId(),zt=this.outlet.getLastRouteView(gt);if((null==zt?void 0:zt.url)===vn)return;const ye=this.outlet.getRootView(Ct);return this.navCtrl.navigateRoot(vn,{...ye&&vn===ye.url&&ye.savedExtras,animated:!0,animationDirection:"back"})}{const gt=this.outlet.getLastRouteView(Ct);return this.navCtrl.navigateRoot((null==gt?void 0:gt.url)||vn,{...null==gt?void 0:gt.savedExtras,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(Fe=>{const et=Fe.el.getAttribute("slot");et!==this.tabBarSlot&&(this.tabBarSlot=et,this.relocateTabBar())})}relocateTabBar(){const Fe=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(Fe):this.tabsInner.nativeElement.after(Fe)}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(ft))},Ge.\u0275dir=S.FsC({type:Ge,selectors:[["ion-tabs"]],viewQuery:function(Fe,et){if(1&Fe&&S.GBs(G,7,S.aKT),2&Fe){let Ct;S.mGM(Ct=S.lsd())&&(et.tabsInner=Ct.first)}},hostBindings:function(Fe,et){1&Fe&&S.bIt("ionTabButtonClick",function(Gt){return et.select(Gt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),Ge})();const kt=Ge=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Ge):"function"==typeof requestAnimationFrame?requestAnimationFrame(Ge):setTimeout(Ge);let Zt=(()=>{class Ge{constructor(Fe,et){this.injector=Fe,this.elementRef=et,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(Fe){this.elementRef.nativeElement.value=this.lastValue=Fe,qt(this.elementRef)}handleValueChange(Fe,et){Fe===this.elementRef.nativeElement&&(et!==this.lastValue&&(this.lastValue=et,this.onChange(et)),qt(this.elementRef))}_handleBlurEvent(Fe){Fe===this.elementRef.nativeElement&&(this.onTouched(),qt(this.elementRef))}registerOnChange(Fe){this.onChange=Fe}registerOnTouched(Fe){this.onTouched=Fe}setDisabledState(Fe){this.elementRef.nativeElement.disabled=Fe}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let Fe;try{Fe=this.injector.get(ne.vO)}catch{}if(!Fe)return;Fe.statusChanges&&(this.statusChanges=Fe.statusChanges.subscribe(()=>qt(this.elementRef)));const et=Fe.control;et&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(Gt=>{if(typeof et[Gt]<"u"){const vn=et[Gt].bind(et);et[Gt]=(...gt)=>{vn(...gt),qt(this.elementRef)}}})}}return Ge.\u0275fac=function(Fe){return new(Fe||Ge)(S.rXU(S.zZn),S.rXU(S.aKT))},Ge.\u0275dir=S.FsC({type:Ge,hostBindings:function(Fe,et){1&Fe&&S.bIt("ionBlur",function(Gt){return et._handleBlurEvent(Gt.target)})}}),Ge})();const qt=Ge=>{kt(()=>{const tt=Ge.nativeElement,Fe=null!=tt.value&&tt.value.toString().length>0,et=Qt(tt);Tn(tt,et);const Ct=tt.closest("ion-item");Ct&&Tn(Ct,Fe?[...et,"item-has-value"]:et)})},Qt=Ge=>{const tt=Ge.classList,Fe=[];for(let et=0;et{const Fe=Ge.classList;Fe.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),Fe.add(...tt)},wn=(Ge,tt)=>Ge.substring(0,tt.length)===tt;class Kn{shouldDetach(tt){return!1}shouldAttach(tt){return!1}store(tt,Fe){}retrieve(tt){return null}shouldReuseRoute(tt,Fe){if(tt.routeConfig!==Fe.routeConfig)return!1;const et=tt.params,Ct=Fe.params,Gt=Object.keys(et),vn=Object.keys(Ct);if(Gt.length!==vn.length)return!1;for(const gt of Gt)if(Ct[gt]!==et[gt])return!1;return!0}}class fr{constructor(tt){this.ctrl=tt}create(tt){return this.ctrl.create(tt||{})}dismiss(tt,Fe,et){return this.ctrl.dismiss(tt,Fe,et)}getTop(){return this.ctrl.getTop()}}},8974:(Ce,ee,E)=>{"use strict";E.d(ee,{hG:()=>Ke,hB:()=>h,wH:()=>Yt,U1:()=>ae,Jm:()=>re,QW:()=>ne,b_:()=>G,I9:()=>ge,ME:()=>xt,tN:()=>rt,eY:()=>rn,ZB:()=>mt,hU:()=>ft,W9:()=>un,Q8:()=>Cn,YW:()=>St,M0:()=>bn,eU:()=>wt,iq:()=>Dn,Ax:()=>Lt,Hp:()=>Wt,$w:()=>Nt,uz:()=>Ot,he:()=>Me,nf:()=>Ze,oS:()=>Pe,Sb:()=>Ct,KO:()=>yt,f0:()=>vt,To:()=>Pt,Ki:()=>Rt,Rg:()=>Kn,ln:()=>Mn,w2:()=>jn,HP:()=>$e,Jq:()=>lt,qW:()=>Tt,p4:()=>fr,IO:()=>Mt,BC:()=>qt,ai:()=>wn,bv:()=>hr,Xi:()=>$t,_t:()=>an,W3:()=>ln,IE:()=>cn,uR:()=>y,Je:()=>d,Gw:()=>r,K_:()=>nn});var a=E(4438),S=E(9417),p=E(4517),O=E(1635),c=E(3726),D=E(177),C=E(3021),T=(E(3503),E(7555),E(4569),E(2942),E(405)),A=E(611),w=E(464),R=E(5384),$=E(5516),M=(E(8476),E(4363));E(8221),E(3113);var oe=E(467);const me=A.i,te=function(){var X=(0,oe.A)(function*(Ue,le){if(!(typeof window>"u"))return yield me(),(0,M.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"lang":["onLangChanged"],"dir":["onDirChanged"],"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"formatOptions":[16],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"formatOptions":["formatOptionsChanged"],"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"presentation":["presentationChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),le)});return function(le,Ye){return X.apply(this,arguments)}}(),se=["*"],g=["outlet"],n=[[["","slot","top"]],"*"],o=["[slot=top]","*"];function l(X,Ue){if(1&X&&(a.j41(0,"div",1),a.eu8(1,2),a.k0s()),2&X){const le=a.XpG();a.R7$(),a.Y8G("ngTemplateOutlet",le.template)}}let h=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}writeValue(le){this.elementRef.nativeElement.checked=this.lastValue=le,(0,p.z3)(this.elementRef)}_handleIonChange(le){this.handleValueChange(le,le.checked)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionChange",function(Nn){return Ye._handleIonChange(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),y=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleIonSelect(le){this.handleValueChange(le,le.checked)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-radio"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionSelect",function(Nn){return Ye._handleIonSelect(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),d=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleChangeEvent(le){this.handleValueChange(le,le.value)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionChange",function(Nn){return Ye._handleChangeEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})(),r=(()=>{class X extends p.fL{constructor(le,Ye){super(le,Ye)}_handleInputEvent(le){this.handleValueChange(le,le.value)}}return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.zZn),a.rXU(a.aKT))},X.\u0275dir=a.FsC({type:X,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(le,Ye){1&le&&a.bIt("ionInput",function(Nn){return Ye._handleInputEvent(Nn.target)})},features:[a.Jv_([{provide:S.kq,useExisting:X,multi:!0}]),a.Vt3]}),X})();const f=(X,Ue)=>{const le=X.prototype;Ue.forEach(Ye=>{Object.defineProperty(le,Ye,{get(){return this.el[Ye]},set(_t){this.z.runOutsideAngular(()=>this.el[Ye]=_t)},configurable:!0})})},L=(X,Ue)=>{const le=X.prototype;Ue.forEach(Ye=>{le[Ye]=function(){const _t=arguments;return this.z.runOutsideAngular(()=>this.el[Ye].apply(this.el,_t))}})},I=(X,Ue,le)=>{le.forEach(Ye=>X[Ye]=(0,c.R)(Ue,Ye))};function J(X){return function(le){const{defineCustomElementFn:Ye,inputs:_t,methods:Nn}=X;return void 0!==Ye&&Ye(),_t&&f(le,_t),Nn&&L(le,Nn),le}}let ae=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-app"]],ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({})],X),X})(),re=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,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,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse"]})],X),X})(),G=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],X),X})(),ge=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["mode"]})],X),X})(),xt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","translucent"]})],X),X})(),rt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),rn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionChange","ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),mt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","disabled","mode","outline"]})],X),X})(),ft=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,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})(),un=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],X),X})(),Cn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],X),X})(),St=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],X),X})(),bn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse","mode","translucent"]})],X),X})(),wt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["collapse","mode","translucent"]})],X),X})(),Dn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],X),X})(),Lt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionInfinite"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["disabled","position","threshold"],methods:["complete"]})],X),X})(),Wt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["loadingSpinner","loadingText"]})],X),X})(),Nt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,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,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],X),X})(),Me=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","position"]})],X),X})(),Ze=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],X),X})(),Pe=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],X),X})(),yt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionFocus","ionBlur"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],X),X})(),vt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionChange"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["allowEmptySelection","compareWith","name","value"]})],X),X})(),Pt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionRefresh","ionPull","ionStart"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],X),X})(),Rt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],X),X})(),Mn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-row"]],ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({})],X),X})(),jn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","duration","name","paused"]})],X),X})(),$e=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement,I(this,this.el,["ionSplitPaneVisible"])}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["contentId","disabled","when"]})],X),X})(),lt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode","selectedTab","translucent"]})],X),X})(),Tt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],X),X})(),Mt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),qt=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","size"]})],X),X})(),wn=(()=>{let X=class{constructor(le,Ye,_t){this.z=_t,le.detach(),this.el=Ye.nativeElement}};return X.\u0275fac=function(le){return new(le||X)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(a.SKi))},X.\u0275cmp=a.VBU({type:X,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:se,decls:1,vars:0,template:function(le,Ye){1&le&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0}),X=(0,O.Cg)([J({inputs:["color","mode"]})],X),X})(),Kn=(()=>{class X extends p.Rg{constructor(le,Ye,_t,Nn,pr,wr,qr,Wr){super(le,Ye,_t,Nn,pr,wr,qr,Wr),this.parentOutlet=Wr}}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})(),fr=(()=>{class X extends p.p4{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-tabs"]],contentQueries:function(le,Ye,_t){if(1&le&&(a.wni(_t,lt,5),a.wni(_t,lt,4)),2&le){let Nn;a.mGM(Nn=a.lsd())&&(Ye.tabBar=Nn.first),a.mGM(Nn=a.lsd())&&(Ye.tabBars=Nn)}},viewQuery:function(le,Ye){if(1&le&&a.GBs(g,5,Kn),2&le){let _t;a.mGM(_t=a.lsd())&&(Ye.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,Ye){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(pr){return a.eBV(_t),a.Njj(Ye.onStackWillChange(pr))})("stackDidChange",function(pr){return a.eBV(_t),a.Njj(Ye.onStackDidChange(pr))}),a.k0s()(),a.SdG(5,1)}},dependencies:[Kn],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),X})(),Ct=(()=>{class X extends p.Sb{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275cmp=a.VBU({type:X,selectors:[["ion-modal"]],features:[a.Vt3],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(le,Ye){1&le&&a.DNE(0,l,2,1,"div",0),2&le&&a.Y8G("ngIf",Ye.isCmpOpen||Ye.keepContentsMounted)},dependencies:[D.bT,D.T3],encapsulation:2,changeDetection:0}),X})();const vn={provide:S.cz,useExisting:(0,a.Rfq)(()=>gt),multi:!0};let gt=(()=>{class X extends S.zX{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275dir=a.FsC({type:X,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(le,Ye){2&le&&a.BMQ("max",Ye._enabled?Ye.max:null)},features:[a.Jv_([vn]),a.Vt3]}),X})();const zt={provide:S.cz,useExisting:(0,a.Rfq)(()=>ye),multi:!0};let ye=(()=>{class X extends S.VZ{}return X.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=a.xGo(X)))(Ye||X)}})(),X.\u0275dir=a.FsC({type:X,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(le,Ye){2&le&&a.BMQ("min",Ye._enabled?Ye.min:null)},features:[a.Jv_([zt]),a.Vt3]}),X})(),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})(),Yt=(()=>{class X{constructor(le){this.zone=le}create(le,Ye=!1){return Ye&&Object.getOwnPropertyNames(le).forEach(_t=>{if("function"==typeof le[_t]){const Nn=le[_t];le[_t]=(...pr)=>this.zone.run(()=>Nn(...pr))}}),(0,T.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(R.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 cn extends p.Kb{constructor(){super($.c),this.angularDelegate=(0,a.WQX)(p.Yq),this.injector=(0,a.WQX)(a.zZn),this.environmentInjector=(0,a.WQX)(a.uvJ)}create(Ue){return super.create({...Ue,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let nn=(()=>{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 _n=(X,Ue,le)=>()=>{const Ye=Ue.defaultView;if(Ye&&typeof window<"u"){(0,w.s)({...X,_zoneGate:Nn=>le.run(Nn)});const _t="__zone_symbol__addEventListener"in Ue.body?"__zone_symbol__addEventListener":"addEventListener";return function W(){var X=[];if(typeof window<"u"){var Ue=window;(!Ue.customElements||Ue.Element&&(!Ue.Element.prototype.closest||!Ue.Element.prototype.matches||!Ue.Element.prototype.remove||!Ue.Element.prototype.getRootNode))&&X.push(E.e(7278).then(E.t.bind(E,2190,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||Ue.NodeList&&!Ue.NodeList.prototype.forEach||!Ue.fetch||!function(){try{var Ye=new URL("b","http://a");return Ye.pathname="c%20d","http://a/c%20d"===Ye.href&&Ye.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&X.push(E.e(9329).then(E.t.bind(E,7783,23)))}return Promise.all(X)}().then(()=>te(Ye,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:p.er,jmp:Nn=>le.runOutsideAngular(Nn),ael(Nn,pr,wr,qr){Nn[_t](pr,wr,qr)},rel(Nn,pr,wr,qr){Nn.removeEventListener(pr,wr,qr)}}))}};let hr=(()=>{class X{static forRoot(le){return{ngModule:X,providers:[{provide:p.sR,useValue:le},{provide:a.hnV,useFactory:_n,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,cn],imports:[D.MD]}),X})()},5402:(Ce,ee,E)=>{"use strict";E.d(ee,{Wr:()=>P,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),F=E(8750),B=E(1413),m=E(7707),T=E(9974);function w(j,J,...ie){if(!0===J)return void j();if(!1===J)return;const pe=new m.Ms({next:()=>{pe.unsubscribe(),j()}});return(0,F.Tg)(J(...ie)).subscribe(pe)}function R(j,J,ie){let pe,De=!1;return j&&"object"==typeof j?({bufferSize:pe=1/0,windowTime:J=1/0,refCount:De=!1,scheduler:ie}=j):pe=null!=j?j:1/0,function A(j={}){const{connector:J=(()=>new B.B),resetOnError:ie=!0,resetOnComplete:pe=!0,resetOnRefCountZero:De=!0}=j;return Q=>{let ae,qe,Oe,xe=0,Te=!1,Be=!1;const re=()=>{null==qe||qe.unsubscribe(),qe=void 0},ne=()=>{re(),ae=Oe=void 0,Te=Be=!1},G=()=>{const ge=ae;ne(),null==ge||ge.unsubscribe()};return(0,T.N)((ge,xt)=>{xe++,!Be&&!Te&&re();const Qe=Oe=null!=Oe?Oe:J();xt.add(()=>{xe--,0===xe&&!Be&&!Te&&(qe=w(G,De))}),Qe.subscribe(xt),!ae&&xe>0&&(ae=new m.Ms({next:rt=>Qe.next(rt),error:rt=>{Be=!0,re(),qe=w(ne,ie,rt),Qe.error(rt)},complete:()=>{Te=!0,re(),qe=w(ne,pe),Qe.complete()}}),(0,F.Tg)(ge).subscribe(ae))})(Q)}}({connector:()=>new _.m(pe,J,ie),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:De})}var $=E(6354),k=E(274),M=E(5558);class P{}let U=(()=>{class j extends P{getTranslation(ie){return(0,S.of)({})}}return j.\u0275fac=(()=>{let J;return function(pe){return(J||(J=a.xGo(j)))(pe||j)}})(),j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})();class V{}let W=(()=>{class j{handle(ie){return ie.key}}return j.\u0275fac=function(ie){return new(ie||j)},j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})();function oe(j,J){if(j===J)return!0;if(null===j||null===J)return!1;if(j!=j&&J!=J)return!0;let De,Q,ae,ie=typeof j;if(ie==typeof J&&"object"==ie){if(!Array.isArray(j)){if(Array.isArray(J))return!1;for(Q in ae=Object.create(null),j){if(!oe(j[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((De=j.length)==J.length){for(Q=0;Q{te(J[pe])?pe in j?ie[pe]=se(j[pe],J[pe]):Object.assign(ie,{[pe]:J[pe]}):Object.assign(ie,{[pe]:J[pe]})}),ie}class g{}let n=(()=>{class j extends g{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(ie,pe){let De;return De="string"==typeof ie?this.interpolateString(ie,pe):"function"==typeof ie?this.interpolateFunction(ie,pe):ie,De}getValue(ie,pe){let De="string"==typeof pe?pe.split("."):[pe];pe="";do{pe+=De.shift(),!me(ie)||!me(ie[pe])||"object"!=typeof ie[pe]&&De.length?De.length?pe+=".":ie=void 0:(ie=ie[pe],pe="")}while(De.length);return ie}interpolateFunction(ie,pe){return ie(pe)}interpolateString(ie,pe){return pe?ie.replace(this.templateMatcher,(De,Q)=>{let ae=this.getValue(pe,Q);return me(ae)?ae:De}):ie}}return j.\u0275fac=(()=>{let J;return function(pe){return(J||(J=a.xGo(j)))(pe||j)}})(),j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})();class o{}let l=(()=>{class j extends o{compile(ie,pe){return ie}compileTranslations(ie,pe){return ie}}return j.\u0275fac=(()=>{let J;return function(pe){return(J||(J=a.xGo(j)))(pe||j)}})(),j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})();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"),d=new a.nKC("USE_EXTEND");let r=(()=>{class j{constructor(ie,pe,De,Q,ae,qe=!0,Oe=!1,xe=!1,Te){this.store=ie,this.currentLoader=pe,this.compiler=De,this.parser=Q,this.missingTranslationHandler=ae,this.useDefaultLang=qe,this.isolate=Oe,this.extend=xe,this.pending=!1,this._onTranslationChange=new a.bkB,this._onLangChange=new a.bkB,this._onDefaultLangChange=new a.bkB,this._langs=[],this._translations={},this._translationRequests={},Te&&this.setDefaultLang(Te)}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(ie){this.isolate?this._defaultLang=ie:this.store.defaultLang=ie}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ie){this.isolate?this._currentLang=ie:this.store.currentLang=ie}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ie){this.isolate?this._langs=ie:this.store.langs=ie}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ie){this.isolate?this._translations=ie:this.store.translations=ie}setDefaultLang(ie){if(ie===this.defaultLang)return;let pe=this.retrieveTranslations(ie);typeof pe<"u"?(null==this.defaultLang&&(this.defaultLang=ie),pe.pipe((0,C.s)(1)).subscribe(De=>{this.changeDefaultLang(ie)})):this.changeDefaultLang(ie)}getDefaultLang(){return this.defaultLang}use(ie){if(ie===this.currentLang)return(0,S.of)(this.translations[ie]);let pe=this.retrieveTranslations(ie);return typeof pe<"u"?(this.currentLang||(this.currentLang=ie),pe.pipe((0,C.s)(1)).subscribe(De=>{this.changeLang(ie)}),pe):(this.changeLang(ie),(0,S.of)(this.translations[ie]))}retrieveTranslations(ie){let pe;return(typeof this.translations[ie]>"u"||this.extend)&&(this._translationRequests[ie]=this._translationRequests[ie]||this.getTranslation(ie),pe=this._translationRequests[ie]),pe}getTranslation(ie){this.pending=!0;const pe=this.currentLoader.getTranslation(ie).pipe(R(1),(0,C.s)(1));return this.loadingTranslations=pe.pipe((0,$.T)(De=>this.compiler.compileTranslations(De,ie)),R(1),(0,C.s)(1)),this.loadingTranslations.subscribe({next:De=>{this.translations[ie]=this.extend&&this.translations[ie]?{...De,...this.translations[ie]}:De,this.updateLangs(),this.pending=!1},error:De=>{this.pending=!1}}),pe}setTranslation(ie,pe,De=!1){pe=this.compiler.compileTranslations(pe,ie),this.translations[ie]=(De||this.extend)&&this.translations[ie]?se(this.translations[ie],pe):pe,this.updateLangs(),this.onTranslationChange.emit({lang:ie,translations:this.translations[ie]})}getLangs(){return this.langs}addLangs(ie){ie.forEach(pe=>{-1===this.langs.indexOf(pe)&&this.langs.push(pe)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ie,pe,De){let Q;if(pe instanceof Array){let ae={},qe=!1;for(let Oe of pe)ae[Oe]=this.getParsedResult(ie,Oe,De),(0,p.A)(ae[Oe])&&(qe=!0);if(qe){const Oe=pe.map(xe=>(0,p.A)(ae[xe])?ae[xe]:(0,S.of)(ae[xe]));return(0,O.p)(Oe).pipe((0,$.T)(xe=>{let Te={};return xe.forEach((Be,re)=>{Te[pe[re]]=Be}),Te}))}return ae}if(ie&&(Q=this.parser.interpolate(this.parser.getValue(ie,pe),De)),typeof Q>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Q=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],pe),De)),typeof Q>"u"){let ae={key:pe,translateService:this};typeof De<"u"&&(ae.interpolateParams=De),Q=this.missingTranslationHandler.handle(ae)}return typeof Q<"u"?Q:pe}get(ie,pe){if(!me(ie)||!ie.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,k.H)(De=>(De=this.getParsedResult(De,ie,pe),(0,p.A)(De)?De:(0,S.of)(De))));{let De=this.getParsedResult(this.translations[this.currentLang],ie,pe);return(0,p.A)(De)?De:(0,S.of)(De)}}getStreamOnTranslationChange(ie,pe){if(!me(ie)||!ie.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(ie,pe)),this.onTranslationChange.pipe((0,M.n)(De=>{const Q=this.getParsedResult(De.translations,ie,pe);return"function"==typeof Q.subscribe?Q:(0,S.of)(Q)})))}stream(ie,pe){if(!me(ie)||!ie.length)throw new Error('Parameter "key" required');return(0,c.x)((0,D.v)(()=>this.get(ie,pe)),this.onLangChange.pipe((0,M.n)(De=>{const Q=this.getParsedResult(De.translations,ie,pe);return(0,p.A)(Q)?Q:(0,S.of)(Q)})))}instant(ie,pe){if(!me(ie)||!ie.length)throw new Error('Parameter "key" required');let De=this.getParsedResult(this.translations[this.currentLang],ie,pe);if((0,p.A)(De)){if(ie instanceof Array){let Q={};return ie.forEach((ae,qe)=>{Q[ie[qe]]=ie[qe]}),Q}return ie}return De}set(ie,pe,De=this.currentLang){this.translations[De][ie]=this.compiler.compile(pe,De),this.updateLangs(),this.onTranslationChange.emit({lang:De,translations:this.translations[De]})}changeLang(ie){this.currentLang=ie,this.onLangChange.emit({lang:ie,translations:this.translations[ie]}),null==this.defaultLang&&this.changeDefaultLang(ie)}changeDefaultLang(ie){this.defaultLang=ie,this.onDefaultLangChange.emit({lang:ie,translations:this.translations[ie]})}reloadLang(ie){return this.resetLang(ie),this.getTranslation(ie)}resetLang(ie){this._translationRequests[ie]=void 0,this.translations[ie]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ie=window.navigator.languages?window.navigator.languages[0]:null;return ie=ie||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof ie>"u"?void 0:(-1!==ie.indexOf("-")&&(ie=ie.split("-")[0]),-1!==ie.indexOf("_")&&(ie=ie.split("_")[0]),ie)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ie=window.navigator.languages?window.navigator.languages[0]:null;return ie=ie||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ie}}return j.\u0275fac=function(ie){return new(ie||j)(a.KVO(s),a.KVO(P),a.KVO(o),a.KVO(g),a.KVO(V),a.KVO(v),a.KVO(h),a.KVO(d),a.KVO(y))},j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})(),L=(()=>{class j{constructor(ie,pe){this.translate=ie,this._ref=pe,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(ie,pe,De){let Q=ae=>{this.value=void 0!==ae?ae:ie,this.lastKey=ie,this._ref.markForCheck()};if(De){let ae=this.translate.getParsedResult(De,ie,pe);(0,p.A)(ae.subscribe)?ae.subscribe(Q):Q(ae)}this.translate.get(ie,pe).subscribe(Q)}transform(ie,...pe){if(!ie||!ie.length)return ie;if(oe(ie,this.lastKey)&&oe(pe,this.lastParams))return this.value;let De;if(me(pe[0])&&pe.length)if("string"==typeof pe[0]&&pe[0].length){let Q=pe[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{De=JSON.parse(Q)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${pe[0]}`)}}else"object"==typeof pe[0]&&!Array.isArray(pe[0])&&(De=pe[0]);return this.lastKey=ie,this.lastParams=pe,this.updateValue(ie,De),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Q=>{this.lastKey&&Q.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ie,De,Q.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Q=>{this.lastKey&&(this.lastKey=null,this.updateValue(ie,De,Q.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ie,De))})),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 j.\u0275fac=function(ie){return new(ie||j)(a.rXU(r,16),a.rXU(a.gRc,16))},j.\u0275pipe=a.EJ8({name:"translate",type:j,pure:!1}),j.\u0275prov=a.jDH({token:j,factory:j.\u0275fac}),j})(),I=(()=>{class j{static forRoot(ie={}){return{ngModule:j,providers:[ie.loader||{provide:P,useClass:U},ie.compiler||{provide:o,useClass:l},ie.parser||{provide:g,useClass:n},ie.missingTranslationHandler||{provide:V,useClass:W},s,{provide:h,useValue:ie.isolate},{provide:v,useValue:ie.useDefaultLang},{provide:d,useValue:ie.extend},{provide:y,useValue:ie.defaultLanguage},r]}}static forChild(ie={}){return{ngModule:j,providers:[ie.loader||{provide:P,useClass:U},ie.compiler||{provide:o,useClass:l},ie.parser||{provide:g,useClass:n},ie.missingTranslationHandler||{provide:V,useClass:W},{provide:h,useValue:ie.isolate},{provide:v,useValue:ie.useDefaultLang},{provide:d,useValue:ie.extend},{provide:y,useValue:ie.defaultLanguage},r]}}}return j.\u0275fac=function(ie){return new(ie||j)},j.\u0275mod=a.$C({type:j}),j.\u0275inj=a.G2t({}),j})()},467:(Ce,ee,E)=>{"use strict";function a(p,O,c,D,C,_,F){try{var B=p[_](F),m=B.value}catch(T){return void c(T)}B.done?O(m):Promise.resolve(m).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 F(m){a(_,D,C,F,B,"next",m)}function B(m){a(_,D,C,F,B,"throw",m)}F(void 0)})}}E.d(ee,{A:()=>S})},1635:(Ce,ee,E)=>{"use strict";E.d(ee,{AQ:()=>W,C6:()=>S,Cg:()=>c,N3:()=>V,sH:()=>T,xN:()=>me});var a=function(r,f){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,I){L.__proto__=I}||function(L,I){for(var j in I)Object.prototype.hasOwnProperty.call(I,j)&&(L[j]=I[j])})(r,f)};function S(r,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function L(){this.constructor=r}a(r,f),r.prototype=null===f?Object.create(f):(L.prototype=f.prototype,new L)}function c(r,f,L,I){var ie,j=arguments.length,J=j<3?f:null===I?I=Object.getOwnPropertyDescriptor(f,L):I;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)J=Reflect.decorate(r,f,L,I);else for(var pe=r.length-1;pe>=0;pe--)(ie=r[pe])&&(J=(j<3?ie(J):j>3?ie(f,L,J):ie(f,L))||J);return j>3&&J&&Object.defineProperty(f,L,J),J}function T(r,f,L,I){return new(L||(L=Promise))(function(J,ie){function pe(ae){try{Q(I.next(ae))}catch(qe){ie(qe)}}function De(ae){try{Q(I.throw(ae))}catch(qe){ie(qe)}}function Q(ae){ae.done?J(ae.value):function j(J){return J instanceof L?J:new L(function(ie){ie(J)})}(ae.value).then(pe,De)}Q((I=I.apply(r,f||[])).next())})}function V(r){return this instanceof V?(this.v=r,this):new V(r)}function W(r,f,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j,I=L.apply(r,f||[]),J=[];return j={},ie("next"),ie("throw"),ie("return"),j[Symbol.asyncIterator]=function(){return this},j;function ie(Oe){I[Oe]&&(j[Oe]=function(xe){return new Promise(function(Te,Be){J.push([Oe,xe,Te,Be])>1||pe(Oe,xe)})})}function pe(Oe,xe){try{!function De(Oe){Oe.value instanceof V?Promise.resolve(Oe.value.v).then(Q,ae):qe(J[0][2],Oe)}(I[Oe](xe))}catch(Te){qe(J[0][3],Te)}}function Q(Oe){pe("next",Oe)}function ae(Oe){pe("throw",Oe)}function qe(Oe,xe){Oe(xe),J.shift(),J.length&&pe(J[0][0],J[0][1])}}function me(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,f=r[Symbol.asyncIterator];return f?f.call(r):(r=function $(r){var f="function"==typeof Symbol&&Symbol.iterator,L=f&&r[f],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(f?"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(ie){return new Promise(function(pe,De){!function j(J,ie,pe,De){Promise.resolve(De).then(function(Q){J({value:Q,done:pe})},ie)}(pe,De,(ie=r[J](ie)).done,ie.value)})}}}"function"==typeof SuppressedError&&SuppressedError},3219:Ce=>{"use strict";Ce.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2951:Ce=>{"use strict";Ce.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},4589:Ce=>{"use strict";Ce.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3241:Ce=>{"use strict";Ce.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636:Ce=>{"use strict";Ce.exports={rE:"6.5.5"}},5579:Ce=>{"use strict";Ce.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},Ce=>{Ce(Ce.s=6313)}]); \ No newline at end of file diff --git a/www/ngsw.json b/www/ngsw.json index 1d59710..0976698 100644 --- a/www/ngsw.json +++ b/www/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1725528271887, + "timestamp": 1726659181919, "index": "/index.html", "assetGroups": [ { @@ -18,7 +18,7 @@ "/1227.62126f61607726d4.js", "/1433.76e488a11ac4cf0a.js", "/1577.2ece624bbd2fd9d5.js", - "/1983.76c9c761d810d293.js", + "/1983.565cb86a9a87ccac.js", "/2075.6d05634b0edd5043.js", "/2113.0c87c15ab9a91af5.js", "/2144.1466920522110c0f.js", @@ -33,7 +33,7 @@ "/2937.aa2ee25b0084be07.js", "/2982.aa513e7ab5d121b6.js", "/3066.61d9de49bebed90a.js", - "/3119.bbf7c32983cab8d6.js", + "/3119.a3736a034226f066.js", "/3162.328fe8334ca58831.js", "/3506.36ae2b74a3923390.js", "/3511.771aa130a120a49e.js", @@ -44,13 +44,13 @@ "/4171.dd5cbba7fa50b21a.js", "/4183.fbaeacea2b0845b7.js", "/4224.70311ea3fdbf63a3.js", - "/4294.7a9a0605eb308817.js", - "/4392.b4fe58b088879926.js", + "/4294.a6a7a79833fbee90.js", + "/4392.422841214a0f80b8.js", "/4406.494f34a7f430b92d.js", "/441.e6b1a85717016aa1.js", "/4463.0fc470c96b96af7d.js", "/4503.006a06483a01e237.js", - "/4567.ba4618208021696b.js", + "/4567.2a1836c7dd32dcb8.js", "/4591.4d07170289905b6a.js", "/4612.14fce41da64da6ce.js", "/4699.d99e88eabd09d4e3.js", @@ -71,7 +71,7 @@ "/6086.c23f096118ac938c.js", "/6301.2400da12269d8d6e.js", "/6433.bb09b68b6cdd53d5.js", - "/6674.688d65923f438266.js", + "/6674.5fa71f73e63dbf5d.js", "/7030.df43abbf0b009c18.js", "/7076.38165642c497d44d.js", "/7179.d8123c1b865a5ee2.js", @@ -101,12 +101,12 @@ "/9977.dfb6af23e31fcb21.js", "/common.6fb368d54d6a7f3d.js", "/index.html", - "/main.8b0e9eb50a5fe047.js", + "/main.f31538c0cf323df4.js", "/manifest.webmanifest", "/polyfills-core-js.c76198334f717402.js", "/polyfills-dom.bf542500b6fca113.js", "/polyfills.8aa0ed51fddab033.js", - "/runtime.12f7b7853a7546f6.js", + "/runtime.25f15c934c44afe2.js", "/scripts.f969b614b9decf68.js", "/styles.31ee935e78782ce3.css" ], @@ -511,7 +511,7 @@ "/1227.62126f61607726d4.js": "0a53373cfb1d5ef1cc581fca403dfc3b036ecee4", "/1433.76e488a11ac4cf0a.js": "611a5fe81b0c4a8aee43c194605f828b8ae85d79", "/1577.2ece624bbd2fd9d5.js": "be52eb6858ff1474b6f9bba4db867d1d48a0c2f0", - "/1983.76c9c761d810d293.js": "01279036054ad72fc091069a305c4f582fc5dc8e", + "/1983.565cb86a9a87ccac.js": "e6f230a48fede3df84b733395fd723d34cfdc636", "/2075.6d05634b0edd5043.js": "87931f68b7c0d48cf76a566184b01a356b857fd1", "/2113.0c87c15ab9a91af5.js": "b7e1fa3eadce7d0dd624c2f52db5991e68505f07", "/2144.1466920522110c0f.js": "4f28225b93cbef80e550869045559f8595b748f1", @@ -526,7 +526,7 @@ "/2937.aa2ee25b0084be07.js": "052f53f63cdf3fc935060687c86d11599842cef1", "/2982.aa513e7ab5d121b6.js": "5609b767cafa6d92b2dbac0d1c5e3fed1399aa72", "/3066.61d9de49bebed90a.js": "87331974779b0bbd026554f3f22b70ff80f964b2", - "/3119.bbf7c32983cab8d6.js": "f16c61d7789b4e6f34e25a6f8694e9cde4833731", + "/3119.a3736a034226f066.js": "1342ea5efa455e97b7d4c01cb363be24221cfd43", "/3162.328fe8334ca58831.js": "7b668127334354dcc9d75b9dd4544f3c6d621446", "/3506.36ae2b74a3923390.js": "6acf1310cfc4ce418817acfa77ce4845b58bdaf9", "/3511.771aa130a120a49e.js": "ce9f9db6eae762d0a42b65551a62e23d1b5849a5", @@ -537,13 +537,13 @@ "/4171.dd5cbba7fa50b21a.js": "adf7ad7d9975a62fcc53ee47e695a93bfb59ef83", "/4183.fbaeacea2b0845b7.js": "e331b71f59f6bac2fbb35662da3f9518aa735d84", "/4224.70311ea3fdbf63a3.js": "c5da1710213bb0a5a50ef264f5dbf7a0b0cba324", - "/4294.7a9a0605eb308817.js": "d2b67a7adeaedd033a2990e6662033c57a409752", - "/4392.b4fe58b088879926.js": "099e4b885f70af37655fe4e21a56cfe2c788672b", + "/4294.a6a7a79833fbee90.js": "7facbb5fc574e662b74e7ece8aa6f90d1516bc1f", + "/4392.422841214a0f80b8.js": "9cb0efd3a296ea3836135a168fdeddc846d98af5", "/4406.494f34a7f430b92d.js": "cca863250ec958a8ea2d7060e67ace9b7a8aa664", "/441.e6b1a85717016aa1.js": "40c1b5178cdeb00499a134f75dc95e9c7addcd0b", "/4463.0fc470c96b96af7d.js": "2110f2909397e363329839eb4494e5eefb5af475", "/4503.006a06483a01e237.js": "bf76374050354f0f8e601bdc1b19e45921c367eb", - "/4567.ba4618208021696b.js": "c87e54db5254336f0fe3c46f534590566c54467d", + "/4567.2a1836c7dd32dcb8.js": "4529061f79074ffd4bf58b51998c9e838dca2c07", "/4591.4d07170289905b6a.js": "cf983057765a26c76a4085bd8a801e560fd6c919", "/4612.14fce41da64da6ce.js": "4e014eaae2157ec00b17ecc29b1b24112eb9920f", "/4699.d99e88eabd09d4e3.js": "b2c0a34449f59f295d02c7da577c3e3f8cc72377", @@ -564,7 +564,7 @@ "/6086.c23f096118ac938c.js": "93d3c973b7211f7f53ec53da5bfb9a3e6ad506e0", "/6301.2400da12269d8d6e.js": "38cdee6b74b1f3c46bfb68c0b73f5a9740f08c67", "/6433.bb09b68b6cdd53d5.js": "bcdcf455ed34b946b030b9e724e4680454339f6f", - "/6674.688d65923f438266.js": "ac992ef0f4c79180359c8492e0701fc928a220c0", + "/6674.5fa71f73e63dbf5d.js": "89f0c05eee2090e83bc3b3acbd4979615e628f26", "/7030.df43abbf0b009c18.js": "fd61bd2a79adafd01c809bc85a23d594f5de212f", "/7076.38165642c497d44d.js": "ac1b45b6e92f191ccb4144445641f34222c8282a", "/7179.d8123c1b865a5ee2.js": "664960b72b5d140ba13afe1bcbdbffb3d864ea82", @@ -601,7 +601,7 @@ "/assets/appConfig/hummingbird-school.json": "a1614949b0aa1360824a9c27385858fa5116dc85", "/assets/appConfig/imamiya-mission-school.json": "76660cd74833d59164accf49fa7f1c6140e2230e", "/assets/appConfig/learningresources.json": "73f32e4da6e7fda0270969707021a8a06992181c", - "/assets/appConfig/localhost.json": "87398ab79c8216fc0627c7d86bc12eeb45268388", + "/assets/appConfig/localhost.json": "73f32e4da6e7fda0270969707021a8a06992181c", "/assets/appConfig/sols-arc.json": "4e2d0dddf7d301403a9fabe79808cc64f6878e2c", "/assets/appConfig/turtuk-valley-school.json": "65f3ee0e6a552581b686213c6341c5a92f2ca018", "/assets/arrow-right.svg": "bb67048eb7cd7987f8e2e43511f11a7d962f5af3", @@ -971,13 +971,13 @@ "/assets/timer.svg": "57b27e5d93af2aabd1077ecd4c70bcab678f4472", "/assets/user.svg": "2dc572771661b2ccd3ea4ae06bf768778144cbec", "/common.6fb368d54d6a7f3d.js": "be07a45ebe95bc3a1fc57cc6d28f471f0505c026", - "/index.html": "2816d87cd853fde9000f5f86b6ac00c2f6fcb7d8", - "/main.8b0e9eb50a5fe047.js": "a7c5082842ce47d53e72689ad9eba8e296d94838", + "/index.html": "0da2351764630ae65ea05bdb721100c0a90888d0", + "/main.f31538c0cf323df4.js": "02d78ed74f93b29a62c5ab55cdf11e5438443ea0", "/manifest.webmanifest": "5a927f2c991153c4e1fb8dd9fd7845bbe00ba537", "/polyfills-core-js.c76198334f717402.js": "d6e270a2944b6a95a9b97dafd25599ba825e8d7f", "/polyfills-dom.bf542500b6fca113.js": "3fa333db66c8050f12e99d977f5098a6de8dd593", "/polyfills.8aa0ed51fddab033.js": "52a4225db39c3a19f31842d5205497fb87127245", - "/runtime.12f7b7853a7546f6.js": "339e5901e10e9f3dd9224b223e96c465cb245fd7", + "/runtime.25f15c934c44afe2.js": "6b98ff0742dc85c31dfed51dfdf02f46c6888c01", "/scripts.f969b614b9decf68.js": "467091cacab9e36440117d8c26effba07c491af9", "/styles.31ee935e78782ce3.css": "70b012057dbff3cec42eff7de81a4ef851316e86" }, diff --git a/www/runtime.12f7b7853a7546f6.js b/www/runtime.25f15c934c44afe2.js similarity index 94% rename from www/runtime.12f7b7853a7546f6.js rename to www/runtime.25f15c934c44afe2.js index adc49e0..8981c61 100644 --- a/www/runtime.12f7b7853a7546f6.js +++ b/www/runtime.25f15c934c44afe2.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},g={};function f(e){var t=g[e];if(void 0!==t)return t.exports;var a=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(a.exports,a,a.exports,f),a.loaded=!0,a.exports}f.m=v,e=[],f.O=(t,a,r,b)=>{if(!a){var c=1/0;for(d=0;d=b)&&Object.keys(f.O).every(u=>f.O[u](a[n]))?a.splice(n--,1):(l=!1,b0&&e[d-1][2]>b;d--)e[d]=e[d-1];e[d]=[a,r,b]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;f.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var d={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&a;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(l=>d[l]=()=>a[l]);return d.default=()=>a,f.d(b,d),b}})(),f.d=(e,t)=>{for(var a in t)f.o(t,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((t,a)=>(f.f[a](e,t),t),[])),f.u=e=>(({2076:"common",7278:"polyfills-dom",9329:"polyfills-core-js"}[e]||e)+"."+{101:"b61200e5155d34ee",441:"e6b1a85717016aa1",477:"4d01f7ea8fb587bc",604:"5b9734303aaaec6e",771:"688060250bf561e9",786:"844b70ed6b69d85d",964:"4d7dded67ef9596e",1049:"2033e7796242a464",1102:"56d892f823cb514e",1177:"7ba9e57140ca43d5",1227:"62126f61607726d4",1433:"76e488a11ac4cf0a",1577:"2ece624bbd2fd9d5",1983:"76c9c761d810d293",2075:"6d05634b0edd5043",2076:"6fb368d54d6a7f3d",2113:"0c87c15ab9a91af5",2144:"1466920522110c0f",2348:"20a86cac51a9a09a",2375:"c99808ef4524e87d",2415:"97ffdb628eccc2b9",2560:"bdbee51b62a43c50",2628:"b5b3b9d76e09f1e2",2648:"2ccda6362de2145a",2885:"6cc30bddac52cb25",2924:"baf86ef108c0e710",2937:"aa2ee25b0084be07",2982:"aa513e7ab5d121b6",3066:"61d9de49bebed90a",3119:"bbf7c32983cab8d6",3162:"328fe8334ca58831",3506:"36ae2b74a3923390",3511:"771aa130a120a49e",3558:"7582aa5359a71327",3574:"edec9cbaff66e512",3780:"a87c0f024ac212e7",3814:"d8088b0346ef3a2e",4171:"dd5cbba7fa50b21a",4183:"fbaeacea2b0845b7",4224:"70311ea3fdbf63a3",4294:"7a9a0605eb308817",4392:"b4fe58b088879926",4406:"494f34a7f430b92d",4463:"0fc470c96b96af7d",4503:"006a06483a01e237",4567:"ba4618208021696b",4591:"4d07170289905b6a",4612:"14fce41da64da6ce",4699:"d99e88eabd09d4e3",5006:"c22c706daadfa9d0",5100:"839badd2e9761886",5120:"c66fdf70d6f3bb34",5197:"71bc23e14aa679b8",5222:"549a08c827f36579",5640:"414854bdbcd711ec",5695:"82ef23372439ff45",5712:"2fd3716701c049b3",5887:"f196a8a929562fc0",5949:"b1263d576573143d",5959:"bf2d61772e40c8f7",6024:"3fe71fa44aea36ef",6086:"c23f096118ac938c",6301:"2400da12269d8d6e",6433:"bb09b68b6cdd53d5",6674:"688d65923f438266",7030:"df43abbf0b009c18",7076:"38165642c497d44d",7179:"d8123c1b865a5ee2",7240:"098e19418e173771",7278:"bf542500b6fca113",7372:"58c6fac0f8f5323d",7428:"e1578c83a35920c2",7720:"cfc89f2cc32cdeb2",7916:"f15bebeedebb8cc8",8066:"29601e0daf33894d",8193:"4c78d428e5728e4a",8314:"dee5dbff8be46113",8477:"be6478c63c4390fc",8584:"d26666fed62ca671",8622:"2b42193f44a0ffc7",8729:"49211e84c2646b77",8761:"89535521ee240b3a",8805:"bb5cc294530fb5ff",8814:"1f4d9c95b8b529b9",8970:"090d35c1e2fc0726",9061:"bee89fae6a61b4da",9132:"7a4e12bf87e29707",9303:"81cc21c0f087ae38",9329:"c76198334f717402",9344:"82bad2ad592a3e51",9977:"dfb6af23e31fcb21"}[e]+".js"),f.miniCssF=e=>{},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="app:";f.l=(a,r,b,d)=>{if(e[a])e[a].push(r);else{var c,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{c.onerror=c.onload=null,clearTimeout(p);var _=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),_&&_.forEach(h=>h(u)),y)return y(u)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),l&&document.head.appendChild(c)}}})(),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;f.tt=()=>(void 0===e&&(e={createScriptURL:t=>t},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),f.tu=e=>f.tt().createScriptURL(e),f.p="",(()=>{var e={9121:0};f.f.j=(r,b)=>{var d=f.o(e,r)?e[r]:void 0;if(0!==d)if(d)b.push(d[2]);else if(9121!=r){var c=new Promise((o,s)=>d=e[r]=[o,s]);b.push(d[2]=c);var l=f.p+f.u(r),n=new Error;f.l(l,o=>{if(f.o(e,r)&&(0!==(d=e[r])&&(e[r]=void 0),d)){var s=o&&("load"===o.type?"missing":o.type),p=o&&o.target&&o.target.src;n.message="Loading chunk "+r+" failed.\n("+s+": "+p+")",n.name="ChunkLoadError",n.type=s,n.request=p,d[1](n)}},"chunk-"+r,r)}else e[r]=0},f.O.j=r=>0===e[r];var t=(r,b)=>{var n,i,[d,c,l]=b,o=0;if(d.some(p=>0!==e[p])){for(n in c)f.o(c,n)&&(f.m[n]=c[n]);if(l)var s=l(f)}for(r&&r(b);o{"use strict";var e,v={},g={};function f(e){var t=g[e];if(void 0!==t)return t.exports;var a=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(a.exports,a,a.exports,f),a.loaded=!0,a.exports}f.m=v,e=[],f.O=(t,a,r,b)=>{if(!a){var c=1/0;for(d=0;d=b)&&Object.keys(f.O).every(u=>f.O[u](a[n]))?a.splice(n--,1):(l=!1,b0&&e[d-1][2]>b;d--)e[d]=e[d-1];e[d]=[a,r,b]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;f.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var d={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&a;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(l=>d[l]=()=>a[l]);return d.default=()=>a,f.d(b,d),b}})(),f.d=(e,t)=>{for(var a in t)f.o(t,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((t,a)=>(f.f[a](e,t),t),[])),f.u=e=>(({2076:"common",7278:"polyfills-dom",9329:"polyfills-core-js"}[e]||e)+"."+{101:"b61200e5155d34ee",441:"e6b1a85717016aa1",477:"4d01f7ea8fb587bc",604:"5b9734303aaaec6e",771:"688060250bf561e9",786:"844b70ed6b69d85d",964:"4d7dded67ef9596e",1049:"2033e7796242a464",1102:"56d892f823cb514e",1177:"7ba9e57140ca43d5",1227:"62126f61607726d4",1433:"76e488a11ac4cf0a",1577:"2ece624bbd2fd9d5",1983:"565cb86a9a87ccac",2075:"6d05634b0edd5043",2076:"6fb368d54d6a7f3d",2113:"0c87c15ab9a91af5",2144:"1466920522110c0f",2348:"20a86cac51a9a09a",2375:"c99808ef4524e87d",2415:"97ffdb628eccc2b9",2560:"bdbee51b62a43c50",2628:"b5b3b9d76e09f1e2",2648:"2ccda6362de2145a",2885:"6cc30bddac52cb25",2924:"baf86ef108c0e710",2937:"aa2ee25b0084be07",2982:"aa513e7ab5d121b6",3066:"61d9de49bebed90a",3119:"a3736a034226f066",3162:"328fe8334ca58831",3506:"36ae2b74a3923390",3511:"771aa130a120a49e",3558:"7582aa5359a71327",3574:"edec9cbaff66e512",3780:"a87c0f024ac212e7",3814:"d8088b0346ef3a2e",4171:"dd5cbba7fa50b21a",4183:"fbaeacea2b0845b7",4224:"70311ea3fdbf63a3",4294:"a6a7a79833fbee90",4392:"422841214a0f80b8",4406:"494f34a7f430b92d",4463:"0fc470c96b96af7d",4503:"006a06483a01e237",4567:"2a1836c7dd32dcb8",4591:"4d07170289905b6a",4612:"14fce41da64da6ce",4699:"d99e88eabd09d4e3",5006:"c22c706daadfa9d0",5100:"839badd2e9761886",5120:"c66fdf70d6f3bb34",5197:"71bc23e14aa679b8",5222:"549a08c827f36579",5640:"414854bdbcd711ec",5695:"82ef23372439ff45",5712:"2fd3716701c049b3",5887:"f196a8a929562fc0",5949:"b1263d576573143d",5959:"bf2d61772e40c8f7",6024:"3fe71fa44aea36ef",6086:"c23f096118ac938c",6301:"2400da12269d8d6e",6433:"bb09b68b6cdd53d5",6674:"5fa71f73e63dbf5d",7030:"df43abbf0b009c18",7076:"38165642c497d44d",7179:"d8123c1b865a5ee2",7240:"098e19418e173771",7278:"bf542500b6fca113",7372:"58c6fac0f8f5323d",7428:"e1578c83a35920c2",7720:"cfc89f2cc32cdeb2",7916:"f15bebeedebb8cc8",8066:"29601e0daf33894d",8193:"4c78d428e5728e4a",8314:"dee5dbff8be46113",8477:"be6478c63c4390fc",8584:"d26666fed62ca671",8622:"2b42193f44a0ffc7",8729:"49211e84c2646b77",8761:"89535521ee240b3a",8805:"bb5cc294530fb5ff",8814:"1f4d9c95b8b529b9",8970:"090d35c1e2fc0726",9061:"bee89fae6a61b4da",9132:"7a4e12bf87e29707",9303:"81cc21c0f087ae38",9329:"c76198334f717402",9344:"82bad2ad592a3e51",9977:"dfb6af23e31fcb21"}[e]+".js"),f.miniCssF=e=>{},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="app:";f.l=(a,r,b,d)=>{if(e[a])e[a].push(r);else{var c,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{c.onerror=c.onload=null,clearTimeout(p);var _=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),_&&_.forEach(h=>h(u)),y)return y(u)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),l&&document.head.appendChild(c)}}})(),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;f.tt=()=>(void 0===e&&(e={createScriptURL:t=>t},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),f.tu=e=>f.tt().createScriptURL(e),f.p="",(()=>{var e={9121:0};f.f.j=(r,b)=>{var d=f.o(e,r)?e[r]:void 0;if(0!==d)if(d)b.push(d[2]);else if(9121!=r){var c=new Promise((o,s)=>d=e[r]=[o,s]);b.push(d[2]=c);var l=f.p+f.u(r),n=new Error;f.l(l,o=>{if(f.o(e,r)&&(0!==(d=e[r])&&(e[r]=void 0),d)){var s=o&&("load"===o.type?"missing":o.type),p=o&&o.target&&o.target.src;n.message="Loading chunk "+r+" failed.\n("+s+": "+p+")",n.name="ChunkLoadError",n.type=s,n.request=p,d[1](n)}},"chunk-"+r,r)}else e[r]=0},f.O.j=r=>0===e[r];var t=(r,b)=>{var n,i,[d,c,l]=b,o=0;if(d.some(p=>0!==e[p])){for(n in c)f.o(c,n)&&(f.m[n]=c[n]);if(l)var s=l(f)}for(r&&r(b);o